/* One workspace: permanent model, progress dock, independently scrolling tools. */
body{height:100dvh;overflow:hidden}header{height:62px;padding:0 20px;gap:20px}.monogram{width:35px;height:35px;border-radius:10px}.brand{font-size:13px}.brand small{font-size:7px}.header-tag{font-size:11px}.header-tools button{min-height:34px;padding:8px 11px}.layout{height:calc(100dvh - 62px);min-height:0;max-width:none;grid-template-columns:192px minmax(0,1fr);align-items:stretch}.timeline{position:static;height:auto;min-height:0;overflow-y:auto;padding:18px 10px}.intro{padding:0 8px 12px}.intro h1{font-size:20px;margin:10px 0}.intro p{font-size:10px}.start-button{margin-bottom:10px;padding:10px;font-size:10px}#stages button{padding:9px 7px;gap:7px}#stages strong{font-size:10px}#stages small{font-size:8px}.timeline-filter button{font-size:9px}.timeline-footer{padding:13px 8px;margin-top:15px}main{height:100%;min-height:0;display:flex;flex-direction:column;padding:12px 14px 7px;overflow:hidden}.heading{min-height:48px;margin:0 0 8px;gap:12px}.heading h2{font-size:21px;margin:5px 0 0;line-height:1.2}.heading .eyebrow{font-size:8px}.foundation-size{font-size:9px;margin:5px 0 0}.heading-actions button{font-size:10px;padding:8px;min-height:32px}.workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;min-height:40px}.workspace-modes{display:flex;gap:4px;background:#e5ece7;padding:4px;border-radius:8px}.workspace-modes button{padding:9px 13px;border-radius:5px;font-size:11px;white-space:nowrap;color:#637e71}.workspace-modes button[aria-selected=true]{background:#fff;color:#22684e;font-weight:700;box-shadow:0 1px 4px #244a3510}#workspace-progress{font-size:10px;color:#6d8778;text-align:right}#stage-toggle{display:none}.workbench{display:grid;grid-template-columns:minmax(0,1fr) 324px;gap:12px;flex:1;min-height:0}.scene-column{min-width:0;min-height:0;display:flex;flex-direction:column;gap:9px}.model-card{min-height:0;flex:1;display:flex;flex-direction:column;border-radius:10px}.camera-bar{flex:none;min-height:39px;padding:5px 7px;overflow-x:auto;scrollbar-width:thin}.camera-bar button{font-size:9px;padding:7px 9px}.camera-divider{min-width:3px}.model-viewport{height:auto!important;max-height:none!important;min-height:150px;flex:1}.model-topline{inset:12px 12px auto}.model-badge{font-size:8px;padding:7px 9px}.source-badge{font-size:8px;padding:7px;display:block;max-width:44%}.last-piece{left:12px;bottom:40px;font-size:9px;max-width:90%;padding:8px 10px}.compass{bottom:13px;left:12px;font-size:9px}.compass span{font-size:8px}#save-image{right:12px;bottom:11px;font-size:9px}.tools-panel{min-height:0;overflow-y:auto;background:#fff;border:1px solid #d4e0d8;border-radius:10px;scrollbar-width:thin;overscroll-behavior:contain}.tools-heading{position:sticky;top:0;background:#fff;z-index:2;border-bottom:1px solid #e3eae4;padding:14px 15px 11px}.tools-heading .eyebrow{font-size:7px}.tools-heading h3{font-size:16px;margin:6px 0 0}.step-information{padding:15px;border-bottom:1px solid #e5ece6}.step-information h3{font-size:15px;line-height:1.4;margin:8px 0}.step-information p{font-size:11px;line-height:1.7;color:#6b8175;margin:0}.tools-panel .flow-card,.tools-panel .room-inspection,.tools-panel .pour-walkthrough{border:0;border-radius:0;margin:0;padding:15px;background:transparent}.tools-panel h3{font-size:16px}.tools-panel .flow-card>h3,.tools-panel .flow-card>.eyebrow{display:none}.flow-choices{display:flex;gap:10px;flex-direction:column;align-items:stretch}.flow-choices label{display:flex;width:100%;justify-content:space-between;gap:8px;font-size:11px}.flow-card select{font-size:11px;padding:8px;max-width:218px}.flow-choices button{width:100%;font-size:12px}.tools-panel .flow-card>p{font-size:11px;margin:0 0 13px}.mep-parts{gap:8px}.mep-parts select{width:100%;max-width:100%}.mep-parts button{width:100%;font-size:11px}.mep-parts span{font-size:9px;line-height:1.6}.service-context{border-top:1px solid #e3eae4;border-bottom:1px solid #e3eae4;padding:13px 0;margin-top:14px;display:flex;flex-direction:column;gap:10px}.service-context label{display:flex;gap:7px;align-items:center;font-size:11px;color:#42694e}.service-context label:has(select){justify-content:space-between}.service-context select{max-width:190px}.service-context input{accent-color:#317859}.service-context p{font-size:10px;margin:0!important;color:#7f805e;line-height:1.6}.flow-trace-choice{justify-content:space-between;font-size:11px;gap:5px}.flow-trace-choice select{max-width:205px}.flow-navigation{display:grid;grid-template-columns:1fr 1fr;gap:6px}.flow-navigation button{font-size:10px;padding:9px 6px;min-height:38px}.flow-scrub{font-size:10px;gap:7px;margin:12px 0}.flow-camera{font-size:10px}#flow-status{font-size:11px;line-height:1.6}#mep-summary{font-size:10px;line-height:1.7;padding:8px}.workspace-details{font-size:11px;color:#6b806c;padding:9px 0}.workspace-details summary{cursor:pointer;font-size:11px}#flow-basis{font-size:10px;line-height:1.7}.tools-panel .model-controls{padding:15px;border-top:1px solid #e5ece6;gap:12px;flex-direction:column;align-items:stretch}.tools-panel .model-controls label{font-size:11px;justify-content:flex-start}.tools-panel .model-controls .level-cut,.tools-panel .service-floor-control{margin:0;width:100%;justify-content:space-between;padding-top:8px}.tools-panel .model-controls select{max-width:175px}.tools-panel .pour-heading{flex-direction:column;align-items:stretch;gap:10px}.pour-heading h3{font-size:16px}.pour-heading label,.inspection-bay{font-size:10px;justify-content:space-between;gap:5px}.pour-heading select{max-width:182px;font-size:10px}.pour-phases{grid-template-columns:repeat(2,1fr);gap:5px;margin:12px 0}.pour-phases button{font-size:10px;padding:8px 4px;min-height:37px}.pour-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:5px}.pour-shortcuts button{font-size:10px;padding:9px 5px}.pour-shortcuts #next-columns{grid-column:1/-1}.inspection-bay{flex-wrap:wrap}.inspection-bay select{max-width:100%;font-size:10px}.pour-basis{font-size:9px;line-height:1.7}.room-inspection-heading{flex-direction:column;align-items:stretch;gap:6px}.room-inspection-heading label{justify-content:space-between}.room-inspection-heading .eyebrow{font-size:7px}.room-inspection-heading h3{font-size:16px}.room-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px}.room-actions button{font-size:10px;padding:9px 6px;min-height:36px}.room-actions #entrance-walk,.room-actions #leave-rooms{grid-column:1/-1}.room-options{gap:12px;flex-direction:column;align-items:flex-start}.room-options label{font-size:11px}#room-explanation{font-size:11px;line-height:1.8}.room-catalog{max-height:none}.room-catalog button{font-size:10px}.room-basis{font-size:9px}.entrance-steps{grid-template-columns:repeat(5,1fr);gap:3px}.entrance-steps button{flex-direction:column;padding:7px 2px;font-size:8px;text-align:center;gap:4px}.entrance-steps b{width:21px;height:21px;font-size:10px}.entrance-panel h3{font-size:18px}.entrance-panel #entrance-instruction{font-size:12px}.entrance-navigation{display:grid;grid-template-columns:1fr 1fr;gap:5px}.entrance-navigation button{font-size:10px;padding:8px;min-height:36px}.entrance-navigation .room-primary{min-width:0}.entrance-choice{font-size:11px}.entrance-choice select{font-size:11px;padding:7px}.entrance-note{font-size:9px}.build-dock{margin:0;border-radius:9px;padding:10px 13px;flex:none;min-height:135px;max-height:158px;overflow:hidden}.dock-top{gap:10px;align-items:center}.dock-top .eyebrow{font-size:7px}.dock-top h3{font-size:14px;margin:5px 0 0;line-height:1.3;max-height:35px;overflow:hidden}.dock-top #next-detail{display:none}.dock-progress{min-width:45px}.dock-progress strong{font-size:22px}.dock-progress span{font-size:8px;max-width:70px}.dock-actions{margin:8px 0;gap:7px}.dock-actions button{min-height:33px;padding:8px 11px;font-size:10px}.dock-actions .primary{max-width:none}.dock-actions .member{padding:8px;font-size:9px}.scrubber{gap:8px}.scrubber button{font-size:9px}#step-count{font-size:8px;min-width:68px}.source-line{margin-top:8px;font-size:8px}.source-line button{font-size:9px}.tools-panel .action-review{margin:0 14px 14px;font-size:10px;padding:10px;line-height:1.7}.workspace-source{padding:12px 15px;font-size:10px;color:#41745b}.workspace-footer{height:22px;display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#819286;gap:10px;padding-top:5px}.workspace-footer button{font-size:8px;color:#577e69}.review-dock{padding:13px;background:#fff;border:1px solid #cfddd3;border-radius:9px;min-height:86px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none}.review-dock strong{font-size:14px}.review-dock p{font-size:10px;color:#6d8373;line-height:1.6;margin:7px 0 0}.review-actions{display:flex;gap:6px;flex:none}.review-actions button{min-height:36px;padding:10px 12px;border:1px solid #cbdcd0;border-radius:6px;font-size:11px;color:#3c7052}#review-next,#review-play{background:#2d7959;color:white;border-color:#2d7959}.part-inspector{margin:0;max-height:95px;overflow:auto;flex:none;padding:10px}.part-inspector h3{font-size:11px}.service-legend{padding:7px 10px;font-size:8px;gap:9px;flex:none}.service-legend small{display:none}#inside-storey{color:#2e7357;font-weight:650}
@media(min-width:1500px){.workbench{grid-template-columns:minmax(0,1fr) 350px}.layout{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:1200px){.layout{grid-template-columns:165px minmax(0,1fr)}.workbench{grid-template-columns:minmax(0,1fr) 300px;gap:9px}.intro h1{font-size:17px}.heading h2{font-size:18px}.heading-actions{max-width:210px}.source-badge{display:none}.workspace-modes button{padding:8px 10px;font-size:10px}#workspace-progress{font-size:9px}.camera-bar button{padding:7px 6px;font-size:8px}}
@media(max-width:1000px){header{height:56px;padding:0 12px}.layout{height:calc(100dvh - 56px);display:block}.timeline{display:none}.layout main{padding:8px;height:100%;width:100%}.heading{min-height:42px;margin-bottom:6px}.heading h2{font-size:16px;max-width:70vw;line-height:1.25}.heading .eyebrow{font-size:7px}.heading-actions{display:none}.foundation-size{display:none}.workspace-bar{margin-bottom:7px;min-height:39px;gap:5px}.workspace-modes{gap:1px;padding:3px;flex:1;justify-content:space-between}.workspace-modes button{font-size:10px;padding:8px 7px;flex:1}#workspace-progress{display:none}#stage-toggle{display:block;font-size:10px;padding:8px;border:1px solid #cfddd3;background:white;border-radius:6px;white-space:nowrap}.workbench{display:flex;flex-direction:column;gap:8px;min-height:0}.scene-column{flex:0 0 59%;min-height:290px;gap:7px}.tools-panel{flex:1;min-height:120px}.tools-heading{padding:10px 12px;display:flex;gap:10px;align-items:center;justify-content:space-between}.tools-heading h3{font-size:14px;margin:0}.tools-heading .eyebrow{font-size:7px}.camera-bar{min-height:34px;padding:4px}.camera-bar button{font-size:8px;padding:6px}.model-viewport{min-height:120px}.model-badge{font-size:7px;max-width:90%;padding:6px}.model-topline{inset:9px}.last-piece{font-size:8px;left:9px;bottom:32px;max-width:95%;padding:6px 8px}.compass{left:9px;bottom:9px;font-size:8px}.compass span{display:none}#save-image{bottom:8px;right:9px;font-size:8px}.build-dock{min-height:119px;max-height:124px;padding:8px 10px}.dock-top h3{font-size:12px;max-height:30px}.dock-top .eyebrow{font-size:6px}.dock-progress strong{font-size:19px}.dock-progress span{font-size:7px}.dock-actions{margin:6px 0;flex-wrap:nowrap}.dock-actions button{font-size:9px;padding:7px 9px;min-height:30px}.dock-actions .member{width:auto;min-height:30px;font-size:8px;margin:0;padding:6px;max-width:80px}.scrubber{flex-wrap:nowrap;gap:6px}.scrubber button{font-size:8px}.source-line{margin-top:6px;gap:5px}.source-line button{font-size:8px}.source-line span{font-size:7px}#step-count{font-size:7px;min-width:56px}.workspace-footer{height:17px;font-size:7px}.workspace-footer button{font-size:7px}.review-dock{min-height:79px;padding:9px;gap:7px}.review-dock strong{font-size:12px}.review-dock p{font-size:9px;max-height:28px;overflow:hidden}.review-actions{gap:4px}.review-actions button{padding:8px 9px;font-size:10px;min-height:34px}.tools-panel .flow-card,.tools-panel .room-inspection,.tools-panel .pour-walkthrough{padding:12px}.flow-choices{flex-direction:row;flex-wrap:wrap}.flow-choices label{flex:1;min-width:200px}.flow-choices button{flex-basis:100%}.flow-card select{font-size:11px;max-width:240px}.mep-parts select{max-width:100%}.body-placeholder{display:none}.timeline-filter{max-width:none}.stages-open .timeline{display:block;position:fixed;left:8px;top:105px;bottom:20px;width:280px;height:auto;z-index:30;border:1px solid #c8d9cc;border-radius:10px;box-shadow:0 10px 60px #24493644;overflow:auto;padding:12px}.stages-open #stages{flex-direction:column;overflow:visible}.stages-open #stages button{min-width:0;width:100%;border:0}.stages-open #stages small{display:block}.stages-open .timeline-footer{display:flex}.stages-open .timeline .start-button{display:block}.room-label{font-size:8px}}
@media(max-height:700px) and (min-width:1001px){.heading{min-height:36px}.heading h2{font-size:18px}.workspace-bar{min-height:34px;margin-bottom:7px}.build-dock{min-height:118px;max-height:128px}.dock-actions{margin:6px 0}.intro p{display:none}.tools-heading{padding:10px 13px}}

@media(max-width:1000px) and (min-width:650px) and (max-height:600px){header{height:48px}.layout{height:calc(100dvh - 48px)}.heading{display:none}.workspace-bar{min-height:33px;margin-bottom:5px}.workbench{display:grid;grid-template-columns:minmax(0,1fr) 280px}.scene-column{min-height:0}.tools-panel{min-height:0}.model-viewport{min-height:80px}.build-dock{min-height:100px;max-height:105px}.dock-top .eyebrow{display:none}.dock-top h3{max-height:17px}.source-line{display:none}.review-dock{min-height:64px}.workspace-footer{height:16px}}

@media(max-width:1000px){.stages-open .timeline{top:156px}}
@media(max-width:1000px) and (min-width:650px) and (max-height:600px){.stages-open .timeline{top:98px}}

@media(max-width:1000px){.model-topline{inset:9px 9px auto}}

#review-build-next{background:#e7f2e8;border-color:#9fbea7;color:#2c6747}@media(max-width:1000px){.review-dock{flex-direction:column;align-items:stretch;gap:7px;min-height:91px}.review-dock p{margin-top:4px;max-height:15px}.review-actions{justify-content:flex-end;gap:4px}.review-actions button{flex:1;padding:8px 5px;font-size:9px}.review-dock strong{font-size:11px}}

#build-mep-layers label{display:flex;align-items:center;gap:9px;margin:12px 0;font-size:13px}#build-mep-layers input{accent-color:#2e7c62}#build-mep-layers p{font-size:12px;line-height:1.5}#built-mep-count{font-weight:700;color:#246b54}
/* Everyday navigation: three views, grouped stages and optional settings. */
.workspace-modes button{font-size:12px;min-height:38px;padding:10px 15px}
.workspace-modes button[aria-pressed=true]{background:#fff;color:#22684e;font-weight:700;box-shadow:0 1px 4px #244a3510}
.workspace-modes button[aria-pressed=false]{background:transparent;box-shadow:none;font-weight:500;color:#637e71}
.tools-heading .eyebrow{display:none}.tools-heading h3{margin:0;font-size:17px}
.step-information{padding:16px}.step-information .eyebrow{font-size:9px}.step-information h3{font-size:15px}.step-information p{font-size:13px;line-height:1.65}
.easy-navigation{padding:16px;border-bottom:1px solid #e3eae4;display:grid;gap:7px}.easy-navigation>.eyebrow{font-size:9px;margin-bottom:3px}.easy-navigation label{font-size:12px;color:#456052;font-weight:600}.easy-navigation select{width:100%;min-width:0;min-height:40px;padding:9px 10px;background:#f8faf8;border:1px solid #cbdacf;border-radius:7px;color:#244b3b;font:inherit;font-size:12px}.stage-arrows{display:flex;gap:7px;margin-top:4px}.stage-arrows button{flex:1;min-height:40px;font-size:11px;border:1px solid #cfddd2;border-radius:7px;background:white;color:#2b6d52}.easy-navigation p{font-size:11px;color:#718477;margin:2px 0 0}
.easy-view-status{margin:13px 15px;padding:10px 12px;border-radius:7px;background:#edf4ee;color:#35664d;font-size:12px;line-height:1.6}.pipes-view .easy-view-status{background:#e7f2f9;color:#23577c}
#build-mep-layers,.simple-settings{padding:0;border-top:1px solid #e4ebe6;font-size:12px}.simple-settings>summary,#build-mep-layers>summary{padding:16px;font-size:13px;font-weight:600;color:#315845;cursor:pointer}.simple-settings[open]>summary,#build-mep-layers[open]>summary{background:#f4f8f4}#build-mep-layers>p,#build-mep-layers>label{margin-left:16px;margin-right:16px}#build-mep-layers>p{font-size:11px}#build-mep-layers label{font-size:12px}.mep-parts{padding:10px 16px 16px;margin:0}.mep-parts strong{display:none}.mep-parts button{background:#eaf3ec;border:1px solid #b5d0bd;border-radius:7px;min-height:40px;font-size:12px}.mep-parts span{font-size:11px}.tools-panel .model-controls{border:0}.tools-panel .model-controls label{font-size:12px}.workspace-source{font-size:11px;min-height:40px}
#stages{display:block}.stage-group{border-bottom:1px solid #dce6df;margin:0}.stage-group>summary{cursor:pointer;padding:14px 7px;color:#355b47;font-size:12px;font-weight:650;list-style-position:inside;line-height:1.5}.stage-group>summary small{font-weight:400;color:#7a8e7f;display:block;margin-left:14px;font-size:10px}.stage-group>div{padding:0 0 8px}#stages .stage-group button{width:100%;padding:10px 7px;min-height:40px}#stages .stage-group strong{font-size:11px;font-weight:500}#stages .stage-group .active strong{font-weight:700}.stage-group .stage-dot{flex:none}.intro h1{font-size:19px}.intro p{font-size:11px}.timeline-filter button{font-size:11px;min-height:36px}.start-button{font-size:11px;min-height:40px}.timeline-footer button,.timeline-footer a{font-size:11px}
.camera-bar{overflow:visible;position:relative;z-index:4;gap:3px;flex-wrap:nowrap}.camera-bar button{font-size:11px;min-height:36px;padding:8px 10px;white-space:nowrap}.camera-more{position:relative;color:#446b54;font-size:11px;flex:none}.camera-more summary{list-style:none;cursor:pointer;padding:10px;white-space:nowrap;min-height:36px}.camera-more>div{position:absolute;top:calc(100% + 5px);left:0;min-width:150px;padding:7px;background:white;border:1px solid #cddbd1;border-radius:9px;box-shadow:0 10px 25px #17372c22;display:flex;flex-direction:column;z-index:20}.camera-more>div button{text-align:left;min-height:40px}.camera-bar .camera-divider{margin-left:auto}
.progress-menu{position:relative;font-size:12px;color:#335846}.progress-menu>summary{list-style:none;cursor:pointer;padding:10px 13px;border:1px solid #d4dfd7;border-radius:7px;min-height:38px;background:white}.progress-menu>div{position:absolute;right:0;top:calc(100% + 7px);width:185px;background:#fff;border:1px solid #d4dfd7;border-radius:9px;padding:7px;box-shadow:0 10px 25px #17372c22;display:grid;gap:5px;z-index:50}.header-tools .progress-menu button{min-height:40px;text-align:left;font-size:12px}header{position:relative;z-index:30}
.dock-actions button{font-size:12px;min-height:38px}.dock-actions .member{font-size:11px}.dock-top h3{font-size:15px}#step-count{font-size:10px;min-width:83px}.scrubber button{font-size:11px;min-height:30px}.build-dock{min-height:153px;max-height:165px}.source-line button{font-size:10px}.scrubber input[type=range]{min-width:30px;cursor:pointer}.workspace-footer{font-size:10px}.workspace-footer button{font-size:10px}button:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #4388b9;outline-offset:3px}
@media(max-width:1200px){.camera-bar button,.camera-more summary{padding:8px 7px;font-size:10px}.workspace-modes button{font-size:11px;padding:9px 12px}}
@media(max-width:1000px){.workspace-modes button{font-size:11px;min-height:38px;padding:8px}.heading h2{font-size:17px}.camera-bar button,.camera-more summary{font-size:10px;min-height:34px;padding:8px 6px}.camera-bar{gap:0}.camera-bar #close-up{display:none}.camera-bar .camera-divider{min-width:0}.model-viewport{min-height:110px}.scene-column{flex-basis:60%;min-height:290px}.build-dock{min-height:140px;max-height:145px}.dock-actions button{font-size:11px;min-height:36px;padding:8px}.dock-actions .member{font-size:9px;max-width:76px}.scrubber button{font-size:10px;min-height:25px}#step-count{font-size:9px;min-width:75px}.source-line{margin-top:5px}.source-line span{font-size:8px}.easy-navigation{padding:13px}.step-information{padding:13px}.step-information p{font-size:12px}.tools-heading{min-height:41px}.tools-heading h3{font-size:15px}.stage-group>summary{font-size:13px}.stages-open #stages{display:block}.stages-open #stages .stage-group button{display:flex;min-width:0}.workspace-footer{font-size:8px}.workspace-footer button{font-size:9px}.header-tag{display:none}.progress-menu>summary{font-size:11px;padding:9px}.header-tools{gap:6px}.brand{font-size:11px}.camera-more>div{left:auto;right:0}}
@media(max-width:1000px) and (min-width:650px) and (max-height:600px){.build-dock{min-height:126px;max-height:130px}.scene-column{min-height:0}.dock-top h3{font-size:12px}.dock-actions{margin:5px 0}.dock-actions button{min-height:33px}.camera-bar button,.camera-more summary{font-size:9px;padding:6px;min-height:30px}}

#step-details .step-information{border-bottom:0}#step-details .step-information>.eyebrow{display:none}#step-details .step-information h3{margin-top:0}.easy-navigation select:focus{border-color:#4388b9}
@media(max-width:650px){.scene-column{flex-basis:68%;min-height:350px}.model-viewport{min-height:175px}.model-card>.service-legend{display:none!important}.last-piece{font-size:8px;max-width:92%;padding:6px}.dock-top h3{font-size:12px}.tools-heading{position:sticky}.heading{min-height:36px}.heading h2{font-size:15px}.heading .eyebrow{font-size:6px}.workspace-modes button{font-size:10px;padding:8px 5px}.easy-navigation{padding:12px}.easy-view-status{margin:10px 12px}.workspace-footer>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.workspace-footer>button{white-space:nowrap;flex:none}}
/* Full-screen mobile model. Controls are floating launchers and modal sheets. */
.mobile-workspace{display:none}#mobile-sheet{display:none}
@media(max-width:1000px){
 body.mobile-model-first{height:100dvh;overflow:hidden;background:#dce6e6}
 .mobile-model-first>header,.mobile-model-first .layout .heading,.mobile-model-first .layout .workspace-bar,.mobile-model-first .layout .workspace-footer,.mobile-model-first .layout .camera-bar,.mobile-model-first .layout .build-dock,.mobile-model-first .layout .tools-panel,.mobile-model-first .layout #review-dock,.mobile-model-first .layout .part-inspector{display:none!important}
 .mobile-model-first .layout{position:fixed;inset:0;height:100dvh;min-height:0;display:block}
 .mobile-model-first .layout main{padding:0;height:100%;width:100%;display:block}
 .mobile-model-first .workbench{display:block;height:100%;width:100%;min-height:0}
 .mobile-model-first .scene-column{display:block;height:100%;min-height:0;width:100%}
 .mobile-model-first .model-card{height:100%;width:100%;border:0;border-radius:0;display:block;overflow:hidden}
 .mobile-model-first .model-viewport{height:100%!important;min-height:0;width:100%;max-height:none}
 .mobile-model-first .model-card>.service-legend,.mobile-model-first .model-topline,.mobile-model-first .last-piece,.mobile-model-first .compass,.mobile-model-first #save-image{display:none!important}
 .mobile-model-first #preview-banner{top:calc(80px + env(safe-area-inset-top));font-size:12px}
 .mobile-workspace{display:block;position:fixed;inset:0;pointer-events:none;z-index:35}
 .mobile-heading{position:absolute;top:calc(14px + env(safe-area-inset-top));left:calc(14px + env(safe-area-inset-left));right:calc(14px + env(safe-area-inset-right));display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
 .mobile-project{padding:11px 15px;background:#fffffff0;border:1px solid #ffffffc9;border-radius:14px;box-shadow:0 4px 18px #193d3010;font-size:10px;font-weight:750;letter-spacing:1.8px;color:#446859;max-width:65%}
 .mobile-project>span{display:block;margin-top:5px;color:#193f32;letter-spacing:0;font-size:15px;font-weight:650}
 #mobile-fit{pointer-events:auto;min-height:46px;padding:12px 16px;background:#fffffff2;border:1px solid #ffffffb8;border-radius:14px;box-shadow:0 4px 18px #193d3014;font-size:14px;color:#234f3d}
 .mobile-floating{position:absolute;bottom:calc(18px + env(safe-area-inset-bottom));left:calc(14px + env(safe-area-inset-left));right:calc(14px + env(safe-area-inset-right));display:flex;justify-content:center;gap:9px;pointer-events:auto}
 .mobile-floating button{min-height:54px;flex:1;max-width:190px;background:#fffffff5;color:#28533f;border:1px solid #ffffffd9;border-radius:17px;box-shadow:0 5px 24px #173b3026;padding:12px 9px;font-size:13px;font-weight:600;display:flex;justify-content:center;align-items:center;gap:7px}
 .mobile-floating button>span[aria-hidden]{font-size:20px;font-weight:500;line-height:1}
 #mobile-progress{background:#25684f;color:white;border-color:#25684f;flex:1.35}
 #mobile-sheet[open]{display:flex;flex-direction:column;position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:650px;max-height:min(80dvh,740px);border:0;border-radius:24px 24px 0 0;padding:0;color:#284e3d;background:#fff;box-shadow:0 -12px 60px #143b3526;overflow:hidden}
 #mobile-sheet::backdrop{background:#122f2530;backdrop-filter:blur(2px)}
 .mobile-sheet-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #e6eee8;flex:none;gap:12px}
 .mobile-sheet-heading h2{font-size:19px;margin:0;font-weight:700}.mobile-sheet-heading button{font-size:14px;color:#28583f;min-height:44px;padding:10px 13px;background:#eef5ee;border-radius:12px}
 .mobile-sheet-body{overflow-y:auto;overscroll-behavior:contain;padding:0 0 calc(16px + env(safe-area-inset-bottom));min-height:0;scrollbar-width:thin}
 .mobile-view-choices{padding:2px 18px 0}.mobile-view-choices>p{font-size:13px;color:#728575;margin:13px 0}.mobile-view-choices h3{font-size:13px;color:#647f6b;margin:22px 0 10px;font-weight:600}
 .mobile-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .mobile-presets button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:100px;padding:13px 15px;border:1px solid #d9e4dc;border-radius:14px;background:#f9fbf9;color:#315641;text-align:left}
 .mobile-presets button b{font-size:24px;line-height:1.1;font-weight:500;color:#4d8064}.mobile-presets button strong{font-size:15px}.mobile-presets button span{font-size:12px;color:#728577}
 .mobile-presets button[aria-pressed=true]{border:2px solid #34795b;padding:12px 14px;background:#eaf5ed}.mobile-presets button[aria-pressed=true] strong{color:#246645}
 #mobile-sheet .camera-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 18px 15px;gap:8px;min-height:0;border:0;overflow:visible;background:transparent}
 #mobile-sheet .camera-bar button{display:block!important;min-height:44px;font-size:13px;text-align:center;border:1px solid #dbe5de;border-radius:9px;background:#f7faf7;padding:10px 4px}
 #mobile-sheet .camera-bar button.active{background:#e6f1e9;border-color:#699c7a;color:#236340}
 #mobile-sheet .camera-more,#mobile-sheet .camera-more>div{display:contents}#mobile-sheet .camera-more>summary,#mobile-sheet .camera-divider{display:none}
 #mobile-sheet .build-dock{display:block;min-height:0;max-height:none;overflow:visible;border:0;border-radius:0;padding:18px;margin:0}
 #mobile-sheet .dock-top h3{font-size:16px;max-height:none;line-height:1.4}#mobile-sheet .dock-top .eyebrow{display:block;font-size:9px}#mobile-sheet .dock-progress{display:none}
 #mobile-sheet .dock-actions{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 10px}#mobile-sheet .dock-actions button{min-height:46px;font-size:13px}#mobile-sheet .dock-actions .member{max-width:none;width:100%;min-height:36px;text-align:right;font-size:12px}
 #mobile-sheet .scrubber{display:flex;flex-wrap:wrap;gap:8px}#mobile-sheet #step-count{font-size:12px;min-width:100px}#mobile-sheet #seek{height:36px;flex:1;min-width:120px}#mobile-sheet #stage-end{min-height:40px;width:100%;text-align:right;font-size:12px}
 #mobile-sheet .source-line{display:flex;margin-top:10px;gap:8px}#mobile-sheet .source-line button{font-size:12px;min-height:40px}#mobile-sheet .source-line span{font-size:10px}
 #mobile-sheet .easy-navigation{padding:18px}#mobile-sheet .easy-navigation select{min-height:46px;font-size:14px}#mobile-sheet .easy-navigation label{font-size:13px}.mobile-all-stages{margin:10px 18px 0;min-height:44px;padding:10px 14px;border:1px solid #cfdfd2;border-radius:10px;color:#2f6d4b;font-size:13px}
 #mobile-sheet .heading-actions{display:flex!important;max-width:none;padding:14px 18px 0;gap:8px;flex-wrap:wrap}#mobile-sheet .heading-actions button{font-size:12px;min-height:42px;flex:1;padding:9px}
 #mobile-sheet .header-tools{display:flex;justify-content:flex-start;padding:12px 18px;gap:10px}#mobile-sheet .header-tools #help{font-size:14px;min-height:42px;min-width:42px}#mobile-sheet .progress-menu>div{left:0;right:auto}
 #mobile-sheet .tools-panel{display:block;max-height:none;overflow:visible;border:0;border-radius:0;min-height:0}#mobile-sheet .tools-heading{position:static}#mobile-sheet[data-panel=options] .easy-navigation{display:none}
 #mobile-sheet .room-actions button{min-height:44px;font-size:12px}#mobile-sheet .room-options label{font-size:13px}#mobile-sheet .room-inspection-heading label{font-size:13px}#mobile-sheet .room-inspection-heading select{min-height:42px}#mobile-sheet .part-inspector{display:flex;max-height:none;margin:12px}
 .mobile-model-first.stages-open .timeline{display:block;position:fixed;inset:calc(14px + env(safe-area-inset-top)) 14px calc(88px + env(safe-area-inset-bottom));width:auto;max-width:450px;z-index:45;box-shadow:0 10px 80px #14372944;border-radius:18px;padding:18px;background:#fff;height:auto}
 .mobile-model-first.stages-open .timeline .intro{display:none}.mobile-model-first.stages-open .mobile-heading{visibility:hidden}
 .mobile-model-first #toast{bottom:calc(90px + env(safe-area-inset-bottom));font-size:12px;max-width:90vw;z-index:50}
}
@media(max-width:1000px) and (max-height:500px){.mobile-heading{top:calc(9px + env(safe-area-inset-top));left:calc(12px + env(safe-area-inset-left))}.mobile-project{padding:8px 12px}.mobile-project>span{font-size:13px;margin-top:3px}.mobile-floating{left:auto;right:calc(12px + env(safe-area-inset-right));bottom:calc(10px + env(safe-area-inset-bottom));gap:6px}.mobile-floating button{min-height:46px;padding:9px 14px;border-radius:13px;white-space:nowrap;max-width:none;flex:none}#mobile-progress{flex:none}#mobile-sheet[open]{max-height:91dvh;max-width:560px;margin-right:0}.mobile-presets{grid-template-columns:repeat(4,minmax(0,1fr))}.mobile-presets button{min-height:90px;padding:10px}.mobile-presets button[aria-pressed=true]{padding:9px}.mobile-presets button span{font-size:10px}.mobile-presets button strong{font-size:13px}}

.mobile-stage-close{display:none}@media(max-width:1000px){.mobile-stage-close{display:block;width:100%;min-height:44px;text-align:left;color:#2f694e;font-size:14px;border-bottom:1px solid #dce7dd;margin-bottom:12px}}

@media(max-width:1000px){#mobile-sheet .camera-more{display:none}#mobile-sheet .camera-bar>button{width:100%;min-width:0}#mobile-sheet #inside-storey{font-size:12px}}
/* Stable sheet tabs prevent hidden floating controls from intercepting panel changes. */
@media(max-width:1000px){
 #mobile-sheet[open]{height:min(84dvh,760px);max-height:min(84dvh,760px)}
 .mobile-controls-open .mobile-floating{visibility:hidden}
 .mobile-workspace[aria-busy=true] button{opacity:.55;cursor:wait}
 .mobile-sheet-heading{border-bottom:0;padding:12px 18px 8px}.mobile-sheet-heading h2{font-size:18px}
 .mobile-sheet-tabs{display:flex;gap:5px;flex:none;padding:0 18px 12px;border-bottom:1px solid #e2eae4;background:#fff}
 .mobile-sheet-tabs button{flex:1;min-height:42px;border-radius:10px;background:#f0f4f1;color:#61766a;font-size:13px;font-weight:600;padding:10px 5px}
 .mobile-sheet-tabs button[aria-selected=true]{background:#2c7053;color:#fff}
 .mobile-option-menu{padding:0 16px 12px}.mobile-option-menu>p{font-size:13px;color:#6e8375;margin:15px 2px}
 .mobile-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .mobile-option-grid>button{display:flex;align-items:center;gap:9px;min-height:86px;padding:13px 10px;border:1px solid #d8e4dc;border-radius:13px;background:#f9fbf9;text-align:left;color:#305b42}
 .mobile-option-grid>button>b{font-size:22px;font-weight:500;flex:none;width:25px;text-align:center;color:#528467}
 .mobile-option-grid strong{display:block;font-size:13px;line-height:1.4;font-weight:650}.mobile-option-grid small{display:block;margin-top:4px;font-size:11px;line-height:1.4;color:#758a7b}.mobile-option-grid i{display:none}
 .mobile-option-back{padding:12px 18px;border-bottom:1px solid #e4eae5}.mobile-option-back button{min-height:40px;font-size:13px;color:#337457}.mobile-option-back h3{font-size:17px;margin:7px 0 3px}
 .mobile-file-options{padding:2px 18px 16px}.mobile-file-options p{font-size:13px;line-height:1.6;color:#6b8272}.mobile-file-options button{display:block;width:100%;text-align:center;min-height:48px;margin-top:10px;font-size:14px;border:1px solid #bbd2c2;background:#eef6f0;border-radius:10px;color:#2d6848}
 .mobile-progress-overview{padding:15px 18px 0}.mobile-progress-overview>strong{display:block;font-size:20px;color:#276249}.mobile-progress-overview>span{display:block;font-size:13px;line-height:1.5;margin-top:5px;color:#526e5c}.mobile-progress-overview p{font-size:12px;color:#809184;line-height:1.5;margin:9px 0 0}
 #mobile-sheet[data-option=layers] #build-mep-layers{display:block}#mobile-sheet[data-option=layers] #build-mep-layers>summary,#mobile-sheet[data-option=floor] #floor-preparation-settings>summary{display:none}
 #mobile-sheet[data-option=rooms] .room-inspection{padding:16px}#mobile-sheet[data-option=rooms] .room-inspection-heading h3{font-size:17px}
 #mobile-sheet .mobile-sheet-body{scroll-behavior:auto}
}
@media(max-width:1000px) and (max-height:500px){#mobile-sheet[open]{height:94dvh;max-height:94dvh}.mobile-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-option-grid>button{min-height:72px}.mobile-sheet-heading{padding:7px 16px 3px}.mobile-sheet-tabs{padding-bottom:7px}.mobile-sheet-tabs button{min-height:36px;padding:8px}}
.pool-study-controls{padding:0 16px 16px}.pool-study-tag{font-size:9px;letter-spacing:1px;color:#9a6c27;font-weight:700}.pool-study-controls h3{font-size:16px;margin:10px 0}.pool-study-controls p{font-size:12px;line-height:1.6;color:#637b6b}.pool-study-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px 0}.pool-study-actions button,#pool-basis{min-height:40px;font-size:12px;padding:8px;border:1px solid #c9dbce;border-radius:8px;color:#2d7052;background:#f0f7f1}.pool-study-controls label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#486f55;margin:14px 0}.pool-study-controls label:has(input){flex-direction:row;align-items:center;min-height:44px}.pool-study-controls select{max-width:100%;padding:10px;font-size:12px;border:1px solid #c9dbce;border-radius:8px;background:white;color:#315b44}
@media(max-width:1000px){#mobile-sheet[data-option=pool] #pool-controls>summary{display:none}#mobile-sheet .pool-study-actions button{min-height:44px}#mobile-sheet .pool-study-controls select{font-size:14px;min-height:44px}}
