.customer-configuring{overflow:hidden}
.customer-workspace{position:fixed;inset:0;z-index:60;background:#0c1c25;color:#eaf0f3;font:14px/1.45 Inter,system-ui,sans-serif;overflow:auto}
.customer-workspace[hidden]{display:none}
.customer-workspace *{box-sizing:border-box}
.customer-header{position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:28px;min-height:72px;padding:14px 22px;border-bottom:1px solid #2d424f;background:#10232e}
.customer-brand{font-size:27px;letter-spacing:-1px;white-space:nowrap}
.customer-brand::before{content:'▥';display:inline-block;color:#ff9956;margin-right:10px}
.customer-steps{display:flex;gap:25px;flex:1;align-items:center;font-size:13px;color:#a8bac5}
.customer-steps strong{color:#f4f5f0}
.customer-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.customer-workspace button,.customer-material-dialog button,.customer-quote-dialog button{cursor:pointer;font:inherit;border-radius:7px;min-height:40px}
.customer-workspace button:focus-visible,.customer-workspace [tabindex]:focus-visible{outline:3px solid #ffc797;outline-offset:3px}
.customer-workspace .primary-button,.customer-quote-dialog .primary-button,.customer-material-dialog .primary-button{background:#ff914a;color:#10202a;border:1px solid #ff914a;padding:10px 16px;font-weight:650}
.customer-workspace .secondary-button,.customer-quote-dialog .secondary-button,.customer-material-dialog .secondary-button{background:#162b38;color:#e4edf2;border:1px solid #3b5363;padding:8px 12px}
.customer-layout{display:grid;grid-template-columns:240px minmax(360px,1fr) minmax(300px,365px);gap:1px;background:#30414b;min-height:calc(100dvh - 72px)}
.customer-catalog,.customer-main,.customer-results{background:#10212b;min-width:0}
.customer-catalog{padding:20px 14px}
.customer-workspace h1{font-size:25px;line-height:1.2;margin:0 0 6px;letter-spacing:-.6px}
.customer-workspace h2{font-size:18px;line-height:1.2;margin:0 0 8px;letter-spacing:-.3px}
.customer-workspace p{margin:5px 0 12px;color:#b7c8d2}
.customer-catalog>h2{font-size:24px}
.customer-catalog>label{display:block;font-size:12px;color:#b7c8d2;margin:16px 0}
.customer-workspace select,.customer-workspace input{font:inherit;color:#e5edf1;background:#172e3c;border:1px solid #49606d;border-radius:6px;min-height:38px;padding:6px;max-width:100%}
.customer-catalog select{display:block;width:100%;margin-top:6px;font-size:12px}
.customer-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.customer-depth-label{font-size:12px;text-align:center;padding:4px 0}
.customer-product{display:flex;flex-direction:column;align-items:stretch;gap:3px;min-width:0;padding:8px 5px;border:1px solid #334c5b;background:#192d38;color:#eaf0f3;text-align:left;touch-action:none;user-select:none}
.customer-product:hover{border-color:#ff9853;background:#203846}
.customer-product strong{font-size:12px}.customer-product small{font-size:9px;white-space:nowrap;color:#bfcbd3}
.customer-product-visual{height:60px;display:flex;align-items:center;justify-content:center;perspective:300px}
.customer-product-shape{display:block;background:#aba59a;background-size:cover;box-shadow:4px 1px 0 #625f57,7px 8px 12px #0005;transform:rotateY(-13deg)}
.customer-hint{font-size:12px;margin-top:18px!important}
.customer-main{padding:22px 18px;display:flex;flex-direction:column;gap:14px}
.customer-main-heading p{font-size:13px;margin:4px 0}
.customer-status{font-size:12px;min-height:18px!important;margin:0!important;color:#ffd09f!important}.customer-status:empty{visibility:hidden}
.customer-wall-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.customer-wall-card{min-width:0;border:1px solid #647078;background:#c9cbc5;box-shadow:0 5px 14px #0002;border-radius:3px;overflow:hidden}
.customer-wall-card header{display:flex;justify-content:space-between;gap:5px;align-items:center;padding:9px 10px 4px;color:#1a2930}
.customer-wall-card h2{font-size:14px;margin:0}.customer-wall-card header span{font-size:11px;white-space:nowrap}
.customer-wall-svg{display:block;width:100%;height:clamp(128px,19vh,235px);touch-action:none;background:linear-gradient(135deg,#e7e6df,#b9bdb9)}
.customer-wall-svg [data-module-id]{cursor:grab;filter:drop-shadow(8px 14px 9px #0003);touch-action:none}
.customer-inspector{position:relative;border:1px solid #34505f;background:#132832;border-radius:8px;padding:14px;margin-top:0}
.customer-inspector h2{font-size:16px;padding-right:125px;margin-bottom:14px}
.customer-module-count{position:absolute;right:14px;top:14px;font-size:12px;color:#aebfc9}
.customer-module-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.customer-module-controls strong{font-size:15px;margin-right:auto}.customer-module-controls input{width:65px}
.customer-delete{color:#ff9696;background:transparent;border:1px solid #b15757;padding:8px 12px}
.customer-palette{border-top:1px solid #344c5b;margin-top:15px;padding-top:12px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.customer-palette>strong{flex-basis:100%;font-size:13px}
.customer-fabric-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 18px;min-width:0}
.customer-palette>.customer-fabric-options{flex-basis:100%;grid-template-columns:repeat(auto-fill,minmax(106px,1fr));margin:0}
.customer-workspace .customer-fabric-options .customer-swatch{width:100%;height:auto;display:flex;flex-direction:column;min-width:0;padding:5px;border:1px solid #516773;border-radius:9px;background:#152c39;color:#edf2f4;text-align:left;overflow:hidden;transition:border-color .15s,background .15s}
.customer-workspace .customer-swatch:hover{border-color:#f4b383;background:#203c4a}
.customer-workspace .customer-swatch[aria-pressed=true]{border:2px solid #ffc08f;padding:4px;background:#29414c}
.customer-swatch-sample{display:block;position:relative;flex-shrink:0;width:100%;height:66px;border-radius:5px;background-color:#7d8588;background-size:cover;background-position:center;box-shadow:inset 0 0 0 1px #ffffff26}
.customer-swatch-check{position:absolute;top:5px;right:5px;display:none;width:22px;height:22px;border-radius:50%;background:#ffd0aa;color:#192c36;text-align:center;font-size:14px;line-height:22px;font-weight:800;box-shadow:0 1px 5px #0005}
.customer-swatch[aria-pressed=true] .customer-swatch-check{display:block}
.customer-swatch-copy{display:flex;flex-direction:column;gap:2px;padding:7px 3px 3px;min-width:0;width:100%;overflow-wrap:anywhere}
.customer-swatch-copy strong{font-size:12px;line-height:1.3}.customer-swatch-copy small{font-size:10px;line-height:1.4;color:#c0d1da;letter-spacing:.04em}
.customer-palette>span{font-size:12px;margin-right:auto}
.customer-results{display:flex;flex-direction:column}
.customer-render{position:relative;background:radial-gradient(ellipse at 50% 45%,#2b414f,#10222e);padding:18px 14px 9px;border-bottom:1px solid #304753}
.customer-render header{display:flex;align-items:center;gap:5px}.customer-render header h2{flex:1;font-size:18px}
.customer-render header button{border:1px solid #3a5160;background:#172b39;color:#dce5ed;padding:5px 9px;min-width:36px}
.customer-render canvas{display:block;width:100%;height:clamp(220px,34vh,420px);touch-action:none;border-radius:5px}
.customer-render-note{font-size:11px;margin:0!important;padding-top:5px}
.customer-preview-dialog{inset:0;margin:auto;padding:0;width:calc(100vw - 24px);height:calc(100dvh - 24px);max-width:none;max-height:none;overflow:hidden;border:1px solid #566b78;border-radius:10px;background:#10222e;color:inherit;font:inherit}
.customer-preview-dialog::backdrop{background:#06111bd9}
.customer-preview-dialog>.customer-render{width:100%;height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;border:0}
.customer-preview-dialog>.customer-render canvas{width:100%;height:100%;min-width:0;min-height:0}
.customer-preview-dialog .customer-render header{min-width:0}
.customer-preview-dialog .customer-render header button{flex-shrink:0}
.customer-assessment{padding:20px 16px}.customer-assessment h2{font-size:18px;margin-bottom:15px}
.customer-assessment h3{font-size:16px;line-height:1.4;margin:0 0 8px;color:#becbd3}
.customer-assessment[data-colour=GREEN] h3{color:#77d6b1}.customer-assessment[data-colour=YELLOW] h3{color:#ffcc68}.customer-assessment[data-colour=RED] h3{color:#ff9595}
.customer-assessment p{font-size:12px}.customer-assessment small{font-size:11px;color:#a1b6c4;display:block}
.customer-assessment details{margin-top:13px;font-size:12px}.customer-assessment summary{cursor:pointer;color:#c7d7e0}
.customer-decay-chart{width:100%;height:auto;display:block;margin:10px 0}
.customer-calculating{animation:customer-pulse 1.2s ease-in-out infinite}
@keyframes customer-pulse{50%{opacity:.45}}
.customer-drag-ghost{position:fixed;z-index:8;pointer-events:none;transform:translate(-50%,-50%);border:2px solid #ffaf77;border-radius:5px;background:#c5b6a4d9;color:#142532;font-weight:700;box-shadow:0 12px 25px #0007;width:58px;height:100px;display:grid;place-items:center}
.customer-material-dialog,.customer-quote-dialog{background:#142934;color:#eef2f3;border:1px solid #527080;border-radius:12px;padding:24px;width:min(820px,calc(100vw - 28px));max-height:90dvh;overflow:auto}
.customer-material-dialog::backdrop,.customer-quote-dialog::backdrop{background:#06111bbd;backdrop-filter:blur(3px)}
.customer-material-dialog h2,.customer-quote-dialog h2{margin:0 0 8px}.customer-material-dialog p,.customer-quote-dialog p{font-size:13px;color:#bdd0db}
.customer-material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}
.customer-material-dialog label,.customer-quote-dialog label{display:flex;flex-direction:column;gap:5px;font-size:13px;color:#d5e1e8;margin:10px 0}
.customer-material-dialog select,.customer-quote-dialog input{width:100%;min-width:0;min-height:42px;background:#0c202a;color:#f0f3f4;border:1px solid #557180;border-radius:6px;padding:9px;font:inherit}
.customer-quote-dialog{max-width:540px}.customer-quote-dialog .customer-actions{margin-top:20px}
@media(min-width:1600px){.customer-layout{grid-template-columns:275px minmax(450px,1fr) 430px}.customer-main{padding:26px}.customer-product-visual{height:105px}}
@media(max-width:1150px){.customer-layout{grid-template-columns:190px minmax(320px,1fr) 290px}.customer-catalog{padding:18px 9px}.customer-product{padding:6px 3px}.customer-product small{font-size:8px}.customer-header{gap:16px;padding:12px}.customer-brand{font-size:22px}.customer-steps{gap:10px;font-size:11px}.customer-main{padding:18px 12px}.customer-render{padding:16px 9px}.customer-render header h2{font-size:16px}}
@media(max-width:900px){.customer-layout{grid-template-columns:170px minmax(0,1fr)}.customer-results{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.customer-render{border-bottom:0;border-right:1px solid #304753}.customer-header{flex-wrap:wrap}.customer-steps{order:3;flex-basis:100%}.customer-actions{margin-left:auto}.customer-main h1{font-size:22px}}
@media(max-width:560px){.customer-layout{display:flex;flex-direction:column}.customer-header{padding:10px;gap:10px}.customer-brand{font-size:21px}.customer-header .customer-actions{gap:5px}.customer-header button{padding:7px!important;min-height:40px;font-size:11px}.customer-steps{font-size:11px}.customer-catalog{padding:12px;order:1}.customer-catalog h2{font-size:19px}.customer-catalog>p,.customer-hint{display:none}.customer-catalog>label{margin:8px 0}.customer-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.customer-product{display:grid;grid-template-columns:28px 1fr;align-items:center;padding:5px 7px}.customer-product-visual{height:40px;grid-row:span 2}.customer-product-shape{height:30px!important;max-width:20px}.customer-product small{font-size:8px}.customer-main{order:2;padding:14px 10px}.customer-wall-grid{gap:8px}.customer-wall-card header{display:block;padding:6px}.customer-wall-card h2{font-size:12px}.customer-wall-card header span{font-size:9px}.customer-wall-svg{height:150px}.customer-inspector{padding:12px}.customer-module-controls{gap:7px}.customer-module-controls strong{flex-basis:100%}.customer-results{order:3;display:flex}.customer-render{border-right:0;border-bottom:1px solid #304753}.customer-render canvas{height:300px}.customer-assessment{padding:18px}.customer-material-grid{grid-template-columns:1fr}.customer-material-dialog,.customer-quote-dialog{padding:18px}.customer-preview-dialog{width:calc(100vw - 10px);height:calc(100dvh - 10px)}}
@media(prefers-reduced-motion:reduce){.customer-calculating{animation:none}}

.customer-quote-dialog input[type=checkbox]{width:20px;min-height:20px;height:20px;align-self:flex-start}

@media(min-width:901px){.customer-catalog{position:sticky;top:72px;max-height:calc(100dvh - 72px);overflow-y:auto}.customer-results{position:sticky;top:72px;max-height:calc(100dvh - 72px);overflow-y:auto}.customer-main{justify-content:flex-start}}

/* Guided setup and confirmed materials */
.room-material-field{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:13px;color:#deebe9}
.room-material-field select,.room-object-tray>input,.room-object-tray>select{width:100%;min-width:0;min-height:43px;background:#102731;border:1px solid #527280;color:#f0f5f5;border-radius:7px;padding:9px;font:inherit}
.room-material-field select:invalid{border-color:#eab26b}
.room-setup-card{padding:18px;background:#142d38;border:1px solid #375564;border-radius:12px;display:grid;gap:13px;min-width:0}
.room-setup-card h2{margin:0;font-size:22px}.room-setup-card p{margin:0;color:#b8ced7;font-size:13px;line-height:1.5}.room-setup-question{display:grid;gap:10px}
.room-object-tray{display:grid;gap:8px;min-width:0}.room-object-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:8px;max-height:360px;overflow:auto;overscroll-behavior:contain;padding:2px}
.room-object-option{display:grid;grid-template-rows:65px auto;align-content:start;align-items:center;gap:8px;min-width:0;min-height:112px;padding:8px;background:#1b3542;border:1px solid #3a5560;border-radius:8px;color:#e0eeee;font-size:11px;cursor:grab;touch-action:none;user-select:none}
.room-object-option span{min-width:0;line-height:1.35;overflow-wrap:anywhere;text-align:center}
.room-object-option img{display:block;width:100%;height:65px;object-fit:contain;pointer-events:none}.room-object-option:hover,.room-object-option:focus-visible{border-color:#ffaa68;background:#284959}
.room-object-drag-ghost{position:fixed;z-index:10000;transform:translate(-50%,-65%);pointer-events:none;background:#153342ed;border:2px solid #ffac65;border-radius:9px;padding:8px;display:grid;gap:5px;text-align:center;color:white;width:100px;font-size:11px;box-shadow:0 8px 30px #0008}.room-object-drag-ghost img{width:80px;height:70px;object-fit:contain}
body[data-room-setup=outline] [data-open-library],body[data-room-setup=surfaces] [data-open-library],body[data-room-setup=question] [data-open-library],body[data-room-setup=outline] [data-start-furniture],body[data-room-setup=surfaces] [data-start-furniture],body[data-room-setup=question] [data-start-furniture],body[data-room-setup=surfaces] #start-openings,body[data-room-setup=surfaces] [data-start-video],body[data-room-setup=question] #height-panel,body[data-room-setup=objects] #height-panel,body[data-room-setup=question] #thickness-panel,body[data-room-setup=objects] #thickness-panel{display:none!important}
body[data-room-setup=objects] #opening-library-panel:not([hidden]),body[data-room-setup=objects] #furniture-panel:not([hidden]){margin-top:12px}
body[data-room-setup=objects] .shape-actions{display:none}
body[data-room-setup=surfaces] .height-card{min-width:0}
.customer-pending-transform{background:#462e2f;border:1px solid #da8080;padding:12px;border-radius:8px;color:#ffe2d4;margin:10px 0;font-size:13px}
.customer-calculation-receipt{padding:9px 10px;border:1px solid #446773;border-radius:7px;color:#d5e9e5!important;font-size:11px!important;line-height:1.6}
.customer-decay-summary{display:grid;gap:6px;padding:13px 0}.customer-decay-summary strong{font-size:25px;color:#ffce8d}.customer-decay-summary span{font-size:11px;color:#c0d5dd;line-height:1.5}
.customer-band-count{font-size:13px;font-weight:700}.customer-band-table{width:100%;font-size:11px;border-collapse:collapse;margin:10px 0 15px;color:#d7e6e8}.customer-band-table td,.customer-band-table th{padding:7px 4px;text-align:right;border-bottom:1px solid #35505b}.customer-band-table th:first-child{text-align:left}.customer-band-table tr[data-position=ABOVE] td:nth-child(2),.customer-band-table tr[data-position=BELOW] td:nth-child(2){color:#ffb4a3}.customer-band-table tr[data-position=WITHIN] td:nth-child(2){color:#9edbbd}
.floor-object-footprint [data-plan-symbol] *{pointer-events:none}.floor-object-footprint>polygon{fill:transparent}
#room-canvas{touch-action:none}
@media(max-width:600px){.room-object-catalog{grid-template-columns:repeat(3,minmax(0,1fr));max-height:230px}.room-setup-card{padding:12px}.room-object-option{grid-template-rows:45px auto;min-height:96px;font-size:10px}.room-object-option img{height:45px}.workspace-grid,.side-panel,.canvas-card,.guidance,.guidance-actions{min-width:0}}
[data-theme=d03] .floor-object>polygon{fill:transparent}
[data-theme=d03] .floor-object:not(.is-selected)>polygon{stroke:transparent}
body[data-room-setup=objects] .help-card,body[data-room-setup=question] .help-card{display:none}
body[data-room-setup] [data-library-copy=acousticUnknown]{display:none}
body[data-room-setup] #library-direction{display:none}
body[data-room-setup=objects] .side-panel:has(#furniture-panel:not([hidden])) #room-setup-card .room-object-catalog,body[data-room-setup=objects] .side-panel:has(#opening-form-panel:not([hidden])) #room-setup-card .room-object-catalog{max-height:140px}
.customer-status{height:52px;min-height:52px!important;overflow:auto;flex:none}
body[data-room-setup=objects] .side-panel:has(#opening-form-panel:not([hidden])) #room-setup-card,body[data-room-setup=objects] .side-panel:has(#furniture-panel:not([hidden])) #room-setup-card,body[data-room-setup=objects] .side-panel:has(#selected-wall-panel:not([hidden])) #room-setup-card,body[data-room-setup=objects] .side-panel:has(#screen-panel:not([hidden])) #room-setup-card{order:5}
[data-theme=d03] #opening-form>label.room-material-field{grid-column:1/-1}

/* Remove room objects while configuring panels. */
.customer-wall-svg [data-room-element]{cursor:pointer}
.customer-element-outline{display:none}
.customer-wall-svg [data-room-element][aria-pressed=true] .customer-element-outline,.customer-wall-svg [data-room-element]:focus-visible .customer-element-outline{display:block}
.customer-wall-svg [data-room-element]:hover>rect:first-child{stroke:#ed934f;stroke-width:18px}
.customer-room-elements{border:1px solid #34505f;border-radius:8px;padding:12px 14px;background:#132832}
.customer-room-elements summary{cursor:pointer;font-weight:650;font-size:14px}.customer-room-elements p{font-size:12px;margin-top:10px}
.customer-element-list{display:flex;flex-wrap:wrap;gap:7px}.customer-element-list button{font-size:12px!important;text-align:left}.customer-element-list button[aria-pressed=true]{border-color:#ff974e;background:#28414c}
.customer-inspector>[data-delete-room-element]{margin-left:16px}
.customer-undo-element{display:block;margin:0 0 12px;font-size:12px!important}

.customer-language{display:flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap}
.customer-language select{min-height:40px;min-width:100px;cursor:pointer}
.customer-language select:focus-visible{outline:3px solid #ffc797;outline-offset:3px}
@media(max-width:560px){.customer-language>span{display:none}.customer-language select{font-size:12px;min-width:90px}}

/* Room-use target, shared between setup and the live assessment. */
.customer-purpose{display:grid;gap:8px;min-width:0;font-size:13px;color:#e3eff2;padding:15px 0}
.customer-purpose>span{font-weight:650}.customer-purpose select{width:100%;min-width:0;min-height:44px;padding:9px;background:#172e3c;border:1px solid #527280;color:#f0f5f5;border-radius:7px;font:inherit}
.customer-purpose small{font-size:11px;line-height:1.5;color:#bed1da}
.customer-results>.customer-purpose{padding:16px 14px;margin:0;border-bottom:1px solid #304753}
.customer-assessment .customer-reference-label{font-size:11px;font-weight:600;color:#cadfe6}.customer-worst-band{padding:9px;border:1px solid #5d5b42;border-radius:7px;color:#ffd89a!important}
.customer-assessment a{color:#a9d9e6;text-decoration:underline;text-underline-offset:3px}
@media(min-width:561px) and (max-width:900px){.customer-results>.customer-purpose{grid-column:2;grid-row:1}.customer-results>.customer-render{grid-column:1;grid-row:1 / span 2}.customer-results>.customer-assessment{grid-column:2}}

/* One task per sheet. Wall outlines stay visible at every zoom level. */
.customer-wall-card{border:2px solid #78a3bb;border-radius:10px;background:#dbeaf2;box-shadow:0 6px 18px #0003}
.customer-wall-card header{padding:12px 14px;color:#183a50;background:#dbeaf2;border-bottom:1px solid #9ebbcf}
.customer-wall-svg{background:#afcfdf;height:clamp(190px,27vh,330px)}
.customer-wall-surface{fill:#fbfaf4;stroke:#234f68;stroke-width:3;vector-effect:non-scaling-stroke}
.customer-wall-card .customer-wall-legend{margin:0;padding:7px 12px;color:#513613;font-size:11px;background:#f8edd8;border-top:1px solid #b99157}
.customer-wall-svg [data-room-element]:hover>rect:first-child{stroke-width:2.5px}
.customer-wall-grid{gap:18px}
.customer-layout{grid-template-columns:240px minmax(0,1fr);gap:1px}
.customer-workspace[data-customer-step=panels] .customer-results{display:none}
.customer-workspace[data-customer-step=panels] #customer-request-quote{display:none}
.customer-workspace[data-customer-step=sound] .customer-catalog,.customer-workspace[data-customer-step=sound] .customer-main{display:none}
.customer-workspace[data-customer-step=sound] .customer-layout{display:block;padding:28px 16px;background:#10212b}
.customer-workspace[data-customer-step=sound] .customer-results{position:static;display:block;max-height:none;max-width:800px;margin:auto;border:1px solid #456170;border-radius:14px;overflow:hidden}
.customer-results>.customer-render{display:none}
.customer-preview-dialog>.customer-render{display:grid}
.customer-steps{gap:8px;flex-wrap:wrap}
.customer-steps button{padding:10px 13px;color:#bfd0dc;background:transparent;border:1px solid #526b7b;min-height:44px}
.customer-steps [aria-current=step]{color:#132632;background:#ffc28e;border-color:#ffc28e;font-weight:700}
.customer-main-heading{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.customer-main-heading h1,.customer-main-heading p{flex-basis:100%}
#customer-next-sound{align-self:flex-end;min-height:48px;margin-top:12px}
.room-step-progress{display:flex;align-items:center;gap:12px;margin:12px 0 16px;color:#dbeaf2;font-size:14px}
.room-step-progress span{color:#ffd0a3;background:#29323a;border:1px solid #745e48;border-radius:30px;padding:6px 12px;white-space:nowrap}
.room-step-progress strong{font-weight:600}
body[data-room-setup] .side-panel>.help-card{display:none!important}
body[data-room-setup] #open-customer-room,body[data-room-setup] #edit-room-materials{display:none!important}
body[data-room-setup=outline] .side-panel>#room-setup-card{display:none!important}
body:is([data-room-setup=thickness],[data-room-setup=structure],[data-room-setup=finish]) .side-panel>:not(#thickness-panel):not(#selected-wall-panel),
body[data-room-setup=height] .side-panel>:not(#height-panel):not(#selected-wall-panel),
body:is([data-room-setup=floor],[data-room-setup=ceiling],[data-room-setup=purpose],[data-room-setup=question]) .side-panel>:not(#room-setup-card):not(#selected-wall-panel){display:none!important}
body[data-room-setup] #height-panel>:is(#height-summary,button){display:none!important}
body[data-room-setup] #height-form{display:grid;gap:12px}
body[data-room-setup] #height-form button{width:100%;min-height:48px}
body[data-room-setup] #height-form .field-error:empty{display:none}
body[data-room-setup] #height-form .measure-field input{font-size:26px;min-height:60px}
body:is([data-room-setup=thickness],[data-room-setup=structure],[data-room-setup=finish],[data-room-setup=height],[data-room-setup=floor],[data-room-setup=ceiling],[data-room-setup=purpose],[data-room-setup=question]) .guidance-actions{display:none!important}
body[data-room-setup] #uniform-thickness-form>:is(.furniture-caption,#wall-composition-all,#wall-uniform-cancel){display:none!important}
body[data-room-setup=thickness] #uniform-thickness-form>.composition-fields{display:none!important}
body:is([data-room-setup=structure],[data-room-setup=finish]) #uniform-thickness-form>:is(label,.metric-measure,.imperial-measure){display:none!important}
body[data-room-setup] #uniform-thickness-form .composition-fields>:is(legend,.furniture-caption){display:none!important}
body[data-room-setup] #uniform-thickness-form .composition-fields{padding:0;border:0;margin:18px 0}
body[data-room-setup] #uniform-thickness-form button{width:100%;min-height:48px;margin-top:10px}
body[data-room-setup] [hidden]{display:none!important}
#room-step-form{display:grid;gap:12px}
#room-step-form .room-material-field{margin:6px 0 12px}
#room-step-form select{min-height:52px;font-size:16px}
#room-step-form .field-error:empty{display:none}
/* Catalog cards size to their thumbnail and full label, unlike navigation buttons. */
#room-setup-card button:not(.room-object-option){min-height:48px}
body[data-room-setup=objects] .side-panel:has(:is(#opening-form-panel,#furniture-panel,#selected-wall-panel,#screen-panel,#niche-panel,#library-panel):not([hidden]))>#room-setup-card{display:none!important}
body[data-room-setup=objects] .side-panel:has(#opening-form-panel:not([hidden]))>#opening-library-panel{display:none!important}
@media(max-width:900px){.customer-layout{grid-template-columns:190px minmax(0,1fr)}.customer-header{position:relative}.customer-catalog{position:static;max-height:none}.customer-wall-grid{grid-template-columns:1fr}.room-step-progress{font-size:12px}}
@media(max-width:560px){.customer-layout{display:flex;flex-direction:column}.customer-wall-grid{grid-template-columns:1fr}.customer-wall-svg{height:230px}.customer-steps{gap:6px}.customer-steps button{flex:1;font-size:12px!important;padding:9px!important;min-height:44px}.customer-header .customer-actions{margin-left:0}.customer-wall-card header{display:flex}.customer-wall-card header span{font-size:11px}.customer-workspace[data-customer-step=sound] .customer-layout{padding:12px 8px}.room-step-progress{align-items:flex-start}.room-step-progress strong{padding-top:5px}body[data-room-setup=height] #height-panel{padding:20px}}

body[data-room-setup]:not([data-room-setup=objects]) [data-open-library]{display:none!important}
body[data-room-setup=objects] #furniture-panel>:is(#furniture-catalog,#furniture-add,h3,#furniture-list,.furniture-footer),
body[data-room-setup=objects] #opening-form-panel>:is(.opening-context-actions){display:none!important}
.room-object-back{width:100%;min-height:48px;margin-top:14px}
.room-object-category{background:#203e4e;border:1px solid #61889b;border-radius:10px;color:#f0f6f9;padding:18px 8px;font:inherit;font-weight:600;min-height:65px!important;cursor:pointer}
body:is([data-room-setup=structure],[data-room-setup=finish]) #uniform-thickness-form>.eyebrow{display:none}

body[data-room-setup]:not([data-room-setup=objects]) #free-object-tools{display:none!important}
.customer-status:empty{display:none}

.seller-room-loading{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;padding:30px;background:#10212b;color:#f5f0e8}.seller-room-loading a{color:#efad7c}
body[data-room-project] .customer-workspace[data-customer-step=panels] #customer-request-quote{display:inline-flex}

.customer-wall-picker{display:block;width:calc(100% - 24px);min-height:44px;margin:0 12px 8px;padding:8px 10px;border:1px solid #b8b2a6;border-radius:7px;background:#faf8f1;color:#273434;font:inherit;font-size:13px}

.seller-room-version{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border:1px solid #b7aa94;border-radius:7px;color:#f5e6d1;font-size:14px;white-space:nowrap}

/* Direct positioning of perimeter openings, with a visible target and live distances. */
#room-canvas .wall-body.is-object-drop-target{fill:#f3ae6f!important;stroke:#ffd9a9!important;stroke-width:2;filter:drop-shadow(0 0 5px #ffb36b)}
#room-canvas .wall-body.is-object-drop-invalid{fill:#b94d48!important;stroke:#ffc0b4!important}
#room-canvas .wall-hit-target.is-object-drop-target{stroke:#ffbc7b!important;stroke-opacity:.45}
#room-canvas .wall-hit-target.is-object-drop-invalid{stroke:#ef7568!important;stroke-opacity:.45}
#room-canvas [data-opening-id],#wall-elevation [data-opening-id]{cursor:grab;touch-action:none}
#wall-elevation[data-opening-dragging] [data-opening-id]{cursor:grabbing}
#wall-elevation[data-opening-dragging=valid] .elevation-wall{stroke:#ffb36b;stroke-width:3}
#wall-elevation[data-opening-dragging=invalid] .elevation-opening.is-selected,#wall-elevation[data-opening-dragging=invalid] .elevation-opening.is-draft{stroke:#f56f65;stroke-width:4}
#wall-elevation{touch-action:none}
.room-object-drag-readout{position:fixed;z-index:10001;right:16px;bottom:16px;max-width:calc(100vw - 32px);padding:12px 16px;display:grid;gap:5px;border:1px solid #efaa76;border-radius:10px;background:#101d27f5;color:#fff5e9;font:13px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;pointer-events:none;box-shadow:0 6px 20px #0005}
.room-object-drag-readout[data-valid=false]{border-color:#ff9588}
.room-drag-dimensions line{stroke:#ffcf9e;stroke-width:1.5;vector-effect:non-scaling-stroke}
.room-drag-dimensions text{fill:#fff5e9;font-size:12px;font-weight:650;paint-order:stroke;stroke:#16232e;stroke-width:4px;stroke-linejoin:round}

/* Informational notices must not intercept an immediate drag on the canvas. */
#workspace #notice{pointer-events:none}

/* Panel edge LEDs: controls appear only after the explicit Add LEDs command. */
.customer-render header{flex-wrap:wrap;gap:8px}
.customer-render header .customer-night-toggle{width:auto;min-height:44px;padding:8px 12px;font-size:12px;white-space:nowrap}
.customer-night-toggle[aria-pressed="true"]{background:#f2c38c;color:#18212a;border-color:#f2c38c}
.customer-led-command{margin-top:12px;min-height:44px}
.customer-led-choices{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.customer-led-choice{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px}
.customer-led-choice::before{content:"";width:12px;height:12px;flex:none;border-radius:50%;background:#fff;border:1px solid #63717a}
.customer-led-choice[aria-pressed="true"]::before{background:#d83d45;border-color:#e87f83}
.customer-led-dot-target{cursor:pointer;touch-action:none}
.customer-led-dot-target:focus-visible{stroke:#ffad70;stroke-width:3;vector-effect:non-scaling-stroke;outline:none}
.customer-render header button.customer-night-toggle[aria-pressed="true"],.customer-render header button.customer-night-toggle[aria-pressed="true"]:hover{background:#f2c38c;color:#18212a;border-color:#f2c38c}
.customer-render header button.customer-night-toggle:focus-visible{outline:2px solid #ffad70;outline-offset:3px}

/* The brand is the same accessible home link in every room step. */
a.brand,a.customer-brand{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-decoration:none;border-radius:6px}
a.brand:focus-visible,a.customer-brand:focus-visible{outline:2px solid #efa876;outline-offset:4px}

/* The legacy editor is opened only from a seller-selected room panel. */
.seller-panel-dialog{width:min(1280px,calc(100vw - 24px));height:calc(100dvh - 24px);max-width:none;max-height:none;padding:12px;border:1px solid #47545b;border-radius:12px;background:#101a21;color:#eef0ed;box-sizing:border-box;overflow:hidden}
.seller-panel-dialog[open]{display:flex;flex-direction:column;gap:8px}
.seller-panel-dialog::backdrop{background:#000b}
.seller-panel-dialog>header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.seller-panel-dialog h2{font-size:18px;margin:0}
.seller-panel-dialog iframe{flex:1;width:100%;min-height:0;border:0;background:#101a21}
.seller-panel-dialog>p:empty{display:none}
.seller-panel-dialog>p{margin:0}

/* All placed elements remain reachable from room setup, panels and sound. */
.room-step-progress{flex-wrap:wrap}.room-step-progress [data-manage-room-items]{margin-left:auto;min-height:44px}
.customer-element-manager{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px;border:1px solid #46616c;border-radius:16px;background:#142128;color:#f4f3ed;overflow:auto}
.customer-element-manager::backdrop{background:#060d12ba}.customer-element-manager header{display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-element-manager h2{margin:0;font-size:24px}.customer-element-manager p{color:#c8d4d9;line-height:1.5}.customer-element-manager button{min-height:44px;white-space:normal}.customer-element-manager footer{margin-top:20px}
.customer-managed-list{display:grid;gap:10px;margin-top:16px}.customer-managed-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid #344a56;border-radius:10px;background:#1b2c35}.customer-managed-item strong{min-width:0;overflow-wrap:anywhere;font-size:14px}.customer-managed-item .customer-actions{flex-shrink:0}
.customer-panel-position{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-top:14px}.customer-panel-position label{display:grid;gap:6px;flex:1 1 160px;min-width:0;font-size:13px}.customer-panel-position input,.customer-panel-position select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;background:#101e28;color:#f4f3ed;border:1px solid #4e6570;border-radius:6px;padding:8px}.customer-panel-position p{flex-basis:100%;margin:0}
@media(max-width:560px){.customer-element-manager{padding:16px}.customer-element-manager h2{font-size:20px}.customer-managed-item{align-items:stretch;flex-direction:column}.customer-managed-item .customer-actions{justify-content:flex-end}.room-step-progress [data-manage-room-items]{margin-left:0}}

/* Wall dimensions remain editable throughout the guided setup. */
body[data-room-setup] .side-panel>#selected-wall-panel:not([hidden]){order:-1}

.room-step-progress [data-edit-room-dimensions]{min-height:44px;white-space:normal}

/* Seller revision is available throughout room setup and panel/LED steps. */
body[data-room-project] #save-room-revision{min-height:44px;white-space:normal}
body[data-room-project] #customer-request-quote{min-height:44px}
