:root{--paper:#f6f3ec;--ink:#30372d;--muted:#666c61;--line:#d9dbcd;--olive:#46563a;--clay:#ad6548}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 Arial,Helvetica,sans-serif}header,main,footer{max-width:1240px;margin:auto;padding-left:36px;padding-right:36px}header{padding-top:29px}.eyebrow{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1.8px;color:var(--muted);font-weight:600;margin:0 0 10px}.heading{display:flex;align-items:end;justify-content:space-between;gap:28px}h1{font:normal clamp(38px,5.2vw,72px)/1.08 Georgia,serif;letter-spacing:-2.8px;margin:0}.heading p{margin:0 0 2px;font-size:14px;color:var(--muted)}.stage{position:relative;background:#e9ebdf;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-top:24px}.room-label{position:absolute;left:22px;top:18px;z-index:1;pointer-events:none}.room-label .eyebrow{font-size:9px;margin-bottom:4px}.room-label strong{font:21px Georgia,serif}.room{max-width:1040px;margin:auto}.room svg{width:100%;display:block;aspect-ratio:1000/650;max-height:535px}.stage-caption{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #d2d6c6;padding:10px 18px;font-size:11px;background:#eff0e6;color:#535e4b}#lightReadout{font-weight:600;white-space:nowrap}.drag-hint{margin:11px 0 13px;color:var(--olive);font-size:12px}.scene-buttons{display:flex;gap:8px;padding-bottom:18px;border-bottom:1px solid var(--line)}button,select,input{font:inherit;color:inherit}button{min-height:44px;border:1px solid var(--line);padding:10px 16px;background:#fcfaf5;border-radius:5px;cursor:pointer}button:hover{background:#e8ebdf;border-color:#8f9a80}button[aria-pressed=true]{background:var(--olive);color:#fff;border-color:var(--olive)}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #b36141;outline-offset:4px}.scene-buttons button{display:flex;align-items:center;justify-content:space-between;gap:25px;min-width:170px;text-align:left}.scene-buttons button span{font-size:10px;opacity:.7}.tools{display:flex;align-items:start;gap:32px;padding:20px 0}.light-tool{flex:1}.light-buttons{display:flex;gap:4px}.light-buttons button{font-size:12px;padding:9px 11px}.scene-note{font:italic 21px/1.4 Georgia,serif;color:#747e69;max-width:260px;margin:22px 0}.position-tools{width:310px}.position-tools select{display:block;width:100%;min-height:44px;background:#fcfaf5;border:1px solid var(--line);padding:9px 12px;border-radius:5px}.position-tools #selectedName{font-size:12px;font-weight:600;color:var(--olive);margin:12px 0}.position-control label{font-size:12px}.range-row{display:flex;gap:12px;align-items:center;font-size:11px;color:var(--muted)}.range-row span{white-space:nowrap}.range-row input{flex:1;min-width:0;width:100%;min-height:44px;margin:0;accent-color:var(--olive);cursor:ew-resize;touch-action:pan-y pinch-zoom}.position-control input::-webkit-slider-thumb{min-width:24px;min-height:24px}.position-control input::-moz-range-thumb{width:23px;height:23px}.position-control+.position-control{margin-top:4px}.actions{align-self:end;display:flex;gap:7px;flex-wrap:wrap;width:170px}.actions button{width:100%;font-size:12px}.primary{background:var(--ink);color:#fff;border-color:var(--ink)}.primary:hover{background:var(--olive);color:#fff}.quiet{background:transparent}.comparison{padding:12px 16px;background:#e9ecdf;border-radius:6px}.comparison>label{font-size:12px;font-weight:600}.comparison .range-row{gap:14px}.comparison output{width:36px;text-align:right}.fine{font-size:11px;line-height:1.6;color:var(--muted)}.afterword{display:flex;justify-content:space-between;gap:28px;margin-top:22px;padding:20px 0 24px;border-top:1px solid var(--line)}details{max-width:570px}summary{font:19px Georgia,serif;cursor:pointer}details p{font-size:12px;color:var(--muted)}.signoff{font:italic 22px Georgia,serif;color:#758067}footer{font-size:10px;border-top:1px solid var(--line);padding-top:18px;padding-bottom:26px;color:var(--muted)}[hidden]{display:none!important}.sr{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.decor{pointer-events:none}.movable{cursor:grab;touch-action:none;outline:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.movable.dragging{cursor:grabbing}.move-ring{fill:none;stroke:#fff7df;stroke-width:2;stroke-dasharray:6 5;opacity:.35;pointer-events:none;filter:drop-shadow(0 1px 2px #3c4a35)}.movable.selected .move-ring{opacity:1;stroke-width:3}.movable:focus-visible .move-ring{opacity:1;stroke:#eab95e;stroke-width:4}.move-handle{pointer-events:all}.move-handle circle{fill:#f6f3ec;stroke:#66775a;stroke-width:1.5}.move-handle path{stroke:#57674b;stroke-width:2;stroke-linecap:round}.arriving .furniture{animation:place .5s ease-out both}.arriving .movable:nth-of-type(2) .furniture{animation-delay:.06s}@keyframes place{from{opacity:0;transform:translateY(-15px)}to{opacity:1;transform:translateY(0)}}dialog{width:min(730px,calc(100% - 24px));max-height:92dvh;padding:0;overflow:auto;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);box-shadow:0 20px 80px #13201144}dialog::backdrop{background:#253021b8;backdrop-filter:blur(5px)}.modal-head{padding:14px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px}.modal-head .eyebrow{margin:0}.modal-head button{padding:0;width:44px;font-size:23px}.card-room{background:#e9ebdf}.card-room svg{display:block;width:100%}.card-copy{padding:22px 25px}.card-copy h2{font:36px/1.1 Georgia,serif;margin:0 0 12px}.card-copy p{margin:10px 0}.card-line{font:italic 21px Georgia,serif;color:var(--olive)}.reset-copy{padding:26px}.reset-copy h2{font:30px Georgia,serif;margin:0 0 14px}.reset-actions{display:flex;justify-content:end;gap:8px;margin-top:24px}.touch-word{display:none}@media(pointer:coarse){.touch-word{display:inline}.mouse-word{display:none}}
@media(max-width:760px){header,main,footer{padding-left:18px;padding-right:18px}header{padding-top:21px}h1{font-size:43px;letter-spacing:-2px}.heading{display:block}.heading p{font-size:13px;margin-top:10px}.heading p br{display:none}.heading p br:after{content:' '}.stage{margin-top:18px}.room-label{left:14px;top:12px}.room-label .eyebrow{font-size:8px;letter-spacing:1px}.room-label strong{font-size:18px}.room svg{max-height:none;aspect-ratio:1000/760}.stage-caption{display:block;padding:9px 11px;font-size:10px}#lightReadout{display:block;margin-top:3px}.drag-hint{font-size:12px;line-height:1.5;min-height:36px;margin:10px 0}.touch-word{display:inline}.mouse-word{display:none}.scene-buttons{gap:5px;padding-bottom:14px}.scene-buttons button{flex:1;min-width:0;padding:10px 6px;justify-content:center;gap:6px;font-size:12px;line-height:1.3}.scene-buttons button span{font-size:9px}.tools{flex-wrap:wrap;gap:16px;padding:16px 0}.light-tool{flex-basis:100%}.light-buttons{width:100%}.light-buttons button{flex:1;padding:9px 7px;font-size:12px}.scene-note{font-size:18px;margin:13px 0 0;max-width:none}.position-tools{width:100%}.position-tools select{font-size:16px}.actions{width:100%;flex-wrap:nowrap}.actions button{flex:1;width:auto;min-width:0;white-space:nowrap}.comparison{padding:10px 12px}.comparison .range-row{gap:8px}.comparison output{font-size:10px;width:31px}.afterword{display:block}.signoff{display:none}.card-copy{padding:18px}.card-copy h2{font-size:30px}.card-line{font-size:19px}.reset-actions button{padding:9px;font-size:12px}}
@media(max-width:350px){header,main,footer{padding-left:12px;padding-right:12px}h1{font-size:38px}.scene-buttons button span{display:none}.room-label strong{font-size:16px}.room-label .eyebrow{font-size:7px}.eyebrow{letter-spacing:1.2px;font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.catalog-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}.catalog-entry p{margin:0;font:italic 18px Georgia,serif;color:var(--muted)}.catalog-entry button{font-size:12px;border-color:#a2ac93}.selected-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.remove-prop{font-size:11px;min-height:36px;padding:5px 9px;background:transparent}.catalog-list{padding:0 20px 14px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.catalog-prop{border:1px solid var(--line);border-radius:7px;background:#efeee4;padding:12px;display:flex;flex-direction:column}.catalog-prop svg{width:100%;height:135px;display:block;pointer-events:none}.catalog-prop h3{font:20px Georgia,serif;margin:0 0 6px}.catalog-prop p{font-size:12px;color:var(--muted);margin:0 0 12px}.catalog-prop button{width:100%;font-size:12px}.catalog-intro,.catalog-note{padding:0 20px;font-size:12px;color:var(--muted)}#catalogTitle{font:29px Georgia,serif;margin:4px 0 0}.catalog-note{padding-bottom:12px}@media(max-width:760px){.catalog-entry{align-items:start;flex-direction:column;gap:10px}.catalog-entry p{font-size:16px}.catalog-entry button{width:100%;text-align:left}.catalog-list{gap:8px;padding:0 12px 12px}.catalog-prop{padding:10px}.catalog-prop h3{font-size:18px}.catalog-prop svg{height:105px}.catalog-intro,.catalog-note{padding-left:14px;padding-right:14px}#catalogTitle{font-size:24px}}@media(max-width:350px){.catalog-list{grid-template-columns:1fr}.catalog-prop{display:grid;grid-template-columns:85px 1fr;gap:8px;align-items:center}.catalog-prop svg{height:95px}}

.remove-prop{min-height:44px;padding:8px 10px;font-size:12px;border-color:#b4bba6;white-space:nowrap}.selected-row{align-items:center;flex-wrap:wrap;margin:8px 0 12px}.selected-row #selectedName{margin:0}.removal-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:5px;padding:7px 12px;margin:10px 0;background:#ebefdf;font-size:12px}.removal-notice button{min-height:40px;padding:7px 13px}.catalog-tabs{display:flex;gap:6px;padding:0 20px 14px}.catalog-tabs button{font-size:12px}.catalog-empty{grid-column:1/-1;font-size:14px;padding:20px 4px;color:var(--muted)}.empty-scene{flex:1;min-width:180px;font:italic 20px Georgia,serif;color:var(--muted)}.object-menu{position:fixed;z-index:20;width:235px;max-width:calc(100vw - 16px);padding:9px;border:1px solid #b9c1ac;border-radius:7px;background:var(--paper);box-shadow:0 8px 32px #26321f33}.object-menu p{font:18px Georgia,serif;margin:6px 7px 12px}.object-menu button{display:block;width:100%;text-align:left;font-size:13px}.object-menu button+button{margin-top:5px;background:transparent;border-color:transparent}.modal-head>button{flex-shrink:0}@media(max-width:760px){.empty-scene{width:100%;font-size:18px}.catalog-tabs{padding-left:14px;padding-right:14px}.catalog-tabs button{flex:1}.selected-row{gap:10px}.selected-row #selectedName{font-size:13px}.removal-notice{align-items:start}.removal-notice button{flex-shrink:0}}

.selection-bar{border:1px solid var(--line);border-radius:6px;background:#efefe5;padding:9px 12px;margin:0 0 14px}.selection-bar #selectedName{font-size:13px;font-weight:600;color:var(--olive)}.selection-bar #selectedName::after{content:" · selected";font-weight:normal;color:var(--muted)}

.rotate-handle{cursor:crosshair;touch-action:none}.rotate-handle circle{fill:#f6f3ec;stroke:#526343;stroke-width:2}.rotate-handle text{fill:#3d5033;font:24px Arial;pointer-events:none}.movable:not(.selected) .rotate-handle{display:none}.room.gesturing{touch-action:none}.drag-hint{font-size:13px;line-height:1.7}.catalog-entry button{background:var(--olive);color:white;font-size:14px;font-weight:600}.tools{justify-content:space-between}.actions{width:220px}

.rotation-tools{border-block:1px solid var(--line,#d6d6c8);padding:18px 0;margin:0 0 20px}.rotation-tools[hidden]{display:none}.rotation-heading{display:flex;align-items:center;gap:16px}.rotation-heading label{font-weight:600;white-space:nowrap}.rotation-heading select{min-width:0;flex:1;background:#faf8f1;border:1px solid #bfc2b2;border-radius:5px;padding:10px 12px;font:inherit;color:#30372b;min-height:46px}.rotation-tools p{font-size:13px;margin:9px 0;color:#535a4d}.rotation-track{display:flex;align-items:center;gap:12px}.rotation-track>span{font-size:25px}.rotation-track input{flex:1;min-width:0;width:100%;height:48px;accent-color:#485638;touch-action:pan-y}.rotation-track input::-webkit-slider-thumb{width:30px;height:30px}.rotation-track output{min-width:40px;text-align:right;font-size:13px;font-variant-numeric:tabular-nums}.rotation-tools :focus-visible{outline:3px solid #a75936;outline-offset:4px}@media(max-width:420px){.rotation-heading{gap:10px}.rotation-tools{padding:14px 0}.rotation-track{gap:8px}}
.rotation-track input{appearance:none;background:transparent;touch-action:pan-y pinch-zoom;cursor:ew-resize}.rotation-track input::-webkit-slider-runnable-track{height:5px;border-radius:4px;background:#b8beaa}.rotation-track input::-webkit-slider-thumb{appearance:none;width:30px;height:30px;margin-top:-12px;border-radius:50%;background:#485638;border:3px solid #faf8f1;box-shadow:0 1px 4px #30372b44}.rotation-track input::-moz-range-track{height:5px;border-radius:4px;background:#b8beaa}.rotation-track input::-moz-range-thumb{width:26px;height:26px;border-radius:50%;background:#485638;border:3px solid #faf8f1}

/* Keep frequent room controls close; expand rotation only when needed. */
.scene-buttons{padding-bottom:10px;border-bottom:0;margin-top:10px}
.light-tool{padding:0 0 8px;border-bottom:1px solid var(--line)}
.light-tool>.eyebrow{margin:0 0 5px}.light-buttons{gap:5px}
.drag-hint{margin:8px 0;font-size:12px;line-height:1.5;min-height:0}
.catalog-entry{padding:8px 0;gap:10px}.catalog-entry p{font:12px Arial,Helvetica,sans-serif;color:var(--muted)}
.catalog-entry button{min-height:44px;font-size:13px}
.rotation-tools{max-width:none;border-top:0;border-bottom:1px solid var(--line);padding:0;margin:0}
.rotation-tools>summary{min-height:48px;display:list-item;align-content:center;font:14px/1.5 Arial,Helvetica,sans-serif;padding:12px 2px;color:var(--olive)}
.rotation-tools[open]{padding-bottom:8px}.rotation-heading{margin-top:4px}.rotation-tools p{margin:6px 0;font-size:12px}
.tools{padding:12px 0;align-items:center;gap:14px}.scene-note{margin:0;flex:1;max-width:none;font-size:18px}.actions{align-self:center;width:auto;flex-wrap:nowrap}.actions button{width:auto;white-space:nowrap}
@media(max-width:760px){
.scene-buttons{margin-top:8px;padding-bottom:8px}.scene-buttons button{min-height:44px}
.light-tool{padding-bottom:8px}.light-tool>.eyebrow{font-size:9px;letter-spacing:1.2px}
.light-buttons button{min-height:44px}.drag-hint{font-size:12px;min-height:0;margin:8px 0;line-height:1.5}
.catalog-entry{flex-direction:row;align-items:center;padding:8px 0;gap:8px}.catalog-entry p{font-size:11px;max-width:82px;line-height:1.4}.catalog-entry button{width:auto;flex:1;text-align:center;font-size:12px;padding:9px 8px}
.rotation-tools{padding:0;margin:0}.rotation-tools[open]{padding-bottom:8px}.rotation-tools>summary{min-height:48px;padding:12px 2px}.rotation-heading select{font-size:16px}
.tools{padding:10px 0;gap:10px}.scene-note{flex-basis:100%;font-size:17px;line-height:1.3;margin:0}.actions{width:100%}.actions button{flex:1;min-height:44px}
}

.experiment-nav{margin:0 0 6px}.experiment-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;color:var(--muted);font:12px/1.5 Arial,Helvetica,sans-serif;text-decoration:none;touch-action:manipulation}.experiment-nav a:hover{color:var(--olive);text-decoration:underline;text-underline-offset:3px}.experiment-nav a:focus-visible{outline:3px solid #b36141;outline-offset:4px;border-radius:2px}dialog>.experiment-nav{padding:8px 20px 0;margin:0}
