/* Alpha60 - navigation native <details>, usable without JavaScript. */
.fcp-portal .fcp-mobile-nav-native,
.fcp-portal .fcp-admin-mobile-shortcut {display:none}
@media (max-width:900px) {
  .fcp-portal .fcp-topbar-inner {gap:8px;max-width:100%;min-width:0}
  .fcp-portal .fcp-topbar .fcp-brand {min-width:0;max-width:calc(100% - 130px);margin-right:auto}
  .fcp-portal .fcp-topbar .ekk-brand-logo--header {width:min(134px,100%)}
  .fcp-portal .fcp-mobile-nav-native {display:block;flex:0 0 auto;min-width:0;order:3}
  .fcp-portal .fcp-mobile-nav-native > summary.fcp-mobile-menu-toggle {display:inline-flex;margin:0;gap:7px;list-style:none;min-height:44px;background:var(--fcp-card,#fff)}
  .fcp-portal .fcp-mobile-nav-native > summary::-webkit-details-marker {display:none}
  .fcp-portal .fcp-mobile-nav-native[open] > summary .fcp-burger-icon > span:first-child {transform:translateY(7px) rotate(45deg)}
  .fcp-portal .fcp-mobile-nav-native[open] > summary .fcp-burger-icon > span:nth-child(2) {opacity:0}
  .fcp-portal .fcp-mobile-nav-native[open] > summary .fcp-burger-icon > span:last-child {transform:translateY(-7px) rotate(-45deg)}
  .fcp-portal .fcp-mobile-nav-native:not([open]) > .fcp-mobile-menu {display:none!important}
  .fcp-portal .fcp-mobile-nav-native[open] > .fcp-mobile-menu {display:block!important;left:0;right:0;width:100%;box-sizing:border-box;max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain}
  .fcp-portal .fcp-mobile-menu-inner {max-height:none;padding-bottom:max(20px,env(safe-area-inset-bottom));box-sizing:border-box}
  .fcp-portal .fcp-mobile-menu a {overflow-wrap:anywhere;min-width:0}
  .fcp-portal .fcp-mobile-menu a.fcp-admin-menu-priority {font-weight:800}
  .fcp-portal .fcp-admin-mobile-shortcut {display:inline-flex;flex:0 0 auto;order:2;align-items:center;justify-content:center;min-height:44px;padding:0 9px;gap:5px;border:1px solid #4a98c4;border-radius:11px;background:#123c59;color:#e9f9ff;text-decoration:none;font-size:13px;font-weight:750;white-space:nowrap}
  .fcp-portal .fcp-admin-mobile-shortcut.is-active {background:#176588;border-color:#72daf0}
  .fcp-portal .fcp-admin-mobile-shortcut:focus-visible,
  .fcp-portal .fcp-mobile-nav-native > summary:focus-visible {outline:3px solid #50cee8;outline-offset:2px}
  .fcp-portal .fcp-topbar-inner .fcp-ui-theme-toggle.is-mobile {order:4;margin-left:0!important;flex:0 0 38px}
}
/* Restore the existing theme switch in the 801–900px tablet range. */
@media (min-width:801px) and (max-width:900px) {
  .fcp-portal .fcp-topbar-inner .fcp-ui-theme-toggle.is-mobile {display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0}
}
@media (max-width:395px) {
  .fcp-portal .fcp-admin-mobile-shortcut-label,.fcp-portal .fcp-mobile-menu-label {display:none}
  .fcp-portal .fcp-topbar .ekk-brand-logo--header {width:min(116px,100%)}
  .fcp-portal .fcp-topbar-inner {gap:6px}
  .fcp-portal .fcp-mobile-nav-native > summary.fcp-mobile-menu-toggle {width:44px;padding:9px;justify-content:center}
  .fcp-portal .fcp-admin-mobile-shortcut {width:40px;padding:0}
}
html[data-fcp-theme="dark"] .fcp-portal .fcp-mobile-nav-native > summary.fcp-mobile-menu-toggle {background:#112a3f;color:#e9f7ff;border-color:#3e637a}
html[data-fcp-theme="light"] .fcp-portal .fcp-admin-mobile-shortcut {background:#e2f4fc;color:#14455d}
@media print { .fcp-portal .fcp-mobile-nav-native,.fcp-portal .fcp-admin-mobile-shortcut {display:none!important} }
