.mobile-investigation-nav,.mobile-guide{display:none}
@media(max-width:940px){
 html.mobile-investigation-active{scroll-padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
 .mobile-investigation-active .app{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}
 .mobile-investigation-nav:not([hidden]){display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;position:fixed;z-index:35;bottom:0;left:0;right:0;padding:8px max(8px,env(safe-area-inset-left,0px)) calc(8px + env(safe-area-inset-bottom,0px));background:var(--surface-2,#191919);border-top:1px solid var(--border-strong);box-shadow:0 -4px 16px #0005}
 .app[inert] .mobile-investigation-nav{visibility:hidden}
 .mobile-investigation-nav button{min-width:0;min-height:44px;padding:6px 2px;font:600 12px/1.3 var(--font-ui);border:1px solid var(--border-strong);border-radius:8px;color:var(--text);background:var(--panel-faint);cursor:pointer}
 .mobile-investigation-nav button:last-child{color:var(--text);border-color:var(--accent);background:var(--accent)}
 .mobile-investigation-nav button:disabled{opacity:.45;cursor:default}
 .mobile-investigation-nav button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
 .mobile-guide:not([hidden]){display:block;border:1px solid var(--border);border-radius:10px;margin:8px 0}
 .mobile-guide>summary{min-height:44px;padding:10px 12px;cursor:pointer;font-size:13px;line-height:24px}
 .mobile-guide>.lehr-zeile{margin:0;border:0;border-radius:0;padding:12px}
 .mobile-investigation-active :is(.mobile-board-controls,#dossier-wrap,#people-title,#evidence-panel,.sir-documents,.sir-evidence-chain){scroll-margin-top:12px;scroll-margin-bottom:80px}
 .mobile-investigation-active .scene-head{gap:8px}
 .mobile-investigation-active .dossier-summary{min-height:44px;padding:10px 12px}
 .mobile-investigation-active .dossier-note{font-size:12px}
}
