/* Designer instrument panel: quiet surfaces, named controls, one active accent. */
.cfg.workspace{font-family:var(--font);color:var(--ink);background:var(--canvas);font-size:13px;-webkit-font-smoothing:antialiased}
.workspace button,.workspace input,.workspace select{font-family:inherit;letter-spacing:0}
.workspace button:focus-visible,.workspace summary:focus-visible{outline:2px solid var(--brand-text);outline-offset:2px}
.workspace .cfg-top{background:var(--nav);color:#fff;border:0;height:64px;padding:0 24px}
.workspace .cfg-top .brand,.workspace .cfg-top .cart-link{color:#fff}
.workspace .cfg-top .brand{font-size:19px;letter-spacing:-.7px}.workspace .workspace-site{font-size:12px;gap:24px}
.workspace .workspace-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:7px 16px;padding:13px 18px;background:var(--surface);border-bottom:1px solid var(--line)}
.workspace-heading h1{grid-column:1;grid-row:1;margin:0;max-width:none;font-size:15px;font-weight:550;letter-spacing:-.25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.workspace-heading .spec-chips{grid-column:1;grid-row:2;margin:0;gap:10px;min-width:0;overflow:hidden}
.workspace-heading .spec-chip{border:0;background:none;padding:0;min-height:22px;font-size:11px;color:var(--muted);white-space:nowrap}
.workspace-heading .workspace-history{grid-column:2;grid-row:1;justify-content:flex-end;margin:0}
.workspace-heading .workspace-views{grid-column:2;grid-row:2;margin:0;justify-self:end}
.workspace .workspace-views .seg{border:0;background:var(--canvas);border-radius:5px;padding:2px;gap:1px}
.workspace .workspace-views .seg button{min-height:28px;padding:5px 10px;border:0;border-radius:3px;background:none;font-size:11px;color:#555b53}
.workspace .workspace-views .seg button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 2px #26302020}
.workspace .workspace-history .btn{background:transparent;border-color:transparent;min-height:28px;padding:4px 7px;font-size:11px}
.workspace .workspace-inspector{background:var(--surface);border-left:1px solid var(--line)}
.workspace .workspace-steps{background:var(--surface);border-bottom:1px solid var(--line)}
.workspace .workspace-steps .stepper button{min-height:48px;gap:7px;font-size:12px;font-weight:500}
.workspace .workspace-steps .stepper .dot{width:18px;height:18px;font-size:10px;border:0;background:var(--line);color:#60665d}
.workspace .workspace-steps .stepper .current .dot{background:var(--brand);color:var(--nav)}
.workspace .workspace-steps .stepper .current button{border-bottom-color:var(--brand)}
.workspace .workspace-scroll{scrollbar-width:thin;scrollbar-color:#b9beb3 transparent}
.workspace .workspace-guide,.workspace .feature-controls{background:transparent}
.workspace .workspace-scroll>.workspace-guide{padding:18px 18px 12px}
.workspace .workspace-editor-inspector .feature-controls{padding:16px 18px;font-size:13px;line-height:1.45}
.workspace .feature-controls h2,.workspace .workspace-guide h2{font-size:17px;line-height:1.2;letter-spacing:-.35px;font-weight:550;margin:0 0 18px}
.workspace .feature-controls h3{font-size:13px;letter-spacing:-.1px;font-weight:550}
.workspace .field{font-size:12px;line-height:1.4;gap:6px}
.workspace .field>span{color:#5f655b}
.workspace input:not([type=range]):not([type=checkbox]),.workspace select{border:1px solid #ccd1c5;border-radius:4px;background:#fff;color:var(--ink);min-height:36px;font-size:13px;box-shadow:0 1px 1px #242c1e05}
.workspace .feature-controls .cad-slider{grid-template-columns:minmax(74px,1fr) minmax(45px,.85fr) 68px;gap:12px;font-size:12px;margin:3px 0}
.workspace .feature-controls .cad-slider input[type=number]{text-align:center;padding:6px 3px}
.workspace input[type=range]{accent-color:#555e50}
.workspace .feature-controls .cad-slider input[type=range]{accent-color:#555e50}
.workspace .btn{border-radius:4px;border-color:#cbd0c3;box-shadow:0 1px 0 #2630200c;font-weight:500;font-size:12px}
.workspace .btn.primary{background:var(--brand);border-color:var(--brand);color:var(--nav);font-weight:600;box-shadow:0 1px 0 #ae421c}
.workspace .btn:disabled{opacity:.38;box-shadow:none}
.workspace .workspace-editor-inspector .studio-inspector>nav{background:var(--canvas);border-color:var(--line);gap:4px;padding:5px 12px}
.workspace .workspace-editor-inspector .studio-inspector>nav .btn{border:0;min-height:32px;padding:6px 12px;background:transparent;font-size:12px;box-shadow:none}
.workspace .workspace-editor-inspector .studio-inspector>nav .btn[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 2px #26302015}
.workspace .canvas-feature-tree,.workspace .feature-tree-heading{background:var(--canvas);border-color:var(--line)}
.workspace .canvas-feature-tree .tree-name{font-size:12px}.workspace .canvas-feature-tree .tree-dimensions{font-size:11px;color:var(--muted)}
.workspace .canvas-options [aria-pressed=true],.workspace .edge-choice[aria-pressed=true]{background:var(--brand-soft)!important;border-color:var(--brand)!important;color:var(--brand-text)!important}
.workspace .studio-canvas{background:var(--canvas);padding:24px 36px}
.workspace .studio-canvas .plate{fill:#e3e7ea;stroke:var(--muted);stroke-width:1px}
.workspace .studio-canvas .canvas-editable-outline{stroke:var(--brand);stroke-width:1.5px}
.workspace .studio-canvas .selection-envelope{stroke:#a34f2d;stroke-opacity:.45;stroke-width:1px;stroke-dasharray:2 5}
.workspace .studio-canvas .feature-selected{stroke:var(--brand)!important;fill:#f5e6d9!important;stroke-width:1.5px!important}
.workspace .studio-canvas .canvas-resize-handle,.workspace .studio-canvas .vertex-handle{fill:var(--brand);stroke:#fff;stroke-width:1.5px;filter:drop-shadow(0 1px 1px #242c1e30)}
.workspace .studio-canvas .midpoint-handle{fill:#fff;stroke:#7e8777;stroke-width:1.25px}
.workspace .studio-canvas .vertex-handle.selected,.workspace .studio-canvas .canvas-resize-handle:hover{fill:var(--ink);stroke:#fff}
.workspace .studio-canvas text.panel-dimension,.workspace .ply-dimensions{color:var(--blue);fill:var(--blue);font-family:inherit}
.workspace .studio-canvas line.panel-dimension,.workspace .ply-dimension-lines{stroke:var(--blue);color:var(--blue)}
.workspace .studio-canvas marker[id^=panel-arrow-] path{fill:var(--blue)}
.workspace .ply-dimension-control{font:500 12px/1.2 'Helvetica Neue',Helvetica,Arial,sans-serif;letter-spacing:.1px;color:var(--blue);min-height:36px;padding:4px 8px}
.workspace .ply-dimension-control:hover{background:var(--surface);border-radius:3px;text-decoration:none}
.workspace .ply-dimension-lines .ply-dimension-measure{stroke-width:1px}.workspace .ply-dimension-lines .ply-dimension-extension{stroke-opacity:.55}
.workspace .canvas-drag-readout{color:#6b452f;background:#f6f7f1e8;border-radius:4px;font-size:12px}
.workspace .studio-tools{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:9px 16px;min-height:52px;background:var(--canvas);border-bottom:1px solid var(--line);z-index:6}
.workspace .studio-tools .seg{display:flex;gap:2px;padding:2px;border:0;border-radius:5px;background:var(--canvas)}
.workspace .studio-tools .seg button{min-height:32px;min-width:54px;padding:6px 10px;background:transparent;color:#596151;border:0;border-radius:3px;font-size:12px;font-weight:500;line-height:1.2;box-shadow:none}
.workspace .studio-tools .seg button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 2px #26302020}
.canvas-tool-menu{position:relative;font-size:12px;flex:none}
.canvas-tool-menu>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:7px 10px;min-height:36px;box-sizing:border-box;border:1px solid #cbd1c3;border-radius:4px;background:#f9faf6;color:#31392c;font-weight:500}
.canvas-tool-menu>summary::-webkit-details-marker{display:none}.canvas-tool-menu>summary::after{content:'⌄';font-size:14px;line-height:1;color:#66715e}
.canvas-tool-menu[open]>summary{background:white;border-color:#8a967d}
.canvas-tool-popover{position:absolute;top:calc(100% + 5px);left:0;min-width:152px;padding:5px;display:grid;gap:3px;background:#fff;border:1px solid #c9d1c2;border-radius:5px;box-shadow:0 5px 14px #29342020;z-index:10}
.workspace .canvas-tool-popover .btn{width:100%;justify-content:flex-start;min-height:38px;padding:8px 11px;text-align:left;border:0;box-shadow:none;background:#fff;font-size:12px}
.workspace .canvas-tool-popover .btn:hover{background:#eef1e9}
.workspace .canvas-tool-popover [aria-pressed=true]{background:#fce9db;color:#893d1c}
.workspace .studio-tools .canvas-history{margin-left:auto;display:flex;gap:4px;border:0}
.workspace .studio-tools .canvas-history .btn{min-width:40px;min-height:34px;padding:6px 8px;font-size:11px;border:0;background:transparent;box-shadow:none;color:#4e5947}
.workspace .studio-view-status{font-size:10px;color:#737c6c;background:var(--canvas);border-top:1px solid #d8ded0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:6px 14px;line-height:1.3}
.workspace .studio-view-status span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;text-align:right}
.workspace .canvas-selection-tools{max-width:calc(100% - 24px);background:#f9faf5;border:1px solid #c9d2bf;border-radius:5px;box-shadow:0 3px 8px #26302012;gap:5px}
.workspace .canvas-selection-tools .btn{border:0;background:transparent;font-size:11px}
.workspace .cfg-foot{background:var(--surface);border-color:var(--line)}
.workspace .workspace-price{background:var(--canvas);border-color:#c5ccbc}
.workspace .workspace-price .estimate-pill{border:0;border-radius:0;box-shadow:none;background:none;padding:4px 0;gap:9px;color:#252c20}
.workspace .workspace-price .pill-price{font-size:19px;font-weight:500;letter-spacing:-.5px}
.workspace .workspace-price .pill-qty{font-size:11px;color:#5a6551}
.workspace .workspace-price .pill-go{background:transparent;color:#4b5742;font-size:11px}
.workspace .ply-inspection{background:var(--canvas);color:var(--ink);font-family:inherit}
.workspace .pi-transport,.workspace .pi-stack-pane{background:#f7f8f3}
.workspace .pi-button{border-color:#cbd1c3;border-radius:4px;font-size:11px}
@media(max-width:1050px){.workspace .workspace-heading{grid-template-columns:minmax(0,1fr) auto}.workspace-heading .workspace-views{grid-row:3;grid-column:1/-1;justify-self:center}.workspace-heading .spec-chips{grid-column:1/-1}}
@media(max-width:720px){
 .workspace .workspace-heading{padding:9px 12px;gap:7px 10px}.workspace-heading h1{font-size:14px;grid-column:1;grid-row:1}.workspace-heading .workspace-history{grid-row:1;grid-column:2}.workspace-heading .spec-chips{display:none}.workspace-heading .workspace-views{grid-row:2;grid-column:1/-1;justify-self:stretch}.workspace-heading .workspace-views .seg{justify-content:center}.workspace .workspace-views .seg button{min-height:32px}
 .workspace .studio-tools{gap:5px;padding:7px 10px;justify-content:center}.workspace .studio-tools .seg button{min-width:48px;padding:6px 8px}.canvas-tool-menu>summary{padding:7px 8px;gap:7px}.workspace .studio-tools .canvas-history{margin-left:0}.workspace .studio-tools .canvas-history .btn{padding:4px 6px;min-width:36px}
 .workspace .studio-canvas{padding:20px 24px}.workspace .studio-view-status{font-size:9px;padding:5px 10px}.workspace .studio-view-status span:last-child{display:none}.workspace .workspace-editor-inspector .feature-controls{padding:16px}.workspace input:not([type=range]):not([type=checkbox]),.workspace select{font-size:16px}.workspace .workspace-price .pill-price{font-size:18px}
}

.workspace .workspace-viewer{grid-template-rows:auto minmax(0,1fr)}
.workspace-heading .workspace-views{position:static;transform:none;inset:auto}
.workspace .canvas-selection-tools .canvas-icon{min-width:0;font-size:11px;padding:5px 8px}
.workspace .canvas-selection-tools .selection-count{font-size:10px}
@media(max-width:720px){.workspace .canvas-selection-tools{gap:2px;padding:4px}.workspace .canvas-selection-tools .canvas-icon{padding:5px 7px}.workspace .canvas-selection-tools .selection-count{display:none}}

.canvas-tool-menu[data-active=true]>summary{border-color:#dc754e;background:var(--brand-soft);color:#923f20}
.workspace .studio-canvas text[data-feature-label],.workspace .studio-canvas text[data-pattern-label]{display:none}

.workspace .canvas-selection-tools{overflow:visible;flex-wrap:wrap;justify-content:center}
.workspace .canvas-selection-tools .canvas-tool-menu>summary{min-height:32px;padding:5px 8px;font-size:11px;border:0;background:transparent}
.workspace .canvas-selection-tools .canvas-tool-popover{left:auto;right:0}
.workspace .studio-canvas>svg:focus{outline:none}
.workspace .studio-canvas>svg:focus-visible{outline:1px dashed #8a967d;outline-offset:-3px}
.workspace .canvas-feature-tree .feature-row[aria-pressed=true]{background:var(--brand-soft);color:var(--brand-text)}
.workspace .pattern-step-n{background:#606d54;color:#fff}
.workspace .pattern-result{background:#eef1e8;border-color:#d2dac8;color:#39452f}
.workspace .ply-inspection .pi-button[aria-pressed=true]{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-text)}

/* View modes belong to the viewport, below the drawing rather than over its labels. */
.workspace .workspace-viewer{grid-template-rows:auto minmax(0,1fr) 46px}
.workspace .workspace-viewer>.workspace-views{grid-row:3;display:flex;align-items:center;justify-content:flex-start;gap:10px;position:relative;inset:auto;padding:6px 14px;background:var(--canvas);border-top:1px solid var(--line);z-index:7;min-width:0}
.workspace-view-tools{display:flex;align-items:center}
.workspace-view-tools .canvas-tool-menu>summary{min-height:30px;padding:4px 9px;font-size:11px;background:transparent;border-color:transparent}
.workspace-view-tools .canvas-tool-popover{top:auto;bottom:calc(100% + 8px);left:0}
.workspace .workspace-viewer>.workspace-views .seg{width:auto;flex:none}
.workspace .workspace-viewer>.workspace-views .seg button{flex:none}
@media(max-width:720px){.workspace .workspace-viewer>.workspace-views{padding:6px 8px;gap:4px}.workspace .workspace-viewer>.workspace-views .seg button{padding:4px 7px;font-size:11px;min-height:30px}.workspace-view-tools .canvas-tool-menu>summary{padding:4px 6px;gap:4px}}
.workspace-view-tools .canvas-tool-popover{left:auto;right:0}

/* Slim, translucent viewport controls. Every drawing/view action is a button. */
.workspace .workspace-viewer{position:relative;display:block}
.workspace .workspace-scene{height:100%}
.workspace .workspace-heading{position:absolute;top:0;left:0;right:0;height:40px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;padding:5px 12px;background:#ffffffe6;backdrop-filter:blur(10px);border:0;z-index:8}
.workspace .workspace-heading h1{flex:1;min-width:0;font-size:13px;margin:0}
.workspace .workspace-heading .spec-chips{display:none}
.workspace .workspace-heading .workspace-history{flex:none;display:flex;margin-left:auto}
.workspace .workspace-editor .feature-preview{position:relative;grid-template-rows:minmax(0,1fr) 24px}
.workspace .studio-tools{position:absolute;top:44px;left:10px;right:auto;max-width:calc(100% - 20px);padding:4px;gap:5px;min-height:36px;border:1px solid #d4d9cbd9;border-radius:5px;background:#ffffffed;backdrop-filter:blur(10px);z-index:6}
.workspace .studio-tools .seg button{min-height:30px;min-width:44px;font-size:11px;padding:5px 8px}
.workspace .studio-tools>.btn,.workspace .canvas-cutout-buttons .btn{min-height:30px;min-width:0;padding:5px 8px;font-size:11px;background:transparent;border:0;box-shadow:none}
.canvas-cutout-buttons,.canvas-view-buttons{display:flex;align-items:center;gap:2px}
.workspace .studio-tools [aria-pressed=true]{background:var(--brand-soft)!important;color:#923f20!important}
.workspace .studio-tools .canvas-history{margin-left:3px;padding-left:4px;border-left:1px solid #d4d9cb}
.workspace .studio-tools .canvas-history .btn{min-height:30px;min-width:32px;padding:5px 6px}
.workspace .studio-canvas{padding:110px 36px 66px}
.workspace .workspace-viewer>.workspace-views{position:absolute;left:10px;bottom:10px;right:auto;width:max-content;max-width:calc(100% - 20px);height:38px;box-sizing:border-box;padding:3px;gap:6px;background:#ffffffed;backdrop-filter:blur(10px);border:1px solid #d4d9cbd9;border-radius:5px;z-index:7}
.workspace .workspace-views .seg button{min-height:28px}
.workspace .canvas-view-buttons .btn{min-height:28px;min-width:28px;padding:4px 7px;border:0;background:transparent;box-shadow:none;font-size:12px}
.workspace .studio-view-status{position:absolute;bottom:0;left:0;right:0;height:24px;box-sizing:border-box;background:transparent;border:0;pointer-events:none}
.workspace .studio-view-status span:first-child{display:none}
.workspace .studio-view-status span:last-child{margin-left:auto}
.workspace .studio-canvas>.canvas-selection-tools{top:94px}
.canvas-arrange-buttons{display:flex;flex-wrap:wrap;gap:4px;flex-basis:100%}
.workspace .workspace-inspection,.workspace .workspace-solid,.workspace .workspace-layer{padding-top:40px;padding-bottom:56px;box-sizing:border-box}
@media(max-width:720px){
 .workspace .workspace-heading{height:40px;padding:5px 10px}.workspace .workspace-heading h1{font-size:12px}
 .workspace .studio-tools{left:8px;top:44px;max-width:calc(100% - 16px);gap:2px;justify-content:flex-start;padding:3px}
 .workspace .studio-tools>.btn,.workspace .canvas-cutout-buttons .btn{font-size:10px;padding:5px 6px}.workspace .studio-tools .seg button{min-width:40px;padding:5px 6px;font-size:10px}
 .workspace .studio-tools .canvas-history{margin:0;border:0;padding:0}.workspace .studio-tools .canvas-history .btn{font-size:10px;padding:5px 5px;min-width:30px}
 .workspace .studio-canvas{padding:136px 24px 64px}.workspace .studio-canvas>.canvas-selection-tools{top:120px}
 .workspace .workspace-viewer>.workspace-views{left:8px;bottom:8px;max-width:calc(100% - 16px);gap:2px}
 .workspace .workspace-viewer>.workspace-views .seg button{font-size:10px;padding:4px 6px;min-height:28px}
 .workspace .canvas-view-buttons .btn{font-size:11px;padding:4px 6px;min-width:26px}.workspace .studio-view-status{display:none}
}

/* One action level: quote, order, then the next step at the right edge. */
.cfg.workspace,.cfg.workspace:not([data-step="3"]){grid-template-rows:64px minmax(0,1fr) auto}
.workspace .workspace-viewer,.workspace:not([data-step="3"]) .workspace-viewer{grid-row:2/4}
.workspace .cfg-foot{gap:6px;padding:8px 10px;flex-wrap:nowrap;min-width:0}
.workspace .workspace-price{display:flex;flex:1;min-width:0;height:auto;padding:0;border:0;background:transparent}
.workspace .workspace-price .estimate-pill{padding:4px 0;min-width:0;min-height:40px;display:flex;flex-wrap:wrap;gap:2px 5px;box-shadow:none;border:0;background:transparent}
.workspace .workspace-price .pill-price{font-size:14px;line-height:1.2}
.workspace .workspace-price .pill-qty{font-size:10px}
.workspace .workspace-price .pill-dots{display:none}
.workspace .cfg-foot>.btn{padding:8px;min-width:0;white-space:nowrap;font-size:12px}
.workspace[data-step="3"] .cfg-foot{flex-wrap:wrap}
.workspace .laminate-table-open{width:100%;margin:12px 0}
@media(max-width:720px){
 .cfg.workspace,.cfg.workspace:not([data-step="3"]),.cfg.workspace.drawing-expanded{grid-template-rows:64px auto minmax(0,1fr) auto}
 .workspace .workspace-viewer,.workspace:not([data-step="3"]) .workspace-viewer{grid-row:3}
 .workspace .cfg-foot{grid-row:4;padding:7px 8px;gap:5px}
 .workspace .workspace-price .pill-price{font-size:12px}
}

.workspace .topbar{grid-column:1/-1;grid-row:1;min-width:0;z-index:30}
.workspace .topbar nav{display:flex;align-items:center}
.workspace .topbar .brand{font-size:20px;letter-spacing:-.5px}
.workspace .topbar .btn{box-shadow:none}
.workspace .canvas-options{display:flex;flex-wrap:wrap;gap:6px}
.workspace .canvas-options .btn{white-space:normal;text-align:left;min-height:36px}
.workspace .canvas-options [aria-pressed=true]{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-text)}
.workspace .import-confirm-shortcut{white-space:normal;text-align:left;font-size:11px;padding:4px}
@media(max-width:720px){.workspace .cfg-top{padding:0 12px}.workspace .topbar .top-upload{display:none}.workspace .topbar .brand span{display:none}.workspace .topbar nav{gap:10px}.workspace .topbar .help-link{display:none}}

/* View selection lives upper-right, with an unambiguous selected state. */
.workspace .workspace-viewer>.workspace-views{top:46px;right:10px;left:auto;bottom:auto;height:auto;min-height:38px;border-color:var(--line);box-shadow:0 2px 8px #00000012}
.workspace .workspace-views .seg button[aria-pressed=true],.workspace .solid-tools .btn[aria-pressed=true]{background:var(--brand);color:var(--ink);font-weight:650;box-shadow:none}
.workspace .workspace-views .seg button{min-height:32px;font-size:12px;padding:6px 11px}
.workspace .studio-tools{top:94px}.workspace .studio-canvas{padding-top:156px}.workspace .studio-canvas>.canvas-selection-tools{top:144px}
.workspace .workspace-inspection,.workspace .workspace-solid,.workspace .workspace-layer{padding-top:90px;padding-bottom:24px}
.solid-view{grid-template-rows:auto minmax(0,1fr) auto auto auto}.solid-orientation,.solid-notes{font-size:11px;line-height:1.5;color:var(--muted);margin:0;padding:3px 12px 7px}.solid-notes[hidden]{display:none}
@media(max-width:720px){.workspace .workspace-viewer>.workspace-views{top:44px;right:8px;left:auto;bottom:auto;max-width:calc(100% - 16px)}.workspace .workspace-viewer>.workspace-views .seg button{min-height:32px;font-size:11px;padding:5px 7px}.workspace .studio-tools{top:90px}.workspace .studio-canvas{padding-top:180px}.workspace .studio-canvas>.canvas-selection-tools{top:166px}}

/* Show only the checked CAD mesh; cover the stage while a changed design builds. */
.workspace .solid-building{inset:0;display:flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:0;box-shadow:none;background:var(--canvas);font-size:14px;animation:none;z-index:2}
.workspace .solid-building[hidden]{display:none}.workspace .solid-building .solid-spinner{width:20px;height:20px}
/* Buyer engineering readout shares the quote's compact, tabular typography. */
.buyer-engineering { font-variant-numeric: tabular-nums; padding: 12px 0; }
.buyer-engineering h3 { margin: 0 0 8px; font-size: 14px; }
.buyer-engineering p { margin: 6px 0; line-height: 1.45; overflow-wrap: anywhere; }
.buyer-engineering .linkish { min-height: 40px; text-align: left; }
.studio-tools [aria-label="Display units"] button { min-width: 40px; min-height: 40px; }
.construction-families{display:grid;gap:8px;margin:14px 0 20px}
.construction-families button{text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:12px;color:var(--ink);cursor:pointer}
.construction-families button[aria-pressed=true]{border-color:var(--brand);box-shadow:inset 3px 0 var(--brand)}
.construction-families strong,.construction-families small{display:block}.construction-families small{line-height:1.45;color:var(--muted);margin-top:5px}
.laminate-choice{border:1px solid var(--line);border-radius:6px;overflow:hidden}.laminate-choice.selected{border-color:var(--brand)}
.workspace-guide .laminate-choice .option{width:100%;border:0;border-radius:0}.laminate-choice details{padding:0 12px 10px;font-size:12px}.laminate-choice summary{cursor:pointer;min-height:32px;padding-top:8px}.laminate-choice details p{line-height:1.5}
.laminate-metrics{display:block;font-variant-numeric:tabular-nums;font-size:13px;font-weight:500;margin-top:8px}.selected-laminate-estimate{font-size:12px;line-height:1.5;background:var(--canvas);padding:12px;border-radius:6px}
.quote-engineering{margin:8px 0 16px}.quote-engineering>summary{min-height:40px;padding:10px 0;cursor:pointer}.quote-included{line-height:1.5}

/* Shared toolbar rows: part title aligns with the step tabs; drawing and view tools share a baseline. */
.workspace .workspace-viewer{display:grid;grid-template-rows:49px auto minmax(0,1fr);align-content:stretch}
.workspace .workspace-heading{position:relative;inset:auto;height:49px;padding:4px 12px;border-bottom:1px solid var(--line);background:var(--surface);backdrop-filter:none}
.workspace .workspace-steps .stepper button{height:48px;box-sizing:border-box}
.workspace .workspace-scene{height:auto;grid-row:3;overflow:hidden}
.workspace-toolbar{position:relative;z-index:9;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;min-width:0;padding:6px 10px;background:var(--surface);border-bottom:1px solid var(--line)}
.workspace-drawing-tools{min-width:0;max-width:100%}
.workspace .workspace-toolbar .studio-tools{position:static;inset:auto;max-width:none;min-height:40px;padding:0;gap:4px;border:0;border-radius:0;background:transparent;backdrop-filter:none;justify-content:flex-start}
.workspace .workspace-toolbar .workspace-views{position:static;inset:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:4px;max-width:100%;width:auto;height:auto;min-height:40px;padding:0;margin-left:auto;border:0;box-shadow:none;background:transparent;backdrop-filter:none}
.workspace .workspace-toolbar .seg button,.workspace .workspace-toolbar .canvas-history .btn,.workspace .workspace-toolbar .canvas-view-buttons .btn{min-height:40px;padding:6px 9px;font-size:12px;white-space:nowrap}
.workspace .workspace-toolbar .canvas-view-buttons .btn{min-width:40px}
.workspace .workspace-toolbar .canvas-history{margin-left:4px;padding-left:4px}
.workspace .workspace-toolbar .canvas-tool-menu>summary{min-height:40px;padding:7px 9px;background:transparent;border-color:transparent;gap:7px}
.workspace .workspace-toolbar .canvas-tool-menu[open]>summary{background:var(--canvas);border-color:var(--line)}
.workspace .workspace-toolbar .canvas-tool-popover{width:240px;max-width:calc(100vw - 24px);box-sizing:border-box;z-index:12}
.canvas-tool-help{margin:6px 9px;font-size:12px;line-height:1.45;color:var(--muted)}
.workspace .workspace-toolbar .canvas-tool-popover .btn{min-height:40px}
.workspace .workspace-toolbar .canvas-drawing-settings .canvas-tool-popover{left:auto;right:0}
.workspace .workspace-toolbar .canvas-drawing-settings .seg{display:flex;flex-wrap:wrap}
.workspace .studio-canvas{padding:36px 36px 48px}
.workspace .studio-canvas>.canvas-selection-tools{top:10px}
.workspace .workspace-inspection,.workspace .workspace-solid,.workspace .workspace-layer{padding-top:12px;padding-bottom:24px}
@media(max-width:720px){
 .workspace .workspace-viewer{grid-template-rows:49px auto minmax(0,1fr)}
 .workspace-toolbar{padding:5px 8px;gap:4px}
 .workspace .workspace-toolbar .workspace-views{margin-left:0}
 .workspace .workspace-toolbar .studio-tools{gap:2px}
 .workspace .workspace-toolbar .canvas-history{margin-left:0;padding-left:0;border:0}
 .workspace .workspace-toolbar .seg button,.workspace .workspace-toolbar .canvas-history .btn{font-size:11px;padding:6px 7px}
 .workspace .workspace-toolbar .canvas-tool-menu>summary{padding:6px 7px;font-size:11px}
 .workspace .workspace-toolbar .studio-tools{position:relative}
 .workspace .workspace-toolbar .canvas-tool-menu{position:static}
 .workspace .workspace-toolbar .canvas-tool-menu .canvas-tool-popover{left:0;right:auto;top:calc(100% + 5px)}
 .workspace .studio-canvas{padding:30px 24px 34px}
}
