:root {
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --canvas: #f5f7fa;
  --surface: #ffffff;
  --navy: #173458;
  --general: #3867d6;
  --agentic: #148f77;
  --physical: #c0392b;
  --em: #175cd3;
  --hd: #b54708;
  --pass: #067647;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 99; padding: 10px 14px; border-radius: 8px; background: white; }
.skip-link:focus { top: 12px; }
.report-hero { background: #111827; color: white; }
.report-hero__inner { max-width: 1220px; margin: auto; padding: 34px 30px 30px; }
.report-hero__eyebrow { color: #98a2b3; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.report-hero h1 { margin: 13px 0 5px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; }
.report-hero p { margin: 0; color: #b9c0cc; }
.report-nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.report-nav__inner { display: flex; align-items: center; gap: 8px; max-width: 1220px; margin: auto; padding: 10px 30px; overflow-x: auto; }
.nav-pill { flex: 0 0 auto; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: white; color: #344054; font-size: 11px; font-weight: 700; text-decoration: none; }
.nav-pill:hover, .nav-pill.active { border-color: var(--navy); background: var(--navy); color: white; }
.nav-pill.download { margin-left: auto; color: #175cd3; }
.nav-pill.download:hover { color: white; }
main { max-width: 1220px; margin: auto; padding: 28px 30px 56px; }
.section { margin-bottom: 30px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.section-kicker { margin: 0 0 5px; color: #98a2b3; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.section h2 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.section-note { margin: 0; color: var(--muted); font-size: 11px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { display: flex; min-height: 116px; flex-direction: column; padding: 16px; border: 1px solid var(--line); border-top: 3px solid var(--accent, var(--navy)); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.kpi span { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.kpi strong { margin-top: auto; font-size: 30px; letter-spacing: -.04em; }
.kpi small { margin-top: 3px; color: #98a2b3; font-size: 10px; }
.panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.panel { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.panel h3 { margin: 0 0 3px; font-size: 14px; }
.panel-subtitle { margin: 0 0 18px; color: var(--muted); font-size: 10px; }
.bar-chart { display: flex; flex-direction: column; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 48px; align-items: center; gap: 9px; }
.bar-row__label { color: #344054; font-size: 11px; font-weight: 650; }
.bar-track { height: 18px; overflow: hidden; border-radius: 5px; background: #f2f4f7; }
.bar-fill { height: 100%; min-width: 2px; border-radius: 5px; background: var(--bar-color, var(--general)); }
.bar-value { text-align: right; font-variant-numeric: tabular-nums; font-size: 11px; font-weight: 750; }
.stack-chart { display: flex; flex-direction: column; gap: 15px; }
.stack-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 45px; align-items: center; gap: 9px; }
.stack-track { display: flex; height: 22px; overflow: hidden; border-radius: 5px; background: #f2f4f7; }
.stack-em { background: var(--em); }
.stack-hd { background: var(--hd); }
.legend { display: flex; gap: 14px; margin-top: 15px; color: var(--muted); font-size: 10px; }
.legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; background: var(--legend); }
.flow { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr) 1.25fr; gap: 8px; align-items: stretch; }
.flow-step { position: relative; display: flex; min-height: 94px; flex-direction: column; justify-content: center; padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: white; text-align: center; }
.flow-step:not(:last-child)::after { content: "›"; position: absolute; top: 50%; right: -8px; z-index: 2; width: 8px; transform: translateY(-50%); color: #98a2b3; font-size: 20px; }
.flow-step span { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.flow-step strong { margin-top: 5px; font-size: 24px; }
.flow-step small { margin-top: 2px; color: #98a2b3; font-size: 9px; }
.flow-step.negative strong { color: var(--physical); }
.flow-step.positive strong, .flow-step.final strong { color: var(--pass); }
.table-shell { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 10px; }
th { background: #f9fafb; color: #475467; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }
tbody tr:last-child td { border-bottom: 0; }
td.numeric { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
code.hash { display: inline-block; max-width: 440px; overflow: hidden; color: #475467; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.status-pass { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 999px; background: #ecfdf3; color: var(--pass); font-size: 9px; font-weight: 800; }
.status-pass::before { content: "✓"; }
.evidence { max-width: 760px; color: #475467; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.validation-bar { display: flex; height: 34px; overflow: hidden; border-radius: 7px; background: #f2f4f7; }
.validation-bar__pass { display: grid; place-items: center; background: var(--pass); color: white; font-size: 11px; font-weight: 800; }
.validation-bar__fail { display: grid; place-items: center; background: var(--physical); color: white; font-size: 11px; font-weight: 800; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.category-card { padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: #f9fafb; }
.category-card strong { display: block; font-size: 20px; }
.category-card span { color: var(--muted); font-size: 10px; }
.loading { padding: 60px 20px; color: var(--muted); text-align: center; }
.error { padding: 16px; border: 1px solid #fecdca; border-radius: 9px; background: #fef3f2; color: #b42318; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 30px; background: #111827; color: #98a2b3; font-size: 10px; }
footer strong { color: white; }

@media (max-width: 900px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-step:not(:last-child)::after { content: "⌄"; top: auto; right: 50%; bottom: -12px; transform: translateX(50%); }
}

@media (max-width: 560px) {
  .report-hero__inner, .report-nav__inner, main { padding-left: 18px; padding-right: 18px; }
  .kpi-grid, .category-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .bar-row { grid-template-columns: 82px minmax(0, 1fr) 42px; }
  footer { flex-direction: column; padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
