.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
body {
  overflow-x: hidden;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.glass-panel {
  background: rgba(25, 31, 47, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid #374151;
}
.zebra-row:nth-child(even) {
  background: rgba(46, 53, 69, 0.3);
}
.active-glow {
  box-shadow: 0 0 15px rgba(255, 185, 95, 0.2);
}
.hub-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  color: #d8c3ad;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.hub-nav-item:hover {
  background: #2e3545;
}
.hub-nav-active {
  background: #f59e0b;
  color: #613b00;
  border-right: 4px solid #ffc174;
}
.badge-serviceable {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgb(34, 197, 94);
  color: rgb(34, 197, 94);
}
.badge-warning {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgb(234, 179, 8);
  color: rgb(234, 179, 8);
}
.badge-danger {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgb(239, 68, 68);
  color: rgb(239, 68, 68);
}
.badge-draft {
  background: rgba(137, 206, 255, 0.1);
  border: 1px solid #89ceff;
  color: #89ceff;
}
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #534434;
  border-radius: 10px;
}
.gallery-no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.gallery-no-scrollbar::-webkit-scrollbar {
  display: none;
}
.gallery-filter-pill {
  padding: 0.375rem 1rem;
  background: #191f2f;
  border: 1px solid #534434;
  color: #d8c3ad;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
}
.gallery-filter-pill:hover {
  border-color: #ffc174;
}
.gallery-filter-active {
  background: #ffc174;
  color: #472a00;
  border-color: #ffc174;
}
.gallery-view-btn {
  background: #191f2f;
  color: #d8c3ad;
}
.gallery-view-active {
  background: #2e3545;
  color: #ffc174;
}
.uld-gallery-card .aspect-video {
  aspect-ratio: 16 / 9;
}
#gallery-grid.list-mode .uld-gallery-card {
  display: flex;
  flex-direction: row;
}
#gallery-grid.list-mode .uld-gallery-card .aspect-video {
  width: 40%;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .hub-main.h-screen {
    margin-left: 0;
  }
}
/* ── Mobile navigation & sidebar ───────────────────────────────────────────── */
@media (max-width: 767px) {
  .hub-menu-toggle,
  .hub-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: #191f2f;
    border: 1px solid #534434;
    color: #ffc174;
    cursor: pointer;
    transition: background 0.15s;
  }
  .hub-menu-toggle:hover,
  .hub-menu-close:hover {
    background: #2e3545;
  }
  .hub-menu-toggle {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 55;
  }
}
.hub-sidebar {
  transition: transform 0.25s ease;
}
.hub-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(7, 14, 29, 0.65);
  backdrop-filter: blur(2px);
}
.hub-sidebar-overlay.is-visible {
  display: block;
}
.hub-mobile-nav {
  height: calc(4rem + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.hub-mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
  padding: 0.35rem 0.15rem;
  color: #d8c3ad;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.hub-mobile-nav-active {
  color: #ffc174;
}
.hub-table-compact th,
.hub-table-compact td {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
@media (max-width: 640px) {
  .hub-table-compact .hub-col-hide-sm {
    display: none;
  }
  .hub-table-compact th,
  .hub-table-compact td {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 0.8125rem;
  }
}
@media (max-width: 768px) {
  .hub-page-header {
    padding-left: 3.5rem;
  }
  .hub-sidebar {
    transform: translateX(-100%);
  }
  .hub-sidebar.is-open {
    transform: translateX(0);
  }
  .hub-main {
    margin-left: 0;
    padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
  }
  body.hub-sidebar-open {
    overflow: hidden;
  }
  .hub-fab-mobile {
    bottom: calc(5rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}
.stats-scanner-line {
  height: 2px;
  background: #ffc174;
  box-shadow: 0 0 15px #ffc174;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  animation: stats-scan 3s linear infinite;
}
@keyframes stats-scan {
  0% {
    top: 0;
  }
  50% {
    top: 100%;
  }
  100% {
    top: 0;
  }
}
.stats-pulse-marker {
  animation: stats-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes stats-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}
