/* ФВВСР — Аналитический отчёт. Айдентика: Stapel, #0F7BFF / #001E62, прямые углы */

@font-face { font-family: 'Stapel'; src: url('assets/Stapel-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Stapel'; src: url('assets/Stapel-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Stapel'; src: url('assets/Stapel-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --blue: #0F7BFF;
  --navy: #001E62;
  --navy-deep: #001240;
  --navy-panel: #04255f;
  --navy-line: #1a3f8f;
  --white: #FFFFFF;
  --grey: #CFD0CF;
  --grey-dim: #8ba0c8;
  --ink: #10233f;
  --paper: #f4f7fc;
  --paper-line: #d7e0ee;
  --orange: #FF5C00;
  --amber: #FF9C00;
  --red: #DB282C;
  --cyan: #39BDF5;
  --green: #0BCF9B;
  --violet: #7807FE;
  --pink: #E50361;
}

* { margin: 0; padding: 0; box-sizing: border-box; border-radius: 0 !important; }

html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Stapel', 'Arial', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
}

/* ---------- Шапка ---------- */
.rep-header {
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 30px 0 26px;
  border-bottom: 3px solid var(--blue);
}
.rep-header .wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.rep-header .top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.rep-header .emblem { height: 38px; }
.rep-header .brand { font-weight: 700; font-size: 19px; letter-spacing: 0.06em; border-right: 1px solid var(--navy-line); padding-right: 16px; }
.rep-header .brand-sub { font-size: 13px; color: var(--grey-dim); }
.rep-header h1 { font-size: 33px; font-weight: 700; line-height: 1.14; letter-spacing: -0.01em; max-width: 900px; }
.rep-header .sub { margin-top: 12px; font-size: 15px; color: var(--grey); max-width: 780px; }
.rep-header .meta-row { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 12.5px; color: var(--grey-dim); }
.rep-header .meta-row b { color: var(--white); font-weight: 500; }
.rep-header .back {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 22px;
  background: var(--blue); color: var(--white);
  font-family: inherit; font-size: 13px; font-weight: 500;
  padding: 9px 16px; text-decoration: none; border: 1px solid var(--blue);
}
.rep-header .back:hover { background: transparent; }

/* ---------- Раскладка ---------- */
.rep-body { max-width: 1080px; margin: 0 auto; padding: 0 32px; display: flex; gap: 40px; align-items: flex-start; }
.rep-main { flex: 1 1 auto; min-width: 0; padding: 44px 0 80px; }

/* Оглавление */
.rep-toc {
  flex: 0 0 220px;
  position: sticky;
  top: 20px;
  padding: 44px 0 0;
}
.rep-toc h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey-dim); margin-bottom: 12px; font-weight: 700; }
.rep-toc a {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  text-decoration: none;
  padding: 7px 0 7px 12px;
  border-left: 2px solid var(--paper-line);
  transition: all 0.12s;
}
.rep-toc a:hover, .rep-toc a.active { border-left-color: var(--blue); color: var(--blue); }

/* ---------- Секции ---------- */
.rep-section { margin-bottom: 52px; scroll-margin-top: 20px; }
.rep-section h2 {
  font-size: 24px; font-weight: 700; color: var(--navy-deep);
  padding-bottom: 12px; margin-bottom: 20px;
  border-bottom: 2px solid var(--navy-deep);
  letter-spacing: -0.01em;
}
.rep-section h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 22px 0 8px; }
.rep-section p { margin-bottom: 13px; }
.rep-section p.lead { font-size: 18px; line-height: 1.5; color: var(--navy); font-weight: 500; margin-bottom: 20px; }
.rep-list { margin: 0 0 16px; padding-left: 0; list-style: none; }
.rep-list li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.rep-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--blue); transform: rotate(45deg); }

/* Врезки-выводы */
.callout {
  background: #eaf1fb;
  border-left: 4px solid var(--blue);
  padding: 15px 18px; margin: 18px 0; font-size: 15px;
}
.callout b { color: var(--navy-deep); }
.callout.warn { background: #fdf0e6; border-left-color: var(--orange); }
.callout.warn b { color: var(--orange); }
.callout.ok { background: #e6f8f1; border-left-color: var(--green); }
.callout.ok b { color: #06996f; }

/* Полоса метрик */
.stat-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0; }
.stat {
  flex: 1 1 140px; min-width: 130px;
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--blue);
  padding: 14px 16px; background: #fff;
}
.stat b { display: block; font-size: 26px; font-weight: 700; color: var(--navy-deep); line-height: 1.1; }
.stat span { font-size: 12px; color: #5b6b85; display: block; margin-top: 5px; line-height: 1.35; }

/* Таблицы */
.rep-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; background: #fff; }
.rep-table th {
  text-align: left; background: var(--navy-deep); color: #fff;
  font-weight: 500; font-size: 12.5px; padding: 10px 12px; vertical-align: bottom;
}
.rep-table td { padding: 9px 12px; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.rep-table tbody tr:nth-child(even) { background: #eef3fb; }
.rep-table td.num, .rep-table th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Карточки практик */
.practice {
  border: 1px solid var(--paper-line);
  border-left: 4px solid var(--grey-dim);
  padding: 16px 18px; margin: 14px 0; background: #fff;
}
.practice-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.practice-head h3 { margin: 0; font-size: 16.5px; }
.practice p { margin-bottom: 10px; font-size: 14.5px; }
.ptag {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 9px; color: #fff; white-space: nowrap;
}
.ptag.t-proven { background: #06996f; }
.ptag.t-promising { background: #1a86c7; }
.ptag.t-context { background: #d97a00; }
.ptag.t-insufficient { background: #6b7c9e; }
.practice:has(.t-proven) { border-left-color: #06996f; }
.practice:has(.t-promising) { border-left-color: #1a86c7; }
.practice:has(.t-context) { border-left-color: #d97a00; }
.practice:has(.t-insufficient) { border-left-color: #6b7c9e; }
.evidence {
  font-size: 13.5px; line-height: 1.5; color: #33445f;
  border-top: 1px solid var(--paper-line); padding-top: 9px; margin-top: 4px;
}
.evidence b { color: var(--navy-deep); }

/* Подвал */
.rep-footer {
  background: var(--navy-deep); color: var(--grey-dim);
  padding: 24px 0; font-size: 12.5px; margin-top: 40px;
}
.rep-footer .wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.rep-footer a { color: var(--cyan); text-decoration: none; }

@media (max-width: 880px) {
  .rep-toc { display: none; }
  .rep-header h1 { font-size: 25px; }
  .rep-header .sub { font-size: 14px; }
  .rep-body { padding: 0 18px; }
  .rep-main { padding: 28px 0 50px; }
  .stat { flex-basis: 100%; }
  .rep-table { font-size: 12.5px; display: block; overflow-x: auto; white-space: nowrap; }
}
