/* Presentation-only layer. Scene, model, unit data and rendering are untouched. */
:root{--ui-ink:#262724;--ui-muted:#74756e;--ui-line:rgba(54,53,45,.12);--ui-paper:rgba(253,252,249,.92);--ui-accent:#75654a;--ui-shadow:0 12px 38px rgba(32,35,30,.08),0 2px 6px rgba(32,35,30,.035);--ui-radius:18px}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;color:var(--ui-ink);-webkit-font-smoothing:antialiased}
button,select,input{font-family:inherit}button{transition:background .18s ease,box-shadow .18s ease,color .18s ease,transform .18s ease}button:active{transform:scale(.98)}button:disabled{cursor:default;opacity:.45}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #917a51;outline-offset:3px}button:disabled:active{transform:none}
.app-header{height:82px;padding:14px 28px;background:rgba(253,252,249,.88);border-bottom:1px solid rgba(255,255,255,.7);box-shadow:0 1px 0 var(--ui-line);backdrop-filter:blur(20px) saturate(125%);-webkit-backdrop-filter:blur(20px) saturate(125%)}
.brand{color:var(--ui-ink);font-size:12px;letter-spacing:2.6px;gap:13px}.brand small{font-size:8px;letter-spacing:1.8px;color:var(--ui-muted);margin-top:7px}.logo{width:42px;height:46px;font:33px Georgia,serif;color:#615a48;border:1px solid #bdb4a1;background:linear-gradient(145deg,#fffefa,#ece9e0)}
.mode-switch,.lang-switch,.segments,#floor-style{background:#eeede8;border:1px solid rgba(72,68,55,.06);border-radius:12px;padding:4px;gap:3px}.mode-switch button{font-size:12px;font-weight:500;color:#74746c;padding:11px 19px;border-radius:9px}.mode-switch button.active,.lang-switch .active,.segments button.active,#floor-style button.active{background:#fffefa;color:#292a26;box-shadow:0 2px 5px #24241b16,0 0 0 1px #29291b07}.mode-switch button:hover:not(.active),.segments button:hover:not(.active){background:#ffffff70}.lang-switch button{border-radius:8px;min-width:31px;font-size:10px;padding:8px}.header-actions{gap:10px}.pill{border:1px solid var(--ui-line);background:#ffffff50;color:#55564e;border-radius:20px;padding:10px 15px;font-size:11px}.pill:hover{background:#fff;box-shadow:0 3px 10px #292a2110}
.intro{top:111px;left:30px;pointer-events:none}.intro .eyebrow{font-size:8px;letter-spacing:2.3px;color:#8e8168}.intro h1{font-family:Georgia,'Songti SC','Noto Serif CJK SC',serif;font-weight:400;font-size:27px;line-height:1.45;letter-spacing:-.4px;color:#34372f;margin:11px 0}.intro p{font-size:10px;color:#72786e;margin:5px 0}.intro .source-badge{font-size:9px;letter-spacing:.2px;color:#7d8076;background:none;border:0;padding:0}.intro .datum{display:none}
.controls,#floor-dock{background:var(--ui-paper);color:var(--ui-ink);border:1px solid #ffffffc9;border-radius:var(--ui-radius);box-shadow:var(--ui-shadow);backdrop-filter:blur(18px) saturate(115%);-webkit-backdrop-filter:blur(18px) saturate(115%);scrollbar-width:thin;scrollbar-color:#c6c6bd transparent;overscroll-behavior:contain}
.controls{width:248px;right:24px;top:108px;bottom:auto;max-height:calc(100dvh - 200px);padding:20px}.panel-title{font-size:13px;font-weight:600;letter-spacing:.2px;display:flex;align-items:center;gap:8px;margin-bottom:20px}.panel-title span{font-size:8px;font-weight:400;letter-spacing:1.5px;color:#8d897c;margin-left:auto}.panel-title #collapse{width:27px;height:27px;border-radius:50%;background:#eeede8;border:0;font-size:18px;color:#686a60;margin-left:3px;float:none}.controls label{color:#53574d;font-size:11px}.controls #settings>label{margin:18px 0 9px}.controls select{background:#fffefa;border:1px solid var(--ui-line);border-radius:9px;padding:10px 11px;font-size:12px;color:var(--ui-ink)}.controls input[type=range]{accent-color:#6c745f;height:20px}.ticks{color:#8e9186;font-size:9px}.level-note{font-size:9px;line-height:1.6;color:#8b8c82;margin-top:8px}.segments button{border:0;border-radius:8px;font-size:11px;padding:9px 0;color:#7a7b72}.segments{display:flex;margin-bottom:16px}
.toggle-row{padding:10px 0;margin:0;border-bottom:1px solid #373b2c08;min-height:37px}.toggle-row label{font-size:11px;line-height:1.5}.toggle-row input[type=checkbox]{appearance:none;-webkit-appearance:none;position:relative;width:31px;height:19px;min-width:31px;border:0;border-radius:20px;background:#d3d5cd;cursor:pointer;transition:background .18s}.toggle-row input[type=checkbox]:before{content:'';position:absolute;width:15px;height:15px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .18s}.toggle-row input:checked{background:#6e795e}.toggle-row input:checked:before{transform:translateX(12px)}
.controls .secondary,.controls .export,.interior-controls button,.panorama-launch,.tour-detail-launch{border-radius:10px;font-size:11px;line-height:1.5;padding:11px 10px;box-shadow:none}.controls .secondary{background:#30372e;border:1px solid #30372e;color:#fffefa;margin-top:18px}.controls .secondary:hover{background:#47513f}.controls .export{background:#efeee8;color:#53574d;border:1px solid var(--ui-line)}.controls .text-button{font-size:10px;color:#7e7664;padding-top:14px}.disclaimer{font-size:9px;line-height:1.8;color:#8c8e84;margin-bottom:0}
.ui-disclosure{border-top:1px solid var(--ui-line);margin-top:16px;padding-top:2px}.ui-disclosure summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:13px 0;font-size:11px;font-weight:500;color:#63685b}.ui-disclosure summary::-webkit-details-marker{display:none}.ui-disclosure summary:after{content:'+';font-size:16px;font-weight:300;color:#929384}.ui-disclosure[open] summary:after{content:'−'}.ui-disclosure .interior-controls{padding:0;border:0;margin:0}.interior-controls button{background:#eeeee7;color:#51584a;border:1px solid var(--ui-line);margin-bottom:7px}.interior-controls small{font-size:9px;color:#8a8d81;line-height:1.7}.ui-disclosure .export{margin-top:0}.motion-settings{border-color:var(--ui-line);margin-top:16px;padding-top:14px}.motion-heading{font-size:9px;color:#8b8677;letter-spacing:1.2px}.motion-settings label{font-size:10px}.motion-settings small{font-size:9px;color:#8b8e82}
body:not(.native-floor) #floor-dock{top:246px}#floor-dock{left:24px;width:250px;bottom:92px;padding:19px;max-height:none}.dock-heading{font-size:13px;font-weight:600;letter-spacing:.2px}.dock-heading span:last-child{font-weight:400;font-size:10px;color:#918c7c}#dock-hint{font-size:10px;color:#8a8b80;line-height:1.65;margin:10px 0 5px}#unit-filter{border-color:var(--ui-line);padding-top:13px;margin-bottom:12px}.filter-title{font-size:10px;color:#73776c}.filter-title span{font-size:9px;color:#929588}.bed-chips{gap:5px}.bed-chips button{background:transparent;border:1px solid #d9dbd1;border-radius:8px;font-size:10px;min-height:34px;padding:8px 2px}.bed-chips button[aria-pressed=true]{background:#3e4939;border-color:#3e4939;color:#fffefa;box-shadow:0 2px 4px #333e2920}#unit-filter p{font-size:9px;color:#89917e;margin-top:12px}#unit-filter p strong{color:#46563c;font-variant-numeric:tabular-nums}
#floor-choices .floor-section>button{padding:12px;border-radius:10px;border:1px solid transparent;background:#f0f0e9;color:#51594a;min-height:43px;font-size:12px}#floor-choices .floor-section>button span{font-size:9px;color:inherit;opacity:.7}body:not(.native-floor) #floor-choices .floor-section>button.active,#floor-choices .floor-section>button.active{background:#e7e9df;color:#3d4835;border-color:#d9ddce}.floor-section{margin-bottom:7px}.unit-list{padding:5px 0 7px}#floor-choices .unit-list button{border:0;border-bottom:1px solid #dfe1d766;border-radius:8px;padding:11px 10px;grid-template-columns:43px 1fr;gap:2px;min-height:52px;color:#535b4b;background:transparent}#floor-choices .unit-list button strong{font-size:13px;font-weight:550;align-self:center;grid-row:span 2;letter-spacing:.2px}#floor-choices .unit-list button span{font-size:10px;color:#757d6e}#floor-choices .unit-list button small{font-size:9px;color:#8d9385}#floor-choices .unit-list button:hover,#floor-choices .unit-list button.highlight,body:not(.native-floor) #floor-choices .unit-list button.highlight{background:#e9e8dd;border-left:0;box-shadow:inset 2px 0 #aa9770}#floor-choices .unit-list button.unit-located{background:#e2e8d9;box-shadow:inset 2px 0 #71875a}#whole-model{font-size:10px;color:#797461;padding:13px 0 3px}#pick-hint{font-size:9px;color:#929587;line-height:1.6}
.native-floor #floor-dock{top:108px}.native-floor .controls{width:210px}.native-floor #viewer{inset:82px 235px 85px 285px}#floor-style{top:99px;border-radius:14px;box-shadow:var(--ui-shadow);background:#f7f6f0ed}#floor-style button{font-size:11px;border-radius:10px;padding:10px 17px;color:#777b6c}
footer{bottom:24px;left:28px;right:28px}.navigation{border:1px solid #ffffffa6;background:var(--ui-paper);border-radius:14px;box-shadow:var(--ui-shadow);padding:4px;backdrop-filter:blur(16px)}.navigation button{border-radius:10px;color:#7a806f;font-size:10px;padding:11px}.navigation button.active{background:#e5e9dc;color:#46573b}.hint{font-size:9px;color:#848b7b}.hint button{border:1px solid var(--ui-line);background:#fafbf5;border-radius:10px;width:34px;height:34px;color:#646d58}
#map-scene-bar{background:rgba(253,252,249,.94);border:1px solid #fff;border-radius:16px;box-shadow:var(--ui-shadow);padding:6px;gap:4px;bottom:22px;backdrop-filter:blur(18px)}#map-scene-bar button{font-size:11px;border-radius:10px;border:1px solid transparent;padding:10px 12px;color:#626956;background:transparent}#map-scene-bar button:hover{background:#edeee5}#map-scene-bar button[aria-pressed=true]{background:#e5e9dc;color:#45563a}.orbit-lock{font-size:9px;color:#858c7a;padding:0 10px}#map-scene-status{font-size:9px;color:#7c8371;background:#fafbf4d9;border-radius:8px;padding:6px 10px;bottom:80px;max-width:min(620px,90vw)}#map-scene-status small{display:block;margin-top:4px;overflow-wrap:anywhere}#nearby-tray{border-radius:18px;background:var(--ui-paper);box-shadow:var(--ui-shadow);right:24px;bottom:92px;border:1px solid #fff}.nearby-row button{border-radius:11px;border-color:var(--ui-line);background:#f3f4eb}.map-place{background:#fafcf5f5;border:1px solid #fff;border-radius:14px;box-shadow:0 5px 18px #273a2314}
#exterior-unit-card{background:#2f382eef;border-color:#a69b7a66;border-radius:17px;box-shadow:0 16px 50px #263b2926}.exterior-title strong{color:#ded4b9;font-weight:400}.unit-marker{border-radius:8px;box-shadow:0 2px 10px #243a291c}
dialog{background:#fcfcf8;color:#353d2e;border:1px solid #ffffffcc;border-radius:22px;box-shadow:0 24px 90px #16281130}dialog::backdrop{background:#29352738;backdrop-filter:blur(5px)}.dialog-head{border-color:var(--ui-line)}.dialog-head small{font-size:9px;letter-spacing:1.7px;color:#8b856e}.dialog-head h2{font-weight:500;letter-spacing:-.6px}.close{background:#edeee7;border:0;border-radius:50%;width:32px;height:32px;color:#77816a;font-size:23px}#unit-detail{border-radius:22px;padding:30px}#unit-detail h2{font-size:29px;font-weight:500}.detail-plan{border-radius:15px;overflow:hidden;background:#fff;border:1px solid #ebeee3}.availability{background:#e9eede;color:#617450;font-size:10px}.detail-note{color:#8b947e;font-size:10px}#unit-detail dl>div{border-color:#e2e6da;font-size:12px;padding:13px 0}#unit-detail dt{color:#8a927e}#unit-detail h3{font-size:24px}
#project-info{margin:12px;width:min(485px,calc(100vw - 24px));height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);border:1px solid #fff;border-radius:22px;background:#fafbf5;color:#3c4633;box-shadow:0 20px 90px #2638222b}.project-info-head{padding:27px 29px 20px;background:#fafbf5f2;border-color:var(--ui-line);backdrop-filter:blur(14px)}.project-info-head h2{font-size:22px;font-weight:500}.project-info-tabs{background:#fafbf5;border-color:var(--ui-line);padding:10px 22px}.project-info-tabs button{border-radius:9px;font-size:11px;color:#828c74}.project-info-tabs button[aria-pressed=true]{background:#e7ecdc;color:#526342}.project-info-content{padding:27px 29px}.project-info-content h3{font-family:Georgia,'Songti SC',serif;font-size:32px;font-weight:400;color:#444d37}.project-price{background:#eeefdf;border:1px solid #e6e8d7;border-radius:13px}.project-photo-grid{gap:11px}.project-photo-thumb{border-radius:13px;overflow:hidden}.project-headline{font-size:13px;color:#7e896c}.project-data-note{font-size:10px}
#location-pane{background:#f4f5ee;grid-template-columns:320px 1fr}#location-sidebar{background:#fafbf5;border-color:var(--ui-line);padding:28px}.place-card{border-radius:13px;border-color:var(--ui-line)}#webgl-fallback{background:#f9faf4;border:1px solid #fff;border-radius:20px;left:295px;color:#55634a}#webgl-fallback p{color:#7c896c}.webgl-unavailable:not(.native-floor) #floor-dock{top:108px}
.ui-focus{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--ui-line);border-radius:50%;background:#ffffff50;color:#777b6b}.ui-focus svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.4}.ui-focus[aria-pressed=true]{background:#3d4934;color:#fff}.ui-quiet .controls,.ui-quiet #floor-dock,.ui-quiet .intro{visibility:hidden;pointer-events:none}.ui-quiet.native-floor #viewer{inset:82px 0 85px}.ui-mobile-controls{display:none}.ui-focus:hover{background:#eceee3}.ui-focus[aria-pressed=true]:hover{background:#536345}
@media(min-width:701px) and (max-width:1100px){.app-header{padding:14px 20px}.brand{font-size:10px;letter-spacing:1.6px}.mode-switch button{padding:11px 12px}.controls{width:215px;right:16px;padding:16px}#floor-dock{width:220px;left:16px;padding:16px}.intro{left:22px}.intro h1{font-size:23px}.orbit-lock{display:none}.native-floor .controls{width:195px}.native-floor #viewer{inset:82px 222px 85px 250px}}
@media(max-width:700px){.app-header{height:118px;padding:13px 16px}.brand{font-size:11px;letter-spacing:1.8px;gap:10px}.brand small{font-size:7px;letter-spacing:1.2px}.logo{width:31px;height:36px;font-size:25px}.header-actions{gap:6px}.header-actions #project-info-open{display:block;font-size:10px;padding:8px 10px}.header-actions #info{display:none}.lang-switch button{min-width:25px;padding:7px 5px;font-size:9px}.ui-focus{width:30px;height:30px}.mode-switch{top:68px;left:16px;right:16px;padding:3px;border-radius:11px}.mode-switch button{min-height:35px;font-size:11px;padding:8px;border-radius:8px}.intro{left:18px;top:139px}.intro h1{font-size:22px;margin:7px 0}.intro p{font-size:9px}.intro .eyebrow{font-size:7px}.ui-mobile-controls{display:block;position:fixed;right:16px;top:136px;z-index:19;background:#fafcf3eF;backdrop-filter:blur(12px);border:1px solid #fff;border-radius:20px;padding:10px 14px;min-height:38px;color:#677658;font-size:11px;box-shadow:var(--ui-shadow)}.ui-mobile-controls[aria-expanded=true]{background:#39482e;color:#fff}.controls,.native-floor .controls{display:none;right:12px;left:auto;top:184px;bottom:92px;width:min(280px,calc(100vw - 24px));max-height:none;padding:18px}.ui-controls-open .controls{display:block}.ui-controls-open #floor-dock{visibility:hidden;pointer-events:none}#floor-dock,.native-floor #floor-dock,body:not(.native-floor) #floor-dock{left:12px;right:12px;width:auto;top:auto;bottom:88px;max-height:30dvh;padding:14px 16px;border-radius:17px}#dock-hint,#pick-hint{display:none}.dock-heading{font-size:12px}#unit-filter{padding:10px 0;margin-bottom:8px}.filter-title{display:none}.bed-chips{max-width:280px}.bed-chips button{min-height:32px}#unit-filter p{display:inline-block;margin:8px 0 0}#floor-choices .floor-section>button{min-height:42px;padding:10px 12px}#floor-choices .unit-list button{min-height:49px;padding:10px}.native-floor #viewer{inset:118px 0 34dvh}.ui-quiet.native-floor #viewer{inset:118px 0 80px}#floor-style{top:134px;left:calc(50% - 34px);border-radius:12px;padding:3px}#floor-style button{padding:9px 11px;font-size:10px}.ui-quiet .ui-mobile-controls{display:none}footer{bottom:16px;left:12px;right:12px}.navigation button{padding:10px 6px;font-size:9px}.navigation{border-radius:12px}.hint{gap:2px}.hint button{width:30px;height:32px;margin-left:2px}#map-scene-bar{bottom:16px;width:max-content;max-width:calc(100vw - 24px);padding:4px;border-radius:13px;flex-wrap:nowrap;gap:0}#map-scene-bar button{font-size:10px;padding:10px 8px;white-space:nowrap}.orbit-lock{display:none}#map-scene-status{bottom:65px;font-size:8px;padding:4px 7px}#nearby-tray{left:12px;right:12px;bottom:88px;top:auto;width:auto;max-height:55dvh}.detail-layout{grid-template-columns:1fr;gap:17px}#unit-detail{width:calc(100vw - 22px);padding:20px;border-radius:18px;max-height:90dvh}#unit-detail h2{font-size:25px}.detail-plan img{max-height:37dvh}#project-info{margin:8px;width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:18px}.project-info-head,.project-info-content{padding:23px}#location-pane{grid-template-columns:1fr}#location-sidebar{padding:18px}.webgl-unavailable:not(.native-floor) #floor-dock,.webgl-unavailable.native-floor #floor-dock{top:auto;bottom:12px;max-height:28dvh}.webgl-unavailable #webgl-fallback{left:12px;right:12px;top:133px;bottom:calc(28dvh + 24px);padding:16px}.webgl-unavailable #webgl-fallback img{max-height:22dvh}.webgl-unavailable #webgl-fallback h2{font-size:16px}.webgl-unavailable .ui-mobile-controls{display:none}}
@media(prefers-reduced-transparency:reduce){.app-header,.controls,#floor-dock,#map-scene-bar,#nearby-tray{background:#fafbf5;backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){button,.toggle-row input,.toggle-row input:before{transition:none!important}}

/* Keep one switch thumb and avoid scene-only controls on the location page. */
.toggle-row input[type=checkbox]:after{display:none}.location-mode .ui-mobile-controls,.location-mode .ui-focus{display:none}
@media(max-width:700px){.intro{max-width:calc(100vw - 144px)}.intro h1{font-size:20px;line-height:1.35}.hint{font-size:0;display:flex;flex-shrink:0}.hint button{font-size:18px}.navigation{flex:1;justify-content:space-between}.navigation button{padding:10px 5px}}

/* Four light presets stay readable in both languages and narrow controls. */
.lighting-segments{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.lighting-segments button{min-width:0;line-height:1.3}
@media(max-width:700px){.lighting-segments{grid-template-columns:repeat(2,minmax(0,1fr))}}

.architecture-compare-control{margin:14px 0 10px}.architecture-compare-control .secondary{width:100%;margin:0;min-height:42px}.architecture-compare-control button[aria-pressed="true"]{background:var(--green,#365443);color:#fff}.architecture-compare-control button[aria-busy="true"]{cursor:progress;opacity:.7}.architecture-compare-control .level-note{margin:7px 0 0}.native-floor .architecture-compare-control,.location-mode .architecture-compare-control{display:none}

/* Native range retains touch and keyboard semantics; label ticks share its scale. */
.day-cycle{margin:20px 0 12px}.time-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.time-heading label{margin:0!important}.time-heading output{font-variant-numeric:tabular-nums;font-size:17px;font-weight:600;color:var(--green,#365443);white-space:nowrap}.time-heading output span{font-size:11px;font-weight:400;margin-left:5px}.day-cycle #day-time{appearance:none;-webkit-appearance:none;width:100%;height:36px;margin:8px 0 0;background:transparent;cursor:ew-resize;touch-action:pan-y}.day-cycle #day-time::-webkit-slider-runnable-track{height:7px;border-radius:8px;background:linear-gradient(90deg,#dca77d 0%,#e8dfbd 25%,#b6ced3 40%,#d6b788 72%,#485971 90%,#223449 100%)}.day-cycle #day-time::-moz-range-track{height:7px;border-radius:8px;background:linear-gradient(90deg,#dca77d,#e8dfbd 25%,#b6ced3 40%,#d6b788 72%,#223449)}.day-cycle #day-time::-webkit-slider-thumb{appearance:none;width:20px;height:20px;margin-top:-6.5px;border-radius:50%;background:#fffdf6;border:3px solid #4a6953;box-shadow:0 1px 5px #263b4138}.day-cycle #day-time::-moz-range-thumb{width:15px;height:15px;border-radius:50%;background:#fffdf6;border:3px solid #4a6953}.day-cycle #day-time:focus-visible{outline:2px solid #4a6953;outline-offset:2px;border-radius:6px}.time-stops{display:flex;justify-content:space-between;position:relative;height:32px;margin:0 10px}.time-stops button{position:absolute;top:0;padding:7px 0;min-height:32px;border:0;background:none;font-size:11px;color:#68766b;cursor:pointer;white-space:nowrap;transform:translateX(-50%)}.time-stops button:nth-child(1){left:0;transform:none}.time-stops button:nth-child(2){left:37.5%}.time-stops button:nth-child(3){left:75%}.time-stops button:nth-child(4){right:0;transform:translateX(25%)}.time-stops button[aria-current="true"]{color:#365443;font-weight:700}.day-cycle .level-note{margin:2px 0 0!important;font-size:10px}#time-loading{display:block;font-size:10px;color:#68766b;min-height:0}#time-loading:not(:empty){margin-top:5px}

.day-cycle #day-time:disabled{opacity:.45;cursor:progress}.time-stops button:disabled{cursor:progress}
.native-floor .glass-reflection-test,.native-floor #glass-reflection-hint,body:not(.map-exterior) .motion-settings{display:none}
