/* Документы и сведения об образовательной организации (documents.html): шапка с реквизитами, слева — вкладки (графит, липкие),
   справа — документ на бумаге. Без JS видно всё подряд (вкладки — якоря), с JS (html.docs-js, js/documents.js) — одна панель.
   На телефоне и планшете вкладки сворачиваются в список под кнопкой «Раздел: …», которая липнет под шапкой сайта. */

.docs-main { padding: clamp(24px, 3.4vw, 48px) 0 clamp(64px, 8vw, 112px); }

/* ---------- Шапка страницы: заголовок и реквизиты ---------- */
.docs-head__title { font-size: clamp(40px, 4.6vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -.035em; }
.docs-head__lead { margin-top: 16px; max-width: 700px; font-size: 18px; line-height: 26px; letter-spacing: -.008em; color: var(--muted); text-wrap: pretty; }
.docs-req {
  margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .7fr) minmax(0, .8fr) minmax(0, 1.55fr);
  border: 1px solid var(--border); border-radius: 20px; background: var(--panel); overflow: hidden;
}
.docs-req__item { min-width: 0; padding: 18px 22px 20px; }
.docs-req__item + .docs-req__item { border-left: 1px solid var(--border); }
.docs-req dt { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--muted); }
.docs-req dd { margin: 6px 0 0; font-size: 16px; line-height: 22px; font-weight: 600; letter-spacing: -.01em; color: #fff; overflow-wrap: anywhere; } /* без tabular-nums: в Inter он раздвигает дефис в «Мамонтов-Катаев» */
.docs-req__item--license dd { display: flex; flex-wrap: wrap; column-gap: 10px; }
.docs-req__item:nth-child(2) dd, .docs-req__item:nth-child(3) dd { white-space: nowrap; }
.docs-req__link { font-weight: 500; color: var(--lime); text-decoration: none; white-space: nowrap; }
.docs-req__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Раскладка: вкладки + документ ---------- */
.docs { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 20px; align-items: start; }

.docs-nav {
  position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain;
  padding: 12px; border-radius: 24px; background: var(--panel); border: 1px solid var(--border);
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .16) transparent;
}
.docs-nav__group { padding: 14px 12px 8px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.docs-nav__items + .docs-nav__group { margin-top: 8px; border-top: 1px solid var(--border); padding-top: 18px; }
.docs-nav__link {
  position: relative; display: block; padding: 7px 12px 7px 14px; border-radius: 12px;
  font-size: 15px; line-height: 20px; letter-spacing: -.005em; color: rgba(255, 255, 255, .72); text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.docs-nav__link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.docs-nav__link[aria-current] { background: rgba(199, 255, 46, .1); color: var(--lime); font-weight: 600; }
.docs-nav__link[aria-current]::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--lime); }
.docs-nav__link:focus-visible { outline-offset: -2px; }
.docs-nav__toggle { display: none; }
.docs-page .nav.is-scrolled { background: rgba(11, 11, 12, .94); } /* над бумагой полупрозрачная шапка мутнеет, сквозь неё читается текст */

/* ---------- Панель документа: бумага ---------- */
.docs-panels { min-width: 0; }
.doc-panel {
  position: relative; min-width: 0; padding: clamp(24px, 3.4vw, 56px);
  border-radius: 24px; background: var(--paper); color: var(--ink);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .34), 0 2px 2px rgba(232, 222, 200, .2), inset 0 1px 1px rgba(255, 255, 255, .76);
  scroll-margin-top: 100px;
}
.doc-panel + .doc-panel { margin-top: 20px; }
@media (min-width: 1024px) { .docs-js .doc-panel { min-height: calc(100vh - 120px); } }
.doc-panel :focus-visible { outline-color: var(--ink); } /* лаймовый контур на кремовом почти не виден */
.doc-panel__group { font-size: 14px; line-height: 20px; font-weight: 600; color: rgba(23, 24, 28, .66); }
@media (min-width: 1024px) { .docs-js .doc-panel__group { display: none; } .docs-js .doc-panel__group + .doc-panel__title { margin-top: 0; } }
.doc-panel__title { margin-top: 8px; max-width: 26em; font-size: clamp(26px, 2.35vw, 36px); line-height: 1.14; font-weight: 700; letter-spacing: -.022em; text-wrap: balance; }
.doc-panel__title:focus { outline: none; }
.doc-panel__meta { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.doc-panel__edition { font-size: 15px; line-height: 20px; color: rgba(23, 24, 28, .66); font-variant-numeric: tabular-nums; }
.doc-panel__dl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.doc-panel__dl-label { margin-right: 4px; font-size: 15px; line-height: 20px; color: rgba(23, 24, 28, .66); }
.doc-dl {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px 8px 12px;
  border-radius: 12px; border: 1px solid rgba(23, 24, 28, .14); background: rgba(255, 255, 255, .55);
  font-size: 14px; line-height: 18px; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.doc-dl svg { flex: none; }
.doc-dl small { font-size: 13px; font-weight: 500; color: rgba(23, 24, 28, .66); font-variant-numeric: tabular-nums; }
.doc-dl:hover { background: #fff; border-color: rgba(23, 24, 28, .28); }
.doc-panel__head { padding-bottom: 24px; border-bottom: 1px solid rgba(23, 24, 28, .1); }
.doc-panel__head + .doc-prose { margin-top: 28px; }

/* Содержание длинного документа */
.doc-toc { margin-top: 24px; max-width: 780px; border-radius: 16px; border: 1px solid rgba(23, 24, 28, .1); background: rgba(255, 255, 255, .45); }
.doc-toc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 18px;
  font-size: 15px; line-height: 20px; font-weight: 600; cursor: pointer; list-style: none; border-radius: 16px;
}
.doc-toc summary::-webkit-details-marker { display: none; }
.doc-toc summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-top: -4px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease); }
.doc-toc[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.doc-toc ol { padding: 0 18px 14px; display: grid; gap: 2px; }
.doc-toc a { display: block; padding: 5px 0; font-size: 15px; line-height: 21px; color: rgba(23, 24, 28, .8); text-decoration: none; }
.doc-toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.doc-toc + .doc-prose { margin-top: 28px; }

/* ---------- Текст документа ---------- */
.doc-prose { max-width: 780px; font-size: 16px; line-height: 1.62; letter-spacing: -.003em; color: rgba(23, 24, 28, .88); overflow-wrap: break-word; }
.doc-prose p + p, .doc-prose p + ul, .doc-prose ul + p, .doc-prose p + ol, .doc-prose ol + p { margin-top: .8em; }
.doc-prose h3 { margin: 2.2em 0 .7em; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.016em; color: var(--ink); scroll-margin-top: 100px; text-wrap: balance; }
.doc-prose h4 { margin: 1.8em 0 .6em; font-size: 17px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.doc-prose > :first-child { margin-top: 0; }
.doc-prose strong { font-weight: 600; color: var(--ink); }
.doc-prose ul, .doc-prose ol { padding-left: 1.35em; }
.doc-prose ul { list-style: disc; }
.doc-prose ol { list-style: decimal; }
.doc-prose li + li { margin-top: .4em; }
.doc-prose li::marker { color: rgba(23, 24, 28, .45); }
.doc-prose a { color: #4F35D8; text-decoration: underline; text-decoration-color: rgba(79, 53, 216, .35); text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.doc-prose a:hover { text-decoration-color: currentColor; }
.doc-lines { line-height: 1.55; }
/* Поле бланка «_____»: линия нужной длины, но не шире строки */
.doc-blank { display: inline-block; width: calc(var(--w, 20) * .5em); max-width: 100%; height: 1em; vertical-align: -.2em; border-bottom: 1px solid rgba(23, 24, 28, .5); }

/* Таблица: не шире колонки, лишнее прокручивается внутри */
.doc-table-wrap { margin: 1.2em 0; max-width: 100%; overflow-x: auto; border-radius: 14px; border: 1px solid rgba(23, 24, 28, .12); background: rgba(255, 255, 255, .5); }
.doc-table-wrap:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.doc-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.doc-table td, .doc-table th { padding: 11px 14px; vertical-align: top; text-align: left; border-bottom: 1px solid rgba(23, 24, 28, .09); }
.doc-table td + td { border-left: 1px solid rgba(23, 24, 28, .09); }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table th { font-weight: 600; color: var(--ink); background: rgba(23, 24, 28, .035); }
.doc-table th + th { border-left: 1px solid rgba(23, 24, 28, .09); }
.doc-table:not(:has(thead)) tr:first-child td { font-weight: 600; color: var(--ink); background: rgba(23, 24, 28, .035); } /* таблица без шапки из docx: первая строка — заголовки */
/* абзацы внутри ячейки из docx рвали фразы («Физические лица — / Пользователи сайта») — одной строкой */
.doc-table td p, .doc-table th p { display: inline; }
.doc-table td p + p::before, .doc-table th p + p::before { content: " "; }

/* «Сведения»: пары «поле — значение» */
.doc-kv { display: grid; border-top: 1px solid rgba(23, 24, 28, .1); }
.doc-prose > .doc-kv:first-child { border-top: 0; } /* под шапкой документа уже есть линия */
.doc-prose > .doc-kv:first-child > div:first-child { padding-top: 0; }
.doc-kv > div { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 8px 28px; padding: 14px 0; border-bottom: 1px solid rgba(23, 24, 28, .1); }
.doc-kv dt { font-size: 15px; line-height: 22px; color: rgba(23, 24, 28, .66); }
.doc-kv dd { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink); }
.doc-kv--num dd { font-size: 20px; line-height: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.doc-kv__list { margin: 0; padding-left: 0 !important; list-style: none !important; }
.doc-kv__list li + li { margin-top: .25em; }
.doc-prose .doc-kv + p, .doc-prose p + .doc-kv, .doc-prose .doc-kv + .doc-files, .doc-prose .doc-kv + h3 { margin-top: 24px; }
.doc-prose h3 + .doc-kv { margin-top: 4px; }

/* Структура: руководитель и преподаватели */
.doc-org { margin: 8px 0 28px; display: grid; justify-items: center; gap: 28px; padding: 28px 20px; border-radius: 18px; background: rgba(23, 24, 28, .035); border: 1px solid rgba(23, 24, 28, .08); }
.doc-org__head { position: relative; padding: 14px 22px; border-radius: 14px; background: var(--graphite); color: #fff; font-size: 15px; line-height: 21px; font-weight: 600; text-align: center; }
.doc-org__head::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: rgba(23, 24, 28, .3); }
.doc-org__staff { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 170px)); gap: 20px; padding: 0 !important; list-style: none !important; text-align: center; }
/* горизонталь — от центра первой карточки до центра второй: половина колонки от краёв */
.doc-org__staff::before { content: ""; position: absolute; left: calc((100% - 20px) / 4); right: calc((100% - 20px) / 4); top: -14px; height: 1px; background: rgba(23, 24, 28, .3); }
.doc-org__staff li { position: relative; margin: 0 !important; padding: 10px 18px; border-radius: 12px; border: 1px solid rgba(23, 24, 28, .16); background: rgba(255, 255, 255, .7); font-size: 15px; line-height: 20px; font-weight: 500; }
.doc-org__staff li::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 14px; background: rgba(23, 24, 28, .3); }

/* Списки файлов для скачивания */
.doc-files + .doc-files { margin-top: 28px; }
.doc-prose .doc-files__title { margin: 0 0 10px; font-size: 17px; line-height: 1.35; }
.doc-kv + .doc-files { margin-top: 36px; }
.doc-files__list { display: grid; gap: 8px; padding: 0 !important; list-style: none !important; }
.doc-files__list li { margin: 0 !important; }
.doc-file {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 20px; padding: 14px 16px 14px 18px;
  border-radius: 14px; border: 1px solid rgba(23, 24, 28, .1); background: rgba(255, 255, 255, .5); color: var(--ink) !important; text-decoration: none !important;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.doc-file:hover { background: #fff; border-color: rgba(23, 24, 28, .24); }
.doc-file__name { font-size: 15.5px; line-height: 22px; font-weight: 500; }
.doc-file__meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 18px; color: rgba(23, 24, 28, .66); font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc-file__meta::after { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2.5v8M4.5 7.2 8 10.7l3.5-3.5M3 13.5h10' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2.5v8M4.5 7.2 8 10.7l3.5-3.5M3 13.5h10' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.doc-file--tab .doc-file__meta::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9.5M8.8 4.3 12.5 8l-3.7 3.7' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9.5M8.8 4.3 12.5 8l-3.7 3.7' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.doc-links { padding-left: 1.35em; list-style: disc; }
.doc-links li + li { margin-top: .5em; }
.doc-anchor { position: absolute; top: 0; }

/* Широкий экран: «Содержание» длинного документа — липкой колонкой справа от текста, а не пустое поле у края бумаги */
@media (min-width: 1440px) {
  .doc-panel:has(> .doc-toc) { display: grid; grid-template-columns: minmax(0, 780px) minmax(220px, 1fr); column-gap: 56px; align-items: start; }
  .doc-panel:has(> .doc-toc) > .doc-panel__head { grid-column: 1 / -1; }
  .doc-panel:has(> .doc-toc) > .doc-prose { grid-column: 1; grid-row: 2; margin-top: 28px; }
  .doc-panel:has(> .doc-toc) > .doc-toc {
    grid-column: 2; grid-row: 2; position: sticky; top: 108px; margin-top: 28px; max-width: 340px; max-height: calc(100vh - 140px); overflow-y: auto;
    overscroll-behavior: contain; scrollbar-width: thin;
  }
  .doc-panel:has(> .doc-toc) > .doc-toc a { font-size: 14px; line-height: 19px; }
}

/* ---------- С JS: одна панель, вкладки переключают ---------- */
.docs-js .doc-panel[hidden]:not([hidden="until-found"]) { display: none !important; }
/* hidden="until-found" (js/documents.js): панель в потоке, но пустая и без размера — её текст находит поиск браузера */
.docs-js .doc-panel[hidden="until-found"] { min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.docs-js .doc-panel + .doc-panel { margin-top: 0; }

/* ---------- Планшет и телефон: вкладки — список под кнопкой ---------- */
/* реквизиты в четыре колонки влезают от 1200: уже ИНН рвался посреди числа */
@media (max-width: 1199px) {
  .docs-req { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .docs-req__item:nth-child(3) { border-left: 0; }
  .docs-req__item:nth-child(n + 3) { border-top: 1px solid var(--border); }
}
@media (max-width: 1023px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .docs-nav { position: static; max-height: none; overflow: visible; }
  .docs-js .docs-nav { position: sticky; top: 84px; z-index: 20; padding: 6px; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .8); }
  /* открытое меню затемняет документ под собой */
  .docs-js .docs-nav.is-open { box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .8), 0 0 0 100vmax rgba(5, 5, 6, .5); }
  .docs-js .docs-nav__toggle {
    display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 10px 12px 10px 14px; border: 0; border-radius: 18px;
    background: transparent; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .docs-js .docs-nav__toggle:focus-visible { outline-offset: -2px; }
  .docs-nav__toggle-label { flex: none; font-size: 14px; line-height: 20px; color: var(--muted); }
  .docs-nav__current { flex: 1; min-width: 0; font-size: 15px; line-height: 20px; font-weight: 600; color: #fff; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .docs-nav__chevron { flex: none; color: var(--lime); transition: transform .25s var(--ease); }
  .docs-nav.is-open .docs-nav__chevron { transform: rotate(180deg); }
  .docs-js .docs-nav__list { display: none; max-height: calc(100svh - 170px); overflow-y: auto; overscroll-behavior: contain; padding: 0 6px 8px; }
  .docs-js .docs-nav.is-open .docs-nav__list { display: block; border-top: 1px solid var(--border); margin-top: 4px; }
  .docs-nav__link { padding-top: 11px; padding-bottom: 11px; }
  .doc-panel, .docs-js .doc-panel { scroll-margin-top: 160px; }
  .doc-prose h3 { scroll-margin-top: 160px; }
}
@media (max-width: 767px) {
  .docs-js .docs-nav { top: 56px; }
  .docs-head__lead { font-size: 16px; line-height: 24px; }
  /* реквизиты компактнее: ИНН и ОГРНИП в один ряд, имя и лицензия — во всю ширину */
  .docs-req { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); border-radius: 18px; }
  .docs-req__item { padding: 12px 14px 13px; }
  .docs-req__item:nth-child(1), .docs-req__item:nth-child(4) { grid-column: 1 / -1; }
  .docs-req__item:nth-child(2) { border-left: 0; border-top: 1px solid var(--border); }
  .docs-req__item:nth-child(3) { border-left: 1px solid var(--border); }
  .docs-req__item:nth-child(4) { border-left: 0; }
  .docs-req dd { font-size: 15px; line-height: 21px; }
  .doc-panel { padding: 22px 18px 28px; border-radius: 20px; }
  .doc-panel__title { font-size: 24px; line-height: 1.18; }
  .doc-panel__meta { gap: 10px 20px; }
  .doc-panel__dl-label { flex-basis: 100%; }
  .doc-prose { font-size: 15.5px; line-height: 1.6; }
  .doc-prose h3 { font-size: 19px; }
  .doc-kv > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 12px 0; }
  .doc-kv dt { font-size: 14px; line-height: 20px; }
  .doc-file { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; }
  .doc-file__name { font-size: 15px; line-height: 21px; }
  .doc-org { padding: 20px 12px; }
  .doc-org__staff { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .doc-org__staff::before { left: calc((100% - 12px) / 4); right: calc((100% - 12px) / 4); }
  .doc-org__staff li { padding: 10px 8px; font-size: 14px; overflow-wrap: normal; }
  /* таблица на телефоне — карточки: строка — блок, у каждой ячейки подпись столбца (data-label из scripts/gen-documents.mjs) */
  .doc-table-wrap { overflow: visible; border: 0; background: none; border-radius: 0; }
  .doc-table, .doc-table tbody, .doc-table tr, .doc-table td { display: block; width: auto; min-width: 0; }
  .doc-table thead { display: none; }
  .doc-table tr { padding: 4px 14px; border-radius: 14px; border: 1px solid rgba(23, 24, 28, .12); background: rgba(255, 255, 255, .5); }
  .doc-table tr + tr { margin-top: 10px; }
  .doc-table td, .doc-table td + td { padding: 10px 0; border-left: 0; }
  .doc-table td + td { border-top: 1px solid rgba(23, 24, 28, .09); }
  .doc-table tr td { border-bottom: 0; }
  .doc-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 3px; font-size: 13px; line-height: 18px; font-weight: 600; color: rgba(23, 24, 28, .66); }
}
@media (max-width: 359px) {
  .docs-req { grid-template-columns: minmax(0, 1fr); }
  .docs-req__item:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
}

@media (prefers-reduced-motion: reduce) {
  .docs-nav__chevron, .doc-toc summary::after { transition: none; }
}

/* ---------- Печать: только документ, чёрным по белому ---------- */
@media print {
  html::before, html::after { display: none !important; }
  body { background: #fff !important; color: #000; }
  .nav, .footer, .skip-link, .docs-nav, .docs-head__lead, .doc-panel__dl, .doc-toc { display: none !important; }
  .docs-main { padding: 0; }
  .container { width: auto; }
  .docs-req { border-color: #bbb; background: none; }
  .docs-req dt, .docs-req dd, .docs-head__title { color: #000; }
  .docs-req__link { color: #000; }
  .docs { display: block; margin-top: 12pt; }
  .doc-panel { padding: 0; border-radius: 0; background: none; box-shadow: none; color: #000; }
  .doc-panel[hidden] { display: none !important; }
  .doc-panel + .doc-panel { margin-top: 24pt; break-before: page; }
  .doc-prose { max-width: none; font-size: 11pt; line-height: 1.45; color: #000; }
  .doc-prose a { color: #000; }
  .doc-prose h3, .doc-prose h4 { break-after: avoid; }
  .doc-table-wrap { overflow: visible; border-color: #bbb; }
  .doc-table { min-width: 0; }
}
