/* WalletLane visual system: clear hierarchy, native typography and generous touch targets. */
:root{--green:#214e40;--muted:#5c6d66;--bg:#f5f8f5;--line:#dfe7e1;--ink:#20352d;--surface:#fff;--accent:#bce0c6}body{color:var(--ink);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;line-height:1.5;letter-spacing:-.012em}h1{font-size:clamp(1.65rem,2.4vw,2rem);font-weight:700;letter-spacing:-.045em;line-height:1.18;margin:7px 0 0}h2{font-size:1.13rem;font-weight:650;letter-spacing:-.025em;line-height:1.35}h3{font-size:1.02rem;letter-spacing:-.02em;line-height:1.4}p{line-height:1.6;font-size:.94rem}small{font-size:.78rem;line-height:1.5}.muted,small,.legend,footer,.asidefoot{color:var(--muted)}strong{font-weight:600}header>div>small{font-size:.67rem;font-weight:650;letter-spacing:.105em;color:#526c5c}header{margin-bottom:18px;gap:16px}main{max-width:1400px;padding-block:32px}aside{background:#fcfdfb;border-color:var(--line)}.brand{display:flex;align-items:center;gap:11px;font-family:inherit;font-size:1.43rem;font-weight:650;letter-spacing:-.045em;margin-bottom:28px}.brand img{width:39px;height:39px;border-radius:12px}.brand span{color:#5c7c6a;font-weight:550}.brand-word{white-space:nowrap}.mobile-brand{display:none}.card{border:1px solid var(--line);border-radius:23px;padding:25px;box-shadow:0 4px 20px #213c2b05;background:var(--surface)}.card>h2{margin-bottom:16px}.member{border-radius:17px;border-color:var(--line);padding:19px}.member h3{margin:0 0 12px}.amount{font-variant-numeric:tabular-nums lining-nums;font-size:clamp(1.75rem,3vw,2.3rem);font-weight:600;letter-spacing:-.055em;line-height:1.14;text-wrap:initial}.money-private,.metric-line strong,.entry>strong{font-variant-numeric:tabular-nums lining-nums}button{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:13px;font-size:.88rem;font-weight:550;padding:12px 16px;line-height:1.35;background:#edf3ed;color:#214e40;transition:background .15s,box-shadow .15s}button:hover{filter:none;background:#e4eee5}button.primary{background:#214e40;color:#fff;box-shadow:0 2px 5px #1e39281a}button.primary:hover{background:#173c30}.destructive{color:#923d31;background:#f9ece9}.destructive:hover{background:#f3ded8}button.mini{min-height:44px;min-width:44px;font-size:.79rem;padding:10px}.ui-icon{width:21px;height:21px;stroke-width:1.7;flex-shrink:0;display:inline-block;vertical-align:middle}button .ui-icon{pointer-events:none}.icon .ui-icon{width:20px;height:20px}.icon{width:38px;height:38px;background:#eef4ee;border-radius:12px;color:#46715b}.entry{padding:17px 0;gap:12px}.entry .detail strong{font-size:.94rem;font-weight:600;line-height:1.4}.entry small{font-size:.76rem;line-height:1.5}.entry>strong{font-size:.94rem;letter-spacing:-.025em}.positive{color:#2d7055}.negative{color:#955d3e}.pill{font-size:.73rem;padding:6px 11px;font-weight:550}.track{height:7px;background:#edf2ed}.track>div{background:#487e64}.danger{background:#faeae5;color:#923d31}.warning{background:#f6eedc;color:#775714}input,select,textarea{font-family:inherit;font-size:1rem;line-height:1.4;min-height:48px;border:1px solid #d6e0d8;border-radius:12px;background:#fcfdfb;color:var(--ink);padding:12px 14px}input::placeholder,textarea::placeholder{color:#697b70;opacity:1}label{font-size:.83rem;font-weight:550;line-height:1.5;gap:8px}label input,label select,label textarea{font-weight:400}input:focus,select:focus,textarea:focus{outline:2px solid #517d65;outline-offset:2px;border-color:#517d65}input[type=checkbox]{min-height:0;accent-color:#214e40}.fields{gap:16px}.metric-line{padding:14px 0;gap:18px;font-size:.89rem}.metric-line>span{min-width:0;line-height:1.5}.metric-line strong{white-space:normal;text-align:right;overflow-wrap:anywhere}.notice{border-radius:15px;font-size:.87rem;line-height:1.6}.empty{font-size:.9rem;line-height:1.6}.sync{font-size:.72rem;display:flex;align-items:center;gap:6px}.workspace{gap:12px;padding:0 0 17px;margin:0 0 8px;border-bottom:1px solid var(--line)}.workspace select{min-height:44px;padding:9px 12px;font-size:.83rem}.workspace>small{margin-left:auto}.language-control{justify-content:flex-end;gap:8px;margin:0 0 15px}.language-control>#languageControl{display:none}.language-control #installApp{min-height:44px;background:transparent;font-size:.78rem}.language-control button .ui-icon{width:20px;height:20px}.language-control #privacyButton,.language-control #dashboardSettingsButton{width:44px;padding:10px;background:#fff;border:1px solid var(--line)}.privacy-mode #privacyButton{background:#214e40;color:#fff}nav{gap:5px}nav button{min-height:46px;font-size:.84rem;padding:11px 13px;color:#596e60;gap:11px;border-radius:12px;justify-content:flex-start}nav button.active{background:#e8f1e9;color:#214e40;font-weight:650}nav .nav-icon svg{width:21px;height:21px;stroke-width:1.7}nav .nav-more{display:flex}nav button.nav-secondary{font-size:.8rem}.asidefoot{font-size:.72rem;line-height:1.6;margin-top:28px}.spendable-summary{background:linear-gradient(130deg,#244f40,#163a30);color:#fff;border-color:transparent;padding:29px!important;margin:18px 0!important;position:relative;overflow:hidden}.spendable-summary>small{color:#cfdfd2;font-size:.7rem;font-weight:550;letter-spacing:.065em}.spendable-summary .amount{font-size:clamp(2.45rem,5vw,3rem);font-weight:550;letter-spacing:-.055em;margin:17px 0 13px}.spendable-summary .muted{color:#d0e1d4;font-size:.8rem}.spendable-summary button{background:#ffffff15;color:#f6fcf6;border:1px solid #ffffff24;font-size:.8rem}.spendable-summary button:hover{background:#ffffff25}.cards{margin:18px 0 23px;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}.cards>.card{padding:21px}.cards>.hero{background:#fff;color:var(--ink);border:1px solid var(--line)}.cards>.hero small{color:var(--muted)}.cards .amount,.cards .hero .amount{font-size:clamp(1.5rem,2.7vw,2rem);font-weight:600;letter-spacing:-.045em}.cards>.card>small:first-child{font-size:.68rem;letter-spacing:.055em;line-height:1.45}.cards>.card>small:last-child{font-size:.73rem}.overview-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.overview-secondary>.card{margin:0!important}.overview-secondary .amount{font-size:1.9rem}.overview-secondary .recorded-savings{grid-column:1/-1}.overview-secondary .card>p{font-size:.87rem}.attention-summary{background:#fff9ef;border-color:#e7dfcb;margin-bottom:20px!important}.attention-summary h2{font-size:1rem}.attention-summary p{font-size:.86rem;margin:8px 0}.attention-summary .toolbar button{font-size:.79rem}.month{font-size:.92rem;gap:8px}.month button{border:1px solid var(--line);width:44px;height:44px;padding:8px;border-radius:13px}.month strong{line-height:1.4}.tip{background:#eef4eb}.legend{font-size:.73rem;white-space:normal;line-height:1.6}.legend .dot{background:#487e64!important}.legend .dot:nth-of-type(2){background:#b57851!important}.chart-frame{position:relative;padding:8px 0 0 30px}.chart-grid{position:absolute;inset:15px 0 30px 0;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}.chart-grid span{font-size:.7rem;line-height:1.3;color:#65776b;border-top:1px solid #e6ece5;padding-top:4px}.chart{position:relative;margin-top:6px}.chart-column{display:flex;justify-content:center;align-items:flex-end;padding:0;background:none;border-radius:8px;min-height:130px;width:100%;min-width:0}.chart-column:hover{background:#edf3eb7d}.chart-column .bars{display:flex;gap:7px;align-items:flex-end;height:130px}.bar{min-height:0;background:#487e64;border-radius:5px 5px 2px 2px;box-shadow:none;width:21px;display:block}.bar.out{background:#b57851}.chart-hint{font-size:.73rem;color:#607566;margin:15px 0 0}.chart .week small{font-size:.73rem;letter-spacing:0;font-weight:550;color:#5c6d66}.table-scroll{border:1px solid var(--line);border-radius:15px;max-width:100%;overflow:auto}.table-scroll table{border-collapse:collapse;width:100%;min-width:480px;margin:0}.table-scroll th{position:sticky;top:0;background:#f1f5ef;color:#4e6556;font-size:.74rem;font-weight:600;text-align:left;padding:13px 15px}.table-scroll td{font-size:.82rem;padding:14px 15px;border-bottom:1px solid #e7ece6;line-height:1.5}.table-scroll tr:last-child td{border-bottom:0}.table-scroll td:not(:first-child){font-variant-numeric:tabular-nums}.forecast-bar{background:#487e64}.forecast-bar.estimated{background:#cc9e78;border-color:#8f684b}.forecast-thresholds{gap:12px}.threshold{background:#f0f5ef;border:1px solid var(--line);border-radius:16px}.tool-search{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:0 15px;margin:5px 0 27px}.tool-search input{border:0;background:none;padding:15px 0;min-width:0}.tool-search input:focus{outline:0}.tool-search:focus-within{outline:2px solid #517d65;outline-offset:2px}.tool-search .ui-icon{color:#57705e}.tool-section{margin-bottom:26px}.tool-section>h2{font-size:.76rem;letter-spacing:.07em;font-weight:600;color:#617466;text-transform:uppercase;margin:0 0 12px}.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tool-item{display:flex;text-align:left;justify-content:flex-start;background:#fff;border:1px solid var(--line);padding:17px;border-radius:17px;gap:14px;min-height:87px;box-shadow:0 2px 8px #19362503}.tool-item>span:nth-child(2){flex:1;min-width:0}.tool-item strong{display:block;font-size:.91rem;letter-spacing:-.015em;line-height:1.4}.tool-item small{display:block;font-size:.74rem;color:#617466;margin-top:4px;font-weight:400;line-height:1.45}.tool-icon{height:43px;width:43px;border-radius:13px;display:grid;place-items:center;background:#edf4eb;color:#41694f;flex-shrink:0}.tool-item>.ui-icon{width:16px;height:16px;color:#75887b}.tool-item:hover{background:#f9fcf7;border-color:#bfd3c3}.tool-section[hidden],.tool-item[hidden],button[hidden],[hidden]{display:none!important}dialog{border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 24px 90px #0c24132a;padding:27px}dialog::backdrop{background:#112c2559;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}dialog h2{font-size:1.18rem}dialog .row.spread>button{background:#eff4ed;width:44px;height:44px;padding:10px}dialog form>.primary{width:100%;min-height:50px;margin-top:20px;box-shadow:0 -10px 18px #fff}.split-row{padding:14px 0;border-bottom:1px solid var(--line)}.split-row>button{color:#923d31;background:#f9ece9}.toast{border-radius:15px;background:#214e40;color:white;box-shadow:0 8px 30px #19362930;font-size:.85rem}footer{font-size:.72rem;line-height:1.65;opacity:1;color:#64786b;margin-top:32px}
@media(min-width:768px){.language-control{margin-top:-4px}.grid{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}nav button:nth-child(6){margin-top:16px}nav button:nth-child(9){margin-top:15px}}
@media(min-width:768px) and (max-width:1199px){.brand{font-size:1.22rem;gap:8px}.brand img{width:33px;height:33px}.grid{grid-template-columns:1fr}.card{padding:23px}.tool-grid{grid-template-columns:1fr}}
@media(max-width:767px){main{padding-top:calc(17px + env(safe-area-inset-top));padding-inline:max(18px,env(safe-area-inset-left));padding-bottom:calc(110px + env(safe-area-inset-bottom))}.mobile-brand{display:flex;align-items:center;gap:9px;margin-bottom:24px;font-size:1.03rem;font-weight:650;letter-spacing:-.035em}.mobile-brand img{width:31px;height:31px;border-radius:10px}.mobile-brand span>span{color:#597d64;font-weight:550}header{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:12px;margin:0 0 17px;align-items:center}header>div{min-width:0}header h1{font-size:1.7rem;line-height:1.2;letter-spacing:-.04em}header>div>small{font-size:.63rem;letter-spacing:.09em}header .primary{width:48px;height:48px;padding:0;border-radius:15px}header .primary>span{display:none}header .primary .ui-icon{width:23px;height:23px}.language-control{margin:0 0 12px;gap:8px;justify-content:flex-end}.language-control #installApp{margin-right:auto;padding:9px 0;text-align:left;font-size:.76rem}.workspace{margin-bottom:9px;padding-bottom:15px}.workspace select{font-size:.8rem;min-width:0;max-width:64%;flex:1 1 140px}.workspace small{display:none}.workspace .sync{font-size:.68rem}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:15px 0 19px}.cards>.hero{grid-column:1/-1}.cards>.card{padding:18px}.cards .amount{font-size:1.6rem}.cards .hero .amount{font-size:1.8rem}.cards .hero{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.cards .hero>.amount{grid-column:2;grid-row:1/3;margin:0}.cards .hero>small:last-child{font-size:.73rem;grid-column:1}.cards .hero>small:first-child{font-size:.68rem}.card{border-radius:21px;padding:22px}.spendable-summary{padding:25px!important;border-radius:24px;margin:15px 0!important}.spendable-summary .amount{font-size:2.8rem}.spendable-summary .muted{font-size:.77rem;line-height:1.6}.spendable-summary button{min-height:44px;font-size:.77rem;padding:10px 13px}.overview-secondary{grid-template-columns:1fr;gap:16px}.overview-secondary .recorded-savings{grid-column:auto}.overview-secondary .amount{font-size:1.8rem}.entry{gap:10px}.entry .icon{width:34px;height:34px;border-radius:11px}.entry .detail{flex:1 1 110px}.entry .detail strong{font-size:.9rem}.entry small{font-size:.73rem}.entry>strong{font-size:.9rem}.entry .mini{background:transparent;padding:8px;width:44px}.grid,.stack{gap:16px}.score{gap:16px}.score .muted{font-size:.85rem}.month{font-size:.88rem;gap:7px}.month strong{font-size:.88rem}.chart-frame{padding-left:29px}.chart-grid span{font-size:.68rem}.chart-column .bars{gap:5px}.chart .bar{width:18px}.tool-grid{grid-template-columns:1fr;gap:8px}.tool-item{padding:16px;min-height:82px;border-radius:16px}.tool-item strong{font-size:.89rem}.tool-item small{font-size:.74rem}.tool-section{margin-bottom:24px}.tool-search{margin-bottom:25px}.tool-search input{font-size:1rem}.tool-icon{height:41px;width:41px}.metric-line{font-size:.86rem;padding:14px 0}.metric-line strong{max-width:49%}.toolbar{gap:10px}.toolbar button{font-size:.84rem}.table-scroll{margin-inline:0}nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}nav button{font-size:.68rem;min-height:60px;min-width:0;padding:8px 2px;gap:5px;justify-content:center;letter-spacing:-.01em;border-radius:14px}nav button.active{background:#e6f0e7}nav .nav-icon svg{width:22px;height:22px}aside{background:#fbfdfbf0;border-color:#dfe7e1;padding-top:7px;padding-bottom:calc(7px + env(safe-area-inset-bottom))}dialog{padding:23px 21px;border-radius:24px}.fields{gap:14px}#planningForm label{font-size:.84rem}.attention-summary .toolbar{display:flex;flex-wrap:wrap}.forecast-thresholds{gap:10px}.forecast-column small{font-size:.7rem}}
@media(max-width:374px){main{padding-inline:15px}.card{padding:19px}.mobile-brand{margin-bottom:20px}header h1{font-size:1.5rem}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cards .amount{font-size:1.45rem}.cards .hero>.amount{font-size:1.6rem}.cards .hero{display:block}.cards .hero>.amount{margin:9px 0}nav button{font-size:.64rem}.spendable-summary .amount{font-size:2.4rem}.tool-item{padding:14px}.tool-item strong{font-size:.86rem}}
@media(prefers-contrast:more){.muted,small,footer,.tool-item small,.chart-hint{color:#354e3e}.spendable-summary .muted,.spendable-summary>small{color:#fff}.card,.member,.tool-item{border-color:#96b09d}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.forecast-hit{height:150px;width:44px;min-width:44px;min-height:44px;padding:0;display:flex;justify-content:center;align-items:flex-end;background:none;border-radius:8px}.forecast-hit:hover{background:#eef4eb}.forecast-hit .forecast-bar{display:block;width:30px}.forecast-column{min-width:44px}.forecast-columns{min-width:max-content;gap:10px}.chart-frame{padding-left:38px}.forecast-column small{font-size:.74rem}.forecast-details summary{min-height:44px;display:flex;align-items:center}.tool-search [type=search]::-webkit-search-cancel-button{-webkit-appearance:auto}

.privacy-mode .chart-grid span{filter:blur(8px);user-select:none}.table-scroll td:not(:first-child),.table-scroll th:not(:first-child){text-align:right}.cards>.card>small>.ui-icon{height:15px;width:15px;margin-right:4px}.chart-column:focus-visible,.forecast-hit:focus-visible{outline:2px solid #214e40;outline-offset:3px}

.category-label{display:inline-flex;align-items:center;gap:7px;vertical-align:baseline;line-height:1.45}.category-dot{display:inline-block;width:8px;height:8px;min-width:8px;border-radius:50%;background:var(--category-color);flex-shrink:0}.entry .detail small .category-label{font-size:inherit}.category .category-label{font-size:.87rem}.card h2>.category-label{font-size:inherit}.table-scroll td .category-label{white-space:normal}.entry .icon[style]{color:var(--category-color)}


/* Savings goals share one text axis and flexible cards at every viewport. */
.savings-goals{display:grid;gap:20px;min-width:0}
.savings-goals .goals-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.savings-goals .goals-header h2{margin:0;min-width:0;overflow-wrap:anywhere}
.savings-goals .goals-header button{max-width:100%;white-space:normal}
.savings-goals .goals-intro{margin:0;max-width:65ch;text-align:start}
.savings-goals .goals-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;min-width:0}
.savings-goals .goals-empty{grid-column:1/-1;margin:0;padding:20px;border:1px dashed var(--line);border-radius:16px;text-align:start;line-height:1.6;background:var(--bg)}
.savings-goals .goals-note{display:block;margin:0;padding-top:16px;border-top:1px solid var(--line);text-align:start;line-height:1.6}
.savings-goals .goal-card{display:flex;flex-direction:column;min-width:0;margin:0}
.savings-goals .goal-card h3{margin:0 0 12px;overflow-wrap:anywhere}
.savings-goals .goal-card .amount{max-width:100%;overflow-wrap:anywhere;font-size:clamp(1.5rem,5vw,2rem)}
.savings-goals .goal-card p{margin:8px 0;overflow-wrap:anywhere}
.savings-goals .goal-actions{margin-top:auto;padding-top:16px;display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:480px){.savings-goals{gap:16px}.savings-goals .goals-header{flex-direction:column;align-items:stretch;gap:16px}.savings-goals .goals-header button{width:100%}.savings-goals .goals-empty{padding:16px}}
