.room-picker{margin-top:28px}.room-picker h2{margin:0;line-height:1.2}.room-picker p{margin:6px 0 14px;color:#465d51}
#room-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#room-buttons button{min-height:56px;padding:9px 12px;text-align:start;border:1px solid #e0e3d8;border-radius:11px;background:#fffdf7;color:#25392f;font:inherit;font-weight:700;cursor:pointer}
#room-buttons button:first-child{background:#315046;color:#fff}
#room-buttons button:hover{box-shadow:inset 0 0 0 1px currentColor}
#room-panel{max-width:1120px;margin:16px auto 24px}
.original-label{display:flex;justify-content:space-between;gap:12px;padding:0 16px 8px;color:#465d51;font-weight:700}
#photo-stage{position:relative;display:grid;place-items:center;height:clamp(260px,64svh,690px);height:clamp(260px,64svh,690px);isolation:isolate;overflow:hidden;background:#1a201d;touch-action:pan-y;cursor:grab;user-select:none}
#photo-stage[data-zoomed]{touch-action:none}
#photo-stage[data-dragging]{cursor:grabbing}
#frame{position:relative;width:0;height:0;transform-origin:center;will-change:transform}
#original-photo{width:100%;height:100%;display:block;object-fit:contain;pointer-events:none}
#hotspots{position:absolute;inset:0;pointer-events:none}
.hotspot{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;min-height:44px;border:1px solid #fff9;border-radius:100px;padding:5px 12px;background:#142d26ed;color:white;font:inherit;font-weight:700;white-space:nowrap;cursor:pointer;box-shadow:0 3px 12px #0005}
.hotspot:hover{background:#27483d}
#view-status{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);background:#142d26;color:white;border-radius:9px;padding:8px 14px;margin:0;text-align:center;max-width:90%}
.photo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 15px 4px}
.photo-toolbar p,#photo-note{margin:0;color:#465d51}
.viewer-controls{display:flex;gap:5px;flex:none}
.viewer-controls button{width:44px;height:44px;font:inherit;font-weight:700;font-size:1.5rem;line-height:1;color:#244139;background:#f7f5ef;border:1px solid #d7ded3;border-radius:8px;cursor:pointer}
.viewer-controls button:disabled{opacity:.35;cursor:default}
#photo-note{padding:0 15px 12px;font-size:.94rem}
@media(max-width:620px){#room-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}#photo-stage{height:clamp(258px,53svh,540px)}.photo-toolbar{flex-wrap:wrap}.viewer-controls button{width:46px}.hotspot{padding:4px 8px;min-height:44px}}
:focus-visible{outline:3px solid #b77938;outline-offset:2px}
/* One fixed camera view: drag reorients the perspective, never changes the source photograph. */
#photo-stage{touch-action:none;overscroll-behavior:contain}
#lens{position:relative;display:grid;place-items:center;overflow:hidden}
#frame{flex:none}
#other-angles{padding:0 15px 13px;color:#465d51}
#other-angles summary{width:fit-content;min-height:34px;cursor:pointer;font-weight:700}
#angle-buttons{display:flex;gap:8px;flex-wrap:wrap}
#angle-buttons button{min-height:44px;border:1px solid #d7ded3;border-radius:8px;padding:6px 11px;background:#fffdf7;color:#315046;font:inherit;cursor:pointer}
#angle-buttons button[aria-pressed=true]{background:#315046;color:white}
/* The floor plan is the main entry point; the compact buttons are an accessible alternative. */
#map-panel{margin-top:18px}
#map-panel .map [role=button]{cursor:pointer;outline:none}
#map-panel .map [role=button]:focus-visible>.area{stroke:#8a5420;stroke-width:4}
#map-panel .map svg{width:100%;display:block;height:auto;margin:0 auto}
#map-panel .map .plan-furniture{pointer-events:none}
#map-panel .map [role=button] text{pointer-events:none}
#home .room-picker{margin-top:20px}
.photo-reset{padding:2px 15px 7px}
.photo-reset button{font:inherit;background:#fffdf7;color:#315046;border:1px solid #d7ded3;border-radius:8px;padding:5px 12px;min-height:42px;cursor:pointer}
@media(max-width:620px){#photo-stage{height:auto;aspect-ratio:3/2;min-height:0}}
.tour9-tools{padding:0 15px 12px;display:flex;gap:8px}
.tour9-tools button{font:inherit;font-weight:700;min-height:42px;padding:4px 13px;border-radius:8px;border:1px solid #d7ded3;color:#315046;background:#fffdf7;cursor:pointer}
.tour9-tools button[aria-pressed=true]{background:#315046;color:#fff;border-color:#315046}
.pano9-stage{background:#19231e;position:relative;overflow:hidden;width:100%;height:clamp(310px,63svh,680px);touch-action:none;overscroll-behavior:contain;user-select:none;cursor:grab;isolation:isolate}
.pano9-stage:active{cursor:grabbing}
.pano9-stage canvas{display:block;width:100%;height:100%;position:absolute;inset:0;pointer-events:none}
.pano9-stage canvas[hidden],#pano9[hidden],#photos9[hidden],#pano-loading9[hidden],.pano-doors button[hidden]{display:none}
.pano-doors{position:absolute;inset:0;pointer-events:none}
#pano-loading9{position:absolute;inset-inline:0;inset-block-start:45%;text-align:center;color:white}
.pano9-info{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 15px 0;color:#465d51}
.pano9-info p{margin:0}
#pano-note9{margin:0;padding:5px 15px 12px;color:#465d51;font-size:.91rem}
@media(max-width:620px){.pano9-stage{height:clamp(280px,49svh,425px)}.pano9-info{flex-wrap:wrap}}
