.learner-page{max-width:1050px;margin:auto;padding-block:2rem 4rem}
#mock-library {border:0;padding:0;margin:1.5rem 0;min-width:0}
#mock-library legend {font-weight:600;margin-bottom:.5rem}
#mock-search {display:flex;align-items:end;gap:.5rem;flex-wrap:wrap}
#mock-search label {display:grid;gap:.25rem}
.mock-topic-picker {display:grid;gap:.25rem;margin-top:.75rem}
#mock-topic {font:inherit;padding:.5rem;width:100%;max-width:75ch;min-width:0}
#mock-search input {font:inherit;padding:.5rem;max-width:100%}
.mock-lesson {border-bottom:1px solid #d6dcda}
.mock-lesson summary {cursor:pointer;font-weight:600;padding:.8rem 0}
.mock-lesson > div {padding:0 .75rem 1rem;max-width:75ch}
.mock-lesson li {margin-block:.35rem}
#mock-list nav {margin-top:1rem}
.history-actions {display:flex;align-items:center;flex-wrap:wrap;gap:.75rem}
.history-row {flex-wrap:wrap}
.history-test-link {text-decoration:underline}
.answer-mark {display:inline-block;min-width:1.2em;font-weight:700}
.answer-mark.right {color:#14643b}
.answer-mark.wrong {color:#ad1732}
.dictation-unit { max-width: 72ch; }
.dictation-unit audio { width: 100%; margin: .5rem 0 1.5rem; }
.dictation-unit summary { cursor: pointer; font-weight: 650; }
.dictation-text { white-space: pre-wrap; line-height: 1.7; }
.dictation-text .transcript-word { display:inline; border:0; padding:0; margin:0; color:inherit; font:inherit; background:transparent; }
.dictation-text .transcript-word:is(:hover,:focus-visible,.highlighted) { background:#ffe090; }
.dictation-unit details { margin:1rem 0; }
#dictation-round { margin:1.5rem 0; }
#dictation-round label { display:block; margin-top:1rem; }
#dictation-round textarea,#dictation-round .spelling-mirror { box-sizing:border-box; width:100%; margin:0; padding:.55rem; border:2px solid transparent; font:1.1rem/1.6 monospace; letter-spacing:normal; white-space:pre-wrap; overflow-wrap:anywhere; }
#dictation-round textarea { display:block; border-color:#777; border-radius:.3rem; resize:vertical; }
#dictation-round .show-errors textarea { color:transparent; caret-color:#202333; }
#dictation-round .spelling-mirror { top:0; }
.dictation-unit nav { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }
.learner-page h1{margin-bottom:1.3rem}.learner-page section h2,.learner-page h2{font-size:1.3rem}
.learner-form{display:grid;gap:1rem;max-width:29rem;margin:1.1rem 0}
.learner-form label{display:grid;gap:.35rem;font-weight:600}
.learner-form input,.learner-form select,.learner-page>label select{font:inherit;padding:.55rem .7rem;border:1px solid #aeb8c1;border-radius:.35rem;background:white;color:#192d44}
.learner-form button,.learner-page>.primary{width:fit-content}
.learner-form [role=status]{color:#942524;margin:0}
.account-grid,.learner-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:1.2rem}
.account-grid section,.learner-metrics>div{border:1px solid #d6dce3;border-radius:.5rem;padding:1.2rem}
.learner-metrics strong,.learner-metrics small{display:block}.learner-metrics strong{font-size:1.65rem}
.learner-metrics,.real-skills,#real-manage{margin:1.4rem 0}
.learner-page pre{white-space:pre-wrap;overflow-wrap:anywhere}
.learner-page details>summary{cursor:pointer;font-weight:600}
@media(max-width:850px){.topbar .navlinks a[href="#real"],.topbar .navlinks a[href="#history"],.topbar .navlinks a[href="#account"]{display:inline-flex}.topbar .navlinks{gap:.7rem;flex-wrap:wrap}.exam-actions #pause-exam{font-size:.72rem}}


.dictation-mode-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .5rem 0 1rem;
}
a.dictation-link {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: .45rem .9rem;
  border: 1px solid #87ab9e;
  border-radius: 8px;
  color: #194e3e;
  background: #edf5ef;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .18em;
}
a.dictation-link:hover { background: #dcebe1; }
a.dictation-link-main { color: white; background: #184e40; border-color: #184e40; }
a.dictation-link-main:hover { background: #103b30; }
a.dictation-link:focus-visible { outline: 3px solid #a45019; outline-offset: 3px; }
