:root{--bg:#f4f6f4;--surface:#fff;--ink:#13201c;--muted:#5c6a64;--line:#e1e7e3;--brand:#0f5c4d;--brand-hover:#0b4a3e;--brand-soft:#e5f1ec;--credit:#12805c;--danger:#b42318;--danger-soft:#fdeceb;--info:#1d4f91;--info-soft:#eaf1fb;--warn:#8a4b00;--warn-soft:#fff4e0;--radius:14px;--radius-sm:9px;--shadow:0 1px 2px #10201c0d, 0 1px 1px #10201c08;--shadow-hover:0 8px 24px #10201c14;--font:ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:var(--font);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.5}*,:before,:after{box-sizing:border-box}body{background:var(--bg);min-height:100vh;margin:0}h1,h2,h3{letter-spacing:-.015em;margin:0;line-height:1.2}h1{font-size:1.75rem;font-weight:700}h2{font-size:1.1rem;font-weight:650}h3{font-size:1rem;font-weight:600}p{margin:0}a{color:var(--brand)}code{background:var(--brand-soft);border-radius:4px;padding:.05em .35em;font-size:.9em}:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.muted{color:var(--muted)}.small{font-size:.85rem}.block{display:block}.nowrap{white-space:nowrap}.center{text-align:center;justify-content:center}.eyebrow{color:var(--muted);margin-bottom:.15rem;font-size:.9rem}.amount,.amount-lg,.amount-xl,.num{font-variant-numeric:tabular-nums}.amount{white-space:nowrap;font-weight:600}.amount.credit{color:var(--credit)}.amount-lg{letter-spacing:-.02em;font-size:1.5rem;font-weight:700}.amount-xl{letter-spacing:-.03em;font-size:2rem;font-weight:700;line-height:1.1}.empty{text-align:center;color:var(--muted);padding:2rem 1rem}.btn{border-radius:var(--radius-sm);min-height:2.6rem;font:inherit;cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:.4rem;padding:.55rem 1.1rem;font-weight:600;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-sm{min-height:2.1rem;padding:.35rem .8rem;font-size:.875rem}.btn-block{width:100%}.btn-primary{background:var(--brand);color:#fff}.btn-primary:hover:not(:disabled){background:var(--brand-hover)}.btn-ghost{background:var(--surface);border-color:var(--line);color:var(--ink)}.btn-ghost:hover:not(:disabled){background:#fafbfa;border-color:#c5cfca}.btn-danger-ghost{background:var(--surface);color:var(--danger);border-color:#f3c7c3}.btn-danger-ghost:hover:not(:disabled){background:var(--danger-soft)}.btn-demo{background:var(--brand-soft);width:100%;color:var(--brand-hover);border-color:#cfe4dc;flex-direction:column;gap:.1rem;padding:.8rem 1rem;font-size:1rem}.btn-demo:hover:not(:disabled){background:#d9ebe4}.btn-demo-sub{color:var(--muted);font-size:.8rem;font-weight:500}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.alert{border-radius:var(--radius-sm);margin:0 0 1rem;padding:.75rem 1rem;font-size:.925rem}.alert-error{background:var(--danger-soft);color:var(--danger)}.alert-success{background:var(--brand-soft);color:var(--brand-hover)}.alert-info{background:var(--info-soft);color:var(--info)}.badge{letter-spacing:.01em;border-radius:99px;padding:.1rem .55rem;font-size:.75rem;font-weight:600;display:inline-block}.badge-everyday{background:var(--brand-soft);color:var(--brand-hover)}.badge-savings{background:var(--info-soft);color:var(--info)}.badge-frozen{background:var(--danger-soft);color:var(--danger)}.badge-admin{background:var(--warn-soft);color:var(--warn);margin-top:.3rem}.field{flex-direction:column;gap:.35rem;margin-bottom:1rem;display:flex}.field label{font-size:.875rem;font-weight:600}input,select{border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:2.75rem;color:var(--ink);font:inherit;border:1px solid #cdd6d1;padding:.55rem .8rem}input:focus,select:focus{border-color:var(--brand);outline:none;box-shadow:0 0 0 3px #0f5c4d26}input[aria-invalid=true]{border-color:var(--danger)}.field-error{color:var(--danger);font-size:.85rem}.field-hint{color:var(--muted);font-size:.85rem}.field-hint.center{margin-top:.75rem}.input-prefix{position:relative}.input-prefix span{color:var(--muted);position:absolute;top:50%;left:.8rem;transform:translateY(-50%)}.input-prefix input{font-variant-numeric:tabular-nums;padding-left:1.6rem}.button-row{flex-wrap:wrap;justify-content:flex-end;gap:.6rem;display:flex}.button-row.center{justify-content:center}.mobile-only{display:none}.tabs{border-radius:var(--radius-sm);background:#e9eeeb;gap:.25rem;margin-bottom:1.25rem;padding:.25rem;display:flex}.tab{min-height:2.4rem;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;flex:1;font-weight:600}.tab.active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.divider{color:var(--muted);align-items:center;gap:.75rem;margin:1.25rem 0;font-size:.85rem;display:flex}.divider:before,.divider:after{content:"";background:var(--line);flex:1;height:1px}.demo-strip{background:var(--ink);color:#cfe0d9;text-align:center;letter-spacing:.02em;padding:.3rem 1rem;font-size:.78rem}.topbar{z-index:10;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);background:#ffffffeb;position:sticky;top:0}.topbar-inner{align-items:center;gap:2rem;max-width:1080px;margin:0 auto;padding:.7rem 1.25rem;display:flex}.topbar-brand{text-decoration:none}.logo{color:var(--brand);align-items:center;gap:.55rem;display:inline-flex}.logo-text{color:var(--ink);letter-spacing:-.02em;font-size:1.05rem;font-weight:700}.topnav{flex:1;gap:.25rem;display:flex}.topnav a{color:var(--muted);border-radius:8px;padding:.45rem .8rem;font-weight:600;text-decoration:none}.topnav a:hover{color:var(--ink);background:#f0f3f1}.topnav a.active{color:var(--brand-hover);background:var(--brand-soft)}.topbar-user{align-items:center;gap:.6rem;display:flex}.avatar{background:var(--brand-soft);width:2rem;height:2rem;color:var(--brand-hover);border-radius:50%;place-items:center;font-size:.9rem;font-weight:700;display:grid}.topbar-name{font-size:.9rem;font-weight:600}.page{max-width:1080px;margin:0 auto;padding:2rem 1.25rem 4rem}.narrow{max-width:560px;margin:0 auto}.narrow>h1{margin-bottom:1.25rem}.wake-notice{border-radius:var(--radius-sm);background:var(--warn-soft);max-width:1080px;color:var(--warn);align-items:center;gap:.75rem;margin:1rem auto 0;padding:.75rem 1rem;font-size:.9rem;display:flex}.auth-panel .wake-notice{margin:0 0 1rem}.spinner{border:2px solid;border-right-color:#0000;border-radius:50%;flex:none;width:1.1rem;height:1.1rem;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.back-link{color:var(--muted);margin-bottom:1rem;font-weight:600;text-decoration:none;display:inline-block}.back-link:hover{color:var(--ink)}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:2rem;display:flex}.total-balance{flex-direction:column;align-items:flex-end;gap:.2rem;display:flex}.section-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.9rem;display:flex}.section-gap{margin-top:2.5rem}.account-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:1rem;display:grid}.account-card{min-height:170px;color:inherit;flex-direction:column;gap:.35rem;padding:1.25rem;text-decoration:none;transition:box-shadow .2s,border-color .2s,transform .2s;display:flex}a.account-card:hover{box-shadow:var(--shadow-hover);border-color:#c9d6d0;transform:translateY(-2px)}.account-card .amount-lg{margin-top:auto}.account-card-top{gap:.4rem;min-height:1.4rem;display:flex}.account-number{color:var(--muted);font-variant-numeric:tabular-nums;letter-spacing:.02em;font-size:.875rem}.account-card-new{box-shadow:none;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border-style:dashed;justify-content:center;align-items:center;gap:.5rem;font-weight:600}.account-card-new:hover{color:var(--brand);border-color:var(--brand);background:var(--surface)}.plus{background:var(--brand-soft);width:2.25rem;height:2.25rem;color:var(--brand);border-radius:50%;place-items:center;font-size:1.3rem;display:grid}.account-form .field{margin-bottom:.6rem}.account-form h3{margin-bottom:.4rem}.skeleton{background:linear-gradient(90deg,#eef2ef 0%,#f7f9f8 50%,#eef2ef 100%) 0 0/200% 100%;animation:1.2s ease-in-out infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}.activity-list{margin:0;padding:0;list-style:none}.activity-list li{justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1.25rem;display:flex}.activity-list li+li{border-top:1px solid var(--line)}.activity-title{font-weight:600}.account-hero{flex-wrap:wrap;justify-content:space-between;gap:1.5rem;margin-bottom:1rem;padding:1.5rem;display:flex}.account-hero h1{margin:.4rem 0 .2rem}.account-hero-balance{flex-direction:column;align-items:flex-end;gap:.35rem;display:flex}.account-hero-balance .btn{margin-top:.4rem}.filters{flex-wrap:wrap;align-items:flex-end;gap:.75rem;margin-bottom:1rem;padding:1rem;display:flex}.filters .field{margin:0}.field-inline input{min-height:2.4rem;padding:.4rem .65rem}.field-grow{flex:200px}.segmented{border-radius:var(--radius-sm);background:#e9eeeb;padding:.2rem;display:flex}.segmented button{min-height:2.1rem;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:.3rem .8rem;font-size:.875rem;font-weight:600}.segmented button.active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.table-card{transition:opacity .2s;overflow-x:auto}.table-card.is-loading{opacity:.6}.ledger{border-collapse:collapse;width:100%}.ledger th{border-bottom:1px solid var(--line);color:var(--muted);text-align:left;text-transform:uppercase;letter-spacing:.05em;padding:.75rem 1.25rem;font-size:.78rem;font-weight:600}.ledger td{vertical-align:top;padding:.85rem 1.25rem}.ledger tbody tr+tr td{border-top:1px solid var(--line)}.ledger .num{text-align:right}.pagination{justify-content:center;align-items:center;gap:1rem;margin-top:1rem;display:flex}.form-card{padding:1.5rem}.payee-confirm{color:var(--credit);font-size:.9rem;font-weight:600}.recent-payees{flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.25rem;display:flex}.chip{border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;cursor:pointer;border-radius:99px;padding:.25rem .75rem;font-size:.85rem;font-weight:600}.chip:hover,.chip.active{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}.review-card{padding:1.5rem}.review-card dl{margin:0 0 1.25rem}.review-card dl>div{justify-content:space-between;align-items:baseline;gap:1rem;padding:.8rem 0;display:flex}.review-card dl>div+div{border-top:1px solid var(--line)}.review-card dt{color:var(--muted)}.review-card dd{text-align:right;margin:0;font-weight:600}.under-the-hood{border-radius:var(--radius-sm);border:1px dashed #c9d6d0;margin-top:1.25rem;padding:.9rem 1.1rem;font-size:.9rem}.under-the-hood summary{cursor:pointer;font-weight:600}.under-the-hood ol{color:var(--muted);margin:.75rem 0 0;padding-left:1.2rem}.under-the-hood li+li{margin-top:.5rem}.success-card{text-align:center;padding:2.5rem 1.5rem}.success-card h1{margin-bottom:.4rem}.success-card .button-row{margin-top:1.75rem}.success-icon{background:var(--brand-soft);width:3.5rem;height:3.5rem;color:var(--credit);border-radius:50%;place-items:center;margin:0 auto 1rem;font-size:1.6rem;font-weight:700;display:grid}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:1rem;display:grid}.stat{flex-direction:column;gap:.25rem;padding:1.1rem 1.25rem;display:flex}.stat strong{font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:1.5rem}.search-input{width:min(100%,280px);min-height:2.4rem}.admin-accounts{margin:0;padding:0;list-style:none}.admin-accounts li{grid-template-columns:1fr auto auto;align-items:center;gap:1rem;padding:.3rem 0;display:grid}.auth-page{grid-template-columns:1.1fr 1fr;min-height:100vh;display:grid}.auth-hero{color:#e6f2ee;background:radial-gradient(circle at 20% 10%,#ffffff14,#0000 40%),linear-gradient(160deg,#0f5c4d 0%,#0b3f35 60%,#092f28 100%);flex-direction:column;justify-content:center;gap:1.25rem;padding:3rem clamp(1.5rem,6vw,5rem);display:flex}.auth-hero .logo,.auth-hero .logo-text{color:#fff}.auth-hero .logo rect{fill:#ffffff26}.auth-hero h1{color:#fff;max-width:14ch;font-size:clamp(2rem,4vw,2.9rem)}.auth-hero-lead{color:#c4ddd4;max-width:44ch;font-size:1.05rem}.auth-points{color:#b3cfc5;gap:.9rem;max-width:46ch;margin:.5rem 0 0;padding:0;list-style:none;display:grid}.auth-points li{padding-left:1.6rem;position:relative}.auth-points li:before{content:"✓";color:#7fd1b4;font-weight:700;position:absolute;left:0}.auth-points strong{color:#fff}.auth-stack{color:#8fb3a6;letter-spacing:.02em;margin-top:.5rem;font-size:.85rem}.auth-panel{flex-direction:column;justify-content:center;align-items:center;padding:3rem 1.25rem;display:flex}.auth-card{width:100%;max-width:420px;padding:1.75rem}.auth-footer{color:var(--muted);margin-top:1.25rem;font-size:.85rem}@media (width<=860px){.auth-page{grid-template-columns:1fr}.auth-hero{padding-block:2.5rem}.auth-points{display:none}}@media (width<=720px){.topbar-inner{flex-wrap:wrap;gap:.5rem 1rem}.topnav{flex-basis:100%;order:3}.topbar-user{margin-left:auto}.topbar-name{display:none}.page{padding-top:1.5rem}.total-balance,.account-hero-balance{align-items:flex-start}.ledger th,.ledger td{padding-inline:.85rem}.ledger:not(.admin-table) th:last-child,.ledger:not(.admin-table) td:last-child,.ledger .col-date{display:none}.ledger .mobile-only{display:block}.admin-accounts li{grid-template-columns:1fr auto}.admin-accounts li .btn{grid-column:1/-1;justify-self:start}}
