@layer reset, base, layout, components, responsive, print;
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
  body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
  img, svg { display: block; max-width: 100%; }
  button, a { -webkit-tap-highlight-color: transparent; }
  button { font: inherit; }
}
@layer base {
  :root { color-scheme: light; --ink: #172623; --muted: #53615c; --paper: #f6f6ef; --white: #fff; --line: #ccd3ca; --dark: #070c0b; --accent: #66eed0; --teal: #176951; --review: #82551e; --serif: Georgia, 'Times New Roman', serif; --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
  body { background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); text-rendering: optimizeLegibility; }
  a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
  a:hover { text-decoration-thickness: 2px; }
  button { cursor: pointer; }
  button:disabled { cursor: default; opacity: .6; }
  a, button, summary { touch-action: manipulation; }
  :focus-visible { outline: 3px solid #b05b0a; outline-offset: 5px; border-radius: 2px; }
  .dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
  ::selection { background: #b0e8d6; color: #102a22; }
  h1, h2, h3 { font-weight: 400; }
  h1, h2 { font-family: var(--serif); line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }
  h1 { font-size: clamp(2.8rem, 5.4vw, 5.2rem); }
  h2 { font-size: clamp(2rem, 3.4vw, 3.3rem); }
  h3 { font-size: 1.3rem; line-height: 1.35; }
  p { text-wrap: pretty; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .skip-link { position: fixed; top: -100px; left: 20px; z-index: 30; background: var(--accent); color: #081e18; padding: 12px 20px; }
  .skip-link:focus { top: 16px; }
  .eyebrow { font-size: .69rem; line-height: 1.5; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
  .section { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
  .large-copy { font-size: 1.1rem; color: var(--muted); line-height: 1.85; }
  .text-link { display: inline-flex; align-items: center; gap: 1.5rem; font-weight: 550; text-decoration: none; border-bottom: 1px solid currentColor; padding-block: 12px 7px; min-height: 44px; }
  .text-link:hover { color: var(--teal); }
  .text-link span { font-size: 1.3rem; }
  .button { display: inline-flex; justify-content: center; align-items: center; gap: 1.7rem; min-height: 52px; padding: 12px 20px; border: 1px solid var(--accent); border-radius: 3px; color: #06291f; background: var(--accent); font-size: .88rem; font-weight: 600; text-decoration: none; }
  .button:hover { background: #98f6df; }
  .button.secondary { background: transparent; color: #eff8f3; border-color: #75817a; }
  .button.secondary:hover { border-color: var(--accent); color: var(--accent); }
  .button span { font-size: 1.25rem; line-height: 1; }
}
@layer layout {
  .site-header { background: var(--dark); color: #f4f7f2; }
  .header-inner { width: min(1328px, calc(100% - 80px)); margin: auto; min-height: 96px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #2a3430; gap: 32px; }
  .wordmark { font-size: 1.6rem; font-weight: 700; letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
  .wordmark span { color: var(--accent); }
  .wordmark .brand-period { color: #f4f7f2; }
  .brand-lockup { display: flex; align-items: center; gap: 15px; }
  .release-label { font-size: .6rem; letter-spacing: .07em; text-transform: uppercase; color: #b9c8be; border-left: 1px solid #53615c; padding-left: 15px; white-space: nowrap; }
  .site-header nav { display: flex; gap: 32px; align-items: center; }
  .site-header nav a { display: block; padding-block: 13px; color: #c2ccc5; font-size: .82rem; text-decoration: none; }
  .site-header nav a:hover, .site-header nav a[aria-current] { color: #f5faf7; }
  .site-header nav a[aria-current] { box-shadow: inset 0 -2px var(--accent); }
  .site-footer { margin-top: 0; background: var(--dark); color: #f0f6ef; }
  .footer-inner { width: min(1240px, calc(100% - 112px)); margin: auto; display: flex; align-items: start; justify-content: space-between; gap: 40px; padding-block: 60px; }
  .footer-inner p { margin-top: 14px; color: #aabbb1; font-size: .8rem; }
  .footer-links { display: grid; gap: 10px; font-size: .85rem; }
  .footer-links a { padding-block: 5px; }
  .footer-links span { color: #aabbb1; font-size: .72rem; }
  .page-intro { padding-block: 72px 62px; }
  .page-intro .eyebrow { color: var(--teal); margin-bottom: 25px; }
  .page-intro h1 { max-width: 980px; }
  .lede { max-width: 720px; font-size: 1.12rem; line-height: 1.8; color: var(--muted); margin-top: 28px; }
}
@layer components {
  .dark { background: var(--dark); color: #f1f5ee; }
  .hero-inner { width: min(1328px, calc(100% - 80px)); min-height: 648px; margin: auto; display: grid; grid-template-columns: 1.12fr .88fr; gap: 36px; align-items: center; padding-block: 65px 58px; }
  .hero-copy { position: relative; z-index: 1; }
  .hero .eyebrow { color: #a9bab0; margin-bottom: 31px; }
  .hero h1 { font-size: clamp(3.4rem, 5.8vw, 6rem); line-height: 1.035; letter-spacing: -.045em; }
  .hero h1 em { color: var(--accent); font-weight: 400; white-space: nowrap; }
  .hero-description { max-width: 500px; margin-top: 30px; font-size: 1rem; line-height: 1.9; color: #b9c8be; }
  .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
  .hero-art { width: 100%; align-self: center; }
  .hero-art img { width: 100%; height: auto; mix-blend-mode: screen; }
  .hero-art figcaption { margin-top: 8px; text-align: center; color: #a9bab0; font-size: .68rem; letter-spacing: .03em; }
  .hero-bottom { width: min(1328px, calc(100% - 80px)); margin: auto; padding-block: 25px 28px; border-top: 1px solid #2a3430; display: flex; gap: 24px; justify-content: space-between; font-size: .72rem; color: #a9bab0; }
  .hero-bottom a { color: #ecf7f0; text-decoration: none; }
  .hero-bottom a span { margin-left: 30px; }
  .intro-section { padding-block: 100px 92px; }
  .intro-section .eyebrow { color: var(--teal); margin-bottom: 28px; }
  .intro-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 90px; }
  .intro-grid h2 { font-size: clamp(2.4rem, 3.5vw, 3.5rem); }
  .editorial-row { border-top: 1px solid var(--line); padding-block: 40px; display: grid; grid-template-columns: .15fr 1fr 1fr; gap: 40px; align-items: start; }
  .section-number { font: .78rem/1.6 var(--sans); color: var(--teal); letter-spacing: .08em; padding-top: 6px; }
  .editorial-row .eyebrow { color: var(--muted); margin-bottom: 17px; }
  .editorial-row h2 { font-size: 2.35rem; }
  .editorial-row p:not(.eyebrow) { color: var(--muted); line-height: 1.85; margin-bottom: 17px; max-width: 490px; }
  .paths { padding-bottom: 62px; }
  .earth-band { border-top: 1px solid var(--line); padding-block: 64px 85px; text-align: center; }
  .earth-band .eyebrow { color: var(--teal); margin-bottom: 24px; }
  .earth-statement { font: 2.6rem/1.2 var(--serif); letter-spacing: -.035em; margin-bottom: 20px; }
  .essay-topbar { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 40px; border-bottom: 1px solid var(--line); }
  .essay-topbar .eyebrow { color: var(--teal); }
  .download-link { min-height: 44px; padding-block: 10px; font-size: .8rem; }
  .essay-layout { display: grid; grid-template-columns: 248px minmax(0, 740px); gap: 76px; align-items: start; padding-block: 64px 100px; }
  .essay-sidebar { position: sticky; top: 30px; }
  .essay-sidebar summary { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; cursor: pointer; padding-block: 11px; }
  .essay-sidebar ol { list-style: none; margin: 15px 0 0; padding: 0; }
  .essay-sidebar li a { display: block; font-size: .8rem; padding: 8px 0; line-height: 1.5; color: var(--muted); text-decoration: none; }
  .essay-sidebar li a:hover { color: var(--teal); text-decoration: underline; }
  .essay-sidebar .toc-level-3 a { padding-left: 14px; border-left: 1px solid var(--line); font-size: .75rem; }
  .edition-note { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .69rem; color: var(--muted); line-height: 1.8; }
  .essay-prose { font: 1.17rem/1.86 var(--serif); overflow-wrap: break-word; }
  .essay-prose h1 { font-size: clamp(2.8rem, 4.6vw, 4.5rem); margin-bottom: 22px; }
  .essay-prose h1 + h2 { font-size: 1.55rem; line-height: 1.4; letter-spacing: -.02em; margin: 0 0 22px; color: var(--muted); }
  .essay-prose h1 + h2 + p { font: .82rem/1.6 var(--sans); color: var(--teal); margin-bottom: 47px; }
  .essay-prose h2 { font-size: 2.35rem; margin-top: 62px; margin-bottom: 25px; padding-top: 24px; border-top: 1px solid var(--line); line-height: 1.2; }
  .essay-prose h1 + h2 { border: 0; padding: 0; }
  .essay-prose h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 650; margin-block: 34px 20px; }
  .essay-prose p { margin-block: 0 24px; }
  .essay-prose strong { font-weight: 700; }
  .essay-prose blockquote { margin: 30px 0; border-left: 3px solid var(--teal); padding: 6px 0 6px 25px; font-size: 1.4rem; line-height: 1.65; }
  .essay-prose blockquote p { margin: 0; }
  .essay-next { border-top: 1px solid var(--line); padding-block: 65px; display: flex; gap: 40px; justify-content: space-between; align-items: center; }
  .essay-next .eyebrow { color: var(--teal); margin-bottom: 16px; }
  .essay-next h2 { font-size: 2.6rem; }
  .essay-next p:not(.eyebrow) { margin-top: 14px; max-width: 610px; color: var(--muted); }
  .essay-next .button { flex-shrink: 0; border-color: var(--teal); }
  .research-layers { padding-bottom: 45px; }
  .research-layers .editorial-row { grid-template-columns: .15fr .85fr 1.1fr; }
  .research-layers h2 { max-width: 300px; }
  .lineage { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-block: 70px 85px; border-top: 1px solid var(--line); }
  .lineage .eyebrow { color: var(--teal); margin-bottom: 24px; }
  .lineage h2 { margin-bottom: 23px; }
  .version-ledger > div { padding-block: 20px; border-bottom: 1px solid var(--line); }
  .version-ledger > div:first-child { padding-top: 0; }
  .version-ledger dt { display: flex; gap: 20px; align-items: baseline; font-weight: 600; }
  .version-ledger dt span { flex: 0 0 108px; font-size: .8rem; font-weight: 500; color: var(--teal); }
  .version-ledger dd { margin-top: 9px; margin-left: 128px; font-size: .84rem; color: var(--muted); }
  .scope-note { border-top: 1px solid var(--line); padding-block: 38px 62px; }
  .scope-note h2 { font-size: 2rem; margin-bottom: 16px; }
  .scope-note p { max-width: 830px; color: var(--muted); }
  .source-label { margin-top: 23px; color: var(--teal); font-size: .77rem; }
  .demo-intro { padding-bottom: 38px; }
  .demo-intro h1 { font-size: clamp(2.7rem, 4.9vw, 4.5rem); }
  .demo-workbench { display: grid; grid-template-columns: 1.25fr 1fr; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
  .graph-panel { background: #0d211c; color: #eff7f1; padding: 28px 26px 22px; }
  .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .panel-heading h2 { font: 500 .94rem/1.4 var(--sans); letter-spacing: 0; }
  .live-label { color: #b5c8bc; font-size: .66rem; }
  .dependency-graph { width: 100%; margin-top: 27px; }
  .graph-column { fill: #bed2c5; font: 10px var(--sans); letter-spacing: 1.8px; }
  .graph-edge { fill: none; stroke: #66eed0; stroke-width: 2; color: #66eed0; }
  .graph-edge.is-inactive { stroke: #afbdaf; color: #afbdaf; stroke-dasharray: 5 7; opacity: .75; }
  .branch-divider { stroke: #53675e; stroke-dasharray: 2 6; }
  .graph-node circle { fill: #133c2f; stroke: #66eed0; stroke-width: 2; }
  .graph-node.is-inactive circle { fill: #302a1e; stroke: #f0c989; stroke-dasharray: 4 4; }
  .node-id { fill: #e6fff2; font: 24px var(--serif); }
  .node-status { fill: #c1edda; font: 11px var(--sans); }
  .is-inactive .node-status { fill: #f0c989; }
  .graph-legend { display: flex; gap: 24px; flex-wrap: wrap; font-size: .63rem; color: #c8d9cf; margin-top: 12px; }
  .graph-legend span:last-child { color: #f0c989; }
  .evidence-panel { padding: 34px; background: #fdfdf8; }
  .evidence-panel .eyebrow { color: var(--teal); margin-bottom: 16px; }
  .evidence-panel h2 { font-size: 2.3rem; }
  .evidence-panel > p:not(.eyebrow) { font-size: .85rem; color: var(--muted); margin-top: 17px; }
  .evidence-panel .active-evidence { font-weight: 550; color: var(--ink); padding-top: 10px; }
  .root-controls { margin-top: 17px; border-top: 1px solid var(--line); }
  .root-control { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; min-height: 70px; border-bottom: 1px solid var(--line); }
  .root-token { font: 1.4rem var(--serif); }
  .root-control > span:nth-child(2) { font-size: .77rem; color: var(--muted); }
  .root-control button { border: 1px solid #738c7e; color: #173d2e; background: transparent; font-size: .76rem; min-height: 44px; border-radius: 3px; padding: 8px 13px; min-width: 112px; }
  .root-control button:hover { background: #e6f6ec; border-color: var(--teal); }
  .root-control button.is-absent { border-style: dashed; color: #685637; }
  .reset-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--ink); min-height: 45px; margin-top: 20px; background: #f1f2e8; border: 1px solid #a3b0a2; border-radius: 3px; font-size: .78rem; }
  .reset-button:hover { background: #e5e9da; }
  .evidence-panel .local-note { text-align: center; font-size: .68rem !important; }
  .event-summary { margin-block: 15px 55px; padding: 17px 20px; background: #e4efe4; border-left: 3px solid var(--teal); font-size: .86rem; }
  .event-summary.has-review { background: #f3ebd9; border-color: var(--review); }
  .section-heading { display: flex; align-items: baseline; gap: 22px; margin-bottom: 27px; }
  .section-heading h2 { font-size: 2.2rem; }
  .table-wrap { width: 100%; }
  .claim-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .83rem; table-layout: fixed; }
  .claim-table th, .claim-table td { border-bottom: 1px solid var(--line); padding: 19px 18px; vertical-align: top; }
  .claim-table thead th { font-size: .67rem; text-transform: uppercase; letter-spacing: .075em; font-weight: 500; color: var(--muted); border-top: 1px solid var(--line); }
  .claim-table th:first-child { width: 9%; padding-left: 0; }
  .claim-table th:nth-child(2), .claim-table th:nth-child(3) { width: 23%; }
  .claim-table tbody th { font: 1.35rem var(--serif); }
  .status-chip { display: inline-block; white-space: nowrap; }
  .status-chip.supported { color: var(--teal); }
  .status-chip.review { color: var(--review); }
  .reason-cell { color: var(--muted); }
  .definition-note { font-size: .8rem; color: var(--muted); margin-top: 20px; }
  .comparison-section { padding-top: 60px; }
  .section-description { max-width: 760px; color: var(--muted); font-size: .92rem; }
  .comparison-event { margin-top: 23px; font-size: .8rem; font-weight: 550; }
  .comparison-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 19px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
  .procedure { padding: 26px; background: #fcfcf7; }
  .procedure + .procedure { border-left: 1px solid var(--line); }
  .procedure.support-aware { background: #e9f2e6; }
  .procedure-index { font-size: .68rem; letter-spacing: .08em; color: var(--muted); }
  .procedure h3 { font-size: 1.13rem; font-weight: 500; margin-top: 14px; min-height: 49px; }
  .procedure > p { font-size: .82rem; color: var(--muted); margin-top: 10px; min-height: 68px; }
  .procedure-results { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 15px; }
  .procedure-results dl > div { display: flex; justify-content: space-between; gap: 10px; padding-block: 6px; }
  .procedure-results dt { font: 1.2rem var(--serif); }
  .procedure-results dd { font-size: .8rem; }
  .procedure-results .supported { color: var(--teal); }
  .procedure-results .review { color: var(--review); }
  .awaiting { font-size: .77rem; color: var(--muted); }
  .history-section { padding-block: 42px; }
  .history-section h2 { font: 500 .95rem/1.5 var(--sans); letter-spacing: 0; }
  #demo-history { margin: 15px 0 0; padding: 0; list-style: none; font-size: .79rem; color: var(--muted); }
  #demo-history li { padding-block: 5px; }
  .demo-scope { font-size: .82rem; color: var(--muted); margin-top: 0; padding-bottom: 50px; }
  .notice { padding: 20px; border: 1px solid var(--review); margin-bottom: 20px; }
}
@layer responsive {
  @media (max-width: 1100px) {
    .section, .footer-inner { width: calc(100% - 72px); }
    .hero-inner { gap: 10px; min-height: 590px; }
    .hero h1 { font-size: 5.7vw; }
    .hero .actions { max-width: 290px; }
    .hero .button { width: 100%; }
    .intro-grid { gap: 45px; }
    .essay-layout { grid-template-columns: 200px minmax(0,1fr); gap: 45px; }
    .evidence-panel { padding: 28px 23px; }
    .graph-panel { padding-inline: 20px; }
    .procedure { padding: 22px; }
  }
  @media (max-width: 800px) {
    .section, .footer-inner { width: calc(100% - 48px); }
    .header-inner, .hero-inner, .hero-bottom { width: calc(100% - 48px); }
    .header-inner { min-height: 86px; gap: 20px; }
    .site-header nav { gap: 20px; }
    .hero-inner { grid-template-columns: 1fr; padding-block: 58px 35px; gap: 24px; }
    .hero h1 { font-size: clamp(3.6rem, 8.7vw, 5.5rem); }
    .hero-description { max-width: 540px; }
    .hero .actions { max-width: none; }
    .hero .button { width: auto; }
    .hero-art { max-width: 400px; margin: auto; }
    .hero-bottom { font-size: .65rem; }
    .intro-section { padding-block: 70px 50px; }
    .intro-grid { grid-template-columns: 1fr; gap: 28px; }
    .editorial-row { grid-template-columns: 30px 1fr; gap: 12px 22px; }
    .editorial-row > div:last-child { grid-column: 2; }
    .research-layers .editorial-row { grid-template-columns: 30px 1fr; }
    .editorial-row h2 { font-size: 2.15rem; }
    .earth-statement { font-size: 2.4rem; }
    .essay-layout { grid-template-columns: minmax(0,1fr); padding-top: 30px; gap: 36px; }
    .essay-sidebar { position: static; }
    .essay-sidebar details { padding-block: 6px 15px; border-bottom: 1px solid var(--line); }
    .essay-sidebar ol { columns: 2; gap: 25px; margin-top: 10px; }
    .essay-sidebar li { break-inside: avoid; }
    .essay-sidebar .edition-note { display: none; }
    .essay-prose { max-width: 680px; margin: auto; font-size: 1.1rem; }
    .essay-next { display: block; }
    .essay-next .button { margin-top: 25px; }
    .lineage { grid-template-columns: 1fr; gap: 40px; }
    .demo-workbench { grid-template-columns: 1fr; }
    .dependency-graph { max-width: 560px; margin-inline: auto; }
    .graph-panel { padding: 25px; }
    .evidence-panel { padding: 30px; }
    .comparison-grid { grid-template-columns: 1fr; }
    .procedure + .procedure { border-left: 0; border-top: 1px solid var(--line); }
    .procedure h3, .procedure > p { min-height: auto; }
    .procedure-results dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .procedure-results dl > div { flex-direction: column; gap: 0; }
    .page-intro { padding-block: 48px 42px; }
  }
  @media (max-width: 520px) {
    .section, .footer-inner, .header-inner, .hero-inner, .hero-bottom { width: calc(100% - 40px); }
    .header-inner { flex-wrap: wrap; justify-content: space-between; padding-block: 18px 7px; gap: 8px; }
    .wordmark { font-size: 1.48rem; }
    .site-header nav { width: 100%; gap: 0; justify-content: space-between; }
    .site-header nav a { font-size: .73rem; padding-block: 12px; min-height: 44px; }
    .hero-inner { padding-block: 43px 32px; }
    .hero .eyebrow { font-size: .57rem; letter-spacing: .11em; margin-bottom: 24px; }
    .hero h1 { font-size: clamp(2.75rem, 10.4vw, 4.6rem); }
    .hero-description { font-size: .91rem; line-height: 1.8; margin-top: 25px; }
    .actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
    .hero .button { width: 100%; min-height: 49px; justify-content: space-between; }
    .hero-art { width: 94%; max-width: 340px; }
    .hero-art figcaption { font-size: .6rem; }
    .hero-bottom { display: block; padding-block: 19px 22px; }
    .hero-bottom > span { display: block; margin-bottom: 10px; }
    .hero-bottom a { display: inline-flex; min-height: 32px; align-items: center; }
    .intro-grid h2 { font-size: 2.4rem; }
    .large-copy { font-size: 1rem; }
    .editorial-row { column-gap: 12px; }
    .editorial-row h2 { font-size: 2rem; }
    .editorial-row p:not(.eyebrow) { font-size: .93rem; }
    .earth-band { padding-block: 45px 62px; }
    .earth-statement { font-size: 2rem; }
    .footer-inner { display: block; padding-block: 40px; }
    .footer-links { margin-top: 28px; }
    .footer-links a { min-height: 44px; display: flex; align-items: center; gap: 20px; }
    .essay-topbar { align-items: start; flex-direction: column; gap: 10px; padding-block: 25px 20px; }
    .essay-sidebar ol { columns: 1; }
    .essay-prose h1 { font-size: 2.8rem; }
    .essay-prose h2 { font-size: 2rem; }
    .essay-prose h1 + h2 { font-size: 1.25rem; }
    .essay-prose blockquote { font-size: 1.2rem; padding-left: 18px; }
    .page-intro h1 { font-size: 2.8rem; }
    .page-intro h1 br { display: none; }
    .lede { font-size: 1rem; margin-top: 22px; }
    .lineage { padding-block: 48px; }
    .version-ledger dt { display: grid; gap: 6px; }
    .version-ledger dd { margin-left: 0; }
    .source-label { font-size: .67rem; }
    .graph-panel { padding: 22px 12px; }
    .panel-heading { gap: 10px; padding-inline: 4px; }
    .panel-heading h2 { font-size: .83rem; }
    .live-label { font-size: .57rem; }
    .dependency-graph { margin-top: 25px; }
    .node-status { font-size: 20px; }
    .node-id { font-size: 32px; }
    .graph-column { font-size: 17px; }
    .graph-legend { gap: 8px 14px; font-size: .65rem; padding-inline: 4px; }
    .evidence-panel { padding: 27px 18px; }
    .evidence-panel h2 { font-size: 2rem; }
    .root-control { gap: 8px; }
    .root-control button { min-width: 120px; padding-inline: 10px; }
    .event-summary { margin-bottom: 38px; padding-inline: 15px; }
    .section-heading { gap: 14px; align-items: start; }
    .section-heading h2 { font-size: 1.95rem; }
    .claim-table { font-size: .85rem; }
    .claim-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
    .claim-table tbody, .claim-table tr { display: block; }
    .claim-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; border-top: 1px solid var(--line); padding-block: 16px; }
    .claim-table th, .claim-table td { display: block; padding: 6px 0; border: 0; width: auto !important; }
    .claim-table tbody th { grid-column: 1 / -1; font-size: 1.5rem; }
    .claim-table td::before { content: attr(data-label); display: block; margin-bottom: 5px; font-size: .61rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
    .status-chip { white-space: normal; }
    .claim-table .reason-cell { grid-column: 1 / -1; font-size: .85rem; }
    .procedure { padding: 22px; }
    .procedure-results dl { gap: 12px; }
    .procedure-results dd { font-size: .73rem; }
    .demo-scope { font-size: .78rem; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
}
@layer print {
  @media print {
    :root { --ink: #000; --muted: #333; --paper: #fff; --line: #bbb; }
    html { scroll-behavior: auto; }
    body { background: white; color: black; font-size: 11pt; }
    .site-header, .site-footer, .skip-link, .essay-sidebar, .essay-topbar, .essay-next, .actions, .hero-art, .hero-bottom { display: none !important; }
    .section, .essay-layout, .hero-inner { width: 100%; display: block; padding: 0; margin: 0; }
    .essay-prose { font-size: 11pt; line-height: 1.6; max-width: none; }
    .essay-prose h1 { font-size: 28pt; }
    .essay-prose h2 { font-size: 18pt; margin-top: 22pt; }
    .essay-prose h3 { font-size: 12pt; }
    .essay-prose p { margin-bottom: 10pt; widows: 3; orphans: 3; }
    .essay-prose h1 + h2 { font-size: 15pt; }
    .essay-prose h1 + h2 + p { margin-bottom: 22pt; }
    h1, h2, h3 { break-after: avoid; }
    blockquote { break-inside: avoid; }
    .dark, .graph-panel { background: white; color: black; }
    a { text-decoration: none; }
    @page { margin: 18mm; }
  }
}
@layer components {
  .reopening-assumptions { padding-bottom: 35px; }
  .reopening-assumptions h2 { font-size: 1.7rem; }
  .reopening-assumptions ul { padding-left: 1.3rem; max-width: 900px; color: var(--muted); }
  .reopening-assumptions li + li { margin-top: .65rem; }
  .reopening-outcomes { padding: 34px; background: #e9f0e7; }
  .reopening-result { padding: 28px 0; border-bottom: 1px solid #bdcdbc; }
  .reopening-result:last-child { border-bottom: 0; padding-bottom: 10px; }
  .reopening-result .eyebrow { color: var(--teal); margin-bottom: 10px; }
  .reopening-result h3 { font: 1.1rem/1.5 var(--sans); margin-bottom: 18px; }
  .reopening-result p:not(.eyebrow, .reopening-status) { font-size: .85rem; color: var(--muted); margin-top: 12px; }
  .reopening-status { font: 1.6rem/1.2 var(--serif); color: var(--teal); }
  .reopening-status[data-status="review"], .reopening-status[data-status="insufficient_record"] { color: #795016; }
  .reopening-coverage { margin-top: 24px; }
  .reopening-coverage label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .88rem; font-weight: 600; cursor: pointer; }
  .reopening-coverage input { width: 20px; height: 20px; accent-color: var(--teal); flex-shrink: 0; }
  .reopening-coverage p { margin-top: 8px; color: var(--muted); font-size: .78rem; }
  .reopening-authority { border: 1px solid var(--line); padding: 24px 28px; margin-bottom: 50px; }
  .reopening-authority h2 { font: 600 .95rem/1.5 var(--sans); letter-spacing: 0; margin-bottom: 12px; }
  .reopening-authority p { font-size: .85rem; }
  .reopening-comparison { grid-template-columns: repeat(2, 1fr); }
  .reopening-comparison .procedure > p { min-height: 0; font-size: 1.45rem; color: var(--teal); margin-top: 25px; }
  [data-reopening-history] { padding-left: 1.2rem; color: var(--muted); font-size: .83rem; }
  [data-reopening-history] li + li { margin-top: 12px; }
  .reopening-record { border-top: 1px solid var(--line); margin-top: 24px; padding-block: 22px 45px; }
  .reopening-record summary { cursor: pointer; padding-block: 8px; }
  .reopening-record p { max-width: 780px; font-size: .86rem; color: var(--muted); margin: 16px 0; }
  .reopening-record pre { font-size: .75rem; line-height: 1.7; background: #e9eee7; padding: 24px; overflow-wrap: anywhere; white-space: pre-wrap; }
  .reopening-evidence p + p, .scope-note p + p { margin-top: 16px; }
  .reopening-prior-art { padding-bottom: 58px; }
  .reopening-prior-art h2 { font-size: 2rem; margin-bottom: 20px; }
  .reopening-prior-art .version-ledger { margin-top: 24px; }
  .reopening-prior-art .version-ledger dd { margin-left: 0; max-width: 880px; }
}
@layer responsive {
  @media (max-width: 760px) {
    .reopening-outcomes { padding: 28px 22px; }
    .reopening-comparison { grid-template-columns: 1fr; }
    .reopening-authority { padding-inline: 22px; }
  }
}

/* The companion case uses the existing reading layout. */
.case-entry { padding-block: 38px 0; max-width: 1120px; }
.case-entry .large-copy { max-width: 850px; }
.case-entry p { margin-bottom: 20px; max-width: 850px; }
.case-jumps { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-block: 24px; }
.case-jumps a { padding-block: 8px; }
.case-source-link { color: var(--muted); }
.case-prose { min-width: 0; }
.case-prose h1 + p { font: .85rem/1.6 var(--sans); color: var(--teal); }
.case-prose li { margin-bottom: 16px; }
.case-prose ul { padding-left: 1.25em; }
.case-prose a, .case-walkthrough a { overflow-wrap: anywhere; }
.case-table { width: 100%; border-collapse: collapse; table-layout: fixed; font: .93rem/1.7 var(--sans); margin-block: 28px; }
.case-table th, .case-table td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 15px 12px; overflow-wrap: anywhere; }
.case-table thead th { background: var(--paper); }
.case-table th:first-child { width: 42%; }
.case-walkthrough { max-width: 1050px; border-top: 1px solid var(--line); padding-block: 55px; }
.case-walkthrough p, .case-walkthrough ol { max-width: 760px; margin-block: 22px; line-height: 1.8; }
.case-walkthrough li { padding-bottom: 16px; }
.case-walkthrough h3 { margin-top: 38px; }
@media (max-width: 600px) {
  .site-header nav { flex-wrap: wrap; justify-content: flex-start; gap: 0 20px; }
  .case-table { font-size: .85rem; }
  .case-table th, .case-table td { padding: 12px 8px; }
  .case-jumps { gap: 0 18px; }
}
@media print { .case-entry, .case-walkthrough { display: none; } .case-table { font-size: 9pt; } }
