/* Источники RD11: смета CAPEX по статьям и OPEX. Стиль карточек – общий (glossary.css). */
.rd11-part-head { margin: 48px 0 20px; }
.rd11-part-head h2 { font-size: 26px; margin: 0 0 8px; color: var(--ink, #080e1b); }
.rd11-part-head p { margin: 0; color: var(--muted, #626d77); font-size: 15px; line-height: 1.6; max-width: 860px; }
.rd11-filter { margin-top: 18px; display: grid; gap: 10px; max-width: 860px; }
.rd11-filter label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted, #626d77); }
.rd11-filter input { font: inherit; font-size: 15px; padding: 10px 14px; border: 1px solid var(--line, #d1d7d4); border-radius: 8px; background: var(--white, #fff); color: var(--ink, #080e1b); width: 100%; box-sizing: border-box; }
.rd11-filter input:focus-visible { outline: 2px solid var(--focus, #3d5947); outline-offset: 1px; }
.rd11-filter-basis { display: flex; flex-wrap: wrap; gap: 8px; }
.rd11-filter-basis button { font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line, #d1d7d4); background: var(--paper, #f7f7f4); color: var(--ink, #080e1b); cursor: pointer; }
.rd11-filter-basis button[aria-pressed="true"] { background: var(--focus, #3d5947); border-color: var(--focus, #3d5947); color: #fff; }
.rd11-filter-count { margin: 0; font-size: 13px; color: var(--muted, #626d77); min-height: 1em; }
.rd11-val { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 22px; }
.rd11-basket-card { border-left: 4px solid var(--focus, #3d5947); }
.rd11-basket { padding-bottom: 8px; }
.rd11-basket > .rd11-article { margin-left: 0; }
.rd11-table-wrap { overflow-x: auto; }
.rd11-table { border-collapse: collapse; width: 100%; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.rd11-table th, .rd11-table td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line, #d1d7d4); vertical-align: top; }
.rd11-table th { font-size: 12px; color: var(--muted, #626d77); font-weight: 600; }
.rd11-table .num { text-align: right; white-space: nowrap; }
.rd11-table .rd11-sum td { font-weight: 700; border-top: 2px solid var(--line-dark, #a9b2ac); }
.rd11-table a { color: var(--focus, #3d5947); }
.rd11-note { font-size: 13px !important; color: var(--muted, #626d77) !important; margin-top: 8px !important; }
.rd11-basis { white-space: normal; text-align: right; }
.rd11-basis-none { background: #f6ecec; color: #8a3b3b; border-color: #dcb7b7; }
.rd11-basis-analog, .rd11-basis-partial, .rd11-basis-rule { background: #eaf3ed; color: #2e5c3e; border-color: #9ec5aa; }
.rd11-honest { border-left-color: #a65a4d !important; }
.rd11-honest .source-block-title { color: #8a3b3b !important; }
.rd11-index { margin-top: 14px; }
.rd11-index-list { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 4px; font-size: 14px; }
.rd11-index-list li { display: flex; justify-content: space-between; gap: 12px; }
.rd11-index-list li a { color: var(--focus, #3d5947); text-decoration: underline; text-underline-offset: 3px; }
.rd11-index-list .num { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted, #626d77); }
.source-grade-badge.grade-c { background: #f1f1ee; color: #5a5f63; border: 1px solid #c9ccc8; }
.source-grade-badge.grade-d { background: #f6ecec; color: #8a3b3b; border: 1px solid #dcb7b7; }
.source-card.rd11-flash { border-color: var(--focus, #3d5947); box-shadow: 0 0 0 3px rgba(61, 89, 71, .25), 0 2px 10px rgba(8, 14, 27, .06); transition: box-shadow .3s; }
.rd11-up { text-decoration: none; }
.glossary-body .glossary-card-actions { gap: 16px; }
@media (max-width: 780px) {
  .rd11-val { font-size: 18px; }
  .rd11-part-head h2 { font-size: 22px; }
  .rd11-table { font-size: 12.5px; }
  .rd11-table th, .rd11-table td { padding: 6px 6px; }
  .rd11-index-list li { flex-direction: column; gap: 0; }
}
.rd11-cmp { margin: 4px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.55; display: grid; gap: 3px; }
.rd11-basis-direct { background: #eaf3ed; color: #2e5c3e; border-color: #9ec5aa; }
.rd11-sub { margin-top: 28px; }
.rd11-sub h3 { font-size: 20px; margin: 0 0 6px; }
/* Страница светлая, как главная (у strategy.html тёмной темы нет): тёмные правила glossary.css для карточек источников гасим,
   иначе в тёмной системной теме блок «Вывод» получает тёмный фон при тёмном тексте. */
@media (prefers-color-scheme: dark) {
  .glossary-body .source-item { background: var(--paper, #f7f7f4); border-color: var(--line, #d1d7d4); }
  .glossary-body .source-quote-details { background: rgba(0, 0, 0, .025); }
  .glossary-body .source-block.source-block-verdict { background: var(--paper, #f7f7f4); border-left-color: var(--focus, #3d5947); }
  .glossary-body .source-block.source-block-verdict .source-block-title { color: var(--focus, #3d5947); }
  .glossary-body .source-card-val { color: var(--deck-accent, #2e5c3e); }
  .glossary-body .source-grade-badge.grade-a { background: #eaf3ed; color: #2e5c3e; border-color: #9ec5aa; }
  .glossary-body .source-grade-badge.grade-b { background: #fbf5ea; color: #b37d2e; border-color: #dfc498; }
  .glossary-body .source-link-out, .glossary-body .source-link-archive { color: var(--focus, #3d5947); }
  .glossary-body .rd11-honest { border-left-color: #a65a4d !important; }
  .glossary-body .rd11-honest .source-block-title { color: #8a3b3b !important; }
}
.rd11-table-wrap .rd11-table { min-width: 0; }
.rd11-formula { font-size: 12.5px; color: var(--muted, #626d77); margin-top: 6px !important; word-break: break-word; }
