/* ==========================================================================
   ACCOUNTS — Brokerage account analytics (light theme, scoped to .acc-page)
   Matches the calendar design system.
   ========================================================================== */

/* ---------- Tokens & base ---------- */
.acc-page {
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e5e7eb;
  --border-soft: #f1f5f9;
  --text-1: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;

  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-soft: #eff6ff;

  --profit-strong: #047857;
  --profit-soft: #ecfdf5;
  --profit-border: #a7f3d0;

  --loss-strong: #b91c1c;
  --loss-soft: #fef2f2;
  --loss-border: #fecaca;

  --weekly: #6366f1;
  --weekly-soft: #eef2ff;

  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-lift: 0 12px 24px -10px rgba(15, 23, 42, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

.acc-page .is-positive { color: var(--profit-strong); }
.acc-page .is-negative { color: var(--loss-strong); }
.acc-page .is-muted    { color: #cbd5e1; }

/* ---------- Header ---------- */
.acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.acc-heading h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.025em; }
.acc-heading p  { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }

/* ---------- Buttons ---------- */
.acc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.acc-btn--primary { background: var(--accent); color: #fff; }
.acc-btn--primary:hover { background: var(--accent-strong); color: #fff; }

.acc-btn--ghost { background: var(--surface-2); color: var(--text-2); border-color: var(--border); }
.acc-btn--ghost:hover { background: #e2e8f0; color: var(--text-1); }

.acc-btn:focus-visible,
.acc-pill:focus-visible,
.acc-link-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Account switcher ---------- */
.acc-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.acc-pill {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 210px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--text-1);
  box-shadow: var(--shadow-card);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), border-color 0.15s;
}

.acc-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  color: var(--text-1);
}

.acc-pill.is-active {
  border-color: #93c5fd;
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px #93c5fd;
}

.acc-pill-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.acc-pill-name {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acc-pill.is-active .acc-pill-name,
.acc-pill.is-active svg { color: var(--accent); }

.acc-pill-broker {
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acc-pill-pnl { font-size: 13px; font-weight: 700; }
.acc-pill-pnl em { font-style: normal; font-weight: 500; color: var(--text-3); font-size: 11px; }

.acc-pill--new {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 150px;
  background: transparent;
  border-style: dashed;
  border-color: #cbd5e1;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}

.acc-pill--new:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }

/* ---------- Account bar ---------- */
.acc-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.acc-account-id { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.acc-account-id h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }

.acc-broker-badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--weekly-soft);
  border: 1px solid #c7d2fe;
  color: var(--weekly);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.acc-account-meta { font-size: 13px; font-weight: 600; color: var(--text-2); }
.acc-account-meta em { font-style: normal; font-weight: 500; color: var(--text-3); }

/* ---------- Headline chips ---------- */
.acc-chips { display: flex; gap: 12px; flex-wrap: wrap; }

.acc-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px 12px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: var(--shadow-card);
}

.acc-chip-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
}

.acc-chip-value { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-1); }

/* Goal chip */
.acc-chip--goal { min-width: 250px; gap: 8px; }

.acc-goal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acc-goal-pct { font-size: 13px; font-weight: 800; }

.acc-goal-track {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.acc-goal-fill { height: 100%; border-radius: 999px; transition: width 0.5s var(--ease); }
.acc-goal-fill.is-positive { background: linear-gradient(90deg, #34d399, #059669); }
.acc-goal-fill.is-negative { background: linear-gradient(90deg, #f87171, #dc2626); }
.acc-goal-fill.is-reached { box-shadow: 0 0 8px rgba(5, 150, 105, 0.45); }

.acc-goal-sub { font-size: 11.5px; font-weight: 500; color: var(--text-3); }

/* ---------- Cards ---------- */
.acc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.acc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-soft);
}

.acc-card-head-text { display: flex; align-items: center; gap: 11px; min-width: 0; }

.acc-card-head h3 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.acc-card-head p { margin: 2px 0 0; font-size: 11.5px; color: var(--text-3); }

.acc-card-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}

.acc-card-icon--indigo  { background: var(--weekly-soft); color: var(--weekly); }
.acc-card-icon--violet  { background: #f5f3ff; color: #7c3aed; }
.acc-card-icon--amber   { background: #fffbeb; color: #d97706; }
.acc-card-icon--emerald { background: var(--profit-soft); color: #059669; }

/* Card footers */
.acc-card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.acc-card-foot--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.acc-card-foot--grid > .acc-foot-stat:only-child { grid-template-columns: 1fr; }

.acc-foot-stat > span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
  margin-bottom: 3px;
}

.acc-foot-stat > strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-1);
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.acc-foot-stat > strong em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--text-3); }

/* ---------- Equity card ---------- */
.acc-eq-card { padding: 22px; display: flex; flex-direction: column; }

/* ---------- Charts row ---------- */
.acc-charts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.acc-chart-card { padding: 20px 22px; display: flex; flex-direction: column; }

/* Donut */
.acc-donut-wrap { position: relative; }
.acc-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.acc-donut-center strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.acc-donut-center span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); }

.sw {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
}
.sw-profit { background: #10b981; }
.sw-loss { background: #ef4444; }

.acc-dl { font-size: 12px; font-weight: 600; color: var(--text-2); }

/* Long vs Short diverging bars */
.acc-sides { display: flex; flex-direction: column; gap: 16px; margin: 8px 0 14px; }

.acc-side-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 84px;
  align-items: center;
  gap: 10px;
}

.acc-side-meta { display: flex; flex-direction: column; gap: 1px; }
.acc-side-label { font-size: 12px; font-weight: 700; }
.acc-side-count { font-size: 10px; color: var(--text-3); font-weight: 500; white-space: nowrap; }

.acc-side-track {
  position: relative;
  height: 24px;
  border-radius: 7px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.acc-side-axis { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #e2e8f0; }

.acc-side-bar { position: absolute; top: 5px; bottom: 5px; border-radius: 4px; transition: width 0.4s var(--ease); }
.acc-side-bar.is-positive { left: 50%; background: linear-gradient(90deg, #34d399, #059669); }
.acc-side-bar.is-negative { right: 50%; background: linear-gradient(270deg, #f87171, #dc2626); }

.acc-side-value { font-size: 12px; font-weight: 700; text-align: right; white-space: nowrap; }

/* ---------- Insights row ---------- */
.acc-insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.acc-stat-card { padding: 22px; display: flex; flex-direction: column; }

.acc-hero { margin-bottom: 16px; }

.acc-hero-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
}

.acc-hero-value {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.acc-hero-sub { display: block; margin-top: 6px; font-size: 11.5px; color: var(--text-3); }

.acc-rows { display: flex; flex-direction: column; }

.acc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-soft);
}

.acc-row:first-child { padding-top: 0; }
.acc-row:last-child { border-bottom: 0; padding-bottom: 0; }

.acc-row > span { font-size: 12.5px; font-weight: 500; color: var(--text-2); }

.acc-row > strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
  text-align: right;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.acc-row > strong em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--text-3); }

.streak-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.streak-win  { background: var(--profit-soft); border: 1px solid var(--profit-border); color: var(--profit-strong); }
.streak-loss { background: var(--loss-soft); border: 1px solid var(--loss-border); color: var(--loss-strong); }

/* ---------- Tables row ---------- */
.acc-tables {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 20px;
  align-items: stretch;
}

.acc-tables.is-collapsed { grid-template-columns: 1fr; }

.acc-table-card { padding: 20px 22px; display: flex; flex-direction: column; }

/* Symbols */
.sym-list { display: flex; flex-direction: column; }

.sym-row {
  display: grid;
  grid-template-columns: 74px 86px minmax(0, 1fr) 80px;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-soft);
}

.sym-row:last-child { border-bottom: 0; padding-bottom: 0; }

.sym-name { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.sym-meta { font-size: 10.5px; color: var(--text-3); font-weight: 500; white-space: nowrap; }

.sym-track { height: 7px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.sym-fill { height: 100%; border-radius: 999px; }
.sym-fill.is-positive { background: #10b981; }
.sym-fill.is-negative { background: #ef4444; }

.sym-pnl { font-size: 12.5px; font-weight: 700; text-align: right; white-space: nowrap; }

/* Tags */
.tag-list { display: flex; flex-direction: column; }

.tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
}

.tag-row:last-child { border-bottom: 0; padding-bottom: 0; }

.tag-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tag-name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag-meta { font-size: 10.5px; color: var(--text-3); font-weight: 500; }
.tag-pnl { font-size: 12.5px; font-weight: 700; white-space: nowrap; }

/* Recent trades table */
.acc-table { width: 100%; border-collapse: collapse; }

.acc-table th {
  text-align: left;
  padding: 0 10px 10px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
  border-bottom: 1px solid var(--border-soft);
}

.acc-table td {
  padding: 11px 10px;
  font-size: 13px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border-soft);
  white-space: nowrap;
}

.acc-table tbody tr:last-child td { border-bottom: 0; }
.acc-table tbody tr:hover td { background: var(--surface-2); }

.td-strong { color: var(--text-1); font-weight: 600; }
.td-muted { color: var(--text-3); font-size: 12px; }
.ta-right { text-align: right !important; }

.side-badge,
.open-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.side-long  { background: var(--profit-soft); border: 1px solid var(--profit-border); color: var(--profit-strong); }
.side-short { background: var(--loss-soft); border: 1px solid var(--loss-border); color: var(--loss-strong); }
.open-badge { background: #fffbeb; border: 1px solid #fde68a; color: #b45309; }

.acc-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.acc-link-btn:hover { background: #e2e8f0; color: var(--text-1); }

/* ---------- Empty states ---------- */
.acc-empty-large,
.acc-no-data {
  padding: 72px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.acc-empty-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}

.acc-empty-large h3,
.acc-no-data h3 { margin: 0; font-size: 19px; font-weight: 700; color: var(--text-1); }

.acc-empty-large p,
.acc-no-data p { margin: 0 0 18px; font-size: 14px; color: var(--text-2); max-width: 420px; }

.acc-empty-slim {
  margin: auto 0;
  padding: 22px 8px;
  text-align: center;
}

.acc-empty-slim p { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.acc-empty-slim span { display: block; margin-top: 4px; font-size: 12px; color: var(--text-3); }

/* ---------- Modal ---------- */
#accountModal.acc-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.acc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.acc-modal-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.3);
  animation: acc-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes acc-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.acc-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.acc-modal-head h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: #0f172a; }
.acc-modal-head p  { margin: 4px 0 0; font-size: 13px; color: #64748b; }

.acc-modal-close {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.acc-modal-close:hover { background: #e2e8f0; color: #0f172a; }

.acc-field { margin-bottom: 16px; }

.acc-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}

.acc-input {
  width: 100%;
  padding: 11px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #0f172a;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.acc-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.acc-input::placeholder { color: #94a3b8; }

#accountModal .field_with_errors .acc-input { border-color: #dc2626; }

.acc-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

/* ---------- Entrance animation ---------- */
@keyframes acc-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.acc-header     { animation: acc-rise 0.45s var(--ease) both; }
.acc-switcher   { animation: acc-rise 0.45s var(--ease) 0.05s both; }
.acc-account-bar,
.acc-chips      { animation: acc-rise 0.45s var(--ease) 0.10s both; }
.acc-eq-card    { animation: acc-rise 0.45s var(--ease) 0.15s both; }
.acc-charts > *,
.acc-insights > *,
.acc-tables > * { animation: acc-rise 0.45s var(--ease) both; }

.acc-charts > *:nth-child(2)    { animation-delay: 0.20s; }
.acc-charts > *:nth-child(3)    { animation-delay: 0.24s; }
.acc-insights > *:nth-child(1)  { animation-delay: 0.18s; }
.acc-insights > *:nth-child(2)  { animation-delay: 0.22s; }
.acc-insights > *:nth-child(3)  { animation-delay: 0.26s; }
.acc-insights > *:nth-child(4)  { animation-delay: 0.30s; }
.acc-tables > *                 { animation-delay: 0.30s; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .acc-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1240px) {
  .acc-tables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-table-card--trades { grid-column: 1 / -1; }
}

@media (max-width: 1150px) {
  .acc-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-chart-card--daily { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .acc-page { padding: 20px 20px 36px; gap: 18px; }
  .acc-header { flex-direction: column; align-items: flex-start; }
  .acc-heading h1 { font-size: 22px; }
}

@media (max-width: 768px) {
  .acc-eq-card,
  .acc-chart-card,
  .acc-stat-card,
  .acc-table-card { padding: 18px; }

  .acc-chip { min-width: 0; flex: 1 1 130px; }
  .acc-chip--goal { flex-basis: 100%; }

  .acc-card-foot--grid { grid-template-columns: 1fr 1fr; }

  .sym-row { grid-template-columns: 64px 70px minmax(0, 1fr) 70px; gap: 8px; }

  .acc-table td, .acc-table th { padding: 9px 8px; font-size: 12px; }
}

@media (max-width: 700px) {
  .acc-charts { grid-template-columns: 1fr; }
  .acc-chart-card--daily { grid-column: auto; }
  .acc-tables { grid-template-columns: 1fr; }
  .acc-pill { min-width: 155px; flex: 1 1 155px; }
}

@media (max-width: 480px) {
  .acc-insights { grid-template-columns: 1fr; }
  .acc-account-meta { font-size: 12px; }
  .sym-row { grid-template-columns: 58px minmax(0, 1fr) 68px; }
  .sym-meta { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .acc-page *,
  .acc-page *::before,
  .acc-page *::after,
  .acc-modal-panel {
    animation: none !important;
    transition: none !important;
  }
}
