:root{color-scheme:light;--ink:#193f39;--muted:#61736d;--paper:#f8f8f2;--line:#dce5dc;--green:#205d4f;--accent:#ecf2cb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:46px;border-radius:12px;padding:11px 17px;font-weight:650;border:1px solid transparent;transition:background .15s}button:disabled{opacity:.55;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a56716;outline-offset:3px}[hidden]{display:none!important}.topbar{max-width:1180px;margin:auto;padding:28px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{text-decoration:none;display:flex;align-items:center;gap:12px;font-weight:750;font-size:20px;letter-spacing:-.6px}.brand-icon{display:grid;place-items:center;background:var(--ink);color:#eff4c9;width:43px;height:43px;border-radius:14px;font-size:30px;font-family:Georgia,serif}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:.2px;color:var(--muted);margin-top:3px}.family-badge{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--muted)}main{max-width:1180px;padding:36px 32px 64px;margin:auto;min-height:75vh}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:750;color:#526c5a}h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(36px,5vw,53px);font-weight:400;letter-spacing:-1.8px;line-height:1.12;margin:12px 0 14px}h2{font-size:22px;letter-spacing:-.65px;margin:6px 0 0;font-weight:650}p{font-size:14px;line-height:1.7;color:var(--muted)}.heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:32px 0}.heading-row p{max-width:540px;margin-bottom:0}.account-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.pill{display:inline-block;border:1px solid var(--line);background:#fff9;padding:7px 10px;border-radius:30px;font-size:11px;color:#4e685c;white-space:nowrap}.text-button{background:transparent;color:var(--green);font-size:12px;padding:9px 12px}.text-button:hover{background:#e7eee3}.primary{background:var(--green);color:white}.primary:hover{background:#174b3f}.secondary{background:white;color:var(--ink);border-color:var(--line)}.secondary:hover{background:#f0f3e9}.small{font-size:12px;min-height:40px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:32px}.balance-card{position:relative;padding:25px 28px 22px;border:1px solid #d5dfd4;border-radius:22px;overflow:hidden;background:#e9efdd}.balance-card:nth-child(even){background:#eee9f3;border-color:#e1dbe8}.card-top{display:flex;align-items:center;justify-content:space-between}.child-heading{display:flex;gap:11px;align-items:center}.avatar{border:1px solid #bccbb6;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-family:Georgia,serif;font-size:23px;background:#ffffff70}.balance-card:nth-child(even) .avatar{border-color:#cbbfd5}.child-heading h2{font-size:18px;margin:0}.card-label{text-transform:uppercase;letter-spacing:1.8px;font-size:9px;color:#52664f;margin:25px 0 4px}.balance-amount{font-size:48px;letter-spacing:-2px;font-weight:550;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.card-stats{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:11px;margin-top:15px;color:#486146}.card-stats .spent{color:#655874}.card-actions{display:flex;gap:10px;margin-top:24px}.card-actions button{flex:1;font-size:12px;padding:11px 8px}.card-actions .secondary{background:#ffffff80;border-color:#becdbb}.balance-card:nth-child(even) .secondary{border-color:#d2c6dd}.ledger-grid{display:grid;grid-template-columns:minmax(0,1fr) 282px;gap:26px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.filters{display:flex;gap:10px;margin:25px 0 10px}.filters select{font-size:12px;min-height:42px;width:auto;max-width:60%;border-radius:9px;padding:8px 30px 8px 12px}.history-row{display:flex;gap:12px;align-items:center;padding:18px 0;border-bottom:1px solid #edf0ea}.history-row:last-child{border-bottom:0}.activity-icon{width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;background:#edf3e5;color:#356047;border-radius:12px;font-size:18px}.activity-icon.out{background:#f7ede4;color:#895b36}.activity-body{flex:1;min-width:0}.activity-title{font-size:13px;font-weight:650;overflow-wrap:anywhere}.activity-meta{font-size:10px;color:var(--muted);margin-top:5px;line-height:1.6;overflow-wrap:anywhere}.activity-amount{font-size:14px;font-weight:700;color:var(--green);white-space:nowrap;font-variant-numeric:tabular-nums}.activity-amount.out{color:#845534}.empty{padding:30px 8px;text-align:center}.empty strong{display:block;margin-bottom:8px}.empty p{font-size:12px}.note-card{background:var(--accent);border:1px solid #dce5b4;border-radius:20px;padding:26px;margin-bottom:16px}.note-icon{font-size:32px;color:#5e7139}.note-card h2{font-family:Georgia,serif;font-size:27px;line-height:1.2;font-weight:400;margin:16px 0 12px}.note-card p{font-size:12px;color:#586347}.divider{border-top:1px solid #ced7ac;margin:20px 0}.note-card strong{font-size:11px}.note-card .small-copy,.small-copy{font-size:11px}.full{width:100%}.muted{color:var(--muted);font-size:12px}.sidebar>.muted{text-align:center}.demo-banner{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#fcf0d6;border:1px solid #ead7ad;border-radius:14px;padding:13px 18px;color:#735a2a}.demo-banner strong{font-size:12px;display:block}.demo-banner span{display:block;font-size:11px;margin-top:4px;line-height:1.5}.demo-banner .secondary{background:#fff9;border-color:#d6c69f;flex-shrink:0;color:#66532d}.status:empty{display:none}.status{padding:13px 16px;background:#e8f0e4;border-radius:10px;margin-bottom:20px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.status.error,.error{color:#9a2e24}.status.error{background:#fff0ec}.welcome{padding:70px 0 85px;max-width:740px}.welcome h1{font-size:clamp(44px,7vw,75px);letter-spacing:-3px}.welcome p{font-size:16px}.welcome .muted{font-size:12px;max-width:520px}.welcome-actions{display:flex;gap:12px;margin:30px 0 20px}.principles{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:40px;font-size:12px;color:#546d5f}.narrow{max-width:460px;margin:35px auto}.narrow h1{font-size:40px}.narrow .full{margin-top:24px}label{display:block;font-size:12px;font-weight:650;margin:18px 0 8px}input,select{width:100%;min-height:48px;border:1px solid #bdccbf;border-radius:10px;padding:11px 12px;color:var(--ink);background:white}input#amount{font-size:30px;letter-spacing:-1px}dialog{width:calc(100% - 32px);max-width:440px;border:1px solid var(--line);border-radius:22px;padding:27px;color:var(--ink);max-height:90dvh;overflow:auto}dialog::backdrop{background:#183c3566;backdrop-filter:blur(3px)}dialog h2{font-family:Georgia,serif;font-size:30px;font-weight:400}.icon-button{font-size:26px;background:#f0f3ec;padding:0;min-width:44px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.error{font-size:12px;line-height:1.5}.error:empty{display:none}#save-entry{margin-top:20px}footer{max-width:1116px;margin:0 auto;padding:22px 0 30px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}footer span{margin:0 8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:-100px;left:10px;padding:12px;background:white;z-index:10}.skip:focus{top:10px}.mobile-break{display:none}@media(max-width:780px){.ledger-grid{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:1fr;gap:6px}.note-card{display:none}.heading-row{flex-direction:column}.account-actions{justify-content:flex-start}.family-badge{display:none}.cards{gap:14px}.balance-card{padding:22px}.balance-amount{font-size:40px}footer{margin:0 24px}}@media(max-width:520px){.topbar{padding:19px 20px}main{padding:22px 18px 40px}.brand{font-size:18px}.demo-banner{align-items:flex-start;flex-direction:column;padding:14px}.heading-row{margin:26px 0 22px}.heading-row h1{font-size:39px}.heading-row p{font-size:12px}.cards{grid-template-columns:1fr;gap:16px;margin-bottom:24px}.balance-card{padding:22px 24px}.balance-amount{font-size:48px}.card-label{margin-top:20px}.card-actions{margin-top:20px}.panel{padding:20px 17px}.activity-meta{font-size:10px}.activity-amount{font-size:13px}.welcome{padding:45px 4px}.welcome p{font-size:14px}.welcome-actions{flex-direction:column;align-items:stretch}.welcome h1{font-size:51px}.principles{flex-direction:column}.narrow{margin:12px auto}.mobile-break{display:block}dialog{padding:23px}.form-row{gap:10px}.form-row input{padding:10px 6px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
