/* Local Rotulame brand skin. Interface only: no artwork, swatch or renderer rules. */
@font-face{font-family:Rotulame;src:url('brand/Ethnocentric.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
:root{--green:#7fff00;--bg:#080808;--panel:#121212;--line:#303030;--muted:#b6b6b6;--white:#f5f5f5}
body,button,input,select,textarea{font-family:Arial,Helvetica,sans-serif}
.topbar{background:#000;border-color:var(--line)}
.topbar .brand{line-height:1.15;flex-shrink:0}
.topbar .brand .brand-main{font-family:Rotulame,Arial,sans-serif;font-size:16px;font-weight:400;font-style:normal;font-synthesis:none;letter-spacing:0;text-transform:uppercase}
.topbar .brand .brand-sub{font-family:Rotulame,Arial,sans-serif;font-size:8px;font-weight:400;font-style:normal;font-synthesis:none;letter-spacing:1px;margin-top:0;color:var(--green);text-transform:uppercase}
.intro h1{font-family:Rotulame,Arial,sans-serif;font-weight:400;font-style:normal;font-synthesis:none;letter-spacing:0;text-transform:uppercase}
.editor-commandbar,.editor-status,.vehicle-choice-bar{background:#0d0d0d;border-color:var(--line)}
.layer-rail,.viewer-card,.controls,.studio-mode .controls,dialog{background:var(--panel);border-color:var(--line)}
.studio-mode .viewer{background:#151515}
.icon-tool,.rail-tools button,.outline,.layer-item,.swatch,.order-card,.order-card button,.project-row button{background:#181818;border-color:#383838;color:var(--white)}
.layer-item.active,.view-tools button:hover,.view-tools button.active,.control-tabs [aria-selected=true]{background:#252525;border-color:var(--green)}
.floating-toolbar{background:#151515ee;border-color:#484848}
.floating-toolbar button{color:#ddd}
.floating-toolbar button.active{background:#292929;color:var(--green)}
.toolbar-divider{background:#4a4a4a}
select,input:not([type=checkbox]):not([type=range]):not([type=color]){background:#101010;border-color:#454545;color:var(--white)}
.finish-pill,.coverage-box,.staff-badge{background:#252525}
.chart-selection{background:#141414f5;border-color:#454545}
.swatch-family,.swatch-finish,.rail-hint,.layer-empty-help,.inspector-heading span{color:var(--muted)}
.viewer-error{background:#151515ee}
.boot-loader{background:#080808ee}
.boot-loader>div{background:#121212;border-color:#454545}
/* WordPress supplies the public wordmark; keep every editor control and the local badge. */
body[data-wordpress-embedded="true"] .topbar .brand{display:none}
body[data-wordpress-embedded="true"] .topbar{height:auto;min-height:44px;flex-wrap:wrap;gap:8px 16px;padding:6px 12px}
body[data-wordpress-embedded="true"] .topbar .local-pill{display:inline-flex;align-items:center;gap:7px;margin:0 auto 0 0;font-size:10px;white-space:normal}
body[data-wordpress-embedded="true"] .topbar nav{width:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-left:auto}
body[data-wordpress-embedded="true"] .topbar nav button{font-size:11px;min-height:44px;padding:7px 10px}
@media(max-width:600px){body[data-wordpress-embedded="true"] .topbar .local-pill{width:100%;font-size:9px}body[data-wordpress-embedded="true"] .topbar nav{width:100%;margin-left:0;justify-content:space-between;gap:6px}}

/* Website-sized, readable editor interface. Artwork and renderers stay independent. */
body.studio-mode{font-size:16px;line-height:1.5;min-height:100dvh}
body.studio-mode .topbar{height:auto;min-height:64px;flex-wrap:wrap;padding:10px 16px;gap:12px}
body.studio-mode .topbar nav{flex-wrap:wrap;gap:10px}
body.studio-mode .topbar nav button,body.studio-mode .local-pill{font-size:14px;line-height:1.4}
body.studio-mode .topbar nav button{min-height:44px;padding:10px 14px}
body.studio-mode .editor-commandbar{height:auto;min-height:64px;flex-wrap:wrap;gap:12px;padding:10px 16px}
body.studio-mode .file-controls{flex-wrap:wrap;gap:8px}
body.studio-mode .design-name-label{font-size:14px;color:#d2d2d2;flex-wrap:wrap}
body.studio-mode .design-name-label input{font-size:16px!important;line-height:1.4;width:230px!important;max-width:100%;padding:10px 12px!important;min-height:44px}
body.studio-mode .editor-commandbar .outline,body.studio-mode .editor-commandbar .small-primary,body.studio-mode #open-projects{font-size:14px;line-height:1.4;padding:10px 14px;min-height:44px}
body.studio-mode .icon-tool,body.studio-mode .rail-tools button{width:44px;height:44px;min-width:44px;font-size:20px}
body.studio-mode .camera-slot{max-width:100%}
body.studio-mode .camera-slot .view-tools{flex-wrap:wrap;white-space:normal;gap:4px}
body.studio-mode .camera-slot .view-tools button{font-size:14px;line-height:1.4;padding:9px 12px;min-height:44px;white-space:normal}
body.studio-mode .camera-slot .view-tools button[data-view=left]::after,body.studio-mode .camera-slot .view-tools button[data-view=right]::after{content:none}
body.studio-mode .workspace{grid-template-columns:190px minmax(0,1fr) 320px;gap:10px}
body.studio-mode .rail-title h2,body.studio-mode .inspector-heading h2{font-size:18px;line-height:1.35}
body.studio-mode #layer-count,body.studio-mode .layer-empty-help,body.studio-mode .rail-hint,body.studio-mode .inspector-heading span{font-size:14px;line-height:1.5;color:#bfbfbf}
body.studio-mode .layer-item{font-size:14px;line-height:1.45;padding:12px 10px;min-height:72px;flex-shrink:0}
body.studio-mode .layer-item span,body.studio-mode .layer-item small{font-size:14px;line-height:1.45;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
body.studio-mode .rail-tools{flex-wrap:wrap;gap:6px}
body.studio-mode .floating-toolbar{max-width:calc(100% - 24px);flex-wrap:wrap;justify-content:center;border-radius:16px;padding:6px;white-space:normal}
body.studio-mode .floating-toolbar button{font-size:14px;line-height:1.4;padding:10px 12px;min-height:44px}
body.studio-mode .vehicle-choice-bar{padding:12px;gap:10px}
body.studio-mode .vehicle-choice-bar label{font-size:14px;line-height:1.5;min-width:0;flex-wrap:wrap}
body.studio-mode .vehicle-choice-bar select{min-width:min(100%,240px)}
body.studio-mode .vehicle-choice-bar button{font-size:14px;min-height:44px;padding:10px 14px}
body.studio-mode #vehicle-variant-note{font-size:14px;line-height:1.5}
body.studio-mode .viewer-hint,body.studio-mode .viewer-foot,body.studio-mode .orientation-note,body.studio-mode .model-credit,body.studio-mode .viewer-watermark{font-size:14px;line-height:1.5}
body.studio-mode .viewer-foot{height:auto;min-height:56px;flex-wrap:wrap;gap:6px 10px}
body.studio-mode .model-credit{white-space:normal}
body.studio-mode .viewer-watermark{top:82px}
body.studio-mode label,body.studio-mode label output,body.studio-mode .checkline,body.studio-mode .property-checks label{font-size:14px;line-height:1.5}
body.studio-mode select,body.studio-mode input:not([type=checkbox]):not([type=range]):not([type=color]){font-size:16px;line-height:1.4;min-height:44px;padding:10px 12px}
body.studio-mode #materials-panel select,body.studio-mode #materials-panel input,body.studio-mode #material-dialog select,body.studio-mode #material-dialog input{font-size:16px!important}
body.studio-mode button.primary,body.studio-mode button.outline,body.studio-mode button.small-primary,body.studio-mode .outline.wide,body.studio-mode .danger-quiet,body.studio-mode .quiet{font-size:14px;line-height:1.4;min-height:44px}
body.studio-mode .fine-print,body.studio-mode .subtle-label,body.studio-mode .eyebrow,body.studio-mode .empty,body.studio-mode .upload-row span,body.studio-mode .finish-pill,body.studio-mode .label-row>span{font-size:14px;line-height:1.5}
body.studio-mode .material-detail h3{font-size:22px;line-height:1.35}
body.studio-mode .material-detail>p,body.studio-mode .material-detail a,body.studio-mode .material-context summary,body.studio-mode .chart-coverage summary,body.studio-mode .chart-coverage .fine-print{font-size:14px;line-height:1.5}
body.studio-mode .swatch-code,body.studio-mode .swatch-name,body.studio-mode .swatch-family,body.studio-mode .swatch-finish,body.studio-mode .swatch-status{font-size:14px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
body.studio-mode #swatches{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:360px}
body.studio-mode #swatches .swatch{padding:10px;min-height:138px}
body.studio-mode #chart-swatches .swatch-code,body.studio-mode #chart-swatches .swatch-name,body.studio-mode #chart-swatches .swatch-family,body.studio-mode #chart-swatches .swatch-finish{font-size:14px;line-height:1.45}
body.studio-mode #chart-swatches .swatch-name{min-height:42px}
body.studio-mode #chart-swatches .swatch{min-height:200px;padding:12px}
body.studio-mode #chart-swatches{grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:12px}
body.studio-mode .unavailable-swatch::after{font-size:14px}
body.studio-mode #material-dialog .dialog-head h2{font-size:28px;line-height:1.3}
body.studio-mode .dialog-lead,body.studio-mode #chart-coverage-note,body.studio-mode #chart-usage,body.studio-mode #chart-current,body.studio-mode #chart-source,body.studio-mode #chart-technical-source{font-size:14px;line-height:1.5}
body.studio-mode .chart-selection .subtle-label{font-size:14px}
body.studio-mode .catalog-table,body.studio-mode .catalog-table th,body.studio-mode #catalog-result-count,body.studio-mode .coverage-box,body.studio-mode .staff-badge{font-size:14px;line-height:1.5}
body.studio-mode .order-card h3{font-size:18px;line-height:1.4}
body.studio-mode .order-card p,body.studio-mode .order-card small,body.studio-mode .order-card strong,body.studio-mode .order-card button,body.studio-mode .download-actions a,body.studio-mode .human-review p,body.studio-mode #staff-content>p,body.studio-mode #staff-login p{font-size:14px;line-height:1.5}
body.studio-mode .project-row,body.studio-mode #project-summary,body.studio-mode #staff-project-state{font-size:16px;line-height:1.5}
body.studio-mode .editor-status{height:auto;min-height:48px;flex-wrap:wrap;gap:8px 18px;padding:10px 16px;font-size:14px;line-height:1.5}
body.studio-mode .close-dialog{width:44px;height:44px;min-height:44px;font-size:30px}
@media(max-width:1200px){body.studio-mode{height:auto;min-height:100dvh;overflow:auto}body.studio-mode main{height:auto;flex:none}body.studio-mode .workspace{grid-template-columns:180px minmax(0,1fr);grid-template-rows:540px auto;height:auto}body.studio-mode .layer-rail{grid-column:1;grid-row:1;height:540px;display:flex;flex-direction:column}body.studio-mode .viewer-card{grid-column:2;grid-row:1;min-height:540px}body.studio-mode .controls{grid-column:1/3;grid-row:2;height:auto;min-height:520px;overflow:visible}body.studio-mode .control-panel{overflow:visible;max-height:none}body.studio-mode #swatches{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){body.studio-mode .topbar nav{width:100%;justify-content:space-between}body.studio-mode .file-controls{width:100%}body.studio-mode .design-name-label{width:100%}body.studio-mode .design-name-label input{width:100%!important;flex:1;min-width:0}body.studio-mode .camera-slot{width:100%}body.studio-mode .camera-slot .view-tools{justify-content:flex-start}body.studio-mode .workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(440px,60svh) auto auto}body.studio-mode .viewer-card{grid-column:1;grid-row:1;min-height:440px}body.studio-mode .layer-rail{grid-column:1;grid-row:2;height:auto;min-height:240px;display:flex;flex-direction:column}body.studio-mode .layer-rail #layer-list{display:flex;flex-direction:row;flex:1;overflow-x:auto;grid-column:auto;grid-row:auto}body.studio-mode .layer-item{min-width:160px;max-width:220px}body.studio-mode .controls{grid-column:1;grid-row:3;min-height:520px;height:auto}body.studio-mode #swatches{grid-template-columns:repeat(2,minmax(0,1fr))}body.studio-mode .viewer-foot{align-items:flex-start}body.studio-mode .model-credit{width:100%}body.studio-mode .floating-toolbar button{padding:9px 10px}body.studio-mode .floating-toolbar{top:10px}body.studio-mode #chart-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}body.studio-mode #material-dialog{padding:16px}body.studio-mode #material-dialog .dialog-head h2{font-size:24px}body.studio-mode .chart-selection{align-items:stretch;flex-direction:column;gap:8px}body.studio-mode .chart-selection .primary{width:100%}}

/* Explicit controls override older compact editor rules. */
body.studio-mode #selection-hint{font-size:14px;line-height:1.5;max-width:none;white-space:normal;overflow:visible;text-overflow:clip;flex-basis:100%;text-align:center;color:#c8c8c8}
body.studio-mode .status-model{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
body.studio-mode #materials-panel label,body.studio-mode #material-dialog label,body.studio-mode #staff-login label{font-size:14px;line-height:1.5}
body.studio-mode .topbar nav button,body.studio-mode .editor-commandbar .outline,body.studio-mode .editor-commandbar .small-primary,body.studio-mode #open-projects,body.studio-mode .camera-slot .view-tools button,body.studio-mode .floating-toolbar button,body.studio-mode .vehicle-choice-bar button,body.studio-mode button.primary,body.studio-mode button.outline,body.studio-mode button.small-primary,body.studio-mode .danger-quiet,body.studio-mode .quiet,body.studio-mode #clear-material-filters,body.studio-mode #upgrade-model,body.studio-mode #save-project,body.studio-mode .fitting-tools button,body.studio-mode .upload-button{font-size:16px;line-height:1.4;min-height:44px}
body.studio-mode #material-dialog .dialog-lead,body.studio-mode .chart-result-bar,body.studio-mode .chart-selection p,body.studio-mode .human-review .checkline,body.studio-mode .artwork-warning,body.studio-mode .asset-generation,body.studio-mode .material-empty,body.studio-mode .source-status,body.studio-mode #toast{font-size:14px;line-height:1.5}
body.studio-mode #staff-login input{font-size:16px}
body.studio-mode .status-model{max-width:48%}
@media(max-width:700px){body.studio-mode .status-model{max-width:100%}body.studio-mode .rail-title{min-height:30px}body.studio-mode .rail-tools{min-height:44px}}

body.studio-mode #material-technical-source,body.studio-mode .human-review small,body.studio-mode .checkline.compact,body.studio-mode .order-intro>p:not(.eyebrow),body.studio-mode .production-link{font-size:14px;line-height:1.5}
body.studio-mode .project-row button{font-size:16px;line-height:1.4;min-height:44px}
body.studio-mode .floating-toolbar{width:max-content}
@media(max-width:700px){body.studio-mode .workspace{grid-template-rows:minmax(680px,80svh) auto auto}body.studio-mode .viewer-card{min-height:680px}body.studio-mode .vehicle-choice-bar label{flex-basis:100%;flex-direction:column;align-items:stretch}body.studio-mode .vehicle-choice-bar select{width:100%;flex:none;max-width:100%}body.studio-mode .vehicle-choice-bar button{width:100%}}

body.studio-mode #layer-editor button{font-size:16px;line-height:1.4;min-height:44px}

@media(min-width:1201px) and (max-height:760px){body.studio-mode{height:auto;overflow:auto}body.studio-mode main{height:auto;flex:none}body.studio-mode .workspace{min-height:620px;height:620px}}

/* Technical sheets remain readable and tappable in both colour selectors. */
body.studio-mode #material-technical-source,body.studio-mode #chart-technical-source{display:block;font-size:16px;line-height:1.5;min-height:44px;padding:8px 0;box-sizing:border-box;overflow-wrap:anywhere}
body.studio-mode #material-technical-source[hidden],body.studio-mode #chart-technical-source[hidden]{display:none}

/* Clear 3D stage: vehicle selection on the left, tools and views on the right. */
body.studio-mode .workspace{grid-template-columns:250px minmax(0,1fr) 320px}
body.studio-mode .layer-rail,body.studio-mode .controls{overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}
body.studio-mode .layer-rail>*,body.studio-mode .controls>*{flex-shrink:0}
body.studio-mode .layer-rail #layer-list{flex:0 0 auto;overflow:visible;margin:10px 0}
body.studio-mode .layer-rail .vehicle-choice-bar{display:flex;flex-direction:column;align-items:stretch;padding:4px 4px 16px;margin-bottom:14px;border-bottom:1px solid var(--line);background:transparent}
body.studio-mode .layer-rail .vehicle-choice-bar label{display:flex;flex-direction:column;align-items:stretch;flex:none;min-width:0;gap:6px}
body.studio-mode .layer-rail .vehicle-choice-bar select{width:100%;min-width:0;max-width:100%;flex:none}
body.studio-mode .layer-rail .vehicle-choice-bar button{width:100%;white-space:normal}
body.studio-mode .layer-rail .viewer-hint{position:static;inset:auto;text-align:left;margin:0;color:var(--muted);pointer-events:auto}
body.studio-mode .layer-rail .viewer-hint span{padding:0 4px}
body.studio-mode .controls .floating-toolbar{position:static;inset:auto;transform:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:auto;max-width:none;margin:12px 12px 0;padding:4px;gap:2px;border-radius:8px;box-shadow:none;white-space:normal}
body.studio-mode .controls .floating-toolbar button{min-width:0;padding:9px 2px;white-space:nowrap;border-radius:5px}
body.studio-mode .controls .toolbar-divider{display:none}
body.studio-mode .controls #selection-hint{display:block;grid-column:1/-1;padding:4px 2px;text-align:left}
body.studio-mode .controls .camera-slot{padding:12px;border-bottom:1px solid var(--line)}
body.studio-mode .controls .camera-slot .view-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
body.studio-mode .controls .camera-slot .view-tools button{width:100%;min-width:0;padding:8px 6px;white-space:normal}
body.studio-mode .controls .control-panel{flex:0 0 auto;overflow:visible;max-height:none}
body.studio-mode .viewer-watermark{top:16px;right:16px}
@media(min-width:701px) and (max-width:1200px){
 body.studio-mode .workspace{grid-template-columns:250px minmax(0,1fr)}
 body.studio-mode .controls .floating-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.studio-mode .controls .camera-slot .view-tools{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(max-width:700px){
 body.studio-mode .workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(440px,60svh) auto auto}
 body.studio-mode .viewer-card{min-height:440px}
 body.studio-mode .controls .floating-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.studio-mode .controls #tool-logo{grid-column:1/-1}
 body.studio-mode .layer-rail,body.studio-mode .controls{overflow:visible}
 body.studio-mode .layer-rail #layer-list{overflow-x:auto;min-height:90px}
}

/* Local palette tools: native comparison uses the existing Rotulame typography. */
.palette-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.palette-shortcuts button{flex:1 1 150px;font:700 16px Arial,sans-serif;white-space:normal;padding:10px 12px;min-height:44px}
.digital-color-label{font:400 14px Arial,sans-serif;color:var(--muted);margin:10px 0 4px}
.digital-color-value{font:700 16px Arial,sans-serif;overflow-wrap:anywhere;margin:4px 0 12px}
.material-comparison{padding:20px 0;margin:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.material-comparison h3{font:700 22px Arial,sans-serif;margin:0 0 10px}
.material-comparison>p{font:400 16px/1.5 Arial,sans-serif}
.comparison-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.comparison-actions button,.color-comparison-card button{font:700 16px Arial,sans-serif;min-height:44px;white-space:normal;padding:10px 12px}
.material-comparison-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.color-comparison-card{border:1px solid var(--line);border-radius:8px;padding:16px;min-width:0;background:var(--panel,#161b18);display:flex;flex-direction:column;gap:8px}
.color-comparison-card h4{font:700 18px Arial,sans-serif;margin:0}
.color-comparison-card strong,.color-comparison-card p{font:400 16px/1.5 Arial,sans-serif;margin:0;overflow-wrap:anywhere}
.color-comparison-card strong{font-weight:700}
.color-comparison-card .digital-color-value{font-weight:700}
.color-comparison-preview{height:140px;min-height:100px;border:1px solid #6a706b;border-radius:6px}
.material-comparison .fine-print{font-size:14px}
@media(max-width:700px){.material-comparison-slots{grid-template-columns:minmax(0,1fr)}.comparison-actions button{flex:1 1 200px}.color-comparison-preview{height:110px}}

body.studio-mode #material-digital-value,body.studio-mode #chart-digital-value{font-size:16px;line-height:1.5}

/* A restored draft remains editable while protected artwork awaits its session. */
body.studio-mode .artwork-recovery{margin:12px;padding:14px;border:1px solid #80602d;border-radius:8px;background:#252117;color:#f1dfbb}
body.studio-mode .artwork-recovery h3{font:700 18px/1.4 Arial,sans-serif;margin:0 0 8px}
body.studio-mode .artwork-recovery p{font:400 14px/1.5 Arial,sans-serif;margin:0 0 10px;overflow-wrap:anywhere}
body.studio-mode .artwork-recovery button{font:700 16px/1.4 Arial,sans-serif;min-height:44px;white-space:normal;width:100%}

/* Mobile artwork sliders keep a full touch target without changing their scale. */
@media(max-width:1000px){body.studio-mode #layer-editor input[type=range]{height:44px;min-height:44px}}

#staff-file-form{display:grid;gap:12px}#staff-file-form label{display:grid;gap:6px}#staff-file-form input,#staff-file-form select,#human-review-note{font:16px/1.4 Arial,sans-serif;max-width:100%;box-sizing:border-box}#save-provisional-preview{margin-top:12px;white-space:normal}#staff-file-form p{margin:0}#staff-file-form button{white-space:normal}

#bind-quote-form{display:grid;gap:12px}#bind-quote-form label{display:grid;gap:6px}#bind-quote-form select{font:16px/1.4 Arial,sans-serif;width:100%;max-width:100%;box-sizing:border-box}#bind-quote-form button{white-space:normal}#bind-quote-form p{margin:0}
