/* Every first-party page shares the same appearance, including signed-out pages. */
html[data-workspace-theme=dark]{color-scheme:dark}
html[data-workspace-theme=light]{color-scheme:light;--bg:#f4f6ef;--panel:#fff;--ink:#20392b;--muted:#4d6152;--line:#b5c4af;--lime:#355a27}
.site-appearance{display:flex;justify-content:flex-end;padding:12px 24px;font-size:14px}.site-appearance label{display:flex;align-items:center;gap:10px;font-size:14px}.site-appearance select{width:auto;min-height:42px;margin:0;padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--ink);font:inherit}
@media screen{
 html[data-workspace-theme=light] body{background:var(--bg);color:var(--ink)}
 html[data-workspace-theme=light] header,html[data-workspace-theme=light] .home header,html[data-workspace-theme=light] .mobile-menu nav{background:#f4f6ef;color:#20392b;border-color:#b5c4af}
 html[data-workspace-theme=light] header nav,html[data-workspace-theme=light] .hero-actions .text-button,html[data-workspace-theme=light] .site-footer,html[data-workspace-theme=light] .site-footer a,html[data-workspace-theme=light] .footer-group h2{color:#35513c}
 html[data-workspace-theme=light] .mobile-menu>nav a{color:#35513c;border-color:#b5c4af}html[data-workspace-theme=light] .mobile-menu[open]>summary,html[data-workspace-theme=light] .mobile-menu>nav a:hover{background:#dce8d2;color:#20392b}
 html[data-workspace-theme=light] :is(.home h1 em,.story-heading em,.chapter-number,.path-icon,.path-action,.intake-progress,.hire-step){color:#355a27}
 html[data-workspace-theme=light] :is(.intro,.home .intro,.home .input-help,.story-heading>p:last-child,.story-chapter p,.path-card p,.audience-line,.audience-line>span:first-child){color:#4d6152}
 html[data-workspace-theme=light] :is(.path-card,.specimen,.scene-board){background:#fff;color:#20392b;border-color:#b5c4af;box-shadow:0 15px 45px #20392b16}
 html[data-workspace-theme=light] :is(.scene-top,.scene-bottom,.scene-kpis span,.card-top,.specimen .signal,.specimen .subtle,.specimen .big-number span){color:#4d6152;border-color:#b5c4af}
 html[data-workspace-theme=light] .scene-board .draw-line{stroke:#426b29}html[data-workspace-theme=light] .scene-board svg path[stroke="#ffffff12"]{stroke:#ccd8c3}
 html[data-workspace-theme=light] :is(.analysis-card,.analysis-shell .included-records){background:#fff;color:#20392b;border-color:#b5c4af}
 html[data-workspace-theme=light] :is(.audience-line,.decision-paths,.story-chapter){border-color:#b5c4af}
 html[data-workspace-theme=light] .cta{background:#d3ee96;color:#203b19}html[data-workspace-theme=light] .cta:hover{background:#c0df7d}
 html[data-workspace-theme=light] :is(input:not([type=range]):not([type=checkbox]),textarea,select){background:#fff;color:#20392b;border-color:#8b9e82}
 html[data-workspace-theme=light] .hiring-panel :is(input,textarea){background:#fff!important;color:#20392b!important}
 html[data-workspace-theme=light] :is(input,textarea)::placeholder{color:#586b5a}
 html[data-workspace-theme=light] :focus-visible{outline:3px solid #547c29;outline-offset:3px}
 html[data-workspace-theme=light] #error{color:#9c3420}
}
@media(max-width:600px){.site-appearance{padding:10px 20px}}
@media print{.site-appearance,.workspace-preferences{display:none}}

/* Shared component palette. Keep foreground and background changes together. */
html[data-workspace-theme=light]{--surface:#fff;--raised:#eaf0e4;--wash:#dce8d2;--text:#20392b;--secondary:#4d6152;--accent:#355a27;--border:#84957b;--plot:#426b29;--compare:#24627e;--reserve:#895914;--zero:#a23a4d;--danger:#9c3420;--notice-bg:#fff1d3;--notice-ink:#674517}
html[data-workspace-theme=dark]{--bg:#0b1411;--panel:#14251c;--surface:#14251c;--raised:#1c3025;--wash:#29432e;--text:#f1f5eb;--secondary:#c2cfc0;--accent:#d5f590;--border:#7b9172;--plot:#c0e58c;--compare:#8dcce9;--reserve:#efbb69;--zero:#ffadb9;--danger:#ffb49c;--notice-bg:#3d3019;--notice-ink:#ffe0a0;--ink:#f1f5eb;--muted:#c2cfc0;--lime:#d5f590;--line:#7b9172}
@media screen{
 html[data-workspace-theme] body{background:var(--bg);color:var(--text)}
 html[data-workspace-theme] body :is(.intake form,.price-card,.price-card.featured,.offer-card,.method-grid article,.ribbon,.specimen,.scene-board,.story-demo,.workspace,#results,.oz-dashboard,.oz-kpi,.oz-kpi:nth-child(2),.oz-chart,.oz-risk-group article,.oz-saved-grid article,.scenario,.analysis-card,.analysis-report,.analysis-shell .included-records,.included-records .analysis-scroll,.review-card,.guide-flow article,.goal-lab,.goal-option,.hire-metrics article,.hire-chart,.admin-metric,.desk-empty,.desk-link-report){background:var(--surface);color:var(--text);border-color:var(--border);color-scheme:inherit}
 html[data-workspace-theme] body :is(.oz-heading,.oz-controls,.oz-controls details,.oz-risk-baseline,.oz-funding,.priority,.decision-card,.workspace #outcome-form,.goal-cash,.goal-cash details,.hire-upgrade,.blindspot,.preview-guide,.floating-note,.admin-links a,.review-next){background:var(--raised);color:var(--text);border-color:var(--border)}
 html[data-workspace-theme] body :is(h1,h2,h3,h4,legend,label,caption,th,td){color:inherit}
 html[data-workspace-theme] body :is(.price-card .price,.big-number,.eyebrow,.chapter-number,.path-icon,.path-action,.intake-progress,.hire-step,.score,.goal-steps h3 span,.goal-lab [data-status],.oz-library [data-status]){color:var(--accent)}
 html[data-workspace-theme] body :is(.intro,.subtle,.input-help,.recovery>p,.method-grid p,.ribbon,.card-top,.scene-top,.scene-bottom,.scene-kpis span,.specimen .signal,.specimen .big-number span,.specimen .subtle,.oz-kpi h3,.oz-kpi p,.oz-summary,.oz-chart-values b,.oz-axis,.demo-kpis span,.range-ends,#deposit-help,.payment-caption,.funding-explanation,.goal-lab .subtle,.admin-metric small,.desk-report small){color:var(--secondary)}
 html[data-workspace-theme] body :is(.analysis-report p,.analysis-report li,.analysis-report h2,.analysis-report h3,.analysis-report h4,.path-card p,.story-chapter p,.preview-guide p,.story-heading>p:last-child){color:inherit}
 html[data-workspace-theme] body :is(header,.home header,.mobile-menu nav){background:var(--bg);color:var(--text);border-color:var(--border)}
 html[data-workspace-theme] body :is(header nav a,.mobile-menu>nav a,.site-footer,.site-footer a,.footer-group h2,.site-footer .brand,.page-sections a){color:var(--secondary);border-color:var(--border);transition:none}
 html[data-workspace-theme] body :is(.mobile-menu>summary,.mobile-menu[open]>summary){background:var(--raised);color:var(--text);border-color:var(--border)}
 html[data-workspace-theme] body .mobile-menu>nav a:hover{background:var(--wash);color:var(--text)}
 html[data-workspace-theme] body :is(button:not(.cta):not(.desk-task),.oz-button,.oz-heading .oz-button,.desk-secondary){background:var(--raised);color:var(--text);border-color:var(--border)}
 html[data-workspace-theme] body :is(button[aria-pressed=true],button[aria-current=page],.review-nav button[aria-pressed=true],.admin-nav button[aria-pressed=true]){background:var(--wash);color:var(--text);border-color:var(--accent)}
 html[data-workspace-theme] body :is(.cta,.mobile-menu>nav .mobile-start,.skip-link){background:#d3ee96;color:#203b19;border-color:#719848}
 html[data-workspace-theme] body .text-button{background:transparent;color:var(--accent)}
 html[data-workspace-theme] body :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea,select){background:var(--surface);color:var(--text);border-color:var(--border);color-scheme:inherit}
 html[data-workspace-theme] body .hiring-panel :is(input,textarea){background:var(--surface)!important;color:var(--text)!important}
 html[data-workspace-theme] body :is(input,textarea)::placeholder{color:var(--secondary)}
 html[data-workspace-theme] body input:is([type=range],[type=checkbox],[type=radio]){accent-color:var(--accent);color:var(--text)}
 html[data-workspace-theme] body :is(.review-scroll th,.review-scroll td,.import-preview table th,.oz-library thead){background:var(--surface);color:var(--text);border-color:var(--border)}
 html[data-workspace-theme] body :is(.review-chip,.desk-badge,.goal-lab .desk-badge){color:var(--secondary);border-color:var(--border)}
 html[data-workspace-theme] body :is(.review-warning,.hire-notice,.admin-notice,.cash-verdict,.oz-warning,.oz-input-warnings:not(:empty)){background:var(--notice-bg);color:var(--notice-ink);border-color:var(--reserve)}
 html[data-workspace-theme] body .cash-verdict.good{background:var(--wash);color:var(--text)}
 html[data-workspace-theme] body :is(#error,.oz-error,.row-error){color:var(--danger)}
 html[data-workspace-theme] body :is(.review-chart,.oz-chart svg,.hire-chart,.goal-cash svg,.cash-chart){color:var(--text)}
 html[data-workspace-theme] body :is(.review-chart,.oz-chart svg,.hire-chart,.goal-cash svg,.cash-chart,.hero-graph svg) text{fill:var(--secondary)}
 html[data-workspace-theme] body svg :is(polyline[stroke="#476719"],polyline[stroke="#365c22"],.draw-line){stroke:var(--plot)}
 html[data-workspace-theme] body svg polyline[stroke="#28647d"]{stroke:var(--compare)}
 html[data-workspace-theme] body svg :is([stroke="#986414"],[stroke="#a55c16"],[stroke="#ba802c"]){stroke:var(--reserve)}
 html[data-workspace-theme] body svg [stroke="#a25260"]{stroke:var(--zero)}
 html[data-workspace-theme] body svg :is([stroke="#c2cdb7"],[stroke="#d6dece"],[stroke="#cad3c8"],[stroke="#ffffff12"]){stroke:var(--border);opacity:.5}
 html[data-workspace-theme] body :focus-visible{outline:3px solid var(--accent);outline-offset:4px}
 html[data-workspace-theme] body :is(button,.oz-button){transition:none}
 html[data-workspace-theme] body :is(.oz-heading p,#results .eyebrow,.oz-heading .eyebrow){color:var(--secondary)}
 html[data-workspace-theme] body input:is([type=checkbox],[type=radio]){background:transparent;color:var(--text);color-scheme:inherit}
 html[data-workspace-theme] body :is(.desk-sidebar button span,.desk-sidebar>.eyebrow,.desk-help,.desk-context label){color:var(--secondary)}
 html[data-workspace-theme] body .field-help p{background:var(--surface);color:var(--text);border-color:var(--border)}
 html[data-workspace-theme] body svg :is([stroke="#64892b"],[stroke="#365c22"]){stroke:var(--plot)}
 html[data-workspace-theme] body svg [stroke="#247da3"]{stroke:var(--compare)}
 html[data-workspace-theme] body svg [fill="#64892b"]{fill:var(--plot)}
 html[data-workspace-theme] body svg [fill="#247da3"]{fill:var(--compare)}
 html[data-workspace-theme] body svg :is([stroke="#477131"],[stroke="#a3cf70"]){stroke:var(--plot)}
 html[data-workspace-theme] body svg :is([stroke="#9b6116"],[stroke="#d49a47"]){stroke:var(--reserve)}
 html[data-workspace-theme=dark] body svg [stroke="#8555a0"]{stroke:#d5a5f0}
 html[data-workspace-theme=dark] body svg [stroke="#a55a19"]{stroke:#ffbd83}
 html[data-workspace-theme=dark] body svg [stroke="#666666"]{stroke:#d0d6cd}
 html[data-workspace-theme] body input[aria-invalid=true]{border:2px solid var(--danger);background:var(--notice-bg);color:var(--text)}
 html[data-workspace-theme] body .chart-legend span{color:var(--secondary)}
 html[data-workspace-theme] body .hire-upgrade :is(h3,p,.text-button){color:var(--text)}
 /* Embedded sign-in must change its card and text together, without a color fade. */
 html[data-workspace-theme] body .cl-rootBox *{transition:none!important}
 html[data-workspace-theme] body :is(.cl-cardBox,.cl-card){background:var(--surface);color:var(--text)}
 html[data-workspace-theme] body .cl-footer{background:var(--raised);color:var(--secondary)}
 html[data-workspace-theme] body :is(.cl-headerTitle,.cl-formFieldLabel){color:var(--text)}
 html[data-workspace-theme] body :is(.cl-headerSubtitle,.cl-footerActionText,.cl-footer p){color:var(--secondary)}
 html[data-workspace-theme] body .cl-footerActionLink{color:var(--accent)}
}
@media screen and (max-width:600px){
 html[data-workspace-theme] body :is(.oz-chart svg,.hire-chart,.cash-chart) text{font-size:16px}
 html[data-workspace-theme] body :is(.goal-cash svg,.review-chart) text{font-size:22px}
 html[data-workspace-theme] body .hire-chart[viewBox="0 0 600 225"] text{font-size:22px}
}
.project-chart-legend{display:flex;flex-wrap:wrap;gap:12px 20px;font-size:14px;margin:18px 0}.project-chart-legend span{display:flex;align-items:center;gap:10px}.project-chart-legend svg{width:48px;height:12px;flex:none}
