/* ФВВСР — Когнитивная карта мировых практик обучения плаванию */
/* Айдентика: 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;
  --orange: #FF5C00;
  --amber: #FF9C00;
  --red: #DB282C;
  --cyan: #39BDF5;
  --green: #0BCF9B;
  --violet: #7807FE;
  --pink: #E50361;

  --cat-national: #0F7BFF;
  --cat-method: #39BDF5;
  --cat-school: #FF9C00;
  --cat-safety: #DB282C;
  --cat-instr: #0BCF9B;
  --cat-infra: #7807FE;
  --cat-sport: #E50361;
}

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

html, body {
  height: 100%;
  background: var(--navy-deep);
  color: var(--white);
  font-family: 'Stapel', 'Arial', sans-serif;
  font-weight: 400;
  overflow: hidden;
}

#app { display: flex; flex-direction: column; height: 100vh; }

/* ---------- Шапка ---------- */
header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  background: linear-gradient(45deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--navy-line);
  flex: 0 0 auto;
  position: relative;
  z-index: 30;
}
#rail-btn {
  display: none;
  background: var(--navy-panel);
  border: 1px solid var(--navy-line);
  color: var(--white);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 12px;
  cursor: pointer;
}
#rail-btn:hover { border-color: var(--blue); }
#rail-close-row { display: none; margin-bottom: 12px; }
#rail-close {
  width: 100%;
  background: var(--navy-panel);
  border: 1px solid var(--navy-line);
  color: var(--grey);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 9px;
  cursor: pointer;
}
#rail-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 9, 32, 0.6);
  z-index: 40;
}
header .emblem { height: 40px; display: block; }
header .brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  border-right: 1px solid var(--navy-line);
  padding-right: 18px;
}
header .title-wrap { flex: 1 1 auto; min-width: 0; }
header h1 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
header .subtitle {
  font-size: 12.5px;
  color: var(--grey-dim);
  font-weight: 400;
  margin-top: 2px;
}
header .kpis { display: flex; gap: 22px; }

#report-btn {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  background: var(--blue);
  border: 1px solid var(--blue);
  padding: 9px 16px;
  margin-left: 4px;
  transition: background 0.14s;
  position: relative;
}
#report-btn::after {
  content: '→';
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--white);
  opacity: 0.85;
}
#report-btn { padding-right: 34px; }
#report-btn:hover { background: #0a63d0; }
#report-btn .rb-main { color: var(--white); font-size: 14px; font-weight: 700; line-height: 1.1; }
#report-btn .rb-sub { color: rgba(255, 255, 255, 0.82); font-size: 10.5px; font-weight: 400; letter-spacing: 0.01em; }
header .kpi { text-align: right; }
header .kpi b { display: block; font-size: 20px; font-weight: 700; color: var(--blue); line-height: 1; }
header .kpi span { font-size: 10.5px; color: var(--grey-dim); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Основная область ---------- */
main { flex: 1 1 auto; display: flex; min-height: 0; position: relative; }

/* ---------- Левая панель фильтров ---------- */
#rail {
  flex: 0 0 264px;
  background: var(--navy-deep);
  border-right: 1px solid var(--navy-line);
  padding: 16px;
  overflow-y: auto;
  z-index: 20;
}
#rail h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-dim);
  margin: 18px 0 8px;
}
#rail h3:first-child { margin-top: 0; }

#search {
  width: 100%;
  background: var(--navy-panel);
  border: 1px solid var(--navy-line);
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  padding: 8px 10px;
  outline: none;
}
#search:focus { border-color: var(--blue); }
#search::placeholder { color: var(--grey-dim); }

.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  cursor: pointer;
  font-size: 13px;
  border: 1px solid transparent;
  user-select: none;
}
.filter-row:hover { background: var(--navy-panel); }
.filter-row.off { opacity: 0.38; }
.filter-row .swatch { width: 12px; height: 12px; flex: 0 0 12px; }
.filter-row .cnt { margin-left: auto; color: var(--grey-dim); font-size: 11.5px; }

.seg { display: flex; flex-wrap: wrap; gap: 4px; }
.seg button {
  background: var(--navy-panel);
  border: 1px solid var(--navy-line);
  color: var(--grey);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 8px;
  cursor: pointer;
}
.seg button:hover { border-color: var(--blue); color: var(--white); }
.seg button.on { background: var(--blue); border-color: var(--blue); color: var(--white); }

.note {
  font-size: 11px;
  line-height: 1.45;
  color: var(--grey-dim);
  border-left: 2px solid var(--amber);
  padding-left: 8px;
  margin-top: 16px;
}
.note b { color: var(--grey); }

#reset-filters {
  width: 100%;
  margin-top: 14px;
  background: none;
  border: 1px solid var(--navy-line);
  color: var(--grey-dim);
  font-family: inherit;
  font-size: 12px;
  padding: 7px;
  cursor: pointer;
}
#reset-filters:hover { border-color: var(--blue); color: var(--white); }

/* ---------- Полотно карты ---------- */
#canvas-wrap {
  flex: 1 1 auto;
  position: relative;
  min-width: 0;
  background: radial-gradient(135% 105% at 50% 38%, #063069 0%, #001334 52%, #00071c 100%);
}
#map { width: 100%; height: 100%; display: block; cursor: grab; }
#map:active { cursor: grabbing; }

/* подписи направлений — крупные, как «созвездия» */
#map text.cloud {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.14em;
  pointer-events: none;
  paint-order: stroke;
}
/* подписи типов — постоянный экранный размер задаётся в JS (updateLabels) */
#map text.clabel {
  font-weight: 500;
  pointer-events: none;
  paint-order: stroke;
  stroke: #00081f;
  transition: opacity 0.15s ease;
}
/* точки-решения */
#map g.pt path { transition: transform 0.14s ease; }
#map g.pt.hot path { transform: scale(1.9); }
#map path.arc { fill: none; stroke-width: 1.4px; stroke-dasharray: 4 4; pointer-events: none; transition: opacity 0.18s ease; }
#map path.dust { pointer-events: none; transition: opacity 0.18s ease; }
#map path.core { pointer-events: none; transition: opacity 0.18s ease; }
#map path.gap { pointer-events: none; transition: opacity 0.18s ease, stroke-width 0.15s ease; stroke-linecap: square; }
#map circle.hit { pointer-events: all; }

#reset-view {
  position: absolute;
  right: 16px;
  top: 14px;
  background: rgba(0, 18, 64, 0.92);
  border: 1px solid var(--navy-line);
  color: var(--grey);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 14px;
  cursor: pointer;
  z-index: 10;
}
#reset-view:hover { border-color: var(--blue); color: var(--white); }

/* панель легенды поверх карты */
#legend {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(0, 18, 64, 0.92);
  border: 1px solid var(--navy-line);
  padding: 12px 14px;
  font-size: 11px;
  color: var(--grey-dim);
  line-height: 1.5;
  max-width: 280px;
  z-index: 10;
}
#legend b { color: var(--white); font-weight: 500; }
#legend .lg-head { display: flex; justify-content: space-between; align-items: center; }
#legend .lg-head button {
  background: none;
  border: 1px solid var(--navy-line);
  color: var(--grey-dim);
  font-family: inherit;
  font-size: 13px;
  width: 22px;
  height: 22px;
  line-height: 1;
  cursor: pointer;
}
#legend .lg-head button:hover { border-color: var(--blue); color: var(--white); }
#legend .lg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin-top: 4px; }
#legend .lg-row { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
#legend .lg-gap { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--navy-line); }
#legend .lg-gap-h { color: var(--grey); margin-bottom: 3px; }
#gap-toggle {
  width: 100%;
  margin-top: 9px;
  background: var(--navy-panel);
  border: 1px solid var(--navy-line);
  color: var(--grey);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 500;
  padding: 7px;
  cursor: pointer;
}
#gap-toggle:hover { border-color: var(--blue); color: var(--white); }
#gap-toggle.on { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* блок пробела в карточке */
.p-gap { margin-top: 11px; border-top: 1px solid var(--navy-line); padding-top: 10px; }
.gap-badge {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--navy-deep); padding: 4px 8px; margin-bottom: 6px;
}
.gap-hint { font-size: 12px; color: var(--grey-dim); margin-bottom: 5px; }
.gap-near { font-size: 12.5px; color: var(--grey); }
.gap-near b { color: var(--white); font-weight: 500; }
#legend .lg-size { display: flex; align-items: flex-end; gap: 3px; }
#legend .lg-size i { background: var(--navy-panel); border: 1px solid var(--grey-dim); display: block; }
#legend .eff-sq { width: 10px; height: 10px; display: inline-block; vertical-align: -1px; margin-right: 5px; }

#view-toggle {
  position: absolute;
  left: 16px;
  top: 14px;
  display: flex;
  gap: 0;
  z-index: 10;
}
#view-toggle button {
  background: rgba(0, 18, 64, 0.92);
  border: 1px solid var(--navy-line);
  color: var(--grey);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
}
#view-toggle button + button { border-left: none; }
#view-toggle button.on { background: var(--blue); border-color: var(--blue); color: var(--white); }

#zoom-hint {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 11px;
  color: var(--grey-dim);
  z-index: 10;
  background: rgba(0, 18, 64, 0.85);
  border: 1px solid var(--navy-line);
  padding: 6px 10px;
}

/* ---------- Рейтинг (табличный вид) ---------- */
#ranking {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 56px 24px 24px;
  display: none;
  z-index: 5;
  background: var(--navy-deep);
}
#ranking table { width: 100%; border-collapse: collapse; font-size: 13px; }
#ranking th {
  text-align: left;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-dim);
  font-weight: 500;
  padding: 8px 10px;
  border-bottom: 1px solid var(--navy-line);
  position: sticky;
  top: -34px;
  background: var(--navy-deep);
  cursor: pointer;
}
#ranking th:hover { color: var(--white); }
#ranking td { padding: 9px 10px; border-bottom: 1px solid rgba(26, 63, 143, 0.4); vertical-align: middle; }
#ranking tr.t-row { cursor: pointer; }
#ranking tr.t-row:hover td { background: var(--navy-panel); }
#ranking .cat-chip { display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: -1px; }
#ranking .bar-cell { min-width: 130px; }
#ranking .bar { height: 10px; background: var(--navy-panel); border: 1px solid var(--navy-line); position: relative; }
#ranking .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--blue); }
#ranking .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Правая панель drill-down ---------- */
#panel {
  flex: 0 0 0;
  width: 0;
  min-width: 0;
  overflow: hidden;
  background: var(--navy-deep);
  border-left: 1px solid var(--navy-line);
  transition: flex-basis 0.22s ease, width 0.22s ease;
  z-index: 25;
  display: flex;
  flex-direction: column;
}
#panel.open { flex: 0 0 430px; width: 430px; }
#panel-inner { padding: 20px 22px; overflow-y: auto; flex: 1; min-width: 386px; }

#panel .p-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: 1px solid var(--navy-line);
  color: var(--grey-dim);
  font-family: inherit;
  font-size: 14px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 2;
}
#panel .p-close:hover { border-color: var(--blue); color: var(--white); }
#panel-inner { position: relative; }

.p-cat {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  margin-bottom: 10px;
  color: var(--navy-deep);
}
.p-title { font-size: 21px; font-weight: 700; line-height: 1.2; margin-bottom: 4px; padding-right: 30px; }
.p-name-orig { font-size: 12.5px; color: var(--grey-dim); margin-bottom: 12px; }
.p-desc { font-size: 13.5px; line-height: 1.55; color: var(--grey); margin-bottom: 14px; }

.p-verdict {
  border: 1px solid var(--navy-line);
  border-left: 3px solid var(--blue);
  background: var(--navy-panel);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.p-verdict .v-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  margin-bottom: 8px;
}
.p-verdict.v-proven { border-left-color: var(--green); }
.p-verdict.v-proven .v-tag { background: var(--green); color: var(--navy-deep); }
.p-verdict.v-promising { border-left-color: var(--cyan); }
.p-verdict.v-promising .v-tag { background: var(--cyan); color: var(--navy-deep); }
.p-verdict.v-context { border-left-color: var(--amber); }
.p-verdict.v-context .v-tag { background: var(--amber); color: var(--navy-deep); }
.p-verdict.v-insufficient { border-left-color: var(--grey-dim); }
.p-verdict.v-insufficient .v-tag { background: var(--grey-dim); color: var(--navy-deep); }

.p-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.metric {
  border: 1px solid var(--navy-line);
  padding: 10px 12px;
}
.metric b { display: block; font-size: 19px; font-weight: 700; color: var(--blue); line-height: 1.1; }
.metric span { font-size: 10.5px; color: var(--grey-dim); text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.3; display: block; margin-top: 3px; }

.p-compare { margin-bottom: 16px; }
.p-compare h4, .p-examples h4, .p-russia h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-dim);
  margin-bottom: 8px;
}
.cmp-row { display: flex; align-items: center; gap: 10px; font-size: 12px; margin-bottom: 6px; }
.cmp-row .cmp-lbl { flex: 0 0 128px; color: var(--grey); }
.cmp-row .cmp-bar { flex: 1; height: 12px; background: var(--navy-panel); border: 1px solid var(--navy-line); position: relative; }
.cmp-row .cmp-bar i { position: absolute; left: 0; top: 0; bottom: 0; }
.cmp-row .cmp-val { flex: 0 0 34px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }

.p-russia {
  border: 1px solid var(--navy-line);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--grey);
}
.p-russia .ru-flag { display: inline-block; width: 12px; height: 12px; margin-right: 7px; vertical-align: -1px; }
.ru-yes { background: var(--green); }
.ru-partial { background: var(--amber); }
.ru-no { background: var(--red); }

.example {
  border: 1px solid var(--navy-line);
  padding: 11px 13px;
  margin-bottom: 8px;
}
.example .ex-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.example .ex-country { font-weight: 700; font-size: 13px; }
.example .ex-idx { font-size: 11px; color: var(--grey-dim); white-space: nowrap; }
.example .ex-name { font-size: 12px; color: var(--cyan); margin-bottom: 4px; }
.example .ex-desc { font-size: 12px; line-height: 1.5; color: var(--grey); }
.example .ex-outcome {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--white);
  border-left: 2px solid var(--green);
  padding-left: 8px;
}
.example .ex-scale { margin-top: 4px; font-size: 11.5px; color: var(--grey-dim); }
.example.hi { border-color: var(--blue); border-left: 3px solid var(--blue); background: rgba(15, 123, 255, 0.06); }
.example .ex-src { margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--navy-line); }
.example .ex-src-h { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-dim); margin-bottom: 5px; }
.example .ex-src a {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: var(--cyan);
  text-decoration: none;
  padding: 3px 0 3px 15px;
  position: relative;
}
.example .ex-src a::before { content: '↗'; position: absolute; left: 0; top: 3px; color: var(--grey-dim); font-size: 11px; }
.example .ex-src a:hover { color: var(--white); text-decoration: underline; }
.ex-more-lbl { font-size: 11px; color: var(--grey-dim); margin: 2px 0 4px; }

.adopter-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.adopter-chips button {
  background: var(--navy-panel);
  border: 1px solid var(--navy-line);
  color: var(--grey);
  font-family: inherit;
  font-size: 11px;
  padding: 3px 7px;
  cursor: pointer;
}
.adopter-chips button:hover { border-color: var(--blue); color: var(--white); }
.adopter-chips button.on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.show-more {
  background: none;
  border: 1px solid var(--navy-line);
  color: var(--grey-dim);
  font-family: inherit;
  font-size: 11.5px;
  padding: 6px 10px;
  cursor: pointer;
  width: 100%;
  margin-top: 4px;
}
.show-more:hover { border-color: var(--blue); color: var(--white); }

/* ---------- Тултип ---------- */
#tooltip {
  position: fixed;
  pointer-events: none;
  background: var(--navy-deep);
  border: 1px solid var(--blue);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--grey);
  max-width: 300px;
  z-index: 100;
  display: none;
}
#tooltip b { color: var(--white); display: block; margin-bottom: 3px; font-size: 13.5px; }
#tooltip .tt-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 4px; }
#tooltip .tt-eff { font-size: 11.5px; color: var(--grey); margin-top: 3px; }
#tooltip .tt-eff .eff-sq { width: 9px; height: 9px; display: inline-block; vertical-align: -1px; margin-right: 5px; }
#tooltip .tt-outcome { font-size: 12px; line-height: 1.4; color: var(--white); border-left: 2px solid var(--green); padding-left: 8px; margin-top: 6px; }
#tooltip .tt-meta { color: var(--grey-dim); font-size: 11px; margin-top: 5px; }

/* ---------- Подвал ---------- */
footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 24px;
  border-top: 1px solid var(--navy-line);
  background: var(--navy-deep);
  font-size: 11px;
  color: var(--grey-dim);
  z-index: 30;
}
footer .sep { color: var(--navy-line); }

/* скроллбары */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--navy-line); }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

@media (max-width: 1100px) {
  #rail { flex-basis: 220px; }
  #panel.open { flex-basis: 360px; width: 360px; }
  #panel-inner { min-width: 316px; }
  header h1 { font-size: 16px; }
  header .kpis { display: none; }
}

@media (max-width: 860px) {
  #legend, #zoom-hint { display: none !important; }
  header .brand { display: none; }
  header .kpis { display: none; }
  footer { display: none; }

  #rail-btn { display: block; order: -1; }
  header { gap: 12px; padding: 12px 16px; }
  header h1 { font-size: 15px; white-space: normal; }
  header .subtitle { display: none; }
  #report-btn { padding: 7px 26px 7px 12px; margin-left: 0; }
  #report-btn .rb-main { font-size: 12px; }
  #report-btn .rb-sub { display: none; }

  #rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 86vw;
    flex-basis: 300px;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.24s ease;
  }
  #app.rail-open #rail { transform: translateX(0); }
  #app.rail-open #rail-scrim { display: block; }
  #rail-close-row { display: block; }

  /* панель drill-down на всю ширину поверх карты */
  #panel { position: fixed; inset: 0; z-index: 55; }
  #panel.open { flex-basis: auto; width: 100%; }
  #panel-inner { min-width: 0; }

  #view-toggle { top: 10px; left: 10px; }
  #view-toggle button { padding: 7px 12px; font-size: 12px; }
  #ranking { padding: 52px 10px 16px; }
  #ranking table { font-size: 11.5px; }
  #ranking th, #ranking td { padding: 6px 6px; }
}

/* ---------- Два отчёта в шапке: обзорный + углублённый ---------- */
.report-links { display: flex; gap: 8px; align-items: stretch; margin-left: 4px; }
.report-links #report-btn { margin-left: 0; }
#report-btn2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  background: var(--navy-panel);
  border: 1px solid var(--blue);
  padding: 9px 34px 9px 16px;
  transition: background 0.14s;
  position: relative;
}
#report-btn2::after {
  content: '→';
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--blue);
  opacity: 0.9;
}
#report-btn2:hover { background: var(--blue); }
#report-btn2:hover::after { color: var(--white); opacity: 1; }
#report-btn2 .rb-main { color: var(--white); font-size: 14px; font-weight: 700; line-height: 1.1; }
#report-btn2 .rb-sub { color: var(--grey-dim); font-size: 10.5px; font-weight: 400; letter-spacing: 0.01em; }

@media (max-width: 1100px) {
  #report-btn .rb-sub, #report-btn2 .rb-sub { display: none; }
}
@media (max-width: 860px) {
  header { flex-wrap: wrap; row-gap: 10px; }
  .report-links { width: 100%; margin-left: 0; order: 5; }
  .report-links a { flex: 1 1 0; }
  #report-btn2 { padding: 7px 26px 7px 12px; }
  #report-btn2 .rb-main { font-size: 12px; }
}
