/* One precise spatial interface: model, connected specification and live selection. */
.spatial-story{height:1140svh}
.room-details{position:absolute;inset:0;z-index:8;pointer-events:none;--detail-ink:#302e2b;--detail-muted:#716c65;--detail-accent:#a78046;--detail-line:#c4bdb233}
.room-details[hidden],.detail-callout[hidden]{display:none}
.detail-field{position:absolute;left:3.5%;right:36%;top:24%;bottom:20%;border:1px solid #7d78702e;background-image:radial-gradient(#6d686131 .7px,transparent .7px);background-size:22px 22px;mask-image:linear-gradient(#000,#000);color:#5f5b55;font:7px/1.6 var(--mono);letter-spacing:.08em}
.detail-field:before,.detail-field:after{content:'';position:absolute;inset:-1px;border:1px solid #65615b;pointer-events:none;clip-path:polygon(0 0,13px 0,13px 1px,1px 1px,1px 13px,0 13px,0 0,100% 0,100% 13px,calc(100% - 1px) 13px,calc(100% - 1px) 1px,calc(100% - 13px) 1px,calc(100% - 13px) 0,100% 0,100% 100%,calc(100% - 13px) 100%,calc(100% - 13px) calc(100% - 1px),calc(100% - 1px) calc(100% - 1px),calc(100% - 1px) calc(100% - 13px),100% calc(100% - 13px),100% 100%,0 100%,0 calc(100% - 13px),1px calc(100% - 13px),1px calc(100% - 1px),13px calc(100% - 1px),13px 100%,0 100%)}
.field-label{position:absolute;top:11px;left:13px}.field-unit{position:absolute;right:13px;top:11px}.field-axis{position:absolute;left:14px;bottom:13px;font-size:9px;line-height:1.1;color:#78736c}.field-caption{position:absolute;bottom:12px;right:14px;font-size:6px}
.detail-leaders{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;fill:none;stroke:none;z-index:1}
.detail-leader{stroke:#6e6962;stroke-width:.65;opacity:.25;fill:none;vector-effect:non-scaling-stroke;transition:opacity .2s,stroke .2s}
.detail-leader.is-selected{stroke:var(--detail-accent);stroke-width:1;opacity:.9}
.detail-dot{fill:#f8f7f5;stroke:#6c6861;stroke-width:.7;opacity:.7}.detail-dot.is-selected{fill:#a78046;stroke:#fcfbf9;stroke-width:1.5;opacity:1}
.detail-pin-number{fill:#5e5a54;stroke:none;font:5px var(--mono);text-anchor:middle;dominant-baseline:middle}.detail-pin-number.is-selected{fill:#fefcfb;font-size:6px}
.detail-dimension{fill:none;stroke:#a78046;stroke-width:1;vector-effect:non-scaling-stroke}.detail-measure{fill:#886837;stroke:#fbfaf8;stroke-width:4;paint-order:stroke;font:9px var(--mono);text-anchor:middle;dominant-baseline:middle}
.detail-rail{position:absolute;top:10%;right:3.5%;bottom:15%;width:31%;display:flex;flex-direction:column;pointer-events:auto;z-index:2;background:#fbfaf8ee;border-top:1px solid #5d5954;border-bottom:1px solid #bab2a74d;color:var(--detail-ink)}
.detail-rail-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0 12px;font:8px var(--mono);letter-spacing:.12em}.detail-rail-heading b{font-size:7px;font-weight:400;color:#757069}
.detail-filters{display:flex;gap:5px;padding-bottom:10px;border-bottom:1px solid var(--detail-line)}
.detail-filters button{padding:6px 8px;font:9px var(--sans);background:transparent;color:#64605a;border:1px solid transparent;border-radius:2px}.detail-filters button[aria-pressed=true]{border-color:#b8b1a675;background:#f3f0ec51;color:#363430}.detail-filters button span{font:7px var(--mono);margin-left:5px;color:#807a72}
.detail-table-heading{display:flex;justify-content:space-between;gap:10px;padding:10px 0 8px;font:6px var(--mono);letter-spacing:.08em;color:#8f897f}
.detail-callouts{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5beb3 transparent;scroll-padding:4px}
.detail-callout{display:grid;grid-template-columns:22px minmax(0,1fr) auto 13px;align-items:center;gap:7px;flex:1 0 37px;min-height:37px;max-height:52px;width:100%;padding:5px 5px 5px 0;text-align:left;background:transparent;border:0;border-bottom:1px solid #8b857c29;color:#3d3a36;position:relative;transition:background .18s;cursor:pointer}
.detail-callout:hover,.detail-callout.is-selected{background:#f1efea59}.detail-callout.is-selected:before{content:'';position:absolute;left:-1px;top:5px;bottom:5px;width:2px;background:#a78046}
.detail-number{font:7px var(--mono);color:#8c867d;text-align:center}.detail-description{display:block;min-width:0}.detail-name{display:block;font:500 11px/1.2 var(--sans);letter-spacing:-.025em}.detail-finish{display:flex;align-items:center;gap:5px;margin-top:4px;font:8px/1.25 var(--sans);color:#868078}.detail-finish i{width:6px;height:6px;flex:none;border-radius:50%;border:1px solid #635f583d}.detail-material{display:block}.detail-dimensions{font:8px/1.4 var(--mono);color:#64605a;text-align:right;max-width:112px}.detail-row-target{font-size:12px;color:#a39c91}.detail-callout.is-selected .detail-number,.detail-callout.is-selected .detail-row-target{color:#92703c}
.detail-callout:focus-visible,.detail-filters button:focus-visible,.detail-view-controls button:focus-visible{outline:1px solid #a78046;outline-offset:-2px}
.detail-rail-foot{display:flex;justify-content:space-between;gap:10px;padding:10px 0;font:6px var(--mono);letter-spacing:.03em;color:#918b81}.detail-rail-foot span:last-child{color:#68645d}
.detail-view-controls{position:absolute;left:3.5%;top:calc(24% - 37px);display:flex;align-items:center;gap:3px;pointer-events:auto;z-index:3}.detail-view-controls button{background:transparent;padding:8px 10px;color:#757069;font:8px var(--mono);border:1px solid #a0998e4f}.detail-view-controls button[aria-pressed=true]{color:#4b4843;border-color:#736e679c;background:#f1efea3b}.detail-view-controls>span{font:6px var(--mono);margin-left:15px;color:#989187}
.detail-readout{position:absolute;left:3.5%;right:36%;bottom:13.3%;display:flex;gap:27px;align-items:flex-start;color:#5a5650}.detail-readout>span{display:block}.detail-readout small{display:block;font:6px var(--mono);letter-spacing:.08em;color:#8c867d}.detail-readout b{display:block;font:500 16px/1.7 var(--sans);letter-spacing:-.03em}.detail-readout b>span{font:8px var(--mono);color:#928c82}.detail-readout .detail-readout-selection{margin-left:auto;text-align:right}.detail-readout-selection b{font:10px/1.9 var(--sans);max-width:180px}
.story-sticky[data-phase=details]{background:radial-gradient(ellipse at 32% 48%,#f5f3efe6,transparent 63%),var(--paper)}
.story-sticky[data-phase=details] .ambition-atmosphere,.story-sticky[data-phase=details] .spatial-thread,.story-sticky[data-phase=details] .coordinate-grid,.story-sticky[data-phase=details] .scene-coordinate,.story-sticky[data-phase=details] .growing-words,.story-sticky[data-phase=details] .editor-view-label{display:none}
.story-sticky[data-phase=details] .story-copy{top:7%;left:3.5%;width:52%}.story-sticky[data-phase=details] .story-copy .eyebrow{font-size:6px;letter-spacing:.12em;margin-bottom:8px;color:#7e7870}.story-sticky[data-phase=details] .story-copy h2{font-size:35px;line-height:1.04;max-width:none;color:#302e2b}.story-sticky[data-phase=details] .story-copy h2 br{display:none}.story-sticky[data-phase=details] .story-copy h2 em{margin-left:7px;color:#5d5954}.story-sticky[data-phase=details] .story-copy p:not(.eyebrow){font-size:9px;max-width:450px;margin-top:10px;color:#89837b}.story-sticky[data-phase=details] .story-copy .underlink{display:none}
.story-sticky[data-phase=details] .inline-editor{left:2%;right:35%;top:20%;bottom:16%}.story-sticky[data-phase=details] .editor-selection{display:none}
.story-sticky[data-phase=details] .scene-footnote{opacity:.65;color:#888279}
@media(min-width:1450px){.detail-name{font-size:13px}.detail-dimensions{font-size:8px}.detail-finish{font-size:9px}.detail-rail-heading{font-size:10px}.detail-filters button{font-size:11px}.detail-callout{min-height:42px}}
@media(max-width:1050px) and (min-width:701px){.detail-rail{width:39%;top:17%;bottom:17%;right:3.5%}.detail-field{right:44%;top:27%;bottom:24%}.detail-view-controls{top:calc(27% - 37px)}.detail-view-controls>span{display:none}.story-sticky[data-phase=details] .story-copy{top:7%;width:90%}.story-sticky[data-phase=details] .story-copy h2{font-size:33px}.story-sticky[data-phase=details] .inline-editor{left:0;right:43%;top:24%;bottom:19%}.detail-readout{right:44%;bottom:17%;gap:15px}.detail-readout-selection{display:none!important}.detail-name{font-size:10px}.detail-dimensions{font-size:7px;max-width:90px}.detail-callout{gap:5px;grid-template-columns:20px minmax(0,1fr) auto 10px}.detail-finish{font-size:8px}}
@media(max-width:700px){
 .spatial-story{height:1160svh}.story-sticky[data-phase=details] .story-copy{top:5.5%;left:22px;width:calc(100% - 44px)}.story-sticky[data-phase=details] .story-copy h2{font-size:27px}.story-sticky[data-phase=details] .story-copy h2 em{margin-left:4px}.story-sticky[data-phase=details] .story-copy p:not(.eyebrow){font-size:8px;max-width:320px;margin-top:7px}.story-sticky[data-phase=details] .story-copy .eyebrow{font-size:5px}
 .detail-view-controls{left:22px;top:16.2%}.detail-view-controls button{font-size:7px;padding:6px 9px}.detail-view-controls>span{font-size:5px;margin-left:10px}.detail-field{left:22px;right:22px;top:20%;bottom:52%;background-size:17px 17px}.field-label,.field-unit{font-size:5px;top:7px}.field-label{left:8px}.field-unit{right:8px}.field-axis{font-size:7px;left:8px;bottom:7px}.field-caption{font-size:4px;right:8px;bottom:7px}
 .story-sticky[data-phase=details] .inline-editor{left:0;right:0;top:16%;bottom:54%}.detail-rail{top:calc(46% + 36px);bottom:13.5%;left:22px;right:22px;width:auto}.detail-rail-heading{font-size:7px;padding:9px 0}.detail-rail-heading b{font-size:6px}.detail-filters{padding-bottom:7px;gap:7px}.detail-filters button{font-size:8px;padding:4px 7px}.detail-table-heading{font-size:5px;padding:7px 0}.detail-callout{min-height:39px;flex:0 0 39px;grid-template-columns:20px minmax(0,1fr) auto 12px;gap:5px;padding:6px 3px 6px 0}.detail-name{font-size:10px}.detail-finish{font-size:7px}.detail-dimensions{font-size:7px;max-width:93px}.detail-number{font-size:6px}.detail-rail-foot{font-size:5px;padding:7px 0}.detail-readout{display:none}.detail-pin-number{font-size:5px}.detail-leader:not(.is-selected),.detail-dot:not(.is-selected),.detail-pin-number:not(.is-selected){display:none}.detail-measure{font-size:7px}
}
@media(max-height:650px) and (min-width:701px){.detail-rail{top:8%;bottom:19%}.detail-rail-heading{padding:8px 0;font-size:7px}.detail-filters{padding-bottom:6px}.detail-filters button{font-size:8px;padding:4px 6px}.detail-table-heading{padding:7px 0}.detail-callout{flex:0 0 35px;min-height:35px}.detail-rail-foot{padding:6px 0}.story-sticky[data-phase=details] .story-copy{top:7%;width:52%}.story-sticky[data-phase=details] .story-copy h2{font-size:27px}.story-sticky[data-phase=details] .story-copy p:not(.eyebrow){font-size:8px;max-width:290px}.detail-view-controls{top:27%}.detail-field{top:35%;bottom:22%}.story-sticky[data-phase=details] .inline-editor{top:27%;bottom:16%}.detail-readout{display:none}}
@media(max-height:500px) and (min-width:701px){.story-sticky[data-phase=details] .story-copy{top:6%;width:52%}.story-sticky[data-phase=details] .story-copy h2{font-size:23px}.story-sticky[data-phase=details] .story-copy .eyebrow{font-size:5px;margin-bottom:5px}.story-sticky[data-phase=details] .story-copy p:not(.eyebrow){display:none}.detail-view-controls{top:23%}.detail-view-controls button{padding:5px 8px;font-size:7px}.detail-field{top:33%;bottom:22%}.story-sticky[data-phase=details] .inline-editor{top:24%;bottom:17%}.detail-rail{top:6%;bottom:21%}.detail-rail-heading{font-size:7px}.detail-rail-foot{font-size:5px}.detail-name{font-size:9px}.detail-finish{font-size:7px}.detail-callout{min-height:35px}.field-caption{font-size:5px}.field-label,.field-unit{font-size:5px}.story-sticky[data-phase=details] .story-bottom .explore-button{padding:10px 14px}}
@media(prefers-reduced-motion:reduce){.detail-leader,.detail-callout{transition:none}}
