.admin-header, .admin-actions, .admin-toolbar, .admin-pagination {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-header { justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.admin-header .brand { font-size: 1rem; white-space: normal; }
.admin-main { padding-top: 32px; padding-bottom: 48px; }
.admin-toolbar { margin-bottom: 20px; align-items: flex-end; }
.admin-search-field { flex: 1 1 300px; }
#admin-status { min-height: 2em; color: var(--text-secondary); }
.admin-table-scroll { overflow-x: auto; border: 1px solid var(--border-color); border-radius: var(--radius-md); }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th, .admin-table td { padding: 16px; border-bottom: 1px solid var(--border-color); }
.admin-table th { background: var(--bg-card); color: var(--text-secondary); white-space: nowrap; }
.admin-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.025); }
.admin-table tbody tr:hover { background: var(--bg-card-hover); }
.admin-table td:nth-child(3) { white-space: nowrap; }
.admin-email-cell { max-width: 18rem; overflow-wrap: anywhere; }
.admin-pagination { margin-top: 20px; justify-content: flex-end; }
#admin-empty { padding: 24px; color: var(--text-secondary); }
@media (max-width: 600px) {
  .admin-header .brand { flex-basis: 100%; }
  .admin-toolbar > .btn { width: 100%; }
  .admin-table th, .admin-table td { padding: 12px; }
}

/* Shared brand assets retain their natural aspect ratio. */
.admin-header .brand { gap: 24px; }
.admin-header .brand-logo { width: 144px; height: auto; }
.admin-brand-label { font-family: var(--font-headings); font-weight: 500; border-left: 1px solid var(--border-color); padding-left: 24px; color: var(--text-secondary); }
.admin-actions { gap: 12px; }
.admin-actions #admin-phone { font-size: .85rem; }
.admin-toolbar { padding: 24px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-card); }
.admin-toolbar .form-input { background: var(--bg-main); }
.admin-table { font-size: .9rem; }
.admin-table th { color: var(--color-beige); font-weight: 600; }
.admin-table-scroll:focus-visible { outline-offset: 4px; }
#admin-empty { border: 1px dashed var(--border-color); border-radius: var(--radius-md); text-align: center; }
@media (max-width: 767px) {
  .admin-header .brand { gap: 16px; }
  .admin-brand-label { padding-left: 16px; font-size: .85rem; white-space: normal; }
  .admin-main { padding-top: 28px; }
  .admin-toolbar { padding: 16px; }
  .admin-pagination { justify-content: space-between; gap: 8px; }
  #admin-page-label { font-size: .8rem; }
}
