.drawing-card{margin:20px 0;border:1px solid var(--line);border-radius:8px;background:#fff;padding:20px;min-width:0}.store .drawing-card h2{font-size:23px;margin:3px 0 20px}.drawing-tabs,.drawing-toolbar{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.drawing-card button{border:1px solid #dce0e3;border-radius:4px;background:#fff;color:#30383d;padding:8px 10px;font-size:14px;cursor:pointer}.drawing-tabs button[aria-pressed=true]{background:#26282b;color:#fff;border-color:#26282b}.drawing-toolbar output{font-size:14px;min-width:44px;text-align:center}.drawing-viewport{height:330px;overflow:hidden;position:relative;background:#fff;cursor:grab;touch-action:none;border:1px solid #eef0f2;border-radius:4px}.drawing-viewport:active{cursor:grabbing}.drawing-canvas{width:100%;height:100%;transform-origin:0 0;user-select:none}.drawing-canvas [data-drawing-panel]{width:100%;height:100%}.drawing-canvas [hidden]{display:none}.drawing-canvas svg,.drawing-canvas img{display:block;width:100%;height:100%;object-fit:contain;max-width:none;pointer-events:none}.drawing-help{font-size:14px;color:#737a80;margin:10px 0}.drawing-dimensions{margin:18px 0 0}.drawing-dimensions>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid #eef0f2;font-size:14px}.drawing-dimensions dd{font-weight:700;margin:0;text-align:right;white-space:pre-line}.drawing-dimensions dt{color:#60666c}.drawing-card.is-expanded{position:fixed;inset:18px;z-index:1000;margin:0;overflow:auto;box-shadow:0 0 0 100vmax #202529b0;padding:24px}.drawing-card.is-expanded .drawing-viewport{height:calc(100dvh - 265px);min-height:250px}.drawing-card.is-expanded .drawing-dimensions{display:flex;flex-wrap:wrap;gap:24px}.drawing-card.is-expanded .drawing-dimensions>div{gap:15px}.public-product .drawing-card{width:100%}@media(max-width:600px){.drawing-card{padding:14px}.drawing-viewport{height:290px}.drawing-card.is-expanded{inset:8px;padding:14px}.drawing-card.is-expanded .drawing-viewport{height:50dvh}}
.product-gallery{margin-top:0}.product-gallery header .eyebrow{margin-top:0;margin-bottom:16px}.product-keyfacts .drawing-dimensions{margin-top:8px}.product-keyfacts .drawing-help{font-size:14px;line-height:1.6}.public-product>div{min-width:0}

.length-preview{margin:18px 0 22px;padding:18px;border:1px solid #e2e7ea;border-radius:8px;background:#f8fafb}.length-preview header{display:flex;justify-content:space-between;gap:14px;align-items:center}.store .length-preview h3{font-size:19px;margin:0}.length-preview .eyebrow{margin:0 0 5px}.length-preview output{font-size:14px;font-weight:700;color:#30383d;text-align:right}.length-preview svg{display:block;width:100%;height:auto;margin:0}.length-preview-help{font-size:14px;color:#69767e;line-height:1.6;margin:0}@media(max-width:600px){.length-preview{padding:12px}.length-preview header{align-items:flex-start}.length-preview output{font-size:14px}}
.length-preview[hidden]{display:none!important}.length-preview svg{min-height:200px}

[data-length-svg]{touch-action:none;cursor:grab;user-select:none}[data-length-svg].is-dragging{cursor:grabbing}.rotation-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;font-size:14px;color:#69767e}.rotation-toolbar button{font:inherit;border:1px solid #d5dde2;background:#fff;padding:8px 10px;border-radius:4px;color:#30383d;cursor:pointer}

.product-gallery [hidden]{display:none!important}.product-gallery .length-preview{border:0;background:transparent;padding:0;margin:0}.product-gallery .length-preview header .eyebrow{display:none}.product-gallery .length-preview h3{font-size:17px}.product-gallery .length-preview svg{min-height:0;max-height:36vh}.product-gallery .rotation-toolbar{margin-top:10px}.product-gallery .length-preview-help{font-size:14px}.product-gallery #rotation-help{margin:0 0 6px}
@media(min-width:901px){.configuration-gallery{position:sticky;top:16px;z-index:3;box-shadow:0 6px 22px #2025290a}.configuration-gallery .drawing-viewport{height:clamp(180px,32vh,310px)}.store .modern-product-layout{gap:30px}.store .product-page-heading{margin-bottom:18px}.store .modern-length-modes label{padding:13px!important}.modern-length-modes strong{margin-bottom:5px}.modern-length-modes b{margin-top:7px}.store .mode-explanation{margin-bottom:12px}.store .modern-configuration>h2{margin-bottom:14px}.store .modern-configuration #miter-fields{padding-top:10px}.configuration-gallery{padding:16px}.configuration-gallery header .eyebrow{margin-bottom:10px}.configuration-gallery .drawing-tabs{gap:5px}.configuration-gallery .drawing-tabs button{padding:7px 8px}}
@media(max-width:700px){.modern-product-layout .configuration-gallery{order:0}.configuration-gallery .length-preview svg{max-height:260px}.configuration-gallery .drawing-viewport{height:240px}}
[data-hole-details]{overflow-x:auto;margin:8px 0;font-size:14px}
[data-hole-details] table{width:100%;border-collapse:collapse}
[data-hole-details] caption{text-align:left;font-weight:600;padding:6px 0}
[data-hole-details] th,[data-hole-details] td{padding:5px;text-align:left;border-bottom:1px solid #e1e5e8;font-size:14px}

.configuration-drawing-pair{display:flex;align-items:center;gap:8px}.configuration-drawing-pair>[data-length-svg]{min-width:0;flex:1;width:75%}.fixed-section-preview{flex:0 0 25%;text-align:center;align-self:center}.fixed-section-preview svg{display:block;width:100%;height:auto}.fixed-section-preview strong,.fixed-section-preview small{display:block;font-size:14px;color:#526571}.fixed-section-preview[hidden]{display:none}
