/* Customer customisers: viewport-sized chrome, contained previews, reachable controls. */
.embedded-shop-builder :is(.height-builder,.cnc-builder,.vinyl-builder){box-sizing:border-box;min-width:0;max-width:none;margin:0;width:100%;height:100dvh;padding:12px 20px;background:#f2f5ec;overflow:hidden}
.embedded-shop-builder :is(.height-builder-heading,.cnc-builder>header,.vinyl-header){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
.embedded-shop-builder .height-builder{position:relative;inset:auto;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px}
.embedded-shop-builder .cnc-builder{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px}
.embedded-shop-builder .vinyl-builder{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:8px}
.embedded-shop-builder :is(.height-progress,.cnc-progress,.vinyl-progress){margin:0!important;padding:0!important;min-height:34px;gap:8px}
.embedded-shop-builder :is(.height-progress li,.cnc-progress-step,.vinyl-progress li){font-size:12px;padding:7px 4px;min-height:32px;border-radius:6px;line-height:1.2}
.embedded-shop-builder :is(.height-builder-body,.cnc-editor,#vinyl-stage){min-height:0;min-width:0;margin:0;padding:4px 0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:pan-y}
.embedded-shop-builder :is(.height-builder-footer,.cnc-footer,.vinyl-navigation){position:static;margin:0;padding:7px 0 0;border-top:1px solid #d9e0d1;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f2f5ec;min-height:44px}
.embedded-shop-builder :is(.height-builder-footer,.cnc-footer,.vinyl-navigation)>button{min-height:38px;padding:8px 16px;font-size:13px}
.embedded-shop-builder :is(.height-controls,.cnc-controls,.vinyl-workspace-controls){min-width:0}
.embedded-shop-builder :is(.height-controls,.cnc-controls,.vinyl-workspace-controls) :is(h2,h3){font-size:20px;line-height:1.2;margin:4px 0 10px}
.embedded-shop-builder :is(.height-controls,.cnc-controls,.vinyl-workspace-controls) label{font-size:13px;margin:8px 0;gap:5px}
.embedded-shop-builder :is(.height-controls,.cnc-controls,.vinyl-workspace-controls) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){box-sizing:border-box;min-width:0;width:100%;min-height:38px;padding:7px 9px;font-size:14px;margin:0}
.embedded-shop-builder :is(.height-controls,.cnc-controls,.vinyl-workspace-controls) p{font-size:12px;line-height:1.45;margin:6px 0}
.embedded-shop-builder :is(.height-preview-panel,.cnc-preview,.vinyl-preview-panel){min-width:0;max-width:100%;padding:12px;margin:0;top:0;border-radius:12px}
.embedded-shop-builder :is(.height-preview-heading,.cnc-preview .order-toolbar,.vinyl-preview-heading) h2{font-size:16px;line-height:1.2;margin:0}
.embedded-shop-builder :is(.height-preview-heading,.cnc-preview .order-toolbar){margin:0 0 8px}
.embedded-shop-builder :is(.height-preview-panel,.cnc-preview)>label{display:flex;align-items:center;gap:10px;font-size:12px;margin:0 0 8px}
.embedded-shop-builder :is(.height-preview-panel,.cnc-preview)>label select{min-width:0;flex:1;min-height:36px;padding:6px;font-size:12px;margin:0}
.embedded-shop-builder #height-preview{min-height:90px;display:grid;place-items:center}
.embedded-shop-builder #height-preview img{display:block;width:100%!important;height:auto!important;max-height:calc(100dvh - 245px)!important;object-fit:contain}
.embedded-shop-builder :is(#height-preview-status,[data-cnc-status],#vinyl-status){font-size:11px;line-height:1.4;margin:4px 0;min-height:0;overflow-wrap:anywhere}
.embedded-shop-builder #height-preview[data-proof-state=error]{border:2px solid #b58445;border-radius:8px}
.embedded-shop-builder #height-preview-status[data-proof-state=error]{color:#824514}
.embedded-shop-builder #height-download{min-height:32px;padding:6px 10px;font-size:11px;margin-top:6px}
.embedded-shop-builder :is(.cnc-proof,.vinyl-preview){min-height:90px;max-height:calc(100dvh - 220px);overflow:hidden}
.embedded-shop-builder .cnc-proof{height:calc(100dvh - 220px);display:grid;place-items:center}
.embedded-shop-builder .cnc-proof img{display:block;max-height:100%!important;width:100%;height:100%!important;object-fit:contain}
.embedded-shop-builder .vinyl-preview-panel{position:sticky;top:0}
.embedded-shop-builder .vinyl-workspace>.vinyl-preview-panel{max-height:calc(100dvh - 112px);overflow:auto}
.embedded-shop-builder .height-controls :is(.height-included,.personalisation-panel){padding:10px;margin-top:10px}
.embedded-shop-builder .height-controls :is(.height-choices,.height-fonts,.height-colours){gap:6px}
.embedded-shop-builder .height-controls .height-colours{grid-template-columns:repeat(5,minmax(0,1fr))}
.embedded-shop-builder .height-controls :is(.height-choices,.height-fonts,.height-colours) button{padding:7px;min-height:44px}
.embedded-shop-builder .height-colour-swatch{height:22px}
@media(min-width:1000px){
 .embedded-shop-builder :is(.height-builder,.cnc-builder,.vinyl-builder){padding:10px clamp(18px,3vw,48px)}
 .embedded-shop-builder .height-builder-body{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:24px;align-items:start}
 .embedded-shop-builder .height-preview-panel{grid-column:2;grid-row:1;position:sticky}
 .embedded-shop-builder .height-controls{grid-column:1;grid-row:1}
 .embedded-shop-builder .cnc-editor{display:grid;grid-template-columns:minmax(300px,1fr) minmax(0,1.6fr);gap:24px;align-items:start}
 .embedded-shop-builder .cnc-preview{position:sticky}
 .embedded-shop-builder .vinyl-workspace{grid-template-columns:minmax(320px,1fr) minmax(0,1.5fr);gap:24px;align-items:start}
 .embedded-shop-builder .vinyl-workspace .vinyl-edit-panel{padding:12px}
 .embedded-shop-builder .vinyl-tools{padding:12px}
 .embedded-shop-builder .vinyl-control-group{padding:8px;margin:8px 0}
 .embedded-shop-builder .vinyl-colour-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(min-width:1000px) and (max-height:620px){
 .embedded-shop-builder :is(.height-builder,.cnc-builder,.vinyl-builder){padding-block:7px;gap:6px}
 .embedded-shop-builder :is(.height-controls,.cnc-controls,.vinyl-workspace-controls) :is(h2,h3){font-size:18px;margin-bottom:6px}
 .embedded-shop-builder :is(.height-controls,.cnc-controls,.vinyl-workspace-controls) label{margin:5px 0;font-size:12px}
 .embedded-shop-builder :is(.height-controls,.cnc-controls,.vinyl-workspace-controls) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select){min-height:34px;padding:5px 8px;font-size:13px}
 .embedded-shop-builder .height-controls .form-grid{gap:8px}
 .embedded-shop-builder .height-preview-panel>.builder-help{font-size:10px;line-height:1.3;margin:5px 0}
 .embedded-shop-builder :is(.height-builder-footer,.cnc-footer,.vinyl-navigation){min-height:36px;padding-top:4px}
 .embedded-shop-builder :is(.height-builder-footer,.cnc-footer,.vinyl-navigation)>button{min-height:32px;padding:6px 12px}
}
@media(min-width:1400px) and (min-height:680px){
 .embedded-shop-builder :is(.height-builder,.cnc-builder,.vinyl-builder){padding:20px 3%;gap:14px}
 .embedded-shop-builder :is(.height-controls,.cnc-controls,.vinyl-workspace-controls) label{font-size:15px;margin:10px 0}
 .embedded-shop-builder :is(.height-controls,.cnc-controls,.vinyl-workspace-controls) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select){min-height:44px;font-size:16px}
 .embedded-shop-builder :is(.height-controls,.cnc-controls,.vinyl-workspace-controls) :is(h2,h3){font-size:24px}
 .embedded-shop-builder #height-preview img{max-height:calc(100dvh - 260px)!important}
}
@media(max-width:999px){
 .embedded-shop-builder :is(.height-builder,.cnc-builder,.vinyl-builder){padding:8px 10px;gap:6px}
 .embedded-shop-builder :is(.height-progress li,.cnc-progress-step,.vinyl-progress li){font-size:10px;padding:5px 2px;min-height:30px}
 .embedded-shop-builder :is(.height-builder-body,.cnc-editor){display:flex;flex-direction:column;gap:12px;align-items:stretch}
 .embedded-shop-builder :is(.height-preview-panel,.cnc-preview){order:-1;position:relative;flex:none;padding:8px;width:100%;box-sizing:border-box}
 .embedded-shop-builder :is(.height-controls,.cnc-controls){width:100%;flex:none}
 .embedded-shop-builder #height-preview img{max-height:clamp(125px,27dvh,240px)!important}
 .embedded-shop-builder .cnc-proof{height:clamp(120px,26dvh,230px);max-height:230px}
 .embedded-shop-builder :is(.height-preview-panel,.cnc-preview)>.builder-help{font-size:10px;line-height:1.3;margin:4px 0}
 .embedded-shop-builder .height-preview-heading button{min-height:36px;font-size:11px}
 .embedded-shop-builder :is(.height-controls,.cnc-controls,.vinyl-workspace-controls) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-size:16px;min-height:42px}
 .embedded-shop-builder .vinyl-workspace{display:flex;flex-direction:column;gap:10px}
 .embedded-shop-builder .vinyl-workspace>.vinyl-preview-panel{position:relative;order:-1;flex:none;max-height:none;width:100%}
 .embedded-shop-builder .vinyl-workspace-controls{width:100%;flex:none}
 .embedded-shop-builder .vinyl-preview{max-height:26dvh!important}
 .embedded-shop-builder .vinyl-font-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .embedded-shop-builder .height-controls .height-colours{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:360px){.embedded-shop-builder :is(.height-progress,.cnc-progress,.vinyl-progress){gap:3px}.embedded-shop-builder :is(.height-progress li,.cnc-progress-step,.vinyl-progress li){font-size:9px}.embedded-shop-builder :is(.height-builder-footer,.cnc-footer,.vinyl-navigation)>button{padding-inline:10px}.embedded-shop-builder .height-controls .height-colours{grid-template-columns:repeat(3,minmax(0,1fr))}}
.embedded-shop-builder .height-builder>.builder-app-footer{position:static;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:7px 0 0;border-top:1px solid #d9e0d1;background:#f2f5ec}
.embedded-shop-builder .height-builder>.builder-app-footer>button{min-height:38px;padding:8px 16px;font-size:13px}
.embedded-shop-builder .cnc-controls{padding:14px}
.embedded-shop-builder .cnc-controls label:not(.check){margin:7px 0}
.embedded-shop-builder .height-preview-panel:has(#height-preview[data-proof-state=error]) #height-preview-status{color:#824514;padding:7px;background:#fff4de;border-radius:6px}
@media(min-width:1000px) and (max-height:620px){.embedded-shop-builder .height-builder>.builder-app-footer{padding-top:4px}.embedded-shop-builder .height-builder>.builder-app-footer>button{min-height:32px;padding:6px 12px}}
@media(min-width:1000px){
 .embedded-shop-builder .height-controls section[data-height-step="1"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px}
 .embedded-shop-builder .height-controls section[data-height-step="1"]>h2,.embedded-shop-builder .height-controls section[data-height-step="1"]>.check,.embedded-shop-builder #height-header-fields,.embedded-shop-builder #height-vertical-fields{grid-column:1/-1}
 .embedded-shop-builder #height-header-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .embedded-shop-builder #height-header-fields>p{grid-column:1/-1}
 .embedded-shop-builder #height-vertical-fields{display:grid;grid-template-columns:1.3fr 1fr;gap:8px}
 .embedded-shop-builder #height-vertical-fields>p{grid-column:1/-1}
 .embedded-shop-builder #height-summary{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:12px;margin:6px 0}
 .embedded-shop-builder #height-summary dd{margin:0}
}
.embedded-shop-builder .height-controls label.check{display:flex;align-items:center;justify-content:flex-start;gap:8px}
.embedded-shop-builder .height-controls label.check input{width:18px;height:18px;min-height:18px;padding:0;flex:none;margin:0}
.embedded-shop-builder .height-controls .engraving-toggle{justify-content:flex-start;gap:8px}
.embedded-shop-builder .vinyl-builder h2{font-size:22px;line-height:1.2;margin:4px 0 12px}
@media(min-width:1000px) and (max-height:620px){.embedded-shop-builder #height-preview img{max-height:calc(100dvh - 320px)!important}.embedded-shop-builder .height-controls section[data-height-step="1"]{gap:3px 10px}.embedded-shop-builder #height-fit-status{font-size:11px;line-height:1.35}}
@media(min-width:1000px){
 .embedded-shop-builder .cnc-proof{height:calc(100dvh - 320px);max-height:620px;padding:10px}
 .embedded-shop-builder .height-controls #height-price{display:none}
 .embedded-shop-builder .height-controls section[data-height-step="2"]>p{font-size:11px;line-height:1.35;margin:5px 0}
 .embedded-shop-builder .height-controls .rush-choice{padding:8px;margin:5px 0}
 .embedded-shop-builder .height-controls .rush-choice small{font-size:10px;line-height:1.3}
}
.embedded-shop-builder .cnc-proof{position:relative;box-sizing:border-box}
.embedded-shop-builder .cnc-proof img{position:absolute;inset:0;width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important}
.embedded-shop-builder .vinyl-builder{grid-template-rows:auto auto minmax(0,1fr) auto auto}
.embedded-shop-builder .builder-draft-recovery{margin:0;padding:2px 0;min-height:18px;font-size:10px;line-height:1.3}
.embedded-shop-builder .builder-draft-recovery button{min-height:24px;padding:2px 6px;font-size:11px}
.embedded-shop-builder #vinyl-stage>h3{font-size:18px;line-height:1.2;margin:10px 0 6px}
.embedded-shop-builder #vinyl-stage>p{font-size:11px;line-height:1.4;margin:7px 0}
.embedded-shop-builder .vinyl-start-cards,.embedded-shop-builder .vinyl-material-grid{gap:10px}
.embedded-shop-builder .vinyl-start-cards .vinyl-choice,.embedded-shop-builder .vinyl-material-grid .vinyl-choice{padding:10px;gap:4px;font-size:13px;line-height:1.35;min-height:72px}
.embedded-shop-builder .vinyl-start-icon{font-size:24px}
.embedded-shop-builder .vinyl-option-grid{gap:7px;margin-bottom:10px}
.embedded-shop-builder .vinyl-option-grid .vinyl-choice{padding:8px 10px;min-height:36px;font-size:13px}
@media(max-width:999px){.embedded-shop-builder .builder-draft-recovery{font-size:9px}.embedded-shop-builder .vinyl-start-cards{grid-template-columns:1fr}.embedded-shop-builder .vinyl-start-cards .vinyl-choice{display:grid;grid-template-columns:45px 1fr;min-height:70px}.embedded-shop-builder .vinyl-start-cards .vinyl-start-icon{grid-row:1/3}.embedded-shop-builder .vinyl-material-grid{grid-template-columns:1fr}}
.embedded-shop-builder .vinyl-tools>.vinyl-edit-panel{padding:6px 0!important}
.embedded-shop-builder .vinyl-tool-actions{margin:6px 0;gap:5px}
.embedded-shop-builder .vinyl-tool-actions .button{min-height:32px;padding:6px 9px;font-size:12px}
.embedded-shop-builder .vinyl-element-list{margin:6px 0;gap:6px;max-height:90px}
.embedded-shop-builder .vinyl-element-list .vinyl-choice{padding:5px 9px;min-height:32px;font-size:12px}
.embedded-shop-builder .editor-mini-steps{margin:6px 0;gap:6px}
.embedded-shop-builder .editor-mini-steps button{padding:6px;min-height:32px;font-size:12px}
.embedded-shop-builder .sign-editor-flow p{margin:4px 0 7px;font-size:11px}
.embedded-shop-builder .vinyl-edit-panel .form-grid{gap:6px}
.embedded-shop-builder .proof-toolbar{gap:4px;margin-top:7px}
.embedded-shop-builder .proof-toolbar button{min-height:28px;padding:5px;font-size:10px}
.embedded-shop-builder .proof-help{margin-top:7px;padding-top:6px;font-size:11px}
.embedded-shop-builder .vinyl-workspace>.vinyl-preview-panel{max-height:none;overflow:visible}
@media(min-width:1000px) and (max-height:620px){
 .embedded-shop-builder #vinyl-stage>h2{font-size:20px;margin:0 0 6px}
 .embedded-shop-builder #vinyl-stage>h3{font-size:16px;margin:7px 0 5px}
 .embedded-shop-builder .vinyl-start-cards .vinyl-choice,.embedded-shop-builder .vinyl-material-grid .vinyl-choice{padding:7px;min-height:60px;font-size:12px;gap:2px}
 .embedded-shop-builder .vinyl-start-icon{font-size:20px}
 .embedded-shop-builder .vinyl-option-grid .vinyl-choice{min-height:30px;padding:5px 8px;font-size:12px}
 .embedded-shop-builder .vinyl-option-grid{margin-bottom:5px;gap:5px}
 .embedded-shop-builder #vinyl-stage>p{font-size:10px;line-height:1.3;margin:4px 0}
 .embedded-shop-builder .vinyl-edit-panel{margin:6px 0;padding:7px}
 .embedded-shop-builder .vinyl-control-group{margin:5px 0;padding:6px}
 .embedded-shop-builder .vinyl-control-group summary{min-height:22px;font-size:12px}
 .embedded-shop-builder .vinyl-control-group[open] summary{margin-bottom:6px}
 .embedded-shop-builder .vinyl-preview{max-height:calc(100dvh - 350px)!important}
}
@media(min-width:1000px){
 .embedded-shop-builder .vinyl-workspace-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 8px}
 .embedded-shop-builder .vinyl-workspace-controls>*{grid-column:1/-1}
 .embedded-shop-builder .vinyl-workspace-controls>.vinyl-tool-actions{grid-column:1}
 .embedded-shop-builder .vinyl-workspace-controls>.vinyl-element-list{grid-column:2;max-width:170px}
}
@media(min-width:1000px) and (max-height:620px){
 .embedded-shop-builder .builder-draft-recovery{height:22px;min-height:22px;padding:0;display:flex;align-items:center;justify-content:space-between}
 .embedded-shop-builder .builder-draft-recovery button{height:22px;min-height:22px;padding:0 5px}
 .embedded-shop-builder .sign-editor-flow>p{display:none}
 .embedded-shop-builder .vinyl-characters{padding:6px;margin:5px 0;font-size:12px}
 .embedded-shop-builder .vinyl-characters summary{min-height:22px}
 .embedded-shop-builder .vinyl-tool-actions select{min-height:32px;padding:5px;font-size:12px}
 .embedded-shop-builder .vinyl-progress span{width:24px;height:24px;font-size:10px}
 .embedded-shop-builder .vinyl-progress{min-height:30px}
 .embedded-shop-builder .vinyl-progress li{min-height:30px;padding-block:3px}
}
@media(min-width:1000px){
 .embedded-shop-builder #vinyl-stage:has([data-sign-size]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 22px;align-content:start}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>h2{grid-column:1/-1}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>.vinyl-control-group{grid-column:1/-1;margin:0}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>label{grid-column:1;grid-row:5/7;margin:0;align-self:start;font-size:12px;display:grid;gap:5px}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>label select{min-height:34px;padding:5px 8px;margin:0;font-size:13px}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>.vinyl-material-grid{grid-column:2;grid-row:6}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>p{grid-column:1/-1;margin:0}
}

.embedded-shop-builder .height-preview-panel.is-collapsed>label{display:none}
@media(min-width:1000px){
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>h3:has(+.vinyl-option-grid [data-backing]){grid-column:1;grid-row:3}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>.vinyl-option-grid:has([data-backing]){grid-column:1;grid-row:4;align-self:start;align-items:start}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>h3:has(+.vinyl-option-grid [data-sign-size]){grid-column:2;grid-row:3}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>.vinyl-option-grid:has([data-sign-size]){grid-column:2;grid-row:4;align-items:start}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>h3:has(+.vinyl-material-grid){grid-column:2;grid-row:5;margin:0}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>.form-grid{grid-column:1;grid-row:7;gap:8px}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>.form-grid label{font-size:12px;margin:0}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size]) .vinyl-option-grid{margin:0}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>.vinyl-control-group{padding:4px 6px}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>h3{margin:3px 0}
}
@media(min-width:1000px){
 .embedded-shop-builder .height-preview-panel{height:calc(100dvh - 165px);box-sizing:border-box;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto auto;gap:5px}
 .embedded-shop-builder .height-preview-panel.is-collapsed{height:auto;display:block}
 .embedded-shop-builder #height-preview{height:100%;min-height:0;overflow:hidden}
 .embedded-shop-builder #height-preview img{height:100%!important;max-height:100%!important;width:100%!important;object-fit:contain}
 .embedded-shop-builder .height-preview-panel>.builder-help{margin:0}
 .embedded-shop-builder .height-preview-panel #height-download{justify-self:start;margin:0}
 .embedded-shop-builder .cnc-proof{height:calc(100dvh - 360px)}
 .embedded-shop-builder .vinyl-workspace .vinyl-preview{max-height:clamp(120px,calc(100dvh - 420px),520px)!important;width:min(100%,calc(clamp(120px,calc(100dvh - 420px),520px)*var(--proof-ratio,1.5)))!important;margin-inline:auto}
}
@media(max-width:999px){
 .embedded-shop-builder .height-preview-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px}
 .embedded-shop-builder .height-preview-heading{grid-column:2;grid-row:1;margin:0;align-self:end}
 .embedded-shop-builder .height-preview-heading h2{display:none}
 .embedded-shop-builder .height-preview-heading button{min-height:34px;padding:5px 8px;font-size:10px}
 .embedded-shop-builder .height-preview-panel>label{grid-column:1;grid-row:1;display:grid;gap:3px;margin:0;font-size:10px}
 .embedded-shop-builder .height-preview-panel>label select{min-height:34px;font-size:13px;padding:5px}
 .embedded-shop-builder #height-preview{grid-column:1/-1;height:clamp(110px,22dvh,165px);min-height:0}
 .embedded-shop-builder #height-preview img{height:100%!important;max-height:100%!important;width:100%!important;object-fit:contain}
 .embedded-shop-builder .height-preview-panel>.builder-help{grid-column:1;grid-row:3;font-size:9px;line-height:1.3;margin:0}
 .embedded-shop-builder #height-download{grid-column:2;grid-row:3;min-height:30px;padding:4px 7px;font-size:10px;align-self:center;margin:0}
 .embedded-shop-builder #height-preview-status{grid-column:1/-1}
 .embedded-shop-builder .height-preview-panel.is-collapsed{display:block}
 .embedded-shop-builder .height-preview-panel.is-collapsed>.height-preview-heading{display:flex;justify-content:flex-end}
 .embedded-shop-builder .height-preview-panel.is-collapsed>label{display:none}
 .embedded-shop-builder .cnc-proof{height:clamp(110px,22dvh,180px)}
}
.embedded-shop-builder #height-preview{position:relative;overflow:hidden}
.embedded-shop-builder #height-preview img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain}

#height-preview img[role=button]{cursor:zoom-in}
.height-expanded-proof{width:min(1200px,96vw);max-width:96vw;height:92dvh;max-height:92dvh;box-sizing:border-box;padding:16px;border:1px solid #c9d4c5;border-radius:14px;background:#f2f5ec;color:#21392b;overflow:hidden}
.height-expanded-proof[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px}
.height-expanded-proof::backdrop{background:#172719bb}
.height-expanded-proof header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.height-expanded-proof h2{font-size:20px;margin:0}
.height-expanded-proof button{min-height:40px;padding:7px 12px;border:1px solid #c9d4c5;border-radius:7px;background:white;color:#21392b}
.height-expanded-proof img{width:100%;height:100%;min-height:0;object-fit:contain}
.height-expanded-proof p{font-size:12px;line-height:1.4;margin:0}
.height-expanded-proof header{position:static;padding:0;min-height:0;border:0;background:none}
.embedded-shop-builder #vinyl-stage>p{max-width:none}
@media(min-width:1000px){
 .embedded-shop-builder #vinyl-stage:has(>.form-grid)>label{grid-row:5}
 .embedded-shop-builder #vinyl-stage:has([data-sign-size])>.form-grid{grid-row:6;align-self:start}
}
@media(min-width:1000px) and (max-height:620px){
 .embedded-shop-builder .vinyl-tools{padding:8px}
 .embedded-shop-builder .vinyl-workspace-controls .vinyl-edit-panel h3{font-size:16px;margin:0 0 4px}
 .embedded-shop-builder .vinyl-control-group{padding:4px;margin:3px 0}
}
@media(min-width:1000px){.embedded-shop-builder .vinyl-workspace .vinyl-preview{max-height:clamp(110px,calc(100dvh - 580px),360px)!important;width:min(100%,calc(clamp(110px,calc(100dvh - 580px),360px)*var(--proof-ratio,1.5)))!important}}
@media(min-width:1000px){
 .embedded-shop-builder .cnc-proof{height:calc(100dvh - 368px)}
 .embedded-shop-builder .vinyl-workspace .vinyl-preview{max-height:clamp(110px,calc(100dvh - 592px),360px)!important;width:min(100%,calc(clamp(110px,calc(100dvh - 592px),360px)*var(--proof-ratio,1.5)))!important}
}
.embedded-shop-builder .vinyl-edit-panel label.rush-choice{flex-direction:row;align-items:flex-start;gap:8px;padding:8px;margin:6px 0}
.embedded-shop-builder .vinyl-edit-panel label.rush-choice input{flex:none;min-height:18px;width:18px;height:18px;margin:2px 0}
.embedded-shop-builder .vinyl-edit-panel .rush-choice small{font-size:10px;line-height:1.35}
@media(min-width:1000px){.embedded-shop-builder .vinyl-workspace:has(#vinyl-customer){grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}}

/* Keep the height-chart review summary compact on touch screens as well. */
.embedded-shop-builder #height-summary{display:grid;grid-template-columns:minmax(78px,.65fr) minmax(0,1.35fr);gap:5px 12px;margin:10px 0;font-size:13px;line-height:1.4}
.embedded-shop-builder #height-summary dt{font-weight:650}
.embedded-shop-builder #height-summary dd{margin:0;overflow-wrap:anywhere}
@media(max-width:999px){.embedded-shop-builder .height-controls section[data-height-step="2"] h2{font-size:20px;margin:8px 0}.embedded-shop-builder .height-controls section[data-height-step="2"]>p{font-size:12px;line-height:1.4}.embedded-shop-builder .height-controls section[data-height-step="2"] .check{font-size:13px;line-height:1.4}}

@media(min-width:1000px){.embedded-shop-builder .vinyl-workspace:has(#vinyl-customer) .vinyl-edit-panel>p{margin:6px 0;font-size:12px;line-height:1.4}.embedded-shop-builder #vinyl-customer{display:grid;gap:8px}.embedded-shop-builder #vinyl-customer>label{margin:0}.embedded-shop-builder #vinyl-customer label.check{display:block;position:relative;padding-left:27px;font-size:12px;line-height:1.4}.embedded-shop-builder #vinyl-customer label.check>input{position:absolute;left:0;top:2px;width:18px;height:18px;margin:0}.embedded-shop-builder #vinyl-customer textarea{min-height:44px;height:44px}.embedded-shop-builder #vinyl-customer .rush-choice{margin:0;padding:8px}}

@media(min-width:1000px){.embedded-shop-builder .height-preview-panel #height-preview-status{height:48px;min-height:48px;max-height:48px;overflow:auto;margin:5px 0;font-size:11px;line-height:1.4}.embedded-shop-builder .height-preview-panel #height-preview{height:100%!important}.embedded-shop-builder #height-preview-toggle{display:none!important}}

@media(min-width:1000px){.height-mobile-only{display:none}.embedded-shop-builder .height-preview-panel{height:auto;grid-template-rows:auto auto minmax(200px,1fr) auto auto 32px}.embedded-shop-builder .height-preview-panel #height-preview{height:clamp(200px,calc(100dvh - 290px),560px)!important}.embedded-shop-builder .height-preview-panel #height-preview-status{height:32px;min-height:32px;max-height:32px;margin:0;overflow:auto}}

/* Stable preview and shared board-style resin controls. */
.height-font-fixings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.height-resin-target{display:flex;gap:8px;margin-bottom:10px}
.height-resin-target button{flex:1;padding:10px;border:1px solid #bccbad;border-radius:8px;background:#fff}
.height-resin-target button[aria-pressed=true]{background:var(--olive,#5a7a2e);color:white}
.height-resin-swatches{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.height-resin-swatches button{display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px;border:1px solid #cad3c2;border-radius:8px;background:#fff;min-width:0;font-size:11px}
.height-resin-swatches button[aria-pressed=true]{outline:2px solid var(--olive,#5a7a2e)}
.height-colour-chip{height:20px;width:100%;border-radius:5px;background:linear-gradient(#ffffff55,transparent 55%,#0002),var(--resin-colour);border:1px solid #0002}
.height-resin-swatches small{font-size:9px;color:#66715f}
.height-controls .height-resin-picker,.height-controls .height-font-fixings,.height-controls .height-lettering-help{grid-column:1/-1}
@media(min-width:1000px){
.embedded-shop-builder .height-preview-panel{align-self:start;grid-template-rows:auto auto minmax(0,1fr) auto auto 32px;height:calc(100dvh - 165px)}
.embedded-shop-builder .height-preview-panel #height-preview{height:100%!important;min-height:0;contain:size layout}
.embedded-shop-builder #height-preview img{transition:none!important;animation:none!important}
}

.serving-plan{width:100%;height:100%;max-height:60dvh;touch-action:none}.serving-pocket-actions{display:flex;flex-wrap:wrap;gap:8px}.serving-pocket-actions button{padding:10px;border:1px solid #bccbad;border-radius:8px;background:#fff}

.cnc-preview>label[hidden]{display:none!important}.proof-collapse{display:none!important}

@media(min-width:1000px){
.embedded-shop-builder .cnc-builder[data-cnc-product="serving-board"] .cnc-progress{grid-template-columns:repeat(4,minmax(0,1fr))}
.embedded-shop-builder .cnc-builder[data-cnc-product="serving-board"] .cnc-proof{height:clamp(240px,calc(100dvh - 260px),600px)}
.embedded-shop-builder .cnc-builder[data-cnc-product="serving-board"] .serving-plan{height:100%;max-height:100%}
}

.builder-delivery[hidden],.vinyl-edit-panel label[hidden]{display:none!important}

/* Visual timber samples above proportional serving-board shape choices. */
.serving-visual-options{border:0;padding:0;margin:0 0 18px;min-width:0}
.serving-visual-options legend{font-weight:700;font-size:15px;margin-bottom:9px}
.serving-timber-cards,.serving-size-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.serving-timber-cards button,.serving-size-cards button{min-width:0;min-height:74px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:7px;border:2px solid #d6dfcc;border-radius:12px;background:#fff;color:#263c2c;cursor:pointer}
.serving-timber-cards button[aria-pressed=true],.serving-size-cards button[aria-pressed=true]{border-color:var(--olive,#5a7a2e);background:#eff5e8;box-shadow:0 0 0 1px #5a7a2e33}
.serving-timber-cards img{display:block;width:100%;height:54px;object-fit:cover;border-radius:7px}
.serving-timber-cards strong,.serving-size-cards strong{font-size:12px;line-height:1.25;text-align:center}
.serving-size-cards svg{display:block;width:100%;height:110px}
.serving-choice-dimensions{font:700 17px Arial,sans-serif;fill:#203729;stroke:#fff;stroke-width:4px;paint-order:stroke fill;stroke-linejoin:round}
.serving-choice-unit{font:12px Arial,sans-serif;fill:#53634d}
.serving-visual-options button:focus-visible{outline:3px solid #315b20;outline-offset:3px}
@media(max-width:600px){.serving-timber-cards,.serving-size-cards{gap:6px}.serving-timber-cards button,.serving-size-cards button{padding:5px}.serving-size-cards svg{height:90px}.serving-timber-cards strong,.serving-size-cards strong{font-size:11px}}

.serving-round-group-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.serving-round-group-cards button{display:flex;flex-direction:column;align-items:center;gap:8px;padding:9px;border:2px solid #d0dbc7;border-radius:12px;background:#fff;min-width:0;touch-action:none;user-select:none;cursor:grab}
.serving-round-group-cards button[aria-pressed=true]{border-color:var(--olive,#5a7a2e);background:#eff5e8}
.serving-round-group-cards svg{display:block;width:100%;height:80px;overflow:visible}
.serving-round-group-cards polygon{fill:#c3aa7b;stroke:#735a36;stroke-width:2}
.serving-round-group-cards strong{font-size:12px;text-align:center}
.serving-plan [data-round-half]{cursor:copy}
.serving-plan [data-round-half]:focus-visible path,.serving-plan [data-round-half]:hover path{fill-opacity:.14;stroke-width:2}

.serving-round-drag-ghost{position:fixed;z-index:2000;pointer-events:none;width:130px;padding:9px;border:2px solid #5a7a2e;border-radius:12px;background:#f7faf1ee;box-shadow:0 8px 20px #0003;text-align:center}.serving-round-drag-ghost svg{width:100%;height:65px}.serving-round-drag-ghost polygon{fill:#c3aa7b;stroke:#735a36;stroke-width:2}.serving-round-drag-ghost span{font-size:12px;font-weight:700}

/* Serving pocket tools fit the available desktop editor height, including 1024 × 600. */
@media(min-width:900px){
 .embedded-shop-builder .cnc-builder[data-cnc-product="serving-board"][data-serving-step="1"] .cnc-editor{align-items:stretch;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .cnc-preview{position:relative;display:flex;flex-direction:column;min-height:0;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .cnc-proof{height:auto;min-height:90px;max-height:none;flex:1;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .cnc-controls{padding:10px;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .serving-round-group-cards{gap:5px;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .serving-round-group-cards button{gap:3px;padding:5px;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .serving-round-group-cards svg{height:clamp(24px,6dvh,56px);}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .serving-round-group-cards strong{font-size:11px;line-height:1.2;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .serving-round-group-cards small{font-size:10px;line-height:1.2;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .serving-pocket-actions{gap:5px;margin-top:6px;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .serving-pocket-actions button{min-height:30px;padding:5px 7px;font-size:11px;line-height:1.25;}
}
@media(min-width:900px) and (max-height:600px){
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .cnc-controls{padding:7px;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .cnc-controls h2{font-size:16px;margin:0 0 4px;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .cnc-controls p{font-size:11px;line-height:1.3;margin:4px 0;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .serving-round-group-cards svg{height:26px;}
}

@media(min-width:900px){
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .cnc-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .cnc-editor{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,1.35fr);gap:12px;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .cnc-controls{grid-column:1;grid-row:1;width:auto;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .cnc-preview{grid-column:2;grid-row:1;order:0;width:auto;}
}

@media(min-width:900px) and (max-height:600px){
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .serving-round-group-cards svg{height:18px;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .cnc-controls p{font-size:10px;line-height:1.25;}
 .embedded-shop-builder .cnc-builder[data-serving-step="1"] .serving-pocket-actions button{font-size:10px;padding:4px 6px;min-height:28px;}
}

/* Shared decal creator: the artwork route adds one card to the same text workflow. */
.vinyl-creator #vinyl-stage{padding:4px 0}.creator-start{max-width:1050px;margin:auto}.creator-modes,.creator-films{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.creator-films{grid-template-columns:repeat(3,minmax(0,1fr))}.creator-start button{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;padding:16px;border:2px solid #d4deca;border-radius:12px;background:white;color:#26392a}.creator-start button[aria-pressed=true],.creator-fonts button[aria-pressed=true],.creator-swatches button[aria-pressed=true]{border-color:#5c7d31;background:#edf4e5}.creator-start button span{font-size:13px;line-height:1.5}.creator-start h3{font-size:18px;margin:18px 0 10px}.creator-start p{font-size:13px;line-height:1.5}.creator-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,1fr);gap:16px;align-items:start}.creator-controls{min-width:0;display:grid;gap:12px}.creator-card,.creator-preview{padding:16px;border:1px solid #d6dfce;background:#f8faf4;border-radius:14px;min-width:0}.creator-card h2{font-size:20px;margin:0 0 10px}.creator-card h3{font-size:16px;margin:12px 0 8px}.creator-card p,.creator-preview p{font-size:12px;line-height:1.5;margin:6px 0}.creator-card label{display:flex;flex-direction:column;gap:4px;font-size:12px;margin:7px 0}.creator-card label.check{flex-direction:row;align-items:flex-start;gap:8px}.creator-card :is(input:not([type=checkbox]):not([type=range]),select,textarea){box-sizing:border-box;width:100%;min-width:0;min-height:36px;padding:7px;border:1px solid #c5d0ba;border-radius:7px;font-size:14px}.creator-card input[type=checkbox]{width:18px;height:18px;flex:none}.creator-two,.creator-line-sizes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.creator-line-sizes{grid-template-columns:1fr 1fr 32px;align-items:center}.creator-line{padding:8px 0;border-bottom:1px solid #dce4d4}.creator-line details{font-size:11px}.creator-line button,.creator-card>button,.creator-art-row button{padding:7px 10px;border:1px solid #b7c6a9;border-radius:7px;background:white}.creator-fonts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.creator-fonts button,.creator-swatches button{padding:5px;border:2px solid #d7dfd0;background:#fff;border-radius:8px;min-width:0;cursor:pointer}.creator-fonts img{display:block;width:100%;height:32px;object-fit:contain}.creator-fonts small,.creator-swatches small{display:block;font-size:10px;line-height:1.2}.creator-swatches{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.creator-swatches span{display:block;height:24px;border-radius:4px;border:1px solid #0002;margin-bottom:4px}.creator-preview{position:sticky;top:0}.creator-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.creator-preview output{font-size:12px;text-align:right}.creator-proof{display:grid;place-items:center;min-height:200px;height:clamp(180px,48dvh,600px);background:#eeeee7;border-radius:10px;margin:12px 0;overflow:hidden}.creator-proof img{width:100%;height:100%;max-height:100%;object-fit:contain}.creator-proof [hidden]{display:none}.creator-muted{color:#66715e}.creator-art-row{border-top:1px solid #d9e0d2;padding-top:10px;margin-top:10px}.vinyl-creator .vinyl-start-cards{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:850px){.creator-workspace{grid-template-columns:1fr}.creator-preview{position:relative}.creator-proof{height:200px;min-height:120px}.creator-films{grid-template-columns:1fr}.creator-modes{grid-template-columns:1fr 1fr}.creator-card{padding:12px}.creator-card :is(input:not([type=checkbox]):not([type=range]),select,textarea){font-size:16px;min-height:42px}}

.embedded-shop-builder .vinyl-creator .creator-line{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);column-gap:10px;padding:7px 0}.embedded-shop-builder .vinyl-creator .creator-line>label{margin:0}.embedded-shop-builder .vinyl-creator .creator-line-sizes label{margin:0}.embedded-shop-builder .vinyl-creator .creator-line details{grid-column:1/-1;margin:4px 0}.embedded-shop-builder .vinyl-creator .creator-card label{line-height:1.3}.embedded-shop-builder .vinyl-creator .creator-line :is(input,select){min-height:34px;padding:6px;font-size:13px}.embedded-shop-builder .vinyl-creator .creator-line-sizes{gap:5px}.embedded-shop-builder .vinyl-creator .creator-line-sizes button{padding:6px;min-height:32px}.embedded-shop-builder .vinyl-creator .creator-card>button{margin-top:7px}.embedded-shop-builder .vinyl-creator .creator-proof img{max-width:100%;max-height:100%;object-fit:contain}@media(max-width:850px){.embedded-shop-builder .vinyl-creator .creator-line{grid-template-columns:1fr}.embedded-shop-builder .vinyl-creator .creator-line :is(input,select){font-size:16px;min-height:42px}.creator-preview{position:relative}}

.creator-proof{padding:16px;box-sizing:border-box}.creator-line textarea{resize:vertical;line-height:1.3;min-height:36px}.embedded-shop-builder .vinyl-creator .creator-line textarea{padding:7px;font-size:13px;}@media(max-width:850px){.embedded-shop-builder .vinyl-creator .creator-line textarea{font-size:16px;}}

/* Assign legacy sign editor rows explicitly so loading/recovery content cannot
   take the flexible editor row on the first frame. */
.embedded-shop-builder .vinyl-builder:not(.vinyl-creator):has(.builder-draft-recovery){grid-template-rows:auto auto minmax(0,1fr) auto auto;}
.embedded-shop-builder .vinyl-builder:not(.vinyl-creator):has(.builder-draft-recovery)>.builder-draft-recovery{grid-row:1;}
.embedded-shop-builder .vinyl-builder:not(.vinyl-creator):has(.builder-draft-recovery)>.vinyl-progress{grid-row:2;}
.embedded-shop-builder .vinyl-builder:not(.vinyl-creator):has(.builder-draft-recovery)>#vinyl-stage{grid-row:3;}
.embedded-shop-builder .vinyl-builder:not(.vinyl-creator):has(.builder-draft-recovery)>#vinyl-status{grid-row:4;}
.embedded-shop-builder .vinyl-builder:not(.vinyl-creator):has(.builder-draft-recovery)>.vinyl-navigation{grid-row:5;}
.embedded-shop-builder .vinyl-builder[data-builder-step="0"]>#vinyl-stage{visibility:visible;align-content:start;}

/* Sign creator: one setup section at a time; proof never shares the tool scroll. */
.embedded-shop-builder .vinyl-creator{grid-template-rows:auto minmax(0,1fr) auto auto!important}
.sign-setup-tabs,.sign-design-tabs{display:flex;gap:5px;flex:none;margin-bottom:10px}
.sign-setup-tabs button,.sign-design-tabs button{flex:1;min-width:0;border:1px solid #c5d1b8;border-radius:8px;padding:8px;background:#fff;color:#2d432d;font-size:12px;min-height:34px;cursor:pointer}
.sign-setup-tabs button[aria-selected=true],.sign-design-tabs button[aria-selected=true]{background:#31543b;color:white;border-color:#31543b}
.sign-setup{width:100%;box-sizing:border-box;padding:10px 14px;background:#f8faf4;border:1px solid #d5dfcc;border-radius:12px}
.sign-setup h2{font-size:20px;line-height:1.2;margin:5px 0 10px}.sign-panel-sample{width:72px;height:48px;border:1px solid #a4afa0;border-radius:4px;box-shadow:3px 3px #cad1c4}.sign-setup .creator-films{grid-template-columns:repeat(2,minmax(0,1fr))}.sign-setup .sign-panel-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.sign-setup-summary{font-size:11px;line-height:1.3;border-top:1px solid #d6dfce;padding-top:7px;margin-top:10px}.sign-size-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.sign-size-choices button{align-items:center;text-align:center;padding:7px;min-height:64px;justify-content:center}.sign-size-choices strong{font-size:12px}.sign-size-shape{display:block;background:#dee6d2;border:1px solid #809473;max-height:36px;max-width:95px}.sign-size-fields{align-items:center;grid-template-columns:repeat(3,minmax(0,1fr));font-size:12px;margin-top:8px}.sign-size-fields label{display:flex;flex-direction:column;gap:4px}.sign-size-fields :is(input,select){min-height:34px;font-size:13px;padding:6px;box-sizing:border-box;width:100%}.sign-size-fields p{margin:0}.sign-design-controls{display:flex;flex-direction:column;min-height:0}.sign-design-controls>#sign-design-panel{min-height:0;overflow:auto;overscroll-behavior:contain;flex:1}.sign-design-tabs{margin:0 0 6px}.sign-design-controls .creator-card{border:0;padding:10px}.creator-empty-panel{display:grid;place-items:center;width:min(100%,calc(30dvh * var(--panel-ratio)));aspect-ratio:var(--panel-ratio);max-height:100%;border:1px solid #b2b9aa;color:#67725e;padding:10px;box-sizing:border-box;text-align:center}.sign-creator .creator-workspace{height:100%;box-sizing:border-box;align-items:stretch;overflow:hidden!important}.sign-creator .creator-preview{position:relative;min-height:0;display:flex;flex-direction:column}.sign-creator .creator-proof{flex:1;height:auto;min-height:90px}.sign-creator .creator-proof img{min-height:0}.sign-creator .creator-controls{overflow:auto;min-height:0}.sign-creator .creator-proof [data-creator-empty][hidden]{display:none}.sign-creator .creator-preview>p{font-size:10px;line-height:1.2;margin:3px 0;max-height:44px;overflow:auto}.sign-creator .creator-controls .creator-fonts img{height:26px}
@media(min-width:900px) and (max-height:620px){.sign-setup{padding:7px 10px}.sign-setup h2{font-size:17px;margin:3px 0 7px}.sign-setup .creator-films button{padding:10px;gap:5px}.sign-setup .creator-films button span{font-size:11px;line-height:1.35}.sign-setup-tabs{margin-bottom:6px}.sign-panel-sample{height:28px}.sign-size-choices button{min-height:48px;padding:4px}.sign-size-shape{max-height:22px}.sign-setup-summary{margin-top:7px;padding-top:5px}.sign-setup p{font-size:11px;margin:6px 0}.sign-creator .creator-card{padding:8px}.sign-creator .creator-card h2{font-size:17px}.sign-creator .creator-proof{padding:8px}.sign-creator .creator-controls .creator-fonts img{height:20px}}
@media(max-width:850px){.embedded-shop-builder .sign-creator{padding:5px 7px;gap:4px}.embedded-shop-builder .sign-creator .vinyl-progress{min-height:29px}.embedded-shop-builder .sign-creator .vinyl-progress li{min-height:29px;font-size:9px;padding:3px 1px}.sign-creator .creator-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(115px,30%) minmax(0,1fr);gap:6px}.sign-creator .creator-preview{padding:7px}.sign-creator .creator-preview-heading{font-size:11px;gap:4px}.sign-creator .creator-preview output{font-size:10px}.sign-creator .creator-proof{margin:5px 0 0;min-height:65px;padding:6px}.sign-creator .creator-preview>p{max-height:22px;font-size:9px}.sign-creator .creator-preview p[hidden]{display:none}.sign-creator .creator-controls{border-radius:10px}.sign-creator .sign-design-controls{overflow:hidden}.sign-design-tabs button{min-height:33px;padding:6px 2px;font-size:11px}.sign-creator .creator-card{padding:8px}.sign-creator .creator-card h2{font-size:18px}.sign-creator .creator-line textarea{min-height:36px}.sign-setup{padding:8px}.sign-setup .sign-panel-choices,.sign-setup .creator-films{grid-template-columns:1fr}.sign-setup .creator-films button{padding:10px;gap:4px;min-height:74px}.sign-setup .sign-panel-choices button{display:grid;grid-template-columns:48px 1fr;align-items:center}.sign-panel-sample{width:36px;height:28px;grid-row:1/3}.sign-setup .creator-films button span{font-size:12px}.sign-size-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.sign-size-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.sign-setup h2{font-size:19px}.sign-setup-summary{font-size:10px}}

@media(min-width:900px){.sign-setup .sign-size-fields{margin-top:5px;gap:8px}.sign-setup .sign-size-fields label{margin:0;font-size:11px;line-height:1.2;gap:3px}.sign-setup .sign-size-fields :is(input,select){margin:0!important;min-height:30px!important;height:30px;padding:4px 7px!important;font-size:12px!important}.sign-setup .sign-size-fields p{font-size:11px;line-height:1.3;margin:0}.sign-setup .sign-size-choices button small{font-size:10px;line-height:1.1}.sign-setup .sign-size-choices button{gap:3px}.sign-setup .sign-setup-tabs button{min-height:30px;padding:5px}}
@media(min-width:900px) and (max-height:620px){.sign-setup .sign-size-choices button{height:45px;min-height:45px;padding:3px}.sign-setup .sign-size-choices .sign-size-shape{height:14px!important}.sign-setup .sign-size-choices strong{font-size:11px}.sign-setup .sign-size-fields{grid-template-columns:1fr 1fr 1fr}.sign-setup .sign-setup-summary{font-size:10px;margin-top:5px;padding-top:4px}.sign-setup .sign-size-fields label{font-size:10px}}
@media(min-width:900px){.embedded-shop-builder .sign-creator[data-creator-step="0"] #vinyl-stage{padding:0}.sign-setup .sign-setup-summary{margin-top:4px;padding-top:4px}}

@media(min-width:900px) and (max-height:620px){.sign-creator .creator-swatches{gap:3px}.sign-creator .creator-swatches button{padding:3px}.sign-creator .creator-swatches span{height:14px;margin-bottom:2px}.sign-creator .creator-swatches small{font-size:9px;line-height:1.1}.sign-creator .creator-muted{font-size:9px!important;line-height:1.2!important}.sign-creator .creator-card h2{margin-bottom:5px}}
.sign-creator .vinyl-progress{grid-template-columns:repeat(3,minmax(0,1fr))}

.artwork-comparison{padding:10px;border:1px solid #d6dfce;border-radius:10px;background:#f6f8f1;margin:8px 0}.artwork-comparison-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.artwork-comparison-head button{padding:5px 8px;font-size:11px;min-height:32px}.artwork-comparison-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.artwork-comparison-pair figure{margin:0;min-width:0}.artwork-comparison-pair figcaption{font-size:11px;font-weight:650;margin-bottom:5px}.artwork-comparison-pair img{display:block;width:100%;height:130px;object-fit:contain;background:#fff;border:1px solid #dce1d5;box-sizing:border-box;border-radius:5px}.artwork-comparison p{font-size:11px;line-height:1.4;margin:7px 0 0}.artwork-comparison-dialog{width:min(1050px,92vw);max-height:88dvh;padding:16px;border:0;border-radius:14px;box-sizing:border-box}.artwork-comparison-dialog::backdrop{background:#14271db3}.artwork-comparison-dialog .artwork-comparison-pair img{height:min(58dvh,550px)}.artwork-comparison-dialog form{margin-top:12px}.artwork-comparison-dialog .artwork-comparison{margin:0}@media(max-width:850px){.artwork-comparison{padding:7px}.artwork-comparison-pair{gap:5px}.artwork-comparison-pair img{height:100px}.artwork-comparison-dialog{padding:10px;width:96vw}.artwork-comparison-dialog .artwork-comparison-pair img{height:45dvh}.artwork-comparison-head{font-size:12px}}

/* Page gestures stay at 1× inside a customiser. Product drag surfaces retain touch-action:none. */
html.builder-touch-locked,html.builder-touch-locked body{touch-action:pan-x pan-y;overscroll-behavior:none}
.serving-touch-positions{display:none}
@media(pointer:coarse),(max-width:760px){
 .pocket-tray button,[data-rectangle-pocket],[data-round-group],#remove-pocket,[data-remove-pocket],[data-clear-pockets],.pocket-widths button{min-width:44px!important;min-height:48px!important}
 .pocket-tray{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
 .serving-touch-positions{display:block;margin-top:14px}
 .serving-touch-positions>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .serving-touch-positions button{min-height:48px;width:100%;padding:8px;border:1px solid #bdcbb1;border-radius:8px;background:#fff;color:#233820;font-size:13px;touch-action:pan-y}
 .serving-touch-positions p{font-size:12px;line-height:1.4}
 .builder-touch-locked input:not([type=checkbox]):not([type=radio]):not([type=range]),.builder-touch-locked select,.builder-touch-locked textarea{font-size:16px!important}
}

/* Proof inspection zooms the image, never the page. */
dialog.proof-pan-dialog{width:min(96vw,1200px)!important;height:min(92dvh,900px)!important;max-width:96vw!important;max-height:92dvh!important;box-sizing:border-box;padding:12px!important;display:flex!important;flex-direction:column!important;gap:8px;overflow:hidden!important;background:#f3f5ed;border:1px solid #c8d1c0;border-radius:14px}
dialog.proof-pan-dialog:not([open]){display:none!important}
.proof-pan-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}
.proof-pan-dialog h2{font-size:18px;margin:0}
.proof-pan-dialog button{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #bbc8b1;border-radius:7px;background:#fff;color:#243a28}
.proof-pan-toolbar{display:flex;align-items:center;gap:8px;flex:none;flex-wrap:wrap}
.proof-pan-toolbar output{min-width:48px;text-align:center;font-size:14px}
.proof-pan-toolbar span{font-size:12px;color:#596651}
.proof-pan-stage{position:relative;flex:1 1 0;min-height:100px;width:100%;overflow:hidden;background:#e6e6dc;touch-action:none;cursor:grab;user-select:none;border-radius:8px}
.proof-pan-stage.is-panning{cursor:grabbing}
.proof-pan-content{position:absolute;left:50%;top:50%;transform-origin:center;pointer-events:none}
.proof-pan-content>img,.proof-pan-content>svg{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;margin:0!important;pointer-events:none}
.proof-pan-content>[hidden]{display:none!important}
.proof-pan-dialog>footer{display:flex;justify-content:space-between;flex:none;gap:8px}
@media(max-width:480px){dialog.proof-pan-dialog{padding:8px!important}.proof-pan-dialog h2{font-size:16px}.proof-pan-toolbar{gap:5px}.proof-pan-toolbar span{width:100%;margin:0}}

/* Keep the fixed height-chart preview and editor inside their own columns. */
#height-builder .height-controls{min-width:0;max-width:100%;width:100%;box-sizing:border-box;overflow-x:hidden;overflow-y:auto;touch-action:pan-y;overscroll-behavior-x:none}
#height-builder .height-controls :is(section,label,fieldset,div){min-width:0;max-width:100%;box-sizing:border-box}
#height-builder .height-controls :is(input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
#height-builder .height-controls :is(p,h2,h3,label,dd){overflow-wrap:anywhere}
html.builder-touch-locked,html.builder-touch-locked body{overflow-x:hidden;overscroll-behavior-x:none;touch-action:pan-y}
@media(max-width:760px){#height-builder .height-controls :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}#height-builder .height-controls section{width:100%}}
.height-review-views{flex:none;max-width:100%;text-align:center}.height-review-views[hidden]{display:none}.height-review-views>div{display:flex;align-items:center;justify-content:space-between;gap:4px}.height-review-views button{min-width:44px;min-height:44px;padding:4px;border:1px solid #c9d3bf;border-radius:7px;background:#fff;font-size:24px}.height-review-views span{font-size:11px}.height-review-views p{font-size:10px;line-height:1.3;margin:4px 0}#height-builder[data-step="2"] #height-preview{touch-action:pan-y;user-select:none}#height-builder #height-preview img{-webkit-user-drag:none}
/* Visual timber, physical board sizes and fixing finishes share the builder card style. */
#height-builder .height-choice-values[hidden]{display:none!important}
#height-builder .height-visual-choice{border:0;padding:0;margin:0 0 22px;min-width:0}
#height-builder .height-visual-choice legend{font-weight:700;margin-bottom:9px;padding:0}
#height-builder :is(.height-timber-cards,.height-size-cards,.height-fixing-cards){display:grid;gap:8px}
#height-builder .height-timber-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
#height-builder .height-size-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
#height-builder .height-fixing-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
#height-builder .height-choice-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:48px;width:100%;padding:8px;border:1px solid #c9d3bf;border-radius:10px;background:#fff;color:#20271d;font:inherit;line-height:1.3;cursor:pointer;overflow-wrap:anywhere;box-sizing:border-box}
#height-builder .height-choice-card[aria-pressed=true]{border-color:#5d7d31;box-shadow:inset 0 0 0 2px #5d7d31;background:#f1f5e9}
#height-builder .height-choice-card:focus-visible{outline:3px solid #286b64;outline-offset:2px}
#height-builder .height-timber-cards img{display:block;width:100%;height:70px;object-fit:cover;border-radius:5px}
#height-builder .height-choice-card span{font-size:13px}
#height-builder .height-size-cards svg{display:block;width:100%;height:110px}
#height-builder .height-size-cards strong{font-size:14px}
#height-builder .height-fixing-cards img{display:block;width:60px;height:60px}
#height-builder .height-skirting-option p{margin:0 0 12px;line-height:1.5}
@media(max-width:760px){#height-builder .height-timber-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#height-builder .height-visual-choice{margin-bottom:18px}#height-builder .height-choice-card{padding:6px;gap:5px}#height-builder .height-choice-card span{font-size:11px}#height-builder .height-timber-cards img{height:52px}#height-builder .height-size-cards strong{font-size:11px}#height-builder .height-fixing-cards img{width:42px;height:42px}#height-builder .height-size-cards svg{height:90px}}
@media(max-width:760px){#height-builder .height-fixing-cards{gap:5px}#height-builder .height-fixing-cards .height-choice-card{padding:5px 2px}#height-builder .height-fixing-cards span{font-size:10px;white-space:nowrap;overflow-wrap:normal}#height-builder .height-timber-cards span{overflow-wrap:normal;word-break:normal}}
/* Keep the complete portrait name-area camera visible while editing wording. */
#height-builder[data-step="1"] #height-preview img{object-fit:contain;object-position:center}
/* Compact, visual height-chart wording controls. Native values remain authoritative. */
#height-builder :is(.height-font-options,.height-direction-options){border:0;padding:0;margin:10px 0;min-width:0}
#height-builder :is(.height-font-options,.height-direction-options) legend{font-size:13px;font-weight:600;margin-bottom:6px;padding:0}
#height-builder .height-controls select[hidden]{display:none!important}
#height-builder .height-font-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
#height-builder .height-font-cards img{width:100%;height:32px;object-fit:contain}
#height-builder .height-font-cards .height-choice-card{padding:5px;gap:3px}
#height-builder .height-font-cards span{font-size:10px;line-height:1.2}
#height-builder .height-size-direction{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px;align-items:start}
#height-builder .height-size-control .timber-size-options{margin:10px 0!important}
#height-builder .height-direction-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
#height-builder .height-direction-cards .height-choice-card{padding:4px;gap:2px}
#height-builder .height-direction-cards svg{width:100%;height:32px}
#height-builder .height-direction-cards span{font-size:10px;line-height:1.2}
@media(min-width:1000px){
#height-builder .height-controls section[data-height-step="1"]{display:block}
#height-builder .height-controls section[data-height-step="1"][hidden]{display:none}
#height-builder .height-controls h2{font-size:20px;margin:0 0 8px}
#height-builder .height-controls label{margin:6px 0;font-size:13px;gap:4px}
#height-builder .height-controls input:not([type=checkbox]){padding:8px;min-height:36px}
#height-builder #height-header-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#height-builder #height-header-fields[hidden]{display:none}
#height-builder .height-controls section[data-height-step="1"]>p{font-size:11px;line-height:1.3;margin:6px 0}
#height-builder .height-resin-target{margin:7px 0 5px}
#height-builder .height-resin-target button{padding:4px 8px;min-height:28px;font-size:12px}
#height-builder .height-resin-swatches{grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}
#height-builder .height-resin-swatches button{height:32px;min-height:32px;padding:3px;border-radius:5px;aspect-ratio:auto}
#height-builder .height-resin-swatches .height-colour-chip{height:24px;width:100%;aspect-ratio:auto;border-radius:3px}
#height-builder .height-controls .timber-size-cards button{min-height:60px;padding:5px}
#height-builder .height-controls .timber-size-cards img{max-height:29px}
#height-builder .height-timber-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
#height-builder .height-timber-cards img{height:42px}
#height-builder .height-timber-cards span{font-size:11px}
#height-builder .height-visual-choice{margin-bottom:10px}
#height-builder .height-size-cards .height-choice-card{display:grid;grid-template-columns:32px 1fr;gap:3px 6px;padding:5px}
#height-builder .height-size-cards svg{grid-row:1/3;height:64px}
#height-builder .height-size-cards :is(strong,span){font-size:11px}
#height-builder .height-fixing-cards .height-choice-card{flex-direction:row;padding:4px}
#height-builder .height-fixing-cards img{height:32px;width:32px}
#height-builder .height-skirting-option{display:grid;grid-template-columns:1fr 180px;gap:10px;align-items:center}
#height-builder .height-skirting-option p{font-size:12px;margin:0}
}
@media(max-width:999px){#height-builder .height-font-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#height-builder .height-font-cards .height-choice-card{min-height:62px}#height-builder .height-size-direction{grid-template-columns:minmax(0,1fr);gap:4px}#height-builder .height-direction-cards svg{height:42px}}
@media(min-width:1000px){
#height-builder .height-controls section[data-height-step="1"]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-content:start;align-items:center}
#height-builder .height-controls section[data-height-step="1"]>:is(h2,.height-font-options,.height-size-direction,p,.height-resin-picker,#height-header-fields){grid-column:1/-1}
#height-builder .height-controls section[data-height-step="1"]>h2{margin:0 0 2px}
#height-builder .height-controls section[data-height-step="1"]>label.check{margin:14px 0 0;white-space:nowrap;font-size:11px}
#height-builder :is(.height-font-options,.height-direction-options){margin:3px 0}
#height-builder .height-size-control .timber-size-options{margin:3px 0!important}
#height-builder .height-font-cards .height-choice-card{min-height:48px}
#height-builder .height-font-cards img{height:26px}
#height-builder .height-size-direction .timber-size-cards button{min-height:52px}
#height-builder .height-controls section[data-height-step="1"]>p{margin:2px 0}
#height-builder .height-resin-target{margin:3px 0}
}
@media(min-width:1000px){
#height-builder .height-controls section[data-height-step="1"]>#height-vertical-fields{grid-column:1;max-width:none;width:100%}
#height-builder .height-controls section[data-height-step="1"]>label.check{grid-column:2;align-self:center;margin:15px 0 0}
#height-builder #height-vertical-fields label{width:100%;max-width:none}
#height-builder .height-controls section[data-height-step="1"]{grid-template-columns:minmax(0,1fr) 134px}
#height-builder .height-size-direction .timber-size-cards button{height:55px;min-height:55px}
#height-builder .height-controls .height-font-options{margin:0}
}
@media(min-width:1000px){
#height-builder .height-size-direction .timber-size-cards button{height:58px;min-height:58px;padding:4px!important;gap:3px;justify-content:center}
#height-builder .height-size-direction .timber-size-cards img{max-height:26px!important}
#height-builder .height-controls section[data-height-step="1"]{row-gap:2px}
#height-builder .height-controls section[data-height-step="1"] label{margin:3px 0}
#height-builder .height-resin-swatches button{height:28px;min-height:28px}
#height-builder .height-resin-swatches .height-colour-chip{height:20px}
#height-builder .height-size-direction{gap:12px}
}
@media(min-width:1000px){#height-builder .height-controls section[data-height-step="1"]>h2{font-size:18px;line-height:1.2}#height-builder .height-font-cards img{height:22px}#height-builder .height-font-cards .height-choice-card{min-height:44px}#height-builder .height-controls section[data-height-step="1"]{row-gap:0}#height-builder .height-controls section[data-height-step="1"]>label.check{margin-top:10px}}
@media(max-width:999px){#height-builder .height-size-control .timber-size-select{display:none!important}#height-builder .height-size-control .timber-size-options{display:block;border:0;padding:0;margin:8px 0}#height-builder .timber-size-options legend{font-size:13px;font-weight:600;margin-bottom:6px}#height-builder .timber-size-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}#height-builder .timber-size-cards button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:62px;padding:6px;border:1px solid #c9d3bf;border-radius:8px;background:#fff;color:#20271d}#height-builder .timber-size-cards button[aria-pressed=true]{box-shadow:inset 0 0 0 2px #5d7d31;background:#f1f5e9}#height-builder .timber-size-cards img{max-height:28px;max-width:100%;object-fit:contain}#height-builder .timber-size-cards span{font-size:11px}}
/* All product chips show the same catalogue colour, without whitening gradients. */
#height-builder .height-colour-chip,.height-resin-swatches .height-colour-chip{background:var(--resin-colour)!important;background-image:none!important;box-shadow:none!important;opacity:1}
/* Detail cameras remain visible together beneath the overview. */
#board-builder .board-review-details-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;grid-column:1/-1}
#board-builder .board-review-details-row figure{min-width:0;margin:0}
#board-builder .board-review-details-row canvas{width:100%;height:auto;display:block}
#height-builder .height-preview-panel>.builder-help,#height-builder #height-preview-status{text-align:center;align-self:stretch;margin-left:auto;margin-right:auto}
#height-builder .height-skirting-option input{appearance:textfield;-moz-appearance:textfield}
@media(min-width:1000px){#height-builder .height-size-cards svg{height:100px;width:76px}#height-builder .height-size-cards .height-choice-card{grid-template-columns:76px 1fr}}
@media(min-width:1000px){#height-builder .height-timber-cards{grid-template-columns:repeat(6,minmax(0,1fr))}#height-builder .height-timber-cards .height-choice-card{padding:5px;gap:4px}#height-builder .height-timber-cards img{height:35px}#height-builder .height-timber-cards span{font-size:10px}}

/* Reserve proof-status space in every state so colour edits never resize the image. */
#height-builder .height-preview-panel #height-preview-status{flex:0 0 42px!important;height:42px!important;min-height:42px!important;max-height:42px!important;overflow:auto;box-sizing:border-box;margin:0}
#height-builder .height-direction-options[hidden]{display:none!important}

/* One footer position for every product and every step, inside the shared frame. */
.embedded-shop-builder :is(#board-builder,#height-builder,.cnc-builder,#vinyl-builder,#fretwork-builder){padding-bottom:82px!important}
.embedded-shop-builder :is(#board-builder,#height-builder,.cnc-builder,#vinyl-builder,#fretwork-builder) :is(.builder-app-footer,.cnc-footer,.vinyl-navigation,.fretwork-footer){position:fixed!important;inset:auto 20px 12px!important;width:auto!important;max-width:none!important;height:56px;min-height:56px!important;box-sizing:border-box;margin:0!important;padding:10px 0 0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-rows:44px;align-items:center;gap:12px;border-top:1px solid #dce3d4;background:#f2f5ec;z-index:30;flex:none}
.embedded-shop-builder :is(.builder-app-footer,.cnc-footer,.vinyl-navigation,.fretwork-footer)>:is(button,.button){grid-row:1;box-sizing:border-box;height:44px;min-height:44px!important;margin:0!important;padding:10px 16px!important;white-space:nowrap;font-size:13px!important;line-height:1.2}
.embedded-shop-builder :is(.builder-app-footer,.cnc-footer,.vinyl-navigation,.fretwork-footer)>button:first-of-type{grid-column:1;justify-self:start;min-width:90px}
.embedded-shop-builder :is(.builder-app-footer,.cnc-footer,.vinyl-navigation,.fretwork-footer)>button:not(:first-of-type){grid-column:3;justify-self:end;width:220px;max-width:100%}
.embedded-shop-builder :is(.builder-app-footer,.cnc-footer,.vinyl-navigation,.fretwork-footer)>span{grid-column:2;grid-row:1;justify-self:center;font-size:11px}
.embedded-shop-builder #board-builder[data-step="3"] #builder-progress{display:block}
@media(max-width:760px){
 .embedded-shop-builder :is(#board-builder,#height-builder,.cnc-builder,#vinyl-builder,#fretwork-builder) :is(.builder-app-footer,.cnc-footer,.vinyl-navigation,.fretwork-footer){left:12px!important;right:12px!important;bottom:max(10px,env(safe-area-inset-bottom))!important;grid-template-columns:80px minmax(0,1fr);gap:8px}
 .embedded-shop-builder :is(.builder-app-footer,.cnc-footer,.vinyl-navigation,.fretwork-footer)>span{display:none!important}
 .embedded-shop-builder :is(.builder-app-footer,.cnc-footer,.vinyl-navigation,.fretwork-footer)>button:first-of-type{min-width:80px}
 .embedded-shop-builder :is(.builder-app-footer,.cnc-footer,.vinyl-navigation,.fretwork-footer)>button:not(:first-of-type){grid-column:2;width:min(100%,220px)}
}

body.embedded-shop-builder :is(#board-builder,#height-builder,.cnc-builder,#vinyl-builder,#fretwork-builder) :is(#builder-next,#checkout-board,#height-next,#vinyl-next,[data-cnc-next],[data-fretwork-next]){width:220px!important;min-width:220px!important;max-width:100%!important;grid-column:3;grid-row:1;justify-self:end}
@media(max-width:760px){body.embedded-shop-builder :is(#board-builder,#height-builder,.cnc-builder,#vinyl-builder,#fretwork-builder) :is(#builder-next,#checkout-board,#height-next,#vinyl-next,[data-cnc-next],[data-fretwork-next]){grid-column:2;width:min(100%,220px)!important;min-width:0!important}}

#board-builder .board-review-carousel{display:flex;flex-direction:column;min-width:0;gap:8px}
#board-builder .board-review-carousel>figure{margin:0;min-width:0}
#board-builder .board-review-carousel>figure[hidden]{display:none!important}
/* Size the frame independently of the canvas so the full proof fits in each view. */
#board-builder[data-step="3"] .board-review-carousel .board-render-stage{
 position:relative;
 width:100%;
 max-width:max(320px,115dvh);
 height:auto;
 aspect-ratio:16/9;
 margin-inline:auto;
 overflow:hidden;
 background:#f0f1e8;
}
#board-builder[data-step="3"] .board-review-carousel .board-render-stage canvas{
 position:absolute;
 inset:0;
 width:100%;
 height:100%!important;
 max-height:none!important;
 object-fit:contain;
 touch-action:pan-y;
 cursor:zoom-in;
}
#board-builder .board-review-carousel figcaption{display:none}
#board-builder .board-review-carousel-nav{width:100%}
#board-builder .board-review-carousel .board-scene-caption{margin-top:0}
.serving-photo-carousel{width:100%;margin:8px 0 0}.serving-photo-carousel[hidden]{display:none!important}
.serving-builder-app[data-step="3"] .cnc-proof{touch-action:pan-y;cursor:zoom-in}


#board-builder[data-step="3"] .board-review-carousel>figure{flex:0 0 auto!important;min-height:0!important}

/* Keep the gallery, review and required confirmations on one scrollable page. */
#board-builder[data-step="3"] .builder-app-body{display:block;overflow-y:auto}
#board-builder[data-step="3"] .board-review-gallery{
 display:block;
 height:auto;
 max-width:960px;
 margin-inline:auto;
 overflow:visible;
 padding:0 0 12px;
}
#board-builder[data-step="3"] :is(.board-review-photos,.board-review-copy){
 height:auto;
 overflow:visible;
 padding:0;
}
#board-builder[data-step="3"] .board-review-copy{
 display:grid;
 gap:14px;
 margin-top:14px;
}
#board-builder[data-step="3"] .board-review-copy>section{min-width:0}
#board-builder[data-step="3"] .board-review-copy :is(h2,h3){
 font-size:19px;
 line-height:1.25;
 padding:0;
 margin:0 0 7px;
}
#board-builder[data-step="3"] .board-review-copy p{font-size:14px;line-height:1.45;margin:0 0 8px}
#board-builder[data-step="3"] .board-review-overview #board-review-details{font-size:14px;font-weight:500}
#board-builder[data-step="3"] .board-review-overview #board-price{display:block;font-size:22px;margin:4px 0 0}
#board-builder[data-step="3"] .board-review-guide{border-top:1px solid var(--line);padding-top:14px}
#board-builder[data-step="3"] .board-review-guide #download-board-preview{
 min-height:44px;
 padding:9px 14px;
 font-size:14px;
 white-space:normal;
}
#board-builder[data-step="3"] .board-review-confirmation{
 grid-column:1/-1;
 padding:14px;
 border:1px solid #a7b89a;
 border-radius:12px;
 background:#eef3e8;
}
#board-builder[data-step="3"] .board-proof-approval{
 display:grid;
 gap:8px;
 margin:10px 0 12px;
 padding:0;
 border:0;
 background:none;
}
#board-builder[data-step="3"] .board-proof-approval .required-review-declaration{
 gap:8px;
 padding:0;
 border:0;
}
#board-builder[data-step="3"] .board-proof-approval .required-review-declaration>.check{
 box-sizing:border-box;
 align-items:center;
 min-height:52px;
 padding:8px 10px;
 gap:10px;
 border:1px solid #a7b89a;
 border-radius:8px;
 background:white;
 color:var(--ink);
 font-size:14px;
 line-height:1.35;
 cursor:pointer;
}
#board-builder[data-step="3"] .board-proof-approval .required-review-declaration>.check:after{content:none}
#board-builder[data-step="3"] .board-proof-approval .required-review-declaration>.check:has(input:checked){
 background:#e1ebd7;
 border-color:#657e53;
}
#board-builder[data-step="3"] .board-proof-approval .required-review-declaration input{
 width:24px!important;
 height:24px!important;
 margin:0!important;
 cursor:pointer;
}
#board-builder[data-step="3"] .board-proof-approval .review-details-link{min-height:44px;padding:8px}
#board-builder[data-step="3"] #checkout-status:empty{display:none}
@media(min-width:720px){
 #board-builder[data-step="3"] .board-review-copy{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #board-builder[data-step="3"] .board-review-copy>section:not(.board-review-confirmation){grid-column:auto}
 #board-builder[data-step="3"] .board-review-guide{border-top:0;border-inline-start:1px solid var(--line);padding:0 0 0 16px}
}

/* Mobile-only compact navigation; retain comfortable 44px touch targets. */
@media(max-width:999px){
 .embedded-shop-builder :is(#board-builder,#height-builder,.cnc-builder,#vinyl-builder,#fretwork-builder){padding-bottom:72px!important}
 .embedded-shop-builder :is(#board-builder,#height-builder,.cnc-builder,#vinyl-builder,#fretwork-builder) :is(.builder-app-footer,.cnc-footer,.vinyl-navigation,.fretwork-footer){left:12px!important;right:12px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;height:50px;min-height:50px!important;padding:6px 0 0!important;grid-template-columns:72px minmax(0,1fr);gap:8px}
 .embedded-shop-builder :is(.builder-app-footer,.cnc-footer,.vinyl-navigation,.fretwork-footer)>:is(button,.button){font-size:12px!important;padding:8px 12px!important}
 .embedded-shop-builder :is(.builder-app-footer,.cnc-footer,.vinyl-navigation,.fretwork-footer)>button:first-of-type{min-width:72px}
 .embedded-shop-builder :is(.builder-app-footer,.cnc-footer,.vinyl-navigation,.fretwork-footer)>span{display:none!important}
 body.embedded-shop-builder :is(#board-builder,#height-builder,.cnc-builder,#vinyl-builder,#fretwork-builder) :is(#builder-next,#checkout-board,#height-next,#vinyl-next,[data-cnc-next],[data-fretwork-next]){grid-column:2;width:min(100%,200px)!important;min-width:0!important}
}

/* Keep the mobile expand hint alongside the preview, above the controls. */
#height-builder .height-preview-expand-hint{display:none}
@media(max-width:999px){#height-builder .height-preview-expand-hint{display:block;font-size:11px;line-height:1.35;margin:4px 0 6px;text-align:center;color:#62705c}}

.proof-pan-dialog .proof-lightbox-views{flex:none;margin:4px 0;gap:6px}
.proof-pan-dialog .proof-lightbox-views button[aria-pressed="true"]{background:var(--ink,#20291f);color:white}
.proof-pan-dialog>.proof-lightbox-views+p[role="status"]{flex:none;margin:0;font-size:14px}

/* Mobile size choices stay immediately readable without timber-image fills. */
@media(max-width:999px){
 .serving-size-cards .serving-size-shape{transform-box:view-box;transform-origin:50% 44.827586%;transform:scale(.857142857)}
 .serving-size-cards .serving-size-shape>*{fill:none;stroke:var(--serving-size-outline,#65432d);stroke-width:2.5}
}

/* Centre the shared mobile preview spinner within its own image area. */
.proof-loading-stage>.proof-loading-indicator{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%)}

@media(max-width:999px){
 .mobile-review-layout .mobile-review-heading{font-size:22px!important;line-height:1.25!important;font-weight:600;margin:18px 0 14px!important}
 .mobile-review-layout .mobile-review-save{display:inline-flex!important;align-items:center;justify-content:center;width:auto;min-height:44px;padding:12px 18px;margin:0 0 10px;font-size:16px;font-weight:600}
 .mobile-review-layout .mobile-review-summary{font-size:13px!important;line-height:1.5!important;margin:8px 0!important;color:#66715f}
 .mobile-review-layout dl.mobile-review-summary{display:grid!important;grid-template-columns:minmax(85px,auto) minmax(0,1fr);gap:4px 12px}
 .mobile-review-layout dl.mobile-review-summary dd{margin:0;overflow-wrap:anywhere}
 .mobile-review-layout .mobile-review-price:not(.fretwork-deposit),.mobile-review-layout .fretwork-deposit h3{display:block!important;font-size:24px!important;line-height:1.3!important;font-weight:600;margin:14px 0 18px!important}
 .mobile-review-price[data-review-needs-gst="true"]:after{content:' incl GST'}
 .mobile-review-layout .review-declaration-row{margin-top:10px}
}

[data-engraving-fit-warning="true"] [data-engraving-fit-note],
[data-builder-size-warning="true"]{color:#a42620;font-weight:700}

/* Keep colour choices readable on tablets and desktops without relying on hover. */
@media(min-width:761px){
 #board-builder[data-step="2"] .personal-resin-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%;max-width:none;margin:0;padding:3px;box-sizing:border-box;gap:8px!important}
 #board-builder[data-step="2"] .personal-resin-cards .personal-choice-card{display:flex;flex-direction:column;justify-content:flex-start;gap:6px;aspect-ratio:auto;height:auto!important;min-height:82px!important;padding:5px!important;border-radius:6px;overflow:hidden!important}
 #board-builder[data-step="2"] .personal-resin-sample{position:static;inset:auto;display:flex;flex:none;width:100%;height:30px!important;border-radius:3px}
 #board-builder[data-step="2"] .personal-resin-cards .personal-choice-card>strong{display:block!important;position:static;width:100%;font-size:13px;line-height:1.3;font-weight:600;white-space:normal;text-align:center;overflow-wrap:break-word;color:#304632}
 #board-builder[data-step="2"] .personal-resin-cards .resin-swatch-tooltip{display:none!important}
 #board-builder[data-step="2"] .personal-resin-cards .personal-choice-card[aria-pressed="true"]:after{top:7px;right:7px;bottom:auto}
 #height-builder .height-resin-swatches{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;max-width:none;gap:8px}
 #height-builder .height-resin-swatches button{display:flex;flex-direction:column;justify-content:flex-start;gap:6px;aspect-ratio:auto;height:auto!important;min-height:82px!important;padding:5px;border-radius:6px}
 #height-builder .height-resin-swatches .height-colour-chip{flex:none;width:100%;height:30px!important}
 #height-builder .height-resin-swatches button:after{content:attr(title);display:block;width:100%;color:#304632;font-size:13px;line-height:1.3;font-weight:600;white-space:normal;text-align:center;overflow-wrap:break-word}
}

/* Builder guidance should remain readable in compact editor layouts. */
#board-builder :is(.builder-help,.pocket-preview-help,.pocket-fit-note,.grid-note,.board-preview-help p,.timber-note),
#height-builder :is(.height-preview-expand-hint,.height-help,.builder-help,.timber-note,.height-fit-note),
.serving-builder-app :is(.builder-help,.cnc-controls small,.cnc-preview>small,.serving-photo-carousel p){
 font-size:clamp(12px,1.2vw,14px)!important;
 line-height:1.45!important;
}
#board-builder .pocket-grid-cell rect{stroke:#527255;stroke-opacity:.82}
#board-builder .pocket-grid-cell:is(:hover,:focus-visible) rect{stroke:#244c33;stroke-opacity:1}

/* Preserve the entire height of each selected chart view. Narrow panes may
   crop the surrounding scene horizontally; never enlarge to fill the width. */
#height-builder .height-preview-panel #height-preview img{
 position:absolute;inset:auto;top:0;left:50%;
 width:auto!important;height:100%!important;
 max-width:none!important;max-height:none!important;
 object-fit:contain!important;object-position:center;
 transform:translateX(-50%);
}

/* Raster-only immediate editing layer uses the same full-height framing. */
#height-builder .height-preview-panel #height-preview .height-instant-preview{position:absolute;inset:auto;top:0;left:50%;width:auto!important;height:100%!important;max-width:none!important;max-height:none!important;transform:translateX(-50%);pointer-events:none;z-index:1}
#height-builder #height-preview .height-instant-preview[hidden]{display:none!important}
#height-builder #height-preview[data-instant-preview=true]>.proof-loading-indicator{display:none}

/* Keep the optional name switch readable and comfortable on touch screens. */
#height-builder .height-controls label.height-no-name-toggle{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:56px;padding:10px 12px;margin:8px 0;border:1px solid #bbc8ad;border-radius:10px;background:#f8faf3;cursor:pointer;font-size:16px!important;line-height:1.35}
#height-builder .height-controls .height-no-name-toggle input{position:absolute;opacity:0;width:1px!important;height:1px!important;min-height:0;padding:0;margin:0}
#height-builder .height-no-name-track{display:block;position:relative;flex:0 0 48px;width:48px;height:28px;border-radius:18px;background:#83907a;transition:background .15s}
#height-builder .height-no-name-track::after{content:'';position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:white;box-shadow:0 1px 3px #0003;transition:transform .15s}
#height-builder .height-no-name-toggle input:checked+.height-no-name-track{background:#5b7c2e}
#height-builder .height-no-name-toggle input:checked+.height-no-name-track::after{transform:translateX(20px)}
#height-builder .height-no-name-state{margin-left:auto;font-size:14px;font-weight:700;min-width:24px;color:#526348}
#height-builder .height-no-name-state::after{content:'Off'}
#height-builder .height-no-name-toggle input:checked~.height-no-name-state::after{content:'On'}
#height-builder .height-no-name-toggle:focus-within{outline:3px solid #7d9c55;outline-offset:3px}
@media(prefers-reduced-motion:reduce){#height-builder .height-no-name-track,#height-builder .height-no-name-track::after{transition:none}}

#height-builder .height-no-name-toggle strong{min-width:0;flex:1}
@media(min-width:1000px){#height-builder .height-controls section[data-height-step="1"]{grid-template-columns:minmax(0,1fr) 250px}}

#height-builder .height-no-name-toggle strong{white-space:normal;margin-right:4px;line-height:1.25}
#height-builder .height-no-name-state{flex-shrink:0;padding:3px 6px;border-radius:6px;background:#e6ecdf;text-align:center}
/* Larger texture samples and a clearer skirting field on tablets and desktops. */
@media(min-width:761px){
 #height-builder .height-timber-cards img{height:140px}
 #height-builder .height-skirting-option{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
 #height-builder .height-skirting-option label{order:0;width:min(100%,250px);margin:0}
 #height-builder .height-skirting-option p{order:1;margin:0}
}
@media(min-width:1000px){#height-builder .height-timber-cards img{height:70px}}
/* Keep the mobile switch and its focus indicator inside the scrolling panel. */
@media(max-width:760px){
 #height-builder .height-controls label.height-no-name-toggle{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
 #height-builder .height-no-name-toggle:focus-within{outline-offset:-3px}
}
