/* ═══════════════════════════════════════════════════════════════════════
   ВИЗУАЛЬНЫЙ АУДИТ 16.11 — ОБЩИЙ МОБИЛЬНЫЙ СЛОЙ ТАБЛИЦ И ОТБОРОВ.
   VIS-01 (таблицы теряют читаемость), VIS-02 (фильтры выходят за границы),
   VIS-11 (оговорки обрезаются многоточием), VIS-17 (ключевые колонки).
   Один слой на все экраны: правит ОБЩИЕ компоненты, а не каждый экран
   отдельно. Новые классы не перекрашивают существующие (без !important).
   ═══════════════════════════════════════════════════════════════════════ */

/* ── VIS-01: смысловые колонки не переносятся внутри значения ──────────
   Дата, сумма и телефон читаются целиком: перенос «по нескольку символов»
   превращал строку в буквенный столбик. Колонка помечается data-col-kind
   (явно экраном или общим контрактом по шапке). Минимальные ширины —
   смысловые, не декоративные. */
th[data-col-kind="date"], td[data-col-kind="date"] { min-width: 108px; white-space: nowrap; }
th[data-col-kind="money"], td[data-col-kind="money"] { min-width: 92px; white-space: nowrap; }
th[data-col-kind="phone"], td[data-col-kind="phone"] { min-width: 128px; white-space: nowrap; }
th[data-col-kind="id"], td[data-col-kind="id"] { min-width: 140px; }
th[data-col-kind="status"], td[data-col-kind="status"] { min-width: 96px; }

/* Горизонтальная прокрутка таблицы внутри её обёртки — страница не
   прокручивается вбок. Закреплённый идентификатор (первая колонка)
   остаётся видимым при прокрутке к суммам. */
@media (max-width: 768px) {
  .dt-wrap, .ek-dt-wrap.ek-s1, .mk-tabl-obertka, .table-wrap, .grid-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  table[data-mobile-sticky="1"] th:first-child,
  table[data-mobile-sticky="1"] td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--surface, #fff);
    box-shadow: 1px 0 0 var(--line, rgba(0,0,0,.08));
  }
  /* Нижняя навигация не перекрывает последнюю строку. */
  .mk-tabl-karta, .dt-wrap, .table-wrap { scroll-margin-bottom: 72px; }
}

/* ── VIS-17: мобильный порядок ключевых колонок ────────────────────────
   Экран объявляет data-mobile-priority="1" у таблицы и приоритеты у
   колонок (1 — объект и главное значение, 2 — период/статус/действие).
   На телефоне второстепенные колонки скрыты; полный набор возвращается
   через «Колонки» рельсы (подробный вид по запросу). Единицы и валюта
   остаются в шапке ключевой колонки. */
@media (max-width: 768px) {
  /* data-mobile-compact="off" ставится, когда пользователь тронул «Колонки»:
     подробный вид по запросу обязан переживать мобильное сворачивание. */
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]) th:not([data-mobile-priority]),
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]) td:not([data-mobile-priority]) { display: none; }
  table[data-mobile-priority="1"] th[data-mobile-priority="1"],
  table[data-mobile-priority="1"] td[data-mobile-priority="1"] { display: table-cell; }
  table[data-mobile-priority="1"] th[data-mobile-priority="2"],
  table[data-mobile-priority="1"] td[data-mobile-priority="2"] { display: table-cell; }
}

/* ── VIS-02: общий адаптивный блок полей ───────────────────────────────
   Подпись над полем, min-width:0 у элементов потока, перенос кнопок,
   контролы не шире контейнера. Основные действия (Применить/Сбросить)
   остаются видимыми и при масштабировании 200%. */
@media (max-width: 768px) {
  .ek-otbor.ek-s1 { align-items: stretch; }
  .ek-otbor.ek-s1 > label {
    display: flex;
    flex-direction: column;
    flex: 1 1 150px;
    min-width: 0;
  }
  .ek-otbor.ek-s1 input,
  .ek-otbor.ek-s1 select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .ek-otbor.ek-s1 > button,
  .ek-otbor.ek-s1 > .btn { flex: 0 1 auto; }
  .sa-filters { display: flex; flex-wrap: wrap; gap: 8px; }
  .sa-filters .sa-field { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; }
  .sa-filters .sa-field input,
  .sa-filters .sa-field select { width: 100%; max-width: 100%; min-width: 0; }
  .sa-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  /* Сетки экранов: длинный текст переносится, а не выталкивает страницу. */
  .ek-s1, .ek-s3, .ek-s4 { min-width: 0; }
  .ek-hd-s.ek-s1, .mk-pojasnenie { overflow-wrap: anywhere; }
}

/* ── VIS-11: смысловая оговорка не обрезается без раскрытия ────────────
   На устройствах без наведения (телефон) многоточие прятало область
   расчёта и причину дефицита: полный текст показывается целиком.
   На desktop остаётся плотная подача с раскрытием по наведению/фокусу.
   Для второстепенного текста — видимое «Подробнее» (details/summary:
   мышь, касание и клавиатура без дополнительного JS). */
@media (hover: none) {
  .ek-chips.ek-plitki.ek-s1 .ek-chip-s.ek-s1 {
    -webkit-line-clamp: unset;
    display: block;
    max-width: none;
    overflow: visible;
  }
  .ek-chip.ek-s3 > .ek-chip-s.ek-s3,
  .ek-chip.ek-s4 > .ek-chip-s.ek-s4 {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
  }
}
details.ui-podrobnee { display: block; margin: 2px 0 0; }
details.ui-podrobnee > summary {
  cursor: pointer;
  color: var(--accent, #0e8067);
  font-size: var(--fs-12, 12px);
  list-style: none;
  user-select: none;
}
details.ui-podrobnee > summary::-webkit-details-marker { display: none; }
details.ui-podrobnee > summary::before { content: "▸ "; }
details.ui-podrobnee[open] > summary::before { content: "▾ "; }
details.ui-podrobnee > summary:focus-visible { outline: 2px solid var(--accent, #0e8067); outline-offset: 2px; border-radius: 4px; }
details.ui-podrobnee > .ui-podrobnee-telo {
  margin: 4px 0 0;
  font-size: var(--fs-12, 12px);
  color: var(--muted, #5a6b66);
  overflow-wrap: anywhere;
  white-space: normal;
}

/* ── Устойчивость к замене строк: mk-словарь и презентеры перерисовывают
   tbody целиком, атрибуты на ячейках не живут. Правила ниже выводят
   род/приоритет ячейки ИЗ ШАПКИ (:has), поэтому переживают любую
   перерисовку строк. Индексы 1–16 покрывают управленческие таблицы. */
table:has(> thead > tr > th:nth-child(1)[data-col-kind="date"]) > tbody > tr > td:nth-child(1) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(1)[data-col-kind="money"]) > tbody > tr > td:nth-child(1) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(1)[data-col-kind="phone"]) > tbody > tr > td:nth-child(1) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(1)[data-col-kind="status"]) > tbody > tr > td:nth-child(1) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(2)[data-col-kind="date"]) > tbody > tr > td:nth-child(2) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(2)[data-col-kind="money"]) > tbody > tr > td:nth-child(2) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(2)[data-col-kind="phone"]) > tbody > tr > td:nth-child(2) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(2)[data-col-kind="status"]) > tbody > tr > td:nth-child(2) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(3)[data-col-kind="date"]) > tbody > tr > td:nth-child(3) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(3)[data-col-kind="money"]) > tbody > tr > td:nth-child(3) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(3)[data-col-kind="phone"]) > tbody > tr > td:nth-child(3) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(3)[data-col-kind="status"]) > tbody > tr > td:nth-child(3) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(4)[data-col-kind="date"]) > tbody > tr > td:nth-child(4) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(4)[data-col-kind="money"]) > tbody > tr > td:nth-child(4) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(4)[data-col-kind="phone"]) > tbody > tr > td:nth-child(4) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(4)[data-col-kind="status"]) > tbody > tr > td:nth-child(4) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(5)[data-col-kind="date"]) > tbody > tr > td:nth-child(5) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(5)[data-col-kind="money"]) > tbody > tr > td:nth-child(5) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(5)[data-col-kind="phone"]) > tbody > tr > td:nth-child(5) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(5)[data-col-kind="status"]) > tbody > tr > td:nth-child(5) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(6)[data-col-kind="date"]) > tbody > tr > td:nth-child(6) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(6)[data-col-kind="money"]) > tbody > tr > td:nth-child(6) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(6)[data-col-kind="phone"]) > tbody > tr > td:nth-child(6) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(6)[data-col-kind="status"]) > tbody > tr > td:nth-child(6) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(7)[data-col-kind="date"]) > tbody > tr > td:nth-child(7) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(7)[data-col-kind="money"]) > tbody > tr > td:nth-child(7) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(7)[data-col-kind="phone"]) > tbody > tr > td:nth-child(7) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(7)[data-col-kind="status"]) > tbody > tr > td:nth-child(7) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(8)[data-col-kind="date"]) > tbody > tr > td:nth-child(8) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(8)[data-col-kind="money"]) > tbody > tr > td:nth-child(8) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(8)[data-col-kind="phone"]) > tbody > tr > td:nth-child(8) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(8)[data-col-kind="status"]) > tbody > tr > td:nth-child(8) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(9)[data-col-kind="date"]) > tbody > tr > td:nth-child(9) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(9)[data-col-kind="money"]) > tbody > tr > td:nth-child(9) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(9)[data-col-kind="phone"]) > tbody > tr > td:nth-child(9) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(9)[data-col-kind="status"]) > tbody > tr > td:nth-child(9) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(10)[data-col-kind="date"]) > tbody > tr > td:nth-child(10) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(10)[data-col-kind="money"]) > tbody > tr > td:nth-child(10) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(10)[data-col-kind="phone"]) > tbody > tr > td:nth-child(10) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(10)[data-col-kind="status"]) > tbody > tr > td:nth-child(10) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(11)[data-col-kind="date"]) > tbody > tr > td:nth-child(11) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(11)[data-col-kind="money"]) > tbody > tr > td:nth-child(11) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(11)[data-col-kind="phone"]) > tbody > tr > td:nth-child(11) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(11)[data-col-kind="status"]) > tbody > tr > td:nth-child(11) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(12)[data-col-kind="date"]) > tbody > tr > td:nth-child(12) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(12)[data-col-kind="money"]) > tbody > tr > td:nth-child(12) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(12)[data-col-kind="phone"]) > tbody > tr > td:nth-child(12) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(12)[data-col-kind="status"]) > tbody > tr > td:nth-child(12) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(13)[data-col-kind="date"]) > tbody > tr > td:nth-child(13) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(13)[data-col-kind="money"]) > tbody > tr > td:nth-child(13) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(13)[data-col-kind="phone"]) > tbody > tr > td:nth-child(13) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(13)[data-col-kind="status"]) > tbody > tr > td:nth-child(13) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(14)[data-col-kind="date"]) > tbody > tr > td:nth-child(14) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(14)[data-col-kind="money"]) > tbody > tr > td:nth-child(14) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(14)[data-col-kind="phone"]) > tbody > tr > td:nth-child(14) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(14)[data-col-kind="status"]) > tbody > tr > td:nth-child(14) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(15)[data-col-kind="date"]) > tbody > tr > td:nth-child(15) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(15)[data-col-kind="money"]) > tbody > tr > td:nth-child(15) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(15)[data-col-kind="phone"]) > tbody > tr > td:nth-child(15) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(15)[data-col-kind="status"]) > tbody > tr > td:nth-child(15) { white-space: nowrap; min-width: 96px; }
table:has(> thead > tr > th:nth-child(16)[data-col-kind="date"]) > tbody > tr > td:nth-child(16) { white-space: nowrap; min-width: 108px; }
table:has(> thead > tr > th:nth-child(16)[data-col-kind="money"]) > tbody > tr > td:nth-child(16) { white-space: nowrap; min-width: 92px; }
table:has(> thead > tr > th:nth-child(16)[data-col-kind="phone"]) > tbody > tr > td:nth-child(16) { white-space: nowrap; min-width: 128px; }
table:has(> thead > tr > th:nth-child(16)[data-col-kind="status"]) > tbody > tr > td:nth-child(16) { white-space: nowrap; min-width: 96px; }
@media (max-width: 768px) {
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(1):not([data-mobile-priority])) > tbody > tr > td:nth-child(1) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(1):not([data-mobile-priority])) > thead > tr > th:nth-child(1) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(2):not([data-mobile-priority])) > tbody > tr > td:nth-child(2) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(2):not([data-mobile-priority])) > thead > tr > th:nth-child(2) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(3):not([data-mobile-priority])) > tbody > tr > td:nth-child(3) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(3):not([data-mobile-priority])) > thead > tr > th:nth-child(3) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(4):not([data-mobile-priority])) > tbody > tr > td:nth-child(4) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(4):not([data-mobile-priority])) > thead > tr > th:nth-child(4) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(5):not([data-mobile-priority])) > tbody > tr > td:nth-child(5) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(5):not([data-mobile-priority])) > thead > tr > th:nth-child(5) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(6):not([data-mobile-priority])) > tbody > tr > td:nth-child(6) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(6):not([data-mobile-priority])) > thead > tr > th:nth-child(6) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(7):not([data-mobile-priority])) > tbody > tr > td:nth-child(7) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(7):not([data-mobile-priority])) > thead > tr > th:nth-child(7) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(8):not([data-mobile-priority])) > tbody > tr > td:nth-child(8) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(8):not([data-mobile-priority])) > thead > tr > th:nth-child(8) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(9):not([data-mobile-priority])) > tbody > tr > td:nth-child(9) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(9):not([data-mobile-priority])) > thead > tr > th:nth-child(9) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(10):not([data-mobile-priority])) > tbody > tr > td:nth-child(10) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(10):not([data-mobile-priority])) > thead > tr > th:nth-child(10) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(11):not([data-mobile-priority])) > tbody > tr > td:nth-child(11) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(11):not([data-mobile-priority])) > thead > tr > th:nth-child(11) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(12):not([data-mobile-priority])) > tbody > tr > td:nth-child(12) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(12):not([data-mobile-priority])) > thead > tr > th:nth-child(12) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(13):not([data-mobile-priority])) > tbody > tr > td:nth-child(13) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(13):not([data-mobile-priority])) > thead > tr > th:nth-child(13) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(14):not([data-mobile-priority])) > tbody > tr > td:nth-child(14) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(14):not([data-mobile-priority])) > thead > tr > th:nth-child(14) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(15):not([data-mobile-priority])) > tbody > tr > td:nth-child(15) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(15):not([data-mobile-priority])) > thead > tr > th:nth-child(15) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(16):not([data-mobile-priority])) > tbody > tr > td:nth-child(16) { display: none; }
  table[data-mobile-priority="1"]:not([data-mobile-compact="off"]):has(> thead > tr > th:nth-child(16):not([data-mobile-priority])) > thead > tr > th:nth-child(16) { display: none; }
}

/* VIS-18: подписи разделов настроек на телефоне не обрезаются. */
@media (hover: none) {
  .ek-chip.ek-s1 > .ek-chip-k.ek-s1 { white-space: normal; overflow: visible; text-overflow: clip; max-width: none; }
}


/* VIS-03: первый экран — короткий статус качества, подробности по ссылке. */
.discipline-readiness-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 6px}
.discipline-readiness-fold{margin:6px 0 0}
.discipline-readiness-fold>summary{cursor:pointer;color:var(--accent,#0e8067);font-size:12.5px}
.discipline-readiness-fold>summary:focus-visible{outline:2px solid var(--accent,#0e8067);outline-offset:2px;border-radius:4px}
@media (max-width:768px){
  .discipline-readiness.card{padding:12px}
  .discipline-readiness-status .meta{flex-basis:100%}
}

