/* ALMER Laravel v5.0.140 — mobile admin layout and overlay safety.
   Deliberately scoped to the existing authenticated .shell, below 1000px.
   Menu scrim is a non-visual hit target, not a themed primary action. */
html body .shell > button.mobile-nav-scrim {
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
  padding: 0 !important;
  color: transparent !important;
}
html body .shell > button.mobile-nav-scrim:hover,
html body .shell > button.mobile-nav-scrim:focus,
html body .shell > button.mobile-nav-scrim:active {
  background-image: none !important;
  border-radius: 0 !important;
  transform: none !important;
  filter: none !important;
}
@media (max-width:1000px) {
  html body .shell > .sidebar {
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: visible;
    padding: 10px 14px;
    box-sizing: border-box;
  }
  /* All role profiles remain available from the account menu in the topbar. */
  html body .shell > .sidebar > .team,
  html body .shell > .sidebar > .sidebar-footnote {display:none !important;}
  html body .shell > .sidebar .sidebar-header {
    display: flex;
    align-items: center;
    min-height: 52px;
    gap: 10px;
    padding: 0 !important;
    border: 0 !important;
  }
  html body .shell > .sidebar .sidebar-header > div {min-width:0; flex:1 1 0;}
  html body .shell > .sidebar .brand {min-width:0; max-width:100%; gap:8px;}
  html body .shell > .sidebar .brand .brand-name {min-width:0; overflow-wrap:anywhere;}
  html body .shell > .sidebar .mobile-menu-toggle {flex:0 0 auto; min-width:68px !important;}
  html body .shell > .sidebar.menu-open nav {
    top: var(--almer-menu-top,86px) !important;
    bottom: auto !important;
    height: calc(100dvh - var(--almer-menu-top,86px)) !important;
    max-height: calc(100dvh - var(--almer-menu-top,86px)) !important;
    width: min(340px,90vw) !important;
    max-width: 90vw !important;
    background: var(--bg) !important;
    background-image: none !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    z-index: 92 !important;
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)) !important;
  }
  html body .shell > .sidebar.menu-open + button.mobile-nav-scrim {
    display: block !important;
    position: fixed !important;
    inset: var(--almer-menu-top,86px) 0 0 !important;
    width: 100vw !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: none !important;
    background: rgba(3,8,20,.72) !important;
    background-image: none !important;
    border:0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    z-index: 82 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
@media (max-width:700px) {
  html body {--almer-menu-top: 74px;}
  html body .shell > .sidebar .sidebar-tagline {display:none !important;}
  html body .shell > .sidebar .brand .brand-name {
    font-size: clamp(12px, 3.75vw, 15px);
    line-height: 1.25;
    letter-spacing: -.25px;
    white-space: normal;
  }
  html body .shell > .sidebar .mobile-menu-toggle {min-width: 66px !important; padding-inline:10px;}
  html body .shell > main {min-width:0;max-width:100%;}
  html body .shell > main > .topbar {min-width:0; max-width:100%;}
  html body .shell > main > .topbar > div:first-child {min-width:0;}
  .noc-dashboard .noc-intro,
  .noc-dashboard .noc-primary-actions,
  .noc-dashboard .noc-dashboard-content {min-width:0;max-width:100%;}
}
@media (max-width:360px) {
  html body {--almer-menu-top: 80px;}
}
@media print {
  html body .shell > button.mobile-nav-scrim {display:none !important;}
}
