.container { display: grid; grid-template-columns: repeat(1, 1fr); gap: 20px; }
@media (max-width: 600px) { .container { grid-template-columns: repeat(1, 1fr); } }
.mobile-nav-toggle { display: none !important; }
.sidebar-nav-container { display: block; }

/* ── TABLET (≤ 900px) ──────────────────────────── */
@media (max-width: 900px) {
  .global-search-container {
    width: 200px !important;
  }
}

/* ── MOBILE (≤ 768px) ──────────────────────────── */
@media (max-width: 768px) {
  .container {
    padding: 1rem 14px !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .mobile-nav-toggle {
    display: block !important;
  }
  .sidebar-nav-container {
    display: none;
    margin-top: 1rem !important;
  }
  .sidebar-nav-container.show-nav {
    display: block !important;
  }
  .layout-table, .layout-table tbody, .layout-table tr, .layout-table td {
    display: block !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .sidebar-cell {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  .main-cell {
    padding-top: 1rem !important;
  }
  .grid-table {
    border-spacing: 0 !important;
    margin-top: 1rem !important;
  }
  .grid-table td {
    display: block !important;
    width: 100% !important;
    margin-bottom: 16px !important;
  }
  .doc-card {
    padding: 1.5rem !important;
    min-height: auto !important;
  }
  h1 {
    font-size: 2.2rem !important;
    padding-bottom: 1rem !important;
  }
  h2 {
    font-size: 1.6rem !important;
  }
  h3 {
    font-size: 1.3rem !important;
  }
  p, li, td {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }
  .header-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 2rem !important;
  }
  .brand {
    font-size: 1rem !important;
  }
  footer {
    margin-top: 4rem !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }
}
