*{box-sizing:border-box}body{margin:0;background:#f0f2ec;color:#233c35;font:14px/1.5 system-ui,Arial,sans-serif}header{height:78px;padding:0 30px;background:white;border-bottom:1px solid #d9e0d6;display:flex;align-items:center;gap:35px}.brand{text-decoration:none;color:#243e36;font-size:28px;font-weight:800;letter-spacing:-1px;line-height:1}.brand span{color:#7d9654}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:7px}.project{font-size:15px;font-weight:650}.project span{display:block;font-size:11px;font-weight:400;color:#80907c}.download{margin-left:auto;border:1px solid #ccd8c4;border-radius:8px;padding:10px 14px;font-size:12px;text-decoration:none;color:inherit}main{display:grid;grid-template-columns:minmax(0,1fr) 300px;min-height:calc(100dvh - 78px)}.stage{height:calc(100dvh - 78px);min-height:650px;position:sticky;top:0;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#fafaf6,#dfe6d7)}.intro{position:absolute;top:26px;left:30px;right:20px;z-index:2;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:750;color:#718668}h1{font-weight:550;letter-spacing:-1.1px;line-height:1.2;font-size:clamp(26px,2.5vw,38px);margin:7px 0 9px}.intro p{font-size:12px;color:#778875;margin:0}.modes{position:absolute;z-index:3;left:30px;top:133px;display:flex;padding:4px;background:#ffffffdf;border:1px solid #d8e0d0;border-radius:30px;gap:3px}button,select,input{font:inherit}button{color:inherit;border:1px solid #ced9c6;background:#fff;border-radius:8px;cursor:pointer;padding:8px 12px;min-height:40px}button:hover{background:#e6eedf}button[aria-pressed=true]{background:#2c513f;color:white;border-color:#2c513f}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,#scene:focus-visible{outline:3px solid #92ac65;outline-offset:3px}.modes button{border:0;border-radius:24px;padding:8px 15px;font-size:12px}#scene{position:absolute;inset:70px 0 70px;touch-action:none}#scene canvas{display:block;width:100%;height:100%}#loading{position:absolute;inset:0;display:grid;place-items:center;padding:35px;pointer-events:none;color:#6d8067}.bottom{position:absolute;bottom:21px;left:30px;right:25px;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:2}.bottom span{font-size:11px;color:#60765a}.bottom>div{display:flex;gap:7px}.bottom button{font-size:11px;background:#ffffffd9;padding:7px 11px}.stage:fullscreen{height:100dvh;width:100vw}.stage.walk #scene{inset:0 0 70px}.stage.walk .intro{background:#f6f8f0cf;width:fit-content;max-width:calc(100% - 50px);padding:13px 18px;border-radius:10px;top:15px}.stage.walk .intro h1{font-size:22px}.stage.walk .intro .eyebrow{display:none}.stage.walk .modes{top:116px}.stage.walk .intro p{max-width:380px}#crosshair{position:absolute;left:50%;top:50%;color:#fff8;text-shadow:0 1px 2px #000;font-size:25px;pointer-events:none}#walkpad{position:absolute;right:24px;bottom:88px;z-index:5;text-align:center}#walkpad button{width:46px;height:46px;background:#ffffffd9;touch-action:none;margin:2px;font-size:19px}#walkpad[hidden],#crosshair[hidden]{display:none}aside{background:#fff;border-left:1px solid #d9e0d6;padding:30px 23px}h2{font-weight:550;font-size:21px;line-height:1.3;margin:8px 0 12px}.helper{font-size:12px;color:#7b8b75;margin:0 0 21px}.select-label{display:block;font-size:11px;color:#70826a;margin-bottom:6px}select{width:100%;padding:11px 10px;background:#f5f7f1;color:#2c4b3d;border:1px solid #d7e1ce;border-radius:7px}.room{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;margin-top:6px;border-color:#e1e7db;padding:11px;font-size:12px}.room small{font-size:10px;color:#8a997f;white-space:nowrap}.room:hover,.room.active{background:#edf3e4;border-color:#9eaf8d}.options{border-top:1px solid #e1e7dc;margin-top:23px;padding-top:17px}.options label{display:flex;gap:10px;align-items:center;font-size:12px;margin-bottom:12px}input[type=checkbox]{accent-color:#3e6749;width:17px;height:17px}.color{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-top:20px}input[type=color]{width:45px;height:32px;border:1px solid #d2dcc8;border-radius:6px;background:#fff;cursor:pointer}details{margin-top:25px;border-top:1px solid #e1e7dc;padding-top:16px;color:#73846c;font-size:11px}summary{font-size:12px;cursor:pointer}details a{color:#406d4c}.source-note{font-size:10px;color:#96a18c;line-height:1.6;margin-top:20px}@media(max-width:900px){header{height:70px;padding:0 18px;gap:20px}.project{display:none}.download{font-size:11px;padding:9px}main{grid-template-columns:1fr}.stage{position:relative;min-height:590px;height:68dvh}.intro{left:20px;top:22px}.modes{left:16px;top:138px}.modes button{padding:7px 11px;font-size:11px}aside{padding:27px 23px;border-left:0}#rooms{display:grid;grid-template-columns:1fr 1fr;gap:7px}.room{margin:0;font-size:12px}.bottom{bottom:16px;left:17px;right:17px;flex-wrap:wrap}.bottom>div{gap:5px}.bottom button{font-size:10px;padding:6px 9px}#scene{bottom:87px}.stage.walk #scene{bottom:87px}.stage.walk .intro{left:14px;padding:12px}.stage.walk .intro p{max-width:260px;font-size:11px}.stage.walk .modes{top:128px}#walkpad{bottom:110px;right:15px}.stage.walk .bottom>span{max-width:130px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.sun-options{border:1px solid #dbe1d2;border-radius:10px;background:#f6f8f2;padding:15px;margin:20px 0 24px}.sun-options h3{font-size:16px;margin:0 0 12px}.sun-options p{font-size:12px;line-height:1.5;color:#536a52;margin:10px 0}.sun-options small{display:block;font-size:11px;line-height:1.4;color:#778471}.stage.dusk .intro{background:#15263be0;padding:13px 18px;border-radius:10px;width:fit-content;max-width:calc(100% - 50px);color:#f3f5f8}.stage.dusk .intro p,.stage.dusk .eyebrow,.stage.dusk .bottom>span{color:#e2e8f2}.stage.dusk .bottom>span{background:#15263bd9;padding:7px 10px;border-radius:6px}.stage.dusk .modes{top:158px}.stage.walk.dusk .modes{top:116px}
/* Client navigation: a stable viewer and one short settings panel at a time. */
@media(min-width:901px){main{grid-template-columns:minmax(0,1fr) 340px}.client-menu{position:sticky;top:0;height:calc(100dvh - 78px);display:flex;flex-direction:column;padding:22px 0 0;overflow:hidden}.menu-heading{padding:0 22px}.menu-tabs{margin:8px 16px 0}.menu-content{overflow:auto;overscroll-behavior:contain;min-height:0;padding:18px 22px 30px}.stage{min-height:500px}}
.menu-heading h2{font-size:20px}.menu-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;background:#eef2e8;border-radius:10px}.menu-tabs button{padding:8px 2px;font-size:13px;border:0;background:transparent}.menu-tabs button[aria-pressed=true]{background:#2c513f;color:white}.menu-panel[hidden]{display:none}.menu-panel>h3{font-size:17px;margin:3px 0 9px}.menu-panel>h4{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#718267;margin:20px 0 9px}.menu-panel>.helper{margin-bottom:16px;font-size:13px;line-height:1.5}.menu-panel .room{font-size:13px}.menu-panel .options{margin-top:16px;padding-top:15px}.menu-panel .options label{font-size:13px}.appearance-card{border:1px solid #dce3d6;border-radius:9px;margin:8px 0;padding:0;background:#fff;color:#2c4439}.appearance-card>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:14px;font-size:14px;font-weight:600;min-height:52px}.appearance-card>summary:before{content:'+';font-size:19px;color:#77916b}.appearance-card[open]>summary:before{content:'−'}.appearance-card>summary::-webkit-details-marker{display:none}.appearance-card[open]>summary{border-bottom:1px solid #e4e9e0;background:#f5f8ef;border-radius:9px 9px 0 0}.appearance-card summary i{margin-left:auto;width:26px;height:26px;border:1px solid #0002;border-radius:5px}.appearance-card .material,.appearance-card .finish-options{padding:14px;margin:0;border:0}.appearance-card .material .color{font-size:13px}.appearance-card .material>p[id$=-code]{font-size:12px;margin:5px 0 12px;color:#778270}.appearance-card .material>.helper{font-size:12px;margin:8px 0}.appearance-card .material>label{display:flex;align-items:center;gap:8px;font-size:12px}.appearance-card .material .palette-open{margin-top:10px}.appearance-card .finish-options select{font-size:13px}.menu-more{font-size:12px}.menu-more .options{border:0}.help-card{border:1px solid #e0e6da;background:#f8faf5;padding:14px;border-radius:9px;margin:12px 0}.help-card h4{font-size:14px;margin:0 0 8px}.help-card p{font-size:13px;line-height:1.6;margin:8px 0;color:#53654e}.sun-options{margin-top:12px}
.view-tools{position:absolute;z-index:4;right:16px;top:94px;display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:8px;border:1px solid #d7dfcf;background:#fffffff0;border-radius:12px;box-shadow:0 3px 15px #183a2012}.tools-label{font-size:10px;text-align:center;color:#63775a;letter-spacing:.5px}.view-tools>div{display:flex;gap:5px}.view-tools [data-view]{padding:0;width:40px;height:40px;font-size:22px;line-height:1}.view-tools>button{font-size:10px;padding:5px;min-height:32px}.view-tools [hidden]{display:none}.view-tools button[aria-pressed=true]{background:#2c513f;color:#fff}.intro{right:140px}.stage.dusk .modes{top:158px}.stage.walk .view-tools{top:174px}.stage.walk #walkpad{right:16px}.stage .bottom{left:20px;right:16px}.bottom>span{max-width:40%}.stage .bottom button{min-height:40px}.stage .intro h1{font-size:clamp(24px,2.5vw,36px)}
@media(max-width:900px){.client-menu{padding:20px 16px;scroll-margin-top:10px}.menu-heading{padding:0 4px}.menu-tabs{position:sticky;top:0;z-index:6;box-shadow:0 3px 6px #fff}.menu-content{padding:16px 4px}.stage{height:65dvh;min-height:470px}.stage .intro{left:16px;top:18px;right:115px}.stage .intro h1{font-size:24px}.stage .intro p{font-size:11px}.stage .modes{left:12px;top:125px;max-width:calc(100% - 115px);flex-wrap:wrap;border-radius:16px}.stage .modes button{font-size:10px;padding:6px 9px;min-height:34px}.view-tools{right:10px;top:105px;padding:6px}.view-tools [data-view]{width:34px;height:36px;min-height:36px;font-size:20px}.view-tools>button{font-size:9px}.stage .bottom{bottom:10px;left:12px;right:12px}.bottom>span{max-width:100%}.stage .bottom>div{display:flex;flex-wrap:wrap}.stage .bottom button{font-size:10px;min-height:36px}.stage.walk .view-tools{top:195px}.stage.walk .intro{max-width:calc(100% - 118px);padding:10px;width:auto}.stage.walk .modes{top:140px}.stage.walk #walkpad{right:10px;bottom:90px}.stage.walk #walkpad button{width:38px;height:38px;min-height:38px;margin:1px}.stage.dusk .intro{padding:10px;max-width:calc(100% - 118px)}.stage.dusk .modes{top:140px}.menu-panel #rooms{grid-template-columns:1fr 1fr}}
@media(max-width:440px){.stage{min-height:510px}.stage .intro h1{font-size:22px}.stage .intro .eyebrow{font-size:8px}.stage.walk .view-tools{top:218px}.stage.walk #walkpad{bottom:88px}.stage.walk .view-tools>div:nth-of-type(3){display:none}.stage.walk #show-help{display:none}}
@media(max-width:900px){.stage:not(.walk) .view-tools{top:auto;bottom:100px;left:12px;right:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:6px}.stage:not(.walk) .tools-label{display:none}.stage:not(.walk) .view-tools>div{justify-content:center}.stage:not(.walk) .view-tools [data-view]{width:calc(50% - 2px);min-width:30px}.stage:not(.walk) #orbit-tour{grid-column:1/3}.stage:not(.walk) #show-help{grid-column:3;font-size:9px}.stage.walk .view-tools{top:195px;bottom:auto;left:auto;right:10px;display:flex}.stage.walk .view-tools>div:nth-of-type(3){display:flex}.stage.walk #show-help{display:none}.stage .intro{right:20px}.stage:not(.walk) .modes{max-width:calc(100% - 24px);top:122px}.stage:not(.walk).dusk .modes{top:145px}}
.walk-label{display:block;width:fit-content;margin:0 auto 3px;padding:2px 8px;border-radius:5px;background:#ffffffe6;color:#53674d;font-size:10px;font-weight:600}

/* InfinitX private preview */
.brand{display:flex;align-items:center;flex-shrink:0}.brand img{display:block;width:150px;height:55px;object-fit:contain}.preview-badge{margin-left:auto;text-align:right;border-left:1px solid #dde3d8;padding-left:22px;line-height:1.4}.preview-badge>span{display:block;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase}.preview-badge small{display:block;font-size:11px;color:#71816a;margin-top:2px}.preview-signature{margin-top:24px;padding:20px;background:#233c35;border-radius:10px;color:white;text-align:center}.preview-signature img{max-width:100%;object-fit:contain}.preview-signature p{font-size:11px;margin:10px 0 0}@media(max-width:500px){header{gap:12px}.brand img{width:125px;height:46px}.preview-badge{padding-left:12px}.preview-badge>span{font-size:10px}.preview-badge small{font-size:10px}}

/* Direct facade view and outdoor walking mode. */
.facade-shortcut{width:100%;margin:4px 0 15px;background:#edf3e6;border-color:#aebf9c;font-size:13px;font-weight:600}.modes{max-width:calc(100% - 165px);flex-wrap:wrap;border-radius:22px}.modes button{white-space:nowrap}@media(max-width:900px){.stage.walk .modes{max-width:calc(100% - 118px)}.stage.walk .view-tools{top:180px}}
/* Touch layout: the canvas and all controls occupy separate grid rows. */
.viewer-dock{display:contents}.mobile-view-select,.mobile-hint,#more-view-controls{display:none}
@media(max-width:1100px){
 body header{height:60px;padding:0 16px;gap:12px}header .brand img{width:125px;height:46px}header .project{display:none}
 body main{display:block;min-height:0}
 main .stage,main .stage.walk,main .stage.dusk{position:relative;top:auto;display:grid;grid-template-rows:auto auto minmax(230px,1fr) auto auto;height:calc(100svh - 60px);min-height:560px;overflow:hidden}
 main .stage:fullscreen{height:100dvh;min-height:0;grid-template-rows:auto auto minmax(90px,1fr) auto auto}
 main .stage .intro{position:static;grid-row:1;margin:0;padding:8px 14px 2px;max-width:none;width:auto;background:none;border-radius:0;pointer-events:none}
 main .stage .intro h1,main .stage .intro .eyebrow,main .stage #instructions{display:none}
 main .stage .mobile-hint{display:block;margin:0;font-size:11px;line-height:1.4;color:#526650}
 main .stage.dusk .mobile-hint{color:#edf2fa}
 main .stage .modes{display:none}
 main .stage .mobile-view-select{grid-row:2;display:flex;align-items:center;gap:12px;padding:6px 14px 9px;font-size:12px;font-weight:600}
 .mobile-view-select select{min-width:0;min-height:44px;width:auto;flex:1;background:#fffffff2;font-size:14px;padding:9px 12px;border-radius:10px}
 main .stage.dusk .mobile-view-select{color:#edf2fa}
 main .stage #scene{grid-row:3;position:relative;inset:auto;min-width:0;min-height:0;width:100%;height:100%;overflow:hidden}
 main .stage .viewer-dock{grid-row:4;display:flex;align-items:center;justify-content:center;gap:14px;padding:10px 12px;background:#f7f9f3;border-top:1px solid #dce3d6;z-index:4}
 main .stage .view-tools{position:static;inset:auto;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;max-width:640px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;min-width:0}
 main .stage .view-tools .tools-label{display:none}
 main .stage .view-tools>div{display:flex;gap:6px;justify-content:center}
 main .stage .view-tools [data-view]{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:23px;touch-action:manipulation}
 main .stage .view-tools #more-view-controls{display:block}
 main .stage .view-tools>button{display:block;min-height:44px;padding:8px 10px;font-size:12px;grid-column:auto}
 main .stage .view-tools>div:nth-of-type(2),main .stage .view-tools>div:nth-of-type(3),main .stage #orbit-tour{display:none}
 main .stage .view-tools.expanded>div:nth-of-type(2),main .stage .view-tools.expanded>div:nth-of-type(3){display:flex}
 main .stage:not(.walk) .view-tools.expanded #orbit-tour{display:block}
 main .stage .view-tools #show-help{font-size:11px}
 main .stage.walk .viewer-dock{justify-content:space-between}
 main .stage.walk .view-tools{flex:1;max-width:360px;order:2}
 main .stage.walk .view-tools #show-help{display:none}
 main .stage.walk #walkpad{position:static;inset:auto;order:1;flex:0 0 144px;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,44px);gap:6px;align-items:center}
 main .stage.walk #walkpad .walk-label{grid-column:1;margin:0;padding:0;background:none;line-height:1.2;font-size:11px}
 main .stage.walk #walkpad>button{grid-column:2}
 main .stage.walk #walkpad>div{grid-column:1/-1;display:flex;gap:6px}
 main .stage.walk #walkpad button{display:block;width:44px;height:44px;min-height:44px;margin:0;padding:0;font-size:22px;background:#fff;touch-action:none}
 main .stage #walkpad[hidden]{display:none}
 main .stage .bottom{grid-row:5;position:static;inset:auto;display:flex;flex-direction:column;align-items:stretch;gap:7px;margin:0;padding:0 12px max(10px,env(safe-area-inset-bottom));background:#f7f9f3}
 main .stage .bottom>span{max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#60765a;background:none;padding:0}
 main .stage .bottom>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 main .stage .bottom button{padding:6px 3px;font-size:11px;min-height:44px;background:#fff}
 body .client-menu{position:relative;top:auto;height:auto;display:block;overflow:visible;border-left:0;border-top:1px solid #d9e0d6;padding:20px 16px}
 .client-menu .menu-heading{padding:0 4px}.client-menu .menu-tabs{margin:8px 0 0;position:sticky;top:0;z-index:6}.client-menu .menu-content{overflow:visible;padding:16px 4px}.client-menu .menu-tabs button{min-height:44px}
}
@media(max-width:420px){main .stage.walk .view-tools{max-width:160px}main .stage .viewer-dock{gap:8px;padding:8px 10px}main .stage.walk #more-view-controls{flex-basis:94px}main .stage .view-tools>button{padding:8px;font-size:11px}}
@media(max-width:1100px) and (max-height:540px){main .stage{height:auto;min-height:540px}.mobile-hint{font-size:10px}}

@media(max-width:1100px){main .stage.walk .bottom>span{max-width:none}main .stage.walk .view-tools .tools-label{display:block;flex:0 0 100%;font-size:10px;line-height:1;margin-bottom:2px}}
