.gs-header-actions .cd-launch{background:#193e50;color:#fff;border-color:#193e50;font-weight:700}
.cd-brief[hidden]{display:none}.cd-dialog select:focus-visible{outline:3px solid #79a5b8;outline-offset:3px}
.cd-feedback .cd-refine{margin-top:8px;background:white;color:#193e50}.cd-refine:disabled{opacity:.55}.cd-local{margin-bottom:8px}
.cd-dialog{box-sizing:border-box;width:min(760px,calc(100% - 24px));max-height:85dvh;overflow:auto;border:1px solid #d8e1e5;border-radius:14px;padding:28px;color:#183448;background:#fff;box-shadow:0 20px 80px #102b3c30;font-family:inherit}
.cd-dialog::backdrop{background:#102b3c66}.cd-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.1em;color:#526d7b}.cd-top button{font-size:26px;border:0;background:none;padding:0 8px;color:inherit}.cd-dialog h2{font-family:inherit;font-size:28px;line-height:1.2;margin:16px 0}.cd-dialog p{font-size:14px;line-height:1.6}.cd-brief{display:block;font-size:14px;font-weight:600;margin-top:20px}.cd-brief textarea{box-sizing:border-box;display:block;width:100%;padding:12px;border:1px solid #b6c6ce;border-radius:6px;font:inherit;font-weight:400;margin-top:8px;resize:vertical}.cd-service{color:#526675;font-size:12px!important}.cd-suggest,.cd-card>button,.cd-preview button{border:1px solid #193e50;border-radius:5px;background:#193e50;color:#fff;padding:10px 16px;font:inherit;font-size:13px;cursor:pointer}.cd-suggest:disabled{opacity:.6}.cd-results{margin-top:20px}.cd-kept{background:#f0f5f4;padding:12px;border-radius:6px}.cd-card{border:1px solid #d8e1e5;border-radius:8px;padding:18px;margin:12px 0}.cd-card h3{font-size:17px;font-weight:700;line-height:1.4;margin:0}.cd-card p{margin:8px 0}.cd-change-count{font-weight:600}.cd-card details{font-size:12px;margin:12px 0}.cd-card li{margin-bottom:6px}.cd-sources{border-top:1px solid #dde4e8;margin-top:24px;padding-top:16px;font-size:12px}.cd-sources a{color:inherit}.cd-preview{padding:10px 18px;background:#eaf3f5;border-top:1px solid #b8cdd5;display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:#193e50}.cd-preview[hidden]{display:none}.cd-preview>div{flex:1;min-width:160px}.cd-preview strong,.cd-preview span{display:block;font-size:13px;line-height:1.5}.cd-preview span{font-size:12px}.cd-preview button[data-cd=cancel]{background:white;color:#193e50}.cd-dialog button:focus-visible,.cd-dialog textarea:focus-visible{outline:3px solid #79a5b8;outline-offset:3px}@media(max-width:600px){.cd-dialog{padding:18px}.cd-dialog h2{font-size:23px}.cd-preview{padding:10px}.gs-header-actions .cd-launch{font-size:11px}}

.cd-dialog>select{width:100%;padding:12px;border:1px solid #b6c6ce;border-radius:6px;font:inherit;color:inherit;background:#fff}.kp-viewer{position:relative}.cd-preview{position:absolute;bottom:0;left:0;right:0;z-index:20;box-shadow:0 -4px 20px #18344815}
.cd-dialog .cd-card h3{font-family:inherit;font-weight:650}

.cd-dialog [hidden]{display:none!important}.cd-dialog [data-cd-step]>label{display:block;font-size:13px;font-weight:600;margin:14px 0}.cd-dialog input,.cd-dialog select{box-sizing:border-box;display:block;width:100%;padding:12px;margin-top:7px;border:1px solid #b6c6ce;border-radius:6px;font:inherit;background:white;color:inherit}.cd-wizard-nav{display:flex;justify-content:space-between;gap:12px;margin-top:22px}.cd-wizard-nav button{padding:11px 22px;border:1px solid #193e50;border-radius:5px;color:#193e50;background:white;cursor:pointer}.cd-wizard-nav [data-cd-next]{margin-left:auto;background:#193e50;color:white}.cd-progress{color:#526675;font-size:12px!important}.cd-dialog h3{font:600 20px/1.4 inherit}.cd-dialog input:focus-visible{outline:3px solid #79a5b8;outline-offset:2px}

.kp-guided .gs-header{grid-template-columns:auto 1fr;gap:12px}.kp-guided .gs-header h2{grid-column:1;grid-row:1;font-size:22px;text-align:left}.kp-guided .gs-series{grid-column:1;grid-row:2}.kp-guided .gs-header-actions{grid-column:2;grid-row:1 / 3;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center}.kp-guided .gs-header-actions .cd-launch{background:#193e50;color:#fff;border-color:#193e50;font-weight:700;white-space:nowrap;padding:14px 18px}.kp-guided .gs-header-actions button{white-space:nowrap}.gs-room{grid-column:1/-1}@media(max-width:760px){.kp-guided .gs-header{display:flex;flex-wrap:wrap}.kp-guided .gs-header h2{font-size:18px}.kp-guided .gs-header-actions{width:100%;gap:5px;justify-content:flex-start}.kp-guided .gs-header-actions .cd-launch{padding:10px;font-size:12px}.kp-guided .gs-header-actions button{padding:8px;font-size:11px}.kp-guided .gs-header-actions [data-gs=catalogue],.kp-guided .gs-header-actions [data-gs=export]{display:none}}

.gs-space-status[data-overflow=false] small{display:none}
@media(max-width:760px){.cd-preview{padding:8px;gap:6px}.cd-preview>div{flex:1 1 100%;min-width:0}.cd-preview strong{font-size:12px}.cd-preview span{display:none}.cd-preview button{padding:7px 10px;font-size:11px}.gs-space-status{padding:6px 10px}.gs-space-status p{font-size:11px}.gs-room p{font-size:11px}.kp-guided .gs-room input{padding:8px 4px}.kp-guided .gs-header-actions [data-gs=library]{margin-left:auto}}

/* Three-step planner: visual choices use the same catalogue samples as the model. */
.cd-top{justify-content:flex-end}.cd-dialog h3{font-family:inherit;font-size:19px;font-weight:600;line-height:1.4}.cd-room-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cd-room-fields label{font-size:13px;font-weight:600}.cd-layout-field,.cd-samples{border:0;padding:0;margin:20px 0}.cd-layout-field legend,.cd-samples legend{font-size:13px;font-weight:700;margin-bottom:10px}.cd-samples legend span{display:block;font-weight:400;font-size:12px;color:#526675;margin-top:4px}.cd-layout-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.cd-layout-options button{border:1px solid #b6c6ce;border-radius:5px;padding:8px;background:white;color:#294d60;font:inherit;font-size:12px;cursor:pointer}.cd-layout-options svg{display:block;width:100%;height:60px}.cd-layout-options [aria-pressed=true],.cd-swatch-grid [aria-pressed=true]{border-color:#193e50;background:#edf4f6;box-shadow:inset 0 0 0 1px #193e50}.cd-swatch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;max-height:190px;overflow:auto;padding:3px;scrollbar-color:#78939f #edf2f4;scrollbar-width:thin}.cd-swatch-grid button{min-width:0;border:1px solid #b6c6ce;border-radius:5px;padding:5px;background:white;color:#193e50;text-align:left;cursor:pointer}.cd-swatch-grid img{display:block;width:100%;height:56px;object-fit:cover;border-radius:2px}.cd-swatch-grid span{display:block;font:500 11px/1.35 'DM Sans',sans-serif;margin-top:5px}.cd-swatch-grid small{display:block;font-size:10px;color:#526675;margin-top:3px}.cd-dialog .cd-suggest{width:100%;min-height:44px}.cd-preview [data-cd=another]{background:white;color:#193e50}.cd-preview button:disabled{opacity:.55;cursor:wait}.cd-room-fields input{min-width:0}.ce-align-tools{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.ce-align-tools button{padding:9px 8px;border:1px solid #b6c6ce;border-radius:4px;color:#193e50;background:white;cursor:pointer}.ce-align-tools small{flex-basis:100%;font-size:11px;line-height:1.5}.kp-guided .kp-layouts{grid-template-columns:repeat(2,minmax(0,1fr))}.kp-guided [hidden]{display:none!important}
@media(max-width:760px){.cd-layout-options{grid-template-columns:repeat(3,minmax(0,1fr))}.cd-layout-options button{min-height:82px}.cd-layout-options svg{height:45px}.cd-swatch-grid{max-height:175px;grid-template-columns:repeat(3,minmax(0,1fr))}.cd-room-fields{gap:8px}.cd-dialog{padding:16px}.cd-dialog h2{font-size:24px}.cd-room-fields label{font-size:11px}.cd-room-fields input{padding:10px 6px}.cd-preview button{min-height:36px}.cd-preview [data-cd=another]{order:2}.cd-preview [data-cd=cancel]{order:3}.kp-guided .gs-header-actions [data-gs=library]{margin-left:0}}

.cd-top{margin:0}.cd-dialog h2{margin:8px 0 14px}.cd-wizard-nav{position:sticky;bottom:0;z-index:2;background:#fff;padding:12px 0 8px;margin-top:12px;box-shadow:0 -12px 14px #fff}.cd-wizard-nav .cd-suggest{width:auto;flex:1;max-width:240px;background:#193e50;color:white}.kp-guided .kp-layouts svg{display:block;width:80px;height:52px;margin:0 auto}.kp-guided .kp-layouts button{min-height:86px}
@media(max-width:760px){.kp-guided .kp-workspace{height:auto!important;grid-template-rows:auto 360px auto 42px}.kp-guided .kp-inspector{min-height:0}.cd-wizard-nav{padding-bottom:0}}
/* AI provenance and refinement stay readable without covering the model. */
.cd-upper-options{margin:18px 0;font-size:13px}.cd-upper-options label{display:flex;align-items:flex-start;gap:9px;margin:12px 0;line-height:1.5}.cd-upper-options input{width:17px;height:17px;margin:2px 0;flex:none;accent-color:#193e50}.cd-local{border:1px solid #b6c6ce;border-radius:5px;background:white;color:#193e50;padding:10px 14px;font:inherit;font-size:13px;cursor:pointer}.cd-local:disabled{opacity:.55}.cd-preview{position:relative;flex-shrink:0;box-shadow:none}.cd-preview [hidden]{display:none!important}.cd-feedback{flex:1 1 100%;font-size:12px}.cd-feedback input{display:block;box-sizing:border-box;width:100%;margin-top:5px;padding:9px 12px;border:1px solid #8ca6b2;border-radius:4px;background:#fff;color:#193e50;font:inherit}.cd-feedback input::placeholder{color:#526675}.cd-feedback input:focus-visible{outline:3px solid #79a5b8;outline-offset:2px}.cd-design-notes{padding:16px 22px;border:1px solid #d8e1e5;border-top:0;background:white;color:#193e50;font-size:13px;line-height:1.6}.cd-design-notes[hidden]{display:none}.cd-design-notes summary{cursor:pointer;font-weight:600}.cd-design-notes p{max-width:75ch}.cd-design-notes li{margin:7px 0;max-width:90ch}.cd-preview span{display:block}.cd-preview button:focus-visible,.cd-local:focus-visible,.cd-design-notes summary:focus-visible{outline:3px solid #79a5b8;outline-offset:2px}
@media(max-width:760px){.kp-guided .kp-workspace:has(.cd-preview:not([hidden])){grid-template-rows:auto 540px auto 42px}.cd-preview span{display:block;font-size:11px}.cd-design-notes{padding:12px 16px}}

.cd-appliances{border:0;border-top:1px solid #d8e1e5;padding:16px 0 0;margin:20px 0 0}.cd-appliances legend{font-size:14px;font-weight:700;padding:0 8px 0 0}.cd-appliances p{margin:0 0 12px;color:#526675}.cd-appliances .cd-appliance-toggle{display:flex;flex-direction:row;align-items:center;gap:9px;margin:12px 0;font-size:13px;font-weight:600}.cd-appliances .cd-appliance-toggle input{width:17px;height:17px;margin:0;padding:0;flex:none;accent-color:#193e50}.cd-appliance-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 0 8px 26px}.cd-appliance-fields label{min-width:0;font-size:12px;font-weight:600}.cd-appliance-fields input,.cd-appliance-fields select{min-width:0}.cd-appliance-fields small,.cd-appliance-fields .cd-appliance-toggle{grid-column:1/-1}.cd-appliance-fields small{color:#526675;font-size:12px;line-height:1.5}@media(max-width:480px){.cd-appliance-fields{padding-left:0;gap:8px}.cd-appliance-fields label{font-size:11px}}
.cd-ergonomics{border:0;border-top:1px solid #d8e1e5;padding:16px 0 0;margin:24px 0 0}.cd-ergonomics legend{font-size:14px;font-weight:700;padding:0 8px 0 0}.cd-ergonomics p{margin:0 0 12px;color:#526675}.cd-ergonomic-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cd-ergonomic-fields label{min-width:0;font-size:12px;font-weight:600}.cd-ergonomic-fields label span{display:inline;font-weight:400;color:#526675}.cd-ergonomic-fields input,.cd-ergonomic-fields select{min-width:0}.cd-ergonomics .cd-height-recommendation{margin:12px 0 6px;font-size:12px;color:#193e50}.cd-ergonomics small{display:block;color:#526675;font-size:12px;line-height:1.5;margin-top:8px}.cd-height-use{border:1px solid #b6c6ce;border-radius:5px;padding:8px 12px;background:white;color:#193e50;font:inherit;font-size:12px;cursor:pointer}.cd-height-use:focus-visible{outline:3px solid #79a5b8;outline-offset:2px}@media(max-width:480px){.cd-ergonomic-fields{gap:8px}.cd-ergonomic-fields label{font-size:11px}}
.cd-followup{margin:8px 0 0;padding:9px 0 2px;border-top:1px solid #d8e1e5;color:#193e50;font-size:12px;line-height:1.4}.cd-followup[hidden]{display:none!important}.cd-followup p{margin:0 0 5px;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.cd-followup [data-followup-original]{color:#526675}.cd-followup [data-followup-question]{font-weight:600}.cd-followup .cd-followup-hint{color:#526675;font-size:11px}.cd-followup-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.cd-followup-row label{font-weight:600}.cd-dialog .cd-followup-row input,.cd-feedback .cd-followup-row input{flex:1 1 140px;width:auto;min-width:0;margin:0;padding:6px 8px;font:inherit}.cd-followup-row button{padding:6px 9px;border:1px solid #193e50;border-radius:5px;background:#193e50;color:white;font:inherit;cursor:pointer}.cd-followup-row [data-followup-cancel]{border-color:#b6c6ce;background:white;color:#193e50}.cd-followup-row :focus-visible{outline:3px solid #79a5b8;outline-offset:2px}.cd-followup-row button:disabled{opacity:.5;cursor:not-allowed}

.cd-height-result{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.cd-height-result output{font-size:20px;font-weight:600;color:#193e50;font-variant-numeric:tabular-nums}

/* Guided design: the form remains the primary task, with a live summary alongside. */
.cd-dialog[open]{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);column-gap:30px;align-content:start;width:min(1120px,calc(100% - 32px));max-width:none;max-height:90dvh;padding:34px 40px 28px;border-radius:12px;color:#183448}
.cd-dialog>.cd-top{position:absolute;top:28px;right:32px;z-index:3}
.cd-dialog>h2{grid-column:1/-1;margin:0 0 28px;font-size:28px;font-weight:500}
.cd-dialog>.cd-progress{grid-column:1;display:flex;align-items:center;gap:0;margin:0 0 32px;padding:0 0 17px;border-bottom:2px solid #d4dee3;color:#526675}
.cd-progress-item{display:flex;align-items:center;gap:9px;min-width:0;white-space:nowrap;font-size:13px}
.cd-progress-item:not(:last-child){flex:1}.cd-progress-item:not(:last-child)::after{content:'';flex:1;height:1px;background:#d4dee3;margin:0 14px}
.cd-progress-number{display:grid;place-items:center;flex:none;width:31px;height:31px;border:1px solid #c7d4da;border-radius:50%;background:#fff;color:#456273}
.cd-progress-item.is-current{font-weight:700;color:#123e50}.cd-progress-item.is-current .cd-progress-number{background:#123e50;border-color:#123e50;color:white}.cd-progress-item.is-complete .cd-progress-number{border-color:#123e50;color:#123e50}
.cd-dialog>[data-cd-step]{grid-column:1;min-width:0}.cd-dialog>[data-cd-step] h3{font-size:24px;color:#173b50;margin:0 0 10px}.cd-dialog>[data-cd-step]>p{margin:0 0 22px;color:#4d5962;line-height:1.55}
.cd-dialog .cd-room-fields{gap:18px}.cd-dialog label{color:#183448}.cd-dialog .cd-room-fields label,.cd-dialog .cd-ergonomic-fields label{font-size:13px}.cd-dialog .cd-room-fields input,.cd-dialog .cd-ergonomic-fields input,.cd-dialog .cd-ergonomic-fields select{min-height:48px;margin-top:9px;font-size:16px}
.cd-dialog .cd-ergonomics{border:0;border-top:1px solid #dbe3e6;margin:28px 0 0;padding:22px 0 0}.cd-dialog .cd-ergonomics legend{float:left;width:100%;padding:0;margin:0 0 8px;font-size:19px;font-weight:650}.cd-dialog .cd-ergonomics>p:not(.cd-height-result):not(.cd-height-recommendation){clear:both;margin:0 0 18px;color:#4d5962}.cd-dialog .cd-height-result{border-top:1px solid #dbe3e6;margin:24px 0 0;padding:18px 0 0;font-weight:600}.cd-dialog .cd-height-result output{font-size:24px}.cd-dialog .cd-height-recommendation{margin:3px 0 0;color:#526675;font-size:12px}.cd-dialog .cd-ergonomics>small{display:block;margin-top:10px;color:#526675;font-size:11px;line-height:1.4}
.cd-dialog>.cd-wizard-nav{grid-column:1;position:static;box-shadow:none;display:flex;justify-content:space-between;align-items:center;margin:25px 0 0;padding:0;background:none}.cd-dialog .cd-wizard-nav [data-cd-next],.cd-dialog .cd-wizard-nav .cd-suggest{margin-left:auto;min-width:170px;min-height:48px}.cd-dialog .cd-wizard-nav .cd-suggest{flex:initial;max-width:none}.cd-dialog>.cd-sources{grid-column:1;margin-top:20px}
.cd-overview{grid-column:2;grid-row:2 / span 4;align-self:start;min-width:0;border-left:1px solid #dbe3e6;padding-left:22px}.cd-overview img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:5px}.cd-overview h3{font-size:19px;margin:20px 0 14px}.cd-overview dl{margin:0;font-size:13px;line-height:1.5;color:#43515a}.cd-overview dl div{display:flex;justify-content:space-between;gap:14px;padding:3px 0}.cd-overview dd{margin:0;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.cd-overview dl div:last-child dd{font-weight:700;color:#123e50}
@media(max-width:760px){.cd-dialog[open]{display:block;width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:22px 18px 20px;overflow:auto}.cd-dialog>.cd-top{top:17px;right:17px}.cd-dialog>h2{font-size:23px;margin:0 32px 23px 0}.cd-dialog>.cd-progress{gap:0;margin-bottom:24px;padding-bottom:13px}.cd-progress-item{gap:5px;font-size:11px;white-space:normal;line-height:1.2}.cd-progress-item:not(:last-child)::after{margin:0 5px}.cd-progress-number{width:25px;height:25px}.cd-dialog>[data-cd-step] h3{font-size:21px}.cd-dialog .cd-room-fields{gap:8px}.cd-dialog .cd-room-fields label{font-size:11px}.cd-dialog .cd-room-fields input{padding:10px 5px;font-size:14px}.cd-dialog .cd-ergonomics{margin-top:22px}.cd-dialog>.cd-wizard-nav{position:static;box-shadow:none;margin-top:22px}.cd-dialog .cd-wizard-nav [data-cd-next],.cd-dialog .cd-wizard-nav .cd-suggest{min-width:130px}.cd-overview{display:none}}
@media(min-width:761px) and (max-height:800px){.cd-dialog[open]{padding:20px 36px;max-height:94dvh}.cd-dialog>.cd-top{top:16px}.cd-dialog>h2{margin-bottom:15px;font-size:25px}.cd-dialog>.cd-progress{margin-bottom:17px;padding-bottom:10px}.cd-dialog>[data-cd-step] h3{font-size:21px;margin-bottom:5px}.cd-dialog>[data-cd-step]>p{margin-bottom:12px}.cd-dialog .cd-room-fields input,.cd-dialog .cd-ergonomic-fields input,.cd-dialog .cd-ergonomic-fields select{min-height:40px;padding:8px 10px;margin-top:5px}.cd-dialog .cd-ergonomics{margin-top:14px;padding-top:12px}.cd-dialog .cd-ergonomics>p:not(.cd-height-result):not(.cd-height-recommendation){margin-bottom:9px}.cd-dialog .cd-height-result{margin-top:12px;padding-top:10px}.cd-dialog .cd-ergonomics>small{margin-top:5px}.cd-dialog>.cd-wizard-nav{margin-top:12px}.cd-dialog .cd-wizard-nav [data-cd-next],.cd-dialog .cd-wizard-nav .cd-suggest{min-height:40px}.cd-dialog>.cd-sources{margin-top:10px;padding-top:8px}.cd-overview img{max-height:260px}.cd-overview h3{margin:12px 0 8px}}

.cd-overview-caption{display:block;margin-top:6px;color:#667b85;font-size:10px;line-height:1.3}

/* Keep both controls aligned even when a label wraps on a narrow screen. */
.cd-dialog .cd-ergonomic-fields label{display:flex;flex-direction:column;gap:9px}
.cd-dialog .cd-ergonomic-fields label :is(input,select){margin-top:auto}
