/* ============================================================
   Дизайн-система модуля «Планирование капитального ремонта»
   Светлая тема, токены — единый источник правды.
   ============================================================ */

:root {
  --page: #f9f9f7;
  --surface: #fcfcfb;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --muted: #898781;
  --grid: #e1e0d9;
  --baseline: #c3c2b7;
  --border: rgba(11, 11, 11, .10);
  --accent: #2a78d6;

  /* Категориальные цвета серий (фиксированный порядок) */
  --cat-1: #2a78d6;
  --cat-2: #1baf7a;
  --cat-3: #eda100;
  --cat-4: #008300;
  --cat-5: #4a3aa7;
  --cat-6: #e34948;
  --cat-7: #e87ba4;
  --cat-8: #eb6834;

  /* Статусные цвета (только для статусов, всегда с подписью) */
  --status-good: #0ca30c;
  --status-warning: #fab219;
  --status-serious: #ec835a;
  --status-critical: #d03b3b;

  --sidebar-w: 240px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 11, 11, .05), 0 1px 4px rgba(11, 11, 11, .04);
  --font: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

/* ============================================================
   Каркас: сайдбар + шапка + контент
   ============================================================ */
.layout { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 50;
  overflow-y: auto;
}
.sidebar .logo {
  padding: 18px 20px 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.sidebar nav { padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  font-weight: 500;
}
.nav-item:hover { background: rgba(11, 11, 11, .04); text-decoration: none; }
.nav-item.active { background: rgba(42, 120, 214, .1); color: var(--accent); }
.nav-item .nav-icon { width: 20px; text-align: center; flex: none; }

.main {
  flex: 1;
  margin-left: var(--sidebar-w);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 40;
}
.topbar h1 { font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.topbar-user { display: flex; align-items: center; gap: 10px; }
.topbar-user label { font-size: 12px; color: var(--muted); }
.topbar-user select { min-width: 220px; }

.content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 28px 48px;
}

/* ============================================================
   Карточки
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.card > h3 { font-size: 15px; font-weight: 650; margin-bottom: 14px; }
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.card-head h3 { margin-bottom: 0; }

/* ============================================================
   Кнопки
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background .12s ease, border-color .12s ease;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover:not(:disabled) { background: #256abf; }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: rgba(11, 11, 11, .18); }
.btn.secondary:hover:not(:disabled) { background: rgba(11, 11, 11, .04); }
.btn.danger { background: var(--status-critical); color: #fff; }
.btn.danger:hover:not(:disabled) { background: #b83030; }
.btn.ghost { background: transparent; color: var(--ink-2); }
.btn.ghost:hover:not(:disabled) { background: rgba(11, 11, 11, .05); }
.btn.sm { padding: 5px 10px; font-size: 12px; }

/* ============================================================
   Поля форм
   ============================================================ */
input[type="text"], input[type="number"], input[type="date"], input[type="search"],
input[type="email"], input[type="password"], select, textarea {
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(11, 11, 11, .16);
  border-radius: 8px;
  padding: 8px 10px;
  outline: none;
  max-width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 120, 214, .15);
}
input::placeholder { color: var(--muted); }
textarea { resize: vertical; min-height: 72px; }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }

.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > label { font-size: 12px; font-weight: 550; color: var(--ink-2); }
.field > label .req { color: var(--status-critical); }
.field.checkbox { flex-direction: row; align-items: center; gap: 8px; }
.field.checkbox > label { font-weight: 500; cursor: pointer; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.form-grid .full { grid-column: 1 / -1; }

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
}
.filters .field { gap: 4px; }
.filters .spacer { flex: 1; }
.range-pair { display: flex; align-items: center; gap: 6px; }
.range-pair input { width: 72px; }
.range-pair span { color: var(--muted); }

/* ============================================================
   Таблицы
   ============================================================ */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 12px;
  border-bottom: 1px solid var(--grid);
  white-space: nowrap;
}
.tbl thead th.sortable { cursor: pointer; user-select: none; }
.tbl thead th.sortable:hover { color: var(--ink-2); }
.tbl thead th .sort-arrow { font-size: 10px; margin-left: 3px; }
.tbl tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover { background: rgba(11, 11, 11, .025); }
.tbl.clickable tbody tr { cursor: pointer; }
.tbl th.align-right, .tbl td.align-right {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tbl th.align-center, .tbl td.align-center { text-align: center; }
.tbl .cell-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
.tbl-count { font-size: 12px; color: var(--muted); }

/* ============================================================
   Бейджи статусов (тонированная заливка + тёмный текст тона)
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  line-height: 1.5;
}
.badge.gray   { background: rgba(11, 11, 11, .07);    color: #52514e; }
.badge.blue   { background: rgba(42, 120, 214, .12);  color: #1c5cab; }
.badge.green  { background: rgba(12, 163, 12, .12);   color: #0a7d0a; }
.badge.yellow { background: rgba(250, 178, 25, .16);  color: #8a5f00; }
.badge.orange { background: rgba(235, 104, 52, .14);  color: #ad4a17; }
.badge.red    { background: rgba(208, 59, 59, .12);   color: #ab2c2c; }
.badge.purple { background: rgba(74, 58, 167, .12);   color: #4a3aa7; }

/* ============================================================
   Модалки
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 11, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}
.modal {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(11, 11, 11, .25);
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-head h3 { font-size: 15px; font-weight: 650; }
.modal-close {
  border: none;
  background: none;
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
}
.modal-close:hover { background: rgba(11, 11, 11, .06); color: var(--ink); }
.modal-body { padding: 20px; overflow-y: auto; }
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   Тосты
   ============================================================ */
.toast-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 380px;
}
.toast {
  background: #2b2a27;
  color: #fff;
  font-size: 13px;
  padding: 11px 14px;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  box-shadow: 0 6px 20px rgba(11, 11, 11, .25);
  animation: toast-in .18s ease-out;
}
.toast.success { border-left-color: var(--status-good); }
.toast.error { border-left-color: var(--status-critical); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   Полоски: износ, скоринг, прогресс
   ============================================================ */
.meter { display: inline-flex; align-items: center; gap: 8px; }
.meter .meter-track {
  width: 64px;
  height: 6px;
  border-radius: 3px;
  background: var(--grid);
  overflow: hidden;
  flex: none;
}
.meter .meter-fill { height: 100%; border-radius: 3px; }
.meter .meter-val {
  font-size: 12px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  min-width: 34px;
}

/* ============================================================
   Степпер согласования
   ============================================================ */
.stepper { display: flex; align-items: flex-start; gap: 0; flex-wrap: wrap; }
.step { display: flex; align-items: center; }
.step .step-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 650;
  background: var(--grid); color: var(--ink-2);
  flex: none;
}
.step .step-info { margin: 0 10px; }
.step .step-title { font-size: 13px; font-weight: 550; color: var(--ink); }
.step .step-sub { font-size: 12px; color: var(--muted); }
.step .step-line { width: 42px; height: 1px; background: var(--baseline); margin: 0 4px; }
.step.approved .step-dot { background: rgba(12, 163, 12, .15); color: #0a7d0a; }
.step.pending .step-dot { background: rgba(250, 178, 25, .2); color: #8a5f00; }
.step.rejected .step-dot { background: rgba(208, 59, 59, .14); color: #ab2c2c; }
.step.returned .step-dot { background: rgba(235, 104, 52, .16); color: #ad4a17; }

/* ============================================================
   Вкладки
   ============================================================ */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--grid); margin-bottom: 16px; }
.tab {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink-2);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ============================================================
   Дропзона
   ============================================================ */
.dropzone {
  border: 2px dashed var(--baseline);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}
.dropzone:hover, .dropzone.drag {
  border-color: var(--accent);
  background: rgba(42, 120, 214, .05);
  color: var(--ink-2);
}
.dropzone .dz-icon { font-size: 30px; margin-bottom: 8px; }

/* ============================================================
   Пустые состояния
   ============================================================ */
.empty {
  text-align: center;
  color: var(--muted);
  padding: 42px 20px;
}
.empty .empty-icon { font-size: 34px; margin-bottom: 10px; }
.empty .empty-text { font-size: 14px; }

/* ============================================================
   Сетки-помощники, ТЭП, KPI
   ============================================================ */
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: 1fr 1fr; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 20px;
}
.prop .prop-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 3px;
}
.prop .prop-value { font-size: 14px; color: var(--ink); word-break: break-word; }

.kpi { padding: 16px 20px; }
.kpi .kpi-label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.kpi .kpi-value { font-size: 26px; font-weight: 650; letter-spacing: -.01em; color: var(--ink); }
.kpi .kpi-sub { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--accent); }

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.badges-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.actions-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ============================================================
   Графики
   ============================================================ */
.chart { position: relative; }
.chart svg { display: block; }
.chart text { font-family: var(--font); }
.chart .axis-tick { font-variant-numeric: tabular-nums; }
.chart-hover-zone { fill: transparent; }
.chart-hover-zone:hover { fill: rgba(11, 11, 11, .035); }

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-2);
}
.chart-legend .legend-item { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend .swatch { width: 8px; height: 8px; border-radius: 50%; flex: none; }

.chart-tooltip {
  position: fixed;
  z-index: 1200;
  background: #2b2a27;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 11px;
  border-radius: 8px;
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(11, 11, 11, .3);
  max-width: 300px;
}
.chart-tooltip .tt-title { font-weight: 650; margin-bottom: 2px; }
.chart-tooltip .tt-row { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.chart-tooltip .tt-row .swatch { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chart-tooltip .tt-val { font-variant-numeric: tabular-nums; margin-left: auto; padding-left: 10px; }

.donut-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.donut-legend { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--ink-2); }
.donut-legend .legend-item { display: flex; align-items: center; gap: 7px; }
.donut-legend .swatch { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.donut-legend .legend-val { color: var(--muted); font-variant-numeric: tabular-nums; }

.heat-tbl { width: 100%; border-collapse: collapse; }
.heat-tbl thead th {
  text-align: right;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--grid);
  white-space: nowrap;
}
.heat-tbl thead th:first-child { text-align: left; }
.heat-tbl td {
  padding: 8px 10px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  border-bottom: 1px solid var(--surface);
}
.heat-tbl td.heat-name {
  text-align: left;
  color: var(--ink);
  font-variant-numeric: normal;
  background: none;
}

/* ============================================================
   Редактор конструктивов (модалка)
   ============================================================ */
.elements-edit { width: 100%; border-collapse: collapse; }
.elements-edit th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  padding: 6px 8px;
  border-bottom: 1px solid var(--grid);
}
.elements-edit td { padding: 6px 8px; border-bottom: 1px solid var(--border); }
.elements-edit input[type="number"].w-sm { width: 72px; }
.elements-edit input[type="text"].w-md { width: 110px; }

/* ============================================================
   Адаптивность
   ============================================================ */
@media (max-width: 1024px) {
  :root { --sidebar-w: 64px; }
  .sidebar .logo { padding: 16px 0; text-align: center; font-size: 18px; }
  .sidebar .logo .logo-text { display: none; }
  .nav-item { justify-content: center; padding: 10px 8px; }
  .nav-item .nav-label { display: none; }
  .content { padding: 20px 16px 40px; }
  .topbar { padding: 12px 16px; }
  .props-grid { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .topbar-user select { min-width: 140px; }
  .props-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Карта объектов (Leaflet)
   ============================================================ */
.map-title { font-size: 16px; font-weight: 600; color: var(--ink); }
.map-sub { font-size: 13px; color: var(--muted); margin-top: 2px; margin-bottom: 14px; }
.map-host {
  height: 620px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef1f2;
  z-index: 0;
}
.map-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); height: 34px; cursor: pointer; }
.map-check input { margin: 0; }
.map-count { font-size: 13px; color: var(--muted); align-self: center; height: 34px; display: inline-flex; align-items: center; }

/* Маркеры-точки */
.map-mark-wrap { background: transparent; border: 0; }
.map-mark {
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(11, 11, 11, .35);
  box-sizing: border-box;
  transition: transform .1s ease;
}
.map-mark, .map-mark-warn { pointer-events: none; }
.map-mark-wrap:hover .map-mark { transform: scale(1.25); }
.map-mark--plan { outline: 2px solid rgba(42, 120, 214, .5); outline-offset: 1px; }
.map-mark--emergency { position: relative; }
.map-mark-warn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700; line-height: 1;
}

/* Превью при наведении */
.map-preview {
  position: fixed;
  z-index: 1200;
  min-width: 240px; max-width: 300px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(11, 11, 11, .16);
  padding: 12px 14px;
  pointer-events: none;
  font-size: 13px;
}
.map-preview__title { font-weight: 600; color: var(--ink); line-height: 1.3; }
.map-preview__sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.map-preview__badges { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0; }
.map-preview__wear { display: flex; align-items: center; gap: 8px; }
.map-preview__wear-lbl { color: var(--ink-2); font-size: 12px; min-width: 40px; }
.map-preview__wear .meter { flex: 1; }
.map-preview__hint { margin-top: 8px; color: var(--accent); font-size: 12px; }

/* Легенда */
.map-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.map-legend__item { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.map-legend__dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(11,11,11,.15); }

/* ============================================================
   Подсветки (аналитические сигналы)
   ============================================================ */
.flags { display: flex; flex-direction: column; gap: 8px; }
.flags-ok { color: #0a7d0a; font-size: 13px; font-weight: 500; }
.flag {
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--surface);
}
.flag--critical { border-left-color: #d03b3b; background: rgba(208, 59, 59, .05); }
.flag--warning  { border-left-color: #eda100; background: rgba(237, 161, 0, .05); }
.flag--info     { border-left-color: var(--accent); background: rgba(42, 120, 214, .05); }
.flag-head { display: flex; align-items: baseline; gap: 7px; }
.flag-icon { flex: none; font-size: 13px; }
.flag-title { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.flag-detail { font-size: 12px; color: var(--ink-2); margin-top: 4px; margin-left: 20px; line-height: 1.4; }
.flag-counts { display: inline-flex; gap: 5px; }
.flag-count { font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.flag-count--critical { background: rgba(208, 59, 59, .12); color: #ab2c2c; }
.flag-count--warning  { background: rgba(237, 161, 0, .16); color: #8a5f00; }
.flag-count--info     { background: rgba(42, 120, 214, .12); color: #1c5cab; }
.muted-txt { color: var(--muted); }

/* Раздел конструктивов (группировка по категории) */
.elem-group-title {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .03em; color: var(--muted); margin: 14px 0 6px;
}
.elem-absent { color: var(--muted); font-style: italic; }
