* {box-sizing:border-box}
:root {color-scheme:light; --ink:#17231f; --muted:#46534e; --line:color-mix(in srgb,var(--accent) 20%,white); --serif:Georgia,'Times New Roman',serif; --sans:system-ui,sans-serif; --paper:#fff}
body {margin:0;background:var(--paper);color:var(--ink);font:1rem/1.65 var(--sans)}
a {color:var(--accent);text-underline-offset:.2em}
a:hover {text-decoration-thickness:2px}
a:focus-visible,button:focus-visible,input:focus-visible {outline:3px solid var(--accent);outline-offset:4px}
.wrap {width:min(100% - 3rem,76rem);margin-inline:auto}
header {border-bottom:1px solid var(--line);background:var(--paper)}
.header {display:flex;justify-content:space-between;align-items:center;gap:1.2rem;min-height:5rem}
.brand {display:inline-flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--ink);font:700 1.45rem/1.1 var(--serif)}
.mark {display:inline-grid;place-items:center;width:2rem;aspect-ratio:1;border:1px solid currentColor;color:var(--accent);font:750 .75rem/1 var(--sans);letter-spacing:.02em}
nav {display:flex;flex-wrap:wrap;gap:1.1rem;font-size:.91rem}
nav a {color:inherit;text-decoration:none}
nav a[aria-current=page] {color:var(--accent);text-decoration:underline}
.skip {position:absolute;top:.4rem;left:.5rem;transform:translateY(-160%);background:white;padding:.6rem;z-index:2}
.skip:focus {transform:none}
.hero-shell {background:var(--tint);border-bottom:1px solid var(--line)}
.hero {display:grid;grid-template-columns:minmax(0,1fr) minmax(15rem,.42fr);gap:clamp(1.4rem,5vw,5rem);align-items:end;padding-block:clamp(2rem,6vw,5rem)}
h1,h2,h3,p {margin:0}
h1,h2,h3 {line-height:1.12;letter-spacing:-.026em}
h1 {font:700 clamp(2.45rem,6vw,5rem)/.99 var(--serif);letter-spacing:-.046em;max-width:18ch;overflow-wrap:break-word}
h2 {font:700 clamp(1.6rem,3vw,2.55rem)/1.1 var(--serif);letter-spacing:-.031em}
h3 {font-size:1.18rem}
.kicker {font-size:.88rem;font-weight:750;letter-spacing:.075em;text-transform:uppercase;color:var(--accent);margin:0 0 .95rem}
.deck {font-size:clamp(1.04rem,2vw,1.24rem);max-width:58ch;margin-top:1.25rem;color:var(--muted)}
.brief {padding:1.35rem 1.5rem;background:var(--paper);border:1px solid var(--line);border-top:4px solid var(--accent)}
.brief h2 {font-size:1.35rem;margin-bottom:.55rem}
.brief p {font-size:.96rem}
.disclosure {margin-block:1.35rem 0;border-inline-start:3px solid var(--accent);padding:.65rem 1rem;background:var(--tint);font-size:.91rem}
.disclosure strong {margin-right:.38rem}
.section {margin-block:clamp(2rem,6vw,4.25rem);scroll-margin-top:1.5rem}
.section > p,.prose > p {max-width:72ch;margin-top:.7rem;color:var(--muted)}
.cards {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:.85rem;margin-top:1.2rem}
.card {border:1px solid var(--line);padding:1.25rem;background:var(--paper);display:flex;flex-direction:column;gap:.62rem}
.card p {font-size:.98rem}
.card .fit {color:var(--muted)}
.card a {margin-top:auto;align-self:flex-start;font-size:.9rem}
.test {display:grid;grid-template-columns:minmax(0,1fr) minmax(12rem,.55fr);gap:clamp(1rem,4vw,3rem);border:1px solid var(--line);background:var(--tint);padding:clamp(1rem,3vw,2.1rem)}
.test p {margin-top:.7rem}
.test aside {padding-left:1.15rem;border-left:1px solid var(--line)}
.test aside h3 {color:var(--accent)}
.actions {display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}
.button {display:inline-block;border:1px solid var(--accent);background:var(--accent);color:#fff;text-decoration:none;border-radius:.25rem;font:650 .92rem/1.2 var(--sans);padding:.68rem .9rem;cursor:pointer}
.button.secondary {background:var(--paper);color:var(--accent)}
.table-scroll {overflow:auto;margin-top:1.2rem;border:1px solid var(--line)}
table {border-collapse:collapse;width:100%;text-align:left;min-width:37rem}
th,td {padding:.8rem 1rem;border-bottom:1px solid var(--line);vertical-align:top}
thead {background:var(--tint)}
tbody tr:last-child > * {border-bottom:none}
.compact-hero {padding-block:clamp(1.9rem,6vw,4rem)}
.compact-hero h1 {font-size:clamp(2.15rem,5vw,4.1rem);max-width:24ch}
ol,ul {padding-inline-start:1.3rem}
li + li {margin-top:.5rem}
.worksheet {display:grid;gap:.8rem;margin-top:1.2rem;max-width:55rem}
.check {display:flex;align-items:flex-start;gap:.7rem;border:1px solid var(--line);padding:.8rem 1rem;cursor:pointer}
.check input {accent-color:var(--accent);inline-size:1.1rem;block-size:1.1rem;flex:none;margin-top:.33rem}
.check:has(input:checked) {background:var(--tint)}
.notes {width:100%;min-height:7rem;border:1px solid var(--line);padding:.75rem;font:inherit;background:white;color:var(--ink)}
footer {border-top:1px solid var(--line);padding-block:1.6rem 2.4rem;background:var(--tint);font-size:.91rem}
.footer {display:flex;justify-content:space-between;align-items:baseline;gap:1rem;flex-wrap:wrap}
.footer p {color:var(--muted)}
body.news header {border-top:6px solid var(--accent)}
body.news .hero {border-top:0}
body.news .brief {border-top:0;border-left:4px solid var(--accent)}
body.news .card {border-width:3px 0 0;border-color:var(--accent)}
body.news .hero-shell {background:var(--paper)}
body.guide .brand,body.guide h1,body.guide h2,body.workbook h1,body.reference h2 {font-family:var(--sans);font-weight:760}
body.guide .mark,body.workbook .mark {border-radius:50%;background:var(--accent);color:#fff}
body.guide .brief {border:0;border-radius:.65rem}
body.guide .card {border-radius:.65rem}
body.workbook .hero-shell {background:var(--paper)}
body.workbook .hero {display:flex;align-items:center;gap:2rem}
body.workbook .brief {flex:0 1 25rem;background:var(--tint)}
body.workbook .test {border-left:5px solid var(--accent)}
body.reference .hero-shell {background:var(--accent);color:white}
body.reference .hero-shell .kicker,body.reference .hero-shell .deck {color:white}
body.reference .hero-shell .brief {color:var(--ink)}
body.reference .mark {font-family:monospace}
body.journal .hero-shell {border-bottom:3px double var(--line)}
body.journal .hero {align-items:center}
body.journal .brand {font-style:italic}
body.journal .brief {border-width:1px 0;background:transparent;padding-inline:.25rem}
body.journal .card {border-width:1px 0}
@media(max-width:700px) {
  .wrap {width:calc(100% - 2rem)}
  .header {align-items:flex-start;flex-direction:column;justify-content:center;padding-block:1rem}
  .hero,.test {grid-template-columns:1fr}
  body.workbook .hero {display:grid}
  .test aside {padding:1rem 0 0;border-left:0;border-top:1px solid var(--line)}
}
@media print {
  header,footer,.actions,.skip {display:none}
  .section {margin-block:1.4rem}
  .hero-shell,.disclosure,.test {background:white!important;color:black!important}
  body.reference .hero-shell .kicker,body.reference .hero-shell .deck {color:black}
}
