/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── MAROON THEME TOKENS ── */
:root {
  --maroon-deep:   #3d0a12;
  --maroon:        #6b1423;
  --maroon-mid:    #8f1f32;
  --maroon-light:  #b84358;
  --rose:          #e8c4ca;
  --rose-pale:     #f5e8eb;
  --cream:         #faf6f4;
  --surface:       #fff9f7;
  --white:         #ffffff;
  --border:        #e4cdd2;
  --border-strong: #c9a0a8;
  --txt:           #2a1218;
  --muted:         #7a5560;
  --accent-gold:   #c9a227;
  --success:       #2d6a4f;
  --danger:        #9b1c2e;
  --warn:          #9a6700;
  --sidebar-w:     248px;
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-ui:       'Outfit', system-ui, sans-serif;
}

/* ── BASE ── */
html { font-size: 15px; height: 100%; }

body {
  font-family: var(--font-ui);
  background: var(--cream);
  color: var(--txt);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.page-table {
  height: 100vh;
  overflow: hidden;
}

body.modal-open { overflow: hidden; }

/* ── APP SHELL (sidebar layout) ── */
.app-layout {
  display: flex;
  min-height: 100vh;
  height: 100vh;
}

.main-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin-left: var(--sidebar-w);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(184, 67, 88, 0.08) 0%, transparent 55%),
    var(--cream);
}

/* ── SIDEBAR ── */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--maroon-deep) 0%, var(--maroon) 55%, #5a1220 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 4px 0 24px rgba(61, 10, 18, 0.25);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 18px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sidebar-brand-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.sidebar-brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 2px;
}

.sidebar-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 10px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.sidebar-scroll::-webkit-scrollbar {
  width: 5px;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.sidebar-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

.sidebar-nav {
  padding: 6px 4px 14px;
}

.sidebar-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(232, 196, 202, 0.65);
  padding: 4px 10px 8px;
}

.sidebar-link {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  margin-bottom: 2px;
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ── Archives panel (sidebar) ── */
.sidebar-archives {
  margin: 4px 4px 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.sidebar-archives-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.15s;
}

.sidebar-archives-summary::-webkit-details-marker {
  display: none;
}

.sidebar-archives-summary::marker {
  content: '';
}

.sidebar-archives-summary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-archives-summary-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sidebar-archives-icon {
  flex-shrink: 0;
  color: var(--accent-gold);
  opacity: 0.95;
}

.sidebar-archives-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.92);
}

.sidebar-archives-chevron {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(232, 196, 202, 0.8);
  border-bottom: 2px solid rgba(232, 196, 202, 0.8);
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s ease;
}

.sidebar-archives[open] .sidebar-archives-chevron {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.sidebar-archives-desc {
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(232, 196, 202, 0.65);
  padding: 0 14px 10px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-archives-links {
  padding: 8px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-link-archive {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(232, 196, 202, 0.9);
  padding: 8px 10px;
  border-radius: 8px;
  border-left: 3px solid transparent;
}

.sidebar-link-archive svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.sidebar-link-archive span {
  min-width: 0;
  line-height: 1.3;
}

.sidebar-link-archive:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sidebar-link-archive:hover svg {
  opacity: 1;
}

.sidebar-link-archive.is-active {
  background: rgba(201, 162, 39, 0.18);
  border-left-color: var(--accent-gold);
  color: #fff;
  font-weight: 600;
}

.sidebar-link-archive.is-active svg {
  opacity: 1;
  color: var(--accent-gold);
}

.sidebar-footer {
  padding: 14px 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logout {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rose-pale);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.15s, color 0.15s;
}

.sidebar-logout:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.sidebar-link.is-active {
  background: rgba(255, 255, 255, 0.16);
  border-left-color: var(--accent-gold);
  color: #fff;
  font-weight: 600;
}

/* ── PAGE SHELL ── */
.page-shell {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 20px 24px 24px;
}

.container {
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
}

/* ── CARD ── */
.card {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(107, 20, 35, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* ── PAGE HEADER (replaces navy title bar) ── */
.page-header {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, var(--rose-pale) 0%, var(--surface) 40%);
}

.page-header-archive {
  background: linear-gradient(90deg, #f3e8ea 0%, var(--surface) 55%);
  border-bottom-color: #e0c4c9;
  position: relative;
}

.page-header-archive::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--maroon-mid), var(--accent-gold));
  border-radius: 16px 0 0 0;
}

.page-header-archive .page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--maroon-mid);
  background: rgba(107, 20, 35, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
}

.page-header-archive .page-title {
  color: var(--maroon-deep);
}

.page-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--maroon-mid);
  margin-bottom: 4px;
}

.page-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--maroon-deep);
  line-height: 1.15;
  margin: 0;
}

.page-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.result-count {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 12px;
  vertical-align: middle;
}

/* ── TOOLBAR ── */
.table-toolbar {
  flex-shrink: 0;
  padding: 16px 26px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.search-box {
  display: flex;
  align-items: center;
  flex: 1 1 280px;
  min-width: 200px;
  max-width: 420px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}

.search-box input {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  padding: 11px 16px 11px 42px;
  width: 100%;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  color: var(--txt);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.search-box input::placeholder { color: var(--muted); opacity: 0.75; }

.search-box input:focus {
  border-color: var(--maroon-mid);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(143, 31, 50, 0.12);
}

.clear-btn {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 16px;
  background: transparent;
  color: var(--maroon-mid);
  text-decoration: none;
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  transition: all 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
}

.clear-btn:hover {
  background: var(--rose-pale);
  border-color: var(--maroon-mid);
  color: var(--maroon-deep);
}

/* ── FILTER ── */
.filter-wrap { position: relative; flex-shrink: 0; }

.btn-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: var(--cream);
  color: var(--maroon);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-filter:hover,
.btn-filter[aria-expanded="true"] {
  background: var(--rose-pale);
  border-color: var(--maroon-mid);
  color: var(--maroon-deep);
}

.filter-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 300px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(61, 10, 18, 0.15);
  padding: 18px;
  z-index: 200;
}

.filter-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--maroon-deep);
}

.filter-clear {
  background: none;
  border: none;
  color: var(--maroon-mid);
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
}

.filter-group { margin-bottom: 14px; }

.filter-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.filter-group select,
.filter-group input[type="date"] {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  background: var(--cream);
}

.date-range { display: flex; gap: 8px; }
.date-range input { flex: 1; }

.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

/* ── TABLE AREA ── */
.table-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 26px 24px;
}

.table-wrap {
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-top: 4px;
}

.table-scroll.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.table-error {
  margin: 0 26px 12px;
  padding: 12px 16px;
  background: #fce8ec;
  border: 1px solid #e8b4be;
  border-left: 4px solid var(--danger);
  border-radius: 10px;
  color: var(--maroon-deep);
  font-size: 0.88rem;
}

.table-error[hidden] { display: none; }

#data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.86rem;
}

#data-table thead {
  position: sticky;
  top: 0;
  z-index: 20;
}

#data-table th {
  padding: 13px 16px;
  text-align: left;
  color: #fff;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  background: var(--maroon);
  border-bottom: 2px solid var(--maroon-deep);
}

.th-actions { width: 100px; text-align: center; }

#data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--txt);
  vertical-align: middle;
  background: var(--white);
}

#data-table tbody tr:last-child td { border-bottom: none; }
#data-table tbody tr:nth-child(even) td { background: var(--rose-pale); }
#data-table tbody tr:hover td { background: #f0dce0; }

/* ── BADGES ── */
.badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-admin    { background: #ede0f0; color: #5c2d6e; }
.badge-member   { background: var(--rose-pale); color: var(--maroon-mid); }
.badge-active   { background: #d8f0e4; color: var(--success); }
.badge-inactive { background: #fce8ec; color: var(--danger); }
.badge-pending  { background: #fff4d6; color: var(--warn); }
.badge-yes      { background: #d8f0e4; color: var(--success); }
.badge-no       { background: #fce8ec; color: var(--danger); }

.empty-state {
  text-align: center;
  padding: 56px 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ── LOGIN (split layout) ── */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.login-panel-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
  background: linear-gradient(145deg, var(--maroon-deep) 0%, var(--maroon) 50%, #5a1220 100%);
  color: #fff;
}

.login-panel-brand h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.login-panel-brand p {
  font-size: 0.95rem;
  color: var(--rose);
  max-width: 320px;
  line-height: 1.6;
}

.login-panel-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--cream);
}

.login-container {
  width: 100%;
  max-width: 400px;
}

.login-header {
  margin-bottom: 28px;
}

.login-header h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 6px;
}

.login-header p {
  font-size: 0.9rem;
  color: var(--muted);
}

.login-body { padding: 0; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--txt);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: var(--maroon-mid);
  box-shadow: 0 0 0 3px rgba(143, 31, 50, 0.12);
}

.login-body button {
  width: 100%;
  padding: 14px;
  background: var(--maroon);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}

.login-body button:hover {
  background: var(--maroon-deep);
  transform: translateY(-1px);
}

.login-hint {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.login-hint code {
  background: var(--rose-pale);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.76rem;
  color: var(--maroon);
}

.error {
  color: var(--danger);
  margin-bottom: 18px;
  padding: 12px 14px;
  background: #fce8ec;
  border-radius: 10px;
  border-left: 3px solid var(--danger);
  font-size: 0.87rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s, border-color 0.15s;
}

.btn-primary {
  background: var(--maroon);
  color: #fff;
}

.btn-primary:hover { background: var(--maroon-deep); }

.btn-secondary {
  background: var(--white);
  color: var(--maroon);
  border: 1.5px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--rose-pale);
  border-color: var(--maroon-mid);
  color: var(--maroon-deep);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover { background: #7a1525; }

.actions-cell {
  white-space: nowrap;
  text-align: center;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.15s, color 0.15s;
}

.btn-edit:hover { background: var(--rose-pale); color: var(--maroon); }
.btn-delete:hover { background: #fce8ec; color: var(--danger); }

/* ── MODALS ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 18, 24, 0.55);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 20px;
  overflow-y: auto;
}

.modal-overlay[hidden] { display: none; }

.modal {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 64px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(61, 10, 18, 0.22);
  margin: auto;
  border: 1px solid var(--border);
}

#record-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.modal-sm { max-width: 420px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--maroon-deep);
  color: #fff;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--rose);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.modal-close:hover { color: #fff; }

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  min-height: 120px;
  max-height: calc(100vh - 220px);
  -webkit-overflow-scrolling: touch;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--rose-pale);
  flex-shrink: 0;
}

.modal-body .form-group { margin-bottom: 16px; }

.modal-body .form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.modal-body input,
.modal-body select,
.modal-body textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--txt);
  background: var(--cream);
}

.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
  border-color: var(--maroon-mid);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 3px rgba(143, 31, 50, 0.1);
}

.modal-body input.invalid,
.modal-body select.invalid,
.modal-body textarea.invalid {
  border-color: var(--danger);
}

.field-error {
  display: block;
  color: var(--danger);
  font-size: 0.78rem;
  margin-top: 4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  :root { --sidebar-w: 72px; }

  .sidebar-brand-text,
  .sidebar-section-label,
  .sidebar-archives-desc,
  .sidebar-link span,
  .sidebar-link-archive span { display: none; }

  .sidebar-archives-summary {
    justify-content: center;
    padding: 12px 8px;
  }

  .sidebar-archives-summary-left {
    justify-content: center;
  }

  .sidebar-archives-chevron {
    display: none;
  }

  .sidebar-brand { justify-content: center; padding: 16px 8px; }
  .sidebar-link {
    font-size: 0;
    padding: 12px;
    text-align: center;
  }

  .sidebar-link::first-letter { font-size: 0.75rem; }

  .login-page { grid-template-columns: 1fr; }
  .login-panel-brand { display: none; }
}
