.workbench .drawing [hidden] {display:none!important}
.furniture-photo {margin:.75rem 0 0;min-width:0}
.furniture-stage {position:relative;background:linear-gradient(157deg,#eee8df,#e8dfd2 63%,#f4efe7);overflow:hidden}
.furniture-stage canvas {width:100%;height:auto;display:block}
.furniture-photo figcaption {font:italic .98rem/1.4 var(--serif);color:var(--muted);margin:.55rem 0 .7rem}
.furniture-enlarge {position:absolute;right:.6rem;bottom:.6rem;display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .68rem;background:#faf7f0ed;color:#423b35;font:.88rem/1.25 var(--sans)}
.render-status:not(:empty) {position:absolute;left:.65rem;top:.6rem;max-width:85%;padding:.3rem .6rem;background:#f9f6efed;font:.87rem/1.4 var(--sans)}
.render-status button {text-decoration:underline;padding:0 .3rem}
#furniture-viewer canvas {display:block;width:100%;height:auto;max-height:calc(95dvh - 5rem);object-fit:contain}
#sofa-photo canvas {cursor:pointer}
body:has(#furniture-viewer[open]) {overflow:hidden}
@media(min-width:801px) {.workbench .drawing:has(.furniture-photo:not([hidden])){position:sticky;top:1rem}}
@media(max-width:800px) {
 .builder .drawing:has(.furniture-photo:not([hidden])){position:sticky;top:0;z-index:1;padding:.55rem;background:#faf8f0}
 .drawing:has(.furniture-photo:not([hidden])) .drawing-project,.drawing:has(.furniture-photo:not([hidden])) .drawing-foot,.drawing:has(.furniture-photo:not([hidden])) .plate-key{display:none}
 .drawing:has(.furniture-photo:not([hidden])) .drawing-head{padding:0 0 .25rem}
 .furniture-photo{margin-top:.35rem}
 .furniture-stage canvas{height:clamp(7.5rem,27svh,15rem);object-fit:contain}
 .furniture-photo figcaption{font-size:.85rem;margin:.28rem 0 0}
 .workbench .editor :is(input,button,a,select,summary){scroll-margin-top:calc(clamp(7.5rem,27svh,15rem) + 5.8rem)}
 .workbench .editor{scroll-margin-top:calc(clamp(7.5rem,27svh,15rem) + 5.8rem)}
}
@media(max-width:800px) and (max-height:520px){.builder .drawing:has(.furniture-photo:not([hidden])){position:static}}
.finish-detail{height:3.4rem;margin:.45rem 0 .75rem;border:1px solid #30282018;background-color:var(--finish-color);background-image:var(--finish-grain);background-size:120px auto;background-blend-mode:soft-light}
.bed-material-group .finish-detail{grid-column:1/-1;height:2.35rem;margin:0 0 .1rem}
.workbench .colors{flex-wrap:wrap}
.material-references{font-size:.86rem;line-height:1.45;color:var(--muted);margin:.85rem 0}
.material-references summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.material-references p{margin:.6rem 0}
.material-references ul{margin:.25rem 0;padding-left:1.1rem}
.material-references a{text-decoration:underline;text-underline-offset:2px}
