:root { color-scheme: light; --paper: #fcfcfa; --ink: #252b27; --muted: #59665f; --green: #175e46; --line: #cfd6d1; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 system-ui, sans-serif; letter-spacing: 0; border-top: 5px solid var(--green); }
a { color: var(--green); text-underline-offset: 3px; }
button, select { font: inherit; }
button, a, summary, select, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.masthead, main { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.masthead { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.brand { font: 600 20px/1.25 Georgia, serif; text-decoration: none; color: var(--ink); }
.back-link { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; min-height: 44px; }
img { flex-shrink: 0; vertical-align: middle; }
.review-heading { padding: 28px 0 20px; border-bottom: 3px double var(--ink); }
.eyebrow { color: var(--green); text-transform: uppercase; font-size: 12px; font-weight: 700; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.eyebrow span { color: #8c3a2f; }
h1 { font: 500 36px/1.15 Georgia, serif; margin: 0 0 12px; }
.topic { font: 21px/1.4 Georgia, serif; margin: 0 0 12px; max-width: 800px; }
.edition-line { color: var(--muted); font-size: 13px; margin: 0; }
#loadStatus { color: var(--muted); }
#loadStatus:empty { display: none; }
summary { min-height: 44px; padding: 12px 0; cursor: pointer; color: var(--green); font-size: 14px; }
.editorial-approach { border-bottom: 1px solid var(--line); }
.editorial-approach ul { padding-left: 22px; max-width: 850px; }
.editorial-approach li { margin: 10px 0; }
.scope-note { font-size: 14px; max-width: 850px; color: var(--muted); }
.review-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; padding: 24px 0; margin: 0; }
.passage-label { display: grid; gap: 5px; flex: 1 1 240px; min-width: 0; font-size: 12px; color: var(--muted); }
select { min-width: 0; width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); padding: 8px 28px 8px 10px; font-size: 16px; }
.step-controls { display: flex; gap: 4px; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; background: white; border: 1px solid var(--line); color: var(--green); border-radius: 4px; padding: 8px 14px; cursor: pointer; }
button:disabled { opacity: .4; cursor: default; }
.icon-button { width: 44px; height: 44px; padding: 0; }
.mode-switch { display: flex; min-width: 0; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.mode-switch label { position: relative; display: flex; min-width: 0; flex: 1 1 auto; cursor: pointer; }
.mode-switch label + label { border-left: 1px solid var(--line); }
.mode-switch span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; font-size: 14px; width: 100%; }
.mode-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.mode-switch input:checked + span { color: white; background: var(--green); }
.mode-switch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: -4px; }
.passage { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 36px; }
.passage > h2 { font: 600 15px/1.4 system-ui, sans-serif; margin: 0 0 18px; color: var(--muted); }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.version { min-width: 0; overflow-wrap: anywhere; }
.version-label { color: var(--muted); text-transform: uppercase; font: 700 12px/1.4 system-ui, sans-serif; margin: 0 0 14px; }
.proposed .version-label { color: var(--green); }
.version h3 { font: 600 25px/1.25 Georgia, serif; margin: 0 0 16px; }
.version h4 { font: 600 20px/1.4 Georgia, serif; margin: 22px 0 12px; }
.version p:not(.version-label) { font: 18px/1.7 Georgia, serif; margin: 0 0 18px; }
.version .dek { color: var(--muted); }
.editorial-note { border-top: 1px solid var(--line); margin-top: 16px; }
.editorial-note p { max-width: 900px; font-size: 14px; margin: 8px 0 12px; }
#comparison[data-mode="current"] .proposed, #comparison[data-mode="proposed"] .current { display: none; }
#comparison:not([data-mode="compare"]) .columns { grid-template-columns: minmax(0, 760px); }
.authorities { border-top: 3px double var(--ink); padding: 8px 0; }
.authorities li { margin-bottom: 10px; overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 0 40px; font-size: 13px; color: var(--muted); }
footer a { min-height: 44px; display: inline-flex; align-items: center; }
footer span { align-self: center; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { display: block; padding: 10px; }
@media (max-width: 760px) {
  .masthead, main { padding-left: 18px; padding-right: 18px; }
  .masthead { gap: 4px; }
  .brand { font-size: 18px; }
  h1 { font-size: 30px; }
  .topic { font-size: 19px; }
  .review-heading { padding-top: 20px; }
  .review-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .mode-switch { grid-column: 1 / -1; }
  .mode-switch span { padding: 8px 10px; }
  .columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #comparison[data-mode="compare"] .proposed { border-top: 2px solid var(--green); padding-top: 20px; }
  .version h3 { font-size: 24px; }
  .version p:not(.version-label) { font-size: 18px; line-height: 1.65; }
}
