/* Guided studio: a single viewport with an in-place plan and progressive inspector. */
/* Neutral viewing surround; colour remains in the material, not the lighting. */
.kp-guided{max-width:1800px;width:calc(100% - 48px);margin:56px auto;--gs-nav:60px}.kp-guided #cleanup-configurations{display:block;scroll-margin-top:var(--gs-nav)}
.kp-guided .kp-workspace{height:calc(100dvh - var(--gs-nav) - 16px)!important;min-height:580px;display:grid;grid-template-columns:330px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) 48px;scroll-margin-top:var(--gs-nav);position:relative;background:white}
.kp-guided .gs-header{grid-column:1/-1;display:flex;align-items:center;gap:26px;padding:12px 24px;border-bottom:1px solid #dce3e8;background:white;min-width:0}.kp-guided .gs-header h2{font:400 27px/1.1 'Libre Caslon Display',Georgia,serif;margin:0;color:#17354a;white-space:nowrap}.gs-series{display:flex;gap:4px}.kp-guided .gs-series button{border:1px solid transparent;background:white;color:#314b5d;border-radius:4px;padding:12px 17px;font:600 12px 'DM Sans',sans-serif;cursor:pointer}.kp-guided .gs-series button[aria-pressed=true]{border-color:#ae8b48;background:#f7f3e9}.gs-header-actions{display:flex;gap:12px;margin-left:auto}.kp-guided .gs-header-actions button{display:flex;align-items:center;gap:8px;border:1px solid #c7d1d9;background:white;color:#263f52;border-radius:3px;padding:11px 14px;font:500 13px 'DM Sans',sans-serif;cursor:pointer}.gs-header-actions img{width:17px;height:17px}
.kp-guided .kp-inspector{grid-column:1;grid-row:2;min-height:0;padding:0;overflow:auto;border-right:1px solid #dce3e8;display:flex;flex-direction:column;scrollbar-width:thin}.gs-step{border-bottom:1px solid #e3e8ec}.kp-guided .gs-step-heading{display:flex;align-items:flex-start;gap:13px;width:100%;padding:20px 20px;border:0;background:white;color:#19364d;text-align:left;cursor:pointer;font:14px/1.4 'DM Sans',sans-serif}.gs-step-heading>span:nth-child(2){flex:1;min-width:0}.gs-step-heading strong{display:block;font-weight:600}.gs-step-heading small{font-size:12px;line-height:1.5;color:#728295;display:block;margin-top:8px;overflow-wrap:anywhere}.gs-step-number{flex:none;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#f1f3f4;color:#617281;font-size:12px}.gs-step-heading[aria-expanded=true] .gs-step-number{background:#19364d;color:white}.gs-step-heading>img{width:15px;height:15px;margin-top:7px;transition:transform .15s}.gs-step-heading[aria-expanded=true]>img{transform:rotate(180deg)}.kp-guided .gs-step-body{padding:0 22px 20px;display:grid;gap:14px}.kp-guided .gs-step-body label{font-size:12px;gap:7px}.kp-guided .gs-step-body select{height:40px}.kp-guided .kp-return{max-width:none;padding:0;margin:0}.kp-guided .kp-swatches{margin:0;padding:0;border:0;max-width:none;gap:8px}.kp-guided .kp-swatches button img{height:54px}.kp-guided .kp-detail-buttons{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.kp-guided .kp-detail-buttons button{min-height:38px;font-size:11px}.kp-guided .kp-detail-buttons button:last-child{grid-column:1/-1}.gs-sink-info{border-top:1px solid #e0e6ea;padding-top:14px;font-size:12px}.gs-sink-info p{font-size:13px;margin:5px 0 0}.kp-guided .gs-help,.kp-guided [data-kp=uppers-note]{font:12px/1.6 'DM Sans',sans-serif;color:#6b7f8b;margin:0}.kp-guided .gs-next{margin:auto 20px 20px;flex:none;min-height:44px;padding:12px;border:0;border-radius:3px;background:#a88a48;color:white;font:500 14px 'DM Sans',sans-serif;cursor:pointer}.gs-steps{padding-bottom:18px}.kp-guided .gs-secondary{padding:12px;border:1px solid #c9d7dd;background:white;color:#254759;border-radius:3px;cursor:pointer;font-size:12px}.kp-guided .kp-layouts button{padding:7px}.kp-guided .kp-layout-field{margin:0}.kp-guided .kp-layout-field legend{display:none}
.kp-guided .kp-viewer{grid-column:2;grid-row:2;position:relative;min-height:0;overflow:hidden}.kp-guided .kp-stage{min-height:0;flex:1}.kp-guided .kp-canvas{inset:0 72px 0 0;height:100%;min-height:0}.kp-guided .kp-toolbar{left:auto;right:12px;top:18px;width:55px;gap:2px}.kp-guided .kp-toolbar button{min-height:42px;padding:5px 2px;font-size:10px}.kp-guided .kp-toolbar button[data-view]{display:none}.kp-guided .kp-toolbar .kp-tool-divider{display:none}.kp-guided .kp-status{min-height:58px;padding:10px 20px;gap:12px}.kp-guided .kp-selection{font-size:12px;margin:3px 0 0}.kp-guided .kp-gesture{font-size:10px}.kp-guided .kp-view-label{left:20px;right:85px;bottom:12px}.gs-view-tabs{display:flex;align-self:center;gap:4px;padding:5px;margin:14px 0 0;border:1px solid #45606f;border-radius:5px;z-index:2;background:#1b252c}.kp-guided .gs-view-tabs button{padding:9px 24px;border:1px solid transparent;border-radius:3px;background:transparent;color:#cbd9e2;font:12px 'DM Sans',sans-serif;cursor:pointer}.kp-guided .gs-view-tabs button[aria-pressed=true]{border-color:#5593aa;background:#203846;color:white}
.kp-guided .gs-footer{grid-column:1/-1;display:flex;gap:20px;align-items:center;justify-content:space-between;padding:8px 22px;background:#202c34;color:#d3dfe6;min-width:0}.kp-guided .gs-footer .kp-summary{color:#d3dfe6;margin:0;font-size:12px}.kp-guided .gs-footer button{border:0;background:none;color:#d3dfe6;text-decoration:underline;text-underline-offset:3px;font-size:12px;cursor:pointer;white-space:nowrap}
.kp-guided .gs-floor-plan{overflow:auto;min-height:0;max-width:none;margin:16px;padding:20px;background:#f8faf9;color:#243d49;flex:1;border-radius:4px}.kp-guided .kp-flow-grid{display:block}.kp-guided .kp-board-shell{padding:12px}.kp-guided .kp-zone-board{max-height:420px;min-height:180px}.kp-guided .kp-flow-help{margin:10px 0;font-size:12px}.kp-guided .kp-flow-status{margin:0}.gs-plan-notes{margin-top:14px;border-top:1px solid #dce3e8;padding-top:12px}.gs-plan-notes>summary{cursor:pointer;font-size:13px}.kp-guided .kp-flow-notes{margin:12px}.kp-guided .kp-flow-notes h3{font-size:24px}.kp-guided .kp-flow-notes>div{padding:10px 0}.kp-guided .kp-flow-notes p{margin-bottom:10px}
.kp-guided .gs-dialog{padding:0;border:1px solid #c8d5db;border-radius:6px;background:white;color:#203a4d;max-width:none;width:min(1180px,calc(100vw - 40px));height:min(840px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);overflow:hidden;margin:auto;box-sizing:border-box}.gs-dialog::backdrop{background:#102330a8}body:has(.gs-dialog[open]){overflow:hidden}.gs-dialog[open]{display:flex;flex-direction:column}.gs-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border-bottom:1px solid #dce3e8;flex:none}.kp-guided .gs-dialog-head h3{font:600 20px 'DM Sans',sans-serif;margin:0}.gs-dialog-head p{font-size:12px;color:#6d7d89;margin:5px 0 0}.kp-guided .gs-dialog-head button{padding:10px 13px;border:1px solid #bfccd3;background:white;color:#264859;border-radius:3px;cursor:pointer;white-space:nowrap}.gs-dialog-content{padding:24px;overflow:auto}.kp-guided .gs-info-dialog{width:min(700px,calc(100vw - 32px));height:auto}.gs-info-dialog .kp-actions{flex-direction:row}.gs-info-dialog .kp-actions button{flex:1}.gs-info-dialog .kp-note{font-size:12px}
.kp-guided .gs-dialog .cg{margin:0;border:0;padding:16px 24px;display:flex;flex-direction:column;min-height:0;flex:1}.gs-dialog .cg-series{margin-bottom:12px}.gs-dialog .cg-series button{padding:8px 20px}.gs-dialog .cg-topline{gap:12px}.gs-dialog .cg-families{gap:5px}.gs-dialog .cg-families button{font-size:11px;padding:7px 12px}.gs-dialog .cg-legend{margin:8px 0;font-size:10px}.gs-catalogue-body{min-height:0;display:grid;grid-template-columns:310px minmax(0,1fr);gap:20px;flex:1}.gs-catalogue-list{overflow:auto;padding:2px 8px 2px 2px;scrollbar-width:thin}.gs-dialog .cg-cards{display:flex;flex-direction:column;gap:8px;margin:0}.kp-guided .gs-dialog .cg-card{flex-direction:row;align-items:center;gap:10px;padding:10px}.gs-dialog .cg-card svg{width:75px;height:64px;flex:none;margin:0}.gs-dialog .cg-card-copy{gap:4px}.gs-dialog .cg-card-copy strong{font-size:13px}.gs-dialog .cg-card-copy small{font-size:9px}.gs-dialog .cg-card-copy>span,.gs-dialog .cg-card-copy em{display:none}.gs-dialog .cg-detail{padding:18px;overflow:auto;scrollbar-width:thin;margin:0;scroll-margin:0}.gs-dialog .cg-detail-heading{display:block;margin-bottom:14px}.gs-dialog .cg-detail h3{font-size:26px}.gs-dialog .cg-detail-heading p{margin:5px 0}.gs-dialog .cg-detail-heading>div>p:not(.eyebrow){display:none}.gs-dialog .cg-detail-columns{display:flex;flex-direction:column-reverse;gap:16px}.gs-dialog .cg-detail-columns h4{font-size:13px}.gs-dialog .cg-detail-columns p{font-size:12px}.gs-dialog .cg-options{gap:12px;margin-top:12px}.gs-dialog .cg-actions{margin-top:14px;padding-top:14px;gap:10px}.gs-dialog .cg-actions p{flex-basis:100%;margin:0}.gs-dialog .cg-actions button{font-size:12px;padding:10px}.gs-dialog .cg-scope{font-size:10px;margin:10px 0 0}.gs-dialog [data-guide-count]{min-width:0}
.kp-guided .kp-workspace:fullscreen{height:100dvh!important;width:100vw;min-height:0}.kp-guided input:focus-visible,.kp-guided button:focus-visible,.kp-guided summary:focus-visible{outline:3px solid #5296b0;outline-offset:2px}
@media(max-width:1100px){.kp-guided{width:calc(100% - 24px)}.kp-guided .kp-workspace{grid-template-columns:290px minmax(0,1fr)}.kp-guided .gs-header{gap:16px;padding:10px 16px}.kp-guided .gs-header h2{font-size:23px}.kp-guided .gs-series button{padding:10px 12px}.kp-guided .kp-gesture{display:none}.gs-step-heading small{font-size:11px}.kp-guided .gs-step-heading{padding:16px}.kp-guided .gs-step-body{padding:0 16px 16px}.gs-dialog .cg-topline{flex-direction:row}.gs-catalogue-body{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:760px){.kp-guided{width:100%;margin:32px auto}.kp-guided .kp-workspace{grid-template-columns:1fr;grid-template-rows:auto minmax(230px,1fr) 270px 42px;min-height:640px;height:calc(100dvh - var(--gs-nav))!important}.kp-guided .gs-header{grid-row:1;flex-wrap:wrap;gap:8px;padding:10px 12px}.kp-guided .gs-header h2{font-size:22px;flex:1}.kp-guided .gs-series button{font-size:11px;padding:8px 10px}.gs-header-actions{width:100%;justify-content:flex-end;gap:8px}.kp-guided .gs-header-actions button{padding:8px 12px;font-size:12px}.kp-guided .kp-viewer{grid-column:1;grid-row:2}.gs-view-tabs{margin:6px 0 0;padding:3px}.kp-guided .gs-view-tabs button{padding:6px 20px}.kp-guided .kp-toolbar{top:4px;left:auto;right:5px;width:32px;flex-direction:column}.kp-guided .kp-toolbar button{min-height:29px;padding:4px}.kp-guided .kp-toolbar button span{display:none}.kp-guided .kp-toolbar button img{width:16px;height:16px}.kp-guided .kp-canvas{inset:0 38px 0 0;height:100%;min-height:0}.kp-guided .kp-view-label{font-size:9px;bottom:6px;left:10px;right:44px}.kp-guided .kp-status{display:none}.kp-guided .kp-inspector{grid-row:3;grid-column:1;border-top:1px solid #dce3e8;padding:0}.gs-steps{display:flex;flex-direction:column;padding:0}.kp-guided .gs-step-heading{padding:9px 12px;align-items:center}.gs-step-heading small{display:none}.gs-step-number{width:23px;height:23px;font-size:10px}.gs-step-heading strong{font-size:12px}.gs-step-heading>img{margin:0}.kp-guided .gs-step-body{padding:4px 12px 12px;grid-template-columns:1fr 1fr;gap:10px}.kp-guided .gs-step-body>.kp-layout-field,.kp-guided .gs-step-body>.kp-swatches,.kp-guided .gs-step-body>.kp-detail-buttons,.kp-guided .gs-step-body>.gs-help,.kp-guided .gs-step-body>.gs-secondary,.kp-guided .gs-step-body>[data-kp=uppers-note]{grid-column:1/-1}.kp-guided .kp-swatches button img{height:32px}.kp-guided .gs-next{min-height:36px;margin:10px 12px;padding:8px}.kp-guided .gs-footer{grid-row:4;padding:6px 10px;gap:8px}.kp-guided .gs-footer .kp-summary{font-size:10px}.kp-guided .gs-footer button{font-size:10px}.kp-guided .gs-floor-plan{margin:8px;padding:10px}.kp-guided .kp-zone-board{min-width:500px;min-height:0}.kp-guided .kp-board-shell>p{min-width:500px}.kp-guided .kp-flow-help{font-size:11px}.kp-guided .gs-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.gs-dialog-head{padding:12px;gap:10px}.kp-guided .gs-dialog-head h3{font-size:17px}.gs-dialog-head p{font-size:10px}.kp-guided .gs-dialog-head button{font-size:11px;padding:8px}.kp-guided .gs-dialog .cg{padding:12px}.gs-dialog .cg-topline{display:block}.gs-dialog .cg-families{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.gs-dialog .cg-families button{flex:none}.gs-dialog [data-guide-count]{text-align:left;margin:4px 0}.gs-dialog .cg-legend,.gs-dialog .cg-scope{display:none}.gs-catalogue-body{display:flex;flex-direction:column;gap:10px}.gs-catalogue-list{max-height:145px;flex:none}.gs-dialog .cg-cards{display:grid;grid-template-columns:1fr 1fr;gap:6px}.kp-guided .gs-dialog .cg-card{padding:6px;gap:4px}.gs-dialog .cg-card svg{width:40px;height:44px}.gs-dialog .cg-card-copy strong{font-size:11px}.gs-dialog .cg-card-copy small{display:none}.gs-dialog .cg-detail{padding:12px;flex:1;min-height:0}.gs-dialog .cg-options{grid-template-columns:1fr 1fr}.gs-dialog .cg-actions{flex-direction:row}.gs-dialog .cg-detail h3{font-size:22px}.gs-dialog .cg-actions p{min-width:0}.gs-dialog-content{padding:16px}}
.kp-guided .gs-header{position:static;height:auto;z-index:auto}.kp-guided .gs-header h2{letter-spacing:0}
.kp-guided .kp-workspace,.kp-guided #cleanup-configurations{scroll-margin-top:calc(var(--gs-nav) - var(--gs-scroll-padding,120px))}
#cleanup-planner #cleanup-studio-view,#cleanup-planner #cleanup-configurations{scroll-margin-top:calc(var(--gs-nav) - var(--gs-scroll-padding,100px))}
.kp-guided .kp-workspace{overflow-anchor:none}

.gs-finish-label{font-size:12px;color:#334e60;margin-bottom:-8px}
.gs-camera-tabs{position:absolute;left:20px;bottom:84px;display:flex;gap:4px;z-index:2}
.kp-guided .gs-camera-tabs button{display:flex;align-items:center;gap:5px;border:1px solid #425b6b;border-radius:3px;padding:7px 9px;background:#1c2b35;color:#cbd9e2;font:11px 'DM Sans',sans-serif;cursor:pointer}
.gs-camera-tabs img{width:15px;height:15px;filter:brightness(0) invert(1)}
.kp-guided .gs-camera-tabs button[aria-pressed=true]{background:#294c60;border-color:#70b1c9;color:white}
@media(max-width:760px){.gs-camera-tabs{left:10px;bottom:25px}.kp-guided .gs-camera-tabs button{padding:5px;font-size:9px}.gs-camera-tabs img{width:12px;height:12px}.gs-finish-label{grid-column:1/-1}}
html:has(.kp-guided){scrollbar-gutter:stable}
html:has(.kp-guided){scroll-padding-top:56px}
/* The entire inspector scrolls together; headings and actions use normal flow. */
.kp-guided .kp-inspector{display:block;overflow:auto;overscroll-behavior-y:contain}
.kp-guided .gs-steps,.kp-guided .gs-step,.kp-guided .gs-step:has([aria-expanded=true]){display:block}
.kp-guided .gs-steps{padding:0}
.kp-guided .gs-step-body{display:block;overflow:visible}
.kp-guided .gs-step-body>*{margin-bottom:14px}
.kp-guided .gs-step-body .gs-finish-label{display:block;margin:0 0 7px}
.kp-guided .gs-next{display:block;width:calc(100% - 32px);margin:16px;min-height:40px}
@media(max-width:760px){
.kp-guided .gs-step-body{padding:12px}
.kp-guided .kp-inspector{overflow:visible;overscroll-behavior-y:auto}
}
/* Neutral studio surround. Keep labels and controls readable on the light canvas. */
.kp-guided .kp-viewer,.kp-guided .kp-stage{background:#f5f5f5;color:#263f52}
.kp-guided .kp-toolbar button{background:#f5f5f5;color:#344b59}
.kp-guided .kp-toolbar button:hover{background:#e5e9eb;color:#19364d}
.kp-guided .kp-toolbar button img,.kp-guided .gs-camera-tabs img{filter:brightness(0) saturate(0);opacity:.7}
.kp-guided .gs-view-tabs{background:white;border-color:#cbd2d6}
.kp-guided .gs-view-tabs button{color:#344b59}
.kp-guided .gs-view-tabs button[aria-pressed=true],.kp-guided .gs-camera-tabs button[aria-pressed=true]{background:#e5edf1;color:#19364d;border-color:#8da7b5}
.kp-guided .gs-camera-tabs button{background:white;color:#344b59;border-color:#cbd2d6}
.kp-guided .kp-status,.kp-guided .gs-footer{background:#fff;border-top:1px solid #dce3e8;color:#344b59}
.kp-guided .kp-selection,.kp-guided .gs-footer .kp-summary,.kp-guided .gs-footer button{color:#344b59}
.kp-guided .kp-caption,.kp-guided .kp-gesture,.kp-guided .kp-view-label{color:#65727b}

/* Persistent view option, below the canvas on desktop and mobile. */
.kp-guided .gs-view-options{display:flex;flex:none;align-items:center;justify-content:flex-end;padding:8px 20px;border-top:1px solid #dce3e8;background:#fff;}
.kp-guided .gs-view-options button{display:inline-flex;align-items:center;gap:10px;padding:4px;border:0;border-radius:4px;background:transparent;color:#344b59;font:12px 'DM Sans',sans-serif;cursor:pointer;min-height:32px;}
.kp-guided .gs-switch-track{position:relative;width:34px;height:20px;border-radius:12px;background:#aab5bc;transition:background .15s;}
.kp-guided .gs-switch-track:after{content:'';position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0002;transition:transform .15s;}
.kp-guided [data-kp=handles][aria-checked=true] .gs-switch-track{background:#21647b;}
.kp-guided [data-kp=handles][aria-checked=true] .gs-switch-track:after{transform:translateX(14px);}
.kp-guided [data-kp=handles]:focus-visible{outline:2px solid #21647b;outline-offset:3px;}
.kp-guided [data-handle-state]{min-width:20px;text-align:left;}
@media(max-width:760px){.kp-guided .gs-view-options{padding:2px 10px;}.kp-guided .gs-view-options button{font-size:11px;}}
@media(prefers-reduced-motion:reduce){.kp-guided .gs-switch-track,.kp-guided .gs-switch-track:after{transition:none;}}
.gs-top-sample{margin:8px 0 16px;display:flex;align-items:center;gap:12px}.gs-top-sample img{width:64px;height:42px;object-fit:cover;border:1px solid #dce2e5;border-radius:4px}.gs-top-sample figcaption{font-size:11px;line-height:1.5}.kp-worktop-options details{margin-bottom:18px;border-bottom:1px solid #e2e7eb;padding-bottom:12px}.kp-worktop-options summary{font-size:12px;cursor:pointer}.kp-worktop-options label.gs-top-check{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:11px;margin:10px 0}.gs-top-check input{width:16px;height:16px;margin:0}.kp-worktop-options small{display:block;font-size:10px;line-height:1.5;color:#6c7d8b}
/* Balanced header and a single, keyboard-ordered bottom control row. */
.kp-guided .gs-header{display:grid;grid-template-columns:1fr auto 1fr;gap:18px}
.kp-guided .gs-header h2{grid-column:2;grid-row:1;text-align:center;font:700 24px/1.25 'DM Sans',Arial,sans-serif;letter-spacing:-.025em}
.kp-guided .gs-series{grid-column:1;grid-row:1}
.kp-guided .gs-header-actions{grid-column:3;grid-row:1;justify-self:end;margin:0}
.kp-guided .gs-view-options{justify-content:space-between;gap:12px}
.kp-guided .gs-view-options .gs-camera-tabs{position:static;display:flex;margin-left:auto}
.kp-guided .gs-view-options .gs-camera-tabs button{border:1px solid #cbd2d6;border-radius:3px;padding:6px 8px;font-size:11px;gap:5px}
.kp-series-profile{padding:0 0 14px;border-bottom:1px solid #e0e7eb;margin-bottom:14px}
.kp-series-profile>p{font-size:12px;line-height:1.5;color:#4b6475;margin:0 0 12px}
.kp-series-profile details{margin-top:10px;font-size:11px;line-height:1.6}
.kp-series-profile summary{cursor:pointer}.kp-series-profile small{display:block;color:#6a7b89;margin-top:8px}
@media(max-width:1200px){.kp-guided .gs-header{grid-template-columns:1fr 1fr}.kp-guided .gs-header h2{grid-column:1/-1;grid-row:1;font-size:22px}.kp-guided .gs-series{grid-column:1;grid-row:2}.kp-guided .gs-header-actions{grid-column:2;grid-row:2;width:auto;gap:6px}.kp-guided .gs-header-actions button{padding:8px}}
@media(max-width:760px){.kp-guided .gs-header{gap:6px}.kp-guided .gs-header h2{font-size:20px}.kp-guided .gs-header-actions button{font-size:10px;padding:7px}.kp-guided .gs-series button{padding:7px}.kp-guided .gs-view-options{gap:5px}.kp-guided .gs-view-options .gs-camera-tabs button{font-size:9px;padding:4px}.kp-guided .gs-view-options button[data-kp=handles]{font-size:10px;gap:5px}.kp-series-profile{grid-column:1/-1}}

/* Selected concept: active step accordion with explicit edit affordances. */
.kp-guided .gs-step-heading{background:#f6f8fa;padding:12px 16px;gap:10px;align-items:center;min-height:64px;border-left:4px solid transparent}
.kp-guided .gs-step-heading strong{font-size:15px;font-weight:700;line-height:1.3}
.kp-guided .gs-step-heading small{font-size:12px;color:#617587;line-height:1.4}
.kp-guided .gs-step-number{width:32px;height:32px;background:#e7edf1;color:#526b7c;font-weight:600}
.kp-guided .gs-edit-label{font-size:12px;font-weight:700;color:#927132;flex:none}
.kp-guided .gs-step-heading>img{margin:0;width:17px;height:17px}
.kp-guided .gs-step-heading:hover{background:#eaf0f4}
.kp-guided .gs-step-heading[aria-expanded=true]{background:#193b52;color:white;border-left-color:#b59450}
.kp-guided .gs-step-heading[aria-expanded=true] small{color:#d5e1e9}
.kp-guided .gs-step-heading[aria-expanded=true] .gs-step-number{background:#36566b;color:white}
.kp-guided .gs-step-heading[aria-expanded=true] .gs-edit-label{display:none}
.kp-guided .gs-step-heading[aria-expanded=true]>img{filter:brightness(0) invert(1)}
.kp-guided .gs-step-body{padding:18px 18px 12px;background:white}
.kp-guided .gs-step-body label,.kp-guided .gs-finish-label,.kp-guided .gs-sink-info>span{font-size:13px;font-weight:600;color:#193b52}
.kp-guided .gs-step-body select{min-height:44px;border-color:#b7c7d2;border-radius:5px;font-size:13px}
.kp-guided .gs-next{min-height:46px;font-weight:700;border-radius:5px;background:#a5843f}
.kp-guided .gs-next:hover{background:#8d6d2d}
@media(max-width:760px){
.kp-guided .gs-step-heading{min-height:52px;padding:10px 12px;border-left:0}
.kp-guided .gs-step-heading strong{font-size:11px}
.kp-guided .gs-edit-label{display:none}
.kp-guided .gs-step-body{padding:12px}
.kp-guided .gs-next{min-height:34px}
}

.ce-tools{display:flex;gap:8px;padding:8px 20px;background:#fff;border-top:1px solid #dce3e8;flex:none}
.ce-tools button,.ce-actions button,.ce-library button{border:1px solid #b7c7d2;background:white;color:#193b52;padding:9px 12px;border-radius:4px;cursor:pointer;font:12px 'DM Sans',sans-serif}
.ce-tools button[aria-pressed=true],.ce-library button[aria-pressed=true]{background:#193b52;color:white}
.ce-sidebar .ce-single-move{width:100%;padding:10px 12px;margin:0 0 12px;border:1px solid #b7c7d2;border-radius:4px;background:#fff;color:#193b52;text-align:left;font:600 12px 'DM Sans',sans-serif;cursor:pointer}.ce-sidebar .ce-single-move[aria-pressed=true]{background:#193b52;color:#fff}.ce-sidebar .ce-single-move[hidden]{display:none}
.ce-tools button:disabled{opacity:.4;cursor:default}
.ce-library{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}
.ce-library button{text-align:left}.ce-library strong,.ce-library small{display:block}.ce-library small{font-size:11px;margin-top:5px}
.ce-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.ce-hover{position:absolute;z-index:5;pointer-events:none;max-width:230px;padding:10px 12px;background:#193b52;color:white;border-radius:5px;white-space:pre-line;font:12px/1.5 'DM Sans',sans-serif;box-shadow:0 3px 14px #0002}
@media(max-width:760px){.ce-tools{padding:4px 8px;gap:4px}.ce-tools button{padding:6px;font-size:10px}}

.kp-guided .ce-dialog{height:auto;max-height:calc(100dvh - 40px)}.ce-dialog .gs-dialog-content{overflow:auto}
.ce-sidebar-tabs{display:flex;gap:5px;padding:12px;border-bottom:1px solid #dce3e8;flex:none}
.ce-sidebar-tabs button{flex:1;border:1px solid #cbd6dd;border-radius:5px;padding:10px;background:white;color:#193b52;font-weight:600}
.ce-sidebar-tabs button[aria-pressed=true]{background:#193b52;color:white}
.ce-sidebar{overflow:visible;padding:16px}
.ce-sidebar[hidden],.kp-guided .gs-steps[hidden],.kp-guided .gs-next[hidden]{display:none}
.ce-intro strong{font-size:16px}.ce-intro p,.ce-library-note{font-size:11px;line-height:1.6;color:#657988;margin:8px 0 16px}
.ce-sidebar label{display:block;font-size:12px}.ce-sidebar select{width:100%;margin:6px 0 12px;padding:10px;border:1px solid #cbd6dd;border-radius:4px}
.ce-units{display:grid;gap:8px}
.kp-guided .ce-unit{display:flex;gap:10px;align-items:center;width:100%;padding:10px;background:white;border:1px solid #d5dfe5;border-radius:6px;color:#193b52;text-align:left;cursor:grab}
.ce-unit svg{width:44px;height:44px;flex:none;fill:#eff3f5;stroke:#557589;stroke-width:1.4}
.ce-unit strong{display:block;font-size:12px}.ce-unit small{display:block;font-size:10px;line-height:1.5;margin-top:4px;color:#647e8d}
.kp-guided .ce-unit[aria-pressed=true]{border-color:#3f758e;background:#eef6fa}
.ce-tools [data-ce-status]{flex:1;font-size:11px;line-height:1.5;color:#456070;align-self:center}
.ce-drop-marker{position:absolute;z-index:6;pointer-events:none;transform:translate(-50%,-100%);background:#193b52;color:white;padding:8px 10px;border-radius:4px;white-space:nowrap;font-size:12px;box-shadow:0 3px 9px #0003}
@media(max-width:760px){.ce-sidebar{padding:10px}.ce-units{grid-template-columns:1fr 1fr}.ce-unit svg{width:28px}.ce-sidebar-tabs{padding:5px}.ce-sidebar-tabs button{padding:6px}.ce-tools [data-ce-status]{font-size:10px}}
.ce-size{display:flex;align-items:center;gap:6px;font-size:12px}.ce-size[hidden],.ce-resize-handle[hidden]{display:none}.ce-size input{width:80px;padding:7px;border:1px solid #adc1d0;border-radius:4px}.ce-resize-handle{position:absolute;z-index:6;transform:translate(-50%,-50%);width:32px;height:32px;border:1px solid #317b9d;border-radius:50%;color:#fff;background:#205b76;cursor:ew-resize;touch-action:none;box-shadow:0 2px 8px #0002}.ce-tools{flex-wrap:wrap}
#cleanup-studio-view .ce-tools{align-items:center;gap:8px}#cleanup-studio-view .ce-tools .ce-size{display:flex;flex-direction:row;align-items:center;gap:6px;width:auto;margin:0}#cleanup-studio-view .ce-tools .ce-size[hidden]{display:none}#cleanup-studio-view .ce-tools button{align-self:center;flex:none}#cleanup-studio-view .ce-size input{width:78px;min-width:0}
.ce-category,.ce-plan-layers{display:flex;gap:6px;margin:10px 0}.ce-category button,.ce-plan-layers button{flex:1;padding:9px 6px;border:1px solid #b9cad4;border-radius:4px;background:#fff;color:#193b52;font-size:12px}.ce-category button[aria-pressed=true],.ce-plan-layers button[aria-pressed=true]{background:#193b52;color:white}.ce-plan-layers{max-width:320px;margin-bottom:14px}.ce-front-edit{display:flex;gap:6px;align-items:center;font-size:12px}.ce-front-edit select{padding:7px;border:1px solid #adc1d0;border-radius:4px}.ce-front-edit[hidden],.ce-sidebar label[hidden]{display:none}.kp-zone-board .ce-plan-anchor{opacity:.35;border:1px dashed #547d91}.kp-zone-board .ce-plan-replace{opacity:.45;outline:3px solid #2486a7;outline-offset:-3px}.kp-zone-board .ce-plan-drop{outline:3px solid #ba9448;outline-offset:-3px}.kp-zone-board button{cursor:grab}.kp-zone-board button:active{cursor:grabbing}

/* One baseline for live cabinet controls; catalogue lift families stay distinct. */
#cleanup-studio-view .ce-tools .ce-front-edit{display:flex;flex-direction:row;align-items:center;gap:6px;width:auto;margin:0;font-size:12px}
#cleanup-studio-view .ce-tools .ce-front-edit[hidden]{display:none}
#cleanup-studio-view .ce-tools input,#cleanup-studio-view .ce-tools select{height:36px;box-sizing:border-box;margin:0;font:12px 'DM Sans',sans-serif}
#cleanup-studio-view .ce-tools select{width:auto;min-width:108px;padding:7px;border:1px solid #adc1d0;border-radius:4px}
#cleanup-studio-view .ce-tools button{height:36px;box-sizing:border-box}
#cleanup-studio-view .ce-tools input[aria-invalid=true]{border-color:#ae6a30;background:#fffbf6}
.ce-appliance-options{display:grid;gap:8px;margin:4px 0 12px}.ce-appliance-options[hidden]{display:none}.ce-appliance-options label{display:grid;gap:4px}.ce-appliance-options input{width:100%;box-sizing:border-box;padding:8px;border:1px solid #adc1d0;border-radius:4px}.ce-appliance-options small{line-height:1.4;color:#526978}
.ce-appliance-options label:has([data-cook-auto-hood]){display:flex;align-items:center;gap:8px}.ce-appliance-options input[data-cook-auto-hood]{width:18px;height:18px;flex:none;accent-color:#193e51}
.ce-fridge-warning{position:absolute;z-index:10;bottom:16px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);margin:0;padding:10px 14px;background:#fff1e8;color:#8a3b29;font-size:13px;line-height:1.4}.ce-fridge-warning[hidden]{display:none}
.ce-unit-group{grid-column:1/-1;margin:12px 0 2px;padding-top:12px;border-top:1px solid #dce3e8;font:600 11px 'DM Sans',sans-serif;letter-spacing:.03em;color:#466477}
.ce-unit-group:first-child{margin-top:0;padding-top:0;border:0}
.ce-placement{margin:0 0 16px;padding:10px;border:1px solid #cad8e0;border-radius:5px;background:#f6f9fa}
.ce-placement[hidden]{display:none}.ce-placement summary{cursor:pointer;font-size:12px;font-weight:600;color:#193b52}.ce-placement[open] summary{margin-bottom:12px}
.ce-placement input[type=number]{display:block;width:100%;box-sizing:border-box;margin:6px 0 12px;padding:9px;border:1px solid #cbd6dd;border-radius:4px;background:white}
.ce-placement .ce-independent{display:flex;align-items:center;gap:6px;margin:8px 0}.ce-placement small{display:block;font-size:10px;line-height:1.5;color:#647e8d}

/* Optional side rows keep the initial kitchen visually light. */
.ce-upper-sides{border:0;border-top:1px solid #dce4e8;margin:16px 0 0;padding:14px 0 0}.ce-upper-sides legend{font-weight:600;padding-top:12px}.ce-upper-sides p{font-size:12px;line-height:1.5;color:#647b8c}.ce-upper-sides label{display:flex;align-items:center;gap:10px;padding:8px 0}.ce-upper-sides label[hidden]{display:none}.ce-upper-sides input{width:18px;height:18px;accent-color:#193e51}

.gs-header-actions{position:relative}.gs-header-actions [data-kp="drawings"]{background:#183d52;color:#fff;border-color:#183d52}.kp-drawing-status{position:absolute;right:0;top:100%;font-size:11px;color:#36576b;white-space:nowrap;z-index:2}

/* Room-first guidance shares the existing inspector and preserves its canvas. */
.gs-room{border:0;padding:0;margin:0 0 18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gs-room legend{font-weight:700;margin-bottom:8px}.gs-room p{grid-column:1/-1;font-size:12px;line-height:1.5;color:#526675;margin:0}.gs-room label{min-width:0;font-size:12px}.gs-room input{box-sizing:border-box;width:100%;min-width:0;padding:9px 5px}.gs-space-status{padding:10px 12px;border-bottom:1px solid #dce5e8;background:#f3f7f6;color:#234759}.gs-space-status p{font-size:12px;line-height:1.5;margin:0}.gs-space-status small{font-size:10px;line-height:1.4;display:block;margin-top:5px}.gs-space-status[data-overflow=true]{background:#fff0eb;color:#963e2d}.gs-space-status button{margin-top:8px;background:#963e2d;color:white;border:0;border-radius:4px;padding:9px 12px;cursor:pointer}.gs-space-status [hidden]{display:none}.gs-header-actions .cd-launch{font-size:13px;padding:11px 17px;min-height:42px}.kp-drawing-status{max-width:140px}
.kp-worktop-families,.kp-worktop-samples{border:0;margin:0 0 16px;padding:0;min-width:0}.kp-worktop-families legend,.kp-worktop-samples legend{font-size:13px;font-weight:600;margin-bottom:8px}.kp-worktop-families>div,.kp-worktop-samples>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kp-worktop-families button,.kp-worktop-samples button{min-width:0;border:1px solid #b6c6ce;background:#fff;color:#193e50;border-radius:5px;padding:5px;text-align:left;font:inherit;cursor:pointer}.kp-worktop-families img,.kp-worktop-samples img{display:block;width:100%;height:54px;object-fit:cover;border-radius:2px}.kp-worktop-families span,.kp-worktop-samples span{display:block;font-size:11px;line-height:1.4;margin-top:5px}.kp-worktop-families [aria-pressed=true],.kp-worktop-samples [aria-pressed=true]{border-color:#193e50;background:#edf4f6;box-shadow:inset 0 0 0 1px #193e50}.kp-worktop-families button:focus-visible,.kp-worktop-samples button:focus-visible{outline:3px solid #79a5b8;outline-offset:2px}.gs-space-status details{font-size:11px;line-height:1.5;margin-top:8px}.gs-space-status ul{padding-left:16px}.gs-space-status li{margin:5px 0}

/* Embedded studio shares the storage section content edges. */
#storage #cleanup-planner.kp-guided{width:100%;max-width:none;margin:56px 0;}

.ce-sidebar [data-ce-uniform-field]{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px;line-height:1.4}.ce-sidebar [data-ce-uniform-field][hidden]{display:none}.ce-sidebar [data-ce-uniform-field] small{flex-basis:100%;padding-left:21px;color:#526b78}.ce-sidebar [data-ce-uniform-message]:not(:empty){color:#9b3028}
