/* Predictors page */
.pred-main { padding-bottom: 80px; }

/* On-page navigation (sticky table of contents) */
.pred-toc {
  position: sticky;
  top: 64px;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 12px 0;
  margin: 0 0 36px;
  background: var(--bg-0);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
}
.pred-toc::-webkit-scrollbar { height: 4px; }
.pred-toc::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 2px; }
.pred-toc a {
  flex: 0 0 auto;
  padding: 7px 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: all .15s;
}
.pred-toc a:hover {
  background: var(--accent);
  color: var(--btn-primary-fg);
  border-color: var(--accent);
}
.pred-toc a.active {
  background: rgba(217, 119, 87, 0.12);
  color: var(--accent-deep);
  border-color: var(--accent);
  font-weight: 600;
}
/* Section anchor scroll-margin so sticky toc + nav don't overlap target */
section[id] { scroll-margin-top: 130px; }

.pred-header {
  padding: 70px 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.pred-header h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin: 22px 0 18px;
}
.pred-header h1 em { color: var(--accent); font-style: italic; }
.pred-header .lede {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 780px;
  margin: 0;
}

.pred-main h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 56px 0 22px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* Difference explainer */
.pred-explainer {
  margin-bottom: 32px;
}
.explainer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 18px;
}
.explainer-grid-3 {
  grid-template-columns: 1fr auto 1fr auto 1fr;
}
.explainer-criteria {
  margin: 8px 0 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.explainer-criteria li {
  margin-bottom: 6px;
}
.explainer-criteria li::marker {
  color: var(--accent);
  font-weight: 600;
}
.explainer-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 26px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.explainer-card-strong {
  border-color: var(--accent);
  background: rgba(217, 119, 87, 0.08);
}
.explainer-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--ink);
}
.explainer-card-strong h3 { color: var(--accent); }
.explainer-card p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.explainer-meta {
  font-size: 13px !important;
  color: var(--ink-mute) !important;
  font-style: italic;
}
.explainer-arrow {
  font-size: 36px;
  color: var(--accent);
  font-weight: 300;
  text-align: center;
}
.explainer-note {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(217, 119, 87, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Source quote */
.pred-source { margin-bottom: 36px; }
.source-label {
  font-size: 12.5px;
  font-weight: 500;
  font-family: var(--sans);
  color: var(--accent-deep);
  background: rgba(217, 119, 87, 0.10);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  margin-left: 12px;
  vertical-align: middle;
  border: 1px solid var(--line);
}
.source-quote {
  margin: 0;
  padding: 22px 28px;
  border-left: 4px solid var(--accent);
  background: var(--glass);
  border-radius: 0 12px 12px 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  font-style: italic;
}
.source-quote strong { font-style: normal; color: var(--accent-deep); font-weight: 600; }

/* Filter */
.pred-filter { margin-bottom: 24px; }
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.chip {
  padding: 9px 18px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip.active {
  background: var(--accent);
  color: var(--btn-primary-fg);
  border-color: var(--accent);
}

/* The big table */
.pred-table-wrap {
  overflow-x: auto;
  margin: 0;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-1);
  /* Right-edge gradient hint that more content scrolls to the right */
  background-image: linear-gradient(to right, transparent calc(100% - 24px), rgba(217, 119, 87, 0.10) 100%);
  scrollbar-width: thin;
}
.pred-table-wrap::-webkit-scrollbar { height: 8px; }
.pred-table-wrap::-webkit-scrollbar-track { background: var(--bg-1); }
.pred-table-wrap::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
  opacity: 0.6;
}
.pred-table {
  width: 100%;
  min-width: 1000px;
  /* Use separate borders so sticky cells render their borders correctly */
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  table-layout: fixed;
}
.pred-table thead th {
  background: var(--bg-1);
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 12px;
  /* All four borders explicit (separate-borders mode) */
  border-top: 1px solid var(--table-border);
  border-bottom: 2px solid var(--accent);
  border-right: 1px solid var(--table-border);
  position: sticky;
  top: 64px;
  z-index: 5;
}
.pred-table thead th:first-child { border-left: 1px solid var(--table-border); }
.pred-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--table-border);
  border-right: 1px solid var(--table-border);
  vertical-align: top;
  /* Allow long words to wrap on natural boundaries; avoid auto-hyphens
     which produced awkward breaks like "конта-ктність" */
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}
.pred-table tbody td:first-child { border-left: 1px solid var(--table-border); }
.pred-table tbody tr:hover td { background: rgba(217, 119, 87, 0.04); }
.pred-table tr.cat-row td.cat-name,
.pred-table tr.cat-row td.cat-theory,
.pred-table tr.cat-row td.cat-method {
  vertical-align: middle;  /* center content vertically inside tall rowspan cells */
}
.pred-table tr.cat-row td.cat-name {
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(217, 119, 87, 0.10);
  letter-spacing: -0.1px;
  text-align: center;
}
.pred-table tr.cat-row td.cat-theory,
.pred-table tr.cat-row td.cat-method {
  background: rgba(217, 119, 87, 0.04);
  font-size: 13px;
  color: var(--ink-soft);
}
.pred-table .col-cat { width: 10%; }
.pred-table .col-theory { width: 14%; }
.pred-table .col-method { width: 16%; }
.pred-table .col-comp { width: 17%; }
.pred-table .col-pred { width: 11%; }
.pred-table .col-target { width: 32%; }

.pred-table .col-comp,
.pred-table tbody td:nth-child(4) {
  font-weight: 500;
  color: var(--ink);
}

/* Inline component description (5-7 words italicized) */
.comp-cell-meta {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-mute);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* Predictor status pills */
.pred-yes,
.pred-no,
.pred-partial,
.pred-structural {
  font-weight: 500;
  font-size: 12.5px;
}
.pred-yes {
  color: #16a34a;
}
[data-theme="dark"] .pred-yes { color: #4ade80; }
.pred-yes.pred-neg { color: #dc2626; }
[data-theme="dark"] .pred-yes.pred-neg { color: #f87171; }
.pred-no { color: var(--ink-mute); }
.pred-partial { color: #ca8a04; }
[data-theme="dark"] .pred-partial { color: #facc15; }
.pred-structural { color: var(--accent-deep); font-style: italic; }
.universal {
  display: block;
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 400;
  margin-top: 2px;
  font-style: italic;
}
.star { color: var(--accent); }

/* Stats */
.pred-stats { margin-top: 56px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.stat-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .2s;
}
.stat-card:hover { border-color: var(--accent); }
.stat-strong {
  border-color: var(--accent);
  background: rgba(217, 119, 87, 0.07);
}
.stat-num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 6px;
}
.stat-meta {
  font-size: 12px;
  color: var(--ink-mute);
  font-style: italic;
}

/* Notes */
.pred-notes { margin-top: 56px; }
.notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.note-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 26px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.note-warn { border-color: rgba(202, 138, 4, 0.4); background: rgba(202, 138, 4, 0.05); }
[data-theme="dark"] .note-warn { background: rgba(250, 204, 21, 0.05); }
.note-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.1px;
}
.note-warn h3 { color: #ca8a04; }
[data-theme="dark"] .note-warn h3 { color: #facc15; }
.note-card ul {
  margin: 0;
  padding-left: 22px;
  list-style: disc;
}
.note-card li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

/* Citation */
.pred-cite { margin-top: 56px; }
.cite-block {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 26px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.cite-block p { margin: 0; }

/* 4-level conceptual model */
.pred-model { margin: 56px 0; }
.model-intro {
  max-width: 820px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.model-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.level-card {
  background: var(--glass);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 16px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.level-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -10px rgba(217, 119, 87, 0.25);
}

.level-1 { border-left: 4px solid #6b7280; }
.level-2 { border-left: 4px solid #c89a4a; }
.level-3 { border-left: 4px solid #d97757; }
.level-4 { border-left: 4px solid #16a34a; }
[data-theme="dark"] .level-1 { border-left-color: #9ca3af; }
[data-theme="dark"] .level-4 { border-left-color: #4ade80; }

.level-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.level-num {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent);
  color: var(--btn-primary-fg);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  flex: 0 0 auto;
}
.level-1 .level-num { background: #6b7280; }
.level-2 .level-num { background: #c89a4a; }
.level-3 .level-num { background: #d97757; }
.level-4 .level-num { background: #16a34a; }
[data-theme="dark"] .level-1 .level-num { background: #9ca3af; }
[data-theme="dark"] .level-4 .level-num { background: #4ade80; }

.level-header h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.2px;
  color: var(--ink);
  line-height: 1.2;
}
.level-header h3 em { color: var(--ink-mute); font-style: italic; font-weight: 500; }
.level-question {
  margin: 2px 0 0;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--accent-deep);
  font-style: italic;
  letter-spacing: 0.02em;
}

.level-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 14px;
  font-style: italic;
}

.level-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 16px;
}
.level-block h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--line);
}
.level-cats,
.level-theories,
.level-sessions {
  margin: 0;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.level-cats { list-style: none; }
.level-cats li {
  padding: 5px 8px;
  margin-bottom: 3px;
  border-radius: 5px;
  background: rgba(217, 119, 87, 0.05);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1px;
  transition: background .15s, border-color .15s;
}
.level-cats li:hover {
  background: rgba(217, 119, 87, 0.10);
  border-color: var(--accent);
}
.level-cats a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.level-cats .cat-meta {
  font-size: 11px;
  color: var(--ink-mute);
  font-style: italic;
}
.level-cats .cat-integrative {
  background: transparent;
  border: 1px dashed var(--line-strong);
  color: var(--ink-mute);
  font-style: italic;
  font-size: 12px;
}

.level-theories {
  list-style: none;
}
.level-theories li {
  padding: 3px 0 3px 14px;
  position: relative;
}
.level-theories li ul {
  margin: 3px 0 0;
  padding-left: 4px;
  list-style: none;
}
.level-theories li ul li {
  padding: 2px 0 2px 12px;
  font-size: 11.5px;
  line-height: 1.45;
}
.level-theories li ul li::before {
  content: "–";
  color: var(--ink-mute);
}
.level-theories li::before {
  content: "·";
  color: var(--accent);
  position: absolute;
  left: 4px;
  font-weight: 600;
}

.level-sessions {
  padding-left: 0;
  list-style: none;
  counter-reset: none;
}
.level-sessions li {
  padding: 5px 10px;
  margin-bottom: 3px;
  border-left: 2px solid var(--line-strong);
  background: rgba(0,0,0,0.015);
  border-radius: 0 5px 5px 0;
}
[data-theme="dark"] .level-sessions li {
  background: rgba(255,255,255,0.02);
}
.level-sessions li strong {
  color: var(--accent-deep);
  font-weight: 600;
}

/* Down arrows between levels */
.level-arrow {
  align-self: center;
  margin: 4px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: var(--ink-mute);
  font-style: italic;
  letter-spacing: 0.04em;
  position: relative;
  padding: 2px 0;
}
.level-arrow::before {
  content: "↓";
  font-size: 16px;
  color: var(--accent);
  font-style: normal;
  margin-bottom: 0;
  font-weight: 600;
}

/* Output block */
.model-output {
  align-self: center;
  margin-top: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.10), rgba(217, 119, 87, 0.08));
  border: 1px solid rgba(22, 163, 74, 0.4);
  border-radius: 10px;
  text-align: center;
  max-width: 540px;
}
[data-theme="dark"] .model-output {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.10), rgba(217, 119, 87, 0.08));
}
.model-output > span:first-child {
  font-size: 22px;
  color: #16a34a;
  font-weight: 600;
}
[data-theme="dark"] .model-output > span:first-child { color: #4ade80; }
.model-output strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  margin: 4px 0 6px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.output-meta {
  display: block;
  font-size: 12.5px;
  color: var(--ink-mute);
  font-style: italic;
  line-height: 1.5;
}

.model-note {
  margin: 32px 0 0;
  padding: 18px 22px;
  background: var(--bg-1);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.model-note strong:first-child {
  color: var(--accent-deep);
}

/* 8 components of resilience — compact list view */
.pred-components { margin: 56px 0; }
.comp-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  background: var(--glass);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.comp-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.comp-list-item:last-child { border-bottom: 0; }
.comp-list-item:hover { background: rgba(217, 119, 87, 0.06); }
.comp-list-highlight {
  background: rgba(202, 138, 4, 0.06);
  border-left: 3px solid #ca8a04;
}
[data-theme="dark"] .comp-list-highlight {
  background: rgba(250, 204, 21, 0.05);
  border-left-color: #facc15;
}
.comp-list-integral {
  background: rgba(217, 119, 87, 0.10);
  border-left: 3px solid var(--accent);
  font-weight: 500;
}
.comp-list-num {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent);
  color: var(--btn-primary-fg);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
}
.comp-list-integral .comp-list-num { font-size: 20px; }
.comp-list-body {
  display: grid;
  grid-template-columns: 1.6fr 1.5fr 0.9fr;
  gap: 14px;
  align-items: baseline;
  flex: 1;
}
.comp-list-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.1px;
  transition: color .15s;
}
.comp-list-name:hover { color: var(--accent); }
.comp-list-name em {
  font-size: 13px;
  color: var(--ink-mute);
  font-style: italic;
  font-weight: 500;
}
.comp-list-meta {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.4;
}
.comp-list-stat {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-deep);
  text-align: right;
  white-space: nowrap;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* Toggle for full cards */
.comp-details-toggle {
  margin-bottom: 20px;
}
.comp-details-toggle summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 18px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent-deep);
  background: var(--bg-1);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  transition: background .15s, border-color .15s;
  user-select: none;
  position: relative;
  padding-right: 38px;
}
.comp-details-toggle summary::after {
  content: "▾";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .2s;
}
.comp-details-toggle[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.comp-details-toggle summary:hover {
  background: rgba(217, 119, 87, 0.06);
  border-color: var(--accent);
}
.comp-details-toggle summary::-webkit-details-marker { display: none; }
.comp-details-toggle[open] summary { margin-bottom: 18px; }

/* Cards (the existing detailed view) */
.comp-intro {
  max-width: 820px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.comp-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .2s, transform .15s;
  display: flex;
  flex-direction: column;
}
.comp-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.comp-highlight {
  border-color: rgba(202, 138, 4, 0.4);
  background: rgba(202, 138, 4, 0.05);
}
[data-theme="dark"] .comp-highlight {
  background: rgba(250, 204, 21, 0.05);
}
.comp-integral {
  border-color: var(--accent);
  background: rgba(217, 119, 87, 0.06);
  grid-column: 1 / -1;
}
.comp-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.comp-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--btn-primary-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  flex: 0 0 36px;
}
.comp-integral .comp-num {
  font-size: 22px;
}
.comp-head h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.1px;
}
.comp-head h3 em {
  color: var(--ink-mute);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
}
.comp-table {
  margin: 0;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--accent-deep);
  letter-spacing: 0.02em;
}
.comp-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.comp-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.comp-norm {
  font-size: 12px;
  font-family: var(--sans);
  color: var(--ink-mute);
  background: rgba(217, 119, 87, 0.06);
  padding: 6px 10px;
  border-radius: 6px;
  border-left: 2px solid var(--accent);
  letter-spacing: 0.01em;
}
.comp-norm strong {
  color: var(--accent-deep);
  font-weight: 600;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.comp-pred {
  font-size: 13px;
  line-height: 1.55;
}
.comp-pred strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: 12.5px;
}
.comp-pred ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}
.comp-pred li {
  margin-bottom: 3px;
  color: var(--ink-soft);
}

.comp-note {
  margin: 28px 0 0;
  padding: 16px 20px;
  background: var(--bg-1);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.comp-note strong:first-of-type { color: var(--accent-deep); }

/* Mobile */
@media (max-width: 980px) {
  .explainer-grid,
  .explainer-grid-3 {
    grid-template-columns: 1fr;
  }
  .explainer-arrow {
    transform: rotate(90deg);
  }
  .notes-grid { grid-template-columns: 1fr; }
  .pred-table { font-size: 12px; }
  .pred-table thead th { font-size: 11px; padding: 10px 8px; }
  .pred-table tbody td { padding: 9px 10px; }
  .level-grid { grid-template-columns: 1fr; gap: 18px; }
  .level-card { padding: 18px 20px; }
  .level-num { width: 40px; height: 40px; font-size: 20px; }
  .level-header h3 { font-size: 18px; }
  .comp-grid { grid-template-columns: 1fr; }
  .comp-card { padding: 16px 18px; }
  .comp-list-body {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .comp-list-stat { text-align: left; }
  .comp-list-item { padding: 12px 14px; gap: 12px; }
}

@media (max-width: 700px) {
  .pred-header { padding: 50px 0 26px; }
  .pred-main h2 { font-size: 22px; margin: 40px 0 18px; }
}
