:root {
  --ink: #000000;
  --muted: #000000;
  --paper: #ffffff;
  --line: #c5c5c5;
  --blue: #2548cc;
  --blue-hover: #1735a5;
  --charcoal: #2548cc;
  --dark-muted: #ffffff;
  --serif: "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
  --mono: "Courier New", monospace;
  --gutter: clamp(22px, 5.5vw, 88px);
  --content: 1440px;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  scrollbar-color: #777777 var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.55 var(--sans);
  font-synthesis: none;
}
::selection { background: #dce3ff; color: #15295e; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; }
button { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
input { caret-color: var(--blue); }
.skip { position: absolute; left: 1rem; top: -100px; padding: 1rem; background: var(--paper); z-index: 20; }
.skip:focus { top: 1rem; }
.masthead {
  max-width: var(--content);
  margin: auto;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 27px; font-weight:700; letter-spacing: .035em; text-decoration: none; }
.brand-mark { width: 42px; height: 44px; display: grid; place-items: center; background: var(--blue); color: #fff; font: 32px/1 var(--serif); letter-spacing: -.04em; }
.brand-sub { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); padding-left: 14px; margin-left: 4px; border-left: 1px solid var(--line); }
.masthead nav { display: flex; align-items: center; gap: 26px; font-size: 16px; }
.masthead nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); max-width: var(--content); padding: 64px var(--gutter); margin: auto; align-items: center; }
.hero-copy { min-width: 0; }
h1 { font:700 clamp(46px, 5vw, 68px)/1.08 var(--serif); letter-spacing: -.035em; margin: 0 0 28px; text-wrap: balance; }
.hero-description { max-width: 40ch; color: var(--muted); font-size: 20px; line-height: 1.6; margin: 0 0 30px; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; padding: 14px 20px; min-height: 52px; background: var(--blue); color: white; font-size: 17px; text-decoration: none; }
.primary-link:hover { background: var(--blue-hover); color: white; }
.preview-note { font-size: 15px; color: var(--muted); margin: 16px 0 0; }
.reasoning-map { margin: 0; padding: 26px 30px 24px; background: var(--charcoal); color: #f5f5f5; }
.reasoning-map figcaption { padding-bottom: 18px; border-bottom: 1px solid #000000; }
.reasoning-map figcaption strong { display: block; font-size: 18px; font-weight:700; }
.reasoning-map figcaption span { display: block; max-width: 38ch; color: var(--dark-muted); font-size: 15px; line-height: 1.5; margin-top: 4px; }
.worked-steps { padding: 0; margin: 0; list-style: none; }
.worked-steps li { padding: 18px 0; border-bottom: 1px solid #000000; }
.step-label { font-size: 15px; color: var(--dark-muted); }
.worked-steps p { font-size: 16px; line-height: 1.45; margin: 4px 0 0; }
.worked-steps .equation { font: 400 29px/1.4 var(--serif); margin-top: 5px; }
.equation sup { font-size: .65em; }
.equation .equation-domain { font: 16px var(--sans); color: var(--dark-muted); display: inline-block; margin-left: 8px; }
.worked-steps .counterexample { color: #cad7ff; }
.map-caption { color: var(--dark-muted); font-size: 15px; line-height: 1.5; margin: 18px 0 0; max-width: 48ch; }
.notice { max-width: var(--content); margin: auto; padding: 24px var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 190px 1fr; gap: 28px; }
.notice-label { color: var(--blue); font-weight:700; font-size: 17px; }
.notice p { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 84ch; }
.notice strong { color: var(--ink); font-weight:700; }
.atlas-section { max-width: var(--content); margin: auto; padding: 64px var(--gutter) 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 28px; }
h2 { font:700 40px/1.18 var(--serif); letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.section-heading > p { max-width: 38ch; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.metrics { display: flex; flex-wrap: wrap; column-gap: 32px; row-gap: 12px; border-block: 1px solid var(--line); padding: 20px 0; }
.metric { flex: 1 1 130px; display: flex; align-items: baseline; gap: 10px; }
.metric strong { font:700 28px/1.2 var(--serif); font-variant-numeric: tabular-nums; }
.metric.total strong { color: var(--blue); }
.metric span { font-size: 15px; line-height: 1.3; max-width: 18ch; }
.counts-note { font-size: 15px; color: var(--muted); margin: 12px 0 30px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 18px; padding: 20px; background: #eeeeee; }
.toolbar label { display: flex; flex-direction: column; gap: 7px; flex: 1 1 150px; min-width: 0; }
.toolbar label > span { font-size: 15px; font-weight:700; }
.toolbar .search-label { flex: 2 1 260px; }
.toolbar input, .toolbar select { width: 100%; min-height: 48px; padding: 10px 12px; font-size: 17px; color: var(--ink); border: 1px solid #777777; border-radius: 0; background: var(--paper); }
.toolbar input::placeholder { color: var(--muted); opacity: 1; }
.text-button { min-height: 48px; background: none; border: 0; color: var(--ink); padding: 10px 4px; font-size: 16px; white-space: nowrap; text-decoration: underline; text-underline-offset: .2em; }
.text-button:hover { color: var(--blue); }
.list-heading { display: flex; justify-content: space-between; gap: 20px; font-size: 15px; color: var(--muted); padding: 24px 0 14px; border-bottom: 1px solid var(--ink); }
.case-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 200px; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.case-number { font-size: 16px; color: var(--muted); padding-top: 3px; font-variant-numeric: tabular-nums; }
.case-meta { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 10px; overflow-wrap: anywhere; }
.case-title { display: block; background: none; color: var(--ink); border: 0; padding: 0; min-height: 44px; font:700 26px/1.3 var(--serif); letter-spacing: -.015em; text-align: left; overflow-wrap: anywhere; }
.case-title:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.case-summary { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 72ch; margin: 12px 0 0; }
.search-help { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 76ch; margin: 12px 0 20px; }
.search-match { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 12px 0 0; overflow-wrap: anywhere; }
.case-side { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; padding-top: 2px; }
.outcome-tag { display: inline-block; font-size: 14px; line-height: 1.4; padding: 5px 8px; background: #eeeeee; color: #000000; }
.outcome-tag.candidate_issue { background: #e0e7ff; color: #2244b0; }
.outcome-tag.scope_clarification { background: #edf1ff; color: #000000; }
.outcome-tag.known_issue_reproduced { background: #ece3d5; color: #654b2c; }
.case-state { font-size: 14px; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
.severity-tag { display: inline-block; font:700 16px/1.4 var(--sans); padding: 6px 10px; border: 1px solid currentColor; overflow-wrap: anywhere; }
.severity-tag.major { color: #862b30; background: #f8e6e2; }
.severity-tag.minor { color: #254c83; background: #e7edf8; }
.severity-tag.needs_evidence { color: #5a4475; background: #eee7f4; }
.severity-tag.no_issue_found { color: #000000; background: #edf1ff; }
.assessment-guide h2 { font:700 27px/1.3 var(--serif); }
.assessment-guide dl { margin: 20px 0; }
.assessment-guide dl > div { display: grid; grid-template-columns: 155px 1fr; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.assessment-guide dt, .assessment-guide dd { margin: 0; }
.assessment-guide dd, .assessment-guide > p { font-size: 16px; color: var(--muted); }
.assessment-guide > p { margin-bottom: 0; }
.open-case { min-height: 44px; padding: 8px 0; background: none; border: 0; font-size: 16px; color: var(--ink); text-decoration: underline; text-underline-offset: .2em; text-align: left; }
.open-case:hover { color: var(--blue); }
.empty { padding: 32px 0; font: 22px/1.5 var(--serif); color: var(--muted); }
.approach { background: var(--charcoal); color: #f5f5f5; padding: 60px max(var(--gutter), calc((100% - 1264px) / 2)); display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.approach h2 { margin-bottom: 24px; }
.approach > div > p { color: var(--dark-muted); font-size: 18px; line-height: 1.65; max-width: 48ch; margin: 16px 0 0; }
.principles { list-style: none; padding: 0; margin: 0; }
.principles li { padding: 22px 0; border-top: 1px solid #000000; }
.principles li:first-child { padding-top: 0; border: 0; }
.principles h3 { font:700 26px/1.3 var(--serif); margin: 0 0 8px; }
.principles p { color: var(--dark-muted); font-size: 17px; line-height: 1.6; margin: 0; max-width: 46ch; }
footer { max-width: var(--content); margin: auto; padding: 38px var(--gutter); display: flex; justify-content: space-between; align-items: start; gap: 30px; }
.footer-brand { font-size: 25px; font-weight:700; letter-spacing: .03em; text-decoration: none; }
.footer-brand span { display: block; font-size: 14px; font-weight: 400; letter-spacing: 0; margin-top: 5px; max-width: 27ch; color: var(--muted); line-height: 1.5; }
footer p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 3px 0; }
footer > div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.font-licenses { font-size: 14px; color: var(--muted); }
dialog { border: 0; padding: 0; width: min(940px, 92vw); max-height: 90vh; background: var(--paper); color: var(--ink); box-shadow: 0 18px 64px #00000033; }
dialog::backdrop { background: #000000b3; }
.dialog-top { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--charcoal); color: #f5f5f5; padding: 12px 28px; z-index: 1; font-size: 16px; }
.dialog-top button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px; border: 0; background: none; color: inherit; font-size: 17px; }
.dialog-top button:hover { background: #000000; }
.dialog-top button:focus-visible { outline-color: #bccbff; }
#detail-content { padding: 30px 40px 40px; }
#detail-title { font:700 38px/1.2 var(--serif); letter-spacing: -.025em; margin: 18px 0; overflow-wrap: anywhere; }
.detail-publication { font: 400 18px/1.5 var(--serif); margin: 0 0 12px; }
.detail-authors { font: 400 17px/1.6 var(--serif); margin: 0 0 22px; overflow-wrap: anywhere; }
.detail-review-state { font: 400 16px/1.6 var(--sans); margin: 0 0 20px; max-width: 70ch; }
.detail-links.detail-primary-links { margin-bottom: 34px; }
.problem-notes { max-width: 72ch; margin: 0 auto; font: 400 19px/1.75 var(--serif); }
.case-problem { border-top: 1px solid var(--ink); padding-top: 26px; margin-top: 42px; }
.case-problem:first-child { margin-top: 0; }
.case-result { border-top: 1px solid var(--ink); padding-top: 26px; }
.case-result h3 { font:700 28px/1.3 var(--serif); margin: 0 0 18px; }
.case-result p { margin: 0; overflow-wrap: anywhere; }
.case-problem h3 { font:700 30px/1.3 var(--serif); letter-spacing: -.015em; margin: 0 0 28px; text-wrap: balance; overflow-wrap: anywhere; }
.case-problem > .severity-tag { margin: -8px 0 22px; }
.case-problem h4 { font:700 21px/1.4 var(--serif); margin: 32px 0 12px; }
.case-problem > h4:first-of-type { margin-top: 0; }
.case-problem p { margin: 0 0 18px; overflow-wrap: anywhere; text-wrap: pretty; }
.case-problem .source-citation { max-width: 75ch; font: 400 17px/1.65 var(--serif); color: #000000; margin: 0 0 22px; }
.case-problem ul { margin: 0 0 24px; padding-left: 24px; }
.case-problem li { padding-left: 3px; margin: 8px 0; overflow-wrap: anywhere; }
.supporting-record { border-block: 1px solid var(--line); margin-top: 42px; }
.supporting-record > summary { cursor: pointer; padding: 22px 0; font:700 22px/1.4 var(--serif); }
.supporting-record > summary::marker { color: var(--blue); }
.supporting-record[open] > summary { border-bottom: 1px solid var(--line); }
.supporting-content { padding: 0 0 26px; }
.supporting-content > .detail-section:first-child { border-top: 0; margin-top: 0; }
.detail-status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-block: 1px solid var(--line); padding: 18px 0; margin: 25px 0; }
.detail-status dt { font-size: 16px; }
.detail-status dd { font-size: 17px; margin: 6px 0 0; }
.detail-section { border-top: 1px solid var(--line); padding: 22px 0 0; margin-top: 28px; }
.detail-section h3 { font:700 25px/1.3 var(--serif); margin: 0 0 14px; }
.detail-section p, .detail-section li { font: 400 18px/1.7 var(--serif); overflow-wrap: anywhere; }
.detail-section > p, .detail-evidence > p, .detail-section li { max-width: 75ch; }
.detail-section ul { padding-left: 22px; }
.detail-section .detail-label { font:700 16px/1.6 var(--sans); margin-bottom: 6px; }
.detail-section code { display: block; font: 14px/1.7 var(--mono); overflow-wrap: anywhere; background: #eeeeee; padding: 12px; }
.detail-links { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.detail-links a, .detail-links button { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; padding: 10px 12px; border: 1px solid #777777; background: transparent; color: var(--ink); }
.detail-links a:hover, .detail-links button:hover { border-color: var(--blue); color: var(--blue); }
.detail-evidence { padding: 18px 0; border-bottom: 1px dashed var(--line); }
.detail-evidence h4 { font-size: 18px; font-weight:700; margin: 0; }
.detail-evidence p { margin: 10px 0; }
.detail-evidence a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; color: var(--blue); }
.detail-section .detail-small { font: 400 15px/1.6 var(--sans); overflow-wrap: anywhere; }
.math-expression .katex { font-size: 1.06em; color: inherit; text-indent: 0; }
.math-inline { white-space: normal; overflow-wrap: normal; padding-inline: .05em; }
.math-display {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding: .55em .15em .7em;
  margin: .55em 0;
  scrollbar-width: thin;
  scrollbar-color: #777777 var(--paper);
}
.math-display .katex-display { width: max-content; min-width: 100%; margin: 0; }
.math-display:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.math-rendering-note { color: var(--blue); font:700 .9em/1.5 var(--sans); }
.reasoning-map .math-rendering-note { color: #cad7ff; }
@media (max-width: 1080px) {
  .brand-sub { display: none; }
  .hero { gap: 40px; }
  .hero-description { font-size: 19px; }
  .reasoning-map { padding: 24px; }
  .toolbar { flex-wrap: wrap; }
  .toolbar .search-label { flex-basis: 100%; }
  .case-row { grid-template-columns: 28px minmax(0, 1fr) 170px; gap: 18px; }
}
@media (max-width: 760px) {
  .assessment-guide dl > div { grid-template-columns: 1fr; gap: 8px; }
  .masthead { flex-wrap: wrap; padding-block: 18px; gap: 10px; }
  .brand { font-size: 25px; }
  .brand-mark { width: 36px; height: 38px; font-size: 28px; }
  .masthead nav { gap: 22px; font-size: 16px; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-block: 36px; }
  h1 { font-size: clamp(48px, 9vw, 64px); }
  .hero-description { max-width: 48ch; }
  .reasoning-map { max-width: 600px; padding: 24px; }
  .notice { grid-template-columns: 1fr; gap: 10px; padding-block: 22px; }
  .atlas-section { padding-block: 40px 48px; }
  .section-heading { flex-direction: column; align-items: start; gap: 16px; margin-bottom: 24px; }
  h2 { font-size: 34px; }
  .section-heading > p { max-width: 55ch; }
  .metrics { column-gap: 24px; row-gap: 18px; }
  .metric { flex-basis: calc(50% - 24px); }
  .metric.total { flex-basis: 100%; }
  .counts-note { margin-bottom: 24px; }
  .toolbar { padding: 16px; gap: 14px; }
  .toolbar label { flex-basis: 100%; }
  .toolbar .text-button { padding-inline: 0; }
  .list-heading > span:last-child { display: none; }
  .case-row { grid-template-columns: 3ch minmax(0, 1fr); gap: 12px; padding: 24px 0; }
  .case-title { font-size: 25px; }
  .case-side { grid-column: 2; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
  .case-state { margin-top: 6px; }
  .approach { grid-template-columns: 1fr; gap: 32px; padding: 40px var(--gutter); }
  .approach h2 { font-size: 36px; }
  footer { flex-direction: column; gap: 24px; padding-block: 32px; }
  footer > div { gap: 14px; }
  dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .dialog-top { padding: 10px 18px; }
  #detail-content { padding: 24px 22px; }
  #detail-title { font-size: 30px; }
  .problem-notes { font-size: 18px; line-height: 1.75; }
  .case-problem h3 { font-size: 27px; }
  .case-problem h4 { font-size: 21px; }
  .case-problem .source-citation { font-size: 17px; }
  .supporting-record > summary { font-size: 21px; }
  .detail-status { grid-template-columns: 1fr; gap: 14px; }
  .detail-status > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .detail-status dd { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
[hidden] { display: none !important; }

/* Phase 1: the independent homepage is the visual authority. Retain the
   scientific reader's math/overflow behavior while replacing its page shell. */
:root {
  --paper: #ffffff;
  --ink: #000000;
  --pine: #2548cc;
  --muted: #000000;
  --line: #c5c5c5;
  --sage: #edf1ff;
  --light: #ffffff;
  --dark-muted: #ffffff;
  --focus: #2548cc;
  --blue: var(--pine);
  --blue-hover: #1735a5;
  --charcoal: var(--pine);
  --gutter: clamp(24px, 5.55vw, 80px);
  --content: 1408px;
}
body { line-height: 1.65; }
html { scroll-padding-top: 28px; scrollbar-color: #777777 var(--paper); }
::selection { background: #dce3ff; color: var(--pine); }
:where(a, button, input, select, summary):focus-visible { outline-color: var(--focus); }
.preview-strip { background: var(--sage); border-bottom: 1px solid var(--line); color: #000000; font-size: 13px; }
.preview-strip > div { max-width: var(--content); margin: auto; padding: 8px var(--gutter); display: flex; justify-content: space-between; gap: 20px; }
.masthead { padding-block: 23px; border-bottom: 0; min-height: 96px; }
.brand { gap: 0; }
.brand-name { color: var(--ink); font-size: 29px; font-weight:700; letter-spacing: .035em; }
.brand-period { color: #2548cc; }
.brand-sub { margin-left: 24px; padding-left: 24px; font-size: 15px; }
.masthead nav { gap: 30px; }
.masthead nav a[aria-current] { text-decoration: underline; text-underline-offset: 7px; }
.hero { display: block; padding-top: 68px; padding-bottom: 62px; border-top: 1px solid var(--line); }
h1 { max-width: 1110px; font-size: clamp(62px, 6.67vw, 96px); line-height: 1.035; letter-spacing: -.038em; margin: 0; }
h1 > span { color: var(--pine); }
.hero-lower { display: grid; grid-template-columns: minmax(0, 720px) auto; gap: 64px; align-items: start; margin-top: 34px; }
.hero-description { font-size: 21px; line-height: 1.55; max-width: 62ch; margin: 0; }
.primary-link { min-height: 56px; padding: 14px 23px; gap: 42px; color: var(--light); background: var(--pine); font-weight:700; }
.primary-link:hover { background: var(--blue-hover); color: var(--light); }
.preview-note { margin-top: 30px; font-size: 14px; }
.collection-context { max-width: var(--content); margin: auto; padding-inline: var(--gutter); }
.collection-context .notice { padding: 30px 0 32px; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 7vw, 90px); border-bottom: 0; }
.notice h2 { font-size: 36px; line-height: 1.14; }
.notice p { max-width: 68ch; }
.assessment-guide { border-block: 1px solid var(--line); padding: 0; }
.assessment-guide > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding-block: 14px; font-size: 18px; font-weight:700; cursor: pointer; list-style: none; }
.assessment-guide > summary::-webkit-details-marker { display: none; }
.assessment-guide > summary svg { transition: transform .2s ease-out; }
.assessment-guide[open] > summary svg { transform: rotate(180deg); }
.assessment-guide dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 0; }
.assessment-guide dl > div { grid-template-columns: 145px 1fr; gap: 15px; align-items: start; }
.assessment-guide > p { margin: 0 0 24px; max-width: 72ch; }
.atlas-section { padding-top: 64px; padding-bottom: 80px; }
.section-heading { align-items: start; margin-bottom: 28px; }
.section-heading h2 { font-size: clamp(35px, 3.3vw, 48px); line-height: 1.12; letter-spacing: -.03em; }
.section-heading > p { max-width: 48ch; font-size: 18px; }
.metrics { padding-block: 19px; gap: 16px 30px; }
.metric strong { font-size: 30px; font-weight:700; }
.metric span { color: var(--muted); }
.counts-note { margin-bottom: 30px; }
.toolbar { background: var(--sage); padding: 26px; gap: 18px; }
.toolbar input, .toolbar select { background: var(--paper); border-color: #777777; }
.list-heading { padding-block: 28px 16px; border-color: var(--pine); }
.case-row { padding-block: 34px 36px; grid-template-columns: 34px minmax(0, 1fr) 190px; gap: 28px; }
.case-number { color: #555555; }
.case-meta { font-size: 13px; letter-spacing: .02em; margin-bottom: 12px; }
.case-title { font-size: 30px; line-height: 1.25; font-weight:700; letter-spacing: -.02em; }
.case-summary { margin-top: 16px; line-height: 1.65; max-width: 68ch; }
.case-side { padding-top: 2px; gap: 28px; }
.severity-tag { font-size: 14px; font-weight:700; padding: 5px 9px; }
.severity-tag.major { color: #7a3332; background: #f2e5df; }
.severity-tag.minor { color: #000000; background: #eeeeee; }
.severity-tag.needs_evidence { color: #62513e; background: #eee7d9; }
.severity-tag.no_issue_found { color: #000000; background: #edf1ff; }
.outcome-tag.candidate_issue { background: var(--sage); color: var(--pine); }
.open-case { font-weight:700; }
.approach { padding-top: 64px; padding-bottom: 68px; color: var(--light); }
.approach h2 { font-size: 44px; line-height: 1.14; }
.principles li { border-color: #9caef4; }
footer { max-width: none; padding: 42px max(var(--gutter), calc((100% - 1248px) / 2)); background: var(--pine); color: var(--light); border-top: 1px solid #9caef4; }
.footer-brand { font-size: 48px; letter-spacing: .01em; }
.footer-brand span, footer p, .font-licenses { color: var(--dark-muted); }
footer a:hover { color: #fff; }
footer a:focus-visible { outline-color: #ffffff; }
dialog { width: min(1080px, calc(100% - 48px)); background: var(--paper); box-shadow: 0 18px 64px #00000033; }
dialog::backdrop { background: #000000b3; }
.dialog-top { background: var(--pine); color: var(--light); padding: 12px 34px; }
.dialog-top button:hover { background: var(--blue-hover); }
.dialog-top button:focus-visible { outline-color: #ffffff; }
#detail-content { padding: 36px 52px 48px; }
#detail-title { font-size: 42px; font-weight:700; line-height: 1.18; }
.problem-notes { max-width: 72ch; font-size: 19px; line-height: 1.75; }
.case-problem { border-color: var(--pine); }
.case-problem .source-citation { color: var(--muted); }
.supporting-record > summary { color: var(--pine); }
.detail-links a, .detail-links button { border-color: #777777; }
.math-display { scrollbar-color: #777777 var(--paper); }
@media (max-width: 1080px) {
  .hero-lower { gap: 36px; grid-template-columns: minmax(0, 1fr) auto; }
  .hero-description { font-size: 20px; }
  .brand-sub { display: none; }
  .assessment-guide dl { display: block; }
  .case-row { grid-template-columns: 28px minmax(0, 1fr) 170px; gap: 20px; }
}
@media (max-width: 760px) {
  :root { --gutter: 26px; }
  .preview-strip > div { gap: 14px; font-size: 12px; }
  .preview-strip > div > span:last-child { text-align: right; }
  .masthead { min-height: auto; padding-block: 16px; gap: 10px 24px; }
  .brand-name { font-size: 27px; }
  .masthead nav { gap: 0 24px; flex-wrap: wrap; }
  .hero { padding-block: 44px 42px; }
  h1 { font-size: clamp(52px, 9.7vw, 72px); line-height: 1.055; letter-spacing: -.035em; }
  .hero-lower { display: block; margin-top: 26px; }
  .hero-description { font-size: 19px; line-height: 1.6; }
  .hero-lower .primary-link { margin-top: 26px; }
  .preview-note { margin-top: 24px; }
  .collection-context .notice { grid-template-columns: 1fr; gap: 20px; padding-block: 28px; }
  .notice h2 { font-size: 34px; }
  .assessment-guide dl > div { grid-template-columns: 1fr; gap: 8px; }
  .atlas-section { padding-block: 44px 54px; }
  .section-heading { gap: 18px; }
  .toolbar { padding: 20px; }
  .case-row { grid-template-columns: 3ch minmax(0, 1fr); gap: 12px; padding-block: 28px 30px; }
  .case-title { font-size: 26px; }
  .case-side { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
  .approach { padding-block: 48px 52px; }
  .approach h2 { font-size: 36px; }
  footer { padding-block: 36px; }
  dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .dialog-top { padding: 10px 18px; }
  #detail-content { padding: 26px 24px 34px; }
  #detail-title { font-size: 31px; }
}
@media (max-width: 480px) {
  :root { --gutter: 24px; }
  .masthead nav { width: 100%; gap: 0 22px; font-size: 15px; }
  .brand-sub { display: inline; font-size: 13px; margin-left: 18px; padding-left: 18px; }
  .brand-name { font-size: 25px; }
  h1 { font-size: clamp(47px, 12.8vw, 60px); line-height: 1.065; }
  .hero-description { font-size: 18px; line-height: 1.58; }
  .notice p, .section-heading > p { font-size: 17px; }
  .primary-link { min-height: 54px; font-size: 16px; padding: 13px 19px; gap: 28px; }
  .metric { flex-basis: calc(50% - 16px); }
  .metric.total { flex-basis: 100%; }
  .metric strong { font-size: 27px; }
  .metric span { font-size: 14px; }
  .toolbar { padding: 18px; }
  .case-title { font-size: 25px; }
  .case-summary { font-size: 16px; }
  .problem-notes { font-size: 18px; }
  #detail-content { padding-inline: 20px; }
  #detail-title { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Blue academic presentation: content, document order and behavior are unchanged. */
:root {
  --blue: #2548cc; --blue-hover: #1735a5; --pine: var(--blue);
  --paper: #fff; --ink: #000; --muted: #000; --line: #c5c5c5;
  --sage: #edf1ff; --light: #fff; --dark-muted: #fff; --focus: var(--blue);
  --serif: "Times New Roman", Times, serif; --sans: Arial, Helvetica, sans-serif;
}
body { font-family: var(--serif); color: #000; }
h1, h2, h3 { color: #000; font-weight: 700; letter-spacing: -.02em; }
nav, button, input, select, textarea, label, legend, summary, .button,
.brand, .primary-link, .text-link, .quiet-link, .preview-strip, .review-status,
.evidence-thread, .collection-caption, .about-signature, .footer-bottom, .footer-note {
  font-family: var(--sans);
}
.brand { gap: 12px; }
.brand::before { content: "E"; width: 38px; height: 40px; flex: 0 0 38px;
  display: grid; place-items: center; background: var(--blue); color: #fff;
  font: 700 30px/1 Arial, Helvetica, sans-serif; letter-spacing: 0; }
.brand-name { color: #000; font-family: var(--sans); font-weight: 700; }
.brand-description, .brand-sub { color: #000; }
.hero h1 span, h1 > span { color: #000; }
.preview-strip { background: var(--blue); color: #fff; border-color: var(--blue); }
.preview-strip a:hover { color: #fff; }
.preview-strip a:focus-visible { outline-color: #fff; }
.preview-strip a { color: #fff; }
.footer, footer { background: var(--blue); color: #fff; }
.footer a, footer a, .footer p, footer p, .footer-note, .footer-bottom > p,
.footer-brand, .footer-top > p, .font-licenses { color: #fff; }
.footer-brand { font-family: var(--sans); }
::selection { background: #dce3ff; color: #000; }
:where(input, textarea) { caret-color: #2548cc; }
:where(input, textarea)::placeholder { color: #444; opacity: 1; }
@media(max-width:480px) {
  .brand { gap: 10px; }
  .brand::before { width: 32px; height: 34px; flex-basis: 32px; font-size: 26px; }
  .brand-description, .brand-sub { padding-left: 10px; margin-left: 0; }
}

/* Reading stays serif; filtering, metadata and controls stay Arial. */
.case-title, .case-summary, .problem-notes, .case-problem, .source-citation {
  font-family: var(--serif); color: #000;
}
.masthead, .toolbar, .filters, .filter, .metric, .case-meta, .case-foot,
.tag, .badge, .label, .detail-status, .detail-links, .dialog-top,
.assessment-guide > summary, .assessment-guide dt, .preview-note {
  font-family: var(--sans);
}
.dialog-top { background: var(--blue); color: #fff; }
.dialog-top button, .dialog-top a { color: #fff; }
dialog::backdrop { background: #000000b3; }
.case-title { font-weight: 700; }
.brand-sub { margin-left: 0; }
.approach { --dark-muted: #000; background: #edf1ff; color: #000; }
.approach h2, .approach h3, .approach p, .approach li { color: #000; }
.severity-tag, .outcome-tag { color: #000; }

/* Pagination remains alongside the existing list context, outside the filters. */
.visitor-notice { margin: 4px 0 28px; padding: 18px 22px; border: 2px solid #b42318; background: #edf1ff; color: #000; }
.visitor-notice p { margin: 0; font: 700 17px/1.6 var(--serif); max-width: 76ch; }
.visitor-notice a { color: #000; text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
.case-visitor-note { margin: 20px 28px 0; }
@media(max-width:760px) { .visitor-notice { padding: 16px 18px; } .visitor-notice p { font-size: 16px; } }

/* Search and records precede detailed interpretation guidance. */
.masthead { padding-block: 16px; min-height: 80px; }
.hero.atlas-intro { padding-top: 20px; padding-bottom: 4px; }
.atlas-intro h1 { font-size: clamp(34px, 3vw, 44px); line-height: 1.12; max-width: none; }
.atlas-intro .hero-description { font-size: 19px; margin-top: 12px; }
.reading-status { font-size: 15px; line-height: 1.5; max-width: 100ch; margin: 10px 0 0; }
.atlas-section { padding-top: 14px; }
.records-title { font-size: 22px; line-height: 1.2; margin: 0 0 10px; }
.atlas-section .toolbar { padding: 16px; }
.atlas-section .toolbar .field-label { flex-basis: 180px; }
.atlas-section .list-heading { padding: 14px 0 10px; }
.atlas-section .pagination { padding: 10px 0; }
.visitor-notice { border: 0; padding: 10px 0; background: transparent; margin: 0; }
.visitor-notice p { font: 400 15px/1.5 var(--serif); max-width: none; }
.visitor-notice a { white-space: normal; }
.reading-context { padding-bottom: 28px; scroll-margin-top: 100px; }
.reading-context h2 { font-size: 30px; }
.reading-context > p { max-width: 82ch; font-size: 17px; }
@media(max-width:760px) {
  .hero.atlas-intro { padding-top: 24px; padding-bottom: 4px; }
  .atlas-section { padding-top: 20px; }
  .atlas-section .toolbar { gap: 12px; padding: 14px; }
  .atlas-section .toolbar label { flex-basis: calc(50% - 12px); }
  .atlas-section .toolbar .field-label { flex-basis: 100%; }
  .atlas-section .toolbar .search-label { flex-basis: 100%; }
}
.list-heading { align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.list-heading #result-count { margin-right: auto; }
.page-size-control { display: inline-flex; align-items: center; gap: 12px; font: 400 15px/1.4 var(--sans); }
.page-size-control select { min-height: 44px; min-width: 68px; padding: 8px 10px; border: 1px solid #777; border-radius: 0; background: var(--paper); color: var(--ink); }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 18px; padding: 16px 0; font: 400 15px/1.4 var(--sans); }
.pagination button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--blue); border-radius: 0; background: var(--paper); color: var(--blue); font-weight: 700; }
.pagination button:hover:enabled { background: var(--blue); color: #fff; }
.pagination button:disabled { border-color: #c5c5c5; background: #f3f3f3; color: #666; cursor: default; }
.pagination span { font-variant-numeric: tabular-nums; }
.pagination-bottom { border-top: 1px solid var(--line); padding-top: 22px; }
@media (max-width: 760px) {
  .list-heading #result-count { flex-basis: 100%; }
  .list-heading .sort-caption { display: none; }
  .pagination { justify-content: space-between; gap: 10px; }
  .pagination button { padding-inline: 12px; }
}

/* Public reading hierarchy: title navigation, visible status and a single download. */
.case-row { grid-template-columns: 74px minmax(0, 1fr) 240px; gap: 30px; }
.case-number { color: #111; font-size: 44px; line-height: 1.1; font-weight: 800; padding-top: 2px; }
.case-side { display: flex; justify-content: center; align-items: flex-start; }
.case-side > div { width: 100%; }
.case-side .severity-tag { font-size: 27px; line-height: 1.15; font-weight: 750; padding: 10px 15px; }
.case-state { margin: 24px 0 0; color: #b42318; font-family: "Source Sans 3", sans-serif; font-size: 19px; line-height: 1.4; font-weight: 650; }
.detail-publication { font-size: 27px; line-height: 1.3; font-weight: 750; margin-bottom: 20px; color: #111; }
#detail-content > .severity-tag { font-size: 27px; line-height: 1.2; font-weight: 750; padding: 10px 16px; }
.detail-citation { margin: 24px 0 40px; max-width: 90ch; font-size: 19px; line-height: 1.65; overflow-wrap: anywhere; }
.detail-citation a { text-underline-offset: 3px; }
.detail-download { display: flex; justify-content: flex-start; margin-top: 42px; padding-top: 30px; border-top: 1px solid #ccc; }
.detail-download a { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 64px; padding: 18px 30px; color: #fff; background: #2548cc; font-family: "Source Sans 3", sans-serif; font-size: 20px; font-weight: 700; text-decoration: none; }
.detail-download a:hover { background: #1836ab; }
.detail-download a:focus-visible { outline: 3px solid #111; outline-offset: 4px; }
.evidence-files-note { color: #485264; font: 15px/1.5 var(--sans, sans-serif); margin: 12px 0 20px; }
/* Reader-first discovery: keep secondary filters available without filling the screen. */
.atlas-section .toolbar { display: grid; grid-template-columns: minmax(240px, 2.2fr) minmax(180px, 1fr) minmax(185px, 1fr) auto auto; gap: 14px; align-items: end; padding: 0; border: 0; background: transparent; }
.atlas-section .toolbar label { min-width: 0; }
.atlas-section .toolbar label > span { white-space: nowrap; }
@media (max-width: 1120px) and (min-width: 761px) {
  .atlas-section .toolbar { grid-template-columns: minmax(180px, 1fr) minmax(185px, 1fr) auto auto; }
  .atlas-section .toolbar .search-label { grid-column: 1 / -1; }
}
.case-revision-summary { border-left: 3px solid var(--blue); padding-left: 14px; font-family: var(--sans); font-size: 16px; }
.atlas-section .toolbar input, .atlas-section .toolbar select { width: 100%; min-height: 44px; font-size: 16px; }
.more-filters { min-width: 0; font: 400 15px/1.4 var(--sans); }
.more-filters > summary { cursor: pointer; min-height: 44px; padding: 12px 0; white-space: nowrap; text-underline-offset: 4px; }
.more-filters > summary:hover { color: var(--blue); }
.more-filters[open] { grid-column: 1 / -1; }
.more-filter-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 12px 0; max-width: 640px; }
#more-filters-count { font-variant-numeric: tabular-nums; }
.search-help { margin: 12px 0 18px; max-width: 100ch; font-size: 14px; line-height: 1.5; }
.search-help a { text-underline-offset: 3px; }
#case-list .case-row { grid-template-columns: 32px minmax(0, 1fr) 200px; gap: 22px; }
#case-list .case-number { padding-top: 8px; font: 400 14px/1.4 var(--sans); color: #454545; }
.case-side .severity-tag { font-size: 16px; padding: 6px 10px; }
#case-list .case-state { font-size: 15px; font-weight: 400; color: #454545; margin-top: 12px; }
.case-list + .empty + .pagination-bottom + .visitor-notice { margin-top: 20px; padding: 12px 0; border: 0; background: transparent; }
@media (max-width: 760px) {
  .masthead { padding-block: 12px; min-height: 68px; }
  .hero.atlas-intro { padding-top: 18px; }
  .atlas-intro h1 { font-size: 30px; }
  .atlas-intro .hero-description { margin-top: 8px; font-size: 16px; }
  .reading-status { margin-top: 8px; font-size: 13px; }
  .atlas-section { padding-top: 12px; }
  .records-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .atlas-section .toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .atlas-section .toolbar .search-label { grid-column: 1 / -1; }
  .atlas-section .toolbar label > span { font-size: 13px; margin-bottom: 4px; }
  .atlas-section .toolbar .more-filters { grid-column: 1; }
  .atlas-section .toolbar .more-filters[open] { grid-column: 1 / -1; }
  .atlas-section .toolbar #reset { justify-self: end; min-height: 44px; padding: 8px 0; font-size: 14px; }
  .search-help { margin: 8px 0 12px; font-size: 13px; }
  .list-heading { margin-block: 0; padding-block: 8px; gap: 8px 12px; }
  .list-heading #result-count { flex-basis: auto; font-size: 14px; }
  .page-size-control { gap: 6px; font-size: 13px; }
  .page-size-control > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .page-size-control select { min-width: 54px; }
  .pagination { padding: 8px 0 12px; font-size: 13px; }
  .pagination button { font-size: 13px; }
  #case-list .case-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 22px; }
  #case-list .case-number { display: none; }
  #case-list .case-side { grid-column: 1; }
  #case-list .case-side > div { gap: 10px; }
  #case-list .case-state { margin: 0; }
}
@media (max-width: 1000px) {
  #case-list .case-row { grid-template-columns: 58px minmax(0, 1fr) 190px; gap: 22px; }
  #case-list .case-number { font-size: 38px; }
  .case-side .severity-tag { font-size: 24px; }
  #case-list .case-state { font-size: 18px; }
}
@media (max-width: 760px) {
  #case-list .case-row { grid-template-columns: 52px minmax(0, 1fr); gap: 18px; }
  #case-list .case-number { font-size: 36px; }
  #case-list .case-side { grid-column: 2; justify-content: flex-start; }
  #case-list .case-side > div { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
  #case-list .case-state { margin: 0; }
  .detail-citation { font-size: 18px; }
  .detail-download a { width: 100%; }
}
@media (max-width: 760px) {
  #case-list article.case-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 22px; }
  #case-list article.case-row > .case-side { grid-column: 1; justify-content: flex-start; }
  #case-list article.case-row > .case-number { display: none; }
}
/* Solid square regions distinguish discovery controls from the reading list. */
:root { --panel-blue: #2548cc; --panel-wash: #edf1ff; --panel-neutral: #f3f3f0; }
.hero.atlas-intro { width: calc(100% - 2 * var(--gutter)); max-width: 1264px; margin: 20px auto 16px; padding: 28px; background: var(--panel-blue); color: #fff; }
.hero.atlas-intro h1, .hero.atlas-intro .hero-description { color: #fff; }
.hero.atlas-intro .hero-description { font-size: 18px; margin-top: 10px; }
.atlas-section .toolbar { background: var(--panel-neutral); padding: 20px; }
.search-help-compact { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.atlas-section .list-heading { margin-top: 18px; }
.assessment-guide { background: var(--panel-neutral); padding: 18px 24px; border: 0; }
@media (max-width: 760px) {
  .hero.atlas-intro { margin-top: 16px; padding: 22px; }
  .hero.atlas-intro h1 { font-size: 31px; }
  .hero.atlas-intro .hero-description { font-size: 17px; }
  .atlas-section .toolbar { padding: 18px; }
  .atlas-section .list-heading { margin-top: 12px; }
}
