:root {
  --ink: #14263a;
  --muted: #4b6071;
  --line: #ccd8df;
  --surface: #ffffff;
  --page: #f3f7f7;
  --orange: #c9490a;
  --orange-soft: #fff0e7;
  --teal: #086b73;
  --teal-soft: #e4f4f3;
  --navy: #173b57;
  --sky: #4ba3b0;
  --gold: #a36c05;
  --gold-soft: #fff6da;
  --plum: #684b7f;
  --error: #a12b2b;
  --success: #246b45;
  --shadow: 0 16px 38px rgba(20, 38, 58, 0.1);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 8%, rgba(75, 163, 176, 0.11), transparent 24rem),
    var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

button,
textarea,
select,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
textarea:focus-visible,
select:focus-visible,
input:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid #f3a65f;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 13px 28px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(145deg, var(--teal), var(--navy));
  border-radius: 50% 50% 50% 12px;
  font-size: 0.8rem;
  font-weight: 900;
  transform: rotate(-3deg);
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--orange);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.42rem);
}

h2 {
  max-width: 930px;
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.2vw, 3.65rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

h4 {
  margin: 7px 0 18px;
  font-size: 1.08rem;
  line-height: 1.4;
}

.status {
  width: min(320px, 34vw);
  min-width: 180px;
}

#progressText {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  background: #e1e8eb;
  border-radius: 999px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--sky), var(--orange));
  transition: width 180ms ease;
}

.shell {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}

.sidebar {
  position: sticky;
  top: 76px;
  align-self: start;
  height: calc(100vh - 76px);
  padding: 23px 14px;
  overflow-y: auto;
  background: #eaf1f2;
  border-right: 1px solid var(--line);
}

.nav-item {
  width: 100%;
  min-height: 44px;
  margin-bottom: 7px;
  padding: 9px 12px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
}

.nav-item:hover,
.nav-item:focus-visible {
  background: #fff;
  border-color: var(--line);
}

.nav-item.active {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 7px 16px rgba(23, 59, 87, 0.17);
}

.content {
  min-width: 0;
}

.module-section {
  display: none;
  min-height: calc(100vh - 76px);
  padding: clamp(28px, 5vw, 68px);
}

.active-section {
  display: block;
  animation: section-in 220ms ease-out;
}

@keyframes section-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-heading {
  max-width: 980px;
  margin-bottom: 30px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.7fr);
  gap: 24px;
  align-items: end;
  max-width: 1180px;
}

.hero-question {
  margin-bottom: 30px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), #0d6570);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-question span {
  display: block;
  margin-bottom: 10px;
  color: #bde9eb;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-question p {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 760;
  line-height: 1.4;
}

.instructor-card,
.lens-card,
.scenario-card,
.quick-prompt,
.checkpoint-grid fieldset,
.video-panel,
.pathway-figure,
.claim-audit,
.recommendation-box,
.rubric-wrap,
.score-panel,
.quiz-question {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.instructor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 0 24px;
  padding: 20px 22px;
  border-left: 6px solid var(--orange);
}

.instructor-card h3,
.instructor-card p:not(.eyebrow) {
  margin-top: 0;
  margin-bottom: 5px;
}

.instructor-card p:not(.eyebrow) {
  max-width: 800px;
  color: var(--muted);
}

.outcomes-grid,
.finish-grid,
.definition-grid,
.checkpoint-grid,
.paper-strip,
.activity-resources {
  display: grid;
  gap: 16px;
}

.outcomes-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin-bottom: 26px;
}

.outcomes-grid article {
  position: relative;
  min-height: 154px;
  padding: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.outcomes-grid article::after {
  position: absolute;
  right: -20px;
  bottom: -42px;
  width: 100px;
  height: 100px;
  content: "";
  background: var(--teal-soft);
  border-radius: 50%;
}

.outcome-number {
  display: block;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.outcomes-grid strong {
  display: block;
  font-size: 1.05rem;
}

.outcomes-grid p,
.finish-grid p {
  margin: 7px 0 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 10px;
  max-width: 1180px;
  margin-bottom: 28px;
  overflow-x: auto;
}

.timeline div {
  min-height: 88px;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 9px;
}

.timeline span {
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font-weight: 900;
}

.primary,
.secondary {
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 9px;
  font-weight: 850;
}

.primary {
  color: #fff;
  background: var(--orange);
  border: 1px solid var(--orange);
}

.primary:hover {
  background: #a93b07;
}

.secondary {
  color: var(--teal);
  background: #fff;
  border: 1px solid var(--teal);
}

.secondary:hover {
  background: var(--teal-soft);
}

.resource-link,
.paper-card a,
.transcript-panel a {
  color: var(--teal);
  font-weight: 850;
  text-underline-offset: 3px;
}

.resource-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 38px;
  padding: 8px 11px;
  text-decoration: none;
  background: var(--teal-soft);
  border: 1px solid #9acdd0;
  border-radius: 8px;
}

.scenario-card {
  max-width: 980px;
  margin-bottom: 22px;
  overflow: hidden;
}

.scenario-label {
  padding: 10px 20px;
  color: #fff;
  background: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario-card blockquote {
  margin: 0;
  padding: 24px;
  font-size: 1.12rem;
  line-height: 1.65;
}

.lens-card {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  max-width: 980px;
  margin: 22px 0;
  padding: 20px;
  background: linear-gradient(110deg, #fff, #f0f8f8);
  border-left: 6px solid var(--teal);
}

.lens-card.compact {
  padding: 16px 18px;
}

.lens-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.lens-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  color: #fff;
  background: var(--teal);
  border-radius: 50% 50% 50% 8px;
  font-weight: 900;
}

fieldset {
  min-width: 0;
}

.quick-prompt {
  max-width: 800px;
  margin: 22px 0;
  padding: 20px;
}

.quick-prompt legend,
.checkpoint-grid legend,
.quiz-question legend,
.format-choice legend {
  padding: 0 6px;
  font-weight: 850;
}

.quick-prompt label,
.checkpoint-grid label,
.quiz-question label {
  display: block;
  padding: 10px 12px;
  margin: 9px 0;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.video-panel {
  max-width: 980px;
  margin: 0 0 24px;
  padding: 17px;
}

.video-panel video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1721;
  border-radius: 8px;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

details {
  border-radius: 8px;
}

summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 850;
}

.transcript-panel,
.text-alternative {
  margin-top: 12px;
  padding: 12px 14px;
  background: #f5f9f9;
  border: 1px solid var(--line);
}

.transcript-panel p,
.text-alternative p {
  margin: 10px 0 0;
}

.pathway-figure {
  max-width: 1120px;
  margin: 0 0 24px;
  padding: 22px;
}

.figure-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.figure-badge {
  padding: 7px 10px;
  color: #724a00;
  background: var(--gold-soft);
  border: 1px solid #e2c36e;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.pathway-diagram {
  display: grid;
  grid-template-columns: minmax(130px, 0.85fr) 38px minmax(260px, 1.5fr) 38px minmax(170px, 1fr);
  gap: 8px;
  align-items: center;
  padding: 22px;
  background: #f6fafb;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.diagram-node,
.diagram-branch {
  padding: 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.diagram-node strong,
.diagram-node span,
.diagram-branch strong,
.diagram-branch small {
  display: block;
}

.diagram-node span,
.diagram-branch small {
  margin-top: 5px;
  color: var(--muted);
}

.start-node {
  border-left: 5px solid var(--orange);
}

.context-node {
  border-left: 5px solid var(--gold);
}

.diagram-branches {
  display: grid;
  gap: 10px;
}

.direct-branch {
  border-left: 5px solid var(--sky);
}

.indirect-branch {
  border-left: 5px solid var(--plum);
}

.branch-label {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diagram-split {
  color: var(--teal);
  font-size: 1.8rem;
  font-weight: 900;
  text-align: center;
}

.definition-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1120px;
  margin-bottom: 16px;
}

.definition-grid article {
  padding: 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 9px;
}

.definition-grid span {
  display: block;
  font-weight: 900;
}

.definition-grid p {
  margin: 7px 0 0;
  color: var(--muted);
}

.boundary-explainer {
  max-width: 1120px;
  margin: 0 0 24px;
  padding: 18px 20px;
  background: linear-gradient(110deg, #fff, var(--teal-soft));
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: 10px;
}

.boundary-explainer h3,
.boundary-explainer p:last-child {
  margin-bottom: 0;
}

.checkpoint-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1040px;
  margin-bottom: 18px;
}

.checkpoint-grid fieldset {
  padding: 20px;
}

.feedback {
  min-height: 28px;
  margin: 12px 0 18px;
  font-weight: 740;
}

.feedback.good {
  color: var(--success);
}

.feedback.warn {
  color: var(--error);
}

.paper-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin-bottom: 16px;
}

.paper-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.paper-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: var(--teal);
}

.lei-card::before { background: var(--orange); }
.jager-card::before { background: var(--plum); }

.paper-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.paper-card-head strong {
  color: #b9c6cc;
  font-size: 1.2rem;
}

.paper-card p {
  color: var(--muted);
}

.paper-card .paper-finding {
  color: var(--ink);
  font-size: 1.05rem;
}

.paper-card .limit {
  padding: 11px;
  background: var(--gold-soft);
  border-radius: 8px;
}

.paper-card .paper-links {
  margin-top: auto;
}

.paper-card .paper-links a {
  color: var(--teal);
  font-weight: 850;
  text-underline-offset: 3px;
}

.ratio-graphic {
  display: flex;
  min-height: 48px;
  margin: 8px 0 12px;
  overflow: hidden;
  color: #fff;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 900;
}

.ratio-graphic span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 8px 5px;
  text-align: center;
}

.ratio-indirect { background: var(--plum); }
.ratio-direct { background: var(--sky); }

.comparison-alt {
  max-width: 1180px;
  margin-bottom: 22px;
}

.comparison-alt ul {
  margin-bottom: 0;
}

.activity-resources {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin-bottom: 24px;
}

.resource-tile {
  display: flex;
  flex-direction: column;
  min-height: 130px;
  padding: 17px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.resource-tile:hover,
.resource-tile:focus-visible {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.resource-tile span {
  margin-bottom: auto;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-tile small {
  margin-top: 5px;
  color: var(--muted);
}

.claim-audit,
.recommendation-box,
.rubric-wrap {
  max-width: 1120px;
  margin: 22px 0;
  padding: 22px;
}

.claim-audit-head,
.recommendation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.claim-audit-head > p {
  max-width: 400px;
  margin: 0;
  padding: 12px;
  color: #543c6a;
  background: #f4eff8;
  border-radius: 8px;
  font-size: 0.92rem;
}

.classification-guide {
  margin-bottom: 18px;
  padding: 16px;
  background: #f4f8f8;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.classification-guide > h4 {
  margin: 0 0 12px;
}

.classification-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.classification-labels article {
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
}

.classification-labels strong {
  display: block;
}

.classification-labels p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.audit-rows {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.audit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr) minmax(260px, 0.8fr);
  gap: 14px 18px;
  align-items: start;
  padding: 17px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-left: 5px solid var(--plum);
  border-radius: 9px;
}

.audit-row .claim-number {
  grid-column: 1;
  color: var(--plum);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audit-row h4 {
  grid-column: 1;
  grid-row: 2 / span 3;
}

.audit-row label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

select,
textarea {
  width: 100%;
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #aebdc6;
  border-radius: 8px;
}

select {
  min-height: 44px;
}

textarea {
  min-height: 92px;
  margin: 6px 0 14px;
  resize: vertical;
}

.audit-row select {
  grid-column: 2;
}

.audit-row .audit-reason {
  grid-column: 3;
  grid-row: 2 / span 3;
  min-height: 108px;
  margin: 0;
}

.feedback-panel {
  padding: 14px 16px;
  color: var(--ink) !important;
  background: #f6f9fa;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
}

.feedback-panel > p,
.feedback-panel ol {
  margin-top: 0;
}

.feedback-panel li + li {
  margin-top: 8px;
}

.recommendation-head span {
  flex: 0 0 auto;
  padding: 8px 11px;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 999px;
  font-weight: 900;
}

.format-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 18px 0;
  padding: 15px;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.format-choice label {
  font-weight: 750;
}

.boundary-helper {
  padding: 13px 15px;
  color: #274d57;
  background: var(--teal-soft);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
}

.response-format > label {
  display: block;
  color: var(--muted);
  font-weight: 850;
}

.format-note,
.small-note,
.privacy-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.checklist {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  margin-bottom: 8px;
  padding: 10px 12px;
  background: #f7f9fa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checklist li.pass {
  background: #ecf7f0;
  border-color: #79ae8d;
}

.checklist li.miss {
  background: #fff2f0;
  border-color: #dba09c;
}

.table-scroll {
  overflow-x: auto;
}

.rubric-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.rubric-table th,
.rubric-table td {
  padding: 12px;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--line);
}

.rubric-table thead th {
  color: #fff;
  background: var(--navy);
}

.rubric-table tbody th {
  background: var(--teal-soft);
}

.quiz-question {
  max-width: 980px;
  margin: 0 0 18px;
  padding: 20px;
}

.question-prompt {
  margin: 12px 0 16px;
  font-size: 1.05rem;
  font-weight: 720;
}

.score-panel {
  max-width: 980px;
  margin: 20px 0;
  padding: 20px;
  border-left: 6px solid var(--teal);
}

.score-panel:empty {
  display: none;
}

.score-panel li + li {
  margin-top: 8px;
}

.finish-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1100px;
  margin-bottom: 24px;
}

.finish-grid article {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.finish-grid article > span {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .hero-grid,
  .paper-strip,
  .activity-resources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid .section-heading {
    grid-column: 1 / -1;
  }

  .hero-question {
    grid-column: 1 / -1;
  }

  .definition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audit-row {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
  }

  .audit-row .audit-reason {
    grid-column: 2;
    grid-row: 4;
  }
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .status {
    width: 100%;
  }

  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 116px;
    z-index: 8;
    display: flex;
    gap: 7px;
    height: auto;
    padding: 9px 10px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-item {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    white-space: nowrap;
  }

  .outcomes-grid,
  .checkpoint-grid,
  .finish-grid,
  .classification-labels {
    grid-template-columns: 1fr;
  }

  .pathway-diagram {
    grid-template-columns: 1fr;
  }

  .diagram-split {
    transform: rotate(90deg);
  }

  .instructor-card,
  .claim-audit-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 11px 16px;
  }

  .sidebar {
    top: 114px;
  }

  .module-section {
    padding: 28px 16px 48px;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-grid,
  .paper-strip,
  .activity-resources,
  .definition-grid {
    grid-template-columns: 1fr;
  }

  .paper-card {
    min-height: 0;
  }

  .figure-title-row,
  .recommendation-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .figure-badge {
    white-space: normal;
  }

  .audit-row {
    grid-template-columns: 1fr;
  }

  .audit-row .claim-number,
  .audit-row h4,
  .audit-row select,
  .audit-row .audit-reason {
    grid-column: 1;
    grid-row: auto;
  }

  .format-choice {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
