:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --ink: #182e2a;
  --forest: #163d34;
  --muted: #4f635b;
  --rule: #c4cbbd;
  --lime: #d3ea88;
  --serif: "Songti TC", "Noto Serif TC", "PMingLiU", Georgia, serif;
  --sans: "Inter", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --rail: min(1840px, 94vw);
  --body-size: clamp(30px, 2.6vw, 50px);
  --point-size: clamp(34px, 2.85vw, 54px);
  --title-size: clamp(50px, 4.25vw, 82px);
  --figure-size: clamp(32px, 2.8vw, 54px);
  --label-size: clamp(22px, 1.95vw, 37px);
  --tool-size: clamp(18px, 1.46vw, 27px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.55; }
h1, h2, h3, p, blockquote, figure, dl { margin: 0; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-underline-offset: .2em; }
button, summary, select { cursor: pointer; }
:focus-visible { outline: 3px solid #5074be; outline-offset: 4px; }
h1:focus, h2:focus { outline: none; }
.skip, .skip-link { position: absolute; z-index: 20; top: 5px; left: 5px; transform: translateY(-160%); background: white; padding: 8px 16px; }
.skip:focus, .skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 3; border-bottom: 1px solid var(--rule); }
.header-inner, .pager-inner, main { width: var(--rail); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .6em; font-weight: 730; text-decoration: none; }
.brand img { width: 26px; height: auto; }
.brand span:first-child { font-family: Georgia, var(--serif); font-size: 24px; letter-spacing: -.05em; }
.brand span:last-child { color: var(--muted); font-size: 14px; font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions a, .header-actions button { border: 1px solid var(--rule); border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 40px; background: transparent; color: var(--ink); padding: 6px 15px; font-weight: 580; font-size: var(--tool-size); text-decoration: none; }
.header-actions button:hover, .header-actions button[aria-expanded=true], .header-actions button[aria-pressed=true] { background: #e3e8d9; border-color: var(--forest); }
#course-menu { position: absolute; top: 69px; right: max(5vw, calc((100vw - 1220px)/2)); width: min(420px, 91vw); background: #fffdf7; padding: 16px 22px; border: 1px solid var(--rule); box-shadow: 0 14px 35px #1d332421; z-index: 6; }
#course-menu ol, #course-menu ul { list-style: none; margin: 0; padding: 0; }
#course-menu li + li { border-top: 1px solid var(--rule); }
#course-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 6px; font-size: var(--tool-size); text-decoration: none; }
#course-menu a:hover, #course-menu a[aria-current] { color: var(--forest); background: #e8edda; }
#course-menu small { color: var(--muted); white-space: nowrap; font-size: .85em; font-variant-numeric: tabular-nums; }
#course-menu h2 { color: var(--forest); font: 700 1em/1.3 var(--sans); padding: .3em 0; }
#course-menu ol + h2 { margin-top: .5em; }
main { flex: 1; align-content: center; }
.cover { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 4vw, 70px); padding: clamp(30px, 6vh, 76px) 0; }
.cover-copy { min-width: 0; }
.eyebrow, .cover-meta { color: var(--muted); font-size: var(--label-size); font-weight: 660; letter-spacing: .025em; }
.cover-title, .cover h1 { margin: .22em 0; letter-spacing: -.05em; text-wrap: balance; font: 700 clamp(64px, 6.8vw, 130px)/1.1 var(--serif); }
.cover-title em, .cover h1 em { color: #3d654c; font-style: normal; }
.cover-title span { color: #607c56; }
.cover-subtitle { font-size: var(--body-size); line-height: 1.35; text-wrap: balance; max-width: 25em; }
.desktop-break { display: none; }
.course-meta { margin-top: .8em; color: var(--muted); font-size: var(--label-size); }
.cover-art { position: relative; align-self: stretch; min-height: 260px; background: #1b170f; }
.cover-art img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--forest); color: #fff; padding: 12px 21px; border-radius: 3px; margin-top: clamp(20px, 3vh, 38px); text-decoration: none; font-weight: 650; font-size: var(--tool-size); }
.cta:hover { background: #285540; }
.lesson { padding: clamp(16px, 2.4vh, 30px) 0; }
.lesson-head { margin-bottom: clamp(16px, 2.6vh, 30px); }
.lesson-head h2 { margin: .14em 0 0; font: 700 var(--title-size)/1.13 var(--serif); letter-spacing: -.028em; text-wrap: balance; }
.lesson-grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.08fr); align-items: start; gap: clamp(22px, 2.4vw, 46px); }
.lead-panel { color: #fffdf5; background: var(--forest); padding: clamp(19px, 1.8vw, 34px); border-top: 4px solid var(--lime); }
.lead-panel h3, .details-panel h3, .point h3 { font-size: var(--point-size); line-height: 1.24; }
.lead-panel p, .details-panel p, .point p { font-size: var(--body-size); line-height: 1.34; }
.lead-panel h3 + p, .details-panel h3 + p, .point h3 + p { margin-top: .25em; }
.lead-panel .quote, blockquote.quote { font-family: var(--serif); font-weight: 650; font-size: clamp(40px, 3.45vw, 66px); line-height: 1.28; text-wrap: pretty; }
.lead-panel .quote + p { margin-top: .85rem; color: #e0e9dd; }
.point { padding-block: .65rem; }
.point:first-child { padding-top: 0; }
.point + .point { border-top: 1px solid var(--rule); }
.details-panel { min-width: 0; }
.details-panel p { color: #334b40; }
.decision-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 50px); }
.decision { border-top: 3px solid var(--forest); padding-block: .8em; }
.decision h3 { color: var(--forest); font-size: var(--point-size); line-height: 1.24; }
.decision p { margin-top: .4em; font-size: var(--body-size); line-height: 1.38; }
.reading { max-width: 32em; font-size: var(--body-size); line-height: 1.48; }
.reading .spoken { max-width: 25em; margin-bottom: .55em; padding-inline-start: .6em; border-inline-start: 5px solid #839c53; color: var(--forest); font: 650 clamp(38px, 3.35vw, 64px)/1.36 var(--serif); }

.lead-panel p + p { margin-top: .55em; }
.case-table { border-collapse: collapse; margin: 0 0 12px; width: 100%; font-variant-numeric: tabular-nums; font-size: var(--figure-size); line-height: 1.28; }
.case-table th, .case-table td { text-align: end; padding: .24em .12em; border-bottom: 1px solid #8ca69a; }
.case-table td { font-weight: 640; }
.case-table th:first-child, .case-table td:first-child { text-align: start; }
.evidence-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 16px 0; }
.evidence-list div { padding-top: 8px; border-top: 1px solid #769183; }
.evidence-list dt { color: #e1eadb; font-size: var(--label-size); }
.evidence-list dd { margin: .1em 0 0; color: #e3f69d; font-family: Georgia, var(--serif); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; font-size: clamp(42px, 4.1vw, 79px); line-height: 1.14; }
.case-table caption { text-align: left; padding-bottom: .36em; font-weight: 620; font-size: var(--body-size); }
.sources { width: fit-content; max-width: 100%; font-size: var(--tool-size); color: var(--muted); margin-top: 8px; }
.sources summary { font-weight: 600; }
.sources ul { margin: .3em 0; padding-inline-start: 1.25em; }
.sources a { overflow-wrap: anywhere; }
.lead-panel .sources { color: #dceac5; }

.pager { border-top: 1px solid var(--rule); }
.pager-inner { min-height: 66px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.pager a { display: inline-flex; align-items: center; gap: .5em; min-height: 42px; text-decoration: none; font-weight: 620; font-size: var(--tool-size); }
.pager #prev { justify-self: start; }
.pager #next { justify-self: end; }
.pager a:hover { text-decoration: underline; }
.pager a[aria-disabled=true] { color: #717b74; text-decoration: none; }
#position { color: var(--muted); font-size: var(--tool-size); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
html:not(.enhanced) .lesson { border-top: 1px solid var(--rule); }
html:not(.enhanced) .pager, html:not(.enhanced) #menu-toggle, html:not(.enhanced) #fullscreen { display: none; }
@media (min-width: 981px) {
  .lesson-grid:has(.case-table) { grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); }

  .case-table th, .case-table td { white-space: nowrap; padding-block: .12em; }
}
@media (min-width: 981px) and (max-height: 930px), (min-width: 981px) and (min-aspect-ratio: 17/9) {
  .header-inner { min-height: 50px; }
  #course-menu { top: 50px; }
  .pager-inner { min-height: 46px; }
  .lesson { padding-block: 8px; }
  .lesson-head { margin-bottom: 12px; }
  .point { padding-block: 7px; }
}
@media (max-width: 980px) {
  :root { --rail: 94vw; --body-size: 23px; --point-size: 28px; --title-size: clamp(38px, 5.2vw, 50px); --figure-size: 23px; --label-size: 19px; --tool-size: 17px; }
  .lesson-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
  .lead-panel .quote { font-size: 32px; }
  .evidence-list dd { font-size: 36px; }
  .cover { grid-template-columns: 1.05fr .95fr; gap: 22px; }
}
@media (max-width: 700px) {
  :root { --rail: calc(100% - 36px); --body-size: 20px; --point-size: 24px; --title-size: 36px; --figure-size: 21px; --label-size: 17px; --tool-size: 16px; }
  .header-inner { min-height: 56px; gap: 6px; }
  .header-actions { gap: 4px; }
  .header-actions button, .header-actions a { min-height: 36px; padding: 5px 8px; font-size: 14px; }
  #course-menu { top: 55px; right: 12px; padding: 12px; }
  main { align-content: start; }
  .cover { grid-template-columns: 1fr; padding: 22px 0; gap: 20px; }
  .cover h1 { font-size: clamp(45px, 10.4vw, 68px); }
  .cover-subtitle { font-size: 20px; }
  .cover-art { min-height: 0; aspect-ratio: 4 / 3; }
  .cover-art img { object-position: 50% 52%; }
  .course-meta { font-size: 14px; }
  .cta { padding: 9px 17px; margin-top: 16px; }
  .lesson { padding: 23px 0; }
  .eyebrow { text-wrap: balance; }
  #s6.lesson { padding-bottom: 14px; }
  .lesson-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .decision-grid { grid-template-columns: 1fr; gap: 12px; }
  .decision { padding-block: .5em 0; }
  .reading .spoken { font-size: 27px; }

  .lead-panel .quote { font-size: 29px; }
  .lead-panel { padding: 18px; }
  .point { padding-block: 9px; }
  .sources { margin-top: 8px; }
  .pager-inner { min-height: 54px; }
}
@media print {
  .site-header, .pager, #course-menu, .cta, .skip, .skip-link { display: none !important; }
  main { width: 100%; }
  main > section[hidden] { display: block !important; }
  main > section { break-after: page; }
}
