@font-face {
  font-family: DM Sans;
  src: url("/fonts/dm-sans-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: DM Serif Text;
  src: url("/fonts/dm-serif-text-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM Serif Text;
  src: url("/fonts/dm-serif-text-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --ink: #172f39;
  --text: #223c43;
  --muted: #506367;
  --line: #cad4cf;
  --paper: #fafbf7;
  --mint: #e2f0e6;
  --accent: #ffe079;
  --blue: #184f63;
  --serif: "DM Serif Text", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 1.0625rem/1.5 var(--sans);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  text-wrap: balance;
}
p {
  overflow-wrap: anywhere;
}
h1,
h2,
h3,
.brand {
  font: 400 2.3rem/1.08 var(--serif);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #37859b;
  outline-offset: 4px;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: fixed;
  z-index: 5;
  background: white;
  padding: 10px;
}
.wrap {
  max-width: 1220px;
  margin: auto;
  padding-left: clamp(18px, 4.3vw, 65px);
  padding-right: clamp(18px, 4.3vw, 65px);
}
header {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.bar {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: clamp(15px, 4vw, 60px);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 2.12rem;
  letter-spacing: -0.07em;
  white-space: nowrap;
  color: var(--ink);
}
.dot {
  color: #b45b23;
}
.papericon {
  display: inline-block;
  margin-right: 12px;
  width: 29px;
  height: 33px;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 2px;
  transform: rotate(-8deg);
  box-shadow: 3px 2px 0 var(--ink);
  padding: 5px 4px 4px;
}
.papericon i {
  display: block;
  background: var(--ink);
  height: 1.5px;
  margin: 3px 0;
}
.papericon i:first-child {
  height: 4.5px;
  margin-top: 0;
}
.papericon i:last-child {
  width: 68%;
}
.login-top,
.profile {
  margin-left: auto;
}
.login-top,
nav,
.profile,
.reference {
  font-size: 0.91rem;
}
.login-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}
.login-top i,
footer i {
  color: #7c9290;
}
.login-top i {
  width: 5px;
  height: 5px;
  background: #79968a;
  border-radius: 50%;
}
nav {
  display: flex;
  align-self: stretch;
  gap: 24px;
}
nav a {
  display: grid;
  align-content: center;
  text-decoration: none;
  font-weight: 650;
  border-bottom: 3px solid transparent;
  padding-top: 3px;
}
nav a[aria-current] {
  border-color: var(--ink);
}
.profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
}
.profile b,
.avatar {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dceddd;
  color: #254a40;
  border: 1px solid #afc8b6;
}
.profile span {
  max-width: 12ch;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mast {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 3px double #9bad9f;
  padding: 21px 0 9px;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  font-weight: 720;
  text-transform: uppercase;
}
.hero {
  display: grid;
  grid-template-columns: 0.91fr 1.09fr;
  background: var(--ink);
  color: white;
  margin: 20px 0 0;
  min-height: 355px;
  overflow: hidden;
  isolation: isolate;
}
.hero-text {
  position: relative;
  z-index: 1;
  padding: clamp(26px, 3.5vw, 55px);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 0.74rem;
  line-height: 1.4;
  letter-spacing: 0.13em;
  font-weight: 750;
  color: #46665b;
}
.gold {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 9px;
}
.dash {
  height: 2px;
  width: 23px;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(3.35rem, 5.6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.048em;
  color: white;
  margin: 16px 0;
}
.hero h1 em {
  color: #ffe49a;
}
.hero p {
  font-size: 1.04rem;
  color: #e7eeea;
  max-width: 36ch;
  line-height: 1.5;
}
.hero .primary {
  margin-top: 21px;
}
.hero-art {
  position: relative;
  min-height: 100%;
  background: #214647;
  align-self: stretch;
}
.hero-art img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-art figcaption {
  position: absolute;
  right: 9px;
  bottom: 8px;
  background: #172f39dd;
  color: #fff;
  padding: 4px 7px;
  font-size: 0.72rem;
}
.primary,
.secondary,
.sound,
.linkbtn {
  border: 0;
  font-family: var(--sans);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  gap: 8px;
  font-size: 0.99rem;
  font-weight: 720;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.primary {
  color: white;
  background: var(--ink);
  padding: 12px 20px;
  border-radius: 6px;
  min-height: 46px;
}
.primary:hover {
  background: #265568;
}
.primary.yellow {
  color: var(--ink);
  background: var(--accent);
}
.primary.yellow:hover {
  background: #ffebac;
}
.secondary,
.sound {
  background: #fff;
  border: 1px solid #b7c7bf;
  color: var(--ink);
  min-height: 43px;
  padding: 8px 16px;
  border-radius: 6px;
}
.secondary:hover,
.sound:hover,
.profilechoice:hover {
  background: #edf4eb;
  border-color: #64897a;
}
.sound {
  align-self: flex-start;
  font-weight: 660;
}
.sound.small {
  font-size: 0.9rem;
  min-height: 40px;
}
.sound.playing {
  background: #e0f1e4;
}
.speaker {
  display: inline-grid;
  place-items: center;
  color: #24634f;
  font: 700 0.87rem/1 monospace;
  letter-spacing: -0.15em;
  margin-right: 3px;
  min-width: 18px;
}
.loginform {
  margin-top: 19px;
  max-width: 100%;
}
.loginform label,
.profiles label {
  display: block;
  font-size: 0.89rem;
  font-weight: 680;
  margin-bottom: 6px;
}
.loginform > div {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.loginform input {
  max-width: 118px;
  min-width: 0;
  height: 46px;
}
.loginform .primary {
  margin-top: 0;
}
.loginform p:not(:empty) {
  color: #ffe29e;
  margin: 8px 0 0;
  font-size: 0.88rem;
}
.previews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 30px 0;
}
.previews > div {
  padding: 3px 8px 5px 17px;
  border-left: 3px solid #8eb6a0;
}
.previews > div + div {
  border-color: #e1b450;
}
.previews h2 {
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  margin: 6px 0;
}
.previews p {
  font-size: 0.98rem;
  color: var(--muted);
}
.index,
.progresspart {
  margin-top: 39px;
}
.section-heading,
.qtop,
.formfoot,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.section-heading h2,
.progresspart h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: -0.04em;
  margin-top: 5px;
}
.section-heading > .sound {
  align-self: center;
}
.tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin: 18px 0;
}
.tabs a {
  font: 700 1rem var(--sans);
  padding: 11px 2px;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 3px solid transparent;
}
.tabs a.selected {
  border-color: var(--ink);
  color: var(--ink);
}
.cardgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.topiccard {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding: 13px;
  border: 1px solid var(--line);
  background: white;
  text-decoration: none;
  transition: border 0.16s;
  border-radius: 5px;
}
.topiccard:hover {
  border-color: #569078;
}
.topiccard > img {
  width: 100%;
  height: 100%;
  min-height: 105px;
  max-height: 170px;
  object-fit: cover;
  border-radius: 2px;
  background: #f5f7f0;
}
.cardbody {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 2px 0;
}
.cardbody h3 {
  font-size: 1.48rem;
  letter-spacing: -0.022em;
  margin: 5px 0;
}
.cardbody p {
  font-size: 0.94rem;
  line-height: 1.36;
  color: var(--muted);
}
.cardaction {
  font-size: 0.86rem;
  font-weight: 750;
  color: #235c49;
  padding-top: 8px;
  margin-top: auto;
}
.cardaction span {
  font-size: 1rem;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 24px 0 25px;
  font-size: 0.91rem;
  text-decoration: none;
  font-weight: 650;
  color: #49625d;
}
.back b {
  font-size: 1.3rem;
  line-height: 1;
}
.back:hover,
.linkbtn:hover {
  text-decoration: underline;
}
.pagetitle,
.finish h1 {
  font-size: clamp(2.65rem, 5.2vw, 4.35rem);
  letter-spacing: -0.045em;
  margin: 8px 0 10px;
}
.lead {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 72ch;
}
.studygrid,
.workgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  margin-top: 28px;
}
.article {
  border-top: 4px solid var(--ink);
  padding-top: 21px;
}
.article h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  letter-spacing: -0.025em;
}
.article p,
.workside details p {
  font-family: var(--sans);
  line-height: 1.68;
  font-size: 1.14rem;
  margin: 15px 0;
  white-space: pre-line;
}
.article .primary {
  margin-top: 10px;
}
.sourcefig img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  background: #fff;
}
.sourcefig figcaption,
.reference {
  color: var(--muted);
  line-height: 1.45;
}
.sourcefig figcaption {
  font-size: 0.9rem;
  padding: 9px 1px;
  border-bottom: 1px solid var(--line);
}
.hintbox {
  background: var(--mint);
  border-left: 4px solid #679a7a;
  margin: 18px 0 9px;
  padding: 18px 20px;
}
.hintbox h3,
.feedback h3 {
  font-size: 1.7rem;
}
.hintbox p {
  margin: 8px 0 13px;
}
.reference {
  font-size: 0.83rem;
}
.workhead h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  margin-top: 7px;
}
.workgrid {
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  margin-top: 22px;
  align-items: start;
}
.question,
.finish,
.profiles {
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  padding: clamp(20px, 3vw, 36px);
}
.qtop {
  font-size: 0.88rem;
}
.qtop b {
  color: #315f4d;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.question-map,
.question-moves {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.question-map {
  margin: 12px 0 6px;
}
.question-number {
  min-width: 44px;
  min-height: 44px;
  padding: 4px 7px;
  background: white;
  color: var(--ink);
  border: 1px solid #a7b7b2;
  border-radius: 7px;
  font-weight: 700;
}
.question-number span:not(:empty) {
  margin-left: 3px;
  font-size: 0.85rem;
}
.question-number.draft {
  background: #fff3d3;
}
.question-number.answered {
  background: #dfefe3;
}
.question-number[aria-current] {
  box-shadow: inset 0 0 0 2px currentColor;
}
.map-key {
  color: var(--muted);
  font-size: 0.87rem;
  margin: 0 0 19px;
}
.map-key span {
  white-space: nowrap;
  margin-left: 4px;
}
.question-moves {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
}
.question h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.22;
  letter-spacing: -0.014em;
  white-space: pre-line;
  text-wrap: pretty;
}
.muted {
  font-size: 0.98rem;
  color: var(--muted);
  margin: 10px 0;
}
.choices {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}
.option {
  display: flex;
  align-items: center;
  position: relative;
  gap: 12px;
  cursor: pointer;
  padding: 12px 15px;
  border: 1.5px solid #c6d3cd;
  border-radius: 7px;
  line-height: 1.42;
}
.option:hover {
  background: #f2f7f0;
}
.option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.marker {
  background: #eef2ed;
  border-radius: 5px;
  min-width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  font-size: 0.86rem;
  font-weight: 750;
  color: #465e55;
  border: 1px solid #c9d3cd;
}
.option:has(input:checked) {
  background: #e2f1e5;
  border-color: #337552;
}
.option:has(input:checked) .marker {
  background: #276548;
  color: white;
  border-color: #276548;
}
.option:has(input:focus-visible) {
  outline: 3px solid #287b97;
  outline-offset: 2px;
}
.option:has(input[type="checkbox"]:not(:checked)) .marker {
  color: transparent;
}
.fieldlabel {
  display: block;
  font-size: 0.96rem;
  font-weight: 650;
  margin: 20px 0 6px;
}
input:not([type="checkbox"]):not([type="radio"]),
textarea {
  border: 1.5px solid #a3b6ac;
  border-radius: 5px;
  background: white;
  color: var(--ink);
  padding: 9px 12px;
  font-size: 1.06rem;
}
#answer {
  width: 100%;
}
textarea {
  resize: vertical;
}
.support {
  margin: 17px 0;
}
.hinttext,
.review-note {
  background: #edf4e9;
  border-left: 3px solid #75a080;
  margin-top: 9px;
  padding: 11px 15px;
}
.hinttext p {
  margin-top: 4px;
}
.review-note {
  margin: 0 0 19px;
  font-size: 0.98rem;
}
.review-note .sound {
  margin-top: 6px;
}
.formfoot {
  justify-content: flex-start;
  margin-top: 12px;
}
.formfoot span {
  color: var(--muted);
  font-size: 0.86rem;
}
.feedback {
  border-left: 4px solid #6a9e74;
  background: #edf6ed;
  margin: 20px 0;
  padding: 17px 19px;
}
.feedback.wrong {
  background: #fff4de;
  border-color: #be8639;
}
.feedback.open {
  background: #edf2fa;
  border-color: #758ea9;
}
.feedback h3 {
  margin: 5px 0 10px;
}
.feedback p {
  margin: 8px 0;
  white-space: pre-line;
}
.feedback .sound {
  margin-top: 6px;
}
.workside {
  border-top: 3px double #9daf9f;
  padding-top: 14px;
}
.workside details {
  padding: 9px 1px 13px;
}
.workside summary,
.historyrow summary {
  cursor: pointer;
  font-weight: 650;
}
.workside details[open] .sound {
  margin-top: 9px;
}
.workside details p {
  font-size: 1rem;
}
.workside .sourcefig {
  margin-top: 9px;
}
.workside .sourcefig img {
  max-height: 220px;
}
.numbers {
  display: flex;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  background: #f0f4ec;
  margin: 18px 0 24px;
}
.numbers > div {
  flex: 1;
  padding: 15px 17px;
  font-size: 0.92rem;
  color: #46594e;
}
.numbers > div + div {
  border-left: 1px solid var(--line);
}
.numbers b {
  display: block;
  font: 400 2rem var(--serif);
  color: var(--ink);
}
.actions {
  justify-content: flex-start;
}
.finish,
.profiles {
  max-width: 800px;
  margin: 2px auto 44px;
}
.finish h2 {
  font-size: 1.6rem;
  margin: 10px 0;
}
.progresspart h2 {
  font-size: 2rem;
}
.historyrow {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 12px 15px;
}
.historyrow summary {
  font-weight: 530;
  line-height: 1.45;
}
.outcome {
  display: inline-block;
  background: #e0efe4;
  border-radius: 4px;
  padding: 3px 8px;
  margin-right: 10px;
  font-weight: 680;
  font-size: 0.82rem;
  color: #2f6248;
}
.outcome.wrong {
  background: #f8ead0;
  color: #795319;
}
.outcome.open {
  background: #e6edf5;
  color: #365575;
}
.historydetail {
  padding: 10px 0 4px;
}
.historydetail p {
  margin: 7px 0;
}
.historydetail p,
.option,
.profilechoice {
  overflow-wrap: anywhere;
}
.progresspart > .actions {
  margin-top: 16px;
}
.targets {
  padding: 0;
  list-style: none;
}
.targets li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.targets li span {
  display: block;
  font-size: 0.89rem;
  color: var(--muted);
}
.profilelist {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}
.profilechoice {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 5px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: #f6faf6;
  text-align: left;
  font-weight: 650;
}
.profilechoice small {
  margin-left: auto;
  font-size: 0.82rem;
}
.profiles form {
  margin: 22px 0;
}
.profiles input {
  max-width: 100%;
  margin: 0 6px 7px 0;
}
.linkbtn {
  color: var(--blue);
  background: transparent;
  padding: 8px 0;
}
.finish .eyebrow {
  margin-bottom: 8px;
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}
footer.wrap {
  margin: 42px auto 0;
  padding-top: 15px;
  padding-bottom: 19px;
  position: relative;
}
footer:before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(18px, 4.3vw, 65px);
  right: clamp(18px, 4.3vw, 65px);
  height: 1px;
  background: var(--line);
}
#notice {
  visibility: hidden;
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  max-width: 90vw;
  width: max-content;
  padding: 10px 16px;
  border-radius: 5px;
  z-index: 5;
  font-size: 0.94rem;
  box-shadow: 0 4px 12px #172f3930;
}
#notice.show {
  visibility: visible;
}
main:focus {
  outline: none;
}
@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  .hero-text {
    padding: 26px;
  }
  .cardgrid {
    gap: 10px;
  }
  .topiccard {
    grid-template-columns: 74px 1fr;
    gap: 11px;
    padding: 10px;
  }
  .cardbody h3 {
    font-size: 1.32rem;
  }
  .studygrid,
  .workgrid {
    gap: 22px;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }
}
@media (max-width: 650px) {
  .bar {
    min-height: 61px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 1.7rem;
  }
  .papericon {
    width: 23px;
    height: 27px;
    padding: 4px 3px;
    margin-right: 9px;
  }
  .login-top {
    font-size: 0.75rem;
    gap: 6px;
  }
  .bar:has(nav) {
    padding-top: 10px;
  }
  .bar nav {
    order: 3;
    flex-basis: 100%;
    gap: 20px;
  }
  .bar nav a {
    min-height: 38px;
    font-size: 0.91rem;
    padding-top: 0;
  }
  .profile span {
    max-width: 10ch;
  }
  .mast {
    font-size: 0.63rem;
    letter-spacing: 0.07em;
    padding-top: 15px;
  }
  .hero {
    grid-template-columns: 1fr;
    margin-top: 12px;
    min-height: 0;
  }
  .hero-text {
    padding: 23px 22px;
  }
  .hero h1 {
    font-size: 3.5rem;
    margin: 11px 0;
  }
  .hero p {
    max-width: 95%;
    font-size: 0.99rem;
  }
  .hero-art {
    height: clamp(150px, 38vw, 230px);
    min-height: 0;
  }
  .hero-art img {
    object-position: center 53%;
  }
  .loginform {
    margin-top: 13px;
  }
  .hero .primary {
    margin-top: 13px;
  }
  .loginform .primary {
    margin-top: 0;
  }
  .cardgrid,
  .previews,
  .studygrid,
  .workgrid {
    grid-template-columns: minmax(0, 1fr);
  }
  .previews {
    gap: 15px;
    margin: 23px 0;
  }
  .previews > div {
    padding-left: 13px;
  }
  .index,
  .progresspart {
    margin-top: 26px;
  }
  .section-heading {
    gap: 10px;
  }
  .section-heading .sound {
    font-size: 0.85rem;
  }
  .cardgrid {
    gap: 9px;
  }
  .topiccard {
    grid-template-columns: 83px 1fr;
  }
  .back {
    margin: 16px 0 19px;
  }
  .studygrid,
  .workgrid {
    margin-top: 18px;
  }
  .studygrid .lessonaside {
    order: -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 10px;
    align-items: start;
  }
  .lessonaside .sourcefig img {
    max-height: 145px;
  }
  .lessonaside .hintbox {
    margin: 0;
    padding: 10px;
  }
  .lessonaside .hintbox h3 {
    font-size: 1.22rem;
  }
  .lessonaside .hintbox p,
  .lessonaside figcaption {
    font-size: 0.84rem;
  }
  .lessonaside .hintbox .sound {
    font-size: 0.82rem;
    padding: 6px 9px;
  }
  .lessonaside .reference {
    grid-column: 1/-1;
  }
  .workside {
    margin-top: 1px;
  }
  .workside .sourcefig {
    display: none;
  }
  .question,
  .finish,
  .profiles {
    padding: 17px;
  }
  .numbers > div {
    padding: 10px 7px;
    font-size: 0.8rem;
  }
  .targets li {
    align-items: flex-start;
  }
  .loginform input {
    width: 110px;
  }
  footer.wrap {
    margin-top: 30px;
  }
}
@media (max-width: 360px) {
  .login-top {
    max-width: 90px;
  }
  .mast span:first-child {
    max-width: 18ch;
  }
  .section-heading {
    align-items: start;
  }
  .studygrid .lessonaside {
    grid-template-columns: 1fr;
  }
  .lessonaside .sourcefig img {
    max-height: 135px;
  }
  .bar {
    gap: 8px;
  }
  .hero h1 {
    font-size: 3rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.timer-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.55rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.timer-row b {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  padding: 0.12rem 0.46rem;
  background: #edf2eb;
  border-radius: 4px;
}
.comparison {
  background: #fff9;
  border: 1px solid #b3c9ba;
  border-radius: 5px;
  padding: 10px 13px;
  margin: 10px 0;
}
.comparison p {
  margin: 3px 0 0;
  white-space: pre-line;
}
.choice-reasons ul {
  padding-inline-start: 1.35rem;
  margin: 6px 0 14px;
}
.choice-reasons li + li {
  margin-top: 5px;
}
.activity-summary {
  color: var(--ink);
  font-size: 0.94rem;
}
.review-cover {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 50px);
  background: #f9f3df;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.review-cover > div {
  padding: 24px clamp(20px, 3vw, 36px) 24px 0;
}
.review-cover h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  letter-spacing: -0.045em;
  margin: 12px 0;
}
.review-cover p {
  margin: 10px 0 20px;
}
.review-cover a {
  margin-left: 8px;
}
.monster-art {
  width: 100%;
  height: auto;
  display: block;
}
.finish .monster-art {
  max-width: 430px;
  margin: 0 auto 16px;
  border-radius: 5px;
}
@media (max-width: 650px) {
  .review-cover {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .review-cover > div {
    padding: 15px 20px 22px;
  }
}

.poster-collection {
  margin: 1.7rem 0;
}
.poster-collection h2 {
  margin-bottom: 0.75rem;
}
.poster-collection ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}
.poster-collection li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
.poster-collection h3 {
  font-size: 1.42rem;
  margin-top: 0.35rem;
}
.poster-lock {
  color: var(--muted);
  font-size: 0.95rem;
}
.poster-actions,
.poster-tools {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}
.poster-actions {
  margin: 1rem 0;
}
.poster-tools {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.poster-tools .secondary {
  font-size: 0.9rem;
}
.study-poster {
  background: #edf0eb;
  border: 1px solid var(--line);
  padding: clamp(6px, 2.6vw, 32px);
  border-radius: 6px;
}
.study-poster img {
  height: auto;
  max-width: 100%;
  width: min(100%, 780px);
  margin: auto;
  box-shadow: 0 3px 12px #1d392d22;
}
.poster-transcript {
  margin: 1.2rem 0;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}
.poster-transcript summary {
  cursor: pointer;
  font-weight: 700;
}
.poster-transcript p {
  margin: 0.7rem 0;
  max-width: 72ch;
}
.poster-transcript h3 {
  font-size: 1.4rem;
  margin: 1.2rem 0 0.4rem;
}
.lessonaside > .secondary {
  margin-top: 0.7rem;
}
@media (max-width: 650px) {
  .poster-collection li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
  .bar nav {
    gap: clamp(12px, 3.5vw, 20px);
  }
}
