/* Scrollable sidebar, with a slide-out drawer on small screens. */
.sidebar-toggle { position: fixed; top: 12px; left: 16px; z-index: 110; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px; border: 1px solid #b7cee2; border-radius: 10px; background: #fff; color: #123e69; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 3px 12px #071d3514; }
.sidebar-toggle:focus-visible, .customer-directory a:focus-visible { outline: 3px solid #e69a24; outline-offset: 3px; }
.app-page .sidebar { z-index: 100; padding-top: 66px; transition: transform .22s ease; }
.app-page .sidebar .brand, .app-page .sidebar .sidebar-footer { flex-shrink: 0; }
.app-page .sidebar .nav { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; align-content: start; grid-auto-rows: max-content; margin-top: 18px; padding-bottom: 16px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #759abb transparent; }
.app-page .sidebar .nav a { min-height: 46px; }
.app-page .sidebar .nav-more-button { display: none; }
.app-page .sidebar .nav-more-panel { position: static; display: grid; grid-auto-rows: max-content; max-height: none; overflow: visible; padding: 0; border: 0; background: transparent; box-shadow: none; }
.app-page .sidebar .sidebar-footer { padding-top: 12px; }
.app-page .main { padding-top: 70px; min-width: 0; transition: margin-left .22s ease; }
.app-page.sidebar-collapsed .sidebar { transform: translateX(-100%); }
.app-page.sidebar-collapsed .main { margin-left: 0; }
.app-page .nav-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 90; width: 100%; border: 0; background: #071d3570; }
.customer-filters { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(2, minmax(150px, 1fr)) auto; align-items: end; gap: 12px; }
.customer-filter-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.customer-results { margin: 18px 0 10px; font-weight: 600; color: #244563; }
.customer-directory { min-width: 0; }
.customer-directory .table-wrap { max-width: 100%; }
.customer-table { min-width: 1150px; width: 100%; }
.customer-table td { vertical-align: top; white-space: normal; overflow-wrap: anywhere; }
.customer-table td:nth-child(2) { min-width: 170px; max-width: 250px; }
.customer-table td:nth-child(4) { min-width: 230px; max-width: 330px; }
.customer-table small { display: block; margin-top: 5px; color: #627386; }
.customer-table .customer-capacity { text-align: right; white-space: nowrap; }
.customer-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
@media (max-width: 1200px) { .customer-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
    .app-page .sidebar { inset: 0 auto 0 0; width: min(300px, 88vw); height: 100dvh; padding: 66px 16px 18px; border: 0; overflow: hidden; transform: translateX(-100%); background: linear-gradient(180deg, #0b3d73, #071d35); backdrop-filter: none; }
    .app-page.sidebar-open .sidebar { transform: translateX(0); }
    .app-page .sidebar .brand { display: flex; }
    .app-page .sidebar .sidebar-footer { display: block; }
    .app-page .sidebar .nav { display: grid; height: auto; gap: 6px; align-items: stretch; justify-content: stretch; }
    .app-page .sidebar .nav a { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 10px; max-width: none; min-height: 46px; padding: 10px 12px; color: #d7e7f8; font-size: 14px; text-align: left; }
    .app-page .sidebar .nav a.active, .app-page .sidebar .nav a:hover { color: #fff; background: #ffffff20; }
    .app-page .sidebar .nav a.active::after { display: none; }
    .app-page .sidebar .nav-icon { width: 24px; min-width: 24px; font-size: 20px; }
    .app-page .sidebar .nav-mobile-legal { display: none; }
    .app-page .main { margin-left: 0; padding: 70px 16px 24px; }
    .app-page.sidebar-open { overflow: hidden; }
}
@media (max-width: 560px) { .customer-filters { grid-template-columns: minmax(0, 1fr); } .customer-filter-actions > * { flex: 1; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .app-page .sidebar, .app-page .main { transition: none; } }
