/* Category cards belong to the viewport; their scroll never moves the scene. */
.dc-scene-palette{position:absolute;inset:0 auto 0 0;width:216px;z-index:6;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;background:var(--c-surface,#fff);border-right:1px solid var(--c-line,#ddd);padding-bottom:12px}
.dc-scene-palette[hidden]{display:none!important}.dc-scene-palette .dc-model-categories{padding:14px 10px;border:0}
.dc-scene-palette .dc-model-categories__head{display:block;margin-bottom:12px}.dc-scene-palette .dc-model-categories__head h3{font-size:14px}.dc-scene-palette .dc-model-categories__head>span{display:none}
.dc-scene-palette .dc-model-categories__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.dc-scene-palette .dc-model-category{min-height:108px;padding:7px;border-radius:12px}.dc-scene-palette .dc-model-category__media{height:40px;margin-bottom:6px}.dc-scene-palette .dc-model-category__label{font-size:11px}.dc-scene-palette .dc-model-category__value{font-size:10px}.dc-scene-palette .dc-model-category__count{display:none}
.dc-canvas.has-scene-palette .dc-3d{left:216px;width:calc(100% - 216px)}
.dc-canvas.has-scene-palette .dcv-controls{left:216px;width:calc(100% - 216px)}
.dc-viewport:has([data-dc-model-status]) .dc-asset-status{display:none}
.dc-model-status-foot{font-size:11px;color:var(--c-text-2,#6e6e73);line-height:1.5}.dc-viewport__foot:has(.dc-model-status-foot){flex-wrap:wrap;gap:6px 16px}
@container dcviewer (max-width:700px){.dc-scene-palette{width:190px;box-shadow:8px 0 24px #0001}.dc-canvas.has-scene-palette .dc-3d{left:0;width:100%}.dc-canvas.has-scene-palette .dcv-controls{left:0;width:100%}}
@media(max-width:900px){.dc-scene-palette{width:190px;box-shadow:8px 0 24px #0001}.dc-canvas.has-scene-palette .dc-3d{left:0;width:100%}.dc-canvas.has-scene-palette .dcv-controls{left:0;width:100%}}

.dc-door-drawing{margin:auto;width:min(980px,calc(100vw - 24px));max-height:92dvh;overflow:auto;padding:24px;border:1px solid var(--c-line-strong,#ddd);border-radius:24px;background:var(--c-surface,#fff);color:var(--c-text,#292e3c);box-shadow:0 24px 80px #0003}
.dc-door-drawing::backdrop{background:#17203580;backdrop-filter:blur(4px)}.dc-door-drawing>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.dc-door-drawing h2{font-size:24px;margin:0 0 8px}.dc-door-drawing h3{font-size:17px}.dc-door-drawing header p{font-size:14px;color:var(--c-text-2,#6e6e73)}
.dcd-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(240px,1fr);gap:24px;align-items:center}.dcd-sheet{display:block;width:100%;height:auto;max-height:66dvh;background:var(--c-surface-2,#faf9f7);border:1px solid var(--c-line,#ddd);border-radius:16px;color:var(--c-text,#292e3c)}
.dcd-values{margin:0}.dcd-values>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--c-line,#ddd);font-size:14px}.dcd-values dt{font-weight:500}.dcd-values small{display:block;font-size:12px;font-weight:400;color:var(--c-text-2,#6e6e73);margin-top:4px}.dcd-values dd{font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.dcd-note{font-size:12px;line-height:1.6;color:var(--c-text-2,#6e6e73);margin:16px 0 0}
@media(max-width:600px){.dc-door-drawing{padding:16px}.dcd-layout{grid-template-columns:minmax(0,1fr);gap:18px}.dcd-sheet{max-height:52dvh}}
