/* Keep the ocean scenes unchanged; dark canvas belongs only to the home-design flow. */
body.design-theme{--ink:#eaf1f3;--muted:#afc0c7;--line:#344952;--bg:#101e26;--soft:#233944;--blue:#9bcbdc;--accent:#739aa9;background:#101e26;color:var(--ink);color-scheme:dark}
body.design-theme .topbar,body.design-theme #designExperience,body.design-theme #designExperience .sidebar,body.design-theme #main{background:#101e26;color:#eaf1f3}
body.design-theme .topbar{border-color:#344952}
body.design-theme :is(.brand small,.return-lounge,.text-btn,.field-label,.form-grid label,.section-label,.member-row label,.color-choice){color:#e0ebef}
body.design-theme :is(.step,.quiet-details>summary,.region-toolbar label,.source-plan-label span,.revision-history,.direction-check,#deepenNo){color:#afc0c7}
body.design-theme .step.active{color:#fff;border-bottom-color:#a8d8e7}
body.design-theme .device-save-status{color:#a9d2bf}
body.design-theme .required{color:#a8d8e7}
/* White surfaces indicate places to type, choose, upload, or edit. */
body.design-theme input:not([type=checkbox]):not([type=range]):not([type=file]),body.design-theme select,body.design-theme textarea{background:#fff;color:#172d38;border:1px solid #d7e1e5;color-scheme:light;box-shadow:0 3px 14px #00000015}
body.design-theme input::placeholder,body.design-theme textarea::placeholder{color:#697d88;opacity:1}
body.design-theme .input-unit>span{color:#586e7a}
body.design-theme :is(.dropzone,.scenario-card,.chip,.feedback-chips button,.feeling-options button){--ink:#172d38;--muted:#5d717a;--line:#ccd9df;background:#fff;color:#172d38;border-color:#ccd9df;color-scheme:light}
body.design-theme .dropzone :is(strong,.upload-symbol,.required){color:#213e4c}
body.design-theme .dropzone :is(span,small,p){color:#5d717a}
body.design-theme .scenario-card :is(strong,p,span,small){color:#28434f}
body.design-theme :is(.scenario-card:hover,.dropzone:hover){background:#edf5f7;border-color:#a2cedd}
body.design-theme :is(.scenario-card.selected,.chip.selected,.feeling-options button[aria-pressed=true],.feedback-chips button.selected){background:#c5e3ed;color:#15313c;border-color:#76b3c8;box-shadow:inset 0 0 0 2px #76b3c8}
body.design-theme .color-choice.selected .swatch{outline-color:#b6e4f1}
body.design-theme button.primary{background:#90c5d7;color:#102b36;border-color:#90c5d7}
body.design-theme button.primary:hover{background:#b1dce9;border-color:#b1dce9}
body.design-theme .secondary{background:#233a46;color:#e4eff3;border-color:#587784}
body.design-theme .secondary:hover{background:#304c59}
body.design-theme :is(.note,.feedback-mode,.direction-decision,.effect-conversation,.home-feeling,.specialty-total,.chat-card,.chat-log p,.region-change-list article,.region-change-list article:nth-child(2),.handoff-summary){background:#1c303b;color:#c3d3db;border-color:#3c5966}
body.design-theme :is(.specialty-card,.room-list button,.version-tabs button){background:#203641;color:#e2edf1;border-color:#48626e}
body.design-theme .specialty-card :is(p,span),body.design-theme .region-change-list span{color:#b4c9d2}
body.design-theme :is(.room-list button.active,.version-tabs button.active){background:#365969;color:#fff}
body.design-theme .specialty-card:hover{background:#2d4855}
body.design-theme .source-plan-image,body.design-theme .plan-stage{--ink:#172d38;--muted:#5d717a;--line:#d5e0e4;background:#f5f8f9;color:#172d38;color-scheme:light}
body.design-theme .plan-toolbar button{background:#fff;color:#203d4c}
body.design-theme .render-image .image-tag{color:#203d4c}
body.design-theme .error-text{color:#ffb5a5}
body.design-theme dialog{background:#172b35;color:#eaf1f3;border:1px solid #3d5764;color-scheme:dark}
body.design-theme dialog .dialog-close{color:#eaf1f3}
body.design-theme .self-service-steps p{color:#b4c9d2}
body.design-theme #homeReportContent{--ink:#213633;--muted:#61756e;background:#fff;color:#213633;padding:22px;color-scheme:light}
body.design-theme :is(button,a,input,select,textarea):focus-visible{outline:3px solid #9ed5e7;outline-offset:4px}
body.design-theme .toast{background:#d6e8ee;color:#17333f}
#roomEffectDialog{width:min(1180px,94vw);max-width:1180px;max-height:92svh;overflow:auto;padding:28px;border-radius:18px;background:#172b35;color:#eaf1f3}#roomEffectDialog h2{margin:0 45px 6px 0;font-size:24px}#roomEffectDialog .dialog-close{color:#fff;width:44px;height:44px;z-index:2}#roomEffectDialog::backdrop{background:#061019cc;backdrop-filter:blur(8px)}.room-effect-picture{min-height:180px;display:grid;place-items:center;background:#102129;border-radius:10px;overflow:hidden}#roomEffectPicture{display:block;width:100%;max-height:66svh;object-fit:contain}#roomEffectPicture[hidden],#downloadPopupEffect[hidden],#roomEffectLoading[hidden]{display:none}.room-effect-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:18px;font-size:12px;color:#b7cbd4}.room-effect-footer a{border-radius:24px;white-space:nowrap}@media(max-width:600px){#roomEffectDialog{padding:20px 14px;border-radius:12px}#roomEffectDialog h2{font-size:20px}.room-effect-footer{flex-wrap:wrap}}
#planRoomCanvas{position:relative;width:100%;max-width:800px;margin:20px auto;background:#fff}#planRoomCanvas[hidden]{display:none}#planRoomCanvas #finalPlanPreview{display:block;width:100%;height:auto;max-height:none;margin:0}#planRoomOverlay{position:absolute;inset:0;pointer-events:none}.plan-room-hotspot{position:absolute;pointer-events:auto;background:#6098b418;border:1px solid #46778da0;border-radius:4px;display:grid;place-items:center;padding:0;color:#173747}.plan-room-hotspot span{font-size:13px;white-space:nowrap;line-height:1.5;padding:3px 7px;background:#fffffff0;border-radius:4px;box-shadow:0 2px 7px #183e4920}.plan-room-hotspot:hover,.plan-room-hotspot[aria-pressed=true]{background:#72b9cb55;border:2px solid #247185}.plan-room-hotspot[aria-pressed=true] span{background:#24596a;color:white}#panel3 .render-layout{scroll-margin-top:24px}@media(max-width:600px){.plan-room-hotspot span{font-size:10px;padding:2px 4px}.plan-room-hotspot{border-radius:2px}}
.room-gallery{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 10px}.room-gallery button{background:#233a46;color:#dce9ef;border:1px solid #587784;border-radius:24px;padding:11px 23px;font-size:14px}.room-gallery button[aria-pressed=true]{background:#b1dce9;border-color:#b1dce9;color:#15313c}.room-gallery button:hover{border-color:#b1dce9}#roomGalleryCaption{margin:8px 0 20px}#downloadRoomEffect{display:inline-flex;align-items:center;border-radius:28px;padding:13px 25px}#downloadRoomEffect[hidden]{display:none}@media(max-width:600px){.room-gallery{gap:8px}.room-gallery button{padding:10px 17px;font-size:13px}}
#panel3 .render-image img[hidden],#panel3 .image-tag[hidden],#renderEmpty[hidden]{display:none}
#renderEmpty{width:100%;padding:65px 28px;color:var(--muted);line-height:1.9}
#finalPlanPreview{display:block;max-width:100%;max-height:75vh;margin:20px auto;background:white;object-fit:contain}#finalPlanPreview[hidden],#finalPlanSection[hidden]{display:none}#finalRenderPrompt{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px}#finalPlanSection{margin-bottom:35px}

#spaceReviewPanel{margin-top:20px;border-top:1px solid #54717d;padding-top:16px}#spaceReviewPanel textarea{display:block;width:100%;background:#fff;color:#18313c;margin:8px 0 16px}#spaceReviewPanel [data-review-history]{white-space:pre-wrap;font-size:13px}.review-drawing-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.review-drawing-cards article{border:1px solid #54717d;border-radius:14px;padding:20px}.review-drawing-cards input:not([type=checkbox]){width:100%;background:#fff;color:#18313c;padding:10px;margin:10px 0}#designReviewHub{margin:20px 0;padding:20px;border:1px solid #54717d;border-radius:16px}@media(max-width:650px){.review-drawing-cards{grid-template-columns:1fr}}

#panel3.drawing-step-active > :not(#designReviewHub){display:none!important}#panel3.drawing-step-active #designReviewHub{min-height:75vh;border:0;padding:32px 0}#designReviewHub [hidden]{display:none!important}#designReviewHub [data-drawing-choices] h2{font-size:clamp(28px,4vw,44px);margin:28px 0 12px}.drawing-step-active .review-drawing-cards{margin-top:32px;gap:24px}.drawing-step-active .review-drawing-cards article{padding:clamp(22px,3vw,40px);background:#1b333e;min-height:300px;display:flex;flex-direction:column;gap:16px}.drawing-step-active .review-drawing-cards h4{font-size:24px;line-height:1.5;margin:0}.drawing-step-active .review-drawing-cards button{margin-top:auto;min-height:52px}
