/* Colourful workspaces. Presentation only; retain all production calculator tools. */
@media screen {
html:root,html:root[data-theme] {color-scheme:light;--bg:#f5f3fc;--surface:#fff;--surface-2:#eeebfa;--line:#d9d3e9;--ink:#24203d;--muted:#625b76;--accent:#6841c6;--accent-ink:#fff;--accent-soft:#eee7fc;--chart-a:#087f8c;--chart-b:#986025;--focus:#5630b0;--step:#6841c6}
html body {background:radial-gradient(ellipse at 5% 0%,#e2dcff 0,transparent 38%),radial-gradient(ellipse at 100% 22%,#d4f3ee 0,transparent 36%),#f7f6fb!important;color:#24203d}
body .wrap {max-width:1120px}
.workspace-banner {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 0 30px}
.workspace-banner h2 {font-size:clamp(28px,4.5vw,44px);line-height:1.2;color:#30204e;margin:8px 0 10px}
.workspace-kicker {font-size:11px;letter-spacing:.14em;font-weight:800;color:#6b4198}
.workspace-banner p {font-size:14px;line-height:1.6;max-width:64ch;margin:0;color:#625b76}
.workspace-banner nav {display:flex;flex-wrap:wrap;gap:6px;padding:6px;border:1px solid #d9d3e9;background:#fff;border-radius:18px;flex-shrink:0}
.workspace-banner nav a {min-height:44px;display:flex;align-items:center;padding:10px 16px;border-radius:12px;text-decoration:none;font-size:14px;font-weight:700;color:#574d70}
.workspace-banner nav a[aria-current] {color:#fff;background:#6841c6;box-shadow:0 4px 10px #6841c629}
body .hero-answer {border:1px solid #e2d8f4!important;border-radius:24px!important;background:#fff!important;box-shadow:0 16px 45px #4433690b;padding:24px!important;gap:24px}
body .hero-answer #answer {background:linear-gradient(135deg,#eee6ff,#f9f4ff)!important;border:1px solid #ded0f5!important;border-radius:18px;padding:24px!important;color:#352257!important}
body .hero-answer #answer .figure {color:#4c2b85!important}
body .hero-answer #answer .eyebrow,body .hero-answer #answer .mo {color:#654d80!important}
body .hero-answer .delta {background:#d9f2e8!important;color:#195a47!important;border-radius:12px;padding:10px}
body .hero-answer .chartwrap {background:#f6fbfc!important;border:1px solid #d5e9e8!important;border-radius:18px;box-shadow:none!important;padding:16px!important;color:#304e55!important}
body .chartwrap .legend {color:#48646b!important}
body .herostats {gap:12px!important;border:0!important}
body .herostats .stat {background:#e6f5f1!important;border:1px solid #cee7df!important;border-radius:14px;padding:16px!important}
body .herostats .stat:nth-child(2) {background:#fff1e4!important;border-color:#f0ddc9!important}
body .herostats .stat:nth-child(3) {background:#f0e9fc!important;border-color:#ded3ef!important}
body .herostats .stat .v {color:#283a43!important}body .herostats .stat .k {color:#58606e!important}
body .hero-control {background:#e7f5f1!important;border:1px solid #cce4dd!important;border-radius:18px;padding:20px!important;margin-top:18px!important;color:#214e46!important}
body .hero-control .val b {color:#176b60!important}body .hero-control input {accent-color:#087f73}
body .panel,body details {background:#fff!important;border:1px solid #e0dbea!important;border-radius:18px!important;box-shadow:0 8px 30px #36235b06!important}
body .panel {padding:24px!important}
body .step .n {background:#6841c6!important;color:white!important}
body .debt {border-left:4px solid #9d7bd3!important;background:#fcfaff!important;border-radius:14px!important}
body .debt:nth-child(3n+2) {border-left-color:#32a897!important;background:#f5fcfa!important}
body .debt:nth-child(3n) {border-left-color:#d88b4c!important;background:#fffaf5!important}
body .hero .tile {background:#eee8fa!important;border-color:#d9cfea!important;box-shadow:none!important;color:#3b285d!important}
body .hero .tile:nth-child(2) {background:#e5f3ef!important;border-color:#cfe3dc!important}
body .hero .tile:nth-child(3) {background:#fff0e2!important;border-color:#eddbc6!important}
body .hero .tile .big {color:#342b48!important}body .hero .tile .lbl,body .hero .tile .sub {color:#62566f!important}
body button.primary {background:#6841c6!important;color:#fff!important;border-color:#6841c6!important}
body .choice button[aria-pressed=true] {background:#eee7fc!important;border-color:#6841c6!important}
body :is(a,button,input,summary):focus-visible {outline:3px solid #6841c6!important;outline-offset:3px!important}
@media(max-width:760px){.workspace-banner{align-items:flex-start;flex-direction:column;gap:18px;padding-top:16px}.workspace-banner nav{width:100%}.workspace-banner nav a{flex:1;justify-content:center}body .hero-answer{padding:14px!important;gap:14px}body .panel{padding:16px!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
}
@media print {.workspace-banner nav,.workspace-kicker{display:none}.workspace-banner h2{font-size:22px}}
/* Take precedence over the shared blue lighting without changing other apps. */
@layer dmc-colour {
@media screen {
body .hero-answer,body .hero-control,body .panel {border-color:#e0d6ed!important;outline:0!important;box-shadow:0 12px 36px #4330610c!important;background:#fff!important}
body .hero-control {background:#e7f5f1!important}
body .hero-answer {display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr)!important;max-width:none!important;padding:24px!important}
body .hero-answer #answer {margin:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;border-radius:18px!important;min-width:0!important}
body .hero-answer .chartwrap {margin:0!important;border-radius:18px!important;background:#f4faf9!important;padding:16px!important;--chart-a:#087f8c!important;--chart-c:#68827e!important}
body .hero-answer .chartwrap canvas {height:220px!important}
body .hero-answer .legend {padding:10px 0 0!important}
body .hero-answer .herostats {grid-column:1/-1!important;margin:0!important;padding:0!important}
body .hero-answer .herostats .stat:before {display:none!important}
body .hero-control,body .tune {max-width:none!important}
body .hero .tile {border-radius:14px!important}
body .hero-answer .figure {font-size:clamp(32px,4vw,48px)!important}
@media(max-width:760px){body .hero-answer{grid-template-columns:minmax(0,1fr)!important;padding:14px!important}body .hero-answer .chartwrap{padding:10px!important}body .hero-answer .chartwrap canvas{height:190px!important}body .hero-answer .herostats{gap:6px!important}body .herostats .stat{padding:12px 6px!important}body .herostats .stat .v{font-size:22px!important}}
}
@media(forced-colors:active){body .hero-answer,body .hero-control,body .panel,body .hero-answer #answer,body .hero-answer .chartwrap{background:Canvas!important;color:CanvasText!important;border-color:CanvasText!important;box-shadow:none!important}}
}

@media screen {body .hero-answer .legend .k-you::before{background:#087f8c}}


/* One task above the plan; optional import/reset tools stay within reach. */
.flow-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:14px;padding:11px 18px;background:#115c9c;border:1px solid #115c9c;border-radius:10px;color:#fff;font:700 16px Arial,Helvetica,sans-serif;cursor:pointer}
.flow-action:focus-visible{outline:3px solid #6db8ee;outline-offset:4px}.debt-tools{margin-top:10px}
body[data-plan-state="empty"] :is(.hero-answer,.hero-control,.tune,#results,#comparePanel,#consolidate,.sticky){display:none}
@media(max-width:600px){.flow-action{width:100%;box-sizing:border-box}}
@media print{.flow-action,.debt-tools{display:none}}
