:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --surface: #fff;
  --ink: #23313f;
  --muted: #5d6871;
  --navy: #123f62;
  --accent: #a84c13;
  --line: #d9ddd9;
  --soft: #eeefeb;
  --pass: #276047;
  --fail: #a02d2d;
  --warning: #80591c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--navy); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
::selection { background: #f6dbbf; color: #253340; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
input, select, button { font: inherit; }
input, select { caret-color: var(--navy); }
button, input, select, a, summary { -webkit-tap-highlight-color: #f6dbbf; }
button, summary { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 4vw, 3.2rem); line-height: 1.12; font-weight: 400; letter-spacing: -.025em; color: var(--navy); }
h2 { font-size: 1.35rem; line-height: 1.35; font-weight: 600; letter-spacing: -.015em; }
h3 { font-size: 1rem; line-height: 1.5; font-weight: 600; }
p + p { margin-top: .75rem; }
code, pre { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .85em; }
code { overflow-wrap: anywhere; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; line-height: 1.65; }
.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--surface); padding: .65rem 1rem; z-index: 2; }
.skip-link:focus { top: 1rem; }
.site-header { background: var(--surface); border-bottom: 2px solid var(--navy); }
.header-inner { max-width: 1216px; padding: 1.1rem 2rem; margin: auto; display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.wordmark { font-size: 1.25rem; font-weight: 700; line-height: 1.35; text-decoration: none; letter-spacing: -.025em; }
.wordmark span { display: block; font-size: .75rem; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-top: .15rem; }
.site-header nav { display: flex; align-items: center; gap: 1.75rem; font-size: .85rem; }
.site-header nav a { text-decoration: none; padding: .6rem 0; }
.site-header nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .6rem; }
.report { max-width: 1216px; margin: auto; padding: 3.4rem 2rem 4rem; }
.report:focus { outline: none; }
.report-intro { display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; padding-bottom: 2.3rem; }
.lead { font-size: 1.15rem; line-height: 1.6; margin-top: .9rem; max-width: 65ch; }
.intro-copy { font-size: .94rem; color: var(--muted); max-width: 65ch; margin-top: .65rem; }
.report-edition { min-width: 190px; padding-top: .35rem; font-size: .8rem; line-height: 1.9; color: var(--muted); }
.report-edition span { display: block; }
.report-edition a { display: inline-block; margin-top: .55rem; }
.coverage { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.coverage > p:first-child { font-size: .9rem; }
.coverage-separator { margin: 0 .7rem; color: #8b949b; }
.count-list { display: flex; flex-wrap: wrap; gap: .45rem 1.75rem; padding: 0; margin: .45rem 0 0; list-style: none; font-size: .86rem; color: var(--muted); }
.count { font-weight: 650; margin-right: .2rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.count-pass { color: var(--pass); }
.count-fail { color: var(--fail); }
.coverage-note { color: var(--muted); font-size: .75rem; margin-top: .55rem; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.15rem; }
.section-heading p { color: var(--muted); font-size: .8rem; }
.coverage + section { margin-top: 2.4rem; }
.filter-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem; margin-bottom: 1.4rem; }
.filter-form label { display: block; font-size: .75rem; font-weight: 600; margin-bottom: .3rem; }
.search-field { flex: 1; min-width: 180px; max-width: 380px; }
.status-field { width: 210px; }
.filter-form input, .filter-form select { width: 100%; background: var(--surface); color: var(--ink); border: 1px solid #9da8ad; border-radius: 3px; padding: .53rem .7rem; min-height: 42px; font-size: .85rem; }
.filter-form input::placeholder { color: var(--muted); opacity: 1; }
.filter-form input:hover, .filter-form select:hover { border-color: var(--navy); }
.button { border: 1px solid var(--navy); border-radius: 3px; padding: .53rem 1rem; min-height: 42px; background: var(--navy); color: #fff; font-size: .85rem; font-weight: 500; }
.button:hover { background: #235476; border-color: #235476; }
.button:disabled { background: var(--soft); color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.clear-link { align-self: flex-end; padding: .55rem .2rem; font-size: .85rem; }
.scenario-columns, .scenario-row { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(150px, .62fr); gap: 2rem; }
.scenario-columns { font-size: .74rem; color: var(--muted); padding: .7rem 0; border-bottom: 1px solid var(--navy); }
.scenario-row { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.person { font-size: .78rem; font-weight: 600; margin-bottom: .25rem; }
.person span { font-weight: 400; color: var(--muted); }
.scenario-description h3 { font-size: 1.1rem; line-height: 1.4; margin-bottom: .5rem; }
.scenario-description h3 a { text-decoration: none; }
.scenario-description h3 a:hover { text-decoration: underline; }
.scenario-description > p:last-child, .scenario-outcome p { color: var(--muted); font-size: .85rem; line-height: 1.65; }
.scenario-outcome { padding-top: 1.6rem; }
.scenario-result { display: flex; align-items: flex-start; flex-direction: column; gap: .55rem; padding-top: 1.55rem; }
.status { display: inline-flex; gap: .45rem; align-items: baseline; font-size: .75rem; line-height: 1.5; font-weight: 600; color: var(--muted); }
.status-dot { display: inline-block; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pass { color: var(--pass); }
.status-fail { color: var(--fail); }
.status-unexercised, .status-awaiting_verification { color: var(--warning); }
.status-running { color: var(--navy); }
.status-not_run .status-dot { background: transparent; border: 1px solid currentColor; }
.result-link { font-size: .8rem; }
.secondary { font-size: .78rem; color: var(--muted); }
.mobile-label { display: none; }
.method-section { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--navy); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.method-section > div > h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--navy); font-size: 1.8rem; margin-bottom: 1rem; }
.method-section p { font-size: .86rem; color: var(--muted); max-width: 68ch; }
.method-notes h3 { font-size: .86rem; margin-bottom: .35rem; }
.method-notes h3:not(:first-child) { margin-top: 1.4rem; }
.method-notes p.secondary { font-size: .77rem; margin-top: 1rem; }
.site-footer { max-width: 1216px; padding: 1.4rem 2rem 2rem; margin: auto; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .72rem; }
.site-footer p + p { margin-top: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .65rem; font-size: .8rem; color: var(--muted); margin-bottom: 1.7rem; }
.detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; }
.detail-heading > .status { flex-shrink: 0; margin-top: .8rem; }
.detail-heading h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.detail-heading .lead { font-size: 1rem; color: var(--muted); max-width: 70ch; }
.scenario-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 4rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.persona-sheet h2 { font-size: 1.2rem; margin-bottom: .3rem; }
.fact-list { margin: 1.4rem 0; }
.fact-list div { margin-bottom: .95rem; }
dt { color: var(--muted); font-size: .75rem; }
dd { margin: .15rem 0 0; font-size: .88rem; overflow-wrap: anywhere; }
.synthetic-note { font-size: .75rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.scenario-body > section + section { margin-top: 2.5rem; }
.goal-section h2 { margin-bottom: .6rem; }
.goal-section h3 { margin-top: 1.5rem; margin-bottom: .5rem; }
.goal-section p { max-width: 72ch; font-size: .95rem; }
.criteria-list { padding-left: 1.2rem; margin: .9rem 0 1rem; }
.criteria-list li { padding-left: .3rem; margin-bottom: .7rem; font-size: .9rem; }
.criteria-list li::marker { color: var(--accent); }
.empty-state { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.empty-state h3 { margin-bottom: .45rem; }
.empty-state p { font-size: .88rem; max-width: 70ch; color: var(--muted); }
.empty-state p.secondary { font-size: .78rem; }
.search-empty { padding: 2.5rem 0; }
.trial-row { padding: 1.3rem 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.trial-row > div { min-width: 0; }
.trial-row > .status { flex-shrink: 0; }
.trial-title { font-size: .94rem; font-weight: 600; overflow-wrap: anywhere; }
.trial-row p:not(.secondary) { margin-top: .6rem; font-size: .86rem; }
.trial-row p.secondary { margin-top: .3rem; }
.trial-id { color: var(--muted); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .78rem; margin-top: .7rem; overflow-wrap: anywhere; }
.notice { padding: 1rem 1.2rem; background: #f0ede3; color: #634820; border: 1px solid #d5c5a8; font-size: .86rem; margin-bottom: 1.5rem; }
.notice strong { display: block; margin-bottom: .2rem; }
.run-metadata { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem 2rem; margin: 0; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.run-metadata dd { font-size: .8rem; }
.section-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-size: .85rem; padding: 1rem 0; }
.section-nav a { padding: .3rem 0; }
.run-section { margin-top: 3rem; scroll-margin-top: 1.5rem; }
.section-intro { font-size: .88rem; color: var(--muted); max-width: 75ch; margin-bottom: 1.3rem; }
.check-row { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.check-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.check-title h3 { font-size: .95rem; max-width: 75ch; }
.check-title .status { flex-shrink: 0; }
.check-values { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: .8rem 0 0; }
.check-values dd { font-size: .85rem; white-space: pre-wrap; }
.transcript { max-width: 880px; border-top: 1px solid var(--line); }
.message { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 1.4rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.message h3 { font-size: .78rem; color: var(--navy); padding-top: .15rem; }
.message-user h3 { color: var(--accent); }
.message-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .92rem; max-width: 75ch; }
.tool-message { margin: .8rem 0; background: var(--soft); padding: .7rem 1rem; font-size: .8rem; }
summary { font-size: .85rem; font-weight: 550; padding: .2rem 0; }
summary:hover { color: var(--navy); }
summary::marker { color: var(--muted); }
.tool-message summary span { font-weight: 400; color: var(--muted); font-size: .75rem; margin-left: .7rem; }
.tool-message pre, .evidence-item pre { margin-top: .8rem; }
.evidence-item { padding: 1rem 0; border-top: 1px solid var(--line); }
.evidence-item pre { background: var(--soft); padding: 1rem 1.2rem; }
.finding { padding: 1rem 0; border-top: 1px solid var(--line); }
.finding p { font-size: .9rem; margin-top: .4rem; max-width: 75ch; white-space: pre-wrap; overflow-wrap: anywhere; }
.empty-line { color: var(--muted); font-size: .9rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.closing-link { margin-top: 3rem; font-size: .9rem; }
@media (max-width: 900px) {
  .scenario-columns, .scenario-row { gap: 1.5rem; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 150px; }
  .person span { display: block; }
  .method-section { gap: 2rem; }
  .scenario-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 2rem; }
  .run-metadata { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { flex-direction: column; gap: .3rem; }
}
@media (max-width: 640px) {
  .header-inner { padding: 1rem 1.25rem; align-items: flex-start; gap: 1rem; }
  .wordmark { font-size: 1.12rem; }
  .wordmark span { font-size: .65rem; }
  .site-header nav { flex-direction: column; align-items: flex-end; gap: .25rem; font-size: .75rem; }
  .site-header nav a { padding: .1rem 0 .3rem; }
  .site-header nav a[aria-current] { text-underline-offset: .3rem; }
  .report { padding: 2rem 1.25rem 3rem; }
  .report-intro { display: block; padding-bottom: 1.6rem; }
  .lead { font-size: 1.03rem; margin-top: .8rem; }
  .intro-copy { font-size: .88rem; }
  .report-edition { padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .72rem; }
  .report-edition span:nth-child(2) { display: none; }
  .report-edition a { margin-top: 0; }
  .coverage > p:first-child { font-size: .82rem; }
  .coverage-separator { margin: 0 .35rem; }
  .count-list { gap: .35rem 1rem; font-size: .8rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .section-heading p { font-size: .75rem; }
  .filter-form { gap: .75rem; }
  .search-field { max-width: none; min-width: 100%; }
  .status-field { width: auto; flex: 1; }
  .filter-form input, .filter-form select, .button { min-height: 44px; }
  .scenario-columns { display: none; }
  .scenario-list { border-top: 1px solid var(--navy); }
  .scenario-row { display: block; padding: 1.35rem 0; }
  .person span { display: inline; }
  .scenario-description h3 { font-size: 1.08rem; }
  .scenario-outcome { padding-top: .9rem; }
  .mobile-label { display: block; font-size: .72rem; font-weight: 600; color: var(--ink); margin-bottom: .15rem; }
  .scenario-result { padding-top: .8rem; flex-direction: row; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; }
  .scenario-result > .secondary { font-size: .72rem; }
  .method-section { display: block; margin-top: 2.5rem; padding-top: 1.6rem; }
  .method-notes { margin-top: 1.5rem; }
  .site-footer { padding: 1.1rem 1.25rem 1.5rem; }
  .detail-heading { display: block; padding-bottom: 1.7rem; }
  .detail-heading > .status { margin-top: 1rem; }
  .scenario-layout { display: block; padding-top: 1.5rem; }
  .persona-sheet { padding-bottom: 1.5rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
  .fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .fact-list div { margin-bottom: 0; }
  .trial-row { flex-direction: column-reverse; gap: .5rem; }
  .run-metadata { gap: 1rem; }
  .run-section { margin-top: 2.1rem; }
  .check-title { align-items: flex-start; }
  .check-values { grid-template-columns: 1fr; gap: .7rem; }
  .message { grid-template-columns: 1fr; gap: .4rem; padding: 1rem 0; }
  .tool-message summary span { display: block; margin-left: 1rem; }
  .notice { padding: .85rem 1rem; }
}
@media print {
  .site-header nav, .filter-form, .section-nav, .skip-link { display: none; }
  .report { padding: 1rem 0; max-width: none; }
  .site-header { border-bottom-width: 1px; }
  .header-inner, .site-footer { padding-left: 0; padding-right: 0; }
  .scenario-row, .message, .check-row { break-inside: avoid; }
}
