.preview-switch{display:flex;gap:4px;background:#e2e9eb;border-radius:8px;padding:4px;margin:20px 0 14px;width:fit-content;max-width:100%}
.preview-switch button{background:transparent;color:#536a72;white-space:normal;min-height:42px}
.preview-switch button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 4px #152a3815}
.room-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 14px}
.room-scenes{display:flex;gap:6px;flex-wrap:wrap}
.room-scenes button{background:#fff;border:1px solid #cbd7da;color:var(--ink);padding:9px 12px;white-space:normal;min-height:42px}
.room-scenes button[aria-pressed=true]{background:var(--nav);border-color:var(--nav);color:white}
.room-details{font-size:.8rem;color:var(--muted);margin-bottom:10px}
.room-image-wrap{position:relative;aspect-ratio:3/2;background:#e6e2dc;border-radius:6px;overflow:hidden;box-shadow:0 5px 22px #14232b18}
.room-image-wrap canvas{display:block;width:100%;height:auto}
.room-message{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;padding:24px;text-align:center;color:var(--ink);font-size:.9rem;line-height:1.5}
.room-image-wrap[data-status=ready] .room-message{inset:auto auto 10px 10px;background:#fffc;border-radius:4px;padding:5px 9px;font-size:.7rem}
.room-note{margin:12px 0 22px;color:var(--muted);font-size:.78rem;line-height:1.6;max-width:90ch}
@media(max-width:760px){.preview-switch{width:100%;margin:14px 0 12px}.preview-switch button{flex:1;padding:8px;font-size:.78rem}.room-toolbar{gap:10px}.room-scenes{display:grid;grid-template-columns:1fr 1fr;width:100%}.room-scenes button{font-size:.76rem;padding:7px 10px}.room-toolbar #roomExport{width:100%;white-space:normal}.room-note{margin-bottom:8px;font-size:.73rem}.room-image-wrap[data-status=ready] .room-message{font-size:.6rem;padding:3px 6px;bottom:6px;left:6px}}

.room-measures{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:12px 0 20px;font-size:.78rem;color:var(--muted)}
.room-measures button{white-space:normal;font-size:.78rem;min-height:42px}
@media(max-width:760px){.room-measures{padding-bottom:8px}.room-measures button{width:100%}}



.quote-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

.quote-dialog .hint{overflow-wrap:anywhere}

.quote-success{margin:20px 0;padding:22px;background:#edf6f5;border:1px solid #9abcb5;border-radius:10px;color:#173d39}.quote-success h3{font-size:21px;margin:0 0 10px}.quote-success p{font-size:16px;line-height:1.5}.quote-success #quoteReference{font-size:14px;overflow-wrap:anywhere}

.room-detail-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:16px 0 0;padding:18px;background:#fff;border:1px solid var(--line);border-radius:6px}
.room-detail-panel[hidden]{display:none}
.room-detail-panel figcaption{font-size:.9rem;color:var(--ink);line-height:1.5}
.room-detail-panel canvas{display:block;width:55%;max-width:540px;height:auto;border-radius:4px}
@media(max-width:600px){.room-detail-panel{flex-direction:column;align-items:stretch;gap:12px;padding:12px}.room-detail-panel canvas{width:100%;max-width:none}}

.room-product-note{margin:0 0 14px;padding:12px 14px;border-left:3px solid #829b99;background:#edf3f1;color:var(--ink);font-size:.85rem;line-height:1.55}.room-product-note[hidden]{display:none}
