.mobile-dock,.mobile-zoom,.mobile-sheet{display:none}
html.mobile-view{height:100%;overscroll-behavior:none}
.mobile-view body{height:100%;font-size:16px;overscroll-behavior:none;-webkit-tap-highlight-color:transparent}
.mobile-view button{min-height:44px;font-size:14px;touch-action:manipulation}
.mobile-view .brand{left:max(16px,env(safe-area-inset-left));top:max(18px,env(safe-area-inset-top));gap:8px}
.mobile-view .mark,.mobile-view .eyebrow{display:none}
.mobile-view h1{font-size:22px;line-height:1.3;letter-spacing:1px}
.mobile-view h1 span{display:block;font-size:12px;letter-spacing:2px;margin-top:5px;opacity:.85}
.mobile-view .top-actions{right:max(12px,env(safe-area-inset-right));top:max(16px,env(safe-area-inset-top));gap:6px}
.mobile-view .top-actions button{font-size:14px;padding:8px 12px;background:#102c34e8}
.mobile-view .top-actions #shot{display:none}
.mobile-view .top-actions #fullscreen{min-width:44px}
.mobile-view .top-actions span{display:none}
.mobile-view .mobile-dock{position:fixed;z-index:12;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));padding:7px;border:1px solid #ffffff32;border-radius:18px;background:#102c34f0;backdrop-filter:blur(16px);box-shadow:0 8px 30px #081f3930}
.mobile-view .mobile-dock button{min-height:48px;border:0;border-radius:11px;background:transparent;font-size:14px;padding:6px 3px}
.mobile-view .mobile-dock button[aria-expanded=true],.mobile-view .mobile-dock button.active{color:#15392f;background:#dce8db}
.mobile-view .mobile-zoom{position:fixed;z-index:8;right:max(12px,env(safe-area-inset-right));top:43%;display:grid;gap:7px}
.mobile-view .mobile-zoom button{width:44px;height:44px;padding:0;border-radius:50%;background:#102c34e6;font-size:24px;line-height:1}
.mobile-view .mobile-zoom button span{display:block;transform:translateY(-1px)}
.mobile-view .panel{display:none;position:fixed;z-index:15;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(88px + env(safe-area-inset-bottom));top:auto;width:auto;max-height:65vh;max-height:65dvh;border-radius:18px;background:#102c34f7;overscroll-behavior:contain;scroll-padding-top:68px}
.mobile-view .panel.mobile-open{display:block}
.mobile-view .panel-head{position:sticky;top:0;background:#102c34;z-index:2;letter-spacing:0;padding:10px 16px}
.mobile-view .panel-head button{font-size:14px;padding:7px 12px}
.mobile-view .panel-body{padding:16px}
.mobile-view .panel-body>label,.mobile-view .checks,.mobile-view .views button,.mobile-view .pair button,.mobile-view .export-row button,.mobile-view output{font-size:14px}
.mobile-view .small-label{font-size:13px;letter-spacing:1px;color:#c3d7d2}
.mobile-view input[type=range]{height:36px;margin-top:4px}
.mobile-view .checks label{min-height:44px}
.mobile-view .checks input{width:20px;height:20px}
.mobile-view #fitStatus,.mobile-view #siteDims,.mobile-view details,.mobile-view #exportScene{font-size:13px!important}
.mobile-view .export-row{flex-wrap:wrap}
.mobile-view .mobile-sheet{position:fixed;display:block;z-index:14;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(88px + env(safe-area-inset-bottom));background:#102c34f5;border:1px solid #ffffff32;border-radius:18px;padding:14px;max-height:65vh;max-height:65dvh;overflow:auto;overscroll-behavior:contain;box-shadow:0 8px 30px #081f3930}
.mobile-view .mobile-sheet[hidden]{display:none}
.mobile-sheet header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.mobile-sheet h2{font-size:18px;margin:0}
.mobile-sheet header button{background:transparent;border:0}
.mobile-view .mobile-view-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mobile-view .mobile-view-grid button{min-height:48px;padding:9px}
.mobile-view .bottom{left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:calc(91px + env(safe-area-inset-bottom));flex-direction:column;gap:5px;font-size:12px;line-height:1.5;align-items:flex-start}
.mobile-view .bottom>div{padding:3px 9px;border-radius:6px;background:#102c34bf;text-shadow:none}
.mobile-view .live-dot{display:none}
.mobile-view .compass{display:none}
.mobile-view .info{z-index:20;top:max(90px,calc(70px + env(safe-area-inset-top)));left:16px;right:16px;width:auto;padding:22px;font-size:14px}
.mobile-view #hotspot{display:none!important}
.mobile-view #toast{z-index:25;bottom:calc(175px + env(safe-area-inset-bottom));font-size:14px;max-width:calc(100vw - 32px);width:max-content}
.mobile-view #motion{z-index:9;left:18px;bottom:calc(162px + env(safe-area-inset-bottom));gap:16px}
.mobile-view .move-pad button,.mobile-view .lift button{min-width:48px;min-height:48px;background:#102c34e6}
.mobile-view body[data-mode=walk] .lift{display:none}
.mobile-view body[data-mode=walk] .mobile-zoom,.mobile-view body[data-mode=fly] .mobile-zoom{display:none}
.mobile-view dialog{width:calc(100vw - 24px);max-height:85vh;max-height:85dvh;padding:16px;border-radius:18px;font-size:14px}
.mobile-view #photos{grid-template-columns:1fr;gap:18px}
.mobile-view figure:first-child{grid-column:auto}
.mobile-view figure img{height:190px}
.mobile-view figcaption{font-size:13px}
.mobile-view #loading{padding:24px;text-align:center}
.mobile-view #loading p{font-size:14px}
@media(max-height:500px) and (orientation:landscape){
 .mobile-view .brand{top:10px}.mobile-view h1{font-size:18px}.mobile-view h1 span{font-size:12px}
 .mobile-view .top-actions{top:8px}.mobile-view .mobile-dock{left:auto;width:340px;right:max(12px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));padding:4px}
 .mobile-view .mobile-dock button{min-height:44px}.mobile-view .bottom{right:370px;bottom:12px}
 .mobile-view .panel,.mobile-view .mobile-sheet{left:auto;width:340px;max-height:calc(100dvh - 90px);bottom:72px}
 .mobile-view #motion{left:18px;bottom:85px}.mobile-view .mobile-zoom{top:32%}
}
