.vw-workbench{border:1px solid var(--rule);background:var(--white)}
.vw-actions{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:10px;min-height:65px;border-bottom:1px solid var(--rule);background:var(--paper)}
.vw-actions>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.vw-workbench button,.vw-workbench select,.vw-workbench input:not([type=range]):not([type=checkbox]),.vw-workbench textarea,.vw-file{min-height:44px;border:1px solid #aaa99f;border-radius:0;background:#fffefa;color:var(--ink);padding:8px 9px}
.vw-workbench button,.vw-file{cursor:pointer}.vw-workbench button:disabled{cursor:default;opacity:.55}.vw-workbench [data-export]{background:var(--cobalt);border-color:var(--cobalt);color:white;font-weight:650}.vw-file{position:relative;display:inline-flex;align-items:center;font-size:.88rem}.vw-file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.vw-file:focus-within{outline:3px solid var(--cobalt);outline-offset:3px}
.vw-desk{display:grid;grid-template-columns:minmax(230px,285px) minmax(0,1fr);min-height:460px}.vw-controls{border-right:1px solid var(--rule);padding:14px;min-width:0}.vw-controls summary{padding-block:8px}.vw-inputs{display:grid;gap:11px}.vw-inputs label{display:grid;gap:5px;min-width:0;font-size:.87rem;font-weight:550}.vw-inputs input,.vw-inputs textarea,.vw-inputs select{width:100%;min-width:0;font-size:1rem}.vw-inputs input[type=checkbox]{width:20px;height:20px}.vw-inputs textarea{min-height:122px;resize:vertical;font-family:ui-monospace,monospace;font-size:.88rem;line-height:1.45}.vw-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.vw-workbench small{line-height:1.45}.vw-board{display:flex;flex-direction:column;min-width:0;background:#eae8e0}.vw-preview{display:grid;place-items:center;gap:12px;padding:clamp(10px,3vw,32px);height:100%;min-width:0;overflow:auto}.vw-preview figure{margin:0;min-width:0;width:100%;display:grid;gap:7px}.vw-preview figcaption{font-size:.83rem;color:var(--ink)}.vw-preview [data-art]{width:calc(100% * var(--zoom,1));max-width:none;justify-self:start}.vw-preview svg,.vw-preview img{width:100%;height:auto;min-width:0;max-height:680px;object-fit:contain}.vw-preview svg{background-image:conic-gradient(#efeee8 25%,#fff 0 50%,#efeee8 0 75%,#fff 0);background-size:20px 20px;box-shadow:0 4px 12px #24262223}.vw-pattern [data-art] svg{max-height:none;cursor:crosshair}.vw-compare{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}.vw-workbench .vw-status{padding:9px 13px;min-height:40px;background:var(--white);border-top:1px solid var(--rule);font-size:.84rem}.vw-zoom{display:flex;align-items:center;gap:7px;font-size:.82rem}.vw-zoom input{width:78px;min-height:44px}.vw-materials{list-style:none;padding:0;margin:8px 0;max-height:190px;overflow:auto;font-size:.8rem}.vw-materials li{display:flex;gap:5px;align-items:center;padding:3px}.vw-materials i{display:inline-block;width:12px;height:12px;border:1px solid #777}.vw-materials strong{margin-inline-start:auto}
@media(max-width:740px){.vw-desk{display:flex;flex-direction:column}.vw-board{order:-1;min-height:200px}.vw-controls{border:0;border-top:1px solid var(--rule)}.vw-preview{max-height:70svh}.vw-preview svg,.vw-preview img{max-height:none}.vw-actions{position:sticky;top:0;z-index:3;padding-inline:7px;gap:5px}.vw-actions>div{gap:4px}.vw-actions button,.vw-actions select,.vw-actions .vw-file{font-size:.8rem;padding-inline:6px}.vw-zoom input{width:60px}.vw-actions [data-scale]{max-width:67px}.vw-inputs textarea{font-size:1rem}}
