/* IESA GO 1.4 · appearance is independent of operational records. */
:root{--surface:var(--panel);--focus:#d7d7de}
html,body{background:var(--bg);color:var(--text)}
.display-controls{display:flex;align-items:center;gap:4px;flex-shrink:0}
.theme-toggle,.display-controls .language-toggle{appearance:none;border:1px solid var(--line);background:transparent;color:var(--text);width:44px;min-width:44px;height:44px;min-height:44px;padding:0;display:grid;place-items:center;border-radius:50%;flex-shrink:0;cursor:pointer}
.display-controls .language-toggle{font-size:11px;letter-spacing:.025em;font-weight:600}
.theme-toggle svg{width:20px;height:20px;pointer-events:none}
.theme-toggle:hover,.display-controls .language-toggle:hover{background:var(--raised)}
.theme-toggle:focus-visible,.display-controls .language-toggle:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.welcome-top .display-controls{margin-left:auto}.welcome-top img{flex-shrink:1}
.topbar .top-tools{gap:4px}.topbar .display-controls{margin-right:8px}
html[data-theme=light]{--bg:#f5f5f7;--panel:#fff;--surface:#fff;--raised:#e8e8ed;--text:#1d1d1f;--muted:#595962;--quiet:#686872;--line:#d7d7dd;--accent:#222225;--focus:#4b4b56;color-scheme:light;background:var(--bg);color:var(--text)}
html[data-theme=light] body{background:var(--bg);color:var(--text)}
html[data-theme=light] .topbar{background:#f5f5f7ed;border-bottom-color:#d7d7dd;box-shadow:0 1px 0 #ffffff50}
html[data-theme=light] .menu-drawer,html[data-theme=light] .modal,html[data-theme=light] .welcome-screen,html[data-theme=light] .welcome-screen::backdrop,html[data-theme=light] .startup{background:var(--bg);color:var(--text)}
html[data-theme=light] .modal::backdrop,html[data-theme=light] .menu-drawer::backdrop{background:#25252a42}
html[data-theme=light] .brand img,html[data-theme=light] .welcome-top img,html[data-theme=light] .startup img{filter:brightness(0);opacity:.88}
html[data-theme=light] .panel{border-color:#dfdfe5;box-shadow:0 4px 20px #1d1d1f04}
html[data-theme=light] .vehicle-overview{background:linear-gradient(145deg,#fff,#eeeeF2);border-color:#dcdce3}
html[data-theme=light] .vehicle-stats{border-top-color:var(--line)}
html[data-theme=light] .intake-callout{background:linear-gradient(145deg,#fff,#ededf2);border-color:#d7d7df}
html[data-theme=light] .asset-switch{background:#e8e8ed;border-color:#d3d3da}
html[data-theme=light] .asset-switch button.active{background:#fff;color:var(--text);box-shadow:0 1px 5px #1d1d1f12}
html[data-theme=light] .nav-button.active{background:#e4e4ea;color:var(--text)}
html[data-theme=light] .phase-card,html[data-theme=light] .intake-slot,html[data-theme=light] .choice{background:#fff;color:var(--text);border-color:var(--line)}
html[data-theme=light] .intake-slot.active,html[data-theme=light] .intake-slot.done,html[data-theme=light] .intake-slots .button[aria-current=step],html[data-theme=light] .choice.selected{background:#e4e4eb;color:#202026;border-color:#777783}
html[data-theme=light] .guide-mark{background:#e8e8ef;color:#33333d}
html[data-theme=light] .guide-mark .icon,html[data-theme=light] .action-card .icon,html[data-theme=light] .callout-icon{color:#4e4e59}
html[data-theme=light] .intake-guide{background:linear-gradient(145deg,#fff,#eeeef3)}
html[data-theme=light] .guide-visual{background:radial-gradient(circle at 68% 45%,#dddde7 0,transparent 42%),linear-gradient(180deg,#eeeef4,#e5e5ec)}
html[data-theme=light] .guide-vehicle{color:#4a4a56}
html[data-theme=light] .guide-position{border-color:#4b4b56;box-shadow:0 0 0 8px #44445a10}
html[data-theme=light] .guide-route{border-color:#777786}
html[data-theme=light] .guide-phone{border-color:#4a4a57}
html[data-theme=light] .guide-phone:before{border-color:#7d7d89}
html[data-theme=light] .guide-phone>span{border-color:#a7a7b3;background:linear-gradient(90deg,transparent 49%,#29294016 50%,transparent 51%),linear-gradient(0deg,transparent 49%,#29294016 50%,transparent 51%)}
html[data-theme=light] .button.primary{background:#242427;border-color:#242427;color:#fff}
html[data-theme=light] .button:not(.primary){border-color:var(--line)}
html[data-theme=light] .field input,html[data-theme=light] .field select,html[data-theme=light] .field textarea,html[data-theme=light] #intake-download textarea{background:#fff;color:var(--text);border-color:var(--line)}
html[data-theme=light] input::placeholder,html[data-theme=light] textarea::placeholder{color:#777782;opacity:1}
html[data-theme=light] .field input:disabled,html[data-theme=light] .field select:disabled{background:#ededf1;color:#696973;opacity:1}
html[data-theme=light] .check-field input,html[data-theme=light] .ops-check input{accent-color:#44444d}
html[data-theme=light] .form-error{color:#a42b39}
html[data-theme=light] .state{background:#e9e9ef;color:#444450;border-color:#d1d1dc}
html[data-theme=light] .state.amber{background:#f7efdd;color:#7b5314;border-color:#d7be8e}
html[data-theme=light] .state.green{background:#e6f0e8;color:#2c623a;border-color:#a8c8b0}
html[data-theme=light] .state.red{background:#f8e8e8;color:#94343a;border-color:#d6a3a5}
html[data-theme=light] .vehicle-neutral{background:radial-gradient(ellipse at 80% 50%,#dddde7,transparent 70%);border-color:var(--line)}
/* Studio photographs retain their original tonality, framed as photography. */
html[data-theme=light] .vehicle-scene{background:#121212;border-radius:18px;overflow:hidden;margin:16px 0}
html[data-theme=light] .welcome-scene{background:#121212;border-radius:24px;box-shadow:0 8px 30px #20202712}
html[data-theme=light] .welcome-scene:after{display:none}
html[data-theme=light] .vehicle-scene img,html[data-theme=light] .welcome-scene img{mix-blend-mode:normal}
html[data-theme=light] .hero h1 span{color:#6b6b75}
html[data-theme=light] progress,html[data-theme=light] .care13-plan progress{background:#d9d9e2;accent-color:#51515e}
html[data-theme=light] progress::-webkit-progress-bar,html[data-theme=light] .care13-plan progress::-webkit-progress-bar{background:#d9d9e2}
html[data-theme=light] progress::-webkit-progress-value,html[data-theme=light] .care13-plan progress::-webkit-progress-value{background:#51515e}
html[data-theme=light] progress::-moz-progress-bar,html[data-theme=light] .care13-plan progress::-moz-progress-bar{background:#51515e}
html[data-theme=light] .progress-line span{background:#d6d6df}html[data-theme=light] .progress-line span.done{background:#646471}
html[data-theme=light] .language-control{background:#fff;border-color:var(--line)}
html[data-theme=light] .language-control button.active{background:#28282d;color:#fff}
html[data-theme=light] .toast{background:#24242a;color:#fff;box-shadow:0 8px 32px #22222a25}
html[data-theme=light] .skip-link{background:#22222a;color:#fff}
html[data-theme=light] :focus-visible{outline-color:var(--focus)}
@media(max-width:760px){.topbar{padding-inline:16px}.topbar .header-start{gap:10px}.topbar .brand{width:105px}.topbar .top-tools{gap:2px}.topbar .display-controls{margin-right:2px;gap:2px}.topbar .icon-button{width:40px;height:44px}.welcome-top{gap:14px}.welcome-top img{width:115px}.welcome-top .display-controls{gap:6px}.welcome-top .display-controls .language-toggle,.welcome-top .theme-toggle{width:44px;height:44px}}
@media(max-width:380px){.topbar{flex-wrap:wrap;height:auto;min-height:76px;padding:10px 16px;gap:4px 8px}.topbar .header-start{flex:1}.topbar .top-tools{display:contents}.topbar .display-controls{order:1;margin-left:auto;margin-right:0}.topbar .top-tools>.icon-button{order:2;margin-left:auto}.topbar .top-tools>.icon-button:last-child{margin-left:0}.topbar .brand{width:96px}.topbar .breadcrumb{display:none}}
@media(prefers-reduced-motion:no-preference){.theme-toggle,.display-controls .language-toggle{transition:background .18s,color .18s}}

/* v1.4 welcome hierarchy and company framework notice */
.welcome-enter-button{width:min(100%,560px);margin:11px auto 0;background:transparent;border-color:#66666d;color:var(--text);font-size:15px;font-weight:600}
.welcome-enter-button:hover{background:var(--raised);border-color:#9a9aa2}
.welcome-secondary{align-items:flex-start}
.welcome-secondary .welcome-transcript{margin:0;width:auto;max-width:330px}
.welcome-secondary .welcome-transcript summary{min-height:44px;padding:11px 14px}
.welcome-secondary .welcome-transcript p{min-width:min(520px,calc(100vw - 48px))}
.app-footer{display:grid;grid-template-columns:1fr;align-items:start}
.footer-main{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%}
.footer-license{max-width:960px;font-size:10px;line-height:1.65;color:var(--quiet);text-wrap:pretty}
.footer-license a{display:inline;text-decoration:underline;text-underline-offset:3px;color:var(--muted);min-height:0}
html[data-theme=light] .welcome-enter-button{background:#fff;border-color:#a3a3ad;color:#25252a}
html[data-theme=light] .welcome-enter-button:hover{background:#ededf2}
html[data-theme=light] .footer-license a{color:#494953}
@media(max-width:700px){.welcome-enter-button{min-height:54px;font-size:14px}.welcome-secondary{display:grid;grid-template-columns:1fr;justify-items:center;gap:2px}.welcome-secondary .welcome-transcript{width:min(100%,330px)}.welcome-secondary .welcome-transcript p{min-width:0;width:100%}.footer-main{flex-wrap:wrap}.footer-license{font-size:9px;line-height:1.65}.app-footer{gap:12px}}
