.mobile-nav{display:none}.mobile-sheet:not([open]){display:none}
@media screen and (max-width:900px){
 html:has(.mobile-workspace){height:100%;overflow:hidden}
 body.mobile-workspace{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:0!important}
 .mobile-workspace>header{display:flex!important;flex-wrap:nowrap;gap:14px;padding:10px 12px;padding-top:max(10px,env(safe-area-inset-top));flex-shrink:0;min-height:60px}
 .mobile-workspace .brand{font-size:13px;gap:4px;white-space:nowrap}.mobile-workspace .brand-icon{width:25px;height:25px;font-size:17px}
 .mobile-workspace .project{flex:1;min-width:0}.mobile-workspace .project>.eyebrow{display:none}.mobile-workspace #planName{font-size:16px;width:100%;min-width:0;height:40px;text-overflow:ellipsis}
 .mobile-workspace>.notice{display:flex!important;padding:5px 12px;gap:8px;min-height:32px;flex-shrink:0}.mobile-workspace>.notice strong{font-size:9px;white-space:nowrap}.mobile-workspace>.notice>span{display:none}.mobile-workspace #sourceJump{display:block!important;font-size:11px;margin-left:auto;padding:5px 8px;min-height:32px}
 .mobile-workspace>main{display:flex!important;flex:1;min-height:0;min-width:0;overflow:hidden;grid-template-columns:none!important}
 .mobile-workspace .workspace{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;padding:0;overflow:hidden}
 .mobile-workspace .workspace>.workspace-heading,.mobile-workspace .workspace>.context-strip,.mobile-workspace .workspace>.phase-buttons{display:none}
 .mobile-workspace .canvas-toolbar{display:flex;gap:4px;align-items:center;flex-wrap:nowrap;flex-shrink:0;margin:0;padding:6px 8px;border:0;background:#131f24}
 .mobile-workspace .canvas-toolbar .segmented{display:flex;flex:1;min-width:0;gap:2px}.mobile-workspace .segmented button{flex:1;padding:9px 4px;font-size:11px;white-space:nowrap;min-height:44px}
 .mobile-workspace .canvas-toolbar .zoom{display:flex;gap:3px}.mobile-workspace #zoomIn,.mobile-workspace #zoomOut{display:block;min-width:44px;min-height:44px;padding:8px;font-size:18px}.mobile-workspace #fit{min-width:44px;min-height:44px;padding:9px;font-size:12px}.mobile-workspace #viewHint,.mobile-workspace #sceneFocus{display:none}
 .mobile-workspace .stage-layout{flex:1;display:flex!important;min-height:0;border:0;border-radius:0;overflow:hidden}
 body.mobile-workspace .drawing{height:auto!important;min-height:0!important;flex:1;max-width:100%;border-radius:0}
 .mobile-workspace #scene,.mobile-workspace #threeScene{width:100%;height:100%}.mobile-workspace #threeScene canvas{display:block}
 .mobile-workspace .timeline{flex-shrink:0;padding:8px 12px;margin:0;border-radius:0;border-left:0;border-right:0;gap:10px}.mobile-workspace .timeline-label{display:flex;margin-bottom:0}.mobile-workspace #motionTitle,.mobile-workspace .timeline-ends{display:none}.mobile-workspace #progressLabel{font-size:10px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-workspace .timeline>div{min-width:0}.mobile-workspace .timeline-track{min-width:0}.mobile-workspace .timeline #play{width:44px;min-width:44px;min-height:44px}.mobile-workspace .timeline input[type=range]{height:38px;min-height:38px;touch-action:pan-y}.mobile-workspace .timeline-labels{font-size:9px}.mobile-workspace #motionHint{font-size:9px}
 .mobile-workspace .mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;flex-shrink:0;padding:4px 6px max(4px,env(safe-area-inset-bottom));background:#142126;border-top:1px solid #34464b;order:20;z-index:40}
 .mobile-nav button{border:0;background:none;color:#a6bac0;padding:7px 2px;display:flex;align-items:center;flex-direction:column;gap:5px;min-height:54px;font-size:11px}.mobile-nav svg{width:20px;height:20px}.mobile-nav button[aria-expanded=true]{color:#c7f1e0;background:#25443d}
 .mobile-workspace .map-tag{top:8px;left:8px;max-width:calc(100% - 16px);font-size:9px;padding:6px;pointer-events:none}.mobile-workspace .map-tag>span:last-child,.mobile-workspace .map-legend,.mobile-workspace #viewportCaption,.mobile-workspace #north{display:none}
 .mobile-workspace:not(.mobile-scene-details) .drawing :is(.pose-overlay,.pose-gizmo,.crane-gizmo,.lug-controls){display:none!important}
 .mobile-workspace .hazard-beacon{top:auto;bottom:10px;right:8px;max-width:calc(100% - 16px)}
 .mobile-workspace .gizmo-bar{left:8px;right:8px;width:auto;max-width:calc(100% - 16px)}.mobile-workspace .gizmo-bar-head{flex-wrap:wrap}.mobile-workspace :is(.gizmo-bar,.pose-panel,.lug-quick) button{min-width:44px;min-height:44px;font-size:12px}.mobile-workspace .pose-number{grid-template-columns:44px 1fr 44px}.mobile-workspace :is(.pose-panel,.lug-quick) input{font-size:16px;min-height:44px}.mobile-workspace .pose-panel{top:40px;right:8px;max-width:calc(100% - 16px);max-height:calc(100% - 50px);overflow:auto}.mobile-workspace .pose-hotspot{min-width:44px;min-height:44px}.mobile-workspace .gizmo-handle{min-width:44px;min-height:44px}
 .mobile-workspace .mobile-sheet{position:fixed;inset:auto 0 0;margin:0 auto;padding:0;width:100%;max-width:620px;height:82dvh;max-height:calc(100dvh - 28px);border:1px solid #41565c;border-bottom:0;border-radius:16px 16px 0 0;background:#111d23;color:#dce7e8;box-shadow:0 -20px 80px #0007;overflow:hidden}
 .mobile-sheet[open]{display:flex;flex-direction:column}.mobile-sheet::backdrop{background:#02070bb3;backdrop-filter:blur(2px)}
 .mobile-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;flex-shrink:0;border-bottom:1px solid #35464c;background:#18282e}.mobile-sheet-heading small{font-size:9px;letter-spacing:1px;color:#90aaa9}.mobile-sheet-heading h2{font-size:21px;margin:5px 0 0;font-weight:500}.mobile-sheet-heading button{min-height:44px;padding:10px 13px;font-size:13px}.mobile-sheet-heading button span{margin-left:7px;font-size:19px}
 .mobile-sheet-body{padding:16px 16px max(20px,env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;min-height:0;flex:1}
 .mobile-workspace .mobile-sheet aside,.mobile-workspace .mobile-sheet .scene-dock{display:block!important;width:100%;max-height:none;border:0;background:none}
 .mobile-sheet .panel-heading{display:none}.mobile-sheet #inspector{padding:18px 0}.mobile-sheet .tabs{padding:0;position:sticky;top:-16px;z-index:2;background:#111d23;padding-block:8px;gap:5px;grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-sheet .tabs button{font-size:12px;min-height:44px}
 .mobile-sheet #objectList{max-height:none}.mobile-sheet .object-item,.mobile-sheet .object-row{min-height:52px}.mobile-sheet .object-item strong{font-size:13px}.mobile-sheet .object-item small{font-size:11px}.mobile-sheet .layer-list label{min-height:44px;align-items:center}
 .mobile-sheet .workflow-launch,.mobile-sheet .workspace-primary,.mobile-sheet .workspace-tools,.mobile-sheet .selection-bar,.mobile-sheet .actions{display:flex;flex-wrap:wrap;position:static;padding:0;margin:0 0 18px;width:100%;gap:8px}
 .mobile-sheet .workspace-primary>button{flex:1 1 130px}.mobile-sheet .workspace-layout{display:none}.mobile-sheet .workspace-menu{width:100%}.mobile-sheet .workspace-menu>summary{padding:14px;font-size:13px}.mobile-sheet .workspace-menu>div{position:static;width:100%;box-shadow:none;margin-top:8px}.mobile-sheet .workspace-menu>div a{min-height:44px;display:flex;align-items:center}
 .mobile-sheet .selection-bar{padding:12px;flex-direction:column;border:1px solid #35464c}.mobile-sheet .selection-bar>div{flex-wrap:wrap}.mobile-sheet .camera-tools{position:static;display:flex;flex-wrap:wrap;margin:16px 0;max-width:none;padding:0;background:none;border:0}.mobile-sheet .camera-tools button{flex:1 1 100px}
 .mobile-sheet .pose-toggle,.upending-mode .mobile-detail-toggle,.site-overview:not(.site-crane-selected) .mobile-detail-toggle{display:none}.mobile-sheet .pose-launch{flex-wrap:wrap;width:100%}.mobile-sheet .pose-launch>span{width:100%}.mobile-sheet .pose-size{min-height:44px}.mobile-sheet .pose-display-menu{position:static}.mobile-sheet #toolHelp{display:none}.mobile-touch-hint{font-size:12px;color:#a5bbc3;line-height:1.7;margin:0 0 12px}.mobile-detail-toggle{width:100%;margin-bottom:20px}
 .mobile-sheet .indoor-lift-panel,.mobile-sheet .indoor-review{position:static;width:100%;max-width:none;max-height:none;margin:15px 0;box-shadow:none}.mobile-sheet .indoor-lift-body{max-height:none}.mobile-sheet .scenario-guide{display:block!important}.mobile-sheet .tank-demo-bar{margin:16px 0}
 .mobile-sheet .details{overflow-wrap:anywhere;display:block!important;margin:24px 0 0;padding:0}.mobile-sheet .details-grid,.mobile-sheet .metrics{grid-template-columns:1fr 1fr}.mobile-sheet .details h2{font-size:24px}.mobile-sheet .review{padding:16px;display:block}.mobile-sheet .review button{margin-top:12px}.mobile-sheet .actions a,.mobile-sheet .actions button{flex:1 1 130px;text-align:center}.mobile-sheet #saveStatus{width:100%;max-width:none;font-size:12px;padding:10px 0}.mobile-sheet .project-library-link{min-height:44px;padding:14px;border:1px solid #39534f;border-radius:4px}
 .mobile-workspace :is(button,summary){touch-action:manipulation}.mobile-workspace dialog button{min-height:44px;font-size:12px}.mobile-workspace dialog :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;min-height:44px;max-width:100%}.mobile-workspace dialog :is(input[type=checkbox],input[type=radio]){width:20px;height:20px;flex-shrink:0}.mobile-workspace dialog :is(label,summary){line-height:1.5}.mobile-workspace dialog{max-width:calc(100vw - 12px);max-height:calc(100dvh - 16px)}.mobile-workspace .mobile-sheet{max-width:620px}
 .mobile-workspace .cloud-save-banner:not([hidden]){flex-shrink:0;font-size:11px;max-height:130px;overflow:auto}.mobile-workspace .cloud-save-banner>div{flex-wrap:wrap}
 .mobile-workspace .unified-inspector{height:calc(100dvh - 16px);width:calc(100vw - 16px)}
}
@media screen and (max-width:900px) and (max-height:500px){.mobile-workspace>header{min-height:42px;padding:3px 10px}.mobile-workspace>.notice{display:none!important}.mobile-workspace>header:after{content:"Concept only";font-size:9px;color:#d1b78e;white-space:nowrap}.mobile-workspace .canvas-toolbar{padding:2px 8px}.mobile-workspace .mobile-nav{position:absolute;right:0;top:42px;bottom:0;width:68px;display:flex;flex-direction:column;justify-content:center;gap:4px;border-left:1px solid #34464b}.mobile-workspace>main{margin-right:68px}.mobile-workspace .timeline{padding:2px 8px}.mobile-workspace .mobile-sheet{height:calc(100dvh - 8px)}.mobile-workspace .map-tag{display:none}}
@media print{.mobile-nav,.mobile-sheet{display:none!important}}

/* Keep expanded equipment tools in their own horizontal strip. Focusing a
   trailing tool must not scroll the whole scene sideways. */
.mobile-workspace .canvas-toolbar{overflow-x:auto;overflow-y:hidden;min-width:0;max-width:100%;scrollbar-width:thin}
.mobile-workspace .canvas-toolbar>*{flex-shrink:0}
.mobile-workspace .canvas-toolbar .segmented{flex:0 0 auto}
.mobile-workspace .workspace{overflow:clip}
.mobile-panel-groups116 section{margin:18px 0 24px}.mobile-panel-groups116 h3{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#a7a9af;margin:0 0 9px}.mobile-panel-groups116 section>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}.mobile-panel-groups116 button{display:flex;align-items:center;gap:10px;text-align:left;padding:12px;border:0;border-radius:7px;background:#ffffff08;color:#e1e2e6;min-height:50px}.mobile-panel-groups116 svg{width:20px;height:20px;flex-shrink:0}.mobile-panel-groups116 button:hover{background:#ffffff13}.mobile-panel-groups116 button[aria-expanded=true]{background:#cbb68a22}.mobile-workspace #mobile-more input{width:100%;box-sizing:border-box}.mobile-workspace .mobile-nav button[aria-expanded=true]{color:#e7d0a4;background:#ffffff0b}
