:root{color-scheme:light;--navy:#123b6d;--blue:#1e5aa8;--bg:#f3f7fc;--muted:#52657a;--line:#ccd9e9;--red:#b71c1c;--gold:#e9b44c;font-family:Roboto,"Segoe UI",Arial,sans-serif;color:#142c46;background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(135deg,#f3f7fc,#ddeaf8);background-attachment:fixed}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:var(--blue)}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--gold);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:2.3rem;line-height:1.1;letter-spacing:-.035em}h2{font-size:1.45rem;line-height:1.25}h3{font-size:1.13rem}p{line-height:1.6}img{max-width:100%}[hidden]{display:none!important}.app-shell{max-width:768px;margin:auto;padding:max(24px,env(safe-area-inset-top)) 24px max(32px,env(safe-area-inset-bottom))}.app-header{display:flex;align-items:center;gap:10px;margin-bottom:20px}.app-header h1{flex:1;margin:0;font-size:2.25rem;color:var(--navy);font-weight:800}.row{display:flex;align-items:center;gap:10px}.spread{justify-content:space-between}.grow{flex:1;min-width:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:#dce8f8;color:var(--navy);border:0;border-radius:50%;min-width:44px;width:44px;height:44px;text-decoration:none;font-size:1.4rem}.icon{width:22px;height:22px;display:inline-block;flex-shrink:0;vertical-align:middle}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;border:0;border-radius:30px;padding:14px 22px;min-height:48px;background:var(--blue);color:white;font-weight:600;text-decoration:none;line-height:1.25;text-align:center}.button:hover{filter:brightness(.94)}.button.tonal{background:#dce8f8;color:var(--navy)}.button.outline{background:transparent;color:var(--navy);border:1px solid #899db5}.button.light{background:white;color:var(--navy)}.button.red{background:var(--red);color:white}.button.small{padding:10px 15px;font-size:.9rem;min-height:44px}.block{display:flex;width:100%}.stack{display:grid;gap:10px}.card{padding:22px;border-radius:28px;background:#ffffffb8;margin-bottom:20px}.summary{background:var(--navy);color:white;padding:20px}.summary h2{font-weight:800;margin-bottom:8px}.summary .row h2{margin:0}.summary .row{margin-bottom:6px}.metrics{display:grid;gap:12px;margin:10px 0 14px;grid-template-columns:repeat(3,minmax(0,1fr))}.metrics.two{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-label{font-size:.85rem;opacity:.83;font-weight:600}.metric-value{font-size:1.42rem;display:block;font-weight:800;margin-top:4px;overflow-wrap:anywhere}.summary .metrics:last-child{margin-bottom:0}.actions-card .query{margin-top:14px;align-items:end}.query label{margin:0}.query .button{padding:14px 16px}.app-footer{text-align:center;color:var(--muted);font-size:.83rem;margin-top:22px;line-height:1.8}.app-footer a{color:inherit}.muted{color:var(--muted);font-size:.9rem}.notice{border-radius:16px;padding:14px 16px;background:#e4edf9;color:var(--navy);line-height:1.5}.offline{background:#fff1cc;margin-bottom:16px}label{display:block;font-size:.94rem;font-weight:600;margin-bottom:16px}input,select,textarea{width:100%;border:1px solid #9caec1;background:#fff;color:#142c46;border-radius:14px;padding:13px 14px;min-height:48px;margin-top:7px}textarea{resize:vertical;min-height:96px}input[type=checkbox]{width:20px;min-height:20px;margin:0}input[type=file]{font-size:.9rem}input[readonly]{background:#edf3fa}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field-grid label{min-width:0}.dialog-heading{display:flex;align-items:center;gap:14px;justify-content:space-between;margin-bottom:20px}.dialog-heading h2{margin:0;color:var(--navy)}dialog{border:0;border-radius:28px;padding:24px;width:calc(100% - 32px);max-width:540px;max-height:90dvh;overflow:auto;color:#142c46;background:white;box-shadow:0 30px 90px #10294340}dialog::backdrop{background:#0b203b80}.menu{display:grid;gap:10px}.menu .button{justify-content:flex-start}.menu h3{margin:16px 0 0}.calendar-header{margin-bottom:18px}.calendar-header h2{margin:0;text-transform:capitalize}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.weekday{text-align:center;font-size:.75rem;font-weight:700;color:var(--muted);padding:6px 0}.day{border:1px solid #123b6d15;border-radius:18px;background:#fff;color:#243442;min-height:61px;font-size:1rem;font-weight:700;position:relative}.day.marked{border-color:var(--gold)}.day.marked:after{content:"";display:block;position:absolute;width:7px;height:7px;background:var(--navy);border-radius:50%;bottom:8px;left:calc(50% - 3.5px)}.day.selected{background:var(--navy);color:white}.day.selected:after{background:var(--gold)}.day.today{box-shadow:inset 0 0 0 1px var(--blue)}.empty{text-align:center;padding:30px 10px;color:var(--muted)}.empty .icon{width:40px;height:40px;margin:12px}.entry{background:white;border-radius:22px;padding:18px;margin-bottom:14px;border:1px solid #e3eaf2}.entry h3{margin:0}.entry p{margin:8px 0}.entry .amount{font-weight:800;color:var(--navy);white-space:nowrap}.entry-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.entry-notes{white-space:pre-wrap;overflow-wrap:anywhere}.floating{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));right:max(24px,calc((100vw - 720px)/2));box-shadow:0 5px 20px #123b6d30}.agenda-content{padding-bottom:70px}.toast{position:fixed;z-index:10;bottom:24px;left:50%;transform:translateX(-50%);padding:14px 22px;background:#123b6d;color:white;border-radius:16px;max-width:calc(100% - 32px);width:max-content;box-shadow:0 5px 25px #0003}.file-name{overflow-wrap:anywhere}.guide-image{display:block;width:100%;max-height:55dvh;object-fit:contain;margin:16px auto}.install-steps{padding-left:24px;line-height:1.7}.install-steps li{margin-bottom:14px}.landing-header,.landing-footer{max-width:1140px;margin:auto;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:1.3rem;font-weight:800;color:var(--navy)}.brand img{border-radius:12px}.landing-main{max-width:1140px;margin:auto;padding:24px}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:center;padding:38px 0 64px}.hero h1{font-size:clamp(2.8rem,5.5vw,4.5rem);color:var(--navy);margin:22px 0}.eyebrow{font-size:.8rem;font-weight:800;letter-spacing:.12em;color:var(--blue)}.lead{font-size:1.16rem;max-width:530px;color:var(--muted)}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 14px}.hero-preview{padding:32px;background:var(--navy);color:white;border-radius:36px;box-shadow:0 24px 60px #123b6d28;transform:rotate(2deg)}.app-logo{border-radius:26px;margin-bottom:12px}.hero-preview h2{font-size:1.8rem}.preview-feature{padding:16px 18px;background:#ffffff14;border:1px solid #ffffff25;border-radius:16px;margin-bottom:12px;font-weight:600}.preview-feature.red{background:var(--red);border-color:var(--red)}.hero-preview .button{margin-top:12px;width:100%}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature-number{display:block;color:var(--blue);font-weight:800;margin-bottom:18px}.feature-grid p{color:var(--muted);margin-bottom:0}.install-section{display:flex;gap:32px;align-items:center;margin-top:20px;padding:32px}.install-section>div{flex:1}.install-section h2{margin:14px 0}.install-section .button{flex-shrink:0}.landing-footer{font-size:.9rem;color:var(--muted);padding-bottom:36px}.legal{max-width:780px;margin:auto;padding:32px 24px}.legal h1{color:var(--navy)}.pdf-frame{width:100%;height:65dvh;border:0}.error{color:#9e1717}.status{font-size:.9rem;line-height:1.5}.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
@media(max-width:680px){.hero{grid-template-columns:1fr;gap:30px;padding-top:18px}.hero-preview{transform:none}.feature-grid{grid-template-columns:1fr;gap:0}.install-section{display:block;padding:24px}.install-section .button{width:100%}.landing-header{padding:18px}.landing-header .button{padding:12px;font-size:.85rem}.landing-footer{flex-direction:column;align-items:flex-start}.app-header h1{font-size:2rem}.card{padding:20px}.calendar-grid{gap:5px}.day{min-height:53px;border-radius:14px}.hero-actions .button{width:100%}}
@media(max-width:370px){.app-shell{padding-left:16px;padding-right:16px}.metric-value{font-size:1.2rem}.app-header{gap:7px}.field-grid{grid-template-columns:1fr}.query{flex-wrap:wrap}.query .grow{flex-basis:100%}.query .button{width:100%}}
.ad-slot{min-height:120px}
input:disabled{background:#edf3fa;color:var(--muted);opacity:.6;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
