/* Menu v2: collapsible groups, pilot tabs, race council */
body.command-layout .mainnav .nav-grp{margin:6px 8px;border:1px solid #1f3a52;border-radius:10px;background:#07182a99;overflow:hidden}
body.command-layout .mainnav .nav-grp>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:10px 14px;color:#9fd2f2;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
body.command-layout .mainnav .nav-grp>summary::-webkit-details-marker{display:none}
body.command-layout .mainnav .nav-grp>summary:after{content:'⌄';font-size:14px;opacity:.7;transition:transform .15s}
body.command-layout .mainnav .nav-grp[open]>summary:after{transform:rotate(180deg)}
body.command-layout .mainnav .nav-grp[open]>summary{border-bottom:1px solid #1a3550;background:#0a2036}
body.command-layout .mainnav .nav-grp>a{margin:2px 4px;border-radius:7px}
body.command-layout .mainnav .nav-grp>a.active{background:linear-gradient(90deg,#0f4f94,#0a2d5a);color:#fff}
body.command-layout .mainnav .nav-grp .nav-more{margin:6px 4px 4px;border-top:1px solid #1a3550}
body.command-layout .mainnav .nav-pilot>summary{color:#ffd98a}
body.command-layout .pilot-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 16px;padding:6px;border:1px solid #29506f;border-radius:12px;background:#08192bd9;position:sticky;top:70px;z-index:5}
body.command-layout .pilot-tabs a{padding:9px 16px;border-radius:8px;color:#bcd8ec;font-size:14px;text-decoration:none;font-weight:600}
body.command-layout .pilot-tabs a:hover{background:#12385a;color:#fff}
body.command-layout .pilot-tabs a.active{background:linear-gradient(135deg,#1d6fc2,#0f4a8a);color:#fff;box-shadow:0 2px 10px #0a3a7a66}
/* admin sidebar groups */
body.admin-area .nx-primary .nx-grp{margin:4px 10px;border:1px solid #14355c;border-radius:10px;overflow:hidden;background:#06152b}
body.admin-area .nx-primary .nx-grp>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;padding:10px 14px;color:#8fc8f0;font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
body.admin-area .nx-primary .nx-grp>summary::-webkit-details-marker{display:none}
body.admin-area .nx-primary .nx-grp>summary small{margin-left:auto;font-size:10px;opacity:.6;font-weight:600}
body.admin-area .nx-primary .nx-grp>summary:after{content:'⌄';opacity:.7;transition:transform .15s}
body.admin-area .nx-primary .nx-grp[open]>summary:after{transform:rotate(180deg)}
body.admin-area .nx-primary .nx-grp[open]>summary{background:#0a2447;border-bottom:1px solid #123a6b}
body.admin-area .nx-primary .nx-grp>a{padding:8px 14px}

/* Who's online hover cards on the home map */
body.command-layout .atlas-node .atlas-who,body.command-layout .atlas-centre .atlas-who,body.command-layout .atlas-koth-node .atlas-who{display:none;position:absolute;left:50%;bottom:calc(100% + 12px);transform:translateX(-50%);z-index:30;min-width:170px;max-width:240px;padding:10px 12px;border:1px solid #3a6f95;border-radius:10px;background:#071526f2;box-shadow:0 10px 30px #000a;text-align:left;font-size:12px;line-height:1.35;color:#d7e8f5;pointer-events:none}
body.command-layout .atlas-who i{display:block;margin-bottom:6px;font-style:normal;font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:10px;color:#e0b45a}
body.command-layout .atlas-who span{display:block;padding:2px 0}
body.command-layout .atlas-who b{font-size:12px;max-width:none;color:#fff}
body.command-layout .atlas-who small{font-size:11px;color:#8fb2cc}
body.command-layout .atlas-who em{font-style:normal;color:#8fb2cc}
body.command-layout .atlas-node:hover .atlas-who,body.command-layout .atlas-node:focus-visible .atlas-who,body.command-layout .atlas-centre:hover .atlas-who,body.command-layout .atlas-centre:focus-visible .atlas-who,body.command-layout .atlas-koth-node:hover .atlas-who,body.command-layout .atlas-koth-node:focus-visible .atlas-who{display:block}
body.command-layout .atlas-location-online{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
body.command-layout .atlas-location-online strong{flex:1 0 100%;font-size:13px;color:#e0b45a}
body.command-layout .atlas-location-online span{padding:3px 9px;border:1px solid #2f6286;border-radius:999px;background:#0b2238;font-size:12px;color:#e6f3fc}
