:root { color-scheme: light; --ink: #25362e; --muted: #59685d; --paper: #f6f3ec; --white: #fffdf8; --line: #d5d9cb; --green: #263d30; --accent: #77502c; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--paper); color: var(--ink); }
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, select, input[type="checkbox"], summary { cursor: pointer; }
button { color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 5px; padding: .75rem 1rem; min-height: 44px; line-height: 1.4; text-align: left; }
button:hover:not(:disabled) { background: #e8ecdf; border-color: #84937e; }
button:disabled { cursor: default; opacity: .65; }
button.primary { color: #fffdf3; background: var(--green); border-color: var(--green); }
button.primary:hover { background: #37533f; }
button.text-button { color: var(--accent); padding: .55rem 0; border: 0; text-decoration: underline; text-underline-offset: 4px; }
button.secondary { background: var(--white); }
:focus-visible { outline: 3px solid #896424; outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 5; padding: 1rem; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 1rem; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .75rem; padding: .3rem 1rem; background: #182720; border-bottom: 1px solid #667264; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .4rem; color: #f6f3ec; font-size: .8rem; text-underline-offset: 4px; }
.masthead { background: #182720; color: #f6f3ec; padding: 2.1rem max(1.25rem, calc((100vw - 1200px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.eyebrow { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 650; }
.masthead .eyebrow { color: #c4cdbd; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 400; margin: .55rem 0 0; letter-spacing: -.035em; }
.prototype-label { color: #e4dbc4; border: 1px solid #667264; border-radius: 30px; padding: .5rem .8rem; font-size: .75rem; white-space: nowrap; }
.case-strip { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: .75rem; padding: 1.1rem 0; font-size: .8rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.case-strip strong { margin-left: .7rem; color: var(--ink); font-weight: 500; }
.case-strip span[aria-hidden] { padding-left: .7rem; }
.view-nav { max-width: 1200px; margin: 0 auto; display: flex; gap: 1.3rem; padding-top: .55rem; border-bottom: 1px solid var(--line); }
.view-nav button { border: 0; border-radius: 0; padding: .95rem .1rem; border-bottom: 3px solid transparent; color: var(--muted); }
.view-nav button[aria-current] { color: var(--green); border-bottom-color: var(--green); font-weight: 650; }
.save-strip { max-width: 1200px; margin: 0 auto; padding: .65rem 0; display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: var(--muted); font-size: .72rem; }
.save-strip button { font-size: .72rem; min-height: 36px; padding: .45rem .65rem; border: 0; text-decoration: underline; text-underline-offset: 3px; }
.notice, .warning { max-width: 1200px; margin: .5rem auto; padding: 1rem; border-left: 3px solid #738569; background: #e5eadc; font-size: .9rem; line-height: 1.6; }
.warning { background: #f3e5d1; border-color: var(--accent); }
main { max-width: 1200px; margin: 1rem auto 4rem; scroll-margin-top: 1rem; }
.reading-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 3rem; align-items: start; }
.source-sidebar { position: sticky; top: 1rem; }
.source-sidebar .eyebrow { color: var(--muted); font-family: inherit; margin: 1.7rem 0 .65rem; }
.source-sidebar button { width: 100%; border-color: transparent; padding: .6rem .75rem; font-size: .88rem; }
.source-sidebar button.selected { background: #e5eadc; border-color: #c5cebc; }
.source-sidebar small { display: block; color: var(--muted); font-size: .73rem; margin-top: .25rem; }
.source-sidebar strong { font-weight: 550; }
.reader { max-width: 790px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.65rem); letter-spacing: -.02em; line-height: 1.2; margin: .6rem 0 1.2rem; }
h3 { font-size: 1.05rem; line-height: 1.5; }
p { line-height: 1.7; }
.lead { font-family: Georgia, "Times New Roman", serif; font-size: 1.24rem; line-height: 1.65; }
.muted { color: var(--muted); font-size: .86rem; }
.briefing { padding: 1.1rem 0 2rem; }
.instructions { border-top: 1px solid var(--line); margin: 1.5rem 0; }
.instructions p { font-size: .95rem; }
.source-card { background: var(--white); padding: 1.65rem 2rem; margin: 1.3rem 0; border: 1px solid var(--line); border-radius: 6px; scroll-margin-top: 1rem; }
.source-card.record { background: #edeedf; }
.source-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-size: .66rem; }
.source-card h3 { margin: .75rem 0 1.15rem; font-weight: 550; }
.passage { font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; line-height: 1.8; margin: 0; }
.passage p { white-space: pre-line; }
.passage p:first-child { margin-top: 0; }
.passage p:last-child { margin-bottom: .65rem; }
.asked-question { color: var(--muted); font-size: .86rem; margin-bottom: 1rem; }
summary { min-height: 44px; padding: .65rem 0; }
.revision { color: var(--accent); border-left: 2px solid #ac9060; padding-left: .85rem; font-size: .85rem; }
.question-list { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: .75rem; }
.question-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.question-row button { flex: 1; background: var(--white); }
.question-row small { max-width: 145px; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.workspace-page { max-width: 800px; margin: 1.5rem auto; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; }
label { display: block; font-size: .9rem; font-weight: 550; }
select, textarea { width: 100%; background: var(--white); color: var(--ink); border: 1px solid #9ba890; border-radius: 5px; padding: .75rem; margin: .65rem 0; min-height: 44px; }
textarea { resize: vertical; line-height: 1.6; }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: 6px; margin: 1.2rem 0; padding: 1rem; }
legend { padding: 0 .5rem; font-size: 1rem; font-weight: 550; line-height: 1.5; max-width: 100%; }
.citation-list { max-height: 380px; overflow-y: auto; scrollbar-gutter: stable; }
.citation { background: var(--white); border-bottom: 1px solid var(--line); padding: .6rem .5rem; }
.citation:last-child { border-bottom: 0; }
.citation label { display: flex; align-items: start; gap: .75rem; min-height: 44px; line-height: 1.6; padding-top: .4rem; }
.citation input { flex: 0 0 auto; width: 20px; height: 20px; accent-color: var(--green); }
.citation summary { font-size: .78rem; color: var(--muted); padding-left: 2rem; }
.citation-passage { padding: .5rem 1rem; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; white-space: pre-line; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.comparison-history, .personal-notes, .hint-panel { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.comparison-card { border-left: 2px solid #829172; padding: .1rem 1rem; margin: 1rem 0; font-size: .88rem; }
.comparison-card h4 { margin-bottom: .4rem; }
.comparison-card p { margin: .5rem 0; }
.comparison-card li { line-height: 1.7; }
.hint-panel { color: var(--muted); font-size: .9rem; }
.accusation fieldset { margin: 1.8rem 0; }
#accusation-review { margin: 2rem 0; padding-top: 1rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.review-roles li, .assigned-roles li { margin: .5rem 0; line-height: 1.6; }
.review-roles a { color: var(--accent); text-underline-offset: 3px; }
.review-source { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 1rem; margin: 1rem 0; scroll-margin-top: 1rem; overflow-wrap: anywhere; }
.review-source h4 { margin: .2rem 0 .8rem; line-height: 1.6; }
.assigned-roles { color: var(--muted); font-size: .85rem; padding-left: 1.2rem; }
.evidence-return { margin-bottom: 1.5rem; }
.revision p { margin-bottom: .25rem; }
.revision button { display: block; }
.supported-result, .incomplete-result { padding: 1.3rem; background: #e5eadc; border: 1px solid #a8b49b; border-radius: 6px; margin: 1.5rem 0; }
.incomplete-result { background: #f0e8da; border-color: #b8a58a; }
.supported-result li, .incomplete-result li { margin: .8rem 0; line-height: 1.5; }
.mobile-source-picker { display: none; }
footer { border-top: 1px solid var(--line); color: var(--muted); padding: 1.5rem; text-align: center; font-size: .78rem; line-height: 1.6; }
footer a { display: inline-block; color: var(--green); padding: .75rem .25rem; text-underline-offset: 3px; }
dialog { max-width: min(90vw, 500px); border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); padding: 2rem; }
dialog::backdrop { background: #18272090; }
@media (max-width: 1250px) { .case-strip, .view-nav, .save-strip, main, .notice, .warning { margin-left: 1.5rem; margin-right: 1.5rem; } }
@media (max-width: 760px) {
  .masthead { padding: 1.5rem 1.1rem; align-items: start; flex-direction: column; gap: .9rem; }
  .prototype-label { font-size: .65rem; padding: .35rem .7rem; }
  .case-strip, .view-nav, .save-strip, main, .notice, .warning { margin-left: 1rem; margin-right: 1rem; }
  .case-strip { flex-wrap: wrap; font-size: .73rem; }
  .view-nav { gap: .65rem; }
  .view-nav button { font-size: .78rem; flex: 1; min-width: 0; overflow-wrap: anywhere; text-align: center; }
  .save-strip { align-items: start; flex-direction: column; }
  .save-strip button:first-child { padding-left: 0; }
  .reading-layout { display: block; }
  .source-sidebar { display: none; }
  .mobile-source-picker { display: block; margin-bottom: 1rem; }
  .mobile-source-picker label { font-size: .76rem; color: var(--muted); }
  .source-card { padding: 1.2rem; }
  .passage { font-size: 1.1rem; }
  .source-meta { gap: .5rem; letter-spacing: .04em; font-size: .63rem; }
  .field-row { grid-template-columns: 1fr; gap: .25rem; }
  .workspace-page { margin: 1rem 0; }
  fieldset { padding: .7rem; }
  .citation-list { max-height: 340px; }
  .question-row { align-items: stretch; flex-direction: column; gap: .25rem; }
  .question-row small { max-width: none; padding-left: .5rem; }
  .button-row button { flex: 1 1 auto; }
  dialog { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
