.category-nav{display:flex;gap:8px;margin:0 0 20px}.category-nav a{padding:12px 24px;border:1px solid #e7e5df;border-radius:12px;color:#6e706c;text-decoration:none;font-weight:750;background:white}.category-nav a[aria-current]{background:#fee500;border-color:#e0c900;color:#171b1e}.category-nav small{font-size:10px;margin-left:5px}.draft-tag{font-size:11px;color:#77796e;background:#f3f2e9;border-radius:5px;padding:5px 8px;white-space:nowrap}.topbar>.draft-tag{margin-left:auto}.sheet-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;align-items:start}.sheet-field{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:650;margin-bottom:14px}.sheet-field select{width:100%;min-height:45px;border:1px solid #deddd6;border-radius:9px;background:#fff;padding:10px 12px;font-size:15px;color:#222}.sheet-field select:disabled{background:#f4f3ee;color:#85857e}.sheet-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sheet-size{border-bottom:1px solid #efeee8;padding:4px 0 15px;margin-bottom:15px}.sheet-size-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;font-size:12px;color:#696b65}.sheet-remove{border:0;background:none;color:#777;font-size:12px;padding:5px;cursor:pointer}.sheet-dims{display:grid;grid-template-columns:1fr 1fr .7fr;gap:10px}.sheet-dims label{font-size:11px;color:#777;min-width:0}.sheet-dims input{display:block;width:100%;min-width:0;margin-top:6px;padding:12px 9px;border:1px solid #deddd6;border-radius:9px;font-size:18px;font-weight:700;color:#202525;box-sizing:border-box}.sheet-cuts{display:flex;gap:7px;margin-top:12px}.sheet-cuts label{flex:1}.sheet-cuts input{position:absolute;opacity:0}.sheet-cuts span{display:block;text-align:center;padding:13px 5px;border:1px solid #deddd6;border-radius:9px;font-size:13px;cursor:pointer}.sheet-cuts input:checked+span{background:#fffbdc;border-color:#d4bf00}.sheet-cuts input:focus-visible+span{outline:2px solid #887900}.sheet-notice{font-size:12px;line-height:1.6;padding:11px 12px;border-radius:8px;background:#fff8de;color:#80651e}.sheet-aside{display:grid;gap:16px}.sheet-preview{padding:20px;background:#f1f0e9;border:1px solid #e8e6dc;border-radius:19px}.sheet-canvas{height:235px;margin:15px 0;display:flex;align-items:center;justify-content:center;overflow:hidden}.sheet-canvas svg{max-width:100%;max-height:100%;width:auto;height:100%;background:#fff;box-shadow:0 5px 20px #0000000b}.sheet-info{font-size:12px;line-height:1.8;color:#73766f}.sheet-info strong{color:#333}.sheet-row-totals{font-size:12px;line-height:1.8;margin:14px 0}.sheet-row-total{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #efeee9;padding:7px 0}.sheet-row-total span{color:#797b74}.sheet-layout .price-card .total strong{font-size:39px}.sheet-layout .options{overflow:hidden}.sheet-layout input:focus,.sheet-field select:focus{outline:2px solid #dac500;outline-offset:2px}.sheet-preview .preview-head{gap:8px}.sheet-preview .preview-head span:last-child{font-size:10px;color:#777}
@media(max-width:680px){.category-nav{margin-bottom:12px;gap:6px}.category-nav a{flex:1;text-align:center;padding:11px 8px;font-size:14px}.sheet-layout{display:flex;flex-direction:column;gap:12px}.sheet-layout>.options,.sheet-aside{width:100%}.sheet-aside{order:-1;gap:8px}.sheet-preview{padding:12px;border-radius:12px}.sheet-canvas{height:125px;margin:8px 0}.sheet-layout .price-card{padding:14px 16px}.sheet-layout .price-card .total strong{font-size:30px}.sheet-layout .price-card .quote-totals{margin-top:8px;padding-top:8px}.sheet-layout .sheet-row-totals,.sheet-layout .price-details{margin:8px 0}.sheet-layout .primary-button{margin-top:8px;min-height:42px;padding:10px 12px}.sheet-layout .step{padding:16px}.sheet-dims{grid-template-columns:1fr 1fr .7fr;gap:7px}.sheet-dims input{font-size:16px;padding:11px 7px}.sheet-field{margin-bottom:10px;gap:6px}.sheet-field select{font-size:16px;min-height:42px}.sheet-cuts span{font-size:12px;padding:11px 4px}.sheet-layout .section-heading{margin-bottom:14px}.sheet-notice{margin:8px 0;padding:8px 10px}.sheet-pair{gap:8px}.topbar>.draft-tag{font-size:9px}.sheet-info{font-size:11px}.sheet-layout .price-card .help{margin-bottom:0}}
.sheet-canvas{overflow:auto;align-items:flex-start;scrollbar-width:thin}.sheet-canvas svg{max-height:none;width:100%;height:auto;flex-shrink:0}.sheet-canvas.fit{align-items:center;overflow:hidden}.sheet-canvas.fit svg{max-height:100%;width:auto;height:100%;max-width:100%}.sheet-zoom{border:1px solid #deddd3;background:#fff;padding:6px 10px;font-size:11px;border-radius:6px;color:#565c52;cursor:pointer}.sheet-scroll-hint{font-size:10px;color:#888c82;margin-left:8px}.sheet-preview .sheet-info{margin-top:10px}

.sheet-canvas.fit svg{width:100%;height:100%;max-width:100%;max-height:100%;box-shadow:none;background:transparent}.sheet-canvas{border-radius:6px}.sheet-preview{min-width:0}.sheet-aside{min-width:0}.sheet-preview .sheet-info{overflow-wrap:anywhere}

.sheet-preview-stage{position:relative;padding:30px 38px 0 0;margin:12px 0}.sheet-preview-stage .sheet-canvas{margin:0}.sheet-dimension-top{position:absolute;top:0;left:0;right:38px;text-align:center;font-size:14px;line-height:22px;font-weight:700;color:#363b30;white-space:nowrap}.sheet-dimension-right{position:absolute;right:3px;top:30px;bottom:0;display:flex;align-items:center;justify-content:center;writing-mode:vertical-rl;font-size:14px;line-height:24px;font-weight:700;color:#363b30;white-space:nowrap}@media(max-width:680px){.sheet-dimension-top,.sheet-dimension-right{font-size:13px}.sheet-preview-stage{padding-right:32px}.sheet-dimension-top{right:32px}}

.sheet-preview-quantity{font-size:21px;font-weight:800;text-align:center;color:#353a2e;margin:10px 0 4px}.sheet-preview-quantity:empty{display:none}

.sheet-split-controls{margin-top:12px;font-size:12px;color:#72766c}.sheet-split-controls>div{display:flex;gap:6px;margin:7px 0}.sheet-split-controls button{flex:1;border:1px solid #dedcd0;background:white;border-radius:7px;padding:10px 5px;color:#3f4439;font-size:12px;cursor:pointer}.sheet-split-controls button[aria-pressed=true]{background:#fff6a7;border-color:#d1b900;font-weight:700}.sheet-split-summary{display:block;line-height:1.6}

/* Keep result updates from moving a focused size input. */
.sheet-preview-quantity{min-height:26px}.sheet-info#layout-info{min-height:64px}.sheet-row-total{min-height:36px}.sheet-layout .total{min-height:48px}.sheet-layout .quote-totals{min-height:55px}.sheet-split-controls small{min-height:20px}

/* Shared mobile quote layout: pinned preview, compact controls and bottom total. */
.sheet-layout-details summary{font-size:11px;color:#62685a;cursor:pointer;padding:5px 0}.sheet-layout-details .sheet-info{margin-top:4px}
@media(max-width:680px){
 .sheet-aside{display:contents}.sheet-layout{gap:10px}.sheet-preview{order:0;position:sticky;top:0;z-index:20;box-shadow:0 3px 12px #25241f12;padding:8px 12px;isolation:isolate;background:#f1f0e9}
 .sheet-layout>.options{order:2;padding:0 14px}.sheet-layout>.price-card,.sheet-aside>.price-card{order:1;width:100%;padding:12px 14px;border-radius:14px}
 .sheet-preview-stage{padding-top:22px;padding-right:30px;margin:5px 0 2px}.sheet-dimension-top{font-size:12px;line-height:18px;right:30px}.sheet-dimension-right{font-size:12px;top:22px;line-height:20px}
 .sheet-preview .preview-head{font-size:10px;gap:4px}.sheet-preview .eyebrow{font-size:10px;letter-spacing:.5px}.sheet-preview .preview-head span:last-child{font-size:9px}
 .sheet-preview-quantity{font-size:12px;min-height:16px;margin:2px 0}.sheet-preview .sheet-zoom,.sheet-scroll-hint{display:none}.sheet-layout-details summary{padding:3px 0;font-size:10px}.sheet-info#layout-info{min-height:0;font-size:10px}
 .sheet-layout .step{padding:13px 0}.sheet-layout .section-heading{margin-bottom:10px}.sheet-field{gap:4px;margin-bottom:8px}.sheet-field select{min-height:40px;padding:7px 9px;border-radius:7px}.sheet-pair{gap:7px}
 .sheet-layout .help{font-size:10px;line-height:1.5;margin-top:6px}.sheet-size{padding:2px 0 9px;margin-bottom:8px}.sheet-size-head{margin-bottom:4px}.sheet-dims input{margin-top:4px;padding:9px 7px;border-radius:7px;min-height:40px}.sheet-remove{min-height:32px}
 .sheet-cuts span{padding:10px 4px}.sheet-split-controls{margin-top:8px}.sheet-split-controls button{min-height:36px;padding:7px 4px}.sheet-notice{padding:6px 8px;font-size:10px;line-height:1.5;margin:6px 0}
 .sheet-layout .price-card .total{min-height:36px}.sheet-layout .price-card .total strong{font-size:30px}.sheet-layout .price-heading{margin-top:0}.sheet-layout .price-heading h2{font-size:14px}.sheet-layout .quote-totals{min-height:40px;margin:5px 0;padding-top:5px}.sheet-row-totals{margin:5px 0!important}.sheet-row-total{padding:4px 0;min-height:26px;font-size:11px}.sheet-layout .price-card>.help{display:none}
 .sheet-page input,.sheet-page select,.sheet-page .step,.sheet-page .price-card{scroll-margin-top:225px;scroll-margin-bottom:85px}.sheet-page .mobile-total{z-index:25}.sheet-page .draft-tag{font-size:9px}
}

@media(max-width:680px){.sheet-layout>.sheet-aside>.sheet-preview{width:100%;box-sizing:border-box}.sheet-layout{align-items:stretch}}
