:root{--ink:#182c36;--muted:#657780;--green:#08765b;--green-dark:#075a47;--mint:#e5f3ec;--line:#e3e9e5;--paper:#fafbf7;--white:#fff;--red:#a33535;--amber:#97600b;font-family:Inter,"Segoe UI",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.6}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.6}button svg,a svg{flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:32px;font-weight:650;letter-spacing:-1.15px;line-height:1.2;margin-bottom:12px}h2{font-size:19px;letter-spacing:-.4px;line-height:1.4;margin-bottom:12px}h3{font-size:16px;margin-bottom:8px}p{color:var(--muted);margin-bottom:14px}small{font-size:12px}strong{font-weight:650}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b08a37;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;top:-60px;left:16px;padding:10px;background:white;z-index:100}.skip:focus{top:10px}.loading{padding:20vh 24px;text-align:center}.brand{display:flex;align-items:center;gap:9px;font-size:25px;font-weight:750;letter-spacing:-1px}.brand>svg{color:var(--green);width:33px;height:33px}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;padding:36px 22px 20px;background:var(--white);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:10}.sidebar .brand{padding-left:11px;margin-bottom:48px}.nav-label{font-size:10px;letter-spacing:1.5px;color:var(--muted);font-weight:650;padding:0 13px;margin-bottom:16px}nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 15px;border:0;border-radius:9px;background:none;text-align:left;color:var(--muted)}.nav-item:hover{background:#f5f8f5}.nav-item.active{background:var(--mint);color:var(--green-dark);font-weight:650}.sidebar-note{margin-top:auto;border:1px solid #d8e7dd;background:#f4f8f1;border-radius:12px;padding:17px;margin-bottom:25px}.sidebar-note>svg{display:block;color:var(--green);margin-bottom:10px}.sidebar-note strong{font-size:13px}.sidebar-note p{font-size:12px;margin:6px 0 0}.account{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:18px}.avatar{display:grid;place-items:center;background:#e9eee3;color:#476744;border-radius:50%;width:36px;height:36px}.account strong{display:block;font-size:12px}.account small{display:block;color:var(--muted);font-size:10px}.workspace{margin-left:246px}.topbar{min-height:79px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:15px 38px;background:#ffffffb8;gap:12px;font-size:12px}.topbar>div{display:flex;align-items:center;gap:20px}.divider{color:#a8b2ad;padding:0 12px}.date-pill{padding:8px 12px;background:white;border:1px solid var(--line);border-radius:8px;color:var(--muted)}main#main{max-width:1380px;margin:0 auto;padding:36px 38px 20px;outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading p{margin:0;font-size:13px}.eyebrow{display:block;color:var(--green);font-size:10px;font-weight:750;letter-spacing:1.7px;margin-bottom:10px}.primary,.secondary,.danger,.question{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:9px;padding:11px 16px;font-weight:600;font-size:13px;line-height:1.5;transition:background .15s}.primary{background:var(--green);color:white;box-shadow:0 3px 7px #08765b12}.primary:hover{background:var(--green-dark)}.secondary{background:white;border-color:#d8e1da;color:var(--ink)}.secondary:hover{background:#f2f6f1}.danger{background:#fff4f3;border-color:#efd4cf;color:var(--red)}.small{padding:7px 10px;font-size:12px}.text-link{border:0;background:none;color:var(--green);display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:650;padding:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;background:none;border:1px solid transparent;border-radius:7px;color:var(--muted);font-size:24px}.icon-button:hover{background:var(--mint);color:var(--green)}.dashboard-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:20px;margin-bottom:20px}.hero-card{background:var(--green-dark);color:white;border-radius:17px;padding:25px 29px;position:relative;overflow:hidden}.hero-card:after{content:'';position:absolute;width:210px;height:210px;border:36px solid #ffffff05;border-radius:50%;right:-90px;top:-35px;pointer-events:none}.hero-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;gap:12px}.hero-top>span:first-child{display:flex;align-items:center;gap:8px}.hero-top .badge{background:#ffffff17;color:#d5efe3}.hero-amount{font-size:43px;letter-spacing:-1.8px;line-height:1.2;margin:19px 0 12px;font-weight:650}.hero-card p{font-size:11px;color:#c5dfd1;max-width:440px}.hero-bottom{border-top:1px solid #ffffff20;display:grid;grid-template-columns:1fr 1fr;gap:15px;padding-top:19px;margin-top:20px}.hero-bottom small{display:block;color:#c4ddce;font-size:10px;margin-bottom:4px}.hero-bottom strong{font-size:19px}.hero-card .hero-warning{color:#ffe3a4;margin-top:14px;margin-bottom:0}.stat-card,.panel,.mini-stat{background:white;border:1px solid var(--line);border-radius:14px}.stat-card{padding:24px;display:flex;align-items:flex-start;flex-direction:column}.stat-icon{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;background:var(--mint);border-radius:11px;color:var(--green);margin-bottom:15px}.stat-card h2{font-size:30px;margin:12px 0 8px;letter-spacing:-1px}.stat-card p{font-size:12px;flex:1}.metrics-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:26px}.mini-stat{padding:17px;display:flex;align-items:center;gap:13px}.mini-stat .stat-icon{margin:0;flex-shrink:0}.mini-stat small{color:var(--muted);font-size:10px;display:block}.mini-stat strong{display:block;font-size:17px;margin-top:3px}.amber{background:#fbf0d8;color:var(--amber)}.blue{background:#eaf0fb;color:#42608e}.two-column{display:grid;grid-template-columns:1.3fr 1fr;gap:22px;margin-bottom:25px}.panel{padding:24px;margin-bottom:24px}.two-column .panel{margin-bottom:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-heading h2{margin:0}.panel-heading .muted{font-size:11px}.category-bars{display:grid;gap:17px}.bar-label{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px;font-size:12px}.bar-label>span{display:flex;gap:9px;align-items:center}.bar-label strong{font-size:11px}.dot{height:8px;width:8px;border-radius:50%;background:var(--green)}.color-1{background:#80a279}.color-2{background:#c2a251}.color-3{background:#6986a4}progress{display:block;width:100%;height:7px;border:0;border-radius:9px;overflow:hidden;background:#eff3ee;accent-color:var(--green)}progress::-webkit-progress-bar{background:#eff3ee;border-radius:9px}progress::-webkit-progress-value{background:#3c9678;border-radius:9px}progress::-moz-progress-bar{background:#3c9678;border-radius:9px}.insight-panel{background:#f1f6ed;border-color:#dfe8d8;display:flex;align-items:flex-start;flex-direction:column}.insight-panel h2{font-size:24px;max-width:340px}.insight-panel p{font-size:12px;flex:1}.insight-panel small{color:var(--muted);font-size:10px;margin-top:17px}.badge{display:inline-block;white-space:nowrap;font-size:9px;letter-spacing:.6px;font-weight:650;border-radius:6px;padding:5px 8px;background:#f1f4ee;color:#5a7058}.badge.mint{background:var(--mint);color:var(--green)}.badge.neutral{background:#f4f2ec;color:#6c6353}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;letter-spacing:.4px;font-weight:500;color:var(--muted);border-bottom:1px solid var(--line);padding:0 10px 12px;white-space:nowrap}td{padding:14px 10px;border-bottom:1px solid #f0f2ed;white-space:nowrap}tbody tr:last-child td{border-bottom:0}.numeric{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.positive{color:var(--green)}.negative,.form-error{color:var(--red)}.warning{color:var(--amber)}.tx-description{display:flex;align-items:center;gap:11px}.tx-description strong{font-size:12px;white-space:normal;display:block;max-width:290px;overflow-wrap:anywhere}.tx-description small{color:var(--muted);font-size:10px;display:block}.tx-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:#f1f2ed;color:#64785d;flex-shrink:0}.tx-icon.mint{background:var(--mint);color:var(--green)}.notice{font-size:12px;background:#f0f3ea;border:1px solid #e1e7d9;padding:12px 16px;border-radius:8px;color:#596b5c}.muted{color:var(--muted)}footer{max-width:1380px;padding:8px 38px 25px;margin:auto;display:flex;justify-content:space-between;gap:10px;color:#768078;font-size:10px}.demo-banner{padding:10px 38px;background:#fff2d1;color:#74530b;font-size:12px}.empty{text-align:center;padding:30px 15px;color:var(--muted)}.empty>svg{width:34px;height:34px;color:#8faa96;margin:0 auto 14px}.empty h3{color:var(--ink)}.empty p{font-size:12px}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}input,select{border:1px solid #d9e2da;background:#fff;border-radius:8px;padding:10px 12px;color:var(--ink);width:100%;min-width:0}input::placeholder{color:#87908a;font-weight:400}input[type=checkbox]{width:17px;height:17px;accent-color:var(--green)}.form-grid,.budget-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.budget-grid{grid-template-columns:repeat(3,1fr)}.budget-grid label>span{font-weight:400;font-size:10px}.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.filter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;align-items:end}.list-item{padding:17px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}.list-item:last-child{border-bottom:0}.list-item small{display:block;color:var(--muted);margin:5px 0;font-size:11px}.list-item p{font-size:12px;margin:5px 0}.goal-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.goal-card h3{font-size:21px;margin:19px 0 13px}.goal-card h3 small{color:var(--muted);font-size:11px;font-weight:400}.goal-card p{font-size:12px}.goal-card progress{margin-bottom:17px}.coach-panel{text-align:center;max-width:850px;margin:0 auto 24px;padding:36px}.coach-avatar{margin:0 auto 17px;display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:var(--mint);color:var(--green)}.coach-avatar svg{width:29px;height:29px}.coach-panel h2{font-size:25px;margin-top:22px}.question-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:26px 0}.question{justify-content:flex-start;background:#f8faf6;border-color:var(--line);text-align:left;padding:15px;color:var(--ink);font-weight:500}.question:hover{background:var(--mint)}.coach-input{display:flex;gap:10px}.coach-answer{margin-top:23px;background:#eff7f0;border:1px solid #dbe9dd;padding:20px;text-align:left;border-radius:12px;font-size:13px}.coach-panel>.muted{font-size:11px;margin:22px 0 0}.upload-box{text-align:center;padding:25px;border:1px dashed #b6cbb9;border-radius:12px;background:#fafcf7}.upload-box>svg{width:35px;height:35px;color:var(--green);margin-bottom:15px}.upload-box p{font-size:12px}.file-label{display:inline-flex;padding:9px 14px;border:1px solid #ceddcd;border-radius:8px;background:white}.file-label input{font-size:12px;max-width:270px;border:0;padding:0}.import-table{min-width:1100px}.import-table td{padding:9px 5px}.import-table input{min-width:105px;width:120px;font-size:11px;padding:7px}.import-table input[type=checkbox]{min-width:0;width:17px}.import-note{white-space:normal;min-width:190px;font-size:11px}dialog{border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 80px #193d3725;padding:27px;width:min(650px,calc(100% - 28px));max-height:90vh;color:var(--ink)}dialog::backdrop{background:#102c3959;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.dialog-heading .eyebrow{margin:0}dialog form>label{margin-bottom:17px}dialog h2{font-size:24px}dialog .muted{font-size:11px;margin-top:17px}.form-error{font-size:12px;margin-top:12px}.welcome{max-width:1150px;margin:auto;padding:55px 40px}.welcome .brand .badge{margin-left:auto;font-size:9px;letter-spacing:1.5px}.welcome-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:75px;align-items:center;margin:90px 0 65px}.welcome h1{font-size:58px;letter-spacing:-2.7px;line-height:1.13;margin:20px 0}.welcome h1 em{font-style:normal;color:var(--green)}.lead{font-size:16px;max-width:470px;margin-bottom:26px}.welcome .actions{margin-bottom:14px}.welcome .muted{font-size:11px}.feature-list{display:grid;gap:12px;margin-top:30px;font-size:12px;color:var(--muted)}.feature-list>span{display:flex;gap:10px;align-items:center}.feature-list svg{color:var(--green);width:16px}.welcome-preview{background:var(--green-dark);padding:34px;border-radius:22px;transform:rotate(-2deg);color:white;box-shadow:0 30px 70px #075a4720}.welcome-preview .eyebrow{color:#b4dbc2}.welcome-preview p{color:#d0e6d7;margin-top:27px}.preview-money{font-size:39px;letter-spacing:-1.6px;font-weight:650}.preview-money span{font-size:12px;letter-spacing:0;margin-left:5px;color:#d1e3d7}.mini-chart{display:flex;gap:14px;height:140px;align-items:flex-end;margin:30px 0}.mini-chart i{background:#ffffff30;border-radius:7px 7px 0 0;flex:1;height:60%}.mini-chart i:nth-child(2n){height:85%}.mini-chart i:nth-child(3n){height:42%}.mini-chart i:last-child{height:100%;background:#afd6a4}.preview-bottom{border-top:1px solid #ffffff25;display:flex;gap:10px;align-items:center;padding-top:17px;font-size:12px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:10px;box-shadow:0 5px 30px #0002;padding:12px 20px;z-index:100;max-width:90vw;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}
@media(min-width:1500px){main#main{padding-top:45px}.hero-card{padding:30px}.panel{padding:29px}}
@media(max-width:1100px){.sidebar{width:210px;padding:30px 14px}.workspace{margin-left:210px}main#main{padding:28px 24px}.topbar{padding:15px 24px}.hero-amount{font-size:35px}.hero-bottom strong{font-size:16px}.mini-stat{padding:13px;gap:9px}.mini-stat strong{font-size:14px}.metrics-row{gap:10px}.page-heading h1{font-size:27px}.budget-grid{grid-template-columns:1fr 1fr}.welcome-grid{gap:40px}.welcome h1{font-size:48px}.preview-money{font-size:32px}}
@media(max-width:760px){body{padding-bottom:75px}.sidebar{inset:auto 0 0;width:100%;height:70px;padding:0;background:#fffffffa;border:0;border-top:1px solid var(--line);backdrop-filter:blur(15px)}.sidebar>.brand,.nav-label,.sidebar-note,.account{display:none}nav{display:flex;justify-content:space-around;gap:0;height:100%;overflow:auto}.nav-item{flex-direction:column;justify-content:center;gap:4px;padding:9px 8px;border-radius:0;font-size:9px;min-width:56px;flex:1}.nav-item.active{background:none;color:var(--green)}.nav-item svg{height:19px;width:19px}.workspace{margin-left:0}.topbar{min-height:62px;padding:12px 18px}.topbar .date-pill{display:none}.topbar>div{gap:8px}main#main{padding:25px 17px 10px}.page-heading{align-items:flex-start;flex-direction:column;gap:17px;margin-bottom:22px}.page-heading h1{font-size:29px}.page-heading p{font-size:12px}.dashboard-grid,.two-column,.goal-grid{grid-template-columns:1fr;gap:17px}.hero-card{padding:23px}.hero-amount{font-size:38px}.stat-card{padding:20px}.stat-card h2{font-size:27px}.metrics-row{grid-template-columns:1fr;margin-bottom:20px}.mini-stat{padding:13px 18px}.mini-stat small{font-size:11px}.mini-stat strong{font-size:16px}.panel{padding:20px;margin-bottom:20px}.panel-heading{align-items:flex-start}.panel-heading h2{font-size:17px}.two-column{margin-bottom:20px}.hero-bottom strong{font-size:18px}.hero-bottom small{font-size:9px}.filter-grid{grid-template-columns:1fr 1fr}.form-grid,.budget-grid{grid-template-columns:1fr 1fr;gap:14px}label{font-size:11px}.question-grid{grid-template-columns:1fr}.coach-panel{padding:22px 18px}.coach-panel h2{font-size:23px}.coach-input{flex-direction:column}.list-item{align-items:flex-start}.list-item .actions{justify-content:flex-end}.welcome{padding:28px 22px}.welcome .brand{font-size:23px}.welcome .brand .badge{font-size:7px;letter-spacing:.6px}.welcome-grid{grid-template-columns:1fr;gap:40px;margin:55px 0 40px}.welcome h1{font-size:46px}.welcome-preview{max-width:440px;transform:none}.lead{font-size:15px}.preview-money{font-size:38px}footer{padding:15px 20px;flex-direction:column;font-size:9px}.demo-banner{padding:9px 18px;font-size:11px}#toast{bottom:88px}.notice{font-size:11px}dialog{padding:22px}.tx-description strong{max-width:180px}.upload-box{padding:20px 12px}}
.sr-only{left:0;top:0}.panel,.stat-card,.hero-card{min-width:0}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.auth-wide{width:100%}.auth-providers{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:22px}.auth-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;margin-top:20px}.auth-message{color:var(--green);font-size:12px}

/* Shared visual rhythm and feedback across all UangFlow screens. */
:root{--ink:#173b35;--muted:#526860;--green:#08765b;--green-dark:#064d3b;--mint:#e4f3eb;--line:#dce5dd;--paper:#f5f7f2;--ease:cubic-bezier(.22,1,.36,1);--shadow:0 4px 24px #173b3506}
body{font-size:15px;background:var(--paper)}
h1,h2,h3{text-wrap:balance}p{line-height:1.7}button,a{transition:background .18s,color .18s,box-shadow .18s,transform .18s var(--ease)}
button,.primary,.secondary{min-height:44px}.primary{box-shadow:0 4px 12px #08765b20}.primary:hover{background:var(--green-dark);box-shadow:0 6px 20px #08765b26}
button:active{transform:translateY(1px)}button:disabled{opacity:.7;transform:none}.text-link{min-height:44px}
button[aria-busy=true]::before{content:"";width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite;margin-right:8px;display:inline-block;vertical-align:middle}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #08765b;outline-offset:3px;box-shadow:0 0 0 6px #e4f3eb}
.icon-button{width:44px;height:44px;min-width:44px}.badge{font-size:11px;letter-spacing:.35px;border-radius:7px;padding:5px 9px}
.sidebar{width:252px;padding:30px 20px;background:#fcfdfa}.sidebar .brand{margin-bottom:40px}.workspace{margin-left:252px}
.nav-label{font-size:11px}.nav-item{font-size:14px;border-radius:12px;min-height:48px}.nav-item.active{box-shadow:inset 3px 0 var(--green)}
.sidebar-note{background:linear-gradient(140deg,#ecf5e9,#f7faf4);border-radius:16px}.account small{font-size:12px}.account strong{font-size:14px}
.topbar{position:sticky;top:0;z-index:5;min-height:76px;font-size:13px;background:#f9fbf7f5;backdrop-filter:blur(12px)}
main#main{padding:36px clamp(24px,3vw,48px) 24px}.page-heading{margin-bottom:30px}.page-heading h1{font-size:clamp(28px,2.6vw,38px);letter-spacing:-1.2px}.page-heading p{font-size:14px;max-width:640px}.eyebrow{font-size:11px;letter-spacing:1.7px;color:var(--green)}
.panel,.stat-card,.mini-stat{border-radius:20px;box-shadow:var(--shadow)}.panel{padding:28px}.panel-heading h2{font-size:20px}.panel-heading .muted{font-size:12px}
.hero-card{border-radius:22px;background:linear-gradient(125deg,#075e47,#093c35);box-shadow:0 12px 28px #064d3b14;padding:30px;overflow:hidden}
.hero-top{font-size:13px}.hero-amount{font-size:clamp(34px,3.5vw,52px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.hero-card p{font-size:12px;color:#d4e9dd}.hero-bottom small{font-size:12px;color:#d4e9dd}.hero-bottom strong{font-size:20px;overflow-wrap:anywhere}
.stat-card{padding:28px}.stat-card h2{font-size:34px;font-variant-numeric:tabular-nums}.stat-card p,.insight-panel p{font-size:14px}.stat-icon{height:44px;width:44px;border-radius:13px}.mini-stat{padding:20px}.mini-stat small{font-size:12px}.mini-stat strong{font-size:19px}
.insight-panel{background:linear-gradient(145deg,#edf4e8,#f6f9f0)}.insight-panel small{font-size:12px}.category-bars{gap:20px}.bar-label{font-size:14px}.bar-label strong{font-size:13px}progress{height:8px}
table{font-size:14px}th{font-size:12px;padding-bottom:16px}td{padding:16px 10px}tbody tr{transition:background .15s}tbody tr:hover{background:#f7faf5}.tx-description strong{font-size:14px}.tx-description small{font-size:12px;white-space:normal}.tx-icon{width:40px;height:40px;border-radius:12px}
.notice{font-size:13px;background:#edf2e7;border-color:#dce5d3;border-radius:12px}.empty{padding:40px 18px}.empty>svg{color:var(--green)}.empty p{font-size:14px;max-width:380px;margin:0 auto 20px}.empty h3{font-size:19px}
label{font-size:14px;gap:8px}input,select{min-height:46px;font-size:15px;border-radius:11px;border-color:#a2b6aa;padding:11px 13px;transition:border-color .18s,box-shadow .18s}input:hover,select:hover{border-color:#718e7e}input:focus,select:focus{border-color:var(--green)}
input[type=checkbox]{min-height:0;width:20px;height:20px}.form-grid,.budget-grid{gap:20px}.budget-grid label>span{font-size:12px}.form-error{font-size:14px}.form-error:empty,.auth-message:empty{display:none}.auth-message{font-size:14px;padding:12px 14px;background:var(--mint);border-radius:11px}
.list-item small,.list-item p,.goal-card p,.upload-box p{font-size:13px}.goal-card h3 small{font-size:13px}.goal-card h3{font-size:25px}.question{border-radius:13px}.coach-answer{font-size:15px}.coach-panel>.muted{font-size:12px}.upload-box{padding:36px 24px;background:#f8fbf4;border-radius:16px}.file-label{min-height:48px}.import-table input{font-size:13px}.import-note{font-size:13px}
dialog{border-radius:24px;padding:30px;box-shadow:0 32px 100px #092f3540;max-height:calc(100dvh - 32px);scrollbar-gutter:stable;animation:dialog-in .22s var(--ease)}dialog::backdrop{background:#102c395c;backdrop-filter:blur(5px)}dialog h2{font-size:28px}dialog .muted{font-size:13px}.dialog-heading{margin-bottom:22px}.auth-links{gap:8px}.auth-links .text-link{padding:8px 0;font-size:13px}
main#main.welcome{max-width:1256px;padding:32px 48px 24px}.welcome-header{display:flex;align-items:center;justify-content:space-between;gap:18px}.welcome-header .badge{font-size:10px;letter-spacing:1px;background:transparent;border:1px solid var(--line);padding:8px 12px}
.welcome-grid{grid-template-columns:1.2fr 1fr;gap:72px;margin:76px 0 64px}.welcome h1{font-size:clamp(48px,5vw,70px);letter-spacing:-3.5px;line-height:1.07;margin:24px 0}.welcome .lead{font-size:18px;line-height:1.75;max-width:450px;margin-bottom:30px}.welcome .actions{gap:12px}.welcome .actions .primary,.welcome .actions .secondary{padding:13px 22px;font-size:15px}.welcome .actions .text-link{font-size:14px}
.welcome-story>.eyebrow{display:flex;gap:10px;align-items:center}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px var(--mint)}.welcome-caption{display:flex;align-items:center;gap:8px;font-size:12px;margin-top:18px}.welcome-caption svg{width:15px;color:var(--green)}.feature-list{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.welcome-preview{position:relative;border-radius:26px;transform:none;padding:30px;background:linear-gradient(135deg,#0c644d,#083d36);box-shadow:0 22px 64px #064d3b18;border:1px solid #ffffff25;isolation:isolate}.welcome-preview::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at top right,#b7dd761d,transparent 65%);border-radius:inherit}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.preview-logo{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px}.preview-heading .badge{font-size:9px;color:#d8ecd9;background:#ffffff15;border:1px solid #ffffff18}.welcome-preview p{font-size:14px;margin-top:30px;margin-bottom:5px}.preview-money{font-size:44px;letter-spacing:-1.8px;line-height:1.3}.preview-caption{font-size:11px;color:#c9e3d5}.mini-chart{height:142px;gap:14px;margin:32px 0 8px}.mini-chart i{background:linear-gradient(#a7d4ad99,#76b19c33);border-radius:6px 6px 2px 2px;transform-origin:bottom;animation:bar-in .7s var(--ease) both}.mini-chart i:nth-child(2n){animation-delay:.06s}.mini-chart i:nth-child(3n){animation-delay:.12s}.mini-chart i:last-child{background:linear-gradient(#c9e8a7,#9dcc90);animation-delay:.18s}.chart-days{display:flex;justify-content:space-around;font-size:10px;color:#cee4d7;margin-bottom:26px}.preview-bottom{font-size:12px;color:#e5f2e8}.preview-note{display:flex;gap:8px;align-items:center;margin-top:16px;padding:12px;border-radius:11px;background:#ffffff0e;font-size:11px;color:#e1efdc}.preview-note svg{width:15px}
.welcome-features{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;border-top:1px solid var(--line);padding-top:30px;margin-bottom:28px}.welcome-features article{display:flex;gap:14px;align-items:flex-start}.feature-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border:1px solid #d4e4d6;border-radius:13px;background:#edf4e9;color:var(--green)}.welcome-features h2{font-size:16px;margin:0 0 8px}.welcome-features p{font-size:13px;margin:0}.welcome-footer{padding:20px 0 0;border-top:1px solid var(--line);font-size:12px}
.loading{max-width:620px!important;margin:0 auto;padding:18vh 24px!important;min-height:80vh}.loading-brand{display:flex;justify-content:center;align-items:center;gap:12px;color:var(--green);font-size:28px;font-weight:750;margin-bottom:22px}.loading-brand svg{height:36px;width:36px}.loading-brand span{color:var(--ink);letter-spacing:-1px}.loading p{font-size:15px}.loading small{font-size:13px;color:var(--muted)}.loading-skeleton{display:grid;grid-template-columns:1.6fr 1fr;gap:14px;margin:28px auto;max-width:420px}.loading-skeleton i{display:block;height:82px;background:linear-gradient(100deg,#e4eae0 20%,#f0f4eb 50%,#e4eae0 80%);background-size:200% 100%;border-radius:16px;animation:shimmer 1.6s ease-in-out infinite}.loading-skeleton i:first-child{grid-column:1/-1;height:130px}
#toast{font-size:14px;padding:14px 20px;border-radius:14px;transition:opacity .18s,transform .18s var(--ease);transform:translate(-50%,8px);box-shadow:0 8px 32px #173b3524}#toast.visible{transform:translate(-50%,0)}footer{font-size:12px}.demo-banner{font-size:13px}.mobile-more{display:none}
.onboarding-note{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.onboarding-note strong{font-size:15px}.onboarding-note p{margin:5px 0 0;max-width:680px}.onboarding-note button{flex-shrink:0}
.page-heading,.welcome-story,.welcome-preview{animation:enter .35s var(--ease) both}.dashboard-grid,.goal-grid,.two-column{animation:enter .4s var(--ease) both}
@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes dialog-in{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}@keyframes bar-in{from{transform:scaleY(.25)}to{transform:scaleY(1)}}@keyframes shimmer{to{background-position:-200% 0}}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:761px) and (max-width:1100px){.sidebar{width:210px;padding:28px 14px}.workspace{margin-left:210px}.mini-stat{padding:16px}.mini-stat strong{font-size:16px}.welcome-grid{gap:40px}.preview-money{font-size:38px}.hero-bottom strong{font-size:17px}}
@media(max-width:760px){
 body{padding-bottom:calc(80px + env(safe-area-inset-bottom))}.workspace{margin-left:0}.sidebar{width:100%;height:calc(74px + env(safe-area-inset-bottom));padding:0 8px env(safe-area-inset-bottom);border-top:1px solid var(--line);background:#fbfdf9f7}.sidebar nav{overflow:visible;align-items:center;gap:4px}.nav-item{font-size:11px;padding:8px 4px;min-width:0;border-radius:12px;height:58px}.nav-item.active{background:var(--mint);box-shadow:none}.nav-item svg{width:21px;height:21px}.sidebar nav>.nav-item[data-page=coach],.sidebar nav>.nav-item[data-page=imports],.sidebar nav>.nav-item[data-page=settings]{display:none}
 .mobile-more{display:block;flex:1;position:relative;min-width:0}.mobile-more summary{list-style:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:58px;font-size:11px;color:var(--muted);cursor:pointer;border-radius:12px}.mobile-more summary::-webkit-details-marker{display:none}.mobile-more summary.active,.mobile-more[open] summary{background:var(--mint);color:var(--green)}.mobile-menu{position:absolute;bottom:68px;right:0;width:210px;padding:8px;background:white;border:1px solid var(--line);box-shadow:0 12px 40px #173b3524;border-radius:16px}.mobile-menu .nav-item{width:100%;flex-direction:row;justify-content:flex-start;gap:12px;padding:12px;height:48px;font-size:14px}
 .onboarding-note{align-items:flex-start;flex-direction:column;gap:14px}.topbar{padding:12px 18px;min-height:64px;font-size:12px}main#main{padding:26px 18px 14px;scroll-margin-top:76px}.page-heading{gap:18px;margin-bottom:24px}.page-heading h1{font-size:30px}.page-heading p{font-size:14px}.hero-card,.stat-card,.panel{padding:23px;border-radius:20px}.hero-amount{font-size:38px}.hero-bottom strong{font-size:17px}.hero-bottom small{font-size:11px}.metrics-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mini-stat{padding:14px 10px;flex-direction:column;align-items:flex-start;gap:10px;border-radius:15px}.mini-stat .stat-icon{width:32px;height:32px;border-radius:9px}.mini-stat small{font-size:11px;line-height:1.5}.mini-stat strong{font-size:13px;overflow-wrap:anywhere}.panel-heading h2{font-size:19px}.stat-card h2{font-size:30px}
 .table-wrap table:not(.import-table){display:block}.table-wrap table:not(.import-table) thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.table-wrap table:not(.import-table) tbody{display:block}.table-wrap table:not(.import-table) tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;position:relative;padding:18px 0;border-bottom:1px solid var(--line)}.table-wrap table:not(.import-table) tr:last-child{border-bottom:0}.table-wrap table:not(.import-table) td{border:0;padding:0;white-space:normal}.table-wrap table:not(.import-table) td:first-child{grid-column:1/-1;padding-right:46px}.table-wrap table:not(.import-table) td:nth-child(2){font-size:12px;color:var(--muted)}.table-wrap table:not(.import-table) td.numeric{grid-column:2;grid-row:2;font-size:14px;white-space:nowrap}.table-wrap table:not(.import-table) td:last-child{position:absolute;top:12px;right:-6px}.table-wrap table:not(.import-table) .tx-description strong{max-width:none;overflow-wrap:anywhere}
 label{font-size:13px}input,select{font-size:16px}.form-grid,.budget-grid,.filter-grid{gap:16px}.form-grid,.budget-grid{grid-template-columns:1fr}.filter-grid{grid-template-columns:1fr 1fr}.coach-panel{padding:24px 18px}.coach-panel h2{font-size:24px}.list-item{flex-wrap:wrap}.goal-card h3{font-size:23px}.tx-description strong{max-width:210px}.notice{font-size:12px}
 dialog{padding:24px 20px;border-radius:22px;width:calc(100% - 24px);max-height:calc(100dvh - 24px)}dialog h2{font-size:26px}.auth-links{flex-direction:column;align-items:flex-start;gap:2px}.dialog-heading{margin-bottom:16px}#toast{bottom:calc(90px + env(safe-area-inset-bottom));max-width:calc(100vw - 28px);width:max-content}
 main#main.welcome{padding:25px 22px 16px}.welcome-header .brand{font-size:24px}.welcome-header .badge{font-size:8px;letter-spacing:.5px;max-width:120px;white-space:normal;text-align:right;line-height:1.5}.welcome-grid{grid-template-columns:1fr;gap:36px;margin:48px 0 42px}.welcome h1{font-size:clamp(42px,10vw,58px);letter-spacing:-2px}.welcome .lead{font-size:16px}.welcome-story>.eyebrow{font-size:10px;letter-spacing:1.3px}.welcome-caption{font-size:12px}.feature-list{font-size:11px;gap:10px}.welcome-preview{max-width:none;padding:26px}.preview-money{font-size:40px}.welcome-features{grid-template-columns:1fr;gap:24px;padding-top:26px}.welcome-features h2{font-size:17px}.welcome-features p{font-size:14px}.welcome-footer{font-size:11px}.loading{padding-top:18vh!important}
}
@media(max-width:380px){.metrics-row{grid-template-columns:1fr}.mini-stat{flex-direction:row;align-items:center}.mini-stat strong{font-size:17px}.filter-grid{grid-template-columns:1fr}.hero-bottom{grid-template-columns:1fr}.welcome .actions .primary,.welcome .actions .secondary{padding:12px 16px}.preview-money{font-size:35px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
