#image-viewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:var(--ivory);color:var(--ink);overflow:hidden}#image-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}#image-viewer::backdrop{background:#302d28ed}.viewer-toolbar{display:flex;align-items:center;gap:8px;padding:12px max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));background:#edddd7;z-index:2}.viewer-toolbar button{min-width:44px;min-height:44px;border:1px solid #b8a99e;border-radius:4px}.viewer-toolbar output{font-size:12px}.viewer-close{margin-left:auto;padding:0 14px}.viewer-stage{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;user-select:none;cursor:grab}.viewer-stage:active{cursor:grabbing}.viewer-stage img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;transform-origin:center;will-change:transform;pointer-events:none}.viewer-footer{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:12px 16px max(12px,env(safe-area-inset-bottom));background:#fbf8f4;z-index:2}.viewer-footer>div{text-align:center}.viewer-footer p{font:26px var(--serif);color:var(--ink)}.viewer-footer small{font-size:11px;color:var(--muted)}.viewer-footer button{min-height:44px;font-size:12px}.viewer-footer button:disabled{opacity:.3}.header{position:sticky;top:0;z-index:30;background:var(--ivory)}:focus-visible{outline:2px solid #885f4f;outline-offset:4px}.collection-browser .band-image img{transition:transform .35s ease}.collection-browser .band-image:hover img{transform:scale(1.035)}.collection-guide img{cursor:zoom-in}@media(max-width:600px){.viewer-footer{gap:8px}.viewer-footer p{font-size:21px}.viewer-footer small{font-size:9px}.viewer-footer button{font-size:11px}}
[hidden]{display:none!important}.studio-progress{list-style:none;padding:0;display:flex;gap:8px;margin:24px 0}.studio-progress li{flex:1}.studio-progress button{width:100%;padding:10px 4px;border-bottom:2px solid var(--line);font-size:11px}.studio-progress button[aria-current=step]{border-color:var(--rose);font-weight:600}.studio-progress span{display:block;font-size:18px;font-family:var(--serif)}.wizard-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}.wizard-panel{min-height:190px}.review-summary{padding:20px;background:var(--blush);margin-bottom:20px}.review-summary h3{font-size:28px}.review-summary dl,.live-design-summary dl{display:grid;grid-template-columns:1fr 1.5fr;gap:8px;text-align:left;font-size:12px}.review-summary dd,.live-design-summary dd{margin:0}.live-design-summary{padding:20px;width:100%}.form-trap{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.size-guide{max-width:780px;margin:48px auto}.size-guide h2{font-size:36px;margin-bottom:20px}.size-guide img{width:100%}.wizard-panel input{width:100%}
@media(max-width:600px){.header{padding:14px 4%;gap:8px}.brand{font-size:27px}.header-actions{gap:5px}.nav-cta{display:inline-flex;padding:9px 7px;font-size:9px}.studio-visual{padding:18px}.studio-visual .design-preview{max-height:130px}.live-design-summary{padding:10px}.live-design-summary dl{margin:6px 0}.studio-progress button{font-size:10px}.studio-controls{padding:24px 18px}}
.estimate-panel{display:none}
/* Keep linked reference images and the live summary in normal flow. */
#design-dialog .studio-visual{height:auto;max-height:none;align-self:start}
#design-dialog .design-preview{height:clamp(180px,25vh,320px);max-height:none;min-height:0;flex:none;margin:18px auto;overflow:hidden}
#design-dialog .design-preview>a{display:block;width:100%;height:100%;min-width:0;min-height:0}
#design-dialog .design-preview img,#design-dialog .design-preview svg{display:block;width:100%;height:100%;max-height:100%;object-fit:contain}
#design-dialog .live-design-summary{flex:none;min-width:0}
#design-dialog .live-design-summary dt,#design-dialog .live-design-summary dd{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){
  #design-dialog .studio-visual{position:static;height:auto;min-height:0;max-height:none;padding:24px 18px 18px}
  #design-dialog .design-preview{width:100%;height:220px;max-height:none;margin:16px auto}
  #design-dialog .studio-visual #preview-label{font-size:23px;line-height:1.2;margin:0 0 8px}
  #design-dialog .live-design-summary{padding:16px 0 0}
}
.reference-details{margin:42px 0;padding:36px;background:#f1e7e1;border:1px solid var(--line)}.reference-details h2{font-size:42px;margin:12px 0 20px}.reference-details>p{max-width:760px}.detail-grid,.spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:26px 0}.detail-grid h3{font-size:28px;margin-bottom:12px}.spec-grid>div{border-top:1px solid #cfc1b5;padding-top:16px}.spec-grid dt{font-size:11px;letter-spacing:.07em;color:#766658}.spec-grid dd{margin:8px 0 0;font-size:15px}.reference-details details{padding:16px 0}.reference-details summary{cursor:pointer}.reference-details details p{padding-top:14px}.reference-details .small{margin-top:20px}.reference-details .text-button{margin-top:20px}@media(max-width:600px){.reference-details{padding:24px 20px}.reference-details h2{font-size:34px}.detail-grid,.spec-grid{grid-template-columns:1fr;gap:20px}}
