/* Shared Antuinsight visual language: aligned with main site and PLM. */
:root{color-scheme:dark;--bg-obsidian:#05070c;--accent-cyan:#22d3ee;--accent-amber:#f59e0b;--surface:#090e19;--line:rgba(148,163,184,.18);--ink:#f1f5f9;--muted:#94a3b8;--navy:#05070c;--emerald:#22d3ee;--emerald-dark:#67e8f9;--paper:#05070c;--white:#090e19;--red:#fda4af}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;background-color:var(--bg-obsidian);background-image:linear-gradient(to right,rgba(34,211,238,.035) 1px,transparent 1px),linear-gradient(to bottom,rgba(34,211,238,.035) 1px,transparent 1px);background-size:48px 48px;color:#f1f5f9}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:#67e8f9}
button,input,select,textarea{color-scheme:dark}
::selection{background:#155e75;color:#fff}
::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:#05070c}::-webkit-scrollbar-thumb{background:#334155;border-radius:4px}
.site-header,.topbar{border-bottom:1px solid var(--line);background:rgba(5,7,12,.94);color:#f8fafc;min-height:84px}
.brand{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:22px;font-weight:750;letter-spacing:.035em;line-height:1.1;text-transform:uppercase;display:flex;gap:12px;align-items:center}
.brand-mark{display:block;width:40px;height:40px;flex-shrink:0;padding:0;border-radius:10px;background:transparent;letter-spacing:normal}
.brand small{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#67e8f9;font-size:9px;letter-spacing:.14em;margin-top:7px;display:block;font-weight:500}
.brand-label{font-size:11px;color:#94a3b8;letter-spacing:.08em;border-color:#334155;margin-left:8px;padding-left:16px}
.brand-dot{color:#22d3ee}.header-actions{gap:16px}.header-actions #language{border-color:#334155;color:#cbd5e1}
.local-badge{color:#fcd34d;background:rgba(245,158,11,.08);border:1px solid rgba(245,158,11,.3);font-family:ui-monospace,Consolas,monospace;font-size:10px;padding:5px 10px;border-radius:30px;white-space:nowrap}
.local-badge i{background:#f59e0b}.admin-link,.preview-link{color:#67e8f9;border:1px solid rgba(34,211,238,.3);background:rgba(34,211,238,.05);padding:9px 13px;border-radius:30px;white-space:nowrap;font-size:12px}
.eyebrow{color:#67e8f9;font-family:"JetBrains Mono",ui-monospace,Consolas,monospace;letter-spacing:.13em;font-size:10px}
.intro h1,.page-heading h1{color:#f8fafc;font-weight:650;letter-spacing:-.035em}.intro>p,.intro,.version-note,.muted{color:#94a3b8}
.industry-nav{gap:9px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible}.industry-button{background:#090e19;border:1px solid #273347;border-radius:12px;color:#cbd5e1;min-height:45px;font-size:12px;min-width:0;justify-content:center}
.industry-button.active{color:#cffafe;background:#0c3547;border-color:#22d3ee;box-shadow:inset 0 0 0 1px rgba(34,211,238,.1)}
.industry-button:not(.active):hover{background:#102c3c;border-color:#22d3ee}.industry-symbol{color:#67e8f9}
.preview-panel,.catalog-panel,.selection-bar,.panel{background:#090e19;border-color:var(--line);border-radius:16px;box-shadow:0 12px 40px -30px #000}
.preview-panel{--stage-bg:#e5e7eb}.preview-top,.preview-bottom,.preview-toolbar{background:#090e19}
.preview-top{padding-bottom:16px}.preview-top h2,.catalog-heading h2,.preview-toolbar h2,.section-heading h2{color:#f1f5f9}
.preview-bottom{padding-top:14px}.stage-wrap{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.icon-button{border-color:#334155;color:#cbd5e1;background:#0f172a}.icon-button:hover:not(:disabled){border-color:#22d3ee;color:#67e8f9}
.text-button{color:#67e8f9}.zoom-controls output{color:#94a3b8}.zoom-controls .icon-button{border-color:#334155}
.background-swatch{border-color:#0f172a;box-shadow:0 0 0 1px #475569}.background-swatch.active{box-shadow:0 0 0 2px #22d3ee}
.scene-note{border-color:var(--line);color:#94a3b8;background:#090e19;font-size:11px;line-height:1.8}
.count-badge,.count{background:#102534;color:#67e8f9;border-color:#164e63}
.slot-button{background:#0b1220;border-color:#334155;color:#cbd5e1;font-size:12px;border-radius:8px}
.slot-button.active{color:#cffafe;background:#0c3547;border-color:#22d3ee}.search-box{border-color:#334155;color:#94a3b8}.search-box input{color:#f1f5f9;font-size:12px}.search-box input::placeholder{color:#94a3b8}
.product-card{background:#0b1220;border-color:#273347;border-radius:10px}.product-card:hover{border-color:#0891b2}.product-card.selected{border-color:#22d3ee;box-shadow:0 0 0 1px #22d3ee}
.product-image{background:#e9edf1}.product-info{background:#0b1220}.product-name{color:#e2e8f0;font-size:13px}.product-meta{color:#94a3b8;font-size:11px}.product-source{color:#94a3b8;font-size:10px}.product-card .selected-check{background:#22d3ee;color:#05070c;font-weight:800}
.catalog-footnote,.brief-note{color:#94a3b8;font-size:11px}.empty-state{color:#94a3b8}.empty-state h3,.empty-state a{color:#67e8f9}.empty-state>span{color:#22d3ee}
.selection-symbol{background:#102534;color:#67e8f9}.selected-summary small{color:#94a3b8}.selected-summary strong{color:#f1f5f9}.thumb-button{background:#e9edf1;border-color:#334155}
.primary-button,.button.primary{background:#22d3ee;border-color:#22d3ee;color:#05070c;font-weight:700;border-radius:9px}.primary-button:hover,.button.primary:hover{background:#67e8f9;color:#05070c}
.secondary-button,.button.secondary{background:#0f172a;color:#cbd5e1;border-color:#334155;border-radius:9px}.secondary-button:hover,.button.secondary:hover{background:#142739;border-color:#22d3ee}
footer{color:#94a3b8}.selection-bar{border-color:#243449}dialog{background:#090e19;border-color:#334155;color:#f1f5f9}dialog::backdrop{background:#020617bb}
.dialog-top,.dialog-actions,.brief-item{border-color:#273347}.brief-item img{background:#e9edf1}.brief-item small{color:#94a3b8}.toast{background:#164e63;color:#ecfeff;border:1px solid #22d3ee}.toast.error{background:#4c1d28;border-color:#fb7185}
.loading-state,.load-error{color:#94a3b8}.load-error h2{color:#f1f5f9}.spinner{border-color:#164e63;border-top-color:#22d3ee}
/* Asset studio uses the same controls, with a neutral material inspection stage. */
.panel-section,.inspector>.panel-section:first-child{border-color:var(--line)}.section-kicker>span{color:#67e8f9;border-color:#164e63}
.field-label,.control-topline label{color:#cbd5e1;font-size:12px}input[type=text],input[type=number],select,textarea{background:#050b14;border-color:#334155;color:#f1f5f9;font-size:12px}
input::placeholder,textarea::placeholder{color:#8291a7}.file-help,.small-copy,.product-item-copy span,.numeric-field,.optional{color:#94a3b8}
.product-item{background:#0f172a;color:#e2e8f0;border-color:#273347}.product-item.active{background:#0c3547;border-color:#22d3ee}.product-item:hover{background:#102c3c}.product-mini{background:#e9edf1}
.button.danger{background:#9f1239;color:#fff}.delete-button{color:#fda4af}.delete-confirm,.deleted-note{background:#301c28;color:#fecdd3;border-color:#9f1239}
.segmented{background:#050b14;border:1px solid #273347}.segmented button{color:#94a3b8}.segmented button.active{background:#0c3547;color:#67e8f9}
.canvas-surround{background:#101a29}.canvas-meta,.canvas-caption{color:#94a3b8}.canvas-meta span:first-child{color:#94a3b8}.canvas-meta span:last-child{color:#67e8f9;border-color:#164e63}
.admin-studio .stage{background:#e5e7eb}.selection{border-color:#0891b2}.selection-name{background:#0e7490;color:#ecfeff}.handle{border-color:#0891b2;background:#ecfeff}.drag-mark{background:#ecfeff;color:#0e7490;border-color:#0891b2}
.preview-footnote{color:#94a3b8}.info-icon{color:#67e8f9;border-color:#164e63}.image-card{background-color:#e9edf1;border-color:#475569;background-image:linear-gradient(45deg,#d8dfe6 25%,transparent 25%),linear-gradient(-45deg,#d8dfe6 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d8dfe6 75%),linear-gradient(-45deg,transparent 75%,#d8dfe6 75%)}
.image-dimensions{background:#0f172a;color:#cbd5e1}#image-placeholder{color:#475569}.save-bar{background:rgba(5,7,12,.96);border-color:#334155;color:#f1f5f9}.save-summary p{color:#94a3b8}.dirty-indicator{background:#22d3ee}.dirty-indicator.dirty{background:#f59e0b}
input[type=range]{accent-color:#22d3ee}.status{background:#092b2a;color:#a7f3d0}.status.info{background:#102c3c;color:#a5f3fc}.status.error{background:#3d1b25;color:#fecdd3}.conflict{background:#362613;color:#fde68a}
.empty-inspector,.empty-list{color:#94a3b8}.empty-inspector h3{color:#cbd5e1}.empty-symbol{color:#67e8f9;background:#102534}.base-error{background:#182334;color:#e2e8f0}
@media(max-width:760px){.brand{font-size:17px;gap:8px}.brand-mark{width:32px;height:32px}.brand small{font-size:8px;letter-spacing:.07em}.site-header{margin:0 14px}.header-actions{gap:7px}.admin-link{font-size:10px;padding:8px}.header-actions #language{font-size:12px;padding-right:8px}.industry-button{font-size:11px}.scene-note{font-size:10px}.topbar{min-height:72px}.topbar .brand-label{display:none}.topbar .brand{font-size:17px}.topbar-end{gap:8px}.preview-link{font-size:10px;padding:7px 9px}.topbar .local-badge{display:none}.product-source{font-size:10px}}
@media(max-width:370px){.site-header{flex-wrap:wrap;gap:10px;padding:14px 0}.site-header .header-actions{margin-left:auto}.brand{font-size:16px}.brand small{font-size:7px}}
@media(max-width:900px){.industry-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){.industry-nav{grid-template-columns:repeat(2,minmax(0,1fr));margin-right:0;padding-right:0}.industry-button{justify-content:flex-start;padding:10px 13px}}
/* Cloud entry points stay readable when the extra account controls wrap. */
.main-site-link{color:#67e8f9;text-decoration:none;font-size:12px;display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}
.session-user{color:#94a3b8;font-size:11px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-studio .topbar{height:auto;padding-top:16px;padding-bottom:16px;gap:16px;flex-wrap:wrap}
.admin-studio .topbar-end{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-left:auto;min-width:0}
.admin-studio #logout{min-height:44px;padding:8px 10px}
.public-studio .site-header{height:auto;padding-top:20px;padding-bottom:20px;gap:16px;flex-wrap:wrap}
.public-studio .header-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}
#auth-needed a{text-decoration:none;min-height:40px;display:inline-flex;align-items:center}#auth-needed p{line-height:1.8}
@media(max-width:600px){.public-studio .header-actions{width:100%;justify-content:space-between;gap:8px}.public-studio .header-actions .local-badge{display:none}.public-studio .header-actions #language{min-height:44px;min-width:44px}.public-studio .admin-link{min-height:44px;display:inline-flex;align-items:center}.admin-studio .topbar-end{width:100%;justify-content:space-between;gap:8px}.admin-studio .session-user{display:none}.admin-studio .topbar{padding-top:14px;padding-bottom:10px}.admin-studio .preview-link{min-height:44px;display:inline-flex;align-items:center}.main-site-link{font-size:12px}}
