/* A contained workspace: the truck stays visible while the controls scroll. */
.wrap-designer-page{--wd-green:#213b32;--wd-border:#e1e5e2;--wd-muted:#6d7771;--wd-paper:#f5f7f5;scroll-behavior:auto}
.wrap-designer-page body{height:var(--wd-window-height,100dvh);overflow:hidden;background:#f5f7f5}
.wrap-designer-page .site-header{height:76px;min-height:76px;position:relative;background:#fff;box-shadow:none;border-bottom:1px solid var(--wd-border)}
.wrap-designer-page .header-inner{height:76px;min-height:76px;width:calc(100% - 64px);max-width:none}
.wrap-designer-page .site-header{--brand-full-width:170px;--brand-progress:0;--brand-wordmark-opacity:1}
.wrap-designer-page .brand{transform:translate(-50%,-50%)!important}
.wrap-designer-page .brand-monogram,.wrap-designer-page .brand-wordmark{transform:none!important}
.wrap-designer-page .site-footer{display:none}
.wrap-designer-page #main{height:calc(var(--wd-window-height,100dvh) - 76px);overflow:hidden}
.wd-app{height:100%;display:flex;flex-direction:column;--wd-control:42px;color:#1c2922}
/* Repeated control taps are clicks, not Safari's double-tap page zoom. */
.wd-app,.wd-tool-panel,.wd-app button,.wd-zoom,.wd-scale{touch-action:manipulation}
.wd-app button{-webkit-user-select:none;user-select:none}
.wd-app button,.wd-app input,.wd-app select,.wd-app textarea{font-size:13px;line-height:1.3}
/* Keep editable controls large enough to avoid browser focus zoom, including on tablets. */
.wd-app input,.wd-app select,.wd-app textarea{font-size:16px}
.wd-app button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--wd-control);background:#fff;border:1px solid var(--wd-border);border-radius:10px;padding:9px 12px;white-space:nowrap;transition:background .15s,border-color .15s}
.wd-app button:hover:not(:disabled){background:#e9efea;border-color:#b6c2b8}
.wd-app button:disabled{cursor:default;opacity:.32}
.wd-app button.wd-primary{color:#fff;background:var(--wd-green);border-color:var(--wd-green)}
.wd-app button.wd-primary:hover{background:#315144}
.wd-app button svg{flex-shrink:0;width:18px;height:18px}
.wd-app input:not([type=checkbox]):not([type=range]):not([type=color]),.wd-app select,.wd-app textarea{width:100%;min-height:42px;padding:10px 11px;background:white;border:1px solid #d8dfd9;border-radius:8px;color:#213328;outline-offset:2px}
.wd-app input[type=range]{width:100%;accent-color:var(--wd-green);height:28px;margin:0;cursor:pointer}
.wd-app input[type=checkbox]{accent-color:var(--wd-green);width:15px;height:15px;margin:0}
.wd-app input[type=color]{padding:0;width:44px;height:38px;border:0;background:none;cursor:pointer;flex-shrink:0}
.wd-app input[type=color]::-webkit-color-swatch-wrapper{padding:4px}
.wd-app input[type=color]::-webkit-color-swatch{border:1px solid #c4ccc5;border-radius:6px}
.wd-app :focus-visible{outline:3px solid #c19b5a;outline-offset:2px}
.wd-app [hidden]{display:none!important}
.wd-topbar{flex-shrink:0;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 30px;background:#fff;border-bottom:1px solid var(--wd-border)}
.wd-back{font-size:11px;color:var(--wd-muted)}
.wd-back span{margin-left:7px;color:#b2b9b3}
.wd-topbar h1{font-size:27px;line-height:1.1;letter-spacing:-.04em;margin:4px 0 0;font-weight:500}
.wd-file-actions{display:flex;gap:8px}
.wd-workspace{display:grid;grid-template-columns:230px minmax(0,1fr) 250px;flex:1;min-height:0}
.wd-library,.wd-inspector{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;background:#fff}
.wd-library{border-right:1px solid var(--wd-border)}
.wd-tool-panel{padding:23px 20px}
.wd-library .wd-tool-panel+.wd-tool-panel{border-top:1px solid var(--wd-border)}
.wd-panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:8px}
.wd-panel-heading h2{font-size:15px;font-weight:600;letter-spacing:-.02em;margin:0}
.wd-step{font-size:10px;letter-spacing:.08em;color:#8f9b91}
.wd-count{font-size:10px;color:#56665b;background:#eef2ee;border-radius:50%;min-width:22px;height:22px;display:grid;place-items:center}
.wd-label{display:block;font-size:11px;font-weight:500;margin:14px 0 7px;color:#627168}
.wd-field-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;margin:22px 0 10px}
.wd-field-heading>span:last-child{font-size:10px;color:var(--wd-muted)}
.wd-swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:0 0 12px}
.wd-app .wd-swatch{position:relative;background:var(--swatch);padding:0;height:29px;min-height:29px;border:1px solid #d1d6d2;border-radius:7px}
.wd-app .wd-swatch:hover:not(:disabled){background:var(--swatch);border-color:#314c3c}
.wd-swatch[aria-pressed=true]::after{content:'';position:absolute;inset:-4px;border:1px solid #34523d;border-radius:9px}
.wd-colour-field{display:flex;align-items:center;gap:7px;border:1px solid var(--wd-border);border-radius:9px;padding:2px 5px;background:#fff}
.wd-app .wd-colour-field input:not([type=color]){padding:7px;min-height:35px;border:0;font-size:16px;letter-spacing:.06em}
.wd-app .wd-upload{width:100%;justify-content:center;min-height:53px;color:var(--wd-green);border:1px dashed #9eafa4;background:#f1f5f1}
.wd-help{font-size:11px!important;line-height:1.55!important;color:var(--wd-muted);margin:10px 0 14px!important}
.wd-add-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.wd-add-grid button{flex-direction:column;font-size:11px;gap:7px;padding:13px 4px;min-height:69px}
.wd-local-note{font-size:10px;line-height:1.5;margin:14px 0 0;color:var(--wd-muted)}
.wd-layer-panel ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}
.wd-layer-panel li{display:flex;align-items:center;border:1px solid transparent;border-radius:9px;background:#f6f8f6;gap:1px;padding:3px}
.wd-layer-panel li.is-selected{border-color:#69826f;background:#e9f0e9}
.wd-app .wd-layer-select{background:transparent;border:0;flex:1;justify-content:flex-start;min-width:0;padding:6px;gap:7px;min-height:36px}
.wd-layer-select .wd-layer-glyph{display:grid;place-items:center;width:24px;height:24px;flex-shrink:0;font-size:17px;background:#fff;border:1px solid #dde4de;border-radius:5px}
.wd-layer-select .wd-layer-name{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wd-app .wd-layer-toggle{padding:3px;min-height:32px;width:25px;border:0;background:transparent;flex-shrink:0;font-size:12px}
.wd-layer-toggle[aria-pressed=true]{background:#dce6dd}
.wd-layer-group-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:12px;padding-block:4px;position:sticky;top:0;background:#fff;z-index:2}
.wd-layer-group-actions button{font-size:11px;padding:8px 5px;min-height:38px}
.wd-layer-group-actions button[aria-pressed=true]{background:#e9f0e9;border-color:#69826f}
.wd-app .wd-layer-check{margin:0 4px;flex:none;width:17px;height:17px;cursor:pointer}
.wd-app .wd-layer-expand{padding:0;min-height:34px;width:21px;flex:none;border:0;background:transparent;font-size:21px}
.wd-layer-panel li.wd-layer-member{margin-left:14px;border-left:2px solid #d4dfd6;border-radius:0 8px 8px 0}
.wd-orientation,.wd-group-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:13px}
.wd-orientation button,.wd-group-tools button{font-size:11px;padding:9px 5px;gap:6px;min-height:44px}
.wd-orientation button[aria-pressed=true]{background:#e4ede4;border-color:#8b9d8d}
.wd-group-tools{margin-top:0;padding-bottom:10px;border-bottom:1px solid var(--wd-border)}
.wd-app #wd-member-note{border-left:2px solid #9bb5a2;padding-left:8px;color:#42634e}
.wd-layer-order{display:flex;gap:6px;margin-top:12px}
.wd-layer-order button{flex:1;font-size:10px;padding:7px 4px;min-height:34px}
.wd-preview{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:#f0f3f0}
.wd-canvas-toolbar{display:flex;align-items:center;justify-content:space-between;padding:20px 25px;gap:12px;flex-shrink:0}
.wd-side-switch{background:#e3e9e3;padding:4px;display:flex;border-radius:12px;gap:3px}
.wd-side-switch button{min-height:34px;border:0;background:none;color:#56665b;padding:8px 17px;font-size:12px}
.wd-side-switch button[aria-pressed=true]{background:#fff;color:#1c3022;box-shadow:0 1px 5px #21332812}
.wd-history{display:flex;gap:5px}
.wd-history button{background:transparent;min-width:35px;min-height:35px;border:0;padding:7px}
.wd-history button span{display:none}
.wd-stage{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none;user-select:none;background:#eceeed;isolation:isolate}
.wd-artboard{position:absolute;top:50%;left:50%;width:100%;aspect-ratio:4/3;transform:translate(-50%,-50%);transform-origin:center;will-change:transform}
.wd-artboard canvas{display:block;width:100%;height:100%;outline-offset:-3px}
.wd-artboard svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.wd-artboard svg [data-handle]{pointer-events:all;cursor:nwse-resize}
.wd-artboard svg [data-handle=n],.wd-artboard svg [data-handle=s]{cursor:ns-resize}
.wd-artboard svg [data-handle=e],.wd-artboard svg [data-handle=w]{cursor:ew-resize}
.wd-artboard svg [data-handle=rotate]{cursor:grab}
.wd-artboard canvas{cursor:default}
.wd-loading{position:absolute;inset:0;display:grid;place-items:center;background:#f0f3f0;font-size:14px;color:#6b796e;z-index:1}
.wd-preview-footer{padding:17px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.wd-preview-footer>div:first-child{min-width:0}
.wd-preview-footer span{font-size:12px;font-weight:500}
.wd-preview-footer small{display:block;font-size:10px;color:var(--wd-muted);margin-top:5px;line-height:1.4}
.wd-zoom{display:flex;align-items:center;gap:3px;flex-shrink:0}
.wd-zoom button{width:30px;min-height:32px;padding:4px;border:0;background:none;font-size:19px}
.wd-zoom output{font-size:10px;min-width:36px;text-align:center}
.wd-zoom #wd-fit{width:36px;margin-left:5px}
.wd-zoom #wd-fit span{display:none}
.wd-status{font-size:10px;line-height:1.5;min-height:26px;padding:0 24px 10px;color:#66796b}
.wd-inspector{border-left:1px solid var(--wd-border);display:flex;flex-direction:column}
.wd-empty-icon{width:42px;height:42px;border-radius:12px;background:#eef3ee;display:grid;place-items:center;margin:34px 0 19px;color:#719179}
.wd-inspector h3{font-size:17px;letter-spacing:-.02em;line-height:1.3;margin:0 0 12px}
.wd-inspector p{font-size:12px;line-height:1.65;color:var(--wd-muted)}
.wd-pair{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.wd-pair label{font-size:10px;color:var(--wd-muted);display:flex;flex-direction:column;gap:5px}
.wd-pair input{padding:8px!important}
.wd-ratio{font-size:10px!important;color:#516858;display:flex;align-items:center;gap:5px;white-space:nowrap}
.wd-scale{display:flex;gap:8px;margin-top:9px}
.wd-scale button{flex:1;font-size:11px;min-height:34px;padding:7px 3px}
.wd-app .wd-small-link{min-height:25px;border:0;padding:3px 0;font-size:10px;background:none;color:#36573f}
.wd-nudge{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:10px}
.wd-nudge button{min-height:34px;padding:6px}
.wd-range-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin:18px 0 7px}
.wd-range-label output{font-size:10px;color:var(--wd-muted)}
.wd-font-style{display:flex;gap:6px;margin:10px 0}
.wd-font-style button{min-width:38px;min-height:34px}
.wd-font-style button[aria-pressed=true]{background:#e4ede4;border-color:#8b9d8d}
.wd-object-actions{display:grid;grid-template-columns:1fr;gap:7px;border-top:1px solid var(--wd-border);padding-top:18px;margin-top:20px}
.wd-object-actions button{justify-content:flex-start;font-size:11px}
.wd-object-actions .wd-delete{color:#a2473e}
.wd-project-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:28px;color:#7a887e}
.wd-project-footer span{font-size:9px;line-height:1.5}
.wd-app .wd-project-footer button{border:0;background:none;font-size:9px;min-height:32px;padding:5px 0}
.wd-mobile-tools{display:none}
.wd-dialog{border:1px solid #dbe3dc;border-radius:22px;padding:32px;width:min(480px,calc(100% - 30px));max-height:calc(100dvh - 40px);overflow:auto;color:#213328;background:#fff;box-shadow:0 20px 100px #152d2240}
.wd-dialog::backdrop{background:#16261cb3;backdrop-filter:blur(4px)}
.wd-dialog .wd-dialog-close{float:right;min-height:32px;width:32px;padding:6px;border:0;background:#f1f4f1;border-radius:50%}
.wd-dialog h2{font-size:30px;line-height:1.15;font-weight:500;letter-spacing:-.04em;margin:15px 0}
.wd-dialog p{font-size:13px;line-height:1.6;color:#69776d}
.wd-dialog .wd-eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:.18em;color:#667d6e;margin:9px 0}
.wd-export-options{display:flex;flex-direction:column;gap:9px;margin:23px 0}
.wd-export-options button{justify-content:flex-start;padding:16px;gap:15px;text-align:left;white-space:normal}
.wd-export-options strong{font-size:13px;font-weight:500;display:block}
.wd-export-options small{display:block;font-size:10px;color:#79877d;margin-top:5px;line-height:1.4}
.wd-dialog-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:26px}
.wd-noscript{position:fixed;inset:30% 10%;z-index:100;background:white;padding:30px}
.wd-livery-launch{margin:32px 0;padding:26px 28px;background:#edf2ed;border:1px solid #dbe5db;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.wd-livery-launch h2{font-size:25px;margin:0 0 7px;letter-spacing:-.03em}
.wd-livery-launch p{font-size:14px;margin:0;line-height:1.5;color:#5a6b60}
.wd-livery-launch .button{flex:none;padding:14px 22px;min-height:48px;border-radius:24px;font-size:14px}
@media(min-width:1500px){.wd-workspace{grid-template-columns:260px minmax(0,1fr) 280px}.wd-tool-panel{padding:26px}.wd-topbar{padding-inline:32px}}
@media(max-width:1100px) and (min-width:1001px){.wd-workspace{grid-template-columns:192px minmax(0,1fr) 218px}.wd-tool-panel{padding:20px 14px}.wd-canvas-toolbar{padding:16px 14px}.wd-side-switch button{padding:7px 12px}.wd-preview-footer{padding:12px}.wd-preview-footer small{display:none}.wd-ratio{font-size:9px!important}.wd-project-footer{flex-wrap:wrap}}
@media(max-width:1000px){
 .wrap-designer-page .site-header,.wrap-designer-page .header-inner{height:62px;min-height:62px}
 .wrap-designer-page .header-inner{width:calc(100% - 36px)}
 .wrap-designer-page .site-header{--brand-full-width:137px}
 .wrap-designer-page #main{height:calc(var(--wd-window-height,100dvh) - 62px)}
 .wrap-designer-page .nav.mobile-open{top:62px}
 .wd-app{--wd-control:44px}
 .wd-topbar{padding:10px 16px;gap:10px;min-height:68px}
 .wd-topbar h1{font-size:23px;margin-top:2px}.wd-back{font-size:9px}
 .wd-file-actions{gap:4px}.wd-file-actions button{width:38px;min-height:38px;padding:8px;border-radius:9px}.wd-file-actions button span{display:none}.wd-file-actions button:last-child{width:42px}
 /* Clip the outer workspace without creating a scroll container; only the tools should scroll on focus. */
 .wd-workspace{display:flex;flex-direction:column;flex:1;min-height:0;position:relative;overflow:clip}
 .wd-preview{flex:0 0 auto;order:0;height:clamp(235px,36dvh,350px);min-height:0;border-bottom:1px solid var(--wd-border)}
 .wd-canvas-toolbar{padding:8px 15px;gap:8px}.wd-side-switch{padding:3px;border-radius:10px}.wd-side-switch button{font-size:11px;min-height:31px;padding:6px 16px}.wd-history button{width:34px;min-height:34px}
 .wd-preview-footer{padding:8px 15px;min-height:43px}.wd-preview-footer span{font-size:10px}.wd-preview-footer small{display:none}
 .wd-status{font-size:9px;min-height:19px;padding:0 15px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .wd-stage{flex:1;min-height:135px}
 .wd-library{display:contents}.wd-tool-panel{display:none!important;padding:18px 20px;border:0!important;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;order:1;background:#fff}
 .wd-tool-panel.is-mobile-active{display:block!important}
 .wd-inspector.is-mobile-active{display:flex!important}
 .wd-panel-heading{margin-bottom:12px}.wd-panel-heading h2{font-size:14px}.wd-step{display:none}
 .wd-swatches{grid-template-columns:repeat(8,1fr);gap:10px;margin-bottom:14px}.wd-app .wd-swatch{height:32px;min-height:32px}
 .wd-add-grid{grid-template-columns:repeat(4,1fr);gap:7px}.wd-add-grid button{min-height:63px;padding:10px 2px;font-size:10px}
 .wd-app .wd-upload{min-height:44px}.wd-help{font-size:10px!important;margin:8px 0 12px!important}.wd-help br{display:none}
 .wd-local-note{font-size:9px;margin-top:10px}
 .wd-mobile-tools{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid var(--wd-border);padding:5px 12px max(5px,env(safe-area-inset-bottom));gap:7px;flex-shrink:0}
 .wd-mobile-tools button{min-height:49px;flex-direction:column;gap:3px;padding:6px;border:0;font-size:10px;color:#6b7c70;border-radius:10px}
 .wd-mobile-tools button[aria-pressed=true]{background:#eaf0e9;color:#1c4029}
 .wd-mobile-tools button svg{width:19px;height:19px}
 .wd-inspector .wd-panel-heading{margin-bottom:3px}.wd-empty-icon{margin:15px 0 12px}
 .wd-inspector h3{font-size:17px}.wd-inspector p{font-size:12px;line-height:1.5;max-width:420px}
 .wd-field-heading{margin-top:17px}.wd-pair{gap:12px}.wd-pair input{font-size:16px!important}
 .wd-app input:not([type=checkbox]):not([type=range]):not([type=color]),.wd-app select,.wd-app textarea{font-size:16px;min-height:43px}
 .wd-app .wd-colour-field input:not([type=color]){font-size:16px}
 .wd-object-actions{grid-template-columns:1fr 1fr}.wd-object-actions button{font-size:11px}.wd-object-actions button:nth-child(2){grid-column:1/-1;grid-row:2}.wd-project-footer{padding-top:24px}
 .wd-layer-panel li{min-height:48px}.wd-layer-select .wd-layer-name{font-size:13px}.wd-app .wd-layer-toggle{width:40px;min-height:40px}.wd-layer-order button{min-height:42px;font-size:12px}
 .wd-layer-group-actions button{min-height:44px;font-size:12px}.wd-orientation button,.wd-group-tools button{font-size:12px;min-height:45px}.wd-app .wd-layer-check{width:20px;height:20px;margin-inline:7px}.wd-app .wd-layer-expand{width:30px;min-height:44px}.wd-layer-panel li.wd-layer-member{margin-left:22px}
 .wd-livery-launch{align-items:flex-start;flex-direction:column;gap:20px;padding:23px}.wd-livery-launch h2{font-size:25px}
 .wd-dialog{padding:25px}.wd-dialog h2{font-size:28px}
}
@media(max-height:670px) and (max-width:1000px){.wd-preview{height:220px}.wd-topbar{min-height:57px;padding-block:7px}.wd-stage{min-height:122px}.wd-canvas-toolbar{padding-block:6px}.wd-status{display:none}.wd-mobile-tools button{min-height:44px}.wd-tool-panel{padding-block:13px}}
@media(prefers-reduced-motion:reduce){.wd-app *{transition:none!important}}

@media(max-width:1000px) and (max-height:550px) and (orientation:landscape){
 .wrap-designer-page .site-header{display:none}
 .wrap-designer-page #main{height:var(--wd-window-height,100dvh)}
 .wd-topbar{min-height:52px;padding-block:6px}.wd-back{display:none}
 .wd-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px}
 .wd-preview{grid-area:1 / 1;height:100%;border:0}
 .wd-stage{min-height:0}.wd-status{display:none}
 .wd-tool-panel.is-mobile-active{grid-area:1 / 2;border-left:1px solid var(--wd-border)!important}
 .wd-mobile-tools button{min-height:39px;padding:3px;flex-direction:row;gap:8px}
}

/* The paint range is separate from the customer's full-wrap colour. */
.wd-paint-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.wd-app .wd-paint-option{flex-direction:column;gap:7px;min-height:65px;padding:8px;font-size:11px;color:#34473a}
.wd-paint-chip{width:100%;height:25px;border:1px solid #cbd1cd;border-radius:5px;background:linear-gradient(160deg,#ffffffa6,transparent 36%,#ffffff35 46%,transparent 61%),var(--swatch)}
.wd-app .wd-paint-option[aria-pressed=true]{background:#eef3ed;border-color:#54725e;box-shadow:inset 0 0 0 1px #54725e}
.wd-wrap-section{margin-top:22px;padding-top:4px;border-top:1px solid var(--wd-border)}
.wd-wrap-section .wd-field-heading{margin-top:17px}
.wd-wrap-toggle{display:flex;align-items:center;gap:9px;font-size:12px;min-height:36px;margin:0 0 11px;cursor:pointer}
.wd-paint-summary{margin-bottom:0!important;font-size:10px!important}
@media(max-width:1000px){.wd-paint-options{grid-template-columns:repeat(4,minmax(0,1fr))}.wd-app .wd-paint-option{min-height:64px;font-size:11px;padding:7px}.wd-wrap-section{margin-top:18px}.wd-wrap-toggle{min-height:40px;font-size:13px}.wd-paint-summary{font-size:11px!important}}

/* Keep the mobile editor inside Safari's visible area above the keyboard. */
.wd-keyboard-bar{display:none}
@media(max-width:1000px){
 .wrap-designer-page body{position:fixed;inset:0;width:100%;height:100%;overflow:hidden}
 .wrap-designer-page .site-header{position:fixed;top:var(--wd-window-top,0px);left:0;width:100%}
 .wrap-designer-page #main{position:fixed;left:0;right:0;top:calc(var(--wd-window-top,0px) + 62px);height:calc(var(--wd-window-height,100dvh) - 62px)}
 .wrap-designer-page.wd-keyboard-open .site-header{display:none}
 .wrap-designer-page.wd-keyboard-open #main{top:var(--wd-window-top,0px);height:var(--wd-window-height,100dvh)}
 .wd-keyboard-open .wd-topbar,.wd-keyboard-open .wd-canvas-toolbar,.wd-keyboard-open .wd-preview-footer,.wd-keyboard-open .wd-mobile-tools,.wd-keyboard-open .wd-status{display:none}
 .wd-keyboard-open .wd-preview{height:clamp(84px,calc(var(--wd-window-height,100dvh) * .28),126px)}
 .wd-keyboard-open .wd-stage{min-height:0}
 .wd-keyboard-open .wd-tool-panel{padding-block:12px}
 .wd-keyboard-open .wd-panel-heading{display:none}
 .wd-keyboard-open .wd-keyboard-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:5px 16px;min-height:46px;flex:none;background:#fff;border-top:1px solid var(--wd-border)}
 .wd-keyboard-bar span{font-size:12px;color:var(--wd-muted)}
 .wd-keyboard-bar button{min-height:36px;padding:7px 18px;border:0;background:#eaf0e9;color:#213b32;font-size:14px;font-weight:600}
}
@media(max-width:1000px) and (max-height:550px) and (orientation:landscape){
 .wrap-designer-page #main{top:var(--wd-window-top,0px);height:var(--wd-window-height,100dvh)}
 .wd-keyboard-open .wd-preview{height:100%}
}

/* Give the drawing surface priority without changing the truck's proportions. */
.wrap-designer-page{--wd-header-height:56px}
.wrap-designer-page .site-header,.wrap-designer-page .header-inner{height:var(--wd-header-height);min-height:var(--wd-header-height)}
.wrap-designer-page #main{height:calc(var(--wd-window-height,100dvh) - var(--wd-header-height))}
.wd-topbar{padding:9px 24px;gap:12px;min-height:60px}
.wd-topbar>div:first-child{display:flex;align-items:center;gap:16px}
.wd-topbar h1{font-size:23px;margin:0}
.wd-back{font-size:10px}
.wd-canvas-toolbar{padding:7px 16px;min-height:54px}
.wd-canvas-actions{display:flex;align-items:center;gap:10px;flex:none}
.wd-app #wd-expand{min-height:36px;padding:7px 10px;font-size:11px;background:#fff}
.wd-app #wd-expand[aria-pressed=true]{background:#e0e9df;border-color:#95ac98}
.wd-preview-footer{padding:6px 16px;min-height:44px}
.wd-preview-footer small{display:none}
.wd-status{font-size:10px;min-height:20px;padding:0 16px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wrap-designer-page.wd-canvas-expanded{--wd-header-height:0px}
.wrap-designer-page.wd-canvas-expanded .site-header{display:none}

@media(max-width:1000px){
 .wrap-designer-page{--wd-header-height:52px}
 .wrap-designer-page #main{top:calc(var(--wd-window-top,0px) + var(--wd-header-height))}
 .wrap-designer-page .nav.mobile-open{top:var(--wd-header-height)}
 .wd-topbar{min-height:54px;padding:7px 15px}
 .wd-topbar>div:first-child{display:block}
 .wd-topbar h1{font-size:21px}.wd-back{display:none}
 .wd-preview{height:min(calc(var(--wd-window-height,100dvh) * .52),calc(100% - 190px));min-height:220px}
 .wd-canvas-toolbar{padding:5px 12px;min-height:48px;gap:6px}
 .wd-side-switch button{padding-inline:12px}
 .wd-canvas-actions{gap:4px}.wd-history{gap:0}
 .wd-app #wd-expand{width:36px;min-height:36px;padding:7px;flex:none}
 #wd-expand span{display:none}
 .wd-preview-footer{padding:4px 12px;min-height:40px}
 .wd-status{padding:0 12px 4px;min-height:18px;font-size:9px}
 .wd-stage{min-height:0}
 .wd-canvas-expanded .wd-preview{height:min(calc(var(--wd-window-height,100dvh) * .68),calc(100% - 140px))}
 .wd-keyboard-open #main{top:var(--wd-window-top,0px);height:var(--wd-window-height,100dvh)}
 .wd-keyboard-open .wd-preview{height:clamp(84px,calc(var(--wd-window-height,100dvh) * .28),126px);min-height:0}
}
@media(max-width:1000px) and (max-height:550px) and (orientation:landscape){
 .wrap-designer-page{--wd-header-height:0px}
 .wd-preview,.wd-canvas-expanded .wd-preview{height:100%;min-height:0}
 .wd-topbar{min-height:48px;padding-block:4px}
 .wd-status{display:none}
}
