:root{--ink:#242623;--muted:#747772;--line:#e6e7e3;--paper:#fff;--canvas:#f6f6f3;--orange:#ec8500;--accent:#a94f00;--soft:#fff4e7}*{box-sizing:border-box}body{margin:0;height:100dvh;overflow:hidden;font:14px/1.5 Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper)}button,input,select,textarea{font:inherit;color:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{border:1px solid var(--line);background:white;border-radius:6px;padding:10px 14px;cursor:pointer;transition:background .15s,border-color .15s}button:hover{background:#f5f5f1;border-color:#b9bcb5}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--orange);outline-offset:3px}a{color:inherit;text-decoration:none}.primary{background:var(--orange);border-color:var(--orange);color:#171b17;font-weight:600}.primary:hover{background:#fa990e;border-color:#fa990e}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.6px;color:var(--muted);margin:0 0 12px}h1,h2,h3,p{margin-top:0}h2{font-size:27px;font-weight:500;line-height:1.2;letter-spacing:-.7px}h3{font-size:14px;font-weight:600}.muted{font-size:12px;line-height:1.65;color:var(--muted)}header{height:76px;display:flex;align-items:center;gap:24px;padding:0 28px;border-bottom:1px solid var(--line);background:white;position:relative;z-index:12}.fontana-brand{display:flex;flex-direction:column;align-items:center;gap:2px}.fontana-brand img{width:162px;height:35px;object-fit:cover}.fontana-brand span{font-size:8px;letter-spacing:1.7px;color:var(--muted)}.header-caption{font-size:12px;color:var(--muted);border-left:1px solid var(--line);padding-left:24px}.actions{display:flex;gap:7px;margin-left:auto;align-items:center}.actions>button{border:0;font-size:12px}.design-menu{position:relative;border:0}.design-menu>summary{font-size:12px;border:1px solid var(--line);border-radius:6px;padding:10px 16px;min-width:114px}.design-menu>summary:after{content:'⌄';margin-left:10px}.design-menu>div{position:absolute;top:calc(100% + 8px);right:0;width:210px;padding:6px;background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 40px #00000012;z-index:20}.design-menu button{display:block;width:100%;border:0;text-align:left;font-size:13px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 448px;height:calc(100dvh - 76px)}main{min-width:0;min-height:0;position:relative;display:flex;flex-direction:column;background:var(--canvas);overflow:hidden}.scene-head{display:flex;align-items:center;justify-content:space-between;padding:24px 28px 0}.scene-head .eyebrow{margin:0;font-size:9px}.badge{font-size:10px;color:var(--muted)}.toolbar{position:absolute;top:52px;left:25px;right:25px;z-index:5;display:flex;gap:8px;align-items:center;pointer-events:none}.toolbar>div,.toolbar>button{pointer-events:auto}.toolbar>div{display:flex;gap:3px}.toolbar button{height:38px;padding:6px 12px;font-size:12px;background:#ffffffed}.toolbar>div:first-child button{width:38px;padding:0;font-size:20px}.view-switch{margin-left:auto;border:1px solid var(--line);border-radius:7px;padding:3px;background:#fff}.view-switch button{height:30px;border:0;min-width:48px}.view-switch button[aria-pressed=true]{background:var(--ink);color:white}#scene{position:relative;flex:1;min-height:100px;touch-action:none;outline:0}#scene:focus-visible{box-shadow:inset 0 0 0 2px #ec850050}#canvas,#plan{position:absolute;inset:0}#canvas canvas{display:block;width:100%;height:100%;touch-action:none}#plan{padding:100px 28px 140px;display:flex;justify-content:center;align-items:center;overflow:hidden}#plan svg{width:100%;max-height:100%;overflow:visible}#plan text{pointer-events:none}#plan [role=button]{cursor:pointer;outline:0}#plan [role=button]:focus rect{stroke:var(--orange);stroke-width:8}#plan .snapped rect:first-child{stroke:var(--orange);stroke-width:12}.canvas-tools{position:absolute;left:25px;top:76px;display:flex;flex-direction:column;gap:5px;z-index:4}.canvas-tools button{font-size:10px;border-color:transparent;background:#fffffff2;box-shadow:0 2px 10px #00000005;width:66px;padding:8px 3px}.tool-symbol{font-size:22px;line-height:1;display:block;margin-bottom:5px}.canvas-tools button[aria-pressed=true]{color:var(--accent);background:var(--soft);border-color:#f2c99e}#dimension-overlay{position:absolute;left:103px;top:77px;z-index:4;max-width:280px;background:#fff;border:1px solid var(--line);box-shadow:0 5px 20px #00000008;padding:12px;border-radius:6px;pointer-events:none;font-size:11px;line-height:1.6}.unit-tools{position:absolute;left:50%;transform:translateX(-50%);bottom:38px;width:max-content;max-width:calc(100% - 36px);z-index:4;background:#ffffffed;border:1px solid var(--line);border-radius:10px;padding:10px 12px;box-shadow:0 6px 24px #00000009}.unit-tools>strong{display:block;font-size:12px;font-weight:500;margin-bottom:8px;text-align:center}.unit-tools>div{display:flex;justify-content:center;gap:4px;flex-wrap:wrap}.unit-tools button{font-size:11px;padding:7px 9px;min-height:34px;border:0;background:transparent}.unit-tools button:hover{background:#f2f2ee}#quick-remove{color:#a54c38}#unit-end-buttons{margin-top:4px;border-top:1px solid var(--line);padding-top:4px}#unit-end-buttons:empty{display:none}#unit-end-buttons button{color:var(--accent);font-size:10px}#scene-status{position:absolute;bottom:4px;left:20px;right:20px;text-align:center;font-size:10px;color:var(--muted);pointer-events:none;margin:0}#scene-status[data-error=true]{color:#87592c}.load-ui{position:absolute;z-index:7;top:85px;left:50%;transform:translateX(-50%);background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 6px 24px #0001;padding:15px;min-width:220px;pointer-events:none;text-align:center}.load-ui span{display:block;font-size:12px;margin-bottom:8px}.load-ui progress{width:100%;accent-color:var(--orange)}#retry-3d{position:absolute;top:85px;right:25px;z-index:5;font-size:11px}.canvas-footer{padding:14px 26px;display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid var(--line)}.measure{display:flex;gap:12px;align-items:center}.measure strong{font-size:14px;font-weight:500}.measure span{font-size:11px;color:var(--muted)}.design-health{display:flex;gap:10px;align-items:center;font-size:10px;color:var(--muted)}.design-health button{font-size:10px;border:0;background:transparent;padding:5px}.design-health .warning{color:#a24c21}#space-status:empty{display:none}.arrangement{background:#fff;border-top:1px solid var(--line);padding:0 26px}.arrangement-head{display:flex;justify-content:space-between;align-items:center}.arrangement-head button{border:0;border-radius:0;background:transparent;font-size:11px;padding:12px 0}#units-toggle{display:flex;gap:9px;align-items:center}#tray-count{background:#f2f3ef;border-radius:10px;padding:0 6px;color:var(--muted);font-size:10px}.tray-chevron{margin-left:8px}#straight{font-size:10px;color:var(--muted)}#sequence{display:flex;gap:8px;overflow:auto;max-height:125px;padding:0 0 12px;scrollbar-width:thin}.unit-card{flex:0 0 160px;border:1px solid var(--line);border-radius:5px;background:white}.unit-card.active{border-color:var(--orange)}.unit-select{width:100%;border:0;border-radius:4px;text-align:left;display:grid;grid-template-columns:42px 1fr;gap:4px 8px;padding:8px}.unit-select img{width:42px;height:42px;object-fit:contain;grid-row:1/3;border-radius:4px}.unit-select strong{font-size:11px;font-weight:500;align-self:end}.unit-select span{font-size:10px;color:var(--muted)}.right-panel{display:flex;flex-direction:column;min-height:0;border-left:1px solid var(--line);background:white}.options-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:26px 22px;scrollbar-width:thin}.options-scroll h2{margin:0 0 10px;font-size:25px}.panel-intro{font-size:12px;color:var(--muted);margin-bottom:22px}.step-tabs{position:sticky;top:-26px;background:white;z-index:6;display:flex;border-bottom:1px solid var(--line);margin:0 -22px 22px;padding:0 16px}.step-tabs button{flex:1;border:0;border-radius:0;padding:14px 5px;font-size:12px;color:var(--muted);border-bottom:2px solid transparent}.step-tabs button[aria-pressed=true]{color:var(--ink);border-bottom-color:var(--orange)}details{border-top:1px solid var(--line)}summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 0;font-size:13px;font-weight:500;cursor:pointer}summary::-webkit-details-marker{display:none}summary:after{content:'+';font-size:18px;font-weight:400}details[open]>summary:after{content:'−'}#cabinet-section,#accessory-section{border:0}#cabinet-section>summary,#accessory-section>summary{display:none}.section-content{padding:0 0 20px;font-size:12px}.category-tabs{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 14px}.category-tabs button{padding:6px 10px;font-size:11px;border-radius:18px;background:white}.category-tabs button[aria-pressed=true]{color:white;background:var(--ink);border-color:var(--ink)}input,select,textarea{border:1px solid var(--line);border-radius:5px;background:#fff;width:100%;padding:10px 12px}input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--orange)}#catalog-search{font-size:12px;margin-bottom:18px;background:#fafaf8;padding:12px}#catalog,#accessory-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-card{min-width:0;position:relative;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:white;transition:border-color .15s,box-shadow .15s}.product-card:hover{border-color:#c8ccc3;box-shadow:0 6px 20px #00000007}.product-card img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#eceae4}.product-card>div{padding:12px;display:flex;flex-direction:column}.product-card strong{display:block;font-size:12px;font-weight:500;line-height:1.4}.product-card small{font-size:10px;line-height:1.55;color:var(--muted);display:block;margin:5px 0;min-height:30px}.unit-price{display:block;font-weight:600;font-size:13px;margin:7px 0 10px}.unit-price em{display:none}.product-card button{width:100%;font-size:11px;padding:7px;min-height:34px;border-color:var(--line)}.product-card button:hover{color:var(--accent);background:var(--soft);border-color:#f2c99e}.accessory-card small{min-height:0}.accessory-card .accessory-note{font-size:10px;margin:6px 0}.accessory-card .accessory-note summary{font-size:10px;padding:5px 0}.accessory-card .accessory-note p{font-size:10px;color:#9b4a24}.finish-scope{font-size:12px;color:var(--accent);margin:0 0 20px;padding:0;background:transparent}.swatches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.swatches button{padding:8px;text-align:left;font-size:11px;border:1px solid var(--line)}.swatches button[aria-pressed=true]{border-color:var(--orange);box-shadow:0 0 0 1px var(--orange)}.swatches i{display:block;height:92px;border-radius:3px;margin-bottom:10px;border:1px solid #00000009}.swatches~label,.swatches~select{display:none}.swatches~.muted{font-size:10px}.panel-choice{display:flex;align-items:flex-start;gap:9px;font-size:12px}.panel-choice input{margin-top:4px}#panel-count{font-size:11px;color:var(--accent);margin:8px 0}.matching-toggle{display:flex;gap:8px;align-items:center;font-size:11px;margin:15px 0}#accessory-host{font-size:12px;font-weight:500;background:#f6f6f2;padding:11px;border-radius:5px}.fitted-accessory{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;margin-bottom:8px;font-size:11px;border-bottom:1px solid var(--line)}.fitted-accessory button{font-size:10px;padding:6px 8px}#accessory-side{margin:8px 0 18px}#accessory-catalog{margin-bottom:22px}.accessory-empty{grid-column:1/-1;font-size:12px;color:var(--muted);padding:12px 0}textarea{resize:vertical;font-size:12px;margin-top:8px}#placement-prompt{font-size:12px;background:var(--soft);padding:12px;margin-bottom:15px;border-radius:6px;display:flex;align-items:center;gap:5px}#placement-prompt button{font-size:11px;padding:5px 8px;margin-left:auto}.checkout-actions{flex:none;border-top:1px solid var(--line);padding:16px 22px 18px;background:white}.price-total{display:flex;align-items:center;justify-content:space-between;gap:10px}.price-total span{font-size:12px}.price-total strong{font-size:24px;font-weight:500;letter-spacing:-.7px}#price-scope{font-size:10px;color:var(--muted);margin:5px 0}.price-exclusions{font-size:10px;color:var(--muted);margin:4px 0 12px}.pricing-explainer{display:none}#checkout{width:100%;font-size:13px;min-height:45px;margin:0 0 7px}.checkout-actions>div:last-of-type{display:flex;gap:8px}.checkout-actions>div:last-of-type button{flex:1;border:0;font-size:11px;padding:6px}.mobile-bar,.mobile-panel-head,.mobile-move{display:none}.drag-ghost{position:fixed;z-index:80;background:var(--ink);color:white;padding:10px 15px;border-radius:5px;pointer-events:none}.drop-target{outline:2px dashed var(--orange);outline-offset:-8px}.moving{opacity:.65}dialog{max-width:600px;width:calc(100vw - 40px);max-height:90dvh;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:30px;color:var(--ink);background:white;box-shadow:0 20px 80px #0002}dialog::backdrop{background:#292d2966;backdrop-filter:blur(4px)}.dialog-close{float:right;padding:3px 10px;font-size:24px;border:0;background:transparent}dialog h2{margin:10px 0 18px}.review-palette{font-size:12px;background:#f6f6f2;padding:12px;border-radius:5px}.quote-table{width:100%;border-collapse:collapse;font-size:12px;margin:20px 0}.quote-table td,.quote-table th{text-align:left;padding:11px 5px;border-bottom:1px solid var(--line)}.quote-table td:last-child,.quote-table th:last-child{text-align:right}.review-total{font-size:22px;font-weight:500;letter-spacing:-.4px}.review-warning{font-size:12px;padding:12px;background:var(--soft);border-radius:5px;color:#92501d}.quote-form{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.quote-form label{display:block;font-size:12px;margin-bottom:12px}.quote-form input{display:block;margin-top:5px}.quote-form button{width:100%}#dialog-content{font-size:13px;line-height:1.7}#dialog-content>button{margin:4px 4px 4px 0}#dialog-content canvas{display:block;max-width:100%;margin:18px auto}#dialog-content a{display:block;text-decoration:underline;overflow-wrap:anywhere}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px);width:max-content;background:var(--ink);color:white;padding:12px 20px;border-radius:7px;font-size:12px;opacity:0;pointer-events:none;z-index:100}#toast.visible{opacity:1}#start-dialog{width:1000px;max-width:calc(100vw - 48px);padding:38px 44px}#start-dialog h2{font-size:34px;margin:8px 0 12px}#start-dialog>p:not(.eyebrow){color:var(--muted);font-size:13px}.layout-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;border:0;padding:0;margin:28px 0 18px}.layout-choices label{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:8px;padding:8px 8px 18px;cursor:pointer}.layout-choices label:has(input:checked){border-color:var(--orange);box-shadow:0 0 0 1px var(--orange)}.layout-choices input{position:absolute;top:12px;right:12px;z-index:1}.layout-choices img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:contain;background:#eeebe5;border-radius:4px;margin-bottom:15px}.layout-choices strong{display:block;font-size:14px;font-weight:500;padding:0 8px}.layout-choices small{display:block;color:var(--muted);font-size:11px;padding:0 8px;margin-top:5px}.scratch-choice{display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px;padding:10px}.space-optional{margin:18px 0}.space-optional summary{font-size:12px;padding:12px 0}.space-optional summary span{font-size:10px;color:var(--muted);margin-left:auto}.space-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.space-fields label{font-size:12px}.space-fields input{margin:6px 0 10px}.space-optional p{font-size:11px}.starter-note{font-size:10px!important;text-align:center;margin:15px 0 0}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.help-grid p{font-size:12px;color:var(--muted);line-height:1.7}#continue-design{display:block;margin:20px 0;background:var(--ink);color:white;border-color:var(--ink);font-size:12px}#start-form>button{display:block;margin:20px auto 0;min-width:260px;min-height:46px;font-size:13px}body.focus-mode .arrangement,body.focus-mode .scene-head,html:fullscreen .scene-head{display:none}
@media(max-width:1100px){.workspace{grid-template-columns:minmax(0,1fr) 382px}.header-caption{display:none}.options-scroll{padding:22px 18px}.step-tabs{top:-22px;margin:0 -18px 20px;padding:0 12px}.checkout-actions{padding:14px 18px}.design-health #autosave-status{display:none}.canvas-footer{padding:12px 18px}.scene-head{padding:22px 20px 0}.toolbar{left:18px;right:18px}.canvas-tools{left:18px}.unit-tools button{padding:6px 7px}.unit-price{font-size:12px}.product-card>div{padding:10px}}
@media(max-width:720px),(max-width:950px) and (max-height:500px){header{height:calc(62px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 14px 0;gap:10px}.fontana-brand img{width:121px;height:27px}.fontana-brand span{font-size:6px}.actions{gap:2px}.actions>button{font-size:11px;padding:8px}#fullscreen{display:none}.design-menu>summary{min-width:0;font-size:11px;padding:9px 11px}.workspace{display:block;height:calc(100dvh - 132px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}main{width:100%;height:100%}.scene-head{padding:14px 16px 0}.scene-head .eyebrow{font-size:8px}.badge{font-size:9px}.toolbar{top:37px;left:12px;right:12px}.toolbar button{height:40px;min-height:40px}.view-switch button{height:32px;min-height:32px}#scene{min-height:90px}.canvas-tools{top:67px;left:10px;gap:3px}.canvas-tools button{width:48px;font-size:9px;min-height:44px;padding:6px 2px}.tool-symbol{font-size:19px;margin-bottom:4px}#plan{padding:95px 20px 140px}#dimension-overlay{left:66px;top:67px;max-width:calc(100% - 80px);font-size:10px}.unit-tools{bottom:28px;max-width:calc(100% - 20px);padding:8px}.unit-tools>strong{font-size:11px;margin-bottom:5px}.unit-tools button{font-size:10px;min-height:38px;padding:6px 7px}#unit-end-buttons{display:none}#scene-status{font-size:9px;left:8px;right:8px;bottom:2px}.mobile-move{display:flex;gap:8px;justify-content:center;align-items:center;padding:5px 12px}.mobile-move span{font-size:10px;color:var(--muted)}.mobile-move button{height:36px;width:36px;padding:0;font-size:20px}.canvas-footer{padding:7px 14px;gap:5px}.measure{gap:8px}.measure strong{font-size:12px}.measure span{font-size:10px}.design-health{font-size:9px;gap:4px}.design-health button{font-size:9px;padding:4px}.design-health #autosave-status{display:none}#space-status:not(:empty){position:absolute;bottom:0;left:0;background:var(--soft);padding:4px 10px;z-index:5}.arrangement{padding:0 14px}.arrangement-head button{font-size:10px;padding:9px 0}#straight{font-size:9px}#sequence{max-height:100px}.unit-card{flex-basis:146px}.right-panel{position:fixed;inset:0;z-index:40;height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);visibility:hidden;transform:translateY(100%);transition:transform .2s,visibility .2s;border:0}.options-open .right-panel{visibility:visible;transform:translateY(0)}.mobile-panel-head{display:flex;align-items:center;justify-content:space-between;padding:8px 18px;border-bottom:1px solid var(--line)}.mobile-panel-head strong{font-size:12px;font-weight:500}.mobile-panel-head button{font-size:12px;min-height:40px;border:0}.options-scroll{padding:20px 18px}.options-scroll h2{font-size:25px}.panel-intro{margin-bottom:14px}.step-tabs{top:-20px;margin:0 -18px 18px}.step-tabs button{padding:12px 4px;min-height:44px}.category-tabs button{min-height:36px}.checkout-actions{padding:12px 18px;max-height:32dvh;overflow:auto}.price-total strong{font-size:22px}.checkout-actions button{min-height:40px}.checkout-actions #checkout{min-height:44px}.price-exclusions{margin-bottom:8px}.mobile-bar{position:fixed;bottom:0;left:0;right:0;height:calc(70px + env(safe-area-inset-bottom));padding:8px 10px calc(8px + env(safe-area-inset-bottom));display:flex;gap:5px;z-index:20;background:white;border-top:1px solid var(--line)}.mobile-bar button{flex:1;font-size:11px;padding:6px 3px;border:0;min-height:48px;background:white}.mobile-bar button.primary{background:var(--ink);color:white}.mobile-bar #mobile-review{flex:1.4}.mobile-bar small,.mobile-bar strong{display:block}.mobile-bar small{font-size:10px;color:var(--muted)}.mobile-bar strong{font-size:12px;font-weight:500;margin-top:3px}.options-open .mobile-bar{visibility:hidden}.product-card button{min-height:40px}.product-card img{aspect-ratio:1}.product-card small{font-size:11px}.product-card strong{font-size:13px}.unit-price{font-size:13px}input,textarea,select,#catalog-search{font-size:16px}.swatches button{min-height:44px;font-size:12px}.swatches i{height:90px}#retry-3d{top:68px;right:12px;font-size:10px;min-height:36px}.load-ui{top:70px;min-width:180px}.load-ui span{font-size:11px}dialog{padding:22px;width:calc(100vw - 22px);max-height:calc(100dvh - 24px)}#start-dialog{padding:24px 20px;max-width:calc(100vw - 22px)}#start-dialog h2{font-size:28px;padding-right:10px}.layout-choices{grid-template-columns:1fr;gap:10px;margin:20px 0 12px}.layout-choices label{display:grid;grid-template-columns:115px 1fr;column-gap:12px;padding:8px;align-items:center;min-height:100px}.layout-choices label:has(input:checked){padding:8px}.layout-choices img{grid-row:1/3;grid-column:1;width:115px;aspect-ratio:8/5;margin:0}.layout-choices strong{align-self:end;padding:0 15px 0 0;font-size:13px}.layout-choices small{align-self:start;padding:0 15px 0 0;font-size:10px}.layout-choices input{top:8px;right:8px}.scratch-choice{font-size:11px}.space-optional{margin:10px 0}#start-form>button{width:100%;min-width:0;margin-top:15px}#continue-design{width:100%;margin:14px 0}.starter-note{font-size:9px!important}.help-grid{grid-template-columns:1fr;gap:8px}#toast{bottom:calc(80px + env(safe-area-inset-bottom));font-size:11px;padding:10px 14px}.review-total{font-size:20px}}
@media(max-height:660px) and (max-width:720px){.arrangement{display:none}.scene-head{display:none}.toolbar{top:10px}.canvas-tools{top:60px}.unit-tools{bottom:24px}.mobile-move{padding:3px}.mobile-move button{height:32px;width:32px}.unit-tools>strong{display:none}.unit-tools button{min-height:32px}#plan{padding-top:90px;padding-bottom:110px}.canvas-footer{padding:6px 12px}}
@media(max-width:950px) and (max-height:500px){.arrangement,.scene-head,.canvas-footer{display:none}.toolbar{top:10px}.canvas-tools{top:65px}.mobile-move{position:absolute;right:12px;bottom:80px;z-index:8;background:white;border-radius:6px}.mobile-move span{display:none}.unit-tools{bottom:22px}.unit-tools>strong{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

#start-dialog.space-only{max-width:520px}#start-dialog.space-only>p:not(.eyebrow){display:none}#start-dialog.space-only .space-optional{border:0}#start-dialog.space-only .space-optional>summary{display:none}
@media(pointer:coarse){button,summary{min-height:44px}.toolbar button{min-height:40px}.product-card{touch-action:pan-y}.options-scroll{-webkit-overflow-scrolling:touch}.unit-tools button{min-height:40px}.mobile-bar button{min-height:48px}}

/* Keep the design download visible beside the kitchen canvas controls. */
.toolbar .design-pdf-action{margin-left:auto;height:44px;padding:10px 18px;background:#f28c00;border:1px solid #f28c00;color:#20231f;font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 4px 14px #b5690026}
.toolbar .design-pdf-action:hover{background:#ff9d19;border-color:#ff9d19}
.toolbar .design-pdf-action:focus-visible{outline:3px solid #242623;outline-offset:3px}
.toolbar .design-pdf-action:disabled{opacity:.65;cursor:wait}
@media(max-width:1100px){.toolbar .design-pdf-action{position:absolute;right:0;top:48px;margin-left:0}}
@media(max-width:720px){.toolbar .design-pdf-action{font-size:12px;padding:10px 14px}}
@media(max-width:1100px){#retry-3d{top:133px}}
@media(max-width:720px){#retry-3d{top:116px}}

/* Four clear cabinet families, with room for larger product cards. */
.category-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 0 16px}
.category-tabs button{display:grid;grid-template-columns:1fr auto;gap:4px 6px;align-content:center;min-height:74px;padding:12px 13px;border-radius:8px;text-align:left;border:1px solid var(--line);background:#fafaf8}
.category-tabs button[aria-pressed=true]{background:var(--soft);border-color:#ed920f;color:var(--ink);box-shadow:inset 0 0 0 1px #ed920f}
.category-name{font-size:15px;font-weight:600;line-height:1.3}
.category-count{font-size:10px;align-self:center;color:var(--muted);background:#ededE8;border-radius:12px;min-width:20px;padding:1px 5px;text-align:center}
.category-tabs button[aria-pressed=true] .category-count{background:#fbe0bc;color:#814300}
.category-summary{grid-column:1/-1;font-size:10px;line-height:1.4;color:#696c66}
.category-description{font-size:11px;line-height:1.6;color:#696c66;margin:0 0 9px}
.catalog-results{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 13px;color:var(--muted);font-size:11px}
#catalog-show-all{font-size:11px;padding:7px 10px;min-height:34px;border:0;background:transparent;color:var(--accent)}
#catalog-show-all[aria-pressed=true]{background:var(--soft);border-radius:5px}
#catalog-search{margin-bottom:13px}
#catalog .product-card strong{font-size:13px}
#catalog .product-card small{font-size:11px}
@media(min-width:1101px){#catalog .product-card>div{padding:14px}#catalog .product-card button{min-height:38px}}
@media(max-width:1100px){.category-tabs button{padding:10px;min-height:70px}.category-name{font-size:14px}.category-summary{font-size:10px}}
@media(max-width:720px){.category-tabs button{min-height:74px}.category-name{font-size:15px}#catalog-show-all{min-height:40px}}

/* Numbered, mutually exclusive kitchen sections. */
.options-scroll details[data-pane]>summary{display:flex!important;align-items:center;padding:17px 0;font-size:15px;font-weight:600;cursor:pointer;list-style:none}
.options-scroll details[data-pane]>summary:after{content:'+';margin-left:auto;font-size:20px;font-weight:400}
.options-scroll details[data-pane][open]>summary:after{content:'−'}
.options-scroll details[data-pane][open]>summary{color:var(--accent)}
.options-scroll details[data-pane]{border-bottom:1px solid var(--line)}
.options-scroll .checkout-actions{padding:8px 0 20px;border:0;box-shadow:none;background:transparent}
#checkout-status{font-size:12px;margin-top:12px;overflow-wrap:anywhere}
#dimension-overlay{display:none}

#start-dialog:not(.space-only){width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:clamp(24px,4vw,64px);border:0;border-radius:0;background:#fafaf8;overflow-y:auto}
#start-dialog:not(.space-only) h2{font-size:clamp(32px,4vw,54px);letter-spacing:-1.7px;margin-bottom:12px}
#start-dialog:not(.space-only)>p:not(.eyebrow){max-width:780px}
#start-dialog:not(.space-only) .layout-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:1450px;margin:28px auto 20px}
#start-dialog:not(.space-only) .layout-choices label{display:block;min-width:0;padding:0 0 18px;overflow:hidden;border-radius:12px;background:white}
#start-dialog:not(.space-only) .layout-choices label:has(input:checked){padding:0 0 18px;border:2px solid var(--orange)}
#start-dialog:not(.space-only) .starter-image{height:clamp(180px,24vh,300px);overflow:hidden;background:#f7f7f5;margin-bottom:16px}
#start-dialog:not(.space-only) .layout-choices img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;transform:scale(1.35);margin:0}
#start-dialog:not(.space-only) .layout-choices strong{display:block;padding:0 22px;font-size:21px}
#start-dialog:not(.space-only) .layout-choices small{display:block;padding:5px 22px 0;font-size:12px}
#start-dialog:not(.space-only) .layout-choices input{z-index:1;right:16px;top:16px;accent-color:var(--orange)}
#start-dialog:not(.space-only) .starter-note{margin:18px 0 0;font-size:11px}
@media(max-width:700px){#start-dialog:not(.space-only) .layout-choices{grid-template-columns:1fr;gap:16px}#start-dialog:not(.space-only) .starter-image{height:220px}#start-dialog:not(.space-only) .layout-choices strong{font-size:19px}}

/* Larger canvas controls with a shared, neutral export palette. */
.fontana-brand span{font-size:16px;font-weight:600;letter-spacing:.15px;color:var(--ink);line-height:1.2}
.canvas-tools{gap:9px}
.canvas-tools button{width:90px;min-height:78px;padding:11px 8px;font-size:13px;font-weight:600;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);box-shadow:0 2px 10px #00000008}
.canvas-tools .tool-symbol{font-size:28px;margin-bottom:7px}
.toolbar .design-pdf-action{background:#fff;color:var(--ink);border-color:var(--line);box-shadow:0 2px 10px #00000008}
.canvas-tools button:hover,.toolbar .design-pdf-action:hover{background:#f5f5f1;border-color:#b9bcb5}
.canvas-tools button[aria-pressed=true]{background:var(--soft);border-color:#f2c99e;color:var(--accent)}
@media(max-width:720px),(max-width:950px) and (max-height:500px){
 .fontana-brand{min-width:0;max-width:210px;gap:3px}
 .fontana-brand span{font-size:12px;line-height:1.15;letter-spacing:0;text-align:center}
 .canvas-tools{gap:7px}
 .canvas-tools button{width:68px;min-height:60px;padding:7px 5px;font-size:11px}
 .canvas-tools .tool-symbol{font-size:23px;margin-bottom:4px}
}
@media(max-width:380px){header{padding-left:10px;padding-right:10px;gap:6px}.fontana-brand{flex:1}.actions{gap:0}.actions>button{padding:7px 5px}.design-menu>summary{padding:8px}}
.fitted-accessory{flex-wrap:wrap;padding:12px;border:1px solid #f2c99e;border-radius:8px;background:var(--soft);margin-bottom:10px}
.fitted-accessory .apply-all-fittings{flex:0 0 100%;min-height:48px;background:var(--orange);color:var(--ink);border:1px solid var(--orange);font-size:14px;font-weight:700}
.fitted-accessory .apply-all-fittings:hover{background:#fa990e}
.fitted-accessory small{flex:0 0 100%;font-size:12px;color:var(--muted)}
#bulk-fitting-status{font-size:13px;line-height:1.5}
.fontana-brand img{width:auto;height:48px;max-width:100%;object-fit:contain}
@media(max-width:720px),(max-width:950px) and (max-height:500px){.fontana-brand img{width:auto;height:32px;object-fit:contain}.fontana-brand span{font-size:12px;line-height:1.15}.fontana-brand{gap:2px}}
.lead-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.oven-picker{width:min(840px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:32px;border:0;border-radius:20px;box-shadow:0 24px 90px #0004;overflow:auto;color:#252927;background:#fff}
.oven-picker::backdrop{background:#14201db3;backdrop-filter:blur(4px)}
.oven-picker h2{font-size:clamp(26px,4vw,34px);line-height:1.15;margin:8px 44px 10px 0}.oven-picker-host{font-weight:700;margin:0 0 8px}.oven-picker-intro{color:#626963;line-height:1.5;margin:0 0 22px}
.oven-product-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.oven-product{border:1px solid #dce1dc;border-radius:14px;overflow:hidden;background:#fff}.oven-product.is-selected{border:2px solid #f28c00}.oven-product-image{position:relative;background:#f1eee9}.oven-product-image img{display:block;width:100%;height:240px;object-fit:contain}.oven-selected-badge{position:absolute;left:10px;bottom:10px;background:#252927;color:#fff;padding:7px 10px;border-radius:6px;font-size:12px;font-weight:700}
.oven-product-details{padding:20px;display:flex;flex-direction:column;gap:9px}.oven-product-details h3{font-size:21px;margin:0}.oven-product-details p{margin:0;color:#626963;font-size:13px}.oven-product-details .eyebrow{font-size:10px;letter-spacing:.16em}.oven-product-price{font-size:23px}.oven-product-details small{display:block;min-height:40px;font-size:12px;line-height:1.5;color:#626963}.oven-product-details button{width:100%;min-height:48px}.oven-picker-footer{display:flex;justify-content:space-between;gap:12px;margin-top:22px}.oven-picker-footer button{min-height:44px}.oven-product button:disabled{background:#e7e9e5;color:#454d46;opacity:1;cursor:default}
#browse-pizza-ovens{width:100%;min-height:48px;margin:0 0 14px}
@media(max-width:560px){.oven-picker{padding:22px 16px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:14px}.oven-product-grid{grid-template-columns:1fr;gap:14px}.oven-product-image img{height:210px}.oven-product-details{padding:16px}.oven-product-details small{min-height:0}.oven-picker-footer{flex-wrap:wrap}.oven-picker-footer button{flex:1}}

/* Compact chooser: only choices scroll; the primary action remains visible. */
#start-dialog:not(.space-only){padding:20px 28px;overflow:hidden}
#start-dialog:not(.space-only)[open]{display:flex;flex-direction:column}
#start-dialog:not(.space-only)>*{flex-shrink:0}
#start-dialog:not(.space-only) .dialog-close{position:absolute;right:20px;top:12px}
#start-dialog:not(.space-only) h2{font-size:clamp(26px,3vw,38px);margin:4px 36px 6px 0;letter-spacing:-1px}
#start-dialog:not(.space-only)>p{margin:4px 0;font-size:12px}
#start-dialog:not(.space-only) #continue-design{margin:8px 0;align-self:flex-start}
#start-dialog:not(.space-only) #start-form{display:flex;flex-direction:column;flex:1;min-height:0}
#start-dialog:not(.space-only) .starter-options{flex:1;min-height:0;overflow:auto;padding:2px;scrollbar-width:thin}
#start-dialog:not(.space-only) .layout-choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:14px auto 10px}
#start-dialog:not(.space-only) .layout-choices label,#start-dialog:not(.space-only) .layout-choices label:has(input:checked){padding-bottom:12px}
#start-dialog:not(.space-only) .starter-image{height:clamp(110px,24dvh,220px);margin-bottom:10px}
#start-dialog:not(.space-only) .layout-choices strong{font-size:17px;padding:0 12px}
#start-dialog:not(.space-only) .layout-choices small{font-size:11px;padding:5px 12px 0}
#start-dialog:not(.space-only) .space-optional{margin:8px 0}
.starter-action{padding:12px 0 4px;text-align:center;background:#fafaf8;flex-shrink:0}
.starter-action button{min-width:260px;min-height:46px;font-size:13px}
#start-dialog:not(.space-only) .starter-note{font-size:10px;margin:6px 0 0}
@media(max-width:1000px){#start-dialog:not(.space-only) .layout-choices{grid-template-columns:repeat(2,minmax(0,1fr))}#start-dialog:not(.space-only) .starter-image{height:clamp(95px,17dvh,160px)}}
@media(max-width:560px){#start-dialog:not(.space-only){padding:16px 14px max(12px,env(safe-area-inset-bottom))}#start-dialog:not(.space-only) .layout-choices{gap:10px}#start-dialog:not(.space-only) .layout-choices strong{font-size:14px}#start-dialog:not(.space-only) .layout-choices small{font-size:10px}.starter-action button{width:100%;min-width:0}}

/* Compact circular category buttons keep all four families on one row. */
#category-tabs{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:10px;margin:4px 0 16px;padding:4px}
#category-tabs button{display:flex;align-items:center;justify-content:center;flex:0 0 64px;width:64px;height:64px;min-height:64px;padding:6px;border-radius:50%;border:2px solid transparent;background:var(--orange);color:#242623;text-align:center;box-shadow:none}
#category-tabs .category-name{font-size:12px;font-weight:600;line-height:1.2}
#category-tabs .category-count,#category-tabs .category-summary{display:none}
#category-tabs button:hover{background:#fa990e}
#category-tabs button[aria-pressed=true]{background:var(--orange);border-color:#242623;box-shadow:0 0 0 2px white,0 0 0 3px #242623}
#category-tabs button:focus-visible{outline:3px solid #242623;outline-offset:5px}
@media(max-width:360px){#category-tabs{gap:6px}#category-tabs button{flex-basis:58px;width:58px;height:58px;min-height:58px}#category-tabs .category-name{font-size:11px}}

/* Uniform catalogue images and clearly visible Add controls. */
#catalog .product-card{display:flex;flex-direction:column;background:#fff}
#catalog .product-card>img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff}
#catalog .product-card>div{flex:1;display:flex;flex-direction:column;background:#fff}
#catalog .product-card strong{min-height:2.8em}
#catalog .product-card small{min-height:3.1em}
#catalog .product-card .unit-price{margin-top:auto;padding-top:7px}
#catalog .product-card button,#accessory-catalog .product-card button:not(:disabled){background:#ffe3bd;border-color:#ed920f;color:#6b3400;font-weight:600;min-height:40px}
#catalog .product-card button:hover,#accessory-catalog .product-card button:not(:disabled):hover{background:#ffd098;border-color:#ce7500;color:#482400}

/* Larger, border-free starting designs; the action footer stays visible. */
#start-dialog:not(.space-only){background:#fff}
#start-dialog:not(.space-only) .layout-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px;max-width:1500px;margin:12px auto}
#start-dialog:not(.space-only) .layout-choices label,#start-dialog:not(.space-only) .layout-choices label:has(input:checked){border:0;border-radius:0;background:transparent;box-shadow:none;padding:0 0 8px;user-select:none}
#start-dialog:not(.space-only) .starter-image{height:clamp(180px,28dvh,310px);margin-bottom:4px;background:transparent;border-radius:0}
#start-dialog:not(.space-only) .layout-choices img{object-fit:contain;transform:none;background:transparent;border-radius:0}
#start-dialog:not(.space-only) .layout-choices strong{text-align:center;font-size:19px;padding:0 12px;text-decoration-color:var(--orange);text-underline-offset:6px}
#start-dialog:not(.space-only) .layout-choices small{text-align:center;padding:7px 12px 0}
#start-dialog:not(.space-only) .layout-choices label:has(input:checked) strong{text-decoration-line:underline;text-decoration-thickness:3px}
#start-dialog:not(.space-only) .layout-choices label:hover strong{color:var(--accent)}
#start-dialog:not(.space-only) .layout-choices input{top:10px;right:12px}
#start-dialog:not(.space-only) .layout-choices label:focus-within strong{outline:2px solid var(--orange);outline-offset:4px}
#start-dialog:not(.space-only) .starter-action{background:#fff}
@media(max-width:700px){#start-dialog:not(.space-only) .layout-choices{gap:14px}#start-dialog:not(.space-only) .starter-image{height:clamp(140px,24dvh,220px)}#start-dialog:not(.space-only) .layout-choices strong{font-size:16px}}
@media(max-width:480px){#start-dialog:not(.space-only) .layout-choices{grid-template-columns:1fr}#start-dialog:not(.space-only) .starter-image{height:220px}}
/* Match the artwork backdrop and frame out its generous empty margins. */
#start-dialog:not(.space-only),#start-dialog:not(.space-only) .starter-action{background:#f6f6f3}
#start-dialog:not(.space-only) .starter-image{height:clamp(180px,25dvh,280px);mask-image:radial-gradient(ellipse 85% 85% at center,#000 55%,transparent 100%)}
#start-dialog:not(.space-only) .layout-choices img{transform:scale(2);object-fit:contain}
#start-dialog:not(.space-only) label:has(input[value=straight]) img{transform:scale(2.5)}
#start-dialog:not(.space-only) label:has(input[value=ushape]) img{transform:scale(2.3)}
@media(max-width:700px){#start-dialog:not(.space-only) .starter-image{height:clamp(140px,22dvh,200px)}}
@media(max-width:480px){#start-dialog:not(.space-only) .starter-image{height:230px}}

#toggle-kamado{width:100%;min-height:44px;margin:0 0 12px}#unit-tools #quick-kamado{background:var(--orange);color:var(--ink);font-weight:600;padding:8px 12px}

#custom-ral-picker{margin-top:16px;border:2px solid #f28c00;border-radius:10px;background:#fffaf4;overflow:hidden}#custom-ral-picker>summary{padding:17px 14px;min-height:54px;box-sizing:border-box;cursor:pointer;font-weight:800;font-size:16px;background:#f28c00;color:#202522}#custom-ral-picker>summary:hover{background:#ffa323}#custom-ral-picker>summary:focus-visible{outline:3px solid #202522;outline-offset:-5px}#custom-ral-picker[open]>.ral-dropdown{padding-top:12px}.ral-dropdown{padding:0 12px 12px}#ral-options{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-height:260px;overflow-y:auto;margin-top:10px}#ral-options button{display:flex;align-items:center;gap:9px;padding:8px;background:white;border:1px solid #ddd;border-radius:7px;min-height:44px}#ral-options button[hidden]{display:none}#ral-options i{display:block;width:28px;height:28px;border-radius:50%;border:1px solid #0002;flex-shrink:0}#ral-options button[aria-pressed=true]{outline:2px solid #f28c00}#ral-selection{font-weight:600}#ral-search{width:100%;box-sizing:border-box}

.checkout-actions>.review-action-list{display:flex;flex-direction:column;gap:7px}.checkout-actions>.review-action-list>button.primary{flex:none;width:100%;min-height:45px;font-size:13px;padding:10px 14px;border:1px solid var(--orange)}
/* Seven product families: orange icon circles with readable labels below. */
#category-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 6px;padding:4px 0;margin-bottom:18px}
#category-tabs button{display:flex;flex-direction:column;justify-content:flex-start;gap:7px;width:100%;height:auto;min-height:100px;padding:3px 1px;border:0;border-radius:6px;background:transparent;box-shadow:none}
#category-tabs .category-circle{display:flex;align-items:center;justify-content:center;width:58px;height:58px;flex:0 0 58px;border-radius:50%;background:var(--orange);border:2px solid transparent}
#category-tabs svg{width:29px;height:29px}
#category-tabs .category-name{font-size:11px;line-height:1.3;max-width:100%;overflow-wrap:normal}
#category-tabs button:hover{background:var(--soft)}
#category-tabs button[aria-pressed=true]{background:transparent;border:0;box-shadow:none}
#category-tabs button[aria-pressed=true] .category-circle{border-color:var(--ink);box-shadow:0 0 0 2px white,0 0 0 3px var(--ink)}
#pizza-catalogue{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pizza-host-dialog{max-width:520px}.pizza-host-choices{display:grid;gap:10px;margin-bottom:18px}.pizza-host-choices h3{margin:12px 0 0}

#pizza-catalogue{margin-top:12px}
/* Minimal opening page; scoped to preserve the kitchen editor. */
#start-dialog:not(.space-only){padding:0 clamp(20px,5vw,80px);background:#f7f7f4;color:#252823}
#start-dialog:not(.space-only) .starter-brand{display:flex;align-items:center;gap:22px;min-height:80px;border-bottom:1px solid #dedfd8;padding:14px 44px 14px 0}
.starter-brand img{width:126px;height:54px;object-fit:contain;mix-blend-mode:multiply}
.starter-brand span{font-size:10px;letter-spacing:1.8px;color:#666b61}
#start-dialog:not(.space-only) .dialog-close{top:22px;right:clamp(20px,5vw,80px);width:36px;height:36px;border:1px solid #dedfd8;border-radius:50%;background:transparent;font-size:23px;line-height:1;padding:0}
#start-dialog:not(.space-only) .starter-intro{padding:24px 0 12px;text-align:center}
#start-dialog:not(.space-only) .starter-intro .eyebrow{font-size:9px;letter-spacing:2.2px;color:#8b541c;margin:0 0 8px}
#start-dialog:not(.space-only) h2{font-size:clamp(28px,3.2vw,42px);font-weight:400;letter-spacing:-1.5px;margin:0 0 10px;padding:0}
.starter-intro>p:last-child{font-size:13px;color:#686e63;margin:0}
#start-dialog:not(.space-only) #continue-design{position:absolute;top:93px;right:clamp(20px,5vw,80px);padding:6px 0;min-height:32px;border:0;border-radius:0;background:transparent;font-size:11px;text-decoration:underline;text-underline-offset:4px}
#start-dialog:not(.space-only) .starter-options{padding:0 2px 12px}
#start-dialog:not(.space-only) .layout-choices{max-width:1120px;margin:0 auto 16px;gap:14px 40px;grid-template-columns:repeat(2,minmax(0,1fr))}
#start-dialog:not(.space-only) .layout-choices label,#start-dialog:not(.space-only) .layout-choices label:has(input:checked){padding:0 0 12px;border-bottom:1px solid #dedfd8;overflow:hidden;transition:border-color .2s}
#start-dialog:not(.space-only) .layout-choices label:has(input:checked){border-bottom-color:var(--orange)}
#start-dialog:not(.space-only) .starter-image{height:clamp(125px,21dvh,245px);margin:0 0 4px;mask-image:radial-gradient(ellipse 85% 85% at center,#000 55%,transparent 100%)}
#start-dialog:not(.space-only) .layout-choices strong{text-align:left;font-size:17px;font-weight:500;letter-spacing:-.3px;padding:0 34px 0 0;text-decoration:none}
#start-dialog:not(.space-only) .layout-choices small{text-align:left;font-size:11px;color:#6b7066;padding:5px 34px 0 0}
#start-dialog:not(.space-only) .layout-choices input{appearance:none;position:absolute;top:auto;bottom:23px;right:2px;width:22px;height:22px;padding:0;margin:0;border:1px solid #b8bdb1;border-radius:50%;background:transparent;cursor:pointer}
#start-dialog:not(.space-only) .layout-choices input:checked{border:6px solid var(--orange);background:#f7f7f4}
#start-dialog:not(.space-only) .layout-choices label:focus-within strong{outline:none}
#start-dialog:not(.space-only) .layout-choices label:has(input:focus-visible){outline:2px solid var(--orange);outline-offset:-2px}
#start-dialog:not(.space-only) .scratch-choice{display:flex;justify-content:center;gap:9px;font-size:12px;margin:10px auto 14px;color:#53594d}
#start-dialog:not(.space-only) .space-optional{max-width:540px;margin:0 auto;border-color:#dedfd8}
#start-dialog:not(.space-only) .space-optional summary{padding:11px 0;font-size:11px}
#start-dialog:not(.space-only) .starter-action{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #dedfd8;padding:16px 0 10px;background:#f7f7f4}
.starter-selection{text-align:left}.starter-selection span{display:block;font-size:9px;letter-spacing:1.6px;color:#73796b;margin-bottom:4px}.starter-selection strong{font-size:17px;font-weight:500}
#start-dialog:not(.space-only) .starter-action button{min-height:48px;padding:12px 26px;min-width:270px;border-radius:4px;font-size:13px}
#start-dialog:not(.space-only) .starter-note{text-align:center;font-size:9px;color:#747b6d;margin:0;padding:0 0 12px}
#start-dialog.space-only .starter-brand,#start-dialog.space-only .starter-selection,#start-dialog.space-only .starter-intro>p{display:none}
@media(max-width:700px){
 #start-dialog:not(.space-only) .starter-brand{min-height:66px;gap:14px}.starter-brand img{width:100px;height:43px}.starter-brand span{font-size:8px;letter-spacing:1px;max-width:140px}
 #start-dialog:not(.space-only) .dialog-close{top:16px;width:32px;height:32px}
 #start-dialog:not(.space-only) .starter-intro{padding:22px 0 16px}
 #start-dialog:not(.space-only) #continue-design{position:static;align-self:center;margin:0 0 8px}
 #start-dialog:not(.space-only) .layout-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
 #start-dialog:not(.space-only) .starter-image{height:clamp(100px,17dvh,165px)}
 #start-dialog:not(.space-only) .layout-choices strong{font-size:14px;padding-right:24px}
 #start-dialog:not(.space-only) .layout-choices small{font-size:10px;line-height:1.5;padding-right:0;min-height:30px}
 #start-dialog:not(.space-only) .layout-choices input{width:18px;height:18px;bottom:50px}#start-dialog:not(.space-only) .layout-choices input:checked{border-width:5px}
 #start-dialog:not(.space-only) .starter-action{padding:12px 0 8px;gap:12px}.starter-selection span{font-size:8px}.starter-selection strong{font-size:13px}
 #start-dialog:not(.space-only) .starter-action button{min-width:0;width:auto;font-size:12px;padding:12px 16px}
 #start-dialog:not(.space-only) .starter-note{padding-bottom:max(10px,env(safe-area-inset-bottom));font-size:8px}
}
@media(max-height:700px) and (min-width:701px){#start-dialog:not(.space-only) .starter-brand{min-height:60px;padding-top:4px;padding-bottom:4px}#start-dialog:not(.space-only) .starter-intro{padding:14px 0 8px}#start-dialog:not(.space-only) .starter-image{height:125px}#start-dialog:not(.space-only) #continue-design{top:68px}}
#start-dialog:not(.space-only) .layout-choices label:has(input:checked) strong{text-decoration:none}

/* Centre the opening-page brand on the warm studio background. */
#start-dialog:not(.space-only) .starter-brand{flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:0;padding:12px 44px 16px;border:0;background:#f7f7f4;box-shadow:none;isolation:isolate;text-align:center}
#start-dialog:not(.space-only) .starter-brand img{display:block;width:180px;max-width:65vw;height:auto;margin:0 auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;mix-blend-mode:multiply}
#start-dialog:not(.space-only) .starter-brand span{max-width:none;font-size:11px;line-height:1.5;letter-spacing:.8px;color:#53594d}
#start-dialog:not(.space-only) .starter-intro{padding-top:8px}
#start-dialog:not(.space-only) #continue-design{position:static;align-self:center;margin:0 0 8px;color:#53594d}
@media(max-width:600px){#start-dialog:not(.space-only) .starter-brand{padding:6px 32px 10px;gap:6px}#start-dialog:not(.space-only) .starter-brand img{width:140px}#start-dialog:not(.space-only) .starter-brand span{font-size:10px;letter-spacing:.3px}}
@media(max-height:720px) and (min-width:601px){#start-dialog:not(.space-only) .starter-brand{padding:4px 44px 8px;gap:4px}#start-dialog:not(.space-only) .starter-brand img{width:135px}}

#start-dialog:not(.space-only) .dialog-close{z-index:2}

/* Eight categories, always two rows of four, with labels inside the circles. */
#category-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,auto);gap:10px 6px;overflow:visible;padding:4px;margin:4px 0 12px}
#category-tabs button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;width:100%;height:auto;padding:0;gap:0;background:transparent;border:0;border-radius:50%}
#category-tabs .category-circle{display:flex;align-items:center;justify-content:center;flex:none;width:100%;max-width:82px;height:auto;aspect-ratio:1;border-radius:50%;padding:6px;box-sizing:border-box;background:var(--orange)}
#category-tabs .category-name{display:block;width:100%;max-width:100%;font-size:10.5px;font-weight:600;line-height:1.15;text-align:center;white-space:normal;overflow-wrap:normal}
#category-tabs button:hover{background:transparent}
#category-tabs button:hover .category-circle{background:#fa990e}
