@charset "UTF-8";

/* Дашборд «Проекты инвестиционных платформ».
   Дизайн-система проекта 259cfa.ru: светлая тема по умолчанию,
   тёмная — через html[data-theme="dark"], те же токены, шрифты и стили
   карточек/кнопок, что и на основном сайте. */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f7f8;
  --ink: #00263a;
  --muted: #707070;
  --muted-2: #94a3ad;
  --line: #e2e6e9;
  --line-strong: #d9d9d9;
  --accent: #649e92;
  --accent-strong: #4f8579;
  --accent-text: #43756a;
  --accent-soft: rgba(100, 158, 146, 0.14);
  --accent-softer: rgba(100, 158, 146, 0.07);
  --pos: #1f7a45;
  --pos-soft: rgba(31, 122, 69, 0.11);
  --neg: #cf4141;
  --neg-soft: rgba(207, 65, 65, 0.11);
  --warn: #b45309;
  --warn-soft: rgba(180, 83, 9, 0.1);
  --btn-bg: #43756a;
  --btn-fg: #ffffff;
  --btn-bg-strong: #3a665c;
  --head-h: 62px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 38, 58, 0.06);
  --shadow-md: 0 1px 2px rgba(0, 38, 58, 0.05), 0 6px 18px -8px rgba(0, 38, 58, 0.14);
  --shadow-lg: 0 2px 6px rgba(0, 38, 58, 0.06), 0 16px 44px -14px rgba(0, 38, 58, 0.2);
  --font-sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #04141f;
  --surface: #0b2330;
  --surface-2: #123043;
  --ink: #e8eef2;
  --muted: #8aa0ad;
  --muted-2: #b6c6d0;
  --line: #1d3a4c;
  --line-strong: #2c5568;
  --accent: #7fb8ac;
  --accent-strong: #9dcac0;
  --accent-text: #9dcac0;
  --accent-soft: rgba(127, 184, 172, 0.15);
  --accent-softer: rgba(127, 184, 172, 0.09);
  --pos: #56bb79;
  --pos-soft: rgba(86, 187, 121, 0.13);
  --neg: #e57373;
  --neg-soft: rgba(229, 115, 115, 0.13);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.11);
  --btn-bg: #7fb8ac;
  --btn-fg: #04141f;
  --btn-bg-strong: #9dcac0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 18px -8px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 16px 44px -14px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent-soft); }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 8px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- баннер ошибки ---------- */

.error-banner {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(92vw, 640px);
  padding: 10px 16px;
  background: var(--neg-soft);
  border: 1px solid var(--neg);
  border-radius: var(--r-sm);
  color: var(--neg);
  font-size: 14px;
  box-shadow: var(--shadow-lg);
}

.error-banner__icon { flex-shrink: 0; }

/* ---------- шапка (как .site-head на 259cfa.ru) ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-strong);
}

.header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px;
  min-height: var(--head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

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

.brand__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand__subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 560px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sync-note {
  font-size: 12.5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--pos-soft);
  color: var(--pos);
  white-space: nowrap;
}

.updated {
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mainlink {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.mainlink:hover { background: var(--accent-softer); }

/* ---------- кнопки (как .btn/.btn-primary на 259cfa.ru) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: 600 14px/1.2 var(--font-sans);
  padding: 9px 16px;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, color 0.15s;
}

.btn:hover { border-color: var(--accent-text); }

.btn--primary {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--btn-bg) 45%, transparent);
}

.btn--primary:hover {
  background: var(--btn-bg-strong);
  border-color: var(--btn-bg-strong);
  color: var(--btn-fg);
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--btn-bg) 50%, transparent);
}

.btn--ghost { background: transparent; }

.btn--icon {
  width: 37px;
  padding: 9px 0;
  border-radius: 999px;
  flex-shrink: 0;
}

.btn__icon { flex-shrink: 0; }

.btn.is-busy { pointer-events: none; opacity: 0.75; }

.btn.is-busy .btn__icon { animation: spin 1s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

html[data-theme="light"] .icon-sun { display: none; }
html[data-theme="dark"] .icon-moon { display: none; }

/* ---------- основная сетка ---------- */

.main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ---------- метрики (карточки как .card на 259cfa.ru) ---------- */

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 16px;
}

.metric {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.metric:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.metric__value {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.metric--accent .metric__value { color: var(--accent-text); }

.metric__label {
  margin-top: 5px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.metric__hint {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted-2);
}

/* ---------- панели ---------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 20px 22px;
}

.panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}

.panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.panel__meta { font-size: 13px; color: var(--muted); }

.panel__foot {
  display: flex;
  justify-content: center;
  padding-top: 14px;
}

/* ---------- фильтры ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: flex-end;
}

.field { display: flex; flex-direction: column; }

.field--grow { flex: 1 1 240px; }

.field__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 6px;
}

.control {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: 400 14px/1.4 var(--font-sans);
  padding: 9px 12px;
  border-radius: var(--r-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.control:hover { border-color: var(--muted-2); }

.control:focus {
  outline: none;
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.control--select { padding-right: 30px; }

.search { position: relative; }

.search__icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search .control { padding-left: 34px; width: 100%; }

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 9px;
  cursor: pointer;
  user-select: none;
}

.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-text);
  cursor: pointer;
}

/* ---------- таблица проектов ---------- */

.table-scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: middle;
}

.table tbody tr { transition: background 0.12s; }

.table tbody tr:hover td { background: var(--accent-softer); }

.table .num {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.table .col-term { white-space: nowrap; }
.table .col-status { white-space: nowrap; }
.table .col-published { white-space: nowrap; color: var(--muted); font-size: 13px; }
.table .col-link { text-align: right; white-space: nowrap; }

.proj { display: flex; flex-direction: column; gap: 2px; min-width: 220px; }

.proj__title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.35;
}

.proj__company {
  font-size: 12.5px;
  color: var(--muted);
}

.badge-new {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.collected {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 120px;
}

.collected__sum { font-family: var(--font-mono); font-size: 13px; }

.collected__pct { font-size: 11px; color: var(--muted); }

.bar {
  width: 110px;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.bar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width 0.4s ease;
}

/* статусы */

.st {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

.st--active { background: var(--pos-soft); color: var(--pos); }
.st--disappeared { background: var(--surface-2); color: var(--muted); }
.st--other { background: var(--warn-soft); color: var(--warn); }

/* бейдж платформы: цвет задаётся переменной --h из app.js,
   светлый/тёмный вариант берётся из темы */

.pbadge {
  display: inline-block;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: hsl(var(--h, 170) 40% 93%);
  color: hsl(var(--h, 170) 40% 30%);
  border-color: hsl(var(--h, 170) 40% 78%);
}

html[data-theme="dark"] .pbadge {
  background: hsl(var(--h, 170) 45% 20%);
  color: hsl(var(--h, 170) 85% 78%);
  border-color: hsl(var(--h, 170) 60% 45% / 0.55);
}

.link-out {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
  white-space: nowrap;
}

.link-out:hover { text-decoration: underline; }

/* новые строки */

tr.tr--new td { background: var(--accent-softer); }

tr.tr--new td:first-child { box-shadow: inset 3px 0 0 var(--accent); }

.table tbody tr:hover.tr--new td { background: var(--accent-soft); }

.table tbody.anim tr {
  animation: rowIn 0.34s both;
  animation-delay: var(--d, 0ms);
}

@keyframes rowIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

/* ---------- пустые состояния ---------- */

.empty {
  padding: 44px 20px;
  text-align: center;
  color: var(--muted);
}

.empty--slim { padding: 16px; font-size: 14px; }

.empty__icon { font-size: 30px; margin-bottom: 10px; opacity: 0.7; }

.empty__text { margin: 0; font-size: 14.5px; }

/* ---------- витрина платформ (карточки в манере /base на 259cfa.ru) ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-text);
}

.eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
}

.showcase__head { align-items: flex-start; }

.showcase__titles {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.showcase__titles .panel__title { font-size: 21px; }

/* сетка как .rel-cards на /base */
.rel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 12px;
}

.rel-cell {
  position: relative;
  min-width: 0;
}

.rel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  height: 100%;
  padding: 13px 14px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.rel-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.rel-card:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}

.rel-card.is-active {
  border-color: var(--accent-text);
  background: var(--accent-softer);
}

/* статус-бейдж (как .rel-badge на /base); тон — по смыслу статуса сбора */
.rel-badge {
  align-self: flex-start;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 10.5px/1.2 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rel-badge-live { color: var(--pos); background: var(--pos-soft); }
.rel-badge-warn { color: var(--warn); background: var(--warn-soft); }
.rel-badge-neg { color: var(--neg); background: var(--neg-soft); }
.rel-badge-muted { color: var(--muted); background: var(--surface-2); }

/* пульсирующая точка «сбор идёт» (как .nowb-dot-live на /base) */
.nowb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nowb-dot-live {
  background: var(--pos);
  box-shadow: 0 0 0 3px var(--pos-soft);
  animation: nowb-pulse 2.2s ease-out infinite;
}

@keyframes nowb-pulse {
  0% { box-shadow: 0 0 0 0 var(--pos-soft); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* название платформы (как .rel-issuer: 2 строки с запасом высоты) */
.rel-issuer {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  font: 600 14.5px/1.35 var(--font-sans);
  color: var(--ink);
}

.rel-card:hover .rel-issuer { color: var(--accent-text); }

/* строка чисел (как .rel-stats): число проектов крупно + средняя ставка */
.rel-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 2px;
}

.rel-rate {
  font: 700 17px/1 var(--font-mono);
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}

.rel-rate small {
  font: 500 10px/1 var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.02em;
}

.rel-cap {
  font: 500 11.5px/1 var(--font-mono);
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

/* кнопка «i» и раскрывающийся evidence внутри карточки */
.plat-card__info {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.plat-card__info:hover,
.plat-card__info[aria-expanded="true"] {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.plat-card__ev {
  display: none;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-strong);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.rel-card.is-ev-open .plat-card__ev { display: block; }

/* как на /base: ≤640px — 2 колонки, ≤460px — одна */
@media (max-width: 640px) {
  .rel-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 460px) {
  .rel-cards { grid-template-columns: 1fr; }
}

/* ---------- покрытие реестра ---------- */

.cov-note {
  margin: -6px 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* чипы-сводка по группам статусов */
.cov-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cov-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  cursor: default;
  background: var(--surface-2);
  color: var(--muted);
}

.cov-chip__n {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cov-chip--pos { background: var(--pos-soft); color: var(--pos); }
.cov-chip--warn { background: var(--warn-soft); color: var(--warn); }
.cov-chip--neg { background: var(--neg-soft); color: var(--neg); }
.cov-chip--muted { background: var(--surface-2); color: var(--muted); }

/* ---------- юридические оговорки ---------- */

.legal {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--accent-softer);
  padding: 16px 22px 18px;
}

.legal__title {
  margin: 0 0 12px;
  font: 600 12px/1.3 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.legal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px 28px;
}

.legal__head {
  display: block;
  margin: 0 0 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.legal__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.legal__link {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}

.legal__link:hover { text-decoration: underline; }

/* ---------- подвал ---------- */

.footer {
  margin-top: 6px;
  padding: 16px 2px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* shortBadge юридической спеки */
.foot-badge {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.foot-badge svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.foot-badge a {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}

.foot-badge a:hover { text-decoration: underline; }

.foot-note { margin: 0; }

/* ---------- адаптив ---------- */

@media (max-width: 760px) {
  .brand__subtitle { display: none; }

  .header__actions { width: 100%; justify-content: flex-end; }

  .main { padding: 20px 14px 32px; gap: 16px; }

  .panel { padding: 16px; }

  .metric__value { font-size: 25px; }

  .legal { padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .table tbody.anim tr { animation: none; }
  .bar__fill, .metric, .btn { transition: none; }
  .rel-card, .plat-card__info { transition: none; }
  .rel-card:hover { transform: none; }
  .nowb-dot-live { animation: none; }
}
