/* Additions only: keep the deployed styles and existing page layout intact. */
.inventory-module-shell { overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-lg); background: #050505; }
.inventory-return { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.local-map-shell { position: relative; width: 100%; height: 100%; min-height: 220px; overflow: hidden; border-radius: 10px; }
.local-map-legend { position: absolute; left: 12px; bottom: 40px; padding: 8px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; pointer-events: none; }
.nav-section.tier.D .tier-letter { background: #0e7490; color: #fff; }
.sidebar-menu-toggle { display: none; }
.workbench-link { display: block; margin-bottom: 12px; color: #a5f3fc; font-size: 12px; }
.nav-item:focus-visible { outline: 2px solid #67e8f9; outline-offset: 2px; }
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: relative; height: auto; padding: 14px 18px; overflow: visible; }
  .sidebar .brand { margin: 0; padding: 0; border: 0; }
  .sidebar-menu-toggle { display: block; margin-left: auto; background: transparent; color: #fff; border: 1px solid #475569; border-radius: 6px; padding: 7px 10px; }
  .sidebar:not(.mobile-menu-open) > .nav-item, .sidebar:not(.mobile-menu-open) .nav-section,
  .sidebar:not(.mobile-menu-open) .nav-item:not(:first-child), .sidebar:not(.mobile-menu-open) .sidebar-foot { display: none; }
  .sidebar.mobile-menu-open .sidebar-foot { position: static; margin-top: 12px; }
  .main { min-width: 0; }
  .topbar { height: auto; min-height: 56px; padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .topbar-right { flex-wrap: wrap; }
  .page { padding: 20px 14px; }
  .two-col, .two-col-even { grid-template-columns: minmax(0, 1fr); }
  .inventory-page { padding: 18px 8px; }
  .inventory-page .page-head { padding: 0 8px; }
  .inventory-page .page-title { font-size: 24px; }
  .inventory-page .page-sub { font-size: 12px; }
}
