:root{font-family:Inter,Arial,Helvetica,sans-serif;color:#183638;background:#f6f7f4;font-synthesis:none;--ink:#183638;--muted:#6b7b7a;--green:#1e6261;--line:#dce3de;--paper:#fff;--soft:#eff4ef}*{box-sizing:border-box}body{margin:0}button,select,a{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #258585;outline-offset:3px}button{border:0;background:none}a{color:var(--green)}.viewer{height:100dvh;min-height:600px;display:flex;flex-direction:column;max-width:2200px;margin:auto;background:#f8faf7}.masthead{height:92px;flex-shrink:0;padding:0 32px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:var(--paper)}.identity{display:flex;gap:14px;align-items:center}.monogram{width:44px;height:48px;display:grid;place-items:center;color:white;background:var(--ink);font-family:Georgia,serif;font-size:25px;border-radius:2px}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;margin:0 0 8px}.masthead .eyebrow{font-size:10px;letter-spacing:.22em;margin:0 0 5px}h1{font-size:19px;letter-spacing:-.04em;margin:0;font-weight:500}.header-actions{display:flex;align-items:center;gap:26px}.concept{font-size:11px;color:#657671;display:flex;gap:7px;align-items:center}.concept span{width:6px;height:6px;background:#b99e69;border-radius:50%}.icon-button{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;font-size:22px}.workspace{display:flex;flex:1;min-height:0}.sidebar{flex:0 0 258px;background:#fff;border-right:1px solid var(--line);padding:23px 20px 18px;display:flex;flex-direction:column;min-height:0}.sidebar-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.sidebar-heading .eyebrow{margin:0}.floor-tag{font-size:10px;padding:4px 6px;background:var(--soft);border-radius:3px}.overview{width:100%;display:flex;justify-content:space-between;padding:14px;border-radius:5px;text-align:left;font-size:12px;margin-bottom:18px;border:1px solid var(--line)}.overview.active{color:white;background:var(--ink);border-color:var(--ink)}#rooms{overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#cbd8cf transparent;padding-right:3px}.room-category{font-size:9px;font-weight:700;letter-spacing:.13em;color:var(--muted);margin:14px 9px 6px}.room-category:first-child{margin-top:0}.room-button{width:100%;text-align:left;padding:10px 9px;border-radius:4px;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px}.room-button:after{content:'↗';color:#8a9b94;font-size:13px;opacity:0}.room-button:hover{background:#f3f6f1}.room-button.active{background:#e8f0e9;color:#174f4f}.room-button.active:after,.room-button:hover:after{opacity:1}.sidebar-foot{border-top:1px solid var(--line);padding:16px 6px 0;margin-top:18px}.sidebar-foot strong{font:16px Georgia,serif}.sidebar-foot p{font-size:11px;line-height:1.7;color:var(--muted);margin:8px 0 11px}.text-button{font-size:10px;text-decoration:underline;text-underline-offset:4px;padding:2px 0;min-height:30px}.stage{flex:1;min-width:0;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 38%,#f9faf6 0,#eef2eb 62%,#e9eee7 100%)}#canvas-wrap{position:absolute;inset:0}canvas{display:block;width:100%;height:100%;touch-action:none}.viewbar{position:absolute;top:23px;left:24px;right:24px;display:flex;align-items:center;justify-content:space-between;z-index:5;pointer-events:none}.viewbar>*{pointer-events:auto}.view-modes{border:1px solid #d6dfd8;padding:4px;border-radius:6px;background:#ffffffeb;display:flex;gap:3px;box-shadow:0 3px 10px #18363805}.view-modes button{padding:9px 15px;font-size:11px;border-radius:3px;min-height:32px}.view-modes button.selected{background:var(--ink);color:#fff}.reset-button{font-size:20px;background:#fff;border:1px solid #d6dfd8;border-radius:5px;padding:7px 11px;display:flex;gap:8px;align-items:center;min-height:42px}.reset-button span{font-size:10px}.selection-card{position:absolute;left:28px;bottom:112px;max-width:275px;pointer-events:none;z-index:2}.selection-card .eyebrow{color:#6f8174;font-size:9px}.selection-card h2{font:25px/1.12 Georgia,serif;letter-spacing:-.035em;font-weight:400;margin:0 0 9px;max-width:260px}.selection-card p{font-size:11px;line-height:1.65;color:#65776c;margin:0;max-width:246px}.zoom-controls{position:absolute;right:25px;bottom:112px;display:flex;flex-direction:column;background:#ffffffee;border:1px solid var(--line);border-radius:5px;overflow:hidden;z-index:5}.zoom-controls button{font-size:22px;font-weight:400;width:38px;height:38px}.zoom-controls button+button{border-top:1px solid var(--line)}.layerbar{position:absolute;left:50%;bottom:56px;transform:translateX(-50%);display:flex;gap:1px;padding:6px;border-radius:7px;border:1px solid #d5dfd6;background:#ffffffed;z-index:5;white-space:nowrap;box-shadow:0 4px 22px #2e46300a}.layerbar button{display:flex;align-items:center;gap:7px;font-size:10px;padding:9px 11px;border-radius:4px;min-height:33px}.layerbar button:hover{background:#edf3ed}.toggle-dot{width:7px;height:7px;border:1px solid #83968b;border-radius:50%}.layerbar button[aria-pressed=true]{background:#eef3ee}.layerbar button[aria-pressed=true] .toggle-dot{background:var(--green);border-color:var(--green)}.gesture-hint{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);color:#728578;font-size:9px;white-space:nowrap;pointer-events:none}.model-status{position:absolute;right:26px;top:85px;font-size:8px;letter-spacing:.09em;color:#637a67;display:flex;align-items:center;gap:5px}.live-dot{width:4px;height:4px;background:#3e8171;border-radius:50%}.height-tag{padding-left:9px;border-left:1px solid #cbd7cc;margin-left:6px;letter-spacing:0}footer{height:38px;flex-shrink:0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 26px;background:#fff;color:#748078;font-size:8px;letter-spacing:.1em}footer button{font-size:9px;letter-spacing:0;min-height:30px}.footer-divider{margin:0 9px;color:#adb9af}#loading{position:absolute;inset:0;background:#eef2ebee;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;z-index:10;font-size:12px;color:#6b7b6c}#loading strong{font:22px Georgia,serif;color:var(--ink)}#loading.hidden{display:none}.spinner{border:2px solid #d1dfd4;border-top-color:var(--green);border-radius:50%;width:32px;height:32px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#labels{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}.model-label{position:absolute;transform:translate(-50%,-50%);font-size:9px;color:#355850;padding:5px 7px;background:#ffffffeb;border:1px solid #dce5d9;border-radius:3px;white-space:nowrap;box-shadow:0 1px 3px #133c2710}.model-label.selected{background:var(--ink);border-color:var(--ink);color:white}.model-label.pillar-label{font-size:8px;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;padding:0;background:#316d70;color:white;border:2px solid #ffffffcc}dialog{width:min(610px,calc(100vw - 32px));border:0;border-radius:10px;padding:28px 30px;color:var(--ink);box-shadow:0 16px 70px #102d3240;max-height:90dvh}dialog::backdrop{background:#18363888;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head .eyebrow{color:var(--muted)}dialog h2{font:34px/1.12 Georgia,serif;letter-spacing:-.025em;font-weight:400;margin:15px 0 20px}dialog p{font-size:13px;line-height:1.75;color:#536d63}dialog .note{background:#f1f4ec;border-left:3px solid #a0ae89;padding:10px 14px}.facts{display:flex;gap:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:20px 0}.facts div{flex:1;display:flex;flex-direction:column;gap:7px}.facts strong{font-size:18px;font-weight:500}.facts span{font-size:10px;color:var(--muted)}.dialog-links{display:flex;flex-direction:column;gap:13px;font-size:12px;margin-top:20px}.mobile-room{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.nojs{position:fixed;inset:30% 10% auto;background:white;padding:30px;border:1px solid var(--line);z-index:30}#viewer:fullscreen{max-width:none;height:100dvh}.error-message{padding:28px;text-align:center;max-width:500px;line-height:1.8}.error-message a{display:block;margin-top:10px}
@media(min-width:1550px){.sidebar{flex-basis:282px}.selection-card{bottom:128px}.selection-card h2{font-size:29px}}
@media(max-width:1050px){.sidebar{flex-basis:218px;padding:21px 15px}.selection-card{left:23px;bottom:112px;max-width:200px}.selection-card h2{font-size:22px}.selection-card p{font-size:10px}.layerbar button{padding:9px 8px;font-size:9px}.model-label{font-size:8px;padding:4px 5px}.masthead{padding:0 22px}}
@media(max-width:760px){.viewer{min-height:620px}.masthead{height:76px;padding:0 17px}.monogram{width:35px;height:40px;font-size:22px}.identity{gap:10px}h1{font-size:16px}.masthead .eyebrow{font-size:8px}.concept{display:none}.header-actions{gap:6px}.sidebar{display:none}.mobile-room{display:flex;align-items:center;position:absolute;top:15px;left:16px;right:16px;z-index:6;gap:12px;background:#ffffffee;padding:6px 11px;border:1px solid #d6dfd8;border-radius:5px}.mobile-room label{font-size:10px;color:var(--muted)}.mobile-room select{border:0;background:transparent;color:var(--ink);font-size:12px;padding:7px 2px;flex:1;min-width:0}.viewbar{top:70px;left:16px;right:16px}.view-modes button{padding:8px 12px;font-size:10px}.reset-button span{display:none}.reset-button{width:38px;height:38px;justify-content:center;min-height:38px;padding:6px}.model-status{top:120px;right:18px;font-size:7px}.selection-card{left:18px;bottom:115px;max-width:240px}.selection-card h2{font-size:21px;max-width:245px;margin-bottom:4px}.selection-card .eyebrow{font-size:8px;margin-bottom:5px}.selection-card p{font-size:10px;max-width:240px}.zoom-controls{right:18px;bottom:115px}.layerbar{bottom:55px;padding:4px;width:calc(100% - 30px);justify-content:space-between;gap:0}.layerbar button{font-size:9px;padding:10px 5px;gap:5px;min-height:38px}.toggle-dot{width:6px;height:6px}.gesture-hint{bottom:31px;font-size:8px}.model-label{font-size:8px;padding:3px 5px}footer{height:45px;padding:0 16px;font-size:7px;flex-wrap:wrap;align-content:center;gap:2px}footer button{font-size:8px;min-height:20px;padding:0}.footer-divider{margin:0 5px}.facts{gap:10px}.facts strong{font-size:15px}dialog{padding:23px}dialog h2{font-size:29px}}
@media(prefers-reduced-motion:reduce){.spinner{animation:none}}
.selection-card{background:#f8faf7f2;border:1px solid #dce3de;border-radius:6px;padding:14px;backdrop-filter:blur(8px)}
@media(max-width:760px){.selection-card{max-width:calc(100% - 88px);padding:12px}.stage:has(#room-select option:checked[value=""]) .selection-card{display:none}}
@media(max-height:650px){
 .viewer{min-height:0;height:100dvh}
 .masthead{height:52px;padding:0 16px}.monogram{width:32px;height:34px;font-size:20px}.identity{gap:9px}h1{font-size:15px}.masthead .eyebrow{font-size:8px;margin-bottom:3px}.icon-button{width:34px;height:34px}
 .sidebar{padding-top:12px;padding-bottom:10px}.sidebar-heading{margin-bottom:10px}.overview{margin-bottom:10px;padding:10px}.sidebar-foot{display:none}
 .viewbar{top:10px;left:14px;right:14px}.selection-card,.model-status{display:none}
 .zoom-controls{right:14px;bottom:70px;flex-direction:row}.zoom-controls button{width:32px;height:32px}.zoom-controls button+button{border-top:0;border-left:1px solid var(--line)}
 .layerbar{bottom:20px;padding:4px}.layerbar button{min-height:32px;padding:6px 8px}.gesture-hint{bottom:5px;font-size:8px}
 footer{height:26px;padding:0 14px;font-size:7px;gap:0}footer button{font-size:8px;min-height:20px}
}
@media(max-height:650px) and (max-width:760px){
 .mobile-room{top:8px;left:12px;right:12px;padding:3px 9px}.mobile-room select{padding:5px 2px}
 .viewbar{top:49px;left:12px;right:12px}.view-modes button{min-height:30px;padding:6px 10px}.reset-button{height:34px;min-height:34px;width:34px}
 .zoom-controls{right:12px}.layerbar{width:calc(100% - 24px)}.layerbar button{padding:6px 5px}
 footer{padding:0 12px}
}
