/* Scoped to the JS-enhanced mobile shell. Without JS, the existing scrolling
   responsive layout remains a usable fallback. Desktop styles are untouched. */
#mobileUI[hidden],#mobileUI [hidden]{display:none!important}
html.erasym-mobile{height:var(--mobile-height,100dvh);overflow:hidden;overscroll-behavior:none;--mobile-dock-height:108px;--mobile-header-height:44px;--mobile-safe-bottom:env(safe-area-inset-bottom,0px)}
html.erasym-mobile body{height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column;margin:0}
.erasym-mobile .topbar{height:calc(var(--mobile-header-height) + env(safe-area-inset-top,0px));min-height:0;flex:none;display:flex;align-items:center;justify-content:space-between;padding:env(safe-area-inset-top,0px) max(12px,env(safe-area-inset-right,0px)) 0 max(12px,env(safe-area-inset-left,0px));gap:8px;grid-template:none}
.erasym-mobile .topbar nav,.erasym-mobile .contact-link{display:none}
.erasym-mobile.mobile-immersive .topbar{display:none}
.erasym-mobile .brand-main{font-size:24px;line-height:1}
.erasym-mobile .brand small{font-size:7px;letter-spacing:2px;line-height:1.5}
.erasym-mobile .header-actions{display:flex;gap:0;margin:0}
.erasym-mobile .asset-info summary{min-height:44px;display:flex;align-items:center;padding:0 10px;font-size:11px}
.erasym-mobile .asset-info-panel{position:fixed;top:calc(44px + env(safe-area-inset-top,0px));right:8px;left:8px;width:auto;max-width:none;max-height:65vh;overflow:auto;z-index:100}
.erasym-mobile main{flex:1;min-height:0;padding:0;margin:0;overflow:hidden}
.erasym-mobile .experience{display:block;height:100%;min-height:0;gap:0;position:relative}
.erasym-mobile .stage-shell,.erasym-mobile .stage-shell:fullscreen{display:block;position:relative;width:100%;height:100%;min-height:0;max-height:none;border:0;border-radius:0;overflow:hidden;padding:0;background:#e8f0ee}
.erasym-mobile .stage-shell:fullscreen{height:var(--mobile-height,100dvh)}
.erasym-mobile .stage-shell>.viewport,.erasym-mobile .stage-shell:fullscreen>.viewport{position:absolute;inset:52px 0 calc(var(--mobile-dock-height) + var(--mobile-safe-bottom));width:100%;height:auto;min-height:0;max-height:none;overflow:hidden;touch-action:none;border-radius:0}
.erasym-mobile #threeCanvas{width:100%;height:100%;touch-action:none}
.erasym-mobile .system-rail,.erasym-mobile .scene-actions{display:none}
.erasym-mobile .viewport .webgl-badge,.erasym-mobile .view-hint,.erasym-mobile .route-label{display:none}
.erasym-mobile .hotspot{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;font-size:11px;border:11px solid transparent;background-clip:padding-box;box-shadow:none}
.erasym-mobile .hotspot-label{display:none}
.erasym-mobile #mobileUI{position:absolute;inset:0;z-index:20;pointer-events:none;color:#173d43;font-family:Manrope,Arial,sans-serif}
.erasym-mobile #mobileUI button,.erasym-mobile #mobileUI select,.erasym-mobile #mobileUI a,.erasym-mobile #mobileUI input{touch-action:manipulation}
.erasym-mobile #mobileUI button,.erasym-mobile #mobileUI select{min-height:44px;min-width:44px;font:inherit;font-size:12px}
.erasym-mobile #mobileUI button:focus-visible,.erasym-mobile #mobileUI select:focus-visible,.erasym-mobile #mobileUI a:focus-visible{outline:3px solid #227e9c;outline-offset:-3px}
.erasym-mobile .mobile-current{position:absolute;top:4px;left:max(8px,env(safe-area-inset-left,0px));right:max(8px,env(safe-area-inset-right,0px));display:flex;gap:6px;pointer-events:auto}
.erasym-mobile #mobileCurrent{display:flex;align-items:center;gap:9px;flex:1;min-width:0;max-width:calc(100% - 50px);border:1px solid #d6e2de;border-radius:10px;background:#fffffff0;padding:3px 10px;text-align:left;color:#173d43;box-shadow:0 3px 14px #173d4310}
.erasym-mobile #mobileCurrent>span:nth-child(2){min-width:0;flex:1}
.erasym-mobile #mobileCurrent small{display:block;font-size:7px;letter-spacing:1px;line-height:12px;color:#5a7677}
.erasym-mobile #mobileCurrent strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:19px}
.erasym-mobile #mobileCurrent b{font-size:18px;font-weight:400}
.erasym-mobile .mobile-current-number{font-family:'Space Grotesk',sans-serif;font-size:18px;color:#578d24}
.erasym-mobile #mobileUI #mobileHome{background:#fff;border:1px solid #d6e2de;border-radius:10px;color:#2a6959;font-size:24px;flex:none;width:44px}
.erasym-mobile .mobile-dock{position:absolute;bottom:0;left:0;right:0;height:calc(var(--mobile-dock-height) + var(--mobile-safe-bottom));padding:6px max(8px,env(safe-area-inset-right,0px)) calc(4px + var(--mobile-safe-bottom)) max(8px,env(safe-area-inset-left,0px));box-sizing:border-box;display:grid;grid-template-rows:44px 48px;gap:4px;background:#fafdface;border-top:1px solid #ccdcd6;box-shadow:0 -5px 18px #183e4110;pointer-events:auto}
.erasym-mobile .mobile-playback{display:flex;min-width:0;gap:6px}
.erasym-mobile #mobileTourSlot{flex:1;min-width:0}
.erasym-mobile #tourButton{width:100%;height:44px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 9px;margin:0;border-radius:9px;font-size:11px;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:linear-gradient(110deg,#28653e,#537f2e);color:#fff}
.erasym-mobile #tourLabel{overflow:hidden;text-overflow:ellipsis}
.erasym-mobile #tourButton .play-icon{width:22px;height:22px;flex:none;font-size:11px}
.erasym-mobile #mobileVoice{display:flex;align-items:center;justify-content:center;gap:5px;padding:0 9px;border:1px solid #cfddd5;background:#fff;border-radius:9px;color:#245b51}
.erasym-mobile #mobileVoice small{font-size:10px}
.erasym-mobile .mobile-tabs{display:grid;grid-template-columns:1.45fr 1fr 1fr 1fr;gap:3px;min-width:0}
.erasym-mobile .mobile-tabs button{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:0;padding:2px;border:0;border-radius:8px;background:transparent;color:#416367;font-size:10px!important;line-height:15px;font-weight:700!important;white-space:nowrap}
.erasym-mobile .mobile-tabs button>span{font-size:18px;line-height:19px;font-weight:400}
.erasym-mobile .mobile-tabs button>small{position:absolute;top:2px;right:10px;font-size:8px;font-weight:800;color:#2b6e3d}
.erasym-mobile .mobile-tabs button[aria-expanded=true],.erasym-mobile #mobileVoice[aria-expanded=true]{background:#e3efdf;color:#205d36}
.erasym-mobile .mobile-sheet{position:absolute;bottom:calc(var(--mobile-dock-height) + var(--mobile-safe-bottom));left:0;right:0;max-height:min(55svh,470px);display:flex;flex-direction:column;pointer-events:auto;background:#fffffff7;border:1px solid #ceded7;border-radius:16px 16px 0 0;box-shadow:0 -12px 35px #183e4122;overflow:hidden}
.erasym-mobile .mobile-sheet-head{height:48px;min-height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 6px 0 16px;border-bottom:1px solid #e2ebe5;background:#f6faf5}
.erasym-mobile .mobile-sheet-head h2{font-size:14px;margin:0;line-height:1.4;font-weight:800}
.erasym-mobile #mobileUI #mobileClose{background:transparent;color:#3d6261;border:0;font-size:26px;line-height:1}
.erasym-mobile .mobile-sheet-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:12px max(12px,env(safe-area-inset-right,0px)) 16px max(12px,env(safe-area-inset-left,0px));scrollbar-width:thin}
.erasym-mobile .mobile-help{font-size:11px;line-height:1.65;color:#536f70;margin:0 0 12px}
.erasym-mobile #systemList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;gap:7px;height:auto;max-height:none;overflow:visible;padding:0;margin:0;white-space:normal}
.erasym-mobile #systemList .system-item{display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:1fr;align-items:center;gap:7px;flex:none;width:auto;height:auto;min-height:60px;min-width:0;padding:9px 8px;border:1px solid #d7e2da;border-radius:10px;background:#f6f8f4;text-align:left;box-shadow:none;transform:none}
.erasym-mobile #systemList .system-item.active{background:#e7f0df;border-color:#74a149;color:#254e31}
.erasym-mobile #systemList .system-item::before{content:attr(data-mobile-number);display:block;grid-column:1;font-size:15px;color:#517947}
.erasym-mobile #systemList .system-name{display:block;grid-column:2;white-space:normal;font-size:11px;line-height:1.45;overflow-wrap:normal;word-break:normal}
.erasym-mobile #systemList .system-number,.erasym-mobile #systemList .system-glyph,.erasym-mobile #systemList .system-state{display:none}
.erasym-mobile .mobile-panel .flow-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;padding:0;background:none;border:0;overflow:visible;flex-wrap:wrap}
.erasym-mobile .mobile-panel .flow-controls button{display:flex;align-items:center;justify-content:center;padding:5px 7px;font-size:11px;border-radius:8px;white-space:normal}
.erasym-mobile .mobile-panel .legend{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:14px 0 0;padding:0;min-height:0;width:100%;height:auto;border:0;background:none;font-size:10px}
.erasym-mobile .mobile-panel .legend span{display:inline-flex;align-items:center;gap:5px}
.erasym-mobile .mobile-panel #toggleFlows{display:block;width:100%;margin:0;padding:0 10px;background:#edf3e9;border:1px solid #cfdfc8;border-radius:8px;color:#28523c}
.erasym-mobile .mobile-panel .flow-guide{display:flex;flex-direction:column;align-items:stretch;gap:9px;margin:12px 0 0;padding:12px;background:#f4f7f2;border-radius:9px;border:0;font-size:11px}
.erasym-mobile .mobile-panel .flow-guide ol{display:flex;flex-direction:column;gap:6px;padding-left:18px}
.erasym-mobile .mobile-panel .flow-guide p{font-size:11px;line-height:1.6;max-width:none}
.erasym-mobile .mobile-panel .air-switch{display:flex;flex-wrap:wrap;gap:6px}
.erasym-mobile #mobilePanelDetail #detailPanel{display:block;position:static;inset:auto;transform:none;opacity:1;visibility:visible;width:100%;height:auto;min-width:0;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.erasym-mobile #mobilePanelDetail #closeDetail,.erasym-mobile #mobilePanelDetail .detail-icon{display:none}
.erasym-mobile #mobilePanelDetail .detail-topline{font-size:9px;gap:12px;justify-content:space-between}
.erasym-mobile #mobilePanelDetail h2{font-size:21px;line-height:1.3;margin:9px 0}
.erasym-mobile #mobilePanelDetail p{font-size:12px;line-height:1.7;margin:8px 0 15px}
.erasym-mobile #mobilePanelDetail .process{padding:12px;margin:0 0 12px}
.erasym-mobile #mobilePanelDetail .process-head{font-size:9px}
.erasym-mobile #mobilePanelDetail #processSteps{font-size:12px;line-height:1.7}
.erasym-mobile #mobilePanelDetail .live-metric{padding:10px 0;margin:0}
.erasym-mobile #mobilePanelDetail .detail-link{display:flex;align-items:center;min-height:44px;margin-top:8px;font-size:12px}
.erasym-mobile #mobilePanelView .stage-toolbar{display:flex;height:auto;min-height:0;margin:0;padding:0;border:0;background:none}
.erasym-mobile #mobilePanelView .stage-toolbar .status{display:none}
.erasym-mobile #mobilePanelView .controls{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;width:100%;margin:0}
.erasym-mobile #mobilePanelView .controls button{width:100%;border:1px solid #d8e4dc;border-radius:8px;background:#f5f8f1;color:#305f52;font-size:20px}
.erasym-mobile #mobilePanelView .camera-views{display:flex;flex-direction:column;align-items:stretch;height:auto;min-height:0;gap:12px;margin:12px 0 0;padding:0;border:0;background:none}
.erasym-mobile #mobilePanelView .camera-presets{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:6px;width:100%}
.erasym-mobile #mobilePanelView .camera-presets button{padding:4px 5px;white-space:normal;font-size:10px;border:1px solid #d2e0d5;border-radius:8px}
.erasym-mobile #mobilePanelView #cleanView{width:100%;border:1px solid #d2e0d5;border-radius:8px;margin:0}
.erasym-mobile #mobilePanelView .performance-controls{display:grid;grid-template-columns:48px 1fr;gap:8px;align-items:center;flex:none;width:100%;margin:0;border-top:1px solid #e2eae2;padding-top:12px}
.erasym-mobile #mobilePanelView #qualitySelect{width:100%;font-size:11px;border:1px solid #cedbcf;border-radius:8px;background:#fff;padding:0 8px}
.erasym-mobile #mobilePanelView #perfInfo{grid-column:1/-1;display:block;text-align:right;font-size:10px;color:#647873}
.erasym-mobile #mobilePanelVoice .voice-status{display:flex;position:relative;min-height:60px;height:auto;margin:0;padding:8px 0 13px;border:0;background:none;gap:10px}
.erasym-mobile #mobilePanelVoice .voice-status>span:nth-child(2){flex:1;min-width:0}
.erasym-mobile #mobilePanelVoice .voice-status strong{font-size:9px}
.erasym-mobile #mobilePanelVoice #voiceCaption{font-size:11px;line-height:1.5;white-space:normal}
.erasym-mobile #mobilePanelVoice #stopVoice{margin:0;border:1px solid #d5e0d5;background:#f6f8f4;border-radius:8px}
.erasym-mobile #mobilePanelVoice .narration-controls{display:grid;grid-template-columns:44px 1fr 44px;gap:8px;align-items:center;width:100%;height:auto;min-height:0;margin:12px 0 0;padding:0;border:0;background:none}
.erasym-mobile #mobilePanelVoice .narration-controls button{width:44px;border:1px solid #d5e0d5;background:#f3f7ef;border-radius:8px}
.erasym-mobile #mobilePanelVoice #voicePrevious{grid-column:1;grid-row:1}
.erasym-mobile #mobilePanelVoice #voiceNext{grid-column:3;grid-row:1}
.erasym-mobile #mobilePanelVoice .narration-controls label{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:2px;font-size:10px;margin:0;min-width:0}
.erasym-mobile #mobilePanelVoice #voiceVolume{width:100%;height:44px;min-height:44px;margin:0}
.erasym-mobile #mobilePanelVoice #voiceRate{grid-column:1/-1;grid-row:2;width:100%;font-size:12px;border:1px solid #d5e0d5;border-radius:8px;padding:0 8px}
.erasym-mobile .tour-camera-status{position:absolute;top:54px;left:8px;right:8px;bottom:auto;max-width:none;font-size:9px;padding:5px 8px;line-height:1.4;pointer-events:none;z-index:12;text-align:center}
.erasym-mobile .tour-subtitle{position:absolute;top:auto;bottom:calc(var(--mobile-dock-height) + var(--mobile-safe-bottom) + 7px);left:8px;right:8px;max-height:68px;max-width:none;overflow:auto;margin:0;padding:8px 10px;font-size:10px;line-height:1.6;z-index:13;background:#ffffffeb;color:#234a4e;pointer-events:auto}
.erasym-mobile #toast{bottom:calc(var(--mobile-dock-height) + var(--mobile-safe-bottom) + 12px);max-width:calc(100% - 32px);font-size:11px;z-index:60}
@media(orientation:landscape) and (max-height:540px){
  html.erasym-mobile{--mobile-header-height:36px;--mobile-dock-height:58px}
  .erasym-mobile .topbar .asset-info summary{min-height:36px}
  .erasym-mobile .brand-main{font-size:21px}.erasym-mobile .brand small{display:none}
  .erasym-mobile .mobile-current{right:auto;width:310px;max-width:55%}
  .erasym-mobile .mobile-dock{grid-template-columns:minmax(150px,1fr) minmax(280px,1.8fr);grid-template-rows:44px;gap:8px;padding-top:6px}
  .erasym-mobile #tourButton{font-size:10px}.erasym-mobile #mobileVoice small{display:none}
  .erasym-mobile .mobile-tabs{grid-template-columns:1.3fr 1fr 1fr 1fr}
  .erasym-mobile .mobile-sheet{top:4px;left:auto;right:0;bottom:calc(var(--mobile-dock-height) + var(--mobile-safe-bottom));width:min(400px,53%);max-height:none;border-radius:12px 0 0 0}
  .erasym-mobile .mobile-sheet-head{height:44px;min-height:44px;padding-left:12px}.erasym-mobile .mobile-sheet-head h2{font-size:12px}
  .erasym-mobile .mobile-sheet-scroll{padding:10px}
  .erasym-mobile .tour-camera-status{top:6px;right:8px;left:auto;max-width:43%;text-align:right;font-size:8px}
  .erasym-mobile .tour-subtitle{left:auto;right:8px;max-width:44%;max-height:50px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  .erasym-mobile *, .erasym-mobile *::before, .erasym-mobile *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}
.tour-subtitle{pointer-events:auto!important;overflow:hidden!important;padding-right:44px!important}
.tour-subtitle-text{max-height:inherit;overflow:auto;overscroll-behavior:contain}
.tour-subtitle-close{position:absolute;right:3px;top:3px;width:36px;height:36px;border:0;border-radius:6px;background:transparent;color:inherit;font-size:25px;line-height:1;cursor:pointer}
.tour-subtitle-close:hover{background:#7fa88e35}
.tour-subtitle-close:focus-visible,#voiceCaptions:focus-visible{outline:2px solid #69b43d;outline-offset:-2px}
#voiceCaptions{white-space:nowrap;font-size:10px;position:fixed;right:14px;bottom:88px;z-index:35;padding:8px 12px;box-shadow:0 2px 8px #14221a20}
.erasym-mobile #voiceCaptions{position:static;box-shadow:none}
.erasym-mobile #mobilePanelVoice #voiceCaptions{grid-column:1/-1;width:100%;min-height:44px}
.erasym-mobile .tour-subtitle-close{width:44px;height:44px;top:0;right:0}
.erasym-mobile .tour-subtitle{padding-right:48px!important}
