/* Реестр поставщиков и подрядчиков (/postavshchiki, /podryadchiki) и карточка компании (/kompaniya/{slug}).
   Плотная таблица компаний с сортировкой, поиск, выезжающая панель фильтров, чипы выбранных фильтров.
   Вместе с public.css (.ph, .crumbs, .chips, .chips-s, .pn, .lockn, .facts, .void). Только токены base.css. */

/* ---------- Панель поиска ---------- */
.rg { margin: 4px 0 0; }
.rg-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 10px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 80px; }
.rg-search { flex: 1 1 360px; display: flex; align-items: center; gap: 8px; min-width: 0; padding-left: 10px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.rg-search:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.rg-search > .ico { color: var(--faint); flex: 0 0 auto; }
.rg-search input { flex: 1 1 auto; min-width: 0; border: 0; box-shadow: none; padding: 9px 4px; min-height: 40px; background: transparent; }
.rg-search input:focus { box-shadow: none; }
.rg-search .btn { border: 0; border-left: 1px solid var(--line); border-radius: 0 var(--r-sm) var(--r-sm) 0; box-shadow: none; min-height: 42px; }
.rg-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rg-tog { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 13px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease); }
.rg-tog .ico { color: var(--faint); }
.rg-tog:hover { text-decoration: none; border-color: var(--line-strong); color: var(--ink); }
.rg-tog.on { background: var(--brand-soft); border-color: var(--brand-soft-2); color: var(--brand-ink); }
.rg-tog.on .ico { color: var(--brand); }
.rg-open { gap: 8px; }
.rg-open .ico { color: var(--ink-2); }
.rg-n { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill);
  background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 700; font-family: var(--mono); }
.rg-sort-m { display: none; align-items: center; gap: 8px; }
.rg-sort-m label { font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.rg-sort-m select { min-height: 40px; }

/* ---------- Выезжающая панель фильтров ---------- */
.rg-drawer { position: fixed; inset: 0; z-index: calc(var(--z-sidebar) + 5); visibility: hidden; pointer-events: none; }
.rg-scrim { position: absolute; inset: 0; background: oklch(0.2 0.02 155 / 0.42); opacity: 0; transition: opacity .2s var(--ease); }
.rg-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column;
  background: var(--surface); box-shadow: var(--shadow-3); transform: translateX(100%); transition: transform .22s var(--ease); outline: none; }
.rg-drawer.is-open, html:not(.rg-js) .rg-drawer:target { visibility: visible; pointer-events: auto; }
.rg-drawer.is-open .rg-scrim, html:not(.rg-js) .rg-drawer:target .rg-scrim { opacity: 1; }
.rg-drawer.is-open .rg-panel, html:not(.rg-js) .rg-drawer:target .rg-panel { transform: none; }
html.rg-lock { overflow: hidden; }
.rg-panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--line); }
.rg-panel-h h2 { margin: 0; font-size: 18px; letter-spacing: -0.015em; }
.rg-panel-b { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 6px 20px 20px; display: flex; flex-direction: column; }
.rg-panel-b > .field { margin-top: 16px; }
.rg-panel-f { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--surface-2); }
.rg-panel-f .btn-primary { flex: 1 1 auto; }
.rg-fs { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.rg-fs:last-child { border-bottom: 0; }
.rg-fs legend { float: left; width: 100%; padding: 0; margin: 0 0 2px; font-size: 13px; font-weight: 650; color: var(--ink); }
.rg-fs legend + * { clear: both; }
.rg-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.rg-two legend { grid-column: 1 / -1; }
.rg-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.rg-checks .rg-check { position: relative; }
.rg-checks .rg-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rg-checks .rg-check span { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--surface); font-size: 14px; font-weight: 550; color: var(--ink-2); cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.rg-checks .rg-check span:hover { border-color: var(--line-strong); color: var(--ink); }
.rg-checks .rg-check input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.rg-checks .rg-check input:focus-visible + span { box-shadow: var(--ring); }
.rg-fs > .rg-check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14.5px; cursor: pointer; }
.rg-fs > .rg-check input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--brand); }
.rg-note { display: flex; gap: 8px; align-items: flex-start; margin: 2px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.rg-note .ico { color: var(--brand); flex: 0 0 auto; margin-top: 2px; }

/* ---------- Итог и выбранные фильтры ---------- */
.rg-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 14px 0 10px; }
.rg-count { margin: 0; font-size: 14px; color: var(--muted); }
.rg-count b { color: var(--ink); font-family: var(--mono); font-weight: 600; }
.rg-active { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rg-active a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 8px 4px 12px; border-radius: var(--r-pill);
  background: var(--brand-soft); color: var(--brand-ink); font-size: 13.5px; font-weight: 600; transition: background-color .15s var(--ease); }
.rg-active a .ico { color: var(--brand); }
.rg-active a:hover { background: var(--brand-soft-2); text-decoration: none; }
.rg-active a.rg-reset { background: transparent; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; padding: 4px 8px; }
.rg-active a.rg-reset:hover { color: var(--ink); background: transparent; }

/* ---------- Таблица компаний ---------- */
.rg-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.rg-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rg-table th { position: relative; text-align: left; vertical-align: bottom; padding: 10px; background: var(--surface-2); border-bottom: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.rg-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rg-table tbody tr:last-child td { border-bottom: 0; }
.rg-table tbody tr { transition: background-color .12s var(--ease); }
.rg-table tbody tr:hover td { background: var(--surface-2); }
.rg-table th.num, .rg-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.rg-sort { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.rg-sort:hover { color: var(--ink); text-decoration: none; }
.rg-sort-i { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .45; }
.rg-sort.is-asc, .rg-sort.is-desc { color: var(--ink); }
.rg-sort.is-asc .rg-sort-i, .rg-sort.is-desc .rg-sort-i { opacity: 1; }
.rg-sort.is-asc .rg-sort-i path:last-child, .rg-sort.is-desc .rg-sort-i path:first-child { opacity: .25; }
th.num .rg-sort { flex-direction: row-reverse; }
.rg-table .c-co { min-width: 150px; }
.rg-table .c-reg { min-width: 108px; }
.rg-table .c-what { min-width: 150px; }
.rg-table th:first-child, .rg-table td:first-child { padding-left: 14px; }
.rg-table th:last-child, .rg-table td:last-child { padding-right: 14px; }
.rg-table .c-vol { white-space: nowrap; }
.rg-table .c-sp { min-width: 96px; }
.rg-table .chips-s span { white-space: normal; }
.rg-table .c-since { white-space: nowrap; }
.rg-table .c-act { width: 1%; white-space: nowrap; }
.rg-table td.c-act > * + * { margin-top: 6px; }
.rg-table td.c-act .btn { display: flex; width: 100%; }
.rg-name { font-weight: 650; font-size: 15px; color: var(--ink); line-height: 1.35; hyphens: auto; overflow-wrap: break-word; }
.rg-name:hover { color: var(--brand-ink); }
.rg-marks { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.rg-marks .badge { font-size: 11.5px; padding: 2px 8px; }
.rg-reg { color: var(--ink); }
.rg-more { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; cursor: help; }
.rg-table .chips-s { margin: 0; }
.rg-v { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.rg-u { font-size: 12.5px; color: var(--muted); }
.rg-none { color: var(--faint); }
.rg-yes { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-ink); font-weight: 550; white-space: nowrap; }
.rg-yes .ico { color: var(--brand); }
.rg-no { color: var(--ink-2); white-space: nowrap; }
.rg-eq { display: block; font-size: 13.5px; color: var(--ink-2); max-width: 26ch; }
.rg-date { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.rg-ans { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.rg-ans.is-zero { color: var(--faint); font-weight: 500; }
.c-act .btn { min-height: 34px; padding: 0 10px; }
.rg-card { display: flex; align-items: center; justify-content: center; gap: 2px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.rg-card .ico { color: var(--faint); }
.rg-card:hover { color: var(--brand-ink); text-decoration: none; }
.rg-empty { margin-top: 4px; }
.rg ~ .pager { margin-top: 18px; }

/* ---------- Покупателю, подвал реестра ---------- */
.rg-buy { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; margin-top: 28px;
  padding: 24px 28px; border-radius: var(--r-lg); background: var(--brand-soft); border: 1px solid var(--brand-soft-2); }
.rg-buy > div { flex: 1 1 380px; min-width: 0; }
.rg-buy-lbl { font-size: 14px; font-weight: 650; color: var(--brand-ink); }
.rg-buy h2 { font-size: 23px; line-height: 1.15; letter-spacing: -0.025em; margin: 6px 0; max-width: 44ch; }
.rg-buy p { margin: 0; color: var(--ink-2); font-size: 15.5px; max-width: 60ch; }
.rg-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; align-items: start; }
.rg-foot .pn + .pn { margin-top: 0; }
.rg-sup p { font-size: 14px; color: var(--ink-2); margin: 0 0 12px; line-height: 1.5; }
.rg-sup-acts { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.rg-sup-acts .more { font-size: 14px; }
.rg-links li { align-items: center; }
.rg-links li .ico { color: var(--faint); flex: 0 0 auto; }
.rg-regions { margin-top: 16px; }
.rg-region-list { list-style: none; margin: 0; padding: 8px 16px; columns: 4 200px; column-gap: 24px; }
.rg-region-list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; break-inside: avoid; border-bottom: 1px solid var(--line); }
.rg-region-list a { color: var(--ink); font-weight: 550; }
.rg-region-list b { font-family: var(--mono); font-weight: 600; color: var(--muted); }

/* ---------- Таблица -> карточки ---------- */
@media (max-width: 1360px) {
  .rg-table .c-since { display: none; }
}
@media (max-width: 920px) {
  .rg-sort-m { display: flex; }
  .rg-wrap { overflow: visible; background: transparent; border: 0; border-radius: 0; }
  .rg-table, .rg-table tbody, .rg-table tr, .rg-table td { display: block; }
  .rg-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rg-table tbody { display: flex; flex-direction: column; gap: 10px; }
  .rg-table tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
  .rg-table tbody tr:hover td { background: transparent; }
  .rg-table td, .rg-table td:first-child, .rg-table td:last-child { border: 0; padding: 0; min-width: 0 !important; }
  .rg-table td[data-label] { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 10px; align-items: start; padding: 7px 0; border-top: 1px solid var(--line); }
  .rg-table td[data-label] .rg-cv { min-width: 0; }
  .rg-table td.c-act > * + * { margin-top: 0; }
  .rg-table td.c-act .btn { display: inline-flex; width: auto; }
  .rg-table td[data-label]::before { content: attr(data-label); font-family: var(--mono); font-size: 11.5px; color: var(--muted); padding-top: 2px; }
  .rg-table td.num { text-align: left; }
  .rg-table .c-co { padding-bottom: 10px; }
  .rg-table .c-since { display: grid; }
  .rg-table .c-act { width: auto; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
  .rg-card { min-height: 40px; }
  .c-act .btn { min-height: 40px; }
  .rg-eq { max-width: none; }
  .rg-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rg-foot .lockn { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .rg-bar { padding: 8px; }
  .rg-search { flex-basis: 100%; }
  .rg-quick { display: contents; }
  .rg-tog { flex: 1 1 40%; justify-content: center; }
  .rg-sort-m { order: 5; flex: 1 1 150px; min-width: 0; }
  .rg-sort-m label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rg-sort-m select { flex: 1 1 auto; min-width: 0; }
  .rg-quick .rg-open { order: 6; flex: 0 0 auto; }
  .rg-table tr { padding: 12px 14px; }
  .rg-table td[data-label] { grid-template-columns: 108px minmax(0, 1fr); }
  .rg-table td.c-act .btn { flex: 1 1 auto; }
  .rg-buy { padding: 20px 18px; }
  .rg-buy h2 { font-size: 20px; }
  .rg-buy .btn { width: 100%; }
  .rg-foot { grid-template-columns: minmax(0, 1fr); }
  .rg-panel-b { padding: 4px 16px 16px; }
  .rg-panel-f { padding: 12px 16px; }
  .rg-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .rg-tog { padding: 0 10px; font-size: 13.5px; }
}

/* ============================================================
   Карточка компании (/kompaniya/{slug})
   ============================================================ */
.co-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: end; margin-bottom: 18px; }
.co-head h1 { font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 750; margin: 0; overflow-wrap: anywhere; }
.co-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 10px; }
.co-role { font-size: 13.5px; color: var(--muted); font-weight: 550; }
.co-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }
.co-meta span { display: inline-flex; align-items: center; gap: 6px; }
.co-meta .ico { color: var(--wood); }
.co-acts { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 340px; }
.co-hint { font-size: 13px; color: var(--muted); text-align: right; line-height: 1.45; margin: 0; }
.co-facts { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 16px; }
.co-ok { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-ink); }
.co-lay { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.co-main, .co-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.co-main .pn + .pn, .co-side .pn + .pn { margin-top: 0; }
.co-verified { display: flex; gap: 12px; align-items: flex-start; background: var(--brand-soft); border: 1px solid var(--brand-soft-2); border-radius: var(--radius);
  padding: 14px 16px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.co-verified > .ico { color: var(--brand); margin-top: 1px; flex: 0 0 auto; }
.co-verified p { margin: 0; }
.co-verified a { color: var(--brand-ink); font-weight: 600; }
.co-table-wrap { overflow-x: auto; }
.co-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.co-table th { text-align: left; padding: 9px 16px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.co-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.co-table tr:last-child td { border-bottom: 0; }
.co-table .num { text-align: right; white-space: nowrap; }
.co-table td.num b { font-family: var(--mono); font-weight: 600; }
.co-table td.num small { display: block; font-size: 12px; color: var(--muted); }
.co-table tfoot td { background: var(--surface-2); font-weight: 600; border-top: 1px solid var(--line); border-bottom: 0; }
.co-pos { font-weight: 600; color: var(--ink); }
.co-pos small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.co-kv { margin: 0; border-top: 1px solid var(--line); }
.co-kv > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.co-kv > div:last-child { border-bottom: 0; }
.co-kv dt { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.co-kv dd { margin: 0; font-size: 14.5px; color: var(--ink); overflow-wrap: anywhere; }
.co-kv dd .chips-s { margin: 0; }
.pn > .co-kv:first-child, .pn > h2 + .co-kv { border-top: 0; }
.co-lockrow { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; font-size: 14px; color: var(--ink-2); line-height: 1.5; border-top: 1px solid var(--line); background: var(--wood-soft); }
.co-lockrow .ico { color: var(--wood); flex: 0 0 auto; margin-top: 2px; }
.co-lockrow p { margin: 0; }
.co-lockrow a { color: var(--wood-ink); font-weight: 600; }
.co-regions { padding: 4px 16px 8px; }
.co-regions > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.co-regions > div:last-child { border-bottom: 0; }
.co-regions dt { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 3px; }
.co-regions dd { margin: 0; }
.co-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 12px; }
.co-photos a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); background: var(--surface-3); }
.co-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s var(--ease); }
.co-photos a:hover img { transform: scale(1.03); }
.co-checks { list-style: none; margin: 0; padding: 0; }
.co-checks li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.co-checks li:last-child { border-bottom: 0; }
.co-checks .ico { color: var(--brand); flex: 0 0 auto; margin-top: 2px; }
.co-checks small { display: block; color: var(--muted); font-size: 13px; }
.co-checks-foot { padding: 10px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface-2); margin: 0; }
.co-checks-foot a { color: var(--brand-ink); font-weight: 600; }
.co-prose { white-space: pre-line; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.co-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.co-stats .stat { background: var(--surface); padding: 16px; }
.co-stats .stat .value { font-family: var(--mono); font-size: 26px; }
.co-muted { color: var(--muted); margin: 0; }
.co-contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.co-contacts li { display: flex; align-items: center; gap: 10px; font-size: 15px; overflow-wrap: anywhere; }
.co-contacts .ico { color: var(--faint); flex: 0 0 auto; }
.co-lock { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.5; margin-bottom: 12px; }
.co-lock .ico { color: var(--wood); margin-top: 2px; flex: 0 0 auto; }
.co-lock p { margin: 0; }
.co-invite { scroll-margin-top: 80px; }
.co-invite p { margin: 0 0 12px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.co-inv-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.co-inv-list li form { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.co-inv-list .t { min-width: 0; font-size: 14px; line-height: 1.35; }
.co-inv-list .t b { display: block; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.co-inv-list .t small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.co-inv-list .btn { flex: 0 0 auto; }
.co-req { margin: 0; }
.co-req > div { padding: 9px 16px; border-bottom: 1px solid var(--line); }
.co-req > div:last-child { border-bottom: 0; }
.co-req dt { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.co-req dd { margin: 1px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.co-req dd.mono { font-family: var(--mono); }
.co-complaint { margin-top: 24px; }
.co-complaint summary { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); cursor: pointer; min-height: 40px; list-style: none; }
.co-complaint summary::-webkit-details-marker { display: none; }
.co-complaint summary:hover { color: var(--ink); }
.co-complaint form { margin-top: 8px; max-width: 640px; }

@media (max-width: 1100px) {
  .co-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .co-facts > div:nth-child(5):last-child { grid-column: span 2; }
  .co-lay { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .co-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .co-head h1 { font-size: 24px; }
  .co-acts { align-items: stretch; max-width: none; }
  .co-acts .btn { width: 100%; }
  .co-hint { text-align: left; }
  .co-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .co-facts > div:nth-child(5):last-child { grid-column: 1 / -1; }
  .co-kv > div, .co-regions > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .co-stats { grid-template-columns: minmax(0, 1fr); }
  .co-table thead { display: none; }
  .co-table, .co-table tbody, .co-table tfoot, .co-table tr, .co-table td { display: block; }
  .co-table tr { padding: 10px 16px; border-bottom: 1px solid var(--line); }
  .co-table td { padding: 2px 0; border: 0; }
  .co-table td.num { text-align: left; }
  .co-table td[data-label]:not(:empty)::before { content: attr(data-label) ": "; color: var(--muted); font-size: 12.5px; }
  .co-table tfoot tr { background: var(--surface-2); }
  .co-inv-list li form { flex-wrap: wrap; }
  .co-inv-list .btn { width: 100%; }
}
