:root {
  color-scheme: dark;
  --paper: #0c1321;
  --ink: #eef2fc;
  --muted: #c0cbe0;
  --rule: #29364c;
  --blue: #a6bcff;
  --panel: #111b2d;
  --coral: #ff9885;
  --display: "Big Caslon", Baskerville, Georgia, serif;
  --numbers: ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: radial-gradient(ellipse 64rem 42rem at 75% 6rem, #162545 0, transparent 70%), var(--paper);
  color: var(--ink);
  font: 1.125rem/1.58 "Avenir Next", Avenir, system-ui, sans-serif;
}
a { color: inherit; }
button, input { font: inherit; }
button, input[type="range"] { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(1220px, calc(100% - clamp(36px, 7vw, 96px))); margin: 0 auto; }
.mast { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; min-height: 68px; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.mast nav { display: flex; align-items: center; gap: 0 22px; flex-wrap: wrap; }
.mast a { display: flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; text-underline-offset: 4px; }
.mast a:hover { text-decoration: underline; }
.mast .back-link { gap: .4em; color: var(--ink); font-weight: 700; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .55rem .8rem; color: var(--paper); background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.026em; }
h1 { font-size: clamp(3.25rem, 5.1vw, 5.375rem); line-height: .97; }
h1 em { color: #b8c9ff; font-family: Baskerville, Georgia, serif; font-weight: 400; }
h2 { font-size: clamp(2.125rem, 3.8vw, 3.375rem); line-height: 1.05; text-wrap: balance; }
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  color: var(--blue);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .035em;
}
.kicker::before { content: ""; width: 16px; height: 1px; background: var(--coral); }
.hero { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: clamp(28px, 5vw, 72px); margin: 43px 0 36px; }
.dek { margin: 17px 0 0; color: var(--muted); font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); line-height: 1.45; max-width: 34ch; text-wrap: pretty; }
.hero-finding { max-width: 48ch; margin: 15px 0 0; padding-left: 13px; border-left: 2px solid #537ae8; color: var(--muted); font-size: 1.0625rem; text-wrap: pretty; }
.hero-finding strong, .strategy-note strong { color: var(--ink); }
.hero-action { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 20px; padding: 8px 14px; border: 1px solid #526893; border-radius: 6px; font-size: 1rem; font-weight: 700; color: var(--blue); text-decoration: none; }
.hero-action:hover { background: #172545; }
.art { margin: 0; overflow: hidden; border-radius: 13px; background: var(--panel); box-shadow: 0 18px 40px #05091170; aspect-ratio: 1.48; }
.art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.decision-chapter { border-top: 1px solid var(--rule); padding-top: clamp(25px, 4vw, 44px); }
.decision-visual {
  padding: clamp(18px, 3vw, 38px);
  border: 1px solid #496495;
  border-radius: 13px;
  background: radial-gradient(ellipse at 12% 0, #24416e 0, transparent 58%), #111e35;
}
.decision-headline { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; padding-bottom: clamp(17px, 3vw, 27px); }
.decision-headline p { display: grid; align-content: start; gap: 5px; margin: 0; }
.decision-headline strong {
  color: var(--blue);
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: 1.07;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.decision-headline p:nth-child(2) strong { color: var(--coral); }
.decision-headline span { color: var(--ink); line-height: 1.4; max-width: 26ch; }
.decision-paths { border-block: 1px solid #4b5d7e; padding: 15px 0; }
.decision-note { margin: 14px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.switch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.switch-card {
  min-width: 0;
  background: #101b30;
  border: 1px solid #465c83;
  border-radius: 9px;
  padding: clamp(15px, 2vw, 23px);
}
.switch-card h3 { margin: 0; font-size: 1.0625rem; line-height: 1.35; }
.switch-count {
  margin: 0 0 5px;
  color: var(--blue);
  font: 700 clamp(1.9rem, 3vw, 2.6rem)/1.05 var(--numbers);
  letter-spacing: -.05em;
}
.switch-card.out .switch-count { color: var(--coral); }
.switch-direction { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 8px 0 0; color: var(--muted); font-size: 1rem; }
.switch-direction b { color: var(--ink); }
.switch-card .bar { margin-top: 13px; height: 12px; }
.switch-outcomes { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 7px 0 0; color: var(--muted); font-size: .9375rem; }
.switch-outcomes b { color: var(--ink); font-variant-numeric: tabular-nums; }
.switch-same { margin: 12px 0 0; color: var(--muted); font-size: 1rem; }
.switch-same b { color: var(--ink); }
.switch-intro { margin: 0 0 10px; color: var(--ink); font-size: 1rem; }
.decision-details { margin-top: 16px; }
.decision-details summary {
  width: fit-content;
  min-height: 44px;
  padding: 9px 4px;
  color: var(--blue);
  font-weight: 600;
  cursor: pointer;
}
.decision-details summary:hover { color: var(--ink); }
.decision-details .comparison { margin-top: 6px; }
.model-proof .big, .model-scores dd, .stats-line strong, .slider-header output, .readouts dd, .dot-row b, .history-bar b {
  font-family: var(--numbers);
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.chapter { margin: clamp(38px, 5vw, 64px) 0; scroll-margin-top: 24px; }
.chapter-head { margin: 0 0 20px; }
.chapter-head p { margin: 12px 0 0; color: var(--muted); max-width: 74ch; text-wrap: pretty; }
.panel-grid, .selection { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.selection { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.analyst-panel, .comparison { background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; padding: clamp(17px, 2.4vw, 29px); }
.analyst-panel h3 { margin: 0 0 8px; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.28; letter-spacing: -.015em; }
.analyst-panel p, .chart-caption { margin: 0; font-size: 1.0625rem; color: var(--muted); max-width: 67ch; }
.model-scores { margin: 14px 0 0; }
.model-scores div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-top: 1px solid var(--rule); }
.model-scores dd { margin: 0; font-weight: 700; }
.model-scores div:first-child { color: var(--blue); }
.stats-line { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 19px 0; }
.stats-line div { border-left: 2px solid #537ae8; padding-left: 11px; }
.stats-line strong { display: block; font-size: clamp(1.5rem, 2.7vw, 2.25rem); line-height: 1.14; }
.stats-line span { display: block; margin-top: 4px; font-size: .9375rem; color: var(--muted); line-height: 1.36; }
.statement-panel {
  background: linear-gradient(145deg, #1b3159, #111e35 64%);
  border-color: #3b5077;
}
.statement-art {
  margin: 20px 0 14px;
  padding: clamp(10px, 2vw, 18px);
  border: 1px solid #475e88;
  border-radius: 7px;
  background:
    linear-gradient(90deg, #7593cd17 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(#7593cd17 1px, transparent 1px) 0 0 / 22px 22px,
    #111f38;
}
.statement-art figcaption { color: var(--ink); line-height: 1.4; }
.statement-art figcaption span { display: block; margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.statement-art .statement-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .45em;
  margin: 12px 0;
  font-size: .9375rem;
  color: var(--blue);
}
.statement-flow span { font-size: 1.25em; line-height: 1; }
.statement-features { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .9375rem; line-height: 1.35; }
.statement-features caption { padding-bottom: 6px; font-weight: 700; text-align: left; }
.statement-features th, .statement-features td {
  padding: 8px clamp(5px, 1.1vw, 12px);
  border: 1px solid #475e88;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.statement-features th { background: #233758; }
.statement-features td { background: #12223c; color: var(--muted); }
.statement-features th:first-child { border-top: 2px solid var(--coral); }
.statement-features th:nth-child(2) { border-top: 2px solid var(--blue); }
.statement-panel .statement-note { margin-top: 10px; }
.data-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.feature-build { margin: 22px 0 0; padding: 15px 0 0; border-top: 1px solid var(--rule); }
.feature-build h3 { margin: 0; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.3; }
.feature-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px; margin: 12px 0 0; }
.feature-counts div { padding-left: 12px; border-left: 2px solid #537ae8; }
.feature-counts dt { font-weight: 700; }
.feature-counts dd { margin: 4px 0 0; font-size: 1rem; color: var(--muted); }
.history-panel { align-self: center; background: transparent; border: 0; padding-inline: clamp(4px, 2vw, 22px); }
.history-bars { display: grid; gap: 12px; margin: 18px 0 15px; }
.history-bar { display: grid; grid-template-columns: minmax(82px, 1fr) minmax(54px, 2.2fr) 4rem; gap: 8px; align-items: center; font-size: 1rem; line-height: 1.35; }
.history-bar b { text-align: right; letter-spacing: -.03em; }
.history-track { height: 14px; background: linear-gradient(90deg, transparent calc(50% - .5px), #526586 50%, transparent calc(50% + .5px)), #273752; border-radius: 3px; overflow: hidden; }
.history-track i { display: block; height: 100%; background: #8da9ff; }
.history-bar.short .history-track i { background: var(--coral); }
.history-axis { margin-top: -4px; color: var(--muted); font-size: .9375rem; }
.history-axis div { display: flex; justify-content: space-between; }
.selection .axis-label { margin: 11px 0 7px; color: var(--muted); font-size: .9375rem; }
.dot-plot { --label: 8.5rem; --value: 4rem; --gap: 10px; margin: 8px 0; }
.dot-row { display: grid; grid-template-columns: var(--label) minmax(20px, 1fr) var(--value); gap: var(--gap); align-items: center; min-height: 34px; padding-block: 4px; font-size: 1rem; line-height: 1.32; }
.dot-row b { text-align: right; letter-spacing: -.025em; }
.dot-row.policy-challenger { font-weight: 700; color: var(--coral); }
.dot-track { height: 1px; background: #455675; position: relative; }
.dot-track i { position: absolute; top: 50%; left: var(--point); width: 8px; height: 8px; transform: translate(-50%, -50%); background: #9eb6ff; border-radius: 50%; }
.policy-challenger .dot-track i { background: var(--coral); width: 11px; height: 11px; box-shadow: 0 0 0 3px #ff98852b; }
.dot-axis { display: flex; justify-content: space-between; margin: 7px calc(var(--value) + var(--gap)) 0 calc(var(--label) + var(--gap)); color: var(--muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.model-proof {
  display: flex;
  flex-direction: column;
  gap: 11px;
  justify-content: center;
  border-left: 2px solid #4a65a1;
  padding: clamp(18px, 2.5vw, 29px);
}
.model-proof h3 { margin: 0; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.3; }
.model-proof p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.interval-figure { padding-top: 12px; max-width: 18rem; }
.interval-track { position: relative; display: block; height: 2px; background: #a6bcff; margin: 0 2px; }
.interval-track::before, .interval-track::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 10px;
  top: -4px;
  background: #a6bcff;
}
.interval-track::before { left: 0; }
.interval-track::after { right: 0; }
.interval-track i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--coral);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.interval-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .9375rem; margin-top: 7px; }
.model-proof .big { font-size: clamp(2.375rem, 4.2vw, 3.5rem); line-height: 1.05; color: var(--blue); }
.model-proof .interval { padding-top: 13px; border-top: 1px solid var(--rule); }
.model-proof .interval strong { color: var(--ink); }
.comparison-head, .row-heading, .legend { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
.comparison-head, .row-heading { justify-content: space-between; }
.comparison-head { margin-bottom: 15px; }
.comparison-head span, .row-heading p { color: var(--muted); font-size: 1rem; }
.button { background: transparent; color: var(--ink); border: 1px solid #54688c; border-radius: 6px; min-height: 44px; padding: 7px 13px; font-size: 1rem; }
.button:hover, .button[aria-pressed="true"] { background: #263857; border-color: #8ba3d3; }
.model + .model { margin-top: 17px; }
.row-heading { align-items: baseline; gap: 3px 14px; margin-bottom: 7px; }
.row-heading h3 { font-size: 1.0625rem; margin: 0; }
.row-heading p { margin: 0; font-variant-numeric: tabular-nums; }
.bar { display: flex; width: 100%; height: 17px; overflow: hidden; border-radius: 3px; background: #26364e; }
.bar span { flex: 0 0 auto; }
.good { background: #809bda; }
.screened .good, .legend .qualifies { background: #7296fb; }
.default, .legend .defaulted { background: var(--coral); }
.decline, .legend .declined { background: repeating-linear-gradient(135deg,#28354d 0px,#28354d 5px,#32415a 5px,#32415a 9px); }
.legend { margin: 14px 0 0; gap: 5px 17px; color: var(--muted); font-size: .9375rem; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { display: block; width: 11px; height: 11px; border-radius: 2px; }
.chart-caption { margin-top: 12px; }
.explore { padding: clamp(20px, 3.6vw, 44px); background: radial-gradient(ellipse at right bottom, #223e77 0, transparent 56%), #111f3b; border: 1px solid #2c4169; border-radius: 13px; }
.explore-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .54fr); gap: 12px 22px; align-items: end; }
.explore-head h2 { text-wrap: initial; }
.explore-head p { margin: 10px 0 0; color: var(--muted); max-width: 57ch; font-size: 1.0625rem; }
.explore-head .sample { text-align: right; line-height: 1.4; justify-self: end; max-width: 29ch; font-size: 1rem; }
.strategy-note { max-width: 74ch; margin: 20px 0 0; color: var(--muted); font-size: 1.0625rem; }
.slider-scope { max-width: 74ch; margin: 9px 0 0; color: var(--muted); font-size: 1rem; }
.explorer-grid { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: clamp(22px, 4vw, 46px); align-items: center; margin-top: 22px; }
.slider-block { display: grid; gap: 12px; }
.slider-header { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-weight: 700; }
.slider-header output { font-size: 2.125rem; line-height: 1.1; color: var(--coral); }
input[type="range"] { margin: 0; width: 100%; accent-color: var(--coral); min-height: 44px; }
.range-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: .9375rem; margin-top: -5px; }
.readouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 3px 0 0; padding-top: 15px; border-top: 1px solid #394964; }
.readouts div { min-width: 0; display: flex; flex-direction: column; }
.readouts dt { margin-top: 4px; color: var(--muted); font-size: 1rem; line-height: 1.35; }
.readouts dd { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.05; font-weight: 700; order: -1; white-space: nowrap; }
.readouts dd small { font-size: .68em; margin-left: 1px; }
.readouts .policy-readout { grid-column: 1 / -1; margin-top: 5px; padding-top: 12px; border-top: 1px solid #394964; }
.readouts .cap-status { margin-top: 5px; color: var(--blue); font: inherit; order: 0; white-space: normal; }
.readouts .cap-status.is-over-cap { color: var(--coral); }
.plot { margin: 0; min-width: 0; position: relative; overflow: hidden; }
.plot canvas { display: block; width: 100%; height: 288px; font-size: .9375rem; }
.plot-marker { width: 0; height: 0; position: absolute; left: 0; top: 0; pointer-events: none; }
.plot-marker i { position: absolute; display: block; }
.guide { width: 1px; top: 0; left: 0; height: var(--guide, 0px); background: var(--coral); opacity: .72; }
.dot { width: 12px; height: 12px; border: 2px solid var(--panel); box-shadow: 0 0 0 1px var(--coral); border-radius: 50%; background: var(--coral); transform: translate(-50%,-50%); }
.policy-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 15px; }
.rule-card { padding: 13px 15px; border: 1px solid var(--rule); border-radius: 8px; background: var(--panel); }
.rule-card strong { display: block; margin-bottom: 4px; color: var(--blue); font-size: 1.625rem; line-height: 1.1; letter-spacing: -.035em; }
.rule-card:nth-child(2) strong { color: var(--coral); }
.rule-card span { display: block; font-size: 1rem; color: var(--muted); line-height: 1.4; }
.limits { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 14px 22px; align-items: start; padding-top: 22px; border-top: 1px solid var(--rule); }
.limits h2 { font-size: clamp(2rem, 3.25vw, 2.75rem); text-wrap: initial; }
.limits p { color: var(--muted); margin: 0; max-width: 69ch; }
.limits p + p { margin-top: 12px; }
.credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; padding: 21px 0 32px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 1rem; }
.credits p { margin: 0; }
.credit-label { color: var(--ink); font-weight: 700; }
.credit-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.credits a { color: var(--blue); text-underline-offset: 3px; }
.credits a:hover { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .art img { animation: settle 850ms cubic-bezier(.2,.7,.25,1) both; }
  @keyframes settle { from { transform: scale(1.035); } to { transform: scale(1); } }
  .plot-marker { transition: transform 180ms cubic-bezier(.2,.7,.25,1); }
  .button { transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
  .animate-in .history-track i, .animate-in .bar { animation: chart-fill 600ms cubic-bezier(.2,.7,.2,1) both; transform-origin: left center; }
  .animate-in .history-bar.short .history-track i, .animate-in .screened .bar, .animate-in .switch-card.out .bar { animation-delay: 90ms; }
  .animate-in .dot-track i { animation: plot-point 520ms cubic-bezier(.2,.7,.2,1) both; }
  .animate-in .policy-challenger .dot-track i { animation-delay: 140ms; }
  .plot.animate-in canvas { animation: show-plot 520ms ease both; }
  @keyframes chart-fill { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
  @keyframes plot-point { from { opacity: 0; transform: translate(-50%, -50%) scale(.35); } }
  @keyframes show-plot { from { opacity: .45; } }
}
@media (max-width: 860px) {
  .panel-grid, .selection, .explore-head, .explorer-grid { grid-template-columns: 1fr; }
  .explore-head .sample { text-align: left; justify-self: start; max-width: none; margin-top: 0; }
  .plot canvas { height: 250px; }
}
@media (max-width: 700px) {
  body { font-size: 1.0625rem; line-height: 1.56; }
  .mast nav { gap: 0 13px; }
  .hero { grid-template-columns: 1fr; gap: 17px; margin: 27px 0 24px; }
  h1 { font-size: clamp(2.75rem, 12vw, 4.125rem); }
  .dek { margin-top: 13px; }
  .hero-action { margin-top: 13px; }
  .art { aspect-ratio: 1.62; border-radius: 9px; }
  .decision-headline { gap: 14px; }
  .chapter-head { margin-bottom: 15px; }
  .chapter-head p { margin-top: 8px; }
  .panel-grid, .selection, .limits, .credits, .feature-counts { grid-template-columns: 1fr; gap: 12px; }
  .history-panel { padding: 13px 0 3px; }
  .model-proof { margin-top: 5px; }
  .dot-plot { --label: 7rem; --value: 3.5rem; --gap: 7px; }
  .dot-row { font-size: .9375rem; }
  .explore { padding: 17px 15px; }
  .explorer-grid { margin-top: 18px; gap: 18px; }
  .plot canvas { height: 244px; }
}
@media (max-width: 440px) {
  .mast { align-items: start; flex-direction: column; gap: 0; padding-top: 9px; }
  .mast nav { width: 100%; justify-content: space-between; }
  .policy-rules { grid-template-columns: 1fr; gap: 7px; }
  .rule-card { display: grid; grid-template-columns: 4.15rem 1fr; align-items: baseline; gap: 8px; padding: 10px 12px; }
  .rule-card strong { margin: 0; }
  .comparison-head { align-items: start; }
  .switch-grid { grid-template-columns: 1fr; }
  .decision-headline strong { font-size: clamp(1.65rem, 8vw, 2.15rem); }
  .history-bar { grid-template-columns: minmax(0, 1fr) max-content; row-gap: 6px; }
  .history-bar b { grid-column: 2; grid-row: 1; }
  .history-track { grid-column: 1 / -1; grid-row: 2; }
  .history-axis > span { display: none; }
  .history-axis div { grid-column: 1 / -1; }
}
@media (max-width: 365px) {
  .stats-line { grid-template-columns: 1fr; gap: 11px; }
  .dot-row { grid-template-columns: minmax(0, 1fr) max-content; gap: 7px; padding-block: 5px; }
  .dot-row b { grid-column: 2; grid-row: 1; }
  .dot-track { grid-column: 1 / -1; grid-row: 2; }
  .dot-axis { margin-inline: 0; }
}

/* Credit history study */
.example-readings { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; list-style: none; padding: 0; margin: 12px 0 0; }
.example-readings li { padding: 4px 0; text-align: center; background: #233a64; border-radius: 4px; font-family: var(--numbers); }
.cohort-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 12px 0 0; }
.cohort-flow div { padding: 9px 10px; border-top: 1px solid #526893; background: #101b30; border-radius: 0 0 5px 5px; }
.cohort-flow dt { color: var(--blue); font: 700 clamp(1.05rem, 2.4vw, 1.45rem)/1.18 var(--numbers); font-variant-numeric: tabular-nums; }
.cohort-flow dd { margin: 4px 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.3; }
.feature-build > p { color: var(--muted); margin: 0; }
.metric-table-wrap { overflow-x: auto; }
.metric-table { margin-top: 10px; border-collapse: collapse; width: 100%; }
.metric-table caption { text-align: left; color: var(--muted); font-size: .9375rem; margin-bottom: 5px; }
.metric-table td, .metric-table th { border-top: 1px solid var(--rule); padding: 7px 8px; text-align: right; font-variant-numeric: tabular-nums; }
.metric-table th:first-child { text-align: left; }
.study-comparison { margin-top: 15px; }
.view-options { display: flex; flex-wrap: wrap; gap: 4px 12px; border: 0; padding: 0; margin: 0; }
.view-options legend { font-weight: 700; margin-bottom: 2px; }
.view-options label { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; gap: 5px; font-size: 1rem; }
.view-options input { accent-color: var(--blue); }
.decision-headline span { max-width: 32ch; }
@media (max-width: 700px) {
  .cohort-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cohort-flow div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 440px) {
  .metric-table th, .metric-table td { padding-inline: 4px; font-size: .9375rem; }
  .view-options { display: block; }
  .view-options label { display: flex; }
  .dot-plot { --label: 6.8rem; }
}
.statement-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin: 0; }
.statement-features div { background: #12223c; padding: 8px; border-radius: 4px; }
.statement-features dt { min-height: 2.7em; color: var(--muted); }
.statement-features dd { font-family: var(--numbers); font-size: 1.125rem; margin: 4px 0 0; }
.audit-history-title { margin: 15px 0 0; font-size: 1rem; }
.example-readings li:last-child { outline: 1px solid var(--blue); color: var(--blue); }
.statement-features dd { font-size: .9375rem; overflow-wrap: anywhere; }

/* Checks on history length and approval volume. */
.robustness-grid { align-items: start; }
.robustness-grid .analyst-panel { min-width: 0; }
.robustness-grid .dot-plot { margin-top: 12px; }
.robustness-grid .metric-table { table-layout: fixed; }
.robustness-grid .metric-table th { overflow-wrap: break-word; }
.robustness-grid .metric-table th[scope="row"] { font-weight: 600; }
.robustness-grid .robustness-main th, .robustness-grid .robustness-main td { color: var(--blue); background: #172642; }
.robustness-grid .robustness-note { margin-top: 12px; }
@media (max-width: 860px) {
  .robustness-grid { grid-template-columns: 1fr; }
}
.robustness-grid .robustness-lag-plot { --label: 6rem; --value: 4rem; }
.robustness-grid .metric-table th small { display: inline-block; color: var(--muted); font-size: .8em; font-weight: 400; }
.robustness-grid .metric-table th[scope="col"] { vertical-align: bottom; line-height: 1.3; }
