/* ЗаконБаза — простой, быстрый, читабельный. Светлая и тёмная темы. */
:root {
  --bg: #f7f6f2; --surface: #ffffff; --surface-2: #f0efe9; --text: #1d2327; --muted: #5f6b73; --line: #e2e0d8;
  --accent: #0f5c4d; --accent-2: #13806b; --accent-soft: #e3f1ec; --link: #0b5fa5;
  --ok: #1f7a3e; --ok-bg: #e5f4ea; --warn: #8a5a00; --warn-bg: #fff3d6; --bad: #b3261e; --bad-bg: #fde8e6;
  --mark: #fff1a8; --hl: #fff6c9;
  --radius: 10px; --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.04);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-law: "PT Serif", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111416; --surface: #181c1f; --surface-2: #1f2427; --text: #e6e8e9; --muted: #9aa5ab; --line: #2b3236;
    --accent: #4fc2a5; --accent-2: #6fd6bb; --accent-soft: #173029; --link: #7cb8f2;
    --ok: #6fd08e; --ok-bg: #16301f; --warn: #f2c55c; --warn-bg: #33290f; --bad: #ff8a80; --bad-bg: #3a1a18;
    --mark: #5c4d00; --hl: #2c2a14; --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111416; --surface: #181c1f; --surface-2: #1f2427; --text: #e6e8e9; --muted: #9aa5ab; --line: #2b3236;
  --accent: #4fc2a5; --accent-2: #6fd6bb; --accent-soft: #173029; --link: #7cb8f2;
  --ok: #6fd08e; --ok-bg: #16301f; --warn: #f2c55c; --warn-bg: #33290f; --bad: #ff8a80; --bad-bg: #3a1a18;
  --mark: #5c4d00; --hl: #2c2a14; --shadow: none; color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 10px; top: 10px; background: var(--surface); padding: 8px; z-index: 99; }

/* шапка */
.top { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; font-size: 19px; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo__mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: #fff; font: 700 20px/1 var(--font-law); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--text); padding: 8px 10px; border-radius: 8px; font-size: 15px; }
.nav a:hover { background: var(--surface-2); text-decoration: none; }
.theme { border: 0; background: transparent; color: var(--muted); width: 38px; height: 38px; border-radius: 8px; cursor: pointer; }
.theme:hover { background: var(--surface-2); color: var(--text); }

/* поиск */
.search { position: relative; display: flex; flex: 1; max-width: 520px; }
.search__input { flex: 1; min-width: 0; height: 42px; padding: 0 44px 0 14px; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.search__input:focus { outline: none; border-color: var(--accent-2); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
.search__btn { position: absolute; right: 4px; top: 4px; height: 34px; width: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.search__btn--text { position: static; width: auto; height: auto; margin-left: 8px; padding: 0 22px; background: var(--accent); color: #fff; font: 600 16px var(--font); border-radius: 10px; }
.search__btn--text:hover { background: var(--accent-2); }
.search--hero { max-width: 760px; margin: 0 auto; }
.search--hero .search__input { height: 58px; font-size: 19px; padding: 0 18px; background: var(--surface); box-shadow: var(--shadow); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); overflow: hidden; z-index: 40; text-align: left; }
.suggest a { display: block; padding: 10px 14px; color: var(--text); border-bottom: 1px solid var(--line); }
.suggest a:last-child { border-bottom: 0; }
.suggest a small { display: block; color: var(--muted); font-size: 13px; }
.suggest a:hover, .suggest a.is-active { background: var(--accent-soft); text-decoration: none; }

/* главная */
.hero { padding: 56px 0 36px; text-align: center; background: linear-gradient(180deg, var(--accent-soft), transparent); }
.hero__title { font-size: clamp(28px, 4.2vw, 46px); letter-spacing: -.01em; margin-bottom: 12px; }
.hero__title span { color: var(--accent); }
.hero__lead { font-size: 18px; color: var(--muted); margin: 0 auto 26px; max-width: 700px; }
.hero__stats { color: var(--muted); font-size: 14px; margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 14px; }
.chip:hover { border-color: var(--accent-2); text-decoration: none; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px 32px; padding-top: 20px; padding-bottom: 48px; }
.home-grid .side { grid-row: span 4; }
.block { margin-bottom: 8px; }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.block__head h2 { font-size: 22px; margin: 0; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); box-shadow: var(--shadow); }
.tile:hover { border-color: var(--accent-2); text-decoration: none; }
.tile__code { font-weight: 700; color: var(--accent); }
.tile__name { font-size: 14px; color: var(--muted); }
.tile.is-pending { opacity: .7; }
.groups { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.groups li { break-inside: avoid; }
.groups a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text); }

/* карточки, списки */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 18px; box-shadow: var(--shadow); }
.card--accent { border-color: var(--accent-2); }
.card__title { font-size: 17px; margin-bottom: 12px; }
.more { display: inline-block; margin-top: 10px; font-size: 15px; }
.kv { margin: 0; display: grid; gap: 10px; }
.kv > div { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; }
.kv dt { font-size: 15px; } .kv dd { margin: 0; font-weight: 700; text-align: right; } .kv dd.muted { grid-column: 1 / -1; font-weight: 400; font-size: 13px; text-align: left; }
.events, .changes-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.events time, .changes-mini time { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 6px; }
.docs { list-style: none; margin: 0; padding: 0; }
.doc { padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc__name { font-weight: 600; font-size: 16px; }
.doc__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--muted); font-size: 14px; margin-top: 2px; }
.docs--compact .doc { padding: 8px 0; }
.page-title { font-size: clamp(26px, 3vw, 34px); margin: 18px 0 8px; }
.lead { font-size: 17px; color: var(--muted); margin: 0 0 20px; max-width: 820px; }
.group-cards { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.group-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.group-card:hover { border-color: var(--accent-2); text-decoration: none; }
.group-card__name { font-weight: 700; font-size: 17px; } .group-card__lead { color: var(--muted); font-size: 14px; flex: 1; } .group-card__count { font-size: 13px; color: var(--accent); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; }
.filters input[type=search], .filters select { height: 38px; padding: 0 10px; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.check { display: inline-flex; gap: 6px; align-items: center; }
.btn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font: 600 14px var(--font); cursor: pointer; }
.btn:hover { background: var(--accent-2); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--accent); height: 30px; font-weight: 500; }
.btn--ghost:hover { background: var(--accent-soft); }
.pages { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 40px; }
.pages a, .pages span { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.pages span[aria-current] { background: var(--accent); color: #fff; border-color: var(--accent); }

/* метки */
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.badge--ok { background: var(--ok-bg); color: var(--ok); } .badge--warn { background: var(--warn-bg); color: var(--warn); }
.badge--bad { background: var(--bad-bg); color: var(--bad); } .badge--muted { background: var(--surface-2); color: var(--muted); font-weight: 500; }
.badge--plain { background: var(--surface-2); color: var(--text); font-weight: 500; }
.alert { padding: 12px 14px; border-radius: 8px; margin: 12px 0 0; font-size: 15px; }
.alert--warn { background: var(--warn-bg); color: var(--text); border-left: 4px solid var(--warn); }
.alert--bad { background: var(--bad-bg); border-left: 4px solid var(--bad); }

/* крошки */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 14px auto 0; padding: 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: var(--muted); }
.crumbs span[aria-current] { color: var(--text); }

/* документ и статья */
.dochead { padding: 10px 0 18px; max-width: 900px; }
.dochead__kind { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.dochead__title { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.005em; }
.dochead__status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dochead__official { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.dochead__src { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.doclayout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 60px; }
.toc { position: sticky; top: 80px; max-height: calc(100vh - 96px); overflow: auto; font-size: 14px; }
.toc__box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.toc__summary { font-weight: 700; cursor: pointer; list-style: none; }
.toc__summary::-webkit-details-marker { display: none; }
.toc__filter { width: 100%; height: 34px; margin: 10px 0 4px; padding: 0 10px; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; }
.toc__list { list-style: none; margin: 0; padding: 0 0 0 10px; }
.toc__nav > .toc__list { padding-left: 0; margin-top: 8px; }
.toc__item a { display: block; padding: 4px 6px; border-radius: 6px; color: var(--text); }
.toc__item a:hover { background: var(--surface-2); text-decoration: none; }
.toc__item--section > a, .toc__item--appendix > a { font-weight: 700; margin-top: 6px; }
.toc__item--chapter > a { font-weight: 600; }
.toc__item.is-expired > a { color: var(--muted); text-decoration: line-through; }
.toc__item.is-current > a { background: var(--accent-soft); font-weight: 600; }
.codetoc .toc__list { padding-left: 16px; } .codetoc > .toc__list { padding-left: 0; }
.codetoc .toc__item a { padding: 5px 0; }
.codetoc .toc__item--section > a { font-size: 18px; margin-top: 18px; }
.codetoc .toc__item--chapter > a { font-size: 16px; margin-top: 10px; }

/* текст нормы */
.law { font: 18px/1.7 var(--font-law); max-width: 820px; }
.law p { margin: 0 0 .65em; }
.law .h { font-family: var(--font); position: relative; }
.law .h--article { font-size: 20px; margin: 1.6em 0 .6em; }
.law .h--chapter { font-size: 22px; margin: 1.8em 0 .6em; text-align: center; }
.law .h--section, .law .h--appendix { font-size: 24px; margin: 2em 0 .8em; text-align: center; }
.law .h--heading { font-size: 18px; margin: 1.2em 0 .5em; }
.law .h-link { color: inherit; }
.u { position: relative; border-radius: 6px; transition: background .3s; }
.u .u { margin-left: 0; }
.u--pp, .u--p .u--indent, .u--ch .u--p { padding-left: 0; }
.u:target, .blk:target, .u.is-hl { background: var(--hl); box-shadow: -10px 0 0 var(--hl), 10px 0 0 var(--hl); }
.u--expired > .u-t, .blk--expired > .h { color: var(--muted); }
.anc { position: absolute; left: -26px; top: 0; width: 22px; text-align: center; color: var(--muted); opacity: 0; font: 600 15px/1.7 var(--font); text-decoration: none; }
.u:hover > .u-t > .anc, .blk:hover > .h > .anc, .anc:focus { opacity: 1; }
.law .remark, .law .note { color: var(--muted); font-size: 14px; font-family: var(--font); }
.law .service { color: var(--muted); text-align: center; font-family: var(--font); font-size: 15px; }
.preamble { margin-bottom: 1.5em; }
.amendments summary { cursor: pointer; color: var(--muted); font: 14px var(--font); }
.table-wrap { overflow-x: auto; margin: .5em 0 1em; }
.law table { border-collapse: collapse; font: 14px/1.45 var(--font); }
.law td, .law th { border: 1px solid var(--line); padding: 6px 8px; vertical-align: top; }
.law td p, .law th p { margin: 0; }
.pre-table { font: 12px/1.35 ui-monospace, Menlo, Consolas, monospace; overflow-x: auto; background: var(--surface-2); padding: 10px; border-radius: 8px; }
.law a.ref { color: var(--link); border-bottom: 1px dotted currentColor; }
.law a.ref:hover { text-decoration: none; border-bottom-style: solid; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin: 24px 0; font: 16px var(--font); }
.chg { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; }
.chg__type { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.chg--added .chg__type { color: var(--ok); } .chg--removed .chg__type, .chg--expired .chg__type { color: var(--bad); } .chg--changed .chg__type { color: var(--warn); }
.refs__list { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.src { font-size: 14px; margin-top: 24px; }
.empty { text-align: center; padding: 40px 20px; }
.empty .search { margin: 20px auto 0; }

/* поиск */
.results { list-style: none; margin: 0; padding: 0; }
.result { padding: 12px 0; border-bottom: 1px solid var(--line); }
.result:last-child { border-bottom: 0; }
.result__label { font-weight: 600; font-size: 17px; }
.result--exact .result__label { font-size: 19px; }
.result__text { margin: 6px 0 0; font: 15px/1.55 var(--font-law); color: var(--text); }
mark { background: var(--mark); color: inherit; padding: 0 1px; border-radius: 2px; }

/* лента */
.feed { list-style: none; margin: 0; padding: 0; }
.feed__item { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.feed__date { font-variant-numeric: tabular-nums; color: var(--muted); }
.feed__doc { font-weight: 600; }
.feed__arts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: 14px; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; font-size: 15px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr.is-current { background: var(--accent-soft); }

/* подвал */
.foot { border-top: 1px solid var(--line); background: var(--surface); padding: 28px 0; font-size: 14px; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.foot__brand { font-weight: 700; margin-bottom: 6px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 16px; align-content: start; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 50; font-size: 15px; }

/* мобильная версия */
@media (max-width: 980px) {
  .home-grid { grid-template-columns: 1fr; } .home-grid .side { grid-row: auto; }
  .doclayout { grid-template-columns: 1fr; gap: 12px; }
  .toc { position: static; max-height: none; }
  .page-doc .toc__box:not([open]) .toc__nav { display: none; }
}
@media (max-width: 760px) {
  .top__in { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .nav { order: 3; width: 100%; overflow-x: auto; margin: 0 -8px; }
  .search--top { order: 4; max-width: none; flex-basis: 100%; }
  .theme { margin-left: auto; }
  .hero { padding: 32px 0 24px; }
  .search--hero .search__input { height: 52px; font-size: 17px; }
  .search__btn--text { padding: 0 14px; }
  .groups { columns: 1; }
  .law { font-size: 17px; }
  .anc { position: static; opacity: .45; margin-left: 4px; }
  .feed__item { grid-template-columns: 1fr; gap: 2px; }
  .foot__in { grid-template-columns: 1fr; }
  html { scroll-padding-top: 130px; }
}
@media print {
  .top, .foot, .toc, .pager, .crumbs, .btn, .anc, .refs { display: none !important; }
  .doclayout { display: block; } body { background: #fff; color: #000; }
}
.doclayout--single { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.codetoc-head { position: sticky; top: 64px; background: var(--bg); padding: 8px 0 10px; z-index: 5; }
.codetoc-head h2 { font-size: 18px; margin-bottom: 8px; }
.toc__filter--big { height: 44px; font-size: 16px; margin: 0; }
.toc__item--article > a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.toc__item.is-current > a { -webkit-line-clamp: unset; }
/* справочники и календарь */
.big-value { font-size: 26px; font-weight: 700; color: var(--accent); }
.big-value--xl { font-size: 42px; margin: 6px 0; }
.valuecard { max-width: 520px; }
.chg-up { color: var(--ok); } .chg-down { color: var(--bad); }
.calnav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 8px 0 12px; }
.calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 20px; max-width: 700px; }
.calgrid__h { text-align: center; color: var(--muted); font-size: 13px; }
.calgrid__d { position: relative; display: grid; place-items: center; aspect-ratio: 1.4; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.calgrid__d.is-out { opacity: .35; } .calgrid__d.is-weekend span { color: var(--bad); }
.calgrid__d.has-events { border-color: var(--accent-2); background: var(--accent-soft); }
.calgrid__d.is-today { outline: 2px solid var(--accent); }
.calgrid__d small { position: absolute; right: 5px; top: 3px; font-size: 11px; color: var(--accent); }
.calgrid__d:hover { text-decoration: none; }
.calday.is-past { opacity: .7; }
.calev { padding: 6px 0; border-bottom: 1px solid var(--line); }
.calev:last-child { border-bottom: 0; }
.calev summary { cursor: pointer; }
.calev ul { margin: 6px 0 4px; padding-left: 20px; font-size: 15px; color: var(--text); }
.form-blank { max-width: none; font-family: var(--font); font-size: 15px; }
.form-blank table { width: 100%; }
@media print { .form-blank { font-size: 12px; } .dochead__status, .src { display: none; } }
/* было / стало */
.cmp ins { background: var(--ok-bg); color: var(--ok); text-decoration: none; border-radius: 3px; padding: 0 1px; }
.cmp del { background: var(--bad-bg); color: var(--bad); border-radius: 3px; padding: 0 1px; }
.cmp__row { padding: 6px 0 6px calc(var(--d, 1) * 6px); border-bottom: 1px dashed var(--line); }
.cmp__row p { margin: 0; }
.cmp__key { display: inline-block; font: 12px var(--font); color: var(--muted); margin-bottom: 2px; }
.cmp__row--changed { border-left: 3px solid var(--warn); padding-left: 10px; }
.cmp__row--added { border-left: 3px solid var(--ok); padding-left: 10px; }
.cmp__row--removed { border-left: 3px solid var(--bad); padding-left: 10px; }
.cmp.only-changes .cmp__row--same { display: none; }
.cmpstats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile { padding: 10px; }
  .tile__name { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; }
  .chip { white-space: nowrap; }
}
.popular__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 18px; font-size: 15px; }
.popular__list a { display: block; padding: 4px 0; color: var(--text); }
.popular__list b { color: var(--accent); font-weight: 600; }
.prose { max-width: 780px; padding-bottom: 40px; }
.prose h2 { font-size: 20px; margin-top: 1.6em; }
.prose p, .prose li { font-size: 17px; }
.fresh { grid-column: 1 / -1; }
.fresh__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fresh__grid h3 { font-size: 16px; margin: 0 0 6px; color: var(--muted); }
.fresh .doc__name { font-size: 15px; font-weight: 500; }
@media (max-width: 980px) { .fresh__grid { grid-template-columns: 1fr; } }
.refs__group { border-top: 1px solid var(--line); padding: 8px 0; }
.refs__group:first-of-type { border-top: 0; }
.refs__group summary { cursor: pointer; }
.refs__list { margin-top: 8px; font-size: 15px; }
