/* Detail characteristics follow the catalogue's native panels and SVG icons. */
/* BASE «Эволюция»: типографическая строка фактов вместо обведённых пилюль.
   Риски стоят на левом крае каждого пункта; отрицательный отступ полосы
   уводит риску первого пункта любой строки под обрез, поэтому текст второй
   строки начинается по той же оси, что и текст первой. */
body[data-page-type="complex"][data-property-detail="base"] .base-key-strip-wrap { overflow: hidden; }
body[data-page-type="complex"][data-property-detail="base"] .base-key-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 0;
  margin: 0 0 18px -13px;
  padding: 0;
  list-style: none;
  font-variant-numeric: normal;
  letter-spacing: 0;
}
body[data-page-type="complex"][data-property-detail="base"] .base-key-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid var(--line);
  background: none;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
}
body[data-page-type="complex"][data-property-detail="base"] .base-key-pill__label {
  color: var(--muted);
  font-weight: 400;
}
body[data-page-type="complex"][data-property-detail="base"] .base-key-pill__value {
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: normal;
  overflow-wrap: anywhere;
}
body[data-page-type="complex"][data-property-detail="base"] a.base-key-pill__value {
  color: var(--ink);
  text-decoration: none;
}
body[data-page-type="complex"][data-property-detail="base"] a.base-key-pill__value:hover { color: var(--accent-hover); }
body[data-page-type="complex"][data-property-detail="base"] a.base-key-pill__value:focus-visible { outline-offset: 2px; }
/* Статус рядом с H2 — точка и текст, без капсулы. */
body[data-page-type="complex"][data-property-detail="base"] #characteristics .complex-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}
body[data-page-type="complex"][data-property-detail="base"] #characteristics .complex-status-pill::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
@media (max-width: 640px) {
  body[data-page-type="complex"][data-property-detail="base"] .base-key-strip-wrap { overflow: visible; }
  body[data-page-type="complex"][data-property-detail="base"] .base-key-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-left: 0;
  }
  body[data-page-type="complex"][data-property-detail="base"] .base-key-pill {
    padding: 0;
    border-left: 0;
  }
}
.complex-highlights { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-rows: 1fr; gap: 14px; margin: 0; }
.complex-highlights > div { grid-column: span 4; display: grid; grid-template-columns: 32px minmax(0,1fr); grid-template-rows: auto 1fr; align-content: start; align-items: start; gap: 8px 12px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
/* Complete rows for known facts; incomplete rows expand across the same width. */
.complex-highlights[data-count="1"] > div { grid-column: 1 / -1; }
.complex-highlights[data-count="2"] > div { grid-column: span 6; }
.complex-highlights[data-count="5"] > div:nth-last-child(-n+2) { grid-column: span 6; }
.complex-highlights .icon { grid-row: 1 / 3; width: 30px; height: 30px; color: var(--muted); }
.complex-highlights dt { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: break-word; hyphens: auto; }
.complex-highlights dd { grid-column: 2; margin: 0; color: var(--ink); font-size: 16px; line-height: 1.5; font-weight: 550; overflow-wrap: anywhere; }
.complex-highlights small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 400; }
.complex-highlights-note { margin: 16px 0 0; font-size: 12px; color: var(--muted); }
.complex .registry-badge { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: var(--radius); background: #eaf5e8; color: #27512c; text-decoration: none; font-size: 13px; }
.registry-badge .icon { flex: 0 0 22px; width: 22px; height: 22px; }
.registry-badge strong, .registry-badge small { display: block; }
.registry-badge small { margin-top: 3px; font-size: 11px; font-weight: 400; }
.complex .registry-badge:hover { background: #dcefd9; }
.complex .registry-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.registry-verification { margin: 16px 0; padding: 16px 18px; border-radius: var(--radius); background: var(--bg); font-size: 13px; line-height: 1.6; }
.registry-verification p { margin: 0 0 8px; }
.registry-verification ul { margin: 0; padding-left: 20px; }
@media (min-width:1101px) {
  .complex-highlights:is([data-count="4"], [data-count="7"], [data-count="8"]) > div { grid-column: span 3; }
  .complex-highlights[data-count="7"] > div:nth-last-child(-n+3) { grid-column: span 4; }
}
@media (min-width:761px) and (max-width:1100px) {
  .complex-highlights[data-count="4"] > div { grid-column: span 6; }
  .complex-highlights[data-count="7"] > div:nth-child(n+4),
  .complex-highlights[data-count="8"] > div:nth-last-child(-n+2) { grid-column: span 6; }
}
@media (max-width:760px) {
  .complex-highlights { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .complex-highlights > div, .complex-highlights[data-count] > div:nth-child(n) { grid-column: auto; padding: 14px; }
  .complex-highlights > div:last-child:nth-child(odd), .complex-highlights[data-count] > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width:480px) { .complex-highlights > div { grid-template-columns: 24px minmax(0,1fr); gap: 8px; padding: 12px; } .complex-highlights .icon { width: 24px; height: 24px; grid-row: 1; } .complex-highlights dd { grid-column: 1 / -1; font-size: 14px; overflow-wrap: break-word; hyphens: auto; } .complex-highlights dt { font-size: 11px; } }
@media (max-width:350px) { .complex-highlights { grid-template-columns: minmax(0,1fr); } .complex-highlights > div:last-child:nth-child(odd), .complex-highlights[data-count] > div:last-child:nth-child(odd) { grid-column: auto; } }
