:root{color-scheme:light;--ink:#102826;--muted:#526864;--line:#d9e5e0;--surface:#fff;--canvas:#f4f8f6;--primary:#09604f;--soft:#e2f2eb;--radius:16px;font-family:Inter,system-ui,sans-serif;color:var(--ink);background:var(--canvas)}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #0c9473;outline-offset:3px}header{background:var(--surface);border-bottom:1px solid var(--line)}.wrap{width:min(1090px,calc(100% - 40px));margin-inline:auto}.masthead{height:66px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.03em;font-size:1.18rem}.brandmark{background:var(--primary);color:white;width:32px;height:32px;border-radius:10px;display:grid;place-content:center}.mastlabel,.muted,small{color:var(--muted)}.mastlabel{font-size:.875rem}main{padding-block:38px 64px}h1,h2,h3,p{margin:0}h1{font-size:clamp(2.15rem,5vw,3.2rem);letter-spacing:-.055em;line-height:1.1}h2{font-size:1.3rem;letter-spacing:-.025em}h3{font-size:1rem}p{line-height:1.6}.intro{background:#e3f1eb;border:1px solid #d6e9e0;border-radius:22px;padding:30px 32px;margin-bottom:22px}.intro p{margin-top:7px}.crumb{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:19px;color:var(--muted);font-size:.875rem}.crumb a:hover{text-decoration:underline}.tabs,.classes{display:flex;flex-wrap:wrap;gap:8px}.tabs{margin:20px 0}.tab,.button,.classes a{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;padding:9px 14px;font-weight:700;min-height:42px;background:white;cursor:pointer;color:var(--ink)}.tab[aria-current],.button.primary,.classes [aria-current]{background:var(--primary);color:white;border-color:var(--primary)}.tab:hover,.button:hover,.classes a:hover{box-shadow:0 0 0 2px #93c9b8}.panel,.card{background:white;border:1px solid var(--line);border-radius:var(--radius)}.panel{padding:21px}.grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.list{list-style:none;padding:0;margin:12px 0 0}.list li{border-top:1px solid var(--line)}.chapter{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 4px;min-height:53px}.chapter:hover,.topic:hover{color:var(--primary);background:#f4faf7}.chapter span:first-child{display:flex;gap:10px}.num{color:var(--muted);min-width:1.4rem;font-variant-numeric:tabular-nums}.badge{white-space:nowrap;color:var(--primary);background:var(--soft);border-radius:7px;padding:4px 7px;font-size:.8rem;font-weight:700}.section{margin-top:22px}.card{padding:18px 20px;margin-top:10px;display:flex;justify-content:space-between;align-items:center;gap:16px}.card p,.topic p{color:var(--muted);font-size:.9rem;margin-top:3px}.topic{display:block;padding:11px 4px}.topic strong{display:block}.empty{padding:21px;margin-top:13px}.test-layout{display:grid;grid-template-columns:minmax(0,1fr) 218px;gap:16px}.question-meta{font-size:.875rem;color:var(--muted);margin:8px 0 15px}.stem p,.option p{white-space:pre-line}.stem p + p{margin-top:8px}.stem img,.option img{max-width:100%;max-height:260px;object-fit:contain;margin:10px 0;display:block}.options{display:grid;gap:8px;margin-top:14px}.option{display:flex;align-items:center;gap:11px;text-align:left;background:white;border:1px solid var(--line);border-radius:10px;padding:10px;color:var(--ink);cursor:pointer}.option[aria-pressed=true]{background:var(--soft);border-color:var(--primary)}.letter{flex:none;background:#eef4f1;border-radius:7px;padding:4px 9px;font-weight:750}.actions{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:18px}.palette{align-self:start}.palette-grid{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.palette-grid .button{padding:6px 11px}.palette-grid .answered{background:var(--soft)}.notice{margin-top:12px;color:var(--muted)}.test-title{margin-bottom:16px}.test-title h1{font-size:clamp(1.85rem,4vw,2.65rem)}math{font-size:1.06em}.stem table{border-collapse:collapse;max-width:100%}.stem td,.stem th{border:1px solid var(--line);padding:8px;text-align:left}
@media(max-width:680px){.grid,.test-layout{grid-template-columns:1fr}.wrap{width:calc(100% - 26px)}.intro{padding:22px}.masthead{height:55px}main{padding-top:24px}.test-layout .palette{order:-1}.panel{padding:15px}.card{padding:15px}.mastlabel{display:none}}

.expandable-topic {
  padding: 12px 4px;
  scroll-margin-top: 16px;
}
.topic-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topic-heading .button {
  flex: none;
}
.topic-description {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 3px;
}
.topic-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  margin-top: 4px;
  padding: 0 6px 0 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--primary);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}
.topic-toggle:hover {
  text-decoration: underline;
}
.topic-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 240ms ease;
}
.topic-toggle[aria-expanded="true"] .topic-chevron {
  transform: rotate(225deg);
}
.topic-question-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms ease;
}
.topic-question-panel.is-open {
  grid-template-rows: 1fr;
}
.topic-question-body {
  min-height: 0;
  overflow: hidden;
}
.topic-question-list {
  margin: 4px 0 0 12px;
}
.topic-question-list .chapter span:first-child {
  flex-wrap: wrap;
  gap: 3px 10px;
}
@media (prefers-reduced-motion: reduce) {
  .topic-question-panel, .topic-chevron {
    transition: none;
  }
}

.stem img.source-print,
.option img.source-print {
  height: auto;
  max-height: none;
}
.option > div {
  min-width: 0;
}

.question-source-heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}

.question-source-toggle {
  flex-shrink: 0;
  min-width: 32px;
  min-height: 32px;
  padding: 0 6px;
  font-size: 1rem;
  border-radius: 50%;
}

.question-source-popup {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  z-index: 4;
  width: min(22rem, 100%);
  margin: 0;
  padding: .55rem .75rem;
  color: #425f57;
  background: #fff;
  border: 1px solid #cbd8d4;
  border-radius: .55rem;
  box-shadow: 0 4px 14px rgb(0 0 0 / .12);
  font-size: .875rem;
  overflow-wrap: anywhere;
}

.chapter-intro-title {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.chapter-back {
  flex-shrink: 0;
  width: 42px;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1;
}

.test-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
}

.test-clock {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: .875rem;
}

.test-clock-value,
.attempt-timing td:last-child {
  font-variant-numeric: tabular-nums;
}

.test-clock-value {
  color: var(--ink);
  font-weight: 700;
}

.attempt-timing {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.attempt-timing th,
.attempt-timing td {
  border-bottom: 1px solid var(--line);
  padding: .65rem .35rem;
}

.attempt-timing thead,
.attempt-timing td:last-child {
  color: var(--muted);
}

.attempt-timing tr > :last-child {
  text-align: right;
}

.attempt-timing a:hover {
  text-decoration: underline;
}

.source-review-toggle {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  gap: 1rem;
  color: inherit;
  font-size: inherit;
  text-align: left;
}

.source-review-toggle .topic-chevron {
  flex-shrink: 0;
  margin-right: .25rem;
}

.test-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.test-layout {
  --result-correct: #bbdfca;
  --result-incorrect: #f9e0e0;
  --result-unattempted: #fff;
  --result-ungraded: #d8dedb;
}

.option,
.numerical-answer {
  transition: background-color 220ms ease, border-color 220ms ease;
}

.option.answer-correct,
.numerical-answer.answer-correct {
  background: var(--result-correct);
  border-color: #30744e;
}

.option.answer-incorrect,
.numerical-answer.answer-incorrect {
  background: var(--result-incorrect);
  border-color: #ae5555;
}

.numerical-response {
  display: grid;
  justify-items: start;
  gap: 6px;
}

.numerical-answer {
  width: min(100%, 15rem);
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.numerical-answer:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.test-actions button:disabled {
  opacity: .55;
  cursor: default;
}

.answer-feedback,
.exam-notice-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.palette-grid .result-correct {
  background: var(--result-correct);
  border-color: #30744e;
}

.palette-grid .result-incorrect {
  background: var(--result-incorrect);
  border-color: #ae5555;
}

.palette-grid .result-ungraded {
  background: var(--result-ungraded);
  border-color: #a2a2a2;
}

.results-pie {
  width: min(100%, 132px);
  aspect-ratio: 1;
  margin: 14px auto 0;
  border: 1px solid #a2a2a2;
  border-radius: 50%;
}

.palette-grid [class*="result-"][aria-current="page"] {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.solution-dialog {
  width: min(24rem, calc(100% - 2rem));
}

.solution-dialog::backdrop {
  background: rgb(11 32 28 / .48);
}

.solution-dialog p {
  margin: .6rem 0 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .option,
  .numerical-answer { transition: none; }
}

.brandlogo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.exam-with-notice {
  position: relative;
}

.exam-notice {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  z-index: 3;
  width: max-content;
  pointer-events: none;
  padding: .4rem .6rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 4px 14px rgb(0 0 0 / .12);
  font-size: .8rem;
  line-height: 1.3;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -.35rem);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.exam-notice::before {
  content: "";
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface);
  transform: rotate(45deg);
}

.exam-with-notice > .tab[aria-expanded="true"] + .exam-notice {
  z-index: 4;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .exam-notice {
    transition: none;
  }
}
