@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
/* GPUHI visual tokens, matched to the public OSG interface on 2026-11-05. */
:root{--bg:#f3f6fb;--bg2:#eef4ff;--surface:#fff;--surface2:#f8fafc;--border:#d6deea;--text:#0b1220;--muted:#475569;--mint:#2563eb;--mint2:#1d4ed8;--gold:#925d0c;--shadow:0 12px 32px #0f172a0d;--font:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif}
body{background:var(--bg);color:var(--text);font-family:var(--font)}
h1,h2,h3,h4,.brand b,.metrics strong,.quote-total,.closing h2{font-family:var(--font)}
.topbar{background:#ffffffF5;border-color:var(--border);box-shadow:0 2px 12px #0f172a06}.topbar-inner{min-height:76px}.nav a{color:#475569;font-weight:600}.nav a:hover{color:#1d4ed8}.top-status{color:#925d0c;background:#fffbeb;border-color:#fde68a}
.hero{background:linear-gradient(120deg,#eef4ff,#f8fafc);padding:56px 0}.hero h1{font-size:clamp(36px,4.4vw,60px);letter-spacing:-.045em}.hero-text>p,.hero-features,.section-head p,.closing p{color:#475569}.hero-text>p strong,.section-head p strong{color:#0b1220}.hero:before{display:none}
.section{padding:60px 0}.metric-strip,.section-house,.fx-section,.hd-section,.section-architecture,.closing{background:#f3f6fb;border-color:var(--border)}.metric-strip{background:#fff}.metrics>div{border-color:var(--border)}
.panel,.info-card,.arch-node,.closing-box{background:#fff;border-color:var(--border);box-shadow:var(--shadow);border-radius:14px}.panel-top,.quote-table,.quote-row,.selected-detail,.sub-divider,.fx-sep,.hd-add-room,.hd-edit-room,.hd-auto-panel,.hd-line{border-color:var(--border)}
.btn.primary,.promptbox button{background:#1769ff;color:#fff;border-color:#1769ff}.btn.ghost,.btn.outline,.tiny-btn{background:#fff;color:#27364a;border-color:#d6deea}.btn:hover,.tiny-btn:hover{border-color:#2563eb}.segment,.draw-tools,.tool-set{background:#eef4ff;border-color:#d6deea}.segment button,.draw-tools button{color:#475569}.segment button.active,.draw-tools button.active{background:#2563eb;color:#fff;border-color:#2563eb}
.aside-kicker,.fieldlabel,.input-head,.fx-label,.fx-field,.fx-check,.price-inputs label,.hd-section label{color:#334155}.assist-text,.micro,.quote-note,.info-card p,.info-card small,.arch-node small,.fx-hint,.hd-auto-panel small,.hd-channel-summary,.hd-stage-status,.hd-room-text small{color:#475569}
.preset-grid button,.room-entry,.hd-room,.fx-source-tabs button,.fx-icon-choices button,.fx-scene-row,.fx-alarm-row,.hd-lamp-panel{background:#f8fafc;border-color:#d6deea;color:#27364a}.preset-grid button.active,.preset-grid button:hover,.room-entry.selected,.room-entry:hover,.hd-room.selected,.fx-source-tabs button.active,.fx-icon-choices button.active{background:#eef4ff;border-color:#2563eb;color:#1d4ed8}.preset-grid button span,.room-entry .room-icon,.arch-ico{background:#dbeafe;border-color:#bfdbfe;color:#1d4ed8}.room-entry small,.room-entry .state{color:#475569}.room-entry .state.on,.hd-room-power{color:#047857}.selected-detail small,.brightness-row label,.fx-preview-meta,.hd-actions span,.hd-lamp-panel small{color:#475569}.brightness-row label span{color:#1d4ed8}
.promptbox,.price-inputs input,.fx-field input:not([type=range]):not([type=color]),.fx-field select,.hd-section input:not([type=checkbox]):not([type=range]),.hd-section select{background:#fff;border-color:#cbd5e1;color:#0b1220}.promptbox input{color:#0b1220}.promptbox input::placeholder{color:#64748b}
.quote-total,.quote-label,.quote-row .q-total,.hd-stats strong,.hd-line strong,.hd-quote-grid h4,.hd-add-room>b,.hd-edit-room>b,.hd-auto-panel>b{color:#0b1220}.quote-row .q-name,.quote-row .q-count,.hd-line span,.hd-stats small{color:#475569}.quote-usage>div,.hd-stats>div,.v3-quote-metrics>div{background:#eef4ff;border-color:#d6deea;color:#0b1220}.quote-usage small{color:#475569}
.label-outline,.fx-inline-tag,.fx-live{background:#eef4ff;border-color:#bfdbfe;color:#1d4ed8}.fx-empty{color:#475569;border-color:#cbd5e1}.fx-scene-row span,.fx-alarm-row span{color:#27364a}.fx-scene-row button,.fx-alarm-row button{background:#fff;color:#334155;border-color:#cbd5e1}.fx-clock-display{background:#eef4ff;color:#1d4ed8;border-color:#bfdbfe}
.fx-safety,.caution,.tagline.warn,.hd-quote-badge{background:#fffbeb;color:#854d0e;border-color:#fcd34d}.tagline,.hd-message{background:#eff6ff;color:#1e40af;border-color:#93c5fd}.hd-import-label{background:#eef4ff;color:#1d4ed8!important;border-color:#bfdbfe}.hd-danger{background:#fff1f2!important;color:#be123c!important;border-color:#fecdd3!important}.hd-message[data-error='1']{background:#fff1f2;color:#be123c;border-color:#fecdd3}
footer{background:#fff;border-color:#d6deea}.footer-grid small{color:#475569}.footer-grid b span{color:#2563eb}
/* Preview areas keep their own contrast for illuminated pixels and 3D geometry. */
.hero-art,.house-viewport,.hd-stage,.hd-svg-wrap,.grid-frame,.fx-mini-grid{--mint:#78e3b5;--muted:#b5cbd4;color:#eaf5f3}.fx-preview-panel{background:#fff}.hero-art-top,.hero-art-bottom,.model-badge{color:#dcebf1}.hero-art-bottom b,.model-badge span{color:#78e3b5}.hero-art{box-shadow:0 10px 30px #0f172a12}
.studio-entry{background:#eef4ff;border-color:#d6deea;color:#0b1220}.studio-entry .kicker{color:#2563eb}.studio-entry p{color:#475569}.header,.strip{border-color:#d6deea}.button.primary{background:#1769ff;color:#fff}.section.light{background:#eef4ff}
.gpuhi-context{background:#fff;border-bottom:1px solid #d6deea;font:600 12px/1.5 var(--font);color:#475569}.gpuhi-context-inner{max-width:1320px;margin:auto;padding:9px 24px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.gpuhi-context a{padding:5px 10px;border:1px solid #d6deea;border-radius:7px;color:#334155}.gpuhi-context a:first-child{border:0;font-weight:800;color:#0b1220;margin-right:auto}.gpuhi-context a[aria-current]{background:#2563eb;color:#fff;border-color:#2563eb}
@media(max-width:600px){.section{padding:40px 0}.gpuhi-context-inner{padding:8px 14px;gap:6px}.gpuhi-context a{font-size:11px;padding:5px 7px}.gpuhi-context a:first-child{width:100%}.hero{padding:35px 0}}
/* Explicit preview backgrounds override shared white panel styling. */
.panel.house-viewport{background:radial-gradient(circle at 45% 47%,#23494f,#122c36 55%,#0b2028)}
.panel-top small,.panel-top span,.active-stat,.hd-section .hd-import-label{color:#475569}

.label-outline.caution,.label-outline.caution *{color:#854d0e}.sub-divider,.fx-sep{background:#d6deea}.topbar{scroll-margin-top:0}section[id]{scroll-margin-top:100px}
