.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--copper-strong);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--copper);
}

.kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  color: var(--ink-soft);
  background: var(--surface-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.badge--positive {
  border-color: rgba(47, 103, 82, 0.28);
  color: var(--green);
  background: var(--green-soft);
}

.badge--negative {
  border-color: rgba(141, 65, 64, 0.28);
  color: var(--red);
  background: var(--red-soft);
}

.badge--warning {
  border-color: rgba(128, 99, 41, 0.28);
  color: var(--amber);
  background: var(--amber-soft);
}

.badge--copper {
  border-color: rgba(167, 100, 58, 0.3);
  color: var(--copper-strong);
  background: var(--copper-soft);
}

.button-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 43px;
  padding: 0 16px;
  border: 1px solid var(--navy);
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 140ms ease, background 140ms ease;
}

.button-link:hover {
  color: #fff;
  background: var(--navy-strong);
  text-decoration: none;
  transform: translateY(-1px);
}

.button-link__arrow {
  font-size: 16px;
  line-height: 1;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.panel--flat {
  box-shadow: none;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.metric {
  min-height: 132px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric__label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric__value {
  margin: 9px 0 7px;
  font-family: var(--font-serif);
  font-size: clamp(27px, 3vw, 38px);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.metric__note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.metric__value--positive { color: var(--green); }
.metric__value--negative { color: var(--red); }
.metric__value--copper { color: var(--copper-strong); }

.section-heading {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.section-heading__number {
  color: var(--copper-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.section-heading h2 {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.4vw, 49px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-heading p {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.callout {
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
}

.callout h3 {
  margin-bottom: 7px;
  font-family: var(--font-serif);
  font-size: 21px;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout--navy {
  border-color: var(--navy);
  border-left-color: var(--copper);
  color: #e8edf0;
  background: var(--navy);
}

.callout--navy h3,
.callout--navy strong {
  color: #fff;
}

.callout--navy p {
  color: #d5dee3;
}

.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  background: var(--surface-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table td:not(:first-child),
.data-table th:not(:first-child) {
  font-variant-numeric: tabular-nums;
}

.chart-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.chart-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.chart-panel__header h3 {
  margin-bottom: 5px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.chart-panel__header p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chart-legend i {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 1px;
  background: var(--navy);
}

.chart-legend .legend-consensus { background: var(--slate); }
.chart-legend .legend-guidance { border: 2px solid var(--copper); background: transparent; }
.chart-legend .legend-positive { background: var(--green); }
.chart-legend .legend-negative { background: var(--red); }

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.comparison-card {
  padding: 17px 16px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
}

.comparison-card__title {
  min-height: 43px;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.mini-bars {
  height: 196px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  align-items: end;
  padding: 20px 8px 0;
  border-bottom: 1px solid var(--line-strong);
}

.mini-bar {
  height: 100%;
  display: grid;
  grid-template-rows: 18px minmax(0, 1fr) 38px;
  gap: 5px;
  align-items: end;
  text-align: center;
}

.mini-bar__value {
  align-self: end;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.mini-bar__track {
  height: 126px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mini-bar__fill {
  width: min(46px, 100%);
  height: var(--height);
  min-height: 4px;
  border-radius: 2px 2px 0 0;
  background: var(--navy);
}

.mini-bar__fill--consensus {
  background: var(--slate);
}

.mini-bar__fill--guidance {
  border: 2px solid var(--copper);
  background: transparent;
}

.mini-bar__label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.comparison-card__delta {
  margin-top: 11px;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.comparison-card__delta--warning {
  color: var(--amber);
}

.column-chart {
  height: 310px;
  display: grid;
  grid-template-columns: repeat(5, minmax(58px, 1fr));
  gap: 18px;
  align-items: end;
  padding: 18px 8px 0;
  border-bottom: 1px solid var(--line-strong);
}

.column {
  height: 100%;
  display: grid;
  grid-template-rows: 24px minmax(0, 1fr) 56px;
  gap: 7px;
  align-items: end;
  text-align: center;
}

.column__value {
  align-self: end;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.column__track {
  height: 214px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.column__fill {
  width: min(64px, 76%);
  height: var(--height);
  min-height: 4px;
  border-radius: 2px 2px 0 0;
  background: var(--navy);
}

.column:last-child .column__fill {
  background: var(--copper);
}

.column__label {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.3;
}

.column__label span {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 10px;
}

.chart-source {
  margin: 14px 0 0;
  color: var(--muted-light);
  font-size: 10px;
  line-height: 1.55;
}

.stat-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.stat-item {
  padding: 21px;
  border-right: 1px solid var(--line);
}

.stat-item:last-child { border-right: 0; }

.stat-item strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-item span {
  color: var(--muted);
  font-size: 12px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.insight {
  min-height: 185px;
  padding: 20px;
  border-top: 3px solid var(--navy);
  background: var(--surface);
}

.insight__index {
  color: var(--copper-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
}

.insight h3 {
  margin: 10px 0 7px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 650;
}

.insight p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.flow {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: stretch;
}

.flow__step {
  min-height: 165px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.flow__step small {
  display: block;
  margin-bottom: 12px;
  color: var(--copper-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
}

.flow__step h3 {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 22px;
}

.flow__step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.flow__arrow {
  display: grid;
  place-items: center;
  color: var(--copper);
  font-family: var(--font-serif);
  font-size: 25px;
}

.risk-list,
.check-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.risk-item,
.check-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.risk-item__number,
.check-item__label {
  color: var(--copper-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.risk-item h3,
.check-item h3 {
  margin-bottom: 5px;
  font-family: var(--font-serif);
  font-size: 21px;
}

.risk-item p,
.check-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.source-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sources;
}

.source-list li {
  position: relative;
  padding: 16px 0 16px 54px;
  border-bottom: 1px solid var(--line);
  counter-increment: sources;
  color: var(--muted);
  font-size: 12px;
}

.source-list li::before {
  content: "S" counter(sources, decimal-leading-zero);
  position: absolute;
  top: 17px;
  left: 0;
  color: var(--copper-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
}

.source-list li:last-child {
  border-bottom: 0;
}

.source-list a {
  display: inline-block;
  margin-bottom: 3px;
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 900px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .comparison-card {
    display: grid;
    grid-template-columns: minmax(110px, 0.6fr) 1fr;
    gap: 12px;
    align-items: center;
  }

  .comparison-card__title {
    min-height: 0;
  }

  .comparison-card__delta {
    grid-column: 1 / -1;
  }

  .stat-list {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-item:last-child { border-bottom: 0; }

  .flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow__arrow {
    min-height: 38px;
    transform: rotate(90deg);
  }
}

@media (max-width: 620px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:nth-child(2) { border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .chart-panel {
    padding: 18px 14px;
  }

  .chart-panel__header {
    display: block;
  }

  .chart-legend {
    margin-top: 12px;
  }

  .comparison-card {
    display: block;
  }

  .column-chart {
    gap: 8px;
    min-width: 520px;
  }

  .chart-scroll {
    overflow-x: auto;
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .risk-item,
  .check-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }
}

@media print {
  .panel,
  .chart-panel,
  .callout,
  .metric-grid,
  .stat-list {
    box-shadow: none;
    break-inside: avoid;
  }
}
