.accounts-page { display: grid; gap: 20px; }
.sidebar nav { flex: 1; min-height: 0; overflow-y: auto; align-content: start; padding-bottom: 12px; }
.sidebar .brand, .sidebar-caption, .sidebar-foot { flex-shrink: 0; }
.accounts-intro { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; background: #fff; border: 1px solid var(--line, #e0e6e3); border-radius: 14px; }
.accounts-intro strong { font-size: 16px; }
.accounts-intro p { color: var(--muted, #74827c); font-size: 13px; line-height: 1.7; margin: 7px 0 0; }
.accounts-links { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.accounts-tabs { display: flex; flex-wrap: wrap; gap: 9px; }
.accounts-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 15px; border: 1px solid var(--line, #e0e6e3); background: #fff; color: var(--muted, #74827c); border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; }
.accounts-tabs button span { padding: 2px 7px; min-width: 24px; border-radius: 6px; font-size: 11px; background: #f1f4f3; }
.accounts-tabs button.active { background: #eaf5ef; color: #207249; border-color: #b8d9c8; }
.accounts-tabs button.active span { background: #d7ebdf; }
.accounts-tabs button:focus-visible { outline: 2px solid #207249; outline-offset: 3px; }
.accounts-filters { margin: 0; flex-wrap: wrap; }
.accounts-filters .search-field { min-width: 250px; }
.accounts-total { margin-left: auto; font-size: 13px; color: var(--muted, #74827c); white-space: nowrap; }
.accounts-panel { margin: 0; }
.accounts-panel table { min-width: 650px; }
.accounts-panel td:first-child strong { overflow-wrap: anywhere; }
.accounts-note { margin: -6px 0 0; color: var(--muted, #74827c); font-size: 12px; line-height: 1.7; }
@media (max-width: 900px) {
  .accounts-intro { align-items: flex-start; flex-direction: column; gap: 16px; padding: 20px; }
  .accounts-filters .search-field { flex: 1 1 100%; min-width: 0; }
  .accounts-total { margin-left: 0; width: 100%; }
}
@media (max-width: 600px) {
  .accounts-page { gap: 16px; }
  .accounts-tabs { gap: 7px; }
  .accounts-tabs button { padding: 9px 12px; }
  .accounts-links { width: 100%; }
  .accounts-links .button { flex: 1; }
}
