/* Warm glass: a true light color scheme, with separate readable accent ink. */
html[data-theme=light]{color-scheme:light;--bg:#f5f0e8;--panel:#fffaf3;--text:#343e3a;--muted:#62695f;--line:#c5c6bb;--soft:#e8e9df;--accent:#356577;--accent-ink:#25434c;--accent-fill:#cfe3e6;--accent-soft:#dbe8e780;--frosted-surface:linear-gradient(135deg,#fffdf7c9,#fffdf783 60%,#fff6ed96);--shadow-surface:inset 0 1px 0 #ffffffcf,0 3px 8px #73634b0a,0 12px 30px #73634b14;--shadow-control:inset 0 1px 0 #ffffffd9,0 2px 5px #73634b12,0 5px 12px #73634b0a;--shadow-hover:inset 0 1px #fff,0 4px 10px #73634b15,0 12px 24px #73634b18}
html[data-theme=light][data-accent=violet]{--accent:#74567d;--accent-ink:#503d58;--accent-fill:#e4d8ec;--accent-soft:#e4d8ec70}
html[data-theme=light][data-accent=lime]{--accent:#805b2b;--accent-ink:#5c411e;--accent-fill:#ead9b8;--accent-soft:#ead9b870}
html[data-theme=light] body{background:radial-gradient(ellipse at 12% 7%,#f0d8c78c,transparent 48%),radial-gradient(ellipse at 90% 35%,#cfded164,transparent 46%),radial-gradient(ellipse at 30% 85%,#e5d9e86b,transparent 45%),var(--bg);background-attachment:fixed;color:var(--text)}
html[data-theme=light] :is(header,.workspace-active header){background:#fffaf0b8;backdrop-filter:blur(24px) saturate(130%);-webkit-backdrop-filter:blur(24px) saturate(130%);box-shadow:0 3px 20px #73634b0f}
html[data-theme=light] :is(#everyday-calculator,.card,.next-suggestions button,.number-bridge,.bottom-banner,.summary-card,.calendar-shell,.saved-card,.outlook-card,.signin-card,.workspace-sidebar,.journey-input-card,.journey-output-card,.inputs-panel,.results-panel,.interactive-chart,.account-identity,.linked-calculation,#snapshot-preview){background:var(--frosted-surface);border-color:transparent;box-shadow:var(--shadow-surface);backdrop-filter:blur(18px) saturate(125%);-webkit-backdrop-filter:blur(18px) saturate(125%);color:var(--text)}
html[data-theme=light] :is(.journey-output-card,.results-panel){background:linear-gradient(135deg,var(--accent-soft),#fffdf7b8)}
html[data-theme=light] :is(dialog,#journey-dialog){color:var(--text);background:#fbf7f0ed;backdrop-filter:blur(26px) saturate(130%);-webkit-backdrop-filter:blur(26px) saturate(130%);border-color:transparent;box-shadow:inset 0 1px #fff,0 18px 70px #574b3838}
html[data-theme=light] dialog::backdrop{background:#6d665a3d;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
html[data-theme=light] .dialog-top{background:#fbf7f0ed;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html[data-theme=light] :is(input,select,textarea,option,#journey-form input,#journey-form select,#carry-banner select,.journey-toolbar select,.journey-expanded-footer select,.projection-controls select){background-color:#fffdf7d9;color:var(--text);border-color:transparent;box-shadow:inset 0 1px 4px #73634b14,0 1px 0 #ffffffa6}
html[data-theme=light] :is(input,textarea)::placeholder{color:#72776d;opacity:1}
html[data-theme=light] :is(.everyday-display,.library>.search-wrap){background:linear-gradient(135deg,#e8ebe2d9,#f2eee6bf);border-color:transparent;box-shadow:inset 0 2px 6px #73634b12,0 1px #ffffffc9}
html[data-theme=light] .search-wrap input{background:transparent;box-shadow:none;color:var(--text)}
html[data-theme=light] #everyday-calculator #basic-expression{color:#303c35;background:transparent;box-shadow:none}
html[data-theme=light] #everyday-calculator .everyday-keys button:not(.equals){background:linear-gradient(145deg,#fffefbd9,#f7f2e9a6);color:var(--text);border-color:transparent;box-shadow:var(--shadow-control)}
html[data-theme=light] #everyday-calculator .everyday-keys button:not(.equals):hover{background:#fffdf4;box-shadow:var(--shadow-hover)}
html[data-theme=light] #everyday-calculator .everyday-keys .operator{background:linear-gradient(145deg,var(--accent-soft),#fffaf0b3);color:var(--accent)}
html[data-theme=light] #everyday-calculator .everyday-keys :is([data-basic-key=AC],[data-basic-key='±'],[data-basic-key='%']){background:linear-gradient(145deg,#f3e1d4bb,#fff8eea6);color:#875638}
html[data-theme=light] :is(.primary,.brandmark,.filters button.active,.today .day-number),html[data-theme=light] #everyday-calculator .everyday-keys .equals,html[data-theme=light] #result-tools-mount .journey-account-actions button:first-child{background:var(--accent-fill);color:var(--accent-ink)}
html[data-theme=light] :is(.primary:hover,#everyday-calculator .everyday-keys .equals:hover){background:color-mix(in srgb,var(--accent-fill) 80%,white);color:var(--accent-ink)}
html[data-theme=light] :is(.outline,.account-pill,.icon-button,.filters button,.journey-shortcuts button,.save-plan-actions button,#copy-result,#continue-result,.view-switch,.journey-account-actions button,#journey-steps button,header nav #themes-open,#home-themes-open){color:var(--text);background:#fffaf080;border-color:transparent;box-shadow:var(--shadow-control)}
html[data-theme=light] :is(.outline:hover,.account-pill:hover,.icon-button:hover,header nav #themes-open:hover,#home-themes-open:hover){background:#fffaf0d9;color:var(--accent)}
html[data-theme=light] :is(nav>a,nav button,.brand,footer .brand,.section-top h2,.card h3,.everyday-top,.connector-label,.bottom-banner h3,.calc-heading h2,#journey-title,.panel-heading h3,.detail-row strong,#journey-result b,#journey-steps strong,.graph-heading h3,.graph-readout>span,.timeline-control,.summary-card strong,.outlook-card strong,.saved-card>strong,#month-projection>strong,.agenda-row>b,.empty-plan h3,.linked-calculation b,.account-identity,.ws-topline b,#override-list b,.example-projection strong){color:var(--text)}
html[data-theme=light] :is(.hero-sub,.next-heading p,.next-suggestions button small,.number-bridge>span:first-child,.connection-note,.card p,.card-bottom,.library-count,.results-heading,.eyebrow,.muted,.step-label,.graph-kicker,footer,.bottom-banner p,.everyday-top,#basic-expression-label,#basic-feedback,dialog p,.dialog-description,label,form label,#journey-description,.result-label,.detail-row,.journey-note,.result-note,.continue-calculation span,.continue-calculation small,.journey-history summary,.journey-history small,#journey-steps span,#journey-steps small,.graph-readout div span,.timeline-control>span,.graph-table th,.graph-table td){color:var(--muted)}
html[data-theme=light] :is(.ws-heading p:last-child,.ws-heading .eyebrow,.ws-topline,.workspace-label,.side-heading,.side-empty,.sidebar-note,.sidebar-bottom,.side-plan,.side-plan small,.ws-link,.ws-link i,.summary-card small,.summary-card>div,.calendar-legend,.projection-title small,.projection-change small,.projection-title div>span,.outlook-card>span,.outlook-card small,.outlook-card>div,.saved-card p,.saved-card>small,.saved-card-top,.saved-card-top button,.agenda-row small,.agenda-date span,.account-identity small,.linked-calculation small,#account-content>p,.form-note,.signin-card p,.saved-heading p,.example-projection>span,.example-projection b,.example-projection small,.weekdays span,.day-number,.override-details p,#override-list>div,#snapshot-preview p,#snapshot-preview small){color:var(--muted)}
html[data-theme=light] :is(.privacy-note,.form-note,.journey-note,.tax-breakdown .journey-note,.tax-context,.tax-context .tax-scope,.precision-note,.graph-note,.graph-scenario p){color:var(--muted)!important}
html[data-theme=light] :is(.hero h1 em,.ws-heading h1 em){color:#826889}html[data-theme=light] .next-heading h2 em{color:#996347}
html[data-theme=light] :is(.tax-context strong,.ev-info p,.graph-live,.month-controls button,.view-switch button,.projection-controls #preferences-open,.projection-symbol,.projection-change span,.live-label,.agenda-heading button,.saved-card>div:last-child button,.account-actions a,.override-details summary,.graph-scenario output,.bottom-banner button,.banner-icon,.favorite,.favorite.active){color:var(--accent)}
html[data-theme=light] :is(.tax-context,.graph-scenario,.workspace-notice,.empty-plan,.empty-agenda,.agenda-row,.stock-notice,.view-switch,.weekdays){background:#f2ebdf99;color:var(--muted);border-color:transparent;box-shadow:var(--shadow-control)}
html[data-theme=light] .stock-notice strong{color:var(--text)}
html[data-theme=light] :is(.ws-link.active,.view-switch button.active,.outlook-card.current,#month-projection,#journey-dialog #carry-banner){background:var(--accent-soft);color:var(--accent);box-shadow:var(--shadow-control)}
html[data-theme=light] .summary-card small span{color:var(--accent);background:var(--accent-soft)}
html[data-theme=light] .summary-card i{color:#826889}
html[data-theme=light] .day-cell{border-color:#8b8c7830}html[data-theme=light] .day-cell.outside{background:#d8d4c333}html[data-theme=light] .day-cell.today{background:var(--accent-soft);box-shadow:inset 0 0 0 1px #918d7660}
html[data-theme=light] :is(.override-details,.dialog-actions,.account-actions,.projection-controls,.calendar-legend,.agenda-date,.example-projection,.result-breakdown,.optional-inputs,.result-breakdown p,.graph-table td,.graph-table th,.detail-row,.journey-expanded-footer,.continue-calculation){border-color:#86887933}
html[data-theme=light] .cyan{--event:#356577;--event-bg:#d4e6e7;--event-border:#648d99;color:var(--event)}html[data-theme=light] .rose{--event:#8d485f;--event-bg:#f0dce0;--event-border:#b27987;color:var(--event)}html[data-theme=light] .violet{--event:#74567d;--event-bg:#e8deec;--event-border:#9d81a7;color:var(--event)}html[data-theme=light] .lime{--event:#526c36;--event-bg:#e2e9d5;--event-border:#8d9c70;color:var(--event)}html[data-theme=light] .amber{--event:#805b2b;--event-bg:#f1e3c9;--event-border:#ab895b;color:var(--event)}
html[data-theme=light] .tone-blue{--tile-bg:#d6e6e680;--tile-icon:#c6dde199;--tile-color:#356577;--tile-hover:#d6e6e6b3}html[data-theme=light] .tone-peach{--tile-bg:#f0ded080;--tile-icon:#eccfbb99;--tile-color:#8a5636;--tile-hover:#f0ded0b3}html[data-theme=light] .tone-lilac{--tile-bg:#e6daec80;--tile-icon:#d9c7e599;--tile-color:#74567d;--tile-hover:#e6daecb3}
html[data-theme=light] .next-suggestions button{background:linear-gradient(135deg,var(--tile-bg),#fffdf780);color:var(--text)}html[data-theme=light] .next-suggestions button:hover{background:var(--tile-hover)}
html[data-theme=light] :is(.card-icon,.card[data-category] .card-icon){color:#356577;background:#d6e6e6a6}html[data-theme=light] .card[data-category=Money] .card-icon{color:#74567d;background:#e6daeca6}html[data-theme=light] .card[data-category='Work & business'] .card-icon{color:#8a5636;background:#f0ded0a6}html[data-theme=light] .card[data-category='Life & events'] .card-icon{color:#8d485f;background:#efd9dfa6}html[data-theme=light] .card[data-category=Travel] .card-icon{color:#42695c;background:#d7e6dca6}html[data-theme=light] .card[data-category=Home] .card-icon{color:#805b2b;background:#ede2c8a6}html[data-theme=light] .card[data-category=Learning] .card-icon{color:#596286;background:#e0e1f0a6}
html[data-theme=light] .projection-svg text{fill:var(--muted)}html[data-theme=light] .graph-grid{stroke:#6d756132}html[data-theme=light] .graph-cursor{stroke:#4e584c}html[data-theme=light] .graph-dot{stroke:#fffaf3}
html[data-theme=light] .series-1{color:#a25c3a;stroke:#a25c3a;fill:#a25c3a}html[data-theme=light] .series-2{color:#4f773d;stroke:#4f773d;fill:#4f773d}html[data-theme=light] .graph-line{fill:none}
html[data-theme=light] .keypad button{background:#fffaf0b3;color:var(--text);border-color:transparent;box-shadow:var(--shadow-control)}html[data-theme=light] .map-placeholder{background-color:#dce5d5;color:var(--text)}
html[data-theme=light] :is(.error,#theme-picker-error,.danger-button){color:#a23f35!important}html[data-theme=light] .tax-context .coverage-warning{color:#82521d}html[data-theme=light] .toast{background:#e7ebdf;color:#344233;box-shadow:var(--shadow-surface)}
html[data-theme=light] :is(.search-wrap kbd,.quick-search,.quick-search>span){color:var(--muted)}
html[data-theme=light] .workspace-nav{color:var(--accent)!important}
/* The new theme is previewable from any of the existing themes. */
.theme-mini[data-sample=light]{background:radial-gradient(ellipse at 5% 0%,#f0d8c7a6,transparent 70%),radial-gradient(ellipse at 100% 100%,#cfded1a6,transparent 70%),#f5f0e8;color:#343e3a}
.theme-mini[data-sample=light] .mini-sample-header>i{background:#8f998c55}
.theme-mini[data-sample=light] .mini-sample-calculator{background:linear-gradient(135deg,#fffdf7cc,#fffdf780);box-shadow:inset 0 1px #fff,0 5px 12px #73634b1a}
.theme-mini[data-sample=light] .mini-sample-display{background:#e8ebe2;color:#303c35;box-shadow:inset 0 1px 3px #73634b18}
.theme-mini[data-sample=light] .mini-sample-keys>span{background:#fffdf4c9;color:#343e3a;box-shadow:0 1px 2px #73634b20}
.theme-mini[data-sample=light] .mini-sample-keys .mini-operator{background:color-mix(in srgb,var(--preview-accent) 30%,white);color:#466056}
.theme-mini[data-sample=light] .mini-sample-keys .mini-equals{background:var(--preview-accent);color:var(--preview-ink)}
.theme-mini[data-sample=light] .mini-sample-side>span{color:#62695f;background:#fffdf780}
.theme-mini[data-sample=light] .mini-sample-side .mini-sample-chart{color:#5c786d}
.theme-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
html[data-theme=light] #theme-picker{--picker-panel:#fbf7f0;--preview-ink:#183746}
html[data-theme=light] #theme-picker .theme-choice{background:#fffaf099;box-shadow:var(--shadow-surface)}
html[data-theme=light] #theme-picker .theme-choice:hover{background:#fffdf4}
html[data-theme=light] #theme-picker .theme-choice[aria-pressed=true]{background:color-mix(in srgb,var(--preview-accent) 28%,#fffaf3);box-shadow:0 0 0 2px color-mix(in srgb,var(--preview-accent) 55%,#434d3f),var(--shadow-surface)}
html[data-theme=light] .theme-selected{color:var(--accent)}html[data-theme=light] .theme-current{background:#5f69500d;color:var(--muted)}
html[data-theme=light] .theme-swatches button[aria-pressed=true]{background:#6863460a}html[data-theme=light] .theme-swatches [aria-pressed=true] span{outline-color:var(--accent)}
html[data-theme=light] #everyday-calculator .everyday-keys button.operator{background:linear-gradient(145deg,var(--accent-soft),#fffaf0b3);color:var(--accent)}
html[data-theme=light] #everyday-calculator .everyday-keys button:is([data-basic-key=AC],[data-basic-key='±'],[data-basic-key='%']){background:linear-gradient(145deg,#f3e1d4bb,#fff8eea6);color:#875638}
html[data-theme=light] #main .next-suggestions button{background:linear-gradient(135deg,var(--tile-bg),#fffdf780);color:var(--text)}
html[data-theme=light] #main .next-suggestions button:hover{background:var(--tile-hover)}
html[data-theme=light] #filters button.active{background:var(--accent-fill);color:var(--accent-ink)}
html[data-theme=light] #workspace .today .day-number{background:var(--accent-fill);color:var(--accent-ink)}
html[data-theme=light] #workspace :is(.calendar-shell,.summary-card,.outlook-card){border-color:transparent}
@media(max-width:720px){.theme-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-choice:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center}.theme-choice:last-child .theme-choice-info{padding:16px}.theme-choice:last-child .theme-mini{width:100%}html[data-theme=light] body{background-attachment:scroll}}
@supports not (backdrop-filter:blur(1px)){html[data-theme=light] :is(.card,.journey-input-card,.journey-output-card,.calendar-shell,dialog,#journey-dialog){background:#fcf8f0}}
@media(prefers-reduced-transparency:reduce){html[data-theme=light] :is(header,dialog,#journey-dialog,.card,.next-suggestions button,.number-bridge,.summary-card,.calendar-shell,.saved-card,.outlook-card,.signin-card,.workspace-sidebar,.journey-input-card,.journey-output-card,.inputs-panel,.results-panel,.interactive-chart){background:#fcf8f0;backdrop-filter:none;-webkit-backdrop-filter:none}}
/* Readable small controls and calendar indicators on pale surfaces. */
html[data-theme=light] :is(.workspace-label span,#saved-total,#sidebar-add,.brand-dot,.sparkline){color:var(--accent)}
html[data-theme=light] .workspace-label span{background:var(--accent-soft)}
html[data-theme=light] :is(#workspace,#plan-dialog) .toggle-label input{background:#d8d8cc;border:1px solid #9a9f90;box-shadow:inset 0 1px 2px #73634b20}
html[data-theme=light] :is(#workspace,#plan-dialog) .toggle-label input:checked{background:var(--accent);border-color:var(--accent)}
html[data-theme=light] :is(#workspace,#plan-dialog) .toggle-label input:after{background:#fffaf3;box-shadow:0 1px 3px #434d3f40}
html[data-theme=light] nav .workspace-nav{border-color:transparent;box-shadow:var(--shadow-control);background:#fffaf080}
