/* Old single-model workbenches: applied after their embedded styles by build-site-shell. */
body.nev-site-unified.nev-legacy-workbench{background:linear-gradient(145deg,#d7e0e8,#eef2f5 44%,#d4dde5);color:#1d3348}
body.nev-site-unified.nev-legacy-workbench>.layout{height:calc(100svh - var(--nev-top))!important;min-height:0!important;grid-template-columns:246px minmax(0,1fr)!important;gap:12px!important;padding:12px!important;background:transparent!important}
body.nev-site-unified.nev-legacy-workbench :is(.sidebar,.inspector){min-width:0;background:linear-gradient(160deg,#f6f8fa,#e8eef3)!important;border:1px solid #b9c9d7!important;border-radius:16px!important;box-shadow:0 12px 28px #39546a17!important;color:#294258!important}
body.nev-site-unified.nev-legacy-workbench .sidebar{height:100%;min-height:0!important;overflow:auto!important}
body.nev-site-unified.nev-legacy-workbench .inspector{height:100%;min-height:0!important;overflow:auto!important;padding-bottom:16px}
body.nev-site-unified.nev-legacy-workbench .panel-head{padding:17px 15px 13px!important;border-bottom:1px solid #cbd7e1!important;background:transparent!important}
body.nev-site-unified.nev-legacy-workbench .panel-head h1{margin:4px 0 0!important;color:#203a52!important;font-size:18px!important;font-weight:650!important;line-height:1.4!important}
body.nev-site-unified.nev-legacy-workbench .eyebrow,body.nev-site-unified.nev-legacy-workbench .counts,body.nev-site-unified.nev-legacy-workbench .control-sub,body.nev-site-unified.nev-legacy-workbench .sidebar-note{color:#60788d!important}
body.nev-site-unified.nev-legacy-workbench .sidebar :is(label,p,small,.muted),body.nev-site-unified.nev-legacy-workbench .inspector :is(label,p,small,.muted){color:#506b80!important}
body.nev-site-unified.nev-legacy-workbench #model-select,body.nev-site-unified.nev-legacy-workbench input[type=search],body.nev-site-unified.nev-legacy-workbench select{background:#f9fbfc!important;border:1px solid #bdcedb!important;border-radius:8px!important;color:#304f67!important;box-shadow:inset 0 1px 2px #758ea214!important}
body.nev-site-unified.nev-legacy-workbench input[type=range]{accent-color:#1877c8!important}
body.nev-site-unified.nev-legacy-workbench button{min-height:31px!important;color:#31546e!important;background:#edf3f7!important;border:1px solid #b7cad9!important;border-radius:8px!important;box-shadow:none!important;font-weight:550}
body.nev-site-unified.nev-legacy-workbench button:hover:not(:disabled){color:#075fae!important;background:#fff!important;border-color:#6e9fc5!important}
body.nev-site-unified.nev-legacy-workbench button.active,body.nev-site-unified.nev-legacy-workbench button[aria-pressed=true],body.nev-site-unified.nev-legacy-workbench .part.is-selected{color:#075fae!important;background:#dceefa!important;border-color:#7ba9cc!important}
body.nev-site-unified.nev-legacy-workbench .stage{height:100%!important;min-height:0!important;border:1px solid #8ea9bf!important;border-radius:18px!important;overflow:hidden!important;background:radial-gradient(ellipse at 50% 32%,#829ba9,#354954 63%,#24353f)!important;box-shadow:0 12px 28px #31495d22!important}
body.nev-site-unified.nev-legacy-workbench .stage-top{background:#eff4f7e8!important;border-bottom:1px solid #c2d1dc!important;color:#29475f!important}
body.nev-site-unified.nev-legacy-workbench .stage-top :is(span,strong,label){color:#29475f!important}
body.nev-site-unified.nev-legacy-workbench #viewport{background:radial-gradient(ellipse at 50% 36%,#758f9d,#334854 65%,#253842)!important}
body.nev-site-unified.nev-legacy-workbench #viewport canvas{outline:0!important}
body.nev-site-unified.nev-legacy-workbench .stage-caption{background:#edf3f7dd!important;color:#456176!important;border-top:1px solid #b9cad7!important}
body.nev-site-unified.nev-legacy-workbench .view-controls{background:#edf3f7d9!important;border-color:#bdcedb!important}
body.nev-site-unified.nev-legacy-workbench .metrics{gap:8px!important}
body.nev-site-unified.nev-legacy-workbench .metric{background:#f8fafb!important;border:1px solid #c4d2dd!important;border-radius:10px!important;color:#33566e!important}
body.nev-site-unified.nev-legacy-workbench .metric :is(label,strong,span){color:#294a63!important}
body.nev-site-unified.nev-legacy-workbench .selection,body.nev-site-unified.nev-legacy-workbench .part-actions,body.nev-site-unified.nev-legacy-workbench .run-line{border-color:#c2d0db!important;background:#f5f8fa!important}
body.nev-site-unified.nev-legacy-workbench #parts-panel{background:transparent!important}
body.nev-site-unified.nev-legacy-workbench details[data-module]{border-bottom:1px solid #ccd7e0!important;background:transparent!important}
body.nev-site-unified.nev-legacy-workbench details[data-module]>summary{color:#34546b!important;background:#e6edf2!important;border-radius:7px!important;padding:8px 9px!important;font-weight:600!important}
body.nev-site-unified.nev-legacy-workbench details[data-module][open]>summary{background:#dcebf4!important;color:#0868b5!important}
body.nev-site-unified.nev-legacy-workbench .part-row{color:#456278!important;border-radius:6px!important}
body.nev-site-unified.nev-legacy-workbench .part-row:hover{background:#dfeaf2!important;color:#075fae!important}
body.nev-site-unified.nev-legacy-workbench .filter-feedback,body.nev-site-unified.nev-legacy-workbench .status-line{color:#57748a!important}
body.nev-site-unified.nev-legacy-workbench dialog{color:#243c51!important;background:#f7fafc!important;border:1px solid #aec4d5!important;border-radius:14px!important;box-shadow:0 20px 60px #24384c55!important}
@media(max-width:1080px){body.nev-site-unified.nev-legacy-workbench>.layout{grid-template-columns:210px minmax(0,1fr)!important}body.nev-site-unified.nev-legacy-workbench .inspector{position:absolute!important;right:16px!important;top:calc(var(--nev-top) + 16px)!important;width:264px!important;height:auto!important;max-height:calc(100svh - var(--nev-top) - 32px)!important;z-index:30}}
@media(max-width:800px){body.nev-site-unified.nev-legacy-workbench{height:auto;min-height:100svh;overflow:auto}body.nev-site-unified.nev-legacy-workbench>.layout{height:auto!important;min-height:calc(100svh - var(--nev-top))!important;display:block!important;padding:8px!important}body.nev-site-unified.nev-legacy-workbench .sidebar{display:none;height:auto!important}body.nev-site-unified.nev-legacy-workbench.parts-open .sidebar{display:block;position:fixed!important;top:var(--nev-top)!important;bottom:0;left:0;width:min(290px,88vw);z-index:190;border-radius:0 15px 0 0!important}body.nev-site-unified.nev-legacy-workbench .stage{height:66svh!important;min-height:440px!important}body.nev-site-unified.nev-legacy-workbench .inspector{position:static!important;width:auto!important;height:auto!important;max-height:none!important;margin-top:8px!important}.nev-site-unified.nev-legacy-workbench .metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* Standalone models keep their inspector inside the 3D view, with two layout columns. */
body.nev-site-unified.nev-legacy-workbench .bottom{background:#e7eef4!important;color:#304b62!important;border-color:#bacbd8!important;border-radius:0 0 14px 14px;padding:15px 20px!important;gap:20px!important}
body.nev-site-unified.nev-legacy-workbench .status-line{background:#dee7ee!important;color:#466278!important;border-color:#b5c8d7!important}
body.nev-site-unified.nev-legacy-workbench :is(.bottom label,.bottom small,.bottom .control-sub,.bottom output,.selection,#selection-empty,#part-name,.selection dd,.selection dt){color:#3b5970!important}
body.nev-site-unified.nev-legacy-workbench :is(#metric-0,#metric-1,#metric-2){color:#165c99!important}
body.nev-site-unified.nev-legacy-workbench .stage-caption{background:#263744e0!important;border:0!important;border-radius:8px!important;padding:6px 9px!important}
body.nev-site-unified.nev-legacy-workbench .stage-caption p{color:#d5e3ed!important}
#nev-page-tools .nev-legacy-parts-toggle{display:none}
@media(max-width:800px){#nev-page-tools .nev-legacy-parts-toggle{display:inline-flex}body.nev-site-unified.nev-legacy-workbench .bottom{grid-template-columns:1fr!important}body.nev-site-unified.nev-legacy-workbench .selection{position:relative!important;left:12px!important;right:auto!important;top:105px!important;max-width:calc(100% - 24px)!important;width:210px!important;padding:10px!important;pointer-events:auto}body.nev-site-unified.nev-legacy-workbench .view-controls{left:12px;right:12px;bottom:12px;flex-wrap:wrap;gap:4px}}
