#local-workspace {background:#141714; border:1px solid var(--line); border-radius:20px; padding:16px;}
#local-workspace.dragging {outline:2px dashed var(--yellow); outline-offset:3px;}
.viewer-file-bar, #animation-controls {display:flex; align-items:center; gap:12px; flex-wrap:wrap;}
.viewer-file-bar {padding-bottom:16px; color:#bdc6b6; font-size:14px;}
.viewer-placeholder {display:grid; place-content:center; justify-items:center; gap:14px; min-height:330px; border:1px dashed #626b52; border-radius:12px; background:radial-gradient(ellipse at center,#242a21,#111410 75%);}
.viewer-placeholder img {max-width:100%; object-fit:contain; border-radius:12px;}
#local-workspace #model-stage {--viewer-height:clamp(350px,53vh,540px); width:100%; border-radius:12px; background:radial-gradient(ellipse at center,#363d32,#171b17);}
#local-workspace #model-stage:fullscreen {--viewer-height:100%; border-radius:0; grid-template-rows:minmax(0,1fr) auto;}
#viewer-status {font-size:14px; color:#d4dbcf; margin:12px 0 0; overflow-wrap:anywhere;}
#viewer-status:empty {display:none;}
#animation-controls {padding-top:12px;}
#animation-controls select,#animation-controls button {max-width:100%; padding:6px 12px; color:var(--ink); background:var(--panel); border:1px solid var(--line); border-radius:7px;}
#animation-controls label {min-width:0;}
#local-workspace [hidden] {display:none;}

.viewer-formats {display:flex; flex-wrap:wrap; gap:6px; margin:16px 0;}
.viewer-formats a {padding:6px 12px; color:var(--ink); border:1px solid var(--line); border-radius:8px; text-decoration:none;}
.viewer-formats a:hover, .viewer-formats a:focus-visible {border-color:var(--yellow);}
.viewer-formats a[aria-current] {color:var(--yellow); border-color:var(--yellow);}
