*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;font-family:'Segoe UI',Arial,sans-serif;color:#173d36;background:#d9e6e6}button,input{font:inherit}button{cursor:pointer;border:0}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #d99416;outline-offset:3px}[hidden]{display:none!important}header{height:68px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid #d7e0de;position:relative;z-index:5}.brand{color:inherit;display:flex;align-items:center;gap:14px;text-decoration:none}.brand-logo{display:block;width:60px;height:60px;object-fit:contain;flex:none}.brand b{font-size:18px;letter-spacing:3px}.brand small{display:block;font-size:12px;letter-spacing:1px;margin-top:3px}.project-state{font-size:14px;color:#49635e}.project-state b{font-weight:400}.project-state>span{font-size:12px;letter-spacing:1px;margin-left:20px;padding:8px 10px;border:1px solid #d5e0dc;border-radius:5px}main{position:relative;height:calc(100dvh - 68px)}#scene{position:absolute;inset:0;touch-action:none;outline:none}canvas{display:block;width:100%;height:100%}
.panel{position:absolute;top:16px;left:16px;width:354px;background:#fffffff5;backdrop-filter:blur(14px);border:1px solid #ffffffbd;border-radius:12px;box-shadow:0 8px 35px #10332e20;max-height:calc(100% - 84px);display:flex;flex-direction:column;z-index:2;overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;flex:none}.panel-head h1{font-size:21px;line-height:1.2;margin:0 0 4px;letter-spacing:-.5px}.panel-subtitle{font-size:12px;color:#62796e}.window-actions{display:flex;align-items:center;gap:4px;flex:none}.window-actions button{display:grid;place-items:center;width:30px;height:30px;border-radius:5px;background:#edf2ef;color:#355448;font-size:20px}.window-actions button:hover{background:#dce9df}#panel-content{min-height:0;display:flex;flex-direction:column}.panel-tabs{display:grid;grid-template-columns:.75fr 1.2fr 1fr;border-block:1px solid #e0e8e2;background:#f4f7f4;flex:none;padding:4px;gap:3px}.panel-tabs button{padding:9px 4px;font-size:14px;border-radius:5px;background:none;color:#577064}.panel-tabs button[aria-selected=true]{background:#1b5041;color:#fff}.tab-pane{padding:14px 16px;overflow:auto;min-height:0;font-size:14px;line-height:1.45}.tab-pane h2{font-size:15px;line-height:1.4;margin:0 0 7px}.tab-pane p{margin:0 0 10px}.view-pane{display:grid;gap:14px}.trial-summary{background:#fff5df;border:1px solid #e7bf62;border-radius:8px;color:#614310;padding:12px}.trial-summary h2{display:flex;align-items:center;gap:8px}.trial-swatch{width:8px;height:18px;border-radius:3px;background:#ffb52e;border:1px solid #a16b08;flex:none}.trial-summary p{margin:0 0 5px}.trial-summary small{font-size:12px;line-height:1.4}.trial-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.toggle{display:flex;align-items:center;gap:9px;font-size:14px;cursor:pointer}.toggle input{position:absolute;opacity:0;width:1px;height:1px}.toggle i{width:30px;height:18px;border-radius:20px;background:#c5d0c9;position:relative;flex:none}.toggle i:after{content:'';position:absolute;width:12px;height:12px;top:3px;left:3px;border-radius:50%;background:white;transition:transform .2s}.toggle input:checked+i{background:#996414}.toggle input:checked+i:after{transform:translateX(12px)}.toggle input:focus-visible+i{outline:3px solid #c88919;outline-offset:3px}#view-trial{min-height:34px;padding:7px 10px;background:#704c14;color:#fff;border-radius:5px;font-size:14px;white-space:nowrap}#view-trial:hover,#view-trial[aria-pressed=true]{background:#503509}.wall-stages{margin:0;padding:0;border:0;min-width:0}.wall-stages legend{font-size:12px;letter-spacing:1px;color:#63796c;margin-bottom:7px;padding:0}.stage-options{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.stage-option{display:flex;align-items:center;gap:6px;min-height:48px;padding:6px;border:1px solid #d5e0d8;border-radius:5px;background:#f0f5f1;color:#365446;cursor:pointer;font-size:14px;line-height:1.2}.stage-option input{accent-color:#1c5041;width:14px;height:14px;margin:0;flex:none}.stage-option:has(input:checked){background:#1c5041;border-color:#1c5041;color:#fff}.stage-option:has(input:checked) input{accent-color:#d6e8b4}.stage-option:has(input:focus-visible){outline:3px solid #e4ad41;outline-offset:2px}#stage-note{font-size:12px;color:#64786b;line-height:1.4;margin:8px 0 10px;min-height:34px}.view-buttons{display:flex;padding:3px;background:#edf2ef;border-radius:6px;gap:3px}.view-buttons button{background:none;padding:8px 5px;font-size:14px;border-radius:4px;flex:1;color:#566b63}.view-buttons .active{background:#1c5041;color:#fff}.layer-controls{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:12px}.layer-controls label{display:flex;align-items:center;gap:5px;font-size:14px;cursor:pointer}.layer-controls input{accent-color:#1c5041;margin:0;width:16px;height:16px}.panel.maximised{width:min(720px,calc(100% - 100px))}.panel.maximised .view-pane{grid-template-columns:1fr 1fr;align-items:start}.panel.minimised{width:280px}.panel.minimised .panel-head{padding:10px 12px}.panel.minimised h1{font-size:17px}.panel.minimised .panel-subtitle{font-size:12px}
.estimate-basis{font-size:14px;color:#597365}.estimate-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:13px 0}.estimate-card{padding:14px 10px;border:1px solid #ccdcd1;border-radius:8px;background:#f2f7f2}.estimate-card h2{font-size:14px}.estimate-card p{margin:5px 0;font-size:14px}.estimate-card .bag-total{margin:12px 0 7px;font-size:14px}.bag-total strong{display:block;font-size:32px;letter-spacing:-1px;line-height:1.1;color:#164737}.estimate-card small{font-size:12px;display:block;color:#5a7367;line-height:1.5}.trial-estimate{background:#fff6e2;border-color:#e7bf62}.trial-estimate .bag-total strong{color:#775114}.estimate-note{font-size:12px;color:#667c70;line-height:1.55}.reference-button{display:flex;align-items:center;justify-content:space-between;width:100%;background:#eaf0e6;color:#2a563f;font-size:14px;padding:11px 12px;border-radius:6px;margin-top:5px}
.scene-tools{position:absolute;right:16px;top:16px;display:flex;flex-direction:column;gap:6px;z-index:3}.scene-tools button{width:40px;height:40px;border:1px solid #c8d9d655;border-radius:7px;background:#ffffffed;color:#274d42;box-shadow:0 2px 8px #10282310;font-size:25px}.scene-tools button:hover{background:#e7f1e6}.bottom-bar{position:absolute;bottom:16px;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#fff;text-shadow:0 1px 6px #06272c;z-index:3}.model-basis{font-size:12px;letter-spacing:1px}.model-basis b{display:block;font-size:14px;letter-spacing:0;font-weight:400;margin-top:4px}.instructions{font-size:12px}.instructions em{padding:0 8px;font-style:normal;opacity:.5}#rotate{background:#153e3df0;border:1px solid #8db6ae55;border-radius:7px;color:white;padding:12px 14px;font-size:14px;white-space:nowrap}#rotate[aria-pressed=true]{background:#245c44;border-color:#b4d484}#rotate span{font-size:12px;margin-left:10px;color:#cbe4b5}.hotspot{position:absolute;width:29px;height:29px;border:2px solid #fff;border-radius:50%;background:#245b48;color:#fff;box-shadow:0 2px 10px #0004;font-size:12px;transform:translate(-50%,-50%);pointer-events:auto}#hotspots,#trial-markers{position:absolute;inset:0;pointer-events:none;overflow:hidden}.trial-marker{position:absolute;transform:translate(-50%,-100%);padding:6px 8px;border:1px solid #8a5b11;border-radius:5px;background:#ffcc66;color:#362500;font-size:14px;font-weight:700;line-height:1.3;white-space:nowrap;box-shadow:0 2px 8px #0003}
#point-card{position:absolute;right:72px;top:16px;background:white;border-radius:10px;padding:16px;width:320px;max-height:calc(100% - 86px);overflow:auto;box-shadow:0 8px 32px #092e3025;z-index:4}.point-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.eyebrow{font-size:12px;letter-spacing:1px;font-weight:700;color:#638175}#point-card h2{font-size:19px;margin:12px 0 8px}#point-card p{font-size:14px;line-height:1.55;color:#587069;margin:0 0 12px}#point-card.maximised{width:min(560px,calc(100% - 100px))}#point-photo{background:none;padding:0;font-size:14px;color:#255c41;text-decoration:underline;text-underline-offset:4px}#loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;padding:20px 30px;border-radius:10px;box-shadow:0 8px 30px #15332920;font-size:15px;z-index:8}
dialog{width:min(1120px,calc(100vw - 40px));height:min(800px,calc(100dvh - 48px));max-width:none;max-height:none;padding:0;border:0;border-radius:12px;background:#f9fcfa;color:#173d36;box-shadow:0 20px 90px #0005;overflow:hidden}dialog[open]{display:flex;flex-direction:column}dialog.maximised{width:calc(100vw - 20px);height:calc(100dvh - 20px)}dialog::backdrop{background:#0d242bb8;backdrop-filter:blur(6px)}.photo-head{padding:14px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none}.photo-head h2{font-size:20px;margin:5px 0 0}.photo-head .window-actions button{width:34px;height:34px}#photo-image{display:block;width:100%;min-height:0;flex:1;object-fit:contain;background:#102c29}.photo-foot{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;gap:16px;flex:none}.photo-foot button{background:#e9f0e9;color:#315a45;border-radius:6px;width:38px;height:38px;font-size:21px;flex:none}.photo-foot div{flex:1;min-width:0}.photo-foot b,.photo-foot span{font-size:14px}.photo-foot span{display:block;color:#647c70;margin-top:4px}#restore-photos{position:fixed;right:16px;bottom:74px;z-index:7;background:#fff;color:#1c5041;padding:12px 16px;border:1px solid #ccdace;border-radius:8px;box-shadow:0 3px 16px #0002;font-size:14px}
@media(max-height:760px){.panel-head{padding-block:10px}.tab-pane{padding-block:11px}.view-pane{gap:10px}.trial-summary{padding:10px}.trial-actions{margin-top:7px}#stage-note{margin-block:6px;min-height:0}.layer-controls{margin-top:10px}.panel-tabs button{padding-block:7px}}
@media(max-width:1000px){.instructions{display:none}.project-state>span{display:none}}
@media(max-width:640px){header{height:60px;padding:0 12px}.brand{gap:9px}.brand-logo{width:48px;height:48px}.brand b{font-size:15px;letter-spacing:2px}.brand small{font-size:10px}.project-state{font-size:12px;max-width:100px;text-align:right}main{height:calc(100dvh - 60px)}.panel{left:10px;top:auto;bottom:68px;width:calc(100% - 20px);max-height:calc(100% - 84px)}.panel-head{padding:10px 12px}.panel-head h1{font-size:19px}.panel-tabs button{padding-block:8px}.tab-pane{padding:12px}.panel.minimised{width:calc(100% - 20px)}.panel.maximised{width:calc(100% - 20px);top:10px;bottom:68px;max-height:none}.panel.maximised .view-pane{grid-template-columns:1fr}.scene-tools{top:10px;right:10px;gap:5px}.scene-tools button{width:35px;height:35px;font-size:22px}.bottom-bar{bottom:12px;left:12px;right:12px;gap:8px}.model-basis{font-size:10px}.model-basis b{font-size:12px;max-width:150px}#rotate{font-size:14px;padding:10px}#rotate span{margin-left:6px}.trial-marker{font-size:12px;padding:5px 7px}#point-card,#point-card.maximised{left:10px;right:10px;top:10px;width:auto;max-height:calc(100% - 82px)}#point-card.maximised{bottom:68px}.photo-head{padding:12px}.photo-head h2{font-size:17px}.photo-head .eyebrow{font-size:10px}.photo-head .window-actions{gap:3px}.photo-head .window-actions button{width:28px;height:30px}.photo-foot{padding:10px;gap:10px}.photo-foot b,.photo-foot span{font-size:12px}.photo-foot button{width:32px;height:34px}dialog{width:calc(100vw - 20px);height:calc(100dvh - 32px)}.estimate-card{padding:12px 10px}.bag-total strong{font-size:30px}}
@media(max-height:540px) and (min-width:641px){.panel{width:min(720px,calc(100% - 86px));top:10px;left:10px;max-height:calc(100% - 72px)}.view-pane,.detail-grid{grid-template-columns:1fr 1fr;align-items:start}.panel.minimised{width:280px}.panel-head{padding-block:7px}.panel-head h1{font-size:18px}.panel-subtitle{display:none}.panel-tabs button{padding-block:5px}.tab-pane{padding-block:9px}#stage-note{display:none}.estimate-grid{margin:8px 0}.estimate-card{padding:8px 10px}.estimate-card .bag-total{margin:5px 0}.bag-total strong{display:inline;font-size:26px}.estimate-note{margin-bottom:0!important}.estimate-card small{font-size:12px}}
@media(prefers-reduced-motion:reduce){.toggle i:after{transition:none}}

@media(max-height:680px){#stage-note{display:none}}
@media(max-height:680px) and (min-width:641px){.panel:not(.minimised):not(.maximised){width:min(660px,calc(100% - 86px))}.view-pane,.detail-grid{grid-template-columns:1fr 1fr;align-items:start}}

.composite-option{min-width:0;margin:10px 0 14px;padding:10px 12px;background:#edf2ef;border:1px solid #d5e0d8;border-radius:6px}.composite-option label{display:flex;align-items:center;gap:8px;font-size:14px;cursor:pointer}.composite-option input{accent-color:#1c5041;width:16px;height:16px;margin:0;flex:none}.composite-option small{display:block;margin-top:4px;font-size:12px;color:#64786b}.composite-option:has(input:disabled) label{color:#657b70;cursor:default}.estimate-card .post-total{border-top:1px solid #ccdcd1;padding-top:10px;margin:12px 0 5px;font-size:14px}.post-total strong{display:block;font-size:24px;line-height:1.2;letter-spacing:-.5px;color:#704d36}.post-spec{font-size:14px;line-height:1.45;color:#597365}.panel-tabs{grid-template-columns:.6fr 1.45fr 1fr}
.photos-pane{display:flex;flex-direction:column;gap:10px}.photos-pane h2{margin:0}.gallery-image-button{position:relative;display:block;width:100%;padding:0;overflow:hidden;border-radius:7px;background:#102c29}.gallery-image-button img{display:block;width:100%;height:auto;max-height:min(45dvh,360px);object-fit:contain;aspect-ratio:16/9}.gallery-image-button span{position:absolute;right:8px;bottom:8px;padding:5px 8px;border-radius:4px;background:#153e3ded;color:#fff;font-size:14px}.gallery-image-button:hover span{background:#245c44}.gallery-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px}.gallery-navigation button{min-height:36px;padding:8px 12px;border-radius:5px;background:#e9f0e9;color:#315a45;font-size:14px}.gallery-navigation button:hover{background:#dce9df}#gallery-count{font-size:14px;color:#526d60}#gallery-caption{margin:0;color:#597365;font-size:14px;line-height:1.45}

.header-actions{display:flex;align-items:center;gap:20px}#tour-start{background:#1b5041;color:#fff;border:1px solid #1b5041;border-radius:7px;padding:10px 14px;font-size:14px;font-weight:600;white-space:nowrap}#tour-start span{font-weight:400;opacity:.8;margin-left:8px}#tour-start:hover{background:#2b654c}#tour-start:disabled{opacity:.6;cursor:wait}.tour-player{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);width:min(760px,calc(100% - 32px));z-index:9;border:1px solid #c4d8cb;border-radius:12px;background:#fffffff5;box-shadow:0 8px 36px #102b3040;padding:14px 16px;backdrop-filter:blur(12px);color:#173d36}.tour-player-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.tour-player-heading strong{font-size:16px;display:block;line-height:1.35}#tour-status{display:block;font-size:13px;color:#60796d;margin-top:3px}.tour-actions{display:flex;gap:6px;flex:none}.tour-actions button{min-height:38px;padding:8px 12px;border-radius:6px;background:#e7eee9;color:#244e3e;font-size:14px}#tour-play{background:#1b5041;color:white;min-width:78px}#tour-stop{background:#fff;border:1px solid #c4d8cb}.tour-progress{display:flex;align-items:center;gap:12px;margin-top:12px;font-size:13px;font-variant-numeric:tabular-nums}.tour-progress span{min-width:32px}#tour-seek{flex:1;min-width:0;accent-color:#1b5041;cursor:pointer;margin:0;height:22px}.tour-running .bottom-bar,.tour-running #restore-photos{display:none!important}.tour-running .panel,.tour-running #point-card{max-height:calc(100% - 148px)}.tour-running .estimate-card.tour-focus{outline:3px solid #b98220;outline-offset:2px;background:#fff5dd}.tour-running .panel.tour-information{width:min(430px,calc(100% - 88px))}.tour-running .panel.tour-photographs{width:min(760px,calc(100% - 88px))}.tour-running .tour-photographs .gallery-image-button img{max-height:calc(100dvh - 425px);min-height:110px}.tour-running .tour-photographs .photos-pane{gap:8px}
#welcome{width:min(500px,calc(100vw - 32px));height:auto;max-height:calc(100dvh - 32px);padding:28px;overflow:auto;background:#f9fcfa;border:1px solid #d1dfd7}#welcome h2{font-size:28px;line-height:1.2;letter-spacing:-.5px;margin:12px 0}#welcome-description{font-size:16px;line-height:1.55;color:#526d60;margin:0 0 22px}.welcome-actions{display:grid;gap:10px}.welcome-actions button{display:block;width:100%;min-height:76px;padding:15px 18px;border:1px solid #b9cfc2;border-radius:8px;text-align:left;background:#fff;color:#1b5041}.welcome-actions strong{display:block;font-size:16px;font-weight:600;line-height:1.4}.welcome-actions span{display:block;margin-top:4px;font-size:14px;line-height:1.45}.welcome-actions button:hover{background:#e8f1eb}#welcome-tour{background:#1b5041;border-color:#1b5041;color:#fff}#welcome-tour:hover{background:#2b654c}#welcome-tour:disabled{opacity:.6;cursor:wait}#welcome-status{font-size:14px;line-height:1.5;color:#60796d;margin:18px 0 0}
@media(max-width:480px){#welcome{padding:22px}#welcome h2{font-size:25px}.welcome-actions button{padding:14px}}
@media(max-width:800px){.header-actions{gap:10px}.header-actions .project-state{display:none}}
@media(max-width:640px){#tour-start{font-size:14px;padding:9px 10px}#tour-start span{display:none}.tour-player{bottom:10px;width:calc(100% - 20px);padding:11px 12px}.tour-player-heading{align-items:flex-start;gap:8px}.tour-player-heading strong{font-size:14px}#tour-status{font-size:12px}.tour-actions{gap:4px;flex-wrap:wrap;justify-content:flex-end;max-width:175px}.tour-actions button{font-size:13px;padding:7px 9px;min-height:34px}#tour-play{min-width:66px}#tour-restart{display:none}.tour-progress{margin-top:7px;gap:8px}.tour-running .panel,.tour-running .panel.maximised,.tour-running .panel.tour-information,.tour-running .panel.tour-photographs{bottom:140px;top:auto;width:calc(100% - 20px);max-height:calc(100% - 156px)}.tour-running .tour-photographs .gallery-image-button img{max-height:calc(100dvh - 425px)}.tour-running #point-card{max-height:calc(100% - 150px)}}
@media(max-height:540px) and (min-width:641px){.tour-player{bottom:8px;padding:8px 12px}.tour-progress{margin-top:4px}.tour-running .panel,.tour-running #point-card{max-height:calc(100% - 106px)}.tour-running .panel.tour-photographs{width:min(700px,calc(100% - 90px))}.tour-running .tour-photographs .photos-pane{display:grid;grid-template-columns:minmax(180px,1.6fr) minmax(140px,1fr);gap:8px 14px}.tour-running .tour-photographs #gallery-title{grid-column:1/-1}.tour-running .tour-photographs .gallery-image-button{grid-row:2/4;align-self:start}.tour-running .tour-photographs .gallery-image-button img{max-height:calc(100dvh - 290px);min-height:72px}.tour-running .tour-photographs .gallery-navigation{grid-column:2;align-self:start;gap:4px}.tour-running .tour-photographs .gallery-navigation button{padding:6px;font-size:13px}.tour-running .tour-photographs #gallery-caption{grid-column:2;font-size:13px}}

.composite-option legend{font-size:12px;letter-spacing:.8px;color:#63796c;padding:0 4px}.edge-choices{display:grid;grid-template-columns:1.15fr 1fr;gap:6px}.edge-choices label{padding:8px 7px;min-height:42px;background:#fff;border:1px solid #cbd9d0;border-radius:5px;line-height:1.3}.edge-choices label:has(input:checked){background:#1b5041;color:#fff;border-color:#1b5041}.edge-choices label:has(input:checked) input{accent-color:#d6e8b4}.edge-choices label:has(input:disabled){opacity:.6}.composite-option .edge-visibility{margin-top:10px}.edge-estimate-label{font-size:14px;color:#704d36;font-weight:600;line-height:1.4}

/* Branding stays inside the workspace for fullscreen and guided-tour recordings. */
.model-watermark{position:absolute;right:24px;bottom:82px;z-index:1;pointer-events:none;user-select:none;color:#fff;opacity:.38;font-size:clamp(28px,3vw,46px);font-weight:800;letter-spacing:1.5px;line-height:1;text-shadow:0 1px 3px #153e3d80;white-space:nowrap}
.model-watermark sup{font-size:.42em;vertical-align:super;letter-spacing:0;margin-left:2px}
.tour-running .model-watermark{bottom:148px}
@media(max-width:640px){.model-watermark{right:16px;bottom:152px;font-size:28px}.tour-running .model-watermark{bottom:224px}}
@media(max-width:420px){.brand small{display:none}.brand{gap:8px}}
