/* finesse · existing black/silver/red · original editor canvas and queue · parent navigation */
#restored-local-host{position:absolute;z-index:4;background:var(--page)}
#restored-local-host[hidden]{display:none}
#restored-local-host iframe{width:100%;height:100%;border:0;display:block}
.studio-body:has(.mode-tab[data-mode=style][aria-pressed=true]) .input-column .prep-preference{margin-top:24px}
.studio-body .input-column .car-meta{column-gap:24px}
.studio-body .input-column .field-title{display:block;margin-bottom:10px;line-height:1.5}
.studio-body:has(.mode-tab[data-mode=style][aria-pressed=true]) .setup-pane>.studio-section-title{padding:0;margin:0 0 18px;border:0;background:none;align-items:center}
.studio-body:has(.mode-tab[data-mode=style][aria-pressed=true]) .setup-pane>.studio-section-title h2{font-size:20px;font-weight:600;letter-spacing:-.02em}
.studio-body:has(.mode-tab[data-mode=style][aria-pressed=true]) .setup-pane>.studio-section-title h2::after{content:none}
.studio-body:has(.mode-tab[data-mode=style][aria-pressed=true]) .setup-pane>.studio-section-title small{font-size:12px;color:var(--ink)}
@media(max-width:800px){.studio-body:has(.mode-tab[data-mode=style][aria-pressed=true]) .setup-pane>.studio-section-title{align-items:start;flex-direction:column}.studio-body .input-column .prep-preference{margin-top:20px}}

:root{--workbench-red:#8c1f2a;--workbench-red-hover:#a92735;--workbench-grid:rgba(184,197,204,.055)}
.studio-body .car-stage,.studio-body .reference-slot{background-color:var(--page);background-image:linear-gradient(var(--workbench-grid) 1px,transparent 1px),linear-gradient(90deg,var(--workbench-grid) 1px,transparent 1px);background-size:32px 32px;border-radius:6px}
.studio-body .empty{background:transparent}
.studio-body .primary,.workspace-body .primary,.studio-body [data-action=upload-reference]{background:var(--workbench-red);color:var(--ink);border:1px solid var(--accent);border-radius:4px}
.studio-body .primary:hover,.workspace-body .primary:hover,.studio-body [data-action=upload-reference]:hover{background:var(--workbench-red-hover)}
.studio-body:has(.mode-tab[data-mode=style][aria-pressed=true]) .input-column .field-title{margin-bottom:12px}
.context-back{display:flex;align-items:center;min-height:36px;margin:0 0 10px;padding:0 8px;background:none;border:0;color:var(--secondary);font-size:13px;cursor:pointer}
.context-back:hover{color:var(--ink)}
.expanded-proposals{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.expanded-proposals .expanded-proposal{display:flex;flex-direction:column;gap:18px;padding:16px;min-width:0;cursor:zoom-in}
.expanded-proposals .expanded-proposal:hover{border-color:var(--secondary)}
.expanded-proposals .expanded-proposal.selected{border-color:var(--accent)}
.expanded-proposals .proposal-details{display:flex;flex-direction:column;flex:1;min-width:0}
.expanded-proposals .proposal-details h2{font-size:22px;line-height:1.4}
.expanded-proposals .proposal-details dl{grid-template-columns:minmax(0,1fr);gap:8px}
.expanded-proposals .proposal-details dd{margin:0 0 16px}
.expanded-proposals .proposal-details>.button{margin-top:auto}
.proposal-enlarge{align-self:flex-start;background:none;border:0;padding:8px 0;min-height:44px;color:var(--secondary);cursor:zoom-in}
dialog:has(.proposal-large){width:min(1200px,94vw);max-width:94vw}
.proposal-large{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}
.proposal-large img{width:100%;height:auto}
.proposal-large .proposal-details{min-width:0}
@media(max-width:1150px){.expanded-proposals{grid-template-columns:repeat(3,minmax(300px,1fr));overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:12px}.expanded-proposals .expanded-proposal{scroll-snap-align:start}}
@media(max-width:700px){.proposal-large{grid-template-columns:minmax(0,1fr)}}
