:root {
  --sidebar-bg: #efefef;
  --text: #2b2b2b;
  --muted: #6f6f6f;
  --divider: #d9d9d9;
  --pill-bg: #cfe1ff;
  --pill-fg: #2f4f9b;
  --radius: 12px;
  --w: 260px;
  --w-collapsed: 44px;
  --w-mobile: min(320px, 86vw);
}

.layout-sidebar {
  /* Desktop wrapper that SHRINKS with sidebar */
}
.layout-sidebar .side-frame {
  width: var(--w);
  height: 100%;
  background: var(--sidebar-bg);
  border-right: 1px solid #e5e5e5;
  overflow: hidden;
  transition: width 0.2s ease;
}
.layout-sidebar .side-frame.is-collapsed {
  width: var(--w-collapsed);
}
.layout-sidebar .sidebar {
  height: 100%;
  width: 100%;
  background: var(--sidebar-bg);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  min-height: 0;
}
.layout-sidebar {
  /* Header */
}
.layout-sidebar .brand {
  display: flex;
  align-items: center;
  min-height: 46px;
}
.layout-sidebar .brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  flex: 0 0 auto;
}
.layout-sidebar .brand__logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.layout-sidebar .brand__text {
  margin-left: 10px;
  line-height: 1.05;
}
.layout-sidebar .brand__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}
.layout-sidebar .brand__subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}
.layout-sidebar .brand__toggle {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: #e3e3e3;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.layout-sidebar .brand__toggle:hover {
  filter: brightness(0.98);
}
.layout-sidebar {
  /* Nav */
}
.layout-sidebar .nav {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.layout-sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  font-size: 13px;
  transition: background 0.12s ease, color 0.12s ease;
}
.layout-sidebar .nav-item .material-symbols-rounded {
  font-size: 20px;
  color: currentColor;
}
.layout-sidebar {
  /* Hover + active */
}
.layout-sidebar .nav-item:hover,
.layout-sidebar .nav-item.active {
  background: var(--pill-bg);
  color: var(--pill-fg);
}
.layout-sidebar .divider {
  height: 1px;
  background: var(--divider);
  margin: 6px 2px;
}
.layout-sidebar {
  /* Bottom */
}
.layout-sidebar .bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.layout-sidebar .user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
}
.layout-sidebar .user__avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #d7d7d7;
  display: grid;
  place-items: center;
  color: #7b7b7b;
}
.layout-sidebar .user__avatar .material-symbols-rounded {
  font-size: 22px;
}
.layout-sidebar .user__name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}
.layout-sidebar .user__role {
  font-size: 12px;
  font-weight: 800;
  color: #2ea44f;
  margin-top: 3px;
}
.layout-sidebar .logout {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  font-weight: 750;
  font-size: 13px;
  transition: background 0.12s ease, color 0.12s ease;
}
.layout-sidebar .logout:hover {
  background: #e2e2e2;
  color: #444;
}
.layout-sidebar .logout .material-symbols-rounded {
  font-size: 20px;
}
.layout-sidebar {
  /* Collapsed desktop: ONLY toggle visible */
}
.layout-sidebar .sidebar.is-collapsed {
  padding: 12px 6px;
}
.layout-sidebar .sidebar.is-collapsed .brand__logo,
.layout-sidebar .sidebar.is-collapsed .brand__text,
.layout-sidebar .sidebar.is-collapsed .nav,
.layout-sidebar .sidebar.is-collapsed .bottom {
  display: none;
}
.layout-sidebar .sidebar.is-collapsed .brand {
  justify-content: flex-end;
}
.layout-sidebar {
  /* =======================
  MOBILE: OFF-CANVAS DRAWER
  ======================= */
}
@media (max-width: 767px) {
  .layout-sidebar {
    /* On mobile, sidebar is ALWAYS overlay */
  }
  .layout-sidebar .side-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--w-mobile);
    height: 100vh;
    border-right: 1px solid #e5e5e5;
    z-index: 1001;
    /* remove from layout flow */
    flex: 0 0 auto;
    transform: translateX(0);
    transition: transform 0.2s ease;
  }
  .layout-sidebar {
    /* Hidden drawer */
  }
  .layout-sidebar .side-frame.is-collapsed {
    transform: translateX(-100%);
  }
}
.layout-sidebar {
  /* Backdrop */
}
.layout-sidebar .sidebar-backdrop {
  display: none;
}
@media (max-width: 767px) {
  .layout-sidebar .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
  }
  .layout-sidebar .sidebar-backdrop.show {
    opacity: 1;
    pointer-events: auto;
  }
}
.layout-sidebar {
  /* Floating hamburger opener (only rendered by Blazor when needed) */
}
.layout-sidebar .mobile-fab {
  position: fixed;
  top: 14px;
  left: 14px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  z-index: 1100;
  cursor: pointer;
}
.layout-sidebar .mobile-fab span {
  color: #6B6B6A;
}/*# sourceMappingURL=menu.css.map */