/* Standalone SARPCOM PWA bottom navigation (except Ops, which has its own). */
.scm-bottom-nav,.scm-sheet,.scm-shade{display:none}
@media(max-width:820px){
 body.scm-enabled{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important}
 .scm-bottom-nav{position:fixed;z-index:1300;display:flex;align-items:stretch;gap:2px;left:0;right:0;bottom:0;min-height:70px;padding:6px max(4px,env(safe-area-inset-right,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(4px,env(safe-area-inset-left,0px));background:rgba(255,255,255,.97);box-shadow:0 -8px 28px rgba(20,47,90,.12);border-top:1px solid #dce7f3;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font:700 10px/1.15 Inter,"Segoe UI",Arial,sans-serif}
 .scm-tab{appearance:none!important;min-width:0!important;width:auto!important;max-width:none!important;flex:1 1 0;min-height:55px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px!important;padding:3px 0!important;border:0!important;border-radius:12px!important;background:transparent!important;text-align:center;text-decoration:none!important;color:#657a93!important;white-space:normal!important;font:inherit!important;cursor:pointer}
 .scm-tab>span:last-child{font-size:clamp(8px,2.35vw,10px);font-weight:800;line-height:1.12;overflow-wrap:normal;word-break:normal}
 .scm-icon{width:32px;height:30px;border-radius:10px;display:grid;place-items:center;background:var(--scm-soft);color:var(--scm-color)}
 .scm-icon svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
 .scm-blue{--scm-color:#1677ef;--scm-soft:#edf5ff}.scm-purple{--scm-color:#6f5be7;--scm-soft:#f1edff}.scm-green{--scm-color:#14af84;--scm-soft:#e7f9f3}.scm-cyan{--scm-color:#167fca;--scm-soft:#e7f5fe}.scm-red{--scm-color:#e74a6d;--scm-soft:#ffedf1}.scm-slate{--scm-color:#73869e;--scm-soft:#eef3f8}
 .scm-tab.scm-active{color:var(--scm-color)!important;background:var(--scm-soft)!important}
 .scm-tab.scm-active .scm-icon{background:var(--scm-color);color:#fff}
 .scm-shade:not([hidden]){display:block;position:fixed;inset:0;background:rgba(6,17,32,.58);z-index:1499}
 .scm-sheet:not([hidden]){display:flex;flex-direction:column;gap:2px;position:fixed;left:10px;right:10px;bottom:calc(80px + env(safe-area-inset-bottom,0px));z-index:1500;max-height:min(78vh,650px);overflow-y:auto;background:#fff;color:#14213a;padding:14px;border:1px solid #dae4f0;border-radius:22px;box-shadow:0 18px 55px rgba(5,20,41,.3);font:700 15px Inter,"Segoe UI",Arial,sans-serif}
 .scm-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:8px 11px 12px;font-size:17px;letter-spacing:.03em}
 .scm-sheet-head button{border:none;background:#edf3fb;color:#223857;width:35px;height:35px;border-radius:12px;font-size:17px}
 .scm-sheet>a{display:block;color:inherit!important;text-decoration:none!important;border-radius:12px;padding:12px 14px;background:#f8fbff;border:1px solid #edf2f8}
 html[data-theme=dark] .scm-bottom-nav{background:rgba(13,28,48,.98);border-color:#294059}
 html[data-theme=dark] .scm-tab{color:#bccce0!important}
 html[data-theme=dark] .scm-sheet{background:#13233b;color:#eaf1ff;border-color:#2a3d58}
 html[data-theme=dark] .scm-sheet>a{background:#192e4b;color:#eaf1ff!important;border-color:#2b4466}
}
