@charset "UTF-8";
:root {
  --white:#fffbf2;
  --ink:#362b20;
  --muted:#74634e;
  --accent:#8d3d28;
  --accent-dark:#71301f;
  --wash:#f3e6ce;
  --line:#dbcbb0;
  --paper:#f7efdf;
  --clay:#98442c;
  --peach:#f8e6d5;
  --yellow:#f7ebc9;
  --shadow:0 16px 50px #603b1b10;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--white);
  font-synthesis:none;
  font-size:16px
}

* {
  box-sizing:border-box
}
body {
  margin:0;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility
}
html {
  scroll-behavior:auto;
  scrollbar-gutter:stable;
  scroll-padding-top:28px
}
html.dialog-open { overflow:hidden; }
a {
  color:inherit;
  text-decoration:none
}
button,input,select,textarea {
  font:inherit
}
button {
  cursor:pointer
}
button,a,input,select,textarea,summary {
  -webkit-tap-highlight-color:transparent
}
button {
  color:inherit
}
button:disabled {
  cursor:not-allowed;
  opacity:.48
}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid #8d3d28;
  outline-offset:4px
}
h1,h2,h3,p,figure {
  margin-top:0
}
h1,h2,h3 {
  letter-spacing:-.035em
}
p {
  line-height:1.65
}
h1 {
  font-weight:750
}
h2 {
  font-size:2rem;
  line-height:1.2
}
h3 {
  font-size:1.25rem;
  line-height:1.3
}
button {
  border:0;
  background:none
}
fieldset {
  margin:0;
  padding:0;
  border:0
}
legend {
  margin:0 0 12px;
  font-weight:700;
  font-size:.95rem
}
#main:focus {
  outline:none
}
.wrap {
  max-width:1160px;
  width:calc(100% - 80px);
  margin:auto
}
.icon {
  width:20px;
  height:20px;
  flex:none;
  vertical-align:middle
}
.eyebrow {
  font-size:.72rem;
  letter-spacing:.14em;
  line-height:1.5;
  font-weight:700;
  color:var(--muted);
  margin-bottom:14px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:12px 21px;
  border-radius:8px;
  border:1px solid transparent;
  font-weight:600;
  font-size:.9rem;
  line-height:1.3;
  transition:background .16s,border-color .16s,transform .16s;
  white-space:normal
}
.button:hover:not(:disabled) {
  transform:translateY(-1px)
}
.button.primary {
  background:var(--accent);
  color:white
}
.button.primary:hover:not(:disabled) {
  background:var(--accent-dark)
}
.button.secondary {
  background:white;
  border-color:var(--line)
}
.button.secondary:hover:not(:disabled) {
  background:var(--paper);
  border-color:#b7a184
}
.button.ghost {
  background:transparent
}
.button.ghost:hover:not(:disabled) {
  background:var(--wash)
}
.button.small {
  min-height:40px;
  padding:9px 15px;
  font-size:.85rem
}
.button.full {
  width:100%;
  margin-top:20px
}
.button.danger {
  background:#a2382c;
  color:white
}
.text-button {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.88rem;
  font-weight:600;
  color:var(--accent);
  padding:6px 0;
  line-height:1.5
}
.text-button:hover {
  text-decoration:underline;
  text-underline-offset:4px
}
.icon-button {
  width:40px;
  height:40px;
  border:1px solid var(--line);
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fffbf2;
  flex:none
}
.icon-button:hover {
  background:var(--wash);
  border-color:#bca27e
}
.icon-button.is-bookmarked {
  background:var(--wash);
  color:var(--accent)
}
.icon-button.is-bookmarked .icon {
  fill:#e6c399
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.skip-link {
  position:fixed;
  top:10px;
  left:10px;
  padding:12px 20px;
  background:var(--accent);
  color:#fffbf2;
  z-index:10;
  transform:translateY(-150%);
  border-radius:6px
}
.skip-link:focus {
  transform:none
}

.site-header {
  border-bottom:1px solid var(--line);
  background:#fffbf2
}
.nav-inner {
  min-height:83px;
  max-width:1240px;
  width:calc(100% - 80px);
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  letter-spacing:-.06em;
  font-size:1.65rem;
  font-weight:750
}
.brand-mark {
  width:34px;
  height:34px;
  background:var(--accent);
  color:#fffbf2;
  border-radius:10px;
  font-size:1.65rem;
  display:grid;
  place-content:center;
  letter-spacing:-.1em;
  padding-right:3px;
  line-height:1
}
.brand-dot {
  font-size:.7rem;
  margin-left:-7px;
  align-self:flex-start;
  margin-top:4px
}
.site-header nav {
  display:flex;
  align-items:center;
  gap:30px;
  font-size:.87rem;
  color:var(--muted)
}
.site-header nav a {
  padding:10px 0;
  position:relative
}
.site-header nav a:hover,.site-header nav a[aria-current] {
  color:var(--accent)
}
.site-header nav a[aria-current]::after {
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:2px;
  background:var(--accent);
  border-radius:2px
}

.hero {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:35px;
  align-items:center;
  padding:69px 0 56px
}
.hero h1 {
  font-size:clamp(2.7rem,4.8vw,4.05rem);
  line-height:1.07;
  margin:22px 0 22px;
  letter-spacing:-.055em
}
.hero-lede {
  font-size:1.04rem;
  line-height:1.7;
  color:var(--muted);
  max-width:445px;
  margin-bottom:28px
}
.hero-art {
  margin:0;
  position:relative;
  align-self:center
}
.hero-art img {
  display:block;
  width:calc(100% + 25px);
  height:auto;
  margin-left:-12px;
  mix-blend-mode:multiply
}
.resume-banner {
  border:1px solid #d5bb8d;
  border-radius:10px;
  background:var(--wash);
  padding:18px 23px;
  margin-bottom:30px;
  display:flex;
  align-items:center;
  gap:16px
}
.resume-banner>div {
  flex:1
}
.resume-banner strong,.resume-banner>div>span {
  display:block
}
.resume-banner strong {
  font-size:.95rem;
  margin-bottom:5px
}
.resume-banner>div>span {
  font-size:.85rem;
  color:var(--muted)
}

.chapter-section {
  padding:58px 0 48px;
  scroll-margin-top:20px
}
.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:29px
}
.section-heading h2 {
  font-size:2.05rem;
  margin-bottom:10px;
  letter-spacing:-.045em
}
.segmented {
  padding:4px;
  display:inline-flex;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--paper);
  gap:2px
}
.segmented button {
  padding:9px 13px;
  border-radius:5px;
  font-size:.78rem;
  color:var(--muted);
  white-space:nowrap
}
.segmented button[aria-pressed=true] {
  background:white;
  color:var(--accent);
  box-shadow:0 1px 4px #603b1b10;
  font-weight:700
}
.segmented button:hover {
  color:var(--accent)
}
.chapter-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}
.chapter-card {
  text-align:left;
  border:1px solid var(--line);
  border-radius:12px;
  padding:24px 23px 19px;
  background:white;
  display:flex;
  flex-direction:column;
  transition:border-color .2s,box-shadow .2s,transform .2s;
  min-width:0
}
.chapter-card:hover {
  transform:translateY(-4px);
  border-color:#b98b53;
  box-shadow:0 8px 24px #603b1b12
}
.card-top {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:24px
}
.chapter-icon.tone-2 {
  background:var(--peach);
  color:var(--clay)
}
.chapter-number {
  font-size:.64rem;
  letter-spacing:.13em;
  color:var(--muted);
  font-weight:700
}
.card-chevron {
  margin-left:auto;
  color:#8b775c
}
.card-chevron .icon {
  width:16px;
  height:16px
}
.chapter-card h3 {
  font-size:1.17rem;
  margin-bottom:10px;
  letter-spacing:-.025em
}
.card-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  font-size:.68rem;
  line-height:1.6;
  white-space:nowrap
}
.middle-dot {
  color:#ad9576;
  padding:0 2px
}
.card-progress {
  border-top:1px solid var(--line);
  padding-top:15px;
  margin-top:15px;
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--muted);
  font-size:.7rem
}
.mini-track {
  display:block;
  background:#e9ddc5;
  border-radius:8px;
  height:4px;
  overflow:hidden;
  flex:1
}
.mini-track>span {
  display:block;
  height:100%;
  background:#a16f3d;
  border-radius:8px
}
.card-progress .mini-track {
  max-width:95px
}
.site-footer {
  border-top:1px solid var(--line);
  padding:30px 0
}
.footer-inner {
  max-width:1160px;
  width:calc(100% - 80px);
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px
}
.footer-inner>p {
  font-size:.73rem;
  line-height:1.7;
  color:#6b5943;
  text-align:center;
  margin:0
}
.footer-inner>p>span {
  color:var(--muted)
}
.footer-inner>.text-button {
  font-weight:400;
  font-size:.73rem
}

dialog {
  border:1px solid var(--line);
  border-radius:16px;
  width:min(620px,calc(100% - 32px));
  padding:38px;
  background:#fffbf2;
  color:var(--ink);
  box-shadow:0 25px 100px #3f271d33;
  max-height:calc(100dvh - 48px);
  overflow:auto
}
dialog::backdrop {
  background:#3f271d66;
  backdrop-filter:blur(4px)
}
.modal-close {
  position:absolute;
  top:15px;
  right:15px;
  border:0;
  width:30px;
  height:30px
}
.modal-close .icon {
  width:18px;
  height:18px
}
dialog .eyebrow {
  font-size:.66rem;
  padding-right:28px
}
dialog h2 {
  font-size:1.85rem;
  max-width:460px;
  margin-bottom:12px
}
.modal-lede {
  color:var(--muted);
  font-size:.95rem;
  margin-bottom:28px
}
.mode-options {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px
}
.mode-option {
  position:relative;
  cursor:pointer;
  min-width:0
}
.mode-option input {
  position:absolute;
  opacity:0;
  pointer-events:none
}
.mode-option>span {
  height:126px;
  border:1px solid var(--line);
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:10px;
  padding:12px 5px;
  color:var(--muted)
}
.mode-option strong {
  font-size:.82rem;
  color:var(--ink)
}
.mode-option small {
  font-size:.71rem
}
.mode-option input:checked+span {
  border:2px solid var(--accent);
  background:var(--wash);
  color:var(--accent)
}
.mode-option input:focus-visible+span {
  outline:3px solid #8d3d28;
  outline-offset:3px
}
.mode-option.unavailable {
  opacity:.5;
  cursor:not-allowed
}
.setup-row {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:15px;
  margin:24px 0 20px
}
.setup-row label {
  display:block;
  font-size:.82rem;
  font-weight:600
}
.setup-row select {
  width:100%;
  border:1px solid var(--line);
  border-radius:7px;
  padding:11px 8px;
  margin-top:10px;
  font-size:.8rem;
  background:#fffbf2;
  color:var(--ink);
  height:43px
}
.check-label {
  font-size:.82rem;
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted)
}
.check-label input {
  accent-color:var(--accent);
  width:17px;
  height:17px
}
.setup-empty {
  font-size:.85rem;
  color:var(--clay);
  background:var(--peach);
  border-radius:7px;
  padding:12px;
  margin:18px 0 0
}
.replace-note {
  font-size:.76rem;
  color:var(--muted);
  margin:18px 0 0
}
.about-source {
  border-top:1px solid var(--line);
  padding-top:22px;
  font-size:.83rem
}
.about-source p {
  color:var(--muted);
  margin:10px 0 0
}

.practice-wrap {
  max-width:820px;
  width:calc(100% - 64px);
  margin:34px auto 75px;
  min-height:65vh
}
.practice-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:37px;
  gap:18px
}
.practice-top>.text-button {
  color:var(--muted);
  font-weight:400;
  font-size:.8rem
}
.practice-top .icon {
  width:16px;
  height:16px
}
.save-label {
  font-size:.73rem;
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--muted)
}
.session-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px
}
.session-heading h1 {
  font-size:1.9rem;
  margin-bottom:20px
}
.session-heading .eyebrow {
  font-size:.67rem;
  margin-bottom:7px
}
.question-count {
  font-size:.83rem;
  white-space:nowrap;
  color:var(--muted)
}
.question-count strong {
  color:var(--accent);
  font-size:1.05rem
}
.session-track {
  height:5px;
  border-radius:5px;
  background:#e6d8be;
  margin-bottom:25px;
  overflow:hidden
}
.session-track>span {
  display:block;
  height:100%;
  background:#a2713e;
  transition:width .2s
}
.question-card {
  border:1px solid var(--line);
  border-radius:14px;
  padding:32px 37px;
  background:#fffbf2;
  box-shadow:0 7px 30px #603b1b0a
}
.question-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px
}
.question-meta>div {
  display:flex;
  align-items:center;
  gap:12px
}
.tag {
  font-size:.65rem;
  font-weight:700;
  letter-spacing:.1em;
  background:var(--wash);
  border-radius:4px;
  color:var(--accent);
  padding:6px 9px
}
.difficulty {
  font-size:.74rem;
  color:var(--muted)
}
.question-title {
  font-size:1.65rem;
  margin-bottom:17px;
  letter-spacing:-.035em
}
.question-prompt {
  font-size:1.05rem;
  line-height:1.75;
  margin-bottom:25px;
  white-space:pre-line;
  color:#4d3f30
}
.tf-choices {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:25px 0 5px
}
.answer-choice {
  display:flex;
  align-items:center;
  gap:15px;
  border:1px solid #cdbb9e;
  border-radius:9px;
  padding:17px 18px;
  text-align:left;
  font-weight:600;
  min-height:66px;
  background:#fffbf2;
  transition:border .15s,background .15s
}
.answer-choice:hover:not(:disabled) {
  border-color:#a2703e;
  background:var(--paper)
}
.answer-choice.selected {
  border:2px solid var(--accent);
  padding:16px 17px;
  background:var(--wash)
}
.answer-choice:disabled {
  opacity:.65
}
.answer-choice.answer-correct {
  background:var(--wash);
  border-color:var(--accent);
  opacity:1;
  color:var(--accent)
}
.answer-key {
  font-size:.7rem;
  border:1px solid #cdbb9e;
  border-radius:4px;
  display:grid;
  place-items:center;
  width:23px;
  height:23px;
  color:var(--muted);
  font-weight:400
}
.choice-marker {
  margin-left:auto
}
.input-label {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:.88rem;
  font-weight:700;
  gap:10px;
  margin-bottom:12px
}
.input-label>span {
  font-size:.75rem;
  font-weight:400;
  color:var(--muted);
  line-height:1.5
}
.numeric-row {
  position:relative
}
.numeric-row input {
  width:100%;
  height:60px;
  border:1px solid #c8b394;
  border-radius:9px;
  font-size:1.3rem;
  padding:14px 65px 14px 18px;
  font-variant-numeric:tabular-nums;
  color:var(--ink);
  background:#fffbf2
}
.numeric-row input:focus {
  border-color:var(--accent)
}
.numeric-row input:disabled {
  background:var(--paper);
  opacity:.75
}
.numeric-row input[aria-invalid=true] {
  border-color:#aa4630
}
.numeric-unit {
  position:absolute;
  right:17px;
  top:21px;
  font-size:.85rem;
  color:var(--muted)
}
.input-help {
  font-size:.73rem;
  color:var(--muted);
  margin:10px 0 0
}
.answer-error {
  color:#9c3e2b;
  font-size:.85rem;
  min-height:0;
  margin:13px 0 0
}
.answer-error:empty {
  display:none
}
.question-actions {
  display:flex;
  gap:13px;
  align-items:center;
  flex-wrap:wrap;
  margin:24px 0 0
}
.question-actions .button {
  font-size:.85rem
}
.reveal-row {
  border-top:1px solid var(--line);
  padding-top:19px;
  margin-top:25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:.76rem;
  color:var(--muted)
}
.reveal-row>.text-button {
  font-size:.8rem
}
.hint-panel {
  border:1px solid #d6bd82;
  background:#fbf0d5;
  border-radius:8px;
  padding:18px 21px;
  margin-top:22px
}
.hint-panel>div+div {
  border-top:1px solid #dfc998;
  padding-top:14px;
  margin-top:14px
}
.hint-panel strong {
  display:flex;
  align-items:center;
  gap:7px;
  color:#765321;
  font-size:.82rem
}
.hint-panel .icon {
  width:16px;
  height:16px
}
.hint-panel p {
  margin:8px 0 0;
  color:#68502e;
  font-size:.89rem
}
.hint-panel:focus {
  outline:none
}
.scratchpad {
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:19px
}
.scratchpad summary {
  font-size:.83rem;
  cursor:pointer;
  line-height:1.5;
  color:#69543a
}
.scratchpad summary span {
  float:right;
  color:var(--muted);
  font-size:.73rem
}
.scratchpad textarea {
  width:100%;
  padding:14px;
  line-height:1.6;
  border:1px solid var(--line);
  border-radius:8px;
  resize:vertical;
  margin-top:15px;
  min-height:120px;
  color:var(--ink);
  background:var(--paper);
  font-size:.9rem
}
.scratchpad p {
  font-size:.73rem;
  color:var(--muted);
  margin:8px 0 0
}
.table-wrap {
  overflow:auto;
  border:1px solid var(--line);
  border-radius:8px;
  margin:4px 0 27px
}
table {
  width:100%;
  border-collapse:collapse;
  font-size:.86rem
}
th,td {
  text-align:left;
  padding:13px 15px;
  line-height:1.5
}
thead th {
  font-size:.76rem;
  background:var(--paper);
  color:var(--muted);
  font-weight:600
}
tbody tr+tr {
  border-top:1px solid var(--line)
}
tbody th {
  font-weight:500
}
td {
  font-variant-numeric:tabular-nums
}
.result-card {
  border:1px solid #c9c9a4;
  border-radius:14px;
  background:#f2f0dd;
  padding:30px 35px;
  margin-top:23px;
  scroll-margin-top:24px
}
.result-card.incorrect {
  border-color:#dbb894;
  background:#fcf0df
}
.result-card.revealed {
  background:var(--paper);
  border-color:var(--line)
}
.result-heading {
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:21px
}
.result-icon {
  background:#e1e1c3;
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  border-radius:50%;
  color:var(--accent);
  flex:none
}
.incorrect .result-icon {
  background:#eed3b2;
  color:#965625
}
.result-heading .eyebrow {
  font-size:.6rem;
  margin-bottom:6px
}
.result-heading h2 {
  font-size:1.3rem;
  margin:0
}
.result-heading h2:focus {
  outline:none
}
.correct-answer {
  margin-left:auto;
  text-align:right;
  padding-left:10px
}
.correct-answer>span {
  display:block;
  font-size:.7rem;
  color:var(--muted);
  margin-bottom:3px
}
.correct-answer>strong {
  font-size:1.6rem;
  color:var(--accent);
  letter-spacing:-.04em;
  font-variant-numeric:tabular-nums
}
.explanation {
  font-size:.94rem;
  line-height:1.8;
  color:#514633;
  margin-bottom:20px
}
.worked-solution {
  background:#fffaf0c7;
  border:1px solid #d7cbb0;
  padding:18px 21px;
  border-radius:8px;
  margin-bottom:20px
}
.worked-solution .input-label {
  font-size:.75rem;
  color:var(--muted);
  margin-bottom:10px
}
.worked-solution ol {
  padding-left:21px;
  margin:0;
  font-size:.9rem;
  line-height:1.85;
  overflow-wrap:anywhere
}
.worked-solution li {
  padding-left:5px
}
.worked-solution li+li {
  margin-top:6px
}
.source-note {
  font-size:.72rem;
  line-height:1.6;
  color:var(--muted);
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px
}
.source-note .icon {
  width:14px;
  height:14px
}
.source-note>span {
  font-style:italic
}
.self-mark {
  border-top:1px solid #d5c6a7;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-top:23px;
  padding-top:21px
}
.self-mark strong {
  font-size:.8rem
}
.self-mark p {
  color:var(--muted);
  font-size:.71rem;
  margin:6px 0 0;
  max-width:220px
}
.self-mark-buttons {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end
}
.self-mark .button {
  font-size:.73rem;
  min-height:37px;
  padding:8px 10px
}
.self-mark .icon {
  width:15px;
  height:15px
}
.selected-mark {
  color:var(--accent);
  background:#ead7b7;
  border-color:#bda172
}
.next-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin-top:26px
}
.next-row .button {
  font-size:.85rem
}

.summary-wrap {
  max-width:720px;
  width:calc(100% - 64px);
  margin:56px auto 75px;
  text-align:center
}
.summary-wrap h1 {
  font-size:3.5rem;
  line-height:1.06;
  letter-spacing:-.05em;
  margin:17px 0 20px
}
.summary-stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1px solid var(--line);
  border-radius:11px;
  padding:25px 10px
}
.summary-stats>div+div {
  border-left:1px solid var(--line)
}
.summary-stats strong {
  display:block;
  font-size:2.2rem;
  color:var(--accent);
  font-weight:600;
  letter-spacing:-.05em;
  margin-bottom:9px
}
.summary-stats strong small {
  font-size:1.2rem;
  color:#977e58;
  font-weight:400;
  letter-spacing:-.04em
}
.summary-stats>div>span {
  font-size:.75rem;
  color:var(--muted)
}
.local-note {
  color:var(--muted);
  font-size:.73rem;
  margin:13px 0 25px
}
.summary-actions {
  display:flex;
  justify-content:center;
  gap:11px;
  flex-wrap:wrap
}
.roundup {
  text-align:left;
  margin-top:47px
}
.roundup h2 {
  font-size:1.13rem;
  margin-bottom:22px
}
.roundup-item {
  border-bottom:1px solid var(--line)
}
.roundup-item:first-of-type {
  border-top:1px solid var(--line)
}
.roundup-item summary {
  padding:18px 0;
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:13px
}
.roundup-item summary::-webkit-details-marker {
  display:none
}
.roundup-item summary>span:nth-child(2) {
  font-size:.91rem;
  line-height:1.4;
  font-weight:500;
  flex:1
}
.roundup-item summary small {
  display:block;
  font-weight:400;
  font-size:.72rem;
  color:var(--muted);
  margin-top:5px
}
.roundup-item summary>.icon {
  width:17px;
  height:17px;
  color:var(--muted)
}
.roundup-item[open] summary>.icon {
  transform:rotate(90deg)
}
.roundup-item>div {
  padding:0 0 18px 46px;
  font-size:.88rem;
  color:#6b5943
}
.roundup-item>div p:last-child {
  margin-bottom:0
}
.roundup-status {
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--peach);
  color:var(--clay);
  flex:none
}
.roundup-status .icon {
  width:16px;
  height:16px
}
.roundup-status.good {
  color:var(--accent);
  background:var(--wash)
}

.progress-wrap {
  padding:56px 0 50px;
  max-width:990px;
  min-height:70vh
}
.progress-intro {
  max-width:570px
}
.progress-intro h1 {
  font-size:3.1rem;
  line-height:1.08;
  margin-bottom:20px;
  letter-spacing:-.05em
}
.progress-stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);
  border-radius:10px;
  padding:24px 0;
  margin-top:31px
}
.progress-stats>div {
  padding:0 24px
}
.progress-stats>div+div {
  border-left:1px solid var(--line)
}
.progress-stats span {
  display:block;
  font-size:.74rem;
  color:var(--muted);
  margin-bottom:16px
}
.progress-stats strong {
  font-size:2.2rem;
  font-weight:600;
  color:var(--accent);
  letter-spacing:-.05em
}
.progress-stats small {
  font-size:1.2rem;
  color:var(--muted);
  font-weight:400
}
.progress-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:24px 0 42px
}
.empty-state {
  text-align:center;
  padding:35px 20px 32px;
  border-radius:11px;
  background:var(--paper);
  margin-bottom:36px
}
.empty-state h2 {
  font-size:1.3rem;
  letter-spacing:-.025em;
  margin-bottom:10px
}
.empty-state p {
  font-size:.9rem;
  color:var(--muted);
  margin-bottom:10px
}
.chapter-log h2,.recent-section h2 {
  font-size:1.2rem;
  margin-bottom:20px
}
.chapter-log-row {
  display:grid;
  grid-template-columns:1.1fr 1fr auto;
  align-items:center;
  gap:26px;
  padding:24px 0;
  border-bottom:1px solid var(--line)
}
.chapter-log-row:first-of-type {
  border-top:1px solid var(--line)
}
.chapter-log-row .eyebrow {
  font-size:.61rem;
  margin-bottom:7px;
  display:block
}
.chapter-log-row h3 {
  font-size:.97rem;
  margin:0;
  letter-spacing:-.015em
}
.chapter-log-row>div:nth-child(2)>.mini-track {
  margin-bottom:12px
}
.chapter-log-row>div:nth-child(2)>span:last-child {
  font-size:.75rem;
  color:var(--muted)
}
.recent-section {
  margin-top:43px
}
.recent-item {
  display:flex;
  align-items:center;
  gap:14px;
  padding:15px 0;
  border-bottom:1px solid var(--line)
}
.recent-item>div {
  flex:1
}
.recent-item strong {
  font-weight:500;
  font-size:.88rem;
  display:block;
  margin-bottom:5px;
  line-height:1.4
}
.recent-item>div>span {
  font-size:.72rem;
  color:var(--muted);
  line-height:1.5
}
.privacy-note {
  padding-top:24px;
  margin-top:36px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px
}
.privacy-note>div {
  display:flex;
  gap:10px;
  color:var(--muted);
  max-width:620px
}
.privacy-note .icon {
  width:17px;
  height:17px;
  margin-top:3px
}
.privacy-note p {
  font-size:.76rem;
  margin:0
}
.reset-link {
  font-size:.77rem;
  color:#8a4a36;
  white-space:nowrap
}
#toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translate(-50%,20px);
  max-width:calc(100% - 32px);
  padding:13px 22px;
  background:var(--accent-dark);
  color:white;
  border-radius:9px;
  font-size:.85rem;
  box-shadow:var(--shadow);
  opacity:0;
  visibility:hidden;
  transition:opacity .15s,transform .15s;
  z-index:20;
  line-height:1.5;
  text-align:center
}
#toast.visible {
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0)
}
.noscript {
  padding:30px;
  background:var(--peach);
  text-align:center
}

@media(min-width:1450px) {
  .hero {
  padding-top:85px;
  padding-bottom:68px
}
.hero h1 {
  font-size:4.35rem
}
.hero-art img {
  width:calc(100% + 40px);
  margin-left:-10px
}

}

@media(max-width:1050px) {
  .wrap,.nav-inner,.footer-inner {
  width:calc(100% - 56px)
}
.hero {
  gap:10px;
  padding:55px 0 45px
}
.hero h1 {
  font-size:3.2rem
}
.hero-lede {
  font-size:.98rem
}
.chapter-card {
  padding:20px 17px
}
.card-top {
  gap:9px
}
.card-bottom {
  align-items:flex-start;
  flex-direction:column;
  gap:8px;
  white-space:normal
}
.card-progress {
  gap:8px;
  font-size:.65rem
}
.section-heading {
  align-items:flex-start
}
.section-heading>div:first-child {
  max-width:490px
}
.chapter-number {
  font-size:.59rem
}

}

@media(max-width:780px) {
  .nav-inner {
  min-height:76px
}
.site-header nav {
  gap:18px;
  font-size:.8rem
}
.brand {
  font-size:1.45rem
}
.brand-mark {
  width:31px;
  height:31px
}
.hero {
  grid-template-columns:1.1fr .9fr;
  gap:10px
}
.hero h1 {
  font-size:2.8rem
}
.hero-art img {
  width:110%;
  margin-left:-5%
}
.chapter-grid {
  grid-template-columns:1fr 1fr
}
.chapter-card {
  padding:24px 22px
}
.chapter-number {
  font-size:.67rem
}
.card-bottom {
  flex-direction:row;
  align-items:center;
  font-size:.66rem
}
.card-progress {
  font-size:.7rem
}
.section-heading {
  display:block
}
.week-filter {
  margin-top:20px
}
.chapter-section {
  padding-top:40px
}
.footer-inner {
  flex-wrap:wrap
}
.footer-inner>.text-button {
  display:none
}
.practice-wrap {
  width:calc(100% - 40px)
}
.question-card {
  padding:27px
}
.result-card {
  padding:26px
}
.self-mark {
  flex-direction:column;
  align-items:flex-start;
  gap:14px
}
.self-mark p {
  max-width:none
}
.self-mark-buttons {
  justify-content:flex-start
}
.progress-stats>div {
  padding:0 17px
}
.progress-stats span {
  font-size:.67rem
}
.chapter-log-row {
  gap:20px
}
.privacy-note {
  flex-direction:column;
  align-items:flex-start;
  gap:16px
}

}

@media(max-width:560px) {
  .wrap,.nav-inner,.footer-inner {
  width:calc(100% - 36px)
}
.nav-inner {
  gap:10px;
  min-height:70px
}
.brand {
  font-size:1.35rem;
  gap:7px
}
.brand-mark {
  width:29px;
  height:29px;
  font-size:1.45rem;
  border-radius:8px
}
.site-header nav {
  gap:15px;
  font-size:.73rem
}
.hero {
  grid-template-columns:1fr;
  padding:40px 0 29px;
  gap:18px
}
.hero h1 {
  font-size:3.12rem;
  line-height:1.07;
  margin-top:17px;
  margin-bottom:19px
}
.hero-lede {
  font-size:.94rem;
  max-width:360px;
  margin-bottom:23px
}
.hero-art {
  max-width:335px;
  justify-self:center;
  width:100%;
  margin-top:0
}
.hero-art img {
  width:100%;
  margin:0
}
.chapter-section {
  padding-top:34px;
  padding-bottom:31px
}
.section-heading h2 {
  font-size:1.85rem
}
.chapter-grid {
  gap:13px;
  grid-template-columns:1fr
}
.chapter-card {
  padding:21px 22px
}
.card-top {
  margin-bottom:17px
}
.chapter-card h3 {
  font-size:1.2rem
}
.card-bottom {
  font-size:.74rem
}
.card-progress {
  font-size:.71rem
}
.card-progress .mini-track {
  max-width:130px
}
.footer-inner {
  align-items:flex-start;
  gap:25px
}
.footer-inner>p {
  text-align:right;
  font-size:.67rem
}
.site-footer {
  padding:25px 0
}
.resume-banner {
  flex-wrap:wrap;
  padding:17px;
  gap:12px
}
.resume-banner>.button {
  margin-left:54px
}
.resume-banner>div>span {
  font-size:.77rem;
  line-height:1.5
}
.resume-banner strong {
  font-size:.85rem
}
dialog {
  padding:31px 22px 24px;
  max-height:calc(100dvh - 32px)
}
dialog h2 {
  font-size:1.58rem
}
.modal-lede {
  font-size:.88rem;
  margin-bottom:23px
}
.mode-options {
  gap:7px
}
.mode-option>span {
  height:119px;
  padding:8px 2px;
  gap:10px
}
.mode-option strong {
  font-size:.73rem
}
.mode-option small {
  font-size:.62rem
}
.setup-row {
  grid-template-columns:1fr;
  gap:16px
}
.setup-row select {
  margin-top:7px;
  font-size:.85rem
}
.setup-row label {
  font-size:.84rem
}
.practice-wrap {
  width:calc(100% - 28px);
  margin-top:22px;
  margin-bottom:44px
}
.practice-top {
  margin-bottom:27px
}
.practice-top>.text-button {
  font-size:.73rem
}
.save-label {
  font-size:.65rem;
  max-width:105px;
  line-height:1.5
}
.save-label .icon {
  width:13px;
  height:13px
}
.session-heading .eyebrow {
  font-size:.58rem;
  max-width:230px;
  line-height:1.6
}
.session-heading h1 {
  font-size:1.65rem;
  margin-bottom:17px
}
.question-count {
  font-size:.72rem
}
.session-heading {
  gap:14px
}
.question-card {
  padding:21px 20px;
  border-radius:11px
}
.question-title {
  font-size:1.38rem
}
.question-prompt {
  font-size:.98rem;
  line-height:1.7
}
.question-meta {
  margin-bottom:17px
}
.tag {
  font-size:.58rem
}
.difficulty {
  font-size:.67rem
}
.question-meta .icon-button {
  width:34px;
  height:34px
}
.tf-choices {
  gap:10px
}
.answer-choice {
  padding:14px 11px;
  gap:9px;
  font-size:.95rem;
  min-height:60px
}
.answer-choice.selected {
  padding:13px 10px
}
.answer-key {
  width:20px;
  height:20px;
  font-size:.63rem
}
.answer-choice .choice-marker .icon {
  width:16px;
  height:16px
}
.question-actions {
  gap:6px;
  justify-content:space-between
}
.question-actions .button {
  font-size:.79rem;
  padding:11px 12px
}
.question-actions .icon {
  width:16px;
  height:16px
}
.reveal-row {
  display:block
}
.reveal-row>.text-button {
  margin-top:7px
}
.input-label {
  display:block;
  font-size:.87rem
}
.input-label>span {
  display:block;
  font-size:.71rem;
  margin-top:7px
}
.input-help {
  font-size:.7rem
}
.scratchpad summary {
  font-size:.75rem
}
.scratchpad summary span {
  float:none;
  display:block;
  margin:5px 0 0 15px;
  font-size:.68rem
}
.hint-panel {
  padding:15px
}
.hint-panel p {
  font-size:.85rem
}
.table-wrap {
  margin-left:-7px;
  margin-right:-7px
}
th,td {
  padding:10px 8px;
  font-size:.76rem
}
thead th {
  font-size:.65rem;
  min-width:80px
}
.result-card {
  padding:23px 20px
}
.result-heading {
  flex-wrap:wrap;
  gap:11px
}
.result-heading>div:nth-child(2) {
  flex:1
}
.result-heading .eyebrow {
  font-size:.54rem
}
.result-heading h2 {
  font-size:1.15rem
}
.result-icon {
  width:36px;
  height:36px
}
.correct-answer {
  margin-left:47px;
  text-align:left;
  padding:0;
  flex-basis:100%;
  display:flex;
  align-items:center;
  gap:12px
}
.correct-answer>span {
  margin:0
}
.correct-answer>strong {
  font-size:1.35rem
}
.explanation {
  font-size:.89rem
}
.worked-solution {
  padding:15px 16px
}
.worked-solution ol {
  font-size:.83rem;
  line-height:1.75
}
.source-note {
  font-size:.65rem
}
.source-note>span {
  display:block;
  width:100%;
  padding-left:20px
}
.next-row {
  display:block
}
.next-row>.button {
  width:100%;
  margin-top:12px
}
.self-mark-buttons {
  gap:7px
}
.self-mark .button {
  font-size:.71rem
}
.summary-wrap {
  width:calc(100% - 36px);
  margin-top:38px
}
.summary-wrap h1 {
  font-size:2.8rem
}
.summary-stats {
  padding:21px 5px
}
.summary-stats strong {
  font-size:1.8rem
}
.summary-stats strong small {
  font-size:1rem
}
.summary-stats>div>span {
  display:block;
  font-size:.67rem;
  max-width:90px;
  margin:auto;
  line-height:1.5
}
.summary-actions .button {
  font-size:.81rem
}
.roundup-item summary>span:nth-child(2) {
  font-size:.84rem
}
.roundup-item summary small {
  font-size:.67rem
}
.roundup-item>div {
  padding-left:0;
  font-size:.86rem
}
.progress-wrap {
  padding-top:37px
}
.progress-intro h1 {
  font-size:2.7rem
}
.progress-stats {
  grid-template-columns:1fr 1fr;
  padding:0;
  margin-top:25px
}
.progress-stats>div {
  padding:22px
}
.progress-stats>div:nth-child(3) {
  border-left:0;
  border-top:1px solid var(--line)
}
.progress-stats>div:nth-child(4) {
  border-top:1px solid var(--line)
}
.progress-stats span {
  font-size:.7rem;
  margin-bottom:12px
}
.progress-stats strong {
  font-size:2rem
}
.progress-actions {
  gap:9px;
  margin-bottom:32px
}
.progress-actions>.button {
  font-size:.76rem;
  padding:11px 12px;
  min-height:44px
}
.progress-actions>.button>.icon {
  width:16px;
  height:16px
}
.chapter-log-row {
  grid-template-columns:1fr auto;
  gap:16px;
  padding:20px 0
}
.chapter-log-row>div:nth-child(2) {
  grid-row:2;
  grid-column:1/-1
}
.chapter-log-row>.button {
  grid-row:1;
  grid-column:2;
  font-size:.73rem
}
.chapter-log-row h3 {
  font-size:.9rem
}
.chapter-log-row>div:nth-child(2)>span:last-child {
  font-size:.7rem
}
.recent-item {
  gap:10px
}
.recent-item strong {
  font-size:.8rem
}
.recent-item>div>span {
  font-size:.65rem
}
.recent-item>.icon-button {
  width:34px;
  height:34px
}
.recent-item>.icon-button .icon {
  width:17px;
  height:17px
}
.privacy-note p {
  font-size:.73rem
}
.empty-state h2 {
  font-size:1.17rem
}
.empty-state p {
  font-size:.85rem
}
#toast {
  font-size:.79rem;
  min-width:230px;
  padding:12px 18px
}

}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}
*,*::before,*::after {
  animation:none!important;
  transition:none!important
}
.chapter-card:hover,.button:hover {
  transform:none!important
}

}

.skip-link:not(:focus) {
  clip-path:inset(50%);
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden
}
