
:root{--ink:#203c35;--green:#254f40;--muted:#77817a;--bg:#f5f6f2;--line:#e3e7df;--lime:#daedb5;--orange:#b88141;--red:#b04949;--card:#fff; font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9eae66;outline-offset:3px}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#fff;border-right:1px solid var(--line);padding:38px 25px;display:flex;flex-direction:column;z-index:5}.brand{text-decoration:none;display:flex;align-items:center;gap:10px;font-size:31px;letter-spacing:-1.6px;font-weight:650}.brand-icon{width:42px;height:43px;display:grid;place-items:center;background:var(--ink);color:var(--lime);border-radius:13px;font-family:Georgia,serif;font-weight:400}.brand-dot{color:#b4c98b;font-size:12px;align-self:flex-start;margin-top:10px;margin-left:-6px}.brand-sub{font-size:9px;letter-spacing:2.3px;color:var(--muted);margin:15px 0 40px}nav{display:grid;gap:8px}nav a{text-decoration:none;padding:13px 15px;border-radius:9px;font-size:13px;display:flex;gap:13px;align-items:center;color:#66716a}nav a.active{background:#edf3e7;color:#294d39;font-weight:600}nav a:hover{background:#f2f5ee}nav .nav-icon{font-size:18px;width:20px;text-align:center}.sidebar-note{margin-top:auto;padding:28px 6px 24px;font-size:11px;color:#4a6355}.sidebar-note p{line-height:1.9;color:#91988f;font-size:11px}.status-dot{display:inline-block;width:6px;height:6px;background:#739764;border-radius:50%;margin-right:5px}.local-label{border-top:1px solid var(--line);padding-top:22px;font-size:10px;color:var(--muted)}.workspace{margin-left:240px}.topbar{height:89px;padding:0 44px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#fafbf8}.breadcrumb{font-size:12px;color:#91968f}.breadcrumb span{padding:0 14px;color:#c3c8be}.breadcrumb strong{color:#536258;font-weight:500}.month-label{display:flex;gap:14px;align-items:center;font-size:11px;color:var(--muted)}input,select{border:1px solid #dce2d7;padding:10px 12px;border-radius:7px;background:#fff;color:var(--ink);min-width:0;width:100%}.month-label input{width:172px;font-size:12px}main{padding:36px 44px;max-width:1600px;margin:0 auto;min-height:calc(100vh - 150px)}h1{font-size:30px;font-weight:550;letter-spacing:-1.15px;margin:0 0 10px}h2{font-size:16px;font-weight:600;letter-spacing:-.3px;margin:0 0 8px}h3{font-size:13px;margin:0 0 8px}p{line-height:1.65}.subtle{font-size:12px;color:var(--muted);margin:0}.eyebrow{font-size:10px;letter-spacing:1.7px;text-transform:uppercase;color:#7d917f;margin:0 0 12px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.primary,.secondary,.soft,.danger{border:0;border-radius:8px;padding:12px 17px;font-size:12px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.primary{background:var(--ink);color:white}.primary:hover{background:#30604e}.secondary{border:1px solid var(--line);background:white;color:var(--ink)}.soft{background:#edf3e7;color:#476246}.danger{background:#fbeaea;color:var(--red)}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.toolbar select,.toolbar input{width:auto;max-width:220px}.hero{background:#1e4439;border-radius:15px;padding:29px 32px;color:white;position:relative;overflow:hidden;display:grid;grid-template-columns:1.4fr 1fr;gap:25px;margin-bottom:22px}.hero:after{content:'';position:absolute;width:300px;height:300px;border:1px solid #ffffff12;border-radius:50%;right:-95px;top:-120px;pointer-events:none}.hero .eyebrow{color:#b1c3b2}.hero .big{font-size:40px;letter-spacing:-1.5px;font-weight:500;margin:4px 0 12px}.hero .subtle{color:#b6c9bc}.hero .hero-side{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;border-left:1px solid #ffffff24;padding-left:36px}.hero .pill{background:#ffffff13;border:1px solid #ffffff16;color:#ddecce}.pill{display:inline-flex;padding:5px 9px;border-radius:5px;font-size:10px;background:#f1f4ec;color:#748369;line-height:1.4}.pill.warn{background:#fff2e1;color:#966b35}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{background:#fff;border:1px solid var(--line);border-radius:11px;padding:21px}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#6f7c70}.stat-symbol{background:#f3f5ee;border-radius:7px;padding:6px 9px;color:#819375}.stat-value{font-size:24px;letter-spacing:-.6px;display:block;margin:16px 0 8px;font-weight:550}.stat small{color:#8c9588;font-size:10px}.grid-2{display:grid;grid-template-columns:1.35fr 1fr;gap:22px;margin-bottom:22px}.grid-equal{display:grid;grid-template-columns:1fr 1fr;gap:22px}.card{background:white;border:1px solid var(--line);border-radius:12px;padding:25px;min-width:0;margin-bottom:22px}.grid-2>.card,.grid-equal>.card{margin-bottom:0}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}.text-link{font-size:11px;color:#657d54;text-decoration:none}.reserve-track{height:8px;border-radius:10px;background:#edf0e7;overflow:hidden;margin:16px 0}.reserve-track span{display:block;height:100%;background:#9eaf78;min-width:0;border-radius:10px}.milestones{display:flex;justify-content:space-between;margin-top:17px;gap:10px;font-size:10px;color:var(--muted)}.milestones strong{display:block;color:#5d705b;margin-bottom:6px}.reserve-amount{font-size:29px;font-weight:550;letter-spacing:-.8px}.row-between{display:flex;justify-content:space-between;align-items:center;gap:15px}.mini-note{font-size:11px;color:#7e887a;line-height:1.7;margin:16px 0 0}.callout{border:1px solid #e8e0c7;background:#fbf8ef;border-radius:9px;padding:14px 17px;font-size:11px;color:#887046;line-height:1.7;margin:18px 0}.callout.info{background:#eff4ec;border-color:#dce7d6;color:#5d7757}.allocation{display:flex;gap:26px;align-items:center;justify-content:center}.donut{width:145px;height:145px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.donut-hole{width:110px;height:110px;background:white;border-radius:50%;display:grid;place-content:center;text-align:center}.donut-hole strong{font-size:22px;font-weight:550}.donut-hole small{font-size:9px;color:var(--muted);margin-top:5px}.legend{font-size:11px;display:grid;gap:17px;flex:1}.legend>div{display:flex;gap:8px;align-items:center}.legend b{margin-left:auto;font-size:11px;font-weight:500}.dot{width:8px;height:8px;border-radius:3px;flex-shrink:0}.table-wrap{overflow:auto;margin-top:12px}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{text-align:left;color:#899182;font-size:10px;font-weight:500;border-bottom:1px solid var(--line);padding:12px}td{padding:16px 12px;border-bottom:1px solid #eff1eb}td small{display:block;font-size:10px;white-space:normal;color:var(--muted);margin-top:6px;max-width:260px}.table-total{font-weight:650;background:#f8faf4}.number{text-align:right;font-variant-numeric:tabular-nums}.positive{color:#547a44}.negative{color:var(--red)}.icon-button{border:0;background:transparent;color:#77866f;padding:8px;font-size:15px;border-radius:5px}.icon-button:hover{background:#f0f3eb}.empty{padding:28px 15px;text-align:center;background:#fafbf7;border:1px dashed #dce2d4;border-radius:9px;color:#86907f;font-size:12px;line-height:1.8}.empty strong{display:block;color:#5d7058;margin-bottom:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:grid;gap:7px;font-size:11px;color:#63715e}.field.full{grid-column:1/-1}.field small{line-height:1.6;font-size:10px;color:#8c9486}.form-grid input,.form-grid select{font-size:13px}.section-gap{margin-top:22px}.chart{width:100%;height:190px;display:block;overflow:visible}.chart text{font:10px 'Segoe UI',sans-serif;fill:#87927f}.chart-caption{font-size:10px;color:#84907c;display:flex;justify-content:space-between;margin-top:8px}.projection-summary{background:#f0f5e9;border-radius:9px;padding:18px;margin:20px 0}.projection-summary strong{font-size:27px;display:block;margin:8px 0}.goal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.goal-card{border:1px solid var(--line);border-radius:12px;background:white;padding:23px}.goal-card h2{font-size:17px;margin:15px 0}.goal-value{font-size:23px;margin:18px 0 6px}.goal-card small{font-size:11px;color:var(--muted)}.check-row{display:flex;align-items:center;gap:10px;font-size:12px;margin:16px 0}.check-row input{width:auto}.tip-list{font-size:12px;color:#6e7c66;line-height:1.9;padding-left:18px}.tip-list li{margin:9px 0}footer{max-width:1600px;margin:0 auto;padding:14px 44px 24px;display:flex;justify-content:space-between;gap:15px;color:#959c8e;font-size:10px}dialog{border:1px solid var(--line);border-radius:16px;padding:26px;width:min(560px,calc(100% - 28px));color:var(--ink);max-height:90vh;overflow:auto}dialog::backdrop{background:#173d3555;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:14px 22px;background:#213e34;color:white;box-shadow:0 8px 24px #183d3525;border-radius:9px;font-size:12px;z-index:20;display:none;max-width:90vw}#toast.visible{display:block}.storage-error{border:2px solid var(--red);background:#fff1ef;padding:16px;font-size:12px}.muted{color:var(--muted)}.plan-line{padding:14px 0;border-bottom:1px solid #edf0e8;display:flex;align-items:center;justify-content:space-between;font-size:12px}.plan-line strong{font-weight:550}.compact{font-size:11px}.business-hero{background:#344151}.screen-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){main{padding-top:44px}.hero{padding:35px}.stats{gap:22px}.stat{padding:26px}}
@media(max-width:1150px){.sidebar{width:200px;padding:30px 18px}.workspace{margin-left:200px}main{padding:28px}.topbar{padding:0 28px}.stats{gap:10px}.stat{padding:17px}.stat-value{font-size:21px}.grid-2{grid-template-columns:1fr 1fr}.allocation{gap:15px}.donut{width:120px;height:120px}.donut-hole{width:90px;height:90px}.goal-grid{grid-template-columns:1fr 1fr}.hero .big{font-size:36px}}
@media(max-width:900px){.sidebar{width:78px;padding:25px 12px}.brand{justify-content:center}.brand>.brand-dot,.brand-sub,.sidebar-note,.local-label,.brand{font-size:0}.brand-icon{font-size:30px;flex-shrink:0}nav{margin-top:32px}nav a{justify-content:center;padding:13px 0}nav .nav-text{display:none}nav .nav-icon{font-size:20px}.workspace{margin-left:78px}.grid-2,.grid-equal{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.allocation{justify-content:flex-start}.legend{max-width:300px}.hero{grid-template-columns:1.3fr 1fr}.hero .hero-side{padding-left:22px}.breadcrumb{display:none}.topbar{justify-content:flex-end;height:73px}.grid-2{margin-bottom:22px}.page-heading h1{font-size:28px}}
@media(max-width:560px){.sidebar{position:sticky;top:0;width:100%;height:65px;padding:8px 12px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--line)}.brand-icon{width:34px;height:36px;font-size:28px}.brand{gap:0;margin-right:12px}.brand>.brand-dot{display:none}nav{display:flex;margin:0;gap:2px;flex:1;justify-content:space-between}nav a{padding:9px 6px}nav .nav-icon{font-size:17px;width:18px}.sidebar-note,.local-label{display:none}.workspace{margin-left:0}.topbar{height:62px;padding:0 18px;justify-content:space-between}.month-label{width:100%;justify-content:space-between}.month-label input{width:163px}main{padding:25px 17px}.page-heading{align-items:flex-start;gap:10px;flex-wrap:wrap;margin-bottom:22px}.page-heading h1{font-size:27px}.page-heading>.primary{padding:11px 14px;font-size:11px}.hero{padding:24px;grid-template-columns:1fr;gap:20px}.hero .hero-side{border-left:0;border-top:1px solid #ffffff24;padding:17px 0 0}.hero .big{font-size:37px}.stat{padding:17px 14px}.stat-value{font-size:21px}.stat-top{font-size:10px}.stat-symbol{padding:5px}.card{padding:21px 17px}.stats{gap:10px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.goal-grid{grid-template-columns:1fr}.card-heading{align-items:flex-start}.toolbar{gap:8px}.toolbar input,.toolbar select{max-width:100%;width:100%}.milestones{font-size:9px}footer{padding:10px 18px 25px;line-height:1.7;flex-wrap:wrap}.chart{height:160px}.reserve-amount{font-size:26px}}

@media(max-width:900px){.sidebar-note,.local-label,.brand-sub{display:none}}
