.room-frame{overflow:hidden}.view-tools{padding:.55rem 1rem}.view-tools button{min-height:40px;min-width:40px}.view-tools .mode-switch{gap:2px;padding:2px;border:1px solid #bab9ae;border-radius:28px}.mode-switch button{font-size:.91rem;padding:.4rem 1rem}
#gesture-help{padding:.48rem 1rem .58rem;margin:0;color:#354b50;background:#ede5d7;font-size:.89rem;line-height:1.4}
.room-stage{position:relative;touch-action:none}.room-stage:focus-visible{outline:3px solid #caac6e;outline-offset:-3px}.room-stage[data-view=edit] #viewport canvas{cursor:default}.room-stage[data-view=edit][data-selected=true] #viewport canvas{cursor:crosshair}.room-stage[data-view=edit].over-item #viewport canvas{cursor:grab}.room-stage.placing #viewport canvas{cursor:grabbing}.room-stage.blocked #viewport canvas{cursor:not-allowed}
#drop-hint{position:absolute;z-index:5;left:50%;bottom:12px;text-align:center;transform:translateX(-50%);max-width:94%;width:max-content;pointer-events:none;font-size:.89rem;line-height:1.2;padding:.5rem .95rem;border-radius:30px;color:#f6f1e4;background:#254c46;box-shadow:0 2px 10px #0004}.blocked #drop-hint{background:#763d35}.placing .object[aria-pressed=true]{filter:drop-shadow(0 3px 3px #366d64)}.blocked .object[aria-pressed=true]{filter:drop-shadow(0 3px 4px #a64638)}
#selection-tools{border:1px solid #9d9b8573;background:#112a36;padding:.85rem 1rem;margin-top:.72rem;border-radius:3px}#selection-tools[hidden],#drop-hint[hidden]{display:none}.selection-main,.quick-actions,.nudge,.room-options{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.selection-main{justify-content:space-between;gap:.7rem}.selection-main .eyebrow{font-size:.65rem;color:#d1bc94}.selection-main h3{margin:0;font:400 1.34rem/1.22 var(--serif)}.quick-actions button,.nudge button,.sheet-controls button{font:inherit;font-size:.88rem;padding:.44rem .8rem;min-height:42px;border:1px solid #708080;background:transparent;border-radius:24px;color:var(--cream)}.quick-actions #flip{border-color:#c5b08c}.quick-actions button:hover,.nudge button:hover,.sheet-controls button:hover{background:#2a4148}
#fine-move{margin-top:.5rem;width:fit-content}#fine-move summary{cursor:pointer;font-size:.86rem;padding:.4rem 0;color:#e2dac9}.nudge{margin:.2rem 0}.room-options{padding:.78rem 0;border-bottom:1px solid #83949645;gap:.6rem}.room-options label{font-size:.9rem}.room-options select{min-height:40px;max-width:100%;background:#142c39;color:var(--cream);border:1px solid #63757b;border-radius:3px;padding:.25rem .55rem;font:inherit;font-size:.88rem}.room-options button{margin-left:auto;background:transparent;border:0;color:#c5c7c0;text-decoration:underline;text-underline-offset:3px;font-size:.85rem;min-height:40px}.room-options button:disabled{opacity:.45}.feedback{min-height:1.3rem}
#open-catalog{display:none}#palette-dock{min-width:0}.product[draggable=true] .tile{cursor:grab}.product[draggable=true]:active .tile{cursor:grabbing}
#catalog-sheet{position:fixed;inset:auto 0 0;width:100%;max-width:650px;margin:0 auto;padding:.75rem 1.1rem max(1rem,env(safe-area-inset-bottom));max-height:83dvh;overflow:auto;border:1px solid #73858a;border-bottom:0;border-radius:17px 17px 0 0;background:#102633;color:var(--cream)}#catalog-sheet::backdrop{background:#071017a9}.sheet-controls{display:flex;justify-content:flex-end}.sheet-controls button{min-height:38px}#catalog-sheet .catalog{max-height:48dvh;grid-template-columns:repeat(3,minmax(0,1fr))}#sheet-feedback{font-size:.89rem}#sheet-feedback:empty{display:none}
@media(max-width:800px){#palette-dock{display:none}#open-catalog{display:inline-flex;align-items:center;background:#193842;color:#fff5e1;min-height:42px;padding:.48rem .9rem}.room-stage.has-3d{aspect-ratio:1.38}.room-meta{min-height:53px}.view-tools{padding:.4rem .65rem}.mode-switch button{padding:.35rem .7rem}.room-options{gap:.4rem}.room-options label{flex-basis:100%}#selection-tools{padding:.72rem}.quick-actions{gap:.36rem}.selection-main h3{font-size:1.25rem}#gesture-help{font-size:.87rem;padding-inline:.75rem}#catalog-sheet .product{min-height:68px}}
@media(max-width:430px){.room-stage.has-3d{aspect-ratio:1.13}.view-tools .mode-switch button{font-size:.82rem;padding:.32rem .54rem}.view-tools [data-nav]{min-width:34px}.quick-actions button,.nudge button{padding:.4rem .68rem}.room-options select{max-width:73%}#catalog-sheet .catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}
.nudge-tip{margin:.15rem 0 .5rem;color:#cecfc3;max-width:55ch;font-size:.88rem}
.room-stage.placing[data-view=visit] #viewport canvas{cursor:grabbing}.room-stage.blocked[data-view=visit] #viewport canvas{cursor:not-allowed}
