/* Clareza's shared visual system. Financial behavior and semantic colors stay in their existing modules. */
:root{--brand:#164e63;--brand-hover:#103f50;--ink:#27484f;--muted:#5d7370;--line:#dce5dc;--line-strong:#b8cdbb;--bg:#fafbf7;--soft:#eaf2e5;--surface:#fff;--surface-soft:#f3f6ef;--shadow-soft:0 5px 24px #214c4506;--text-primary:#294e56;--text-secondary:#5b726b;--radius-card:17px;--radius-panel:17px;--radius-control:10px;--learning-surface:#fff;--learning-border:#dce5dc;color-scheme:light}
body{background:var(--bg);font-family:'DM Sans',Arial,Helvetica,sans-serif;color:var(--ink)}
h1,h2,h3{color:var(--text-primary)}h1{font-weight:500;letter-spacing:-1.2px}h2{font-weight:600;letter-spacing:-.35px}h3{font-weight:600}
button,a,input,select,textarea,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4a9184;outline-offset:3px}
aside{background:#f8faf5;border-color:var(--line);padding:28px 16px 20px}.brand{font-weight:700;letter-spacing:-1.5px}.branddot{color:#77ad98}.workspace{background:#eef3e8;border-color:#dce5d4;border-radius:13px;padding:15px 12px;margin-top:28px;margin-bottom:24px}.workspace small{font-size:11px;color:#647963}.avatar{background:#e6eee0;color:#466e5f;border:1px solid #d5e3cd}.workspace .avatar{width:36px;height:36px}.navlabel{font-size:9px;color:#627b5d;letter-spacing:1.7px;margin-left:12px}.nav-group{border-top-color:#dfe7d9;margin-top:12px;padding-top:8px}.nav-group summary{font-size:10px;text-transform:uppercase;letter-spacing:1.1px;font-weight:600;color:#677e61;padding:10px 11px}.nav-group summary:after{color:#78916d}.nav-group button{font-size:12px;line-height:1.5;padding:11px;min-height:44px;color:#586f67;border-radius:9px}.nav-group button:hover{background:#ecf2e5;color:#22525b}.nav-group button.active{border-color:#d0e0c6;background:#e8f0e0;color:#22565c;font-weight:600}#nav>.active{background:#194f5b;color:#fff;border:1px solid #194f5b;border-radius:10px;font-size:12px;font-weight:500;min-height:46px;box-shadow:none}.sidebottom{border-top-color:#dce5d5;background:transparent;padding:21px 12px 0}.sidebottom strong{font-family:Georgia,'Times New Roman',serif;font-size:16px;line-height:1.6;font-weight:400;color:#54745f}.sidebottom p{font-size:11px;color:#697d63}
.shell>header{background:#fafbf7ed;border-bottom-color:var(--line);padding-inline:34px}.breadcrumb{color:#64796d;font-size:12px}.breadcrumb span{color:#9aab94}.breadcrumb b{color:#375d5c;font-weight:500}.headerend{gap:17px}.site-home-link{display:inline-flex;align-items:center;gap:6px;color:#647b66;font-size:11px;text-decoration:none;min-height:40px;padding:7px 0}.site-home-link:hover{color:var(--brand)}.site-home-link .icon{width:14px;height:14px}.localbadge{font-size:11px;border-radius:20px;background:#f0f5e9;border:1px solid #dfe8d5;padding:6px 10px;color:#4f7053}.localbadge[data-state=attention]{background:#fff6e9;color:#805c23;border-color:#e8d5ad}.localbadge[data-state=saving]{background:#f2f5ed;color:#647761;border-color:#e1e7da}.localbadge[data-state=demo]{background:#eaf1f3;color:#315b68;border-color:#cddfe4}
.shell>main{padding-top:36px;padding-bottom:24px}.pagehead{padding-bottom:23px;border-bottom:1px solid #dfe7da;margin-bottom:24px}.pagehead h1{font-size:clamp(27px,2.5vw,37px);line-height:1.22;font-weight:500;letter-spacing:-1.1px;margin:0 0 12px}.pagehead .eyebrow{display:flex;align-items:center;gap:8px;font-size:9px;color:#5e7f62;letter-spacing:1.6px;font-weight:500;margin-bottom:12px}.pagehead .eyebrow:before{content:'';width:5px;height:5px;border-radius:50%;background:#8eae7e;box-shadow:0 0 0 4px #edf3e6;flex-shrink:0}.pagehead p{color:#62786f;font-size:13px;line-height:1.85;max-width:740px}.pagehead #add{min-height:47px;padding-inline:19px;border-radius:10px;font-weight:500}.toolbar{margin-block:0 24px}.tabs{gap:23px}.tabs button{font-size:12px;min-height:45px;color:#687c70;font-weight:500}.tabs button.active{color:#275d60;border-color:#6a9683}.monthcontrol{border-color:#d8e3d1;background:#fff;border-radius:10px;box-shadow:none}.monthcontrol button{color:#6e8970;min-height:43px}.monthcontrol input{color:#3d625e;font-size:13px;background:transparent}
.primary,.secondary{min-height:46px;padding:12px 17px;border-radius:10px;font-size:13px;line-height:1.5;font-weight:500;box-shadow:none;transition:background .16s,border-color .16s}.primary{background:var(--brand);color:#fff}.primary:hover{background:var(--brand-hover)}.secondary{background:#fff;color:#315f62;border-color:#cdddc9}.secondary:hover{background:#f0f5e9;border-color:#9fbea0}.subtle{color:#527965;font-size:12px;min-height:40px}.iconbtn{border-radius:8px;color:#607d6a}.iconbtn:hover{background:#edf3e7}.primary:disabled,.secondary:disabled{cursor:not-allowed}
.card,.future-page .card,.closing-page .card{background:#fff;border:1px solid #dce5dc;border-radius:17px;padding:24px;box-shadow:0 4px 21px #27534604}.cardhead{gap:15px;margin-bottom:21px;align-items:flex-start}.cardhead h2{font-size:16px;line-height:1.6;font-weight:600;color:#30575c}.cardhead p{color:#677d70;font-size:12px;line-height:1.85;margin-top:7px}.card[data-tone=action],.tool-tile{border-top:1px solid #d3e0cd;background:#fdfefa}.card[data-tone=attention]{background:#fffaf1;border-color:#e9d9b8;border-left:3px solid #b68b41}.card[data-tone=summary]{border-color:#dce5dc;box-shadow:0 4px 21px #27534604}.section-kicker{font-size:9px;letter-spacing:1.5px;font-weight:500;color:#648266}.muted,.explanation{color:var(--muted);line-height:1.85}.explanation{font-size:13px}
.dashboard-focus.card{background:linear-gradient(112deg,#194f5b,#286569);color:#fff;border-color:#194f5b;border-radius:17px;padding:29px 31px;box-shadow:0 7px 26px #184c540b}.focus-heading .section-kicker{color:#c0d5be;font-size:9px;font-weight:500}.focus-heading h2{font-size:16px;font-weight:500;color:#f5faf5}.focus-icon{color:#c2ddc3;background:#ffffff0a;border-color:#ffffff25;border-radius:12px}.focus-period{background:#ffffff09;border-color:#ffffff26;color:#d6e6d1;font-size:11px}.focus-amount{font-weight:500;letter-spacing:-1.4px;font-size:clamp(35px,3.5vw,50px);line-height:1.25;font-variant-numeric:tabular-nums;margin-top:25px}.focus-caption{font-size:13px;line-height:1.85;color:#d2e4dc}.focus-footer{border-top-color:#ffffff24}.focus-footer>span{color:#c7ded1;font-size:11px}.focus-link{background:#f1f6e9;color:#28595d;border-color:#f1f6e9;border-radius:9px;min-height:43px;font-weight:500}.focus-link:hover{background:#fff}.focus-breakdown summary,.focus-breakdown dt,.focus-breakdown p{color:#d1e3d6}.focus-breakdown dl{background:#ffffff08;border:1px solid #ffffff13;border-radius:11px}.focus-breakdown dd{font-weight:500;font-variant-numeric:tabular-nums}.monthly-summary-heading h2{font-size:14px;font-weight:500}.monthly-summary-heading span{color:#667e6b}.overview-cards .metric{border-color:#dce5dc;min-height:135px;padding:21px}.overview-cards .metric .label{font-weight:400;font-size:12px;color:#5e746a}.overview-cards .metricicon{background:#eff4e9;color:#78936f;border:1px solid #e2eadb;border-radius:8px}.overview-cards .metric .value{font-weight:500;color:#2d555b;font-size:28px;letter-spacing:-1px;font-variant-numeric:tabular-nums}.overview-cards .metric .hint{font-size:11px;color:#647a6b;line-height:1.8}.overview-cards .metric.pending .value{color:#805c23}.metric .value,.future-metric strong,.invoice-summary strong,.closing-metric .value,.summary-strip>strong{font-variant-numeric:tabular-nums}.metric .income,.metric.income .value{color:var(--income)}.metric .expense,.metric.expense .value{color:var(--expense)}
.quick-actions{gap:9px;margin-top:18px}.quick-actions button{background:#fff;border:1px solid #d7e2d2;color:#426b61;border-radius:9px;padding:10px 13px;font-size:11px;min-height:42px}.quick-actions button:hover{background:#f0f5e8;border-color:#adc6a4}.dashboard-section .monthly-summary-heading{margin-bottom:4px}.dashboard-pair,.grid,.bottomgrid,.studio-grid{gap:23px}.chart-range{background:#f0f5e9;border-color:#dee7d6;color:#657d5d;border-radius:7px}.flow-readouts{background:#f5f8f0;border-color:#dfe8d5;border-radius:11px}.flow-readouts strong,.flow-readouts b{color:#365e5c}.flow-readouts span,.chart-axis,.chart-months{color:#60756a}.bar-column[aria-pressed=true]{background:#edf3e6;outline-color:#acc5a0}.bar-column:hover{background:#f1f6eb}.legend{color:#64796b}.donutcenter{background:#fff}.donutcenter strong{font-weight:500;color:#315a5f}.catrow{border-bottom-color:#e7ede2}.catrow small{color:#667d6b}.chart-tooltip{border-color:#d4e0cd;background:#fff;box-shadow:0 6px 20px #244e4c10}
.tablewrap{border-radius:10px;scrollbar-color:#b9cdb2 transparent}table{font-size:13px}thead{background:#f3f7ee}th{background:#f3f7ee;color:#60775f;font-size:10px;font-weight:500;letter-spacing:.7px;border-bottom-color:#dee8d6;padding-block:14px}td{border-bottom-color:#e7ede3;padding-block:15px;color:#415e60}tbody tr:hover{background:#f8faf4}.status{border-radius:6px}.filterbar{gap:11px;align-items:center;margin-bottom:21px}.filterbar input,.filterbar select{border-color:#d6e2cf;background:#fff;border-radius:10px;min-height:46px;color:#3e625e}.list-pagination{gap:8px}.list-pagination button{border-radius:8px;min-height:40px}.filter-summary,.filters-active{color:#5e7667}
.studio-card input:not([type=checkbox]):not([type=radio]),.studio-card select,.studio-card textarea,dialog input:not([type=checkbox]):not([type=radio]):not([type=hidden]),dialog select,dialog textarea{border:1px solid #cbdac5;border-radius:9px;background:#fdfefa;color:#315954;min-height:46px;padding:11px 12px;font-size:14px;line-height:1.5;max-width:100%}.studio-card textarea,dialog textarea{min-height:85px}.studio-card label,dialog label{color:#46665f;font-size:13px;line-height:1.7}.studio-card label>small,dialog label>small{color:#647c66;font-size:11px;line-height:1.8}input[type=checkbox],input[type=radio]{accent-color:#477b67}.studio-card input:focus,dialog input:focus,dialog select:focus,dialog textarea:focus{background:#fff;border-color:#7ea88b}.form-error{color:#a23e32!important}.budget-input input{border-color:#cbdac5;background:#fbfdf8;border-radius:8px}.typepick{background:#f1f6eb;border-color:#dce6d3;border-radius:11px}.typepick label{border-radius:8px;padding:12px}.typepick label:has(input:checked){background:#fff;color:var(--brand);box-shadow:0 2px 6px #365d4210}.advanced-options{border-color:#dbe6d2;border-radius:10px;background:#f9fbf5}.advanced-options>summary{color:#4d725e;min-height:48px}.advanced-body{border-top-color:#e1e9d9}.entry-inline-note{color:#637c66;line-height:1.8}.category-suggestion{background:#f0f6e9;border-color:#d7e5ca;border-radius:10px}.category-suggestion p,.import-category-note{color:#62785f}
dialog{border:1px solid #d7e3cf;border-radius:18px;background:#fffefb;box-shadow:0 22px 90px #163c4930;padding:28px}dialog::backdrop{background:#203b465f;backdrop-filter:blur(3px)}.modalhead{border-bottom:1px solid #e3eade;padding-bottom:19px;margin-bottom:22px}.modalhead small{color:#6c8963;font-size:9px;letter-spacing:1.5px}.modalhead h2{font-size:24px;font-weight:500;letter-spacing:-.7px;line-height:1.4;margin-top:6px}.modalactions{border-top-color:#e3eade;padding-top:18px;gap:10px;background:#fffefb}.modalactions .secondary,.modalactions .primary{min-height:46px}.studio-dialog-heading{border-color:#e0e7da}.record-list>article,.inline-record{border-color:#e1e9da;padding-block:17px}.record-list p{color:#667d6c;font-size:12px;line-height:1.8}.summary-strip{border-color:#d6e2cc;background:#f0f5e9;border-radius:13px;padding:24px}.summary-strip>strong{font-weight:500;color:#315d5b}.invoice-summary{border:1px solid #e0e8d7;background:#f3f7ee;border-radius:11px;padding:20px}.invoice-summary span{color:#62785e}.invoice-summary strong{font-weight:500;color:#315b59}.tool-icon{background:#eef4e7;color:#6c906f;border:1px solid #dfe8d5;border-radius:11px}.tools-grid{gap:20px}.tool-tile{padding:24px;min-height:220px;border-radius:15px;transition:background .18s,border-color .18s,box-shadow .18s}.tool-tile:hover{background:#f9fcf4;border-color:#aac59f;box-shadow:0 8px 22px #476a3e09}.tool-tile strong{font-size:16px;font-weight:500;color:#3c625f}.tool-tile p{font-size:12px;line-height:1.9;color:#60745e}.tool-open{color:#557d5d;font-size:11px}.tools-hero{background:linear-gradient(110deg,#194f5b,#2c6867);border-radius:17px;box-shadow:none}.tools-hero h2{font-weight:500;line-height:1.4}.tools-hero .section-kicker{color:#c2d7bc}.tools-hero p{color:#d5e5db}.tools-hero .tool-icon{color:#c5ddbd;border-color:#ffffff20;background:#ffffff0b}
.future-hero,.assistant-intro,.closing-heading{background:linear-gradient(110deg,#edf3e6,#f4f7ef);border-color:#d6e3cd;border-radius:15px;padding:27px}.future-hero h2,.assistant-intro h2,.closing-heading h2{font-weight:500;letter-spacing:-.7px;font-size:clamp(22px,2.2vw,29px);color:#3b665f}.future-hero p,.assistant-intro p,.closing-heading p{color:#5a735f;font-size:13px;line-height:1.9}.future-hero small,.assistant-eyebrow,.closing-badge{color:#5f7f5c;font-weight:500;font-size:9px;letter-spacing:1.3px}.future-emblem,.assistant-emblem{background:#edf5e6;color:#69936c;border:1px solid #d3e2c9;box-shadow:none;border-radius:14px}.future-tag{background:#f0f5e9;border-color:#d8e5ce;color:#577652}.future-toolbar select{border-color:#d2dfc9;border-radius:9px;min-height:46px}.future-details{border-color:#dbe5d2;border-radius:11px}.future-details summary{font-size:13px;font-weight:500;color:#3e675d}.future-details>p,.future-details li{color:#5c7462;line-height:1.85}.future-metric strong{font-weight:500}.future-key.card{background:#194f5b;border-color:#194f5b;color:#fff}.future-key span,.future-key p{color:#d0e2d3}.future-key strong{font-weight:500}.future-alert{border-color:#e5d4b0;background:#fff8ec}.forecast-table th{background:#f3f7ed}.closing-metric .label{color:#637963}.closing-metric .value{font-weight:500}.closing-notice{background:#f2f6ec;border-color:#dce6d1;color:#4c705a}.closing-progress{background:#e9f1e0}.checklist-list li{border-color:#dbe7d2;background:#fcfef8}.routine-fixed{background:#eef5e7;border-color:#d4e4c7;color:#426d5c!important}.layout-row{background:#fbfdf7;border-color:#dce7d1}.entry-shortcuts{border-color:#dce6d2}.weekly-summary,.weekly-intro,.reconciliation-summary{border-color:#dce6d2;background:#f2f6eb}
.assistant-chat.card{padding:0;background:#fff}.assistant-chathead{border-color:#dfe8d8;padding:21px 24px}.assistant-chathead strong{font-weight:500;font-size:14px;color:#315c59}.assistant-chathead small{color:#637b67;font-size:11px;line-height:1.8}.assistant-message{border-radius:12px}.assistant-compose{background:#fbfdf7;border-color:#dce6d2}.assistant-compose textarea{border-color:#d2e0c8;background:#fff;border-radius:10px;font-size:14px;min-height:68px}.assistant-suggestions button{background:#f4f8ed;border-color:#dce8d1;border-radius:9px;color:#4d7356}.assistant-side .card{border-radius:14px}.assistant-side p,.assistant-side li{color:#5d7561;line-height:1.85}.assistant-disclaimer{color:#61785f}.assistant-error{color:#a23e32}
.learning-center{--learning-surface:#fff;--learning-border:#dce5dc;--learning-soft:#f1f6e9;--learning-ink:#294e56;--learning-muted:#5d7370}.learning-hero{background:#194f5b;border-color:#194f5b;border-radius:17px;box-shadow:none}.learning-hero h1{font-weight:500;letter-spacing:-1px}.learning-hero-copy>p{color:#d2e2d4;line-height:1.9}.learning-eyebrow{color:#c0d6b9;font-weight:500}.learning-hero-art{border-color:#ffffff20;background:#ffffff08}.learning-hero-art>div{background:#ffffff0b;border-color:#ffffff24;color:#c7dfc0}.learning-controls{border-color:#dfe7d8}.learning-search input,.learning-category-select select{border-color:#cedfc5;background:#fff;border-radius:10px;min-height:46px}.learning-category-card,.learning-content-card,.learning-category-heading,.learning-article{border-color:#dce5d7;border-radius:15px;box-shadow:0 4px 17px #32552c04}.learning-category-card{padding:25px}.learning-category-card h2,.learning-content-card h3{font-weight:500;font-size:17px;color:#365e58}.learning-category-card p,.learning-content-card>p,.learning-section-note{color:#5f7565;font-size:13px;line-height:1.9}.learning-icon{background:#eef4e7;border:1px solid #dfe8d6;border-radius:12px;color:#73926e}.learning-tag{color:#5e7b58;background:#f0f5e9;border-color:#dfe9d5}.learning-center .learning-text-button{color:#456f59;font-weight:500;min-height:44px}.learning-category-heading{background:#f5f8ef;padding:26px}.learning-category-heading h1,.learning-article h1{font-weight:500;letter-spacing:-1px}.learning-article{padding:clamp(24px,4vw,47px)}.learning-article-body{border-color:#e1e9db}.learning-article-body p{font-size:15px;line-height:1.95;color:#5b7263}.learning-article-action{border-color:#d8e5cb;background:#f0f6e7;border-radius:12px}.learning-empty{border-color:#c9d9bc;background:#fbfdf7;border-radius:15px}.learning-footnote{font-size:12px;color:#657c65}
.settings h3{font-weight:500;color:#466c5c}.settings>div,.settingrow{border-color:#e1e8d9}.settings .settingbuttons{gap:10px}.settings .settingbuttons button{border-color:#cfdec4;border-radius:10px;min-height:46px}.settingnote,.preference-label{color:#5e7564}.empty-state{border-color:#d9e5cd;border-radius:14px;background:#fbfdf7;padding:34px}.empty-state h3{font-size:18px;font-weight:500;color:#4a705f}.empty-state p{color:#647c63;line-height:1.9}.empty-icon{color:#7d9d76;background:#edf4e5;border:1px solid #dbe8cd}.space-banner{background:#f0f5e9;border-color:#d2e2c7;border-radius:12px}.space-banner strong{color:#456b5b}.space-banner span{color:#637b62}.family-member,.family-invite{border-color:#e0e9d7}.role-badge{background:#edf5e6;border-color:#d8e6cd;color:#577c53}.voice-panel{background:#f1f6eb;border-color:#d6e4cc;border-radius:12px}.voice-panel p,.voice-panel small{color:#62795f}.recording{background:#fff0eb;color:#a23e32;border-color:#c56652}.calendar-grid>button{border-radius:9px;border-color:#dce5d5}.heat-0{background:#f7faf2;color:#4e6d5b}.heat-1{background:#e7f0dd;color:#426047}.heat-2{background:#b4cda6;color:#28452a}.heat-3{background:#5d896d;color:#fff}.heat-4{background:#194f5b;color:#fff}
.cloud-overlay{background:#f7faf3ef;backdrop-filter:blur(7px)}.cloud-box{border:1px solid #dce7d4;border-radius:18px;background:#fffefb;box-shadow:0 15px 60px #1c4d4310;padding:32px}.cloud-box h2{font-weight:500;color:#2d575b;font-size:24px;letter-spacing:-.5px}.cloud-box p{color:#607762;font-size:13px;line-height:1.9}.cloud-box button{border-color:#cbdcbe;border-radius:10px;min-height:46px}.loading-logo{border-radius:11px}.loading-skeleton i{background:linear-gradient(90deg,#eef4e6,#e2ecd7,#eef4e6)}#toast{background:#214f54;color:#f7fbf3;border:1px solid #37665f;border-radius:11px;box-shadow:0 8px 25px #183e4720;font-size:13px;padding:13px 18px}.floating-help-button{border-color:#c4d8b8;background:#f8fcf2;color:#3f6a55;box-shadow:0 4px 18px #31532712}#floating-help-panel{border-color:#d8e5cd;border-radius:15px;background:#fffefb}.help-message{background:#f3f7ec;border-color:#dce7d1}#mobile-more{border-color:#d7e4ce;background:#fafcf6;box-shadow:0 -8px 28px #34582c0b}#mobile-more .nav-group summary{font-size:11px}#mobile-nav{background:#fcfef8f5;border-top:1px solid #d7e3ce;backdrop-filter:blur(14px)}#mobile-nav button{color:#657d61;border-radius:11px;font-size:11px;min-height:51px}#mobile-nav button.active{background:#e9f2e0;color:#2b6057}main>footer{color:#6b7e64;border-top-color:#e1e8d9;font-size:11px;margin-top:32px;padding-block:23px;line-height:1.8}
html[data-density=compact] .card{padding:17px}html[data-density=compact] .dashboard-focus{padding:24px}html[data-density=compact] td{padding-block:9px}html[data-density=compact] .assistant-chat{padding:0}
@media(min-width:801px){.filterbar input{flex:1;min-width:180px}.filterbar select{max-width:240px}.filterbar .secondary{flex-shrink:0}}
@media(max-width:1100px){.shell>header{padding-inline:25px}.shell>main{padding-inline:25px}.site-home-link{display:none}.pagehead h1{font-size:30px}.overview-cards .metric .value{font-size:25px}.dashboard-focus.card{padding:25px}.dashboard-pair,.studio-grid,.grid,.bottomgrid{gap:18px}}
@media(max-width:800px){.shell>header{height:69px;padding-inline:21px}.shell>main{padding:26px 21px 105px}.headerend{gap:10px}.localbadge{font-size:10px;padding:5px 8px;max-width:160px}.pagehead{padding-bottom:21px;margin-bottom:20px;gap:17px}.pagehead h1{font-size:30px;line-height:1.28;margin-bottom:11px}.pagehead p{font-size:13px;line-height:1.85}.pagehead .eyebrow{font-size:8px;letter-spacing:1.1px;margin-bottom:12px}.pagehead #add{min-height:46px;padding:12px 15px;font-size:12px}.toolbar{gap:12px;margin-bottom:20px}.tabs{gap:17px}.tabs button{font-size:12px;min-height:44px}.monthcontrol input{font-size:14px}.card,.future-page .card,.closing-page .card{padding:21px;border-radius:14px}.cardhead h2{font-size:16px}.dashboard-focus.card{padding:24px;border-radius:15px}.focus-heading h2{font-size:15px}.focus-period{font-size:10px}.focus-amount{font-size:39px}.focus-caption{font-size:12px}.focus-footer{flex-wrap:wrap;gap:14px}.focus-footer>span{font-size:11px}.focus-link{min-height:44px;white-space:normal}.focus-breakdown dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;padding:15px}.overview-cards .metric{padding:20px;min-height:132px}.overview-cards .metric .value{font-size:29px}.overview-cards .metric .hint{font-size:11px}.dashboard-pair,.grid,.bottomgrid,.studio-grid{gap:17px}.quick-actions{gap:8px}.quick-actions button{font-size:11px;min-height:44px;padding:10px 12px}.filterbar{align-items:stretch}.filterbar input,.filterbar select{min-height:46px;font-size:16px}.filterbar .secondary{min-height:46px}.studio-card input:not([type=checkbox]):not([type=radio]),.studio-card select,.studio-card textarea,dialog input:not([type=checkbox]):not([type=radio]):not([type=hidden]),dialog select,dialog textarea{font-size:16px;min-height:47px}.studio-card label,dialog label{font-size:13px}.future-hero,.assistant-intro,.closing-heading{padding:23px;border-radius:14px;gap:15px}.future-hero h2,.assistant-intro h2,.closing-heading h2{font-size:24px}.future-emblem,.assistant-emblem{width:46px;height:46px;border-radius:12px}.future-emblem .icon,.assistant-emblem .icon{width:24px;height:24px}.tool-tile{padding:22px;min-height:0}.tool-tile p{font-size:13px}.summary-strip{padding:21px}.future-key.card{padding:26px 21px}.assistant-chat.card{padding:0}.assistant-chathead{padding:19px}.assistant-compose textarea{font-size:16px}.learning-hero{border-radius:15px}.learning-hero h1{font-size:29px;line-height:1.3}.learning-article{padding:25px 21px;border-radius:14px}.learning-category-card,.learning-content-card{padding:23px;border-radius:14px}.learning-article h1{font-size:29px}.learning-article-body p{font-size:14px;line-height:1.95}.learning-category-heading{padding:23px 20px}.learning-search input,.learning-category-select select{font-size:16px}.cloud-box{padding:26px;border-radius:15px}.cloud-box h2{font-size:22px}dialog{border-radius:16px;padding:24px}.modalhead h2{font-size:23px}.modalhead small{font-size:8px}.modalactions{bottom:-24px;padding-bottom:14px;gap:9px}.iconbtn{min-width:39px;min-height:39px}.empty-state{padding:28px 22px}#toast{font-size:12px;max-width:calc(100vw - 32px);line-height:1.8}.site-home-link{display:none}main>footer{font-size:10px;margin-top:25px}}
@media(max-width:480px){.shell>header{padding-inline:17px}.shell>main{padding:24px 17px 105px}.pagehead{align-items:flex-start}.pagehead h1{font-size:28px}.pagehead #add{min-height:44px}.dashboard-focus.card{padding:22px}.focus-heading{gap:10px}.focus-heading h2{font-size:14px}.focus-heading .section-kicker{font-size:8px}.focus-icon{width:37px;height:37px;flex-shrink:0}.focus-period{font-size:9px;padding:5px 8px}.focus-amount{font-size:36px;margin-top:23px}.focus-breakdown dt{font-size:11px}.focus-breakdown dd{font-size:14px}.cardhead{flex-wrap:wrap;gap:10px}.cardhead p{font-size:12px}.overview-cards .metric .value{font-size:30px}.future-hero,.assistant-intro{align-items:flex-start}.future-hero h2,.assistant-intro h2,.closing-heading h2{font-size:22px}.future-hero p,.assistant-intro p,.closing-heading p{font-size:12px}.future-hero small,.assistant-eyebrow,.closing-badge{font-size:8px}.future-emblem,.assistant-emblem{width:38px;height:38px;border-radius:10px}.future-emblem .icon,.assistant-emblem .icon{width:21px;height:21px}.card,.future-page .card,.closing-page .card{padding:20px}.dashboard-focus.card{padding:22px}.assistant-chat.card{padding:0}.tools-hero{padding:25px}.tools-hero h2{font-size:24px}.modalhead h2{font-size:22px}.modalactions button{flex:1 1 115px}.headerend .avatar{width:30px;height:30px}.localbadge{font-size:9px;max-width:150px}.brand-header{font-size:24px;gap:7px}.brand-header img{width:29px;height:29px}#mobile-nav button{font-size:10px}#mobile-more{padding:17px}.focus-footer>span{max-width:100%}}
@media(max-width:360px){.shell>main{padding-inline:13px}.shell>header{padding-inline:13px}.pagehead h1{font-size:26px}.pagehead .eyebrow{font-size:7px;letter-spacing:.8px}.headerend{gap:7px}.localbadge{max-width:128px}.focus-amount{font-size:32px}.focus-period{font-size:8px}.focus-icon{width:33px;height:33px}.focus-heading{gap:8px}.focus-heading h2{font-size:13px}.focus-heading .section-kicker{font-size:7px}.dashboard-focus.card{padding:19px}.card,.future-page .card,.closing-page .card{padding:18px}.assistant-chat.card{padding:0}.cardhead h2{font-size:15px}.quick-actions button{font-size:10px;padding-inline:10px}.future-hero,.assistant-intro,.closing-heading{padding:19px}.cloud-box{padding:23px}.brand-header{font-size:22px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Empty states and chat controls use the same surfaces as the rest of the app. */
.empty-emblem{background:#edf4e5;border-color:#dbe7cf;color:#6c916b}.empty-state>strong{font-size:17px;font-weight:500;color:#416b5a}.empty-state>p{font-size:13px;line-height:1.85;color:#60785f}.assistant-starters button,.assistant-chips button{background:#f3f7ec;border-color:#d8e5cc;color:#426d56;border-radius:10px;font-size:12px;min-height:44px}.assistant-starters button:hover,.assistant-chips button:hover{background:#eaf2e0;border-color:#aec69f}.assistant-chat form{background:#fbfdf6;border-top-color:#dce7d1}.assistant-chat textarea{border:1px solid #cfdec5;border-radius:10px;min-height:84px;color:#315a54;font-size:14px}.assistant-answer{background:#f5f8ef;border-color:#dfe8d5;color:#345a51}.assistant-question{background:#eaf2e4;border-color:#d4e3c9;color:#345f4c}.assistant-side input,.assistant-side select{border-color:#d1e0c6;border-radius:9px;min-height:46px;font-size:13px}.assistant-chat #assistant-privacy,.assistant-composefoot small{color:#61785f;font-size:11px}.heat-3{background:#4e775c;color:#fff}
@media(max-width:800px){.assistant-chat textarea,.assistant-side input,.assistant-side select{font-size:16px}.empty-state>strong{font-size:16px}.empty-state>p{font-size:12px}}
.overview-cards .metric .long-value{font-size:24px}.overview-cards .metric .compact-value{font-size:20px}
/* Dark presentation panels need explicit light text, including older guide selectors. */
.learning-center .learning-hero h1{color:#f5faf4}.learning-center .learning-hero .primary{background:#f2f6e8;color:#28585b;border:1px solid #f2f6e8}.learning-center .learning-hero .primary:hover{background:#fff}.learning-center .learning-icon{background:#eef4e7;border-color:#dfe8d6;color:#6a8b64}.learning-center .learning-category-card{border-top-color:#d5e3cb}

/* Free balance: one expected result and a separate timing-aware spending margin. */
.free-layout{display:grid;grid-template-columns:1.35fr 1fr;gap:22px;margin-bottom:22px}.free-layout>section{min-width:0}.free-page .free-result{background:#194f5b;color:#f6faf4;border-color:#194f5b;padding:32px}.free-result .section-kicker{color:#c9dfc5}.free-result h3{color:#f6faf4;font-size:18px;font-weight:500;margin:16px 0}.free-result-amount{display:block;font-size:clamp(28px,3.4vw,48px);font-weight:500;letter-spacing:-1px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.free-result p{color:#deebdf;font-size:13px;line-height:1.85;margin-top:18px}.free-result-note{display:inline-block;margin-top:16px;font-size:11px;border-top:1px solid #ffffff30;padding-top:14px;color:#dce9d8}.free-spend h3{font-size:17px;margin:16px 0}.free-spend>strong{display:block;font-size:clamp(26px,2.6vw,36px);font-weight:500;color:#305b5b;overflow-wrap:anywhere}.free-spend p,.free-spend>small{font-size:12px;line-height:1.85;color:#577363;margin-top:16px;display:block}.free-line{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid #e3ebde;font-size:14px}.free-line>div{min-width:0}.free-line small{display:block;font-size:11px;line-height:1.8;color:#637b6a;margin-top:4px}.free-line strong{font-weight:500;text-align:right;font-variant-numeric:tabular-nums;flex-shrink:0}.free-total{background:#f1f6ea;border:0;border-radius:10px;padding:20px;margin-top:12px;font-size:17px}.free-adjustments{margin-top:22px}.free-composition .future-toolbar{margin-top:24px}.free-page .future-details p{line-height:1.9}@media(max-width:800px){.free-layout{grid-template-columns:1fr}.free-page .free-result{padding:25px}.free-line{gap:12px;align-items:flex-start}.free-line strong{max-width:48%;overflow-wrap:anywhere;flex-shrink:1}.free-total{font-size:15px}.free-spend>strong{font-size:30px}}
