/*!****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/styles.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  background: #f3f8ff;
  color: #263653;
}

* { box-sizing: border-box; }

.language-toolbar { max-width: 62rem; margin: 0.75rem auto; padding: 0 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.language-toolbar select { width: auto; min-width: 9rem; }
.language-toolbar small { flex-basis: 100%; }
.language-toolbar p { margin: 0; }
.student-navigation { display: flex; flex-wrap: nowrap; gap: 0.4rem; max-width: 62rem; margin: 1rem auto; padding: 0 1rem; overflow-x: auto; }
.student-navigation a, .student-navigation button { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 0.5rem 0.7rem; min-height: 2.75rem; font-size: .9rem; font-weight: inherit; white-space: nowrap; background: white; color: inherit; border: 1px solid #91a5bd; border-radius: 0.75rem; text-decoration: none; }
.student-navigation a[aria-current="page"], .student-navigation button[aria-current="page"] { background: #2d4eb3; color: white; }
.navigation-pending { -webkit-margin-start: .25rem; margin-inline-start: .25rem; }
.navigation-loading { max-width: 62rem; margin: 1rem auto; padding: 0 1rem; }
.navigation-error { max-width: 60rem; margin: .5rem auto; overflow-wrap: anywhere; }
.topic-title { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.topic-title h3 { overflow-wrap: anywhere; }
.audio-only-playing > :not(.audio-only-overlay) { visibility: hidden !important; }
.audio-only-overlay { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; background: #f3f8ff; }
.audio-only-overlay button { width: 7rem; height: 7rem; display: grid; place-items: center; border-radius: 50%; }
.typed-comparison { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1.5rem; }
.answer-timer { padding: 0.5rem 1rem; background: #e7f6ef; border-radius: 0.75rem; margin-block: 0.75rem; }
.answer-timer [role="timer"] { font-size: 1.25rem; font-weight: 700; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.answer-timer-expired { background: #fff1e6; border: 2px solid #965300; }
.daily-score { padding: .65rem 1rem; margin-block: .75rem; background: #e7f6ef; border: 1px solid #9bc7ba; border-radius: .75rem; }
.daily-score p { display: inline-block; margin: .2rem .8rem .2rem 0; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.daily-score strong, .daily-score small { display: block; }
.daily-score small { color: #35544c; font-size: .8rem; }
.word-history { position: relative; }
.word-history-trigger { min-height: 2.75rem; margin-block: .25rem; padding: .35rem .65rem; font-size: .85rem; }
.word-history-panel { position: fixed; z-index: 100; width: min(42rem, calc(100vw - 2rem)); max-height: min(32rem, calc(100dvh - 2rem)); overflow: auto; overscroll-behavior: contain; padding: 1rem; background: white; color: #263653; border: 1px solid #7993ad; border-radius: .75rem; box-shadow: 0 8px 32px #26365338; font-size: .9rem; }
.word-history-panel table { width: 100%; border-collapse: collapse; table-layout: auto; }
.word-history-panel th, .word-history-panel td { position: static; width: auto; padding: .4rem; border-bottom: 1px solid #dfe7ef; text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.word-history-panel th { background: #edf4fa; }
.word-history-panel nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .75rem; }
.records-calendar table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: .2rem; }
.records-calendar th { font-size: .8rem; }
.records-calendar td { padding: 0; text-align: center; vertical-align: top; }
.records-calendar td a { display: flex; flex-direction: column; justify-content: center; min-height: 2.75rem; padding: .25rem; border: 1px solid #dfe7ef; border-radius: .5rem; text-decoration: none; overflow-wrap: anywhere; }
.records-calendar td a.records-calendar-active, .records-calendar-active a { background: #e7f6ef; border-color: #53a78b; font-weight: 700; }
.records-calendar [aria-current="date"] { outline: 2px solid #2d4eb3; outline-offset: -2px; background: #e4ecff; }
.records-calendar td small { display: block; font-size: .7rem; }
.records-calendar nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.records-calendar nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }

.handwriting-surface { display: block; width: 100%; aspect-ratio: 2 / 1; background: #fffef7; border: 2px solid #91a5bd; border-radius: 0.75rem; }
.handwriting-input { touch-action: none; -moz-user-select: none; user-select: none; -webkit-user-select: none; }
.handwriting-tools { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 0.75rem; }
.handwriting-comparison { display: grid; grid-gap: 1rem; gap: 1rem; }
.handwriting-comparison > * { min-width: 0; }
.dictation-heading { display:flex; align-items:baseline; gap:1rem; flex-wrap:wrap; margin-bottom:.75rem; }
.dictation-heading h1 { font-size:1.55rem; margin:0; }
.dictation-columns { display:grid; grid-gap:1rem; gap:1rem; margin-top:.75rem; }
.dictation-columns > * { min-width:0; overflow-wrap:anywhere; }
.dictation-context { grid-column:1 / -1; }
.handwriting-editor > h3:first-child { margin-top: 0; }
.dictation-check > button { margin-top: .75rem; }
.practice-notes { margin-top: 1.5rem; }
.dictation-check { align-self:start; background:#f3f7fc; border-radius:.75rem; padding:1rem; }
.dictation-check > :first-child { margin-top:0; }
.comparison-actions { grid-column:1 / -1; display:flex; flex-direction:column; gap:.5rem; }
.comparison-actions form { display:flex; flex-wrap:wrap; gap:.5rem; }
.comparison-actions button { min-height:2.75rem; }
.masked-context { white-space:pre-wrap; overflow-wrap:anywhere; }
.topic-picker { min-width:0; }
[hidden] { display:none !important; }
@media(max-width:47.99rem) {
  .study-page { margin-top:1rem; }
  .handwriting-question > .dictation-check { grid-row:1; }
  .dictation-check { padding:.65rem; }
  .dictation-check > div > button { margin-bottom:.35rem; }
  .dictation-check .speech-preferences { margin-top:.5rem; }
}
@media(min-width:48rem){ main.study-page { max-width:64rem; } .dictation-columns { grid-template-columns:minmax(0,3fr) minmax(0,2fr); } }
@media (min-width: 42rem) { .handwriting-comparison { grid-template-columns: 1fr 1fr; } }

body {
  margin: 0;
  line-height: 1.6;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 5%, #e0f6eb 0, transparent 26rem),
    radial-gradient(circle at 95% 35%, #ede7ff 0, transparent 30rem),
    #f3f8ff;
}

main {
  max-width: 46rem;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

section {
  padding: 1.5rem;
  border: 1px solid #c8d9ef;
  border-top: 5px solid #5592ce;
  border-radius: 1.25rem;
  background: white;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px #2636530a;
}

section:nth-of-type(3n + 2) { border-top-color: #53a78b; }
section:nth-of-type(3n) { border-top-color: #aa85d4; }

form {
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.library-workspace { max-width: 62rem; margin: 1.25rem auto 3rem; padding-inline: clamp(.85rem, 3vw, 2rem); }
.library-workspace.topic-workspace { width: 100%; max-width: none; padding-inline: clamp(.75rem, 1.5vw, 1.5rem); }
.library-workspace h1 { margin: 0; letter-spacing: -.025em; }
.library-workspace h1 + p { margin: .25rem 0 1rem; color: #485973; font-size: .9rem; }
.library-workspace section { border: 1px solid #c5d4e4; border-radius: .9rem; padding: clamp(1rem, 2.5vw, 1.5rem); margin-block: .8rem; }
.library-workspace section h2 { margin: 0 0 .85rem; font-size: 1.22rem; }
.library-switcher { display: flex; flex-wrap: wrap; gap: .25rem; padding: .25rem; background: #e4ecf5; border-radius: .8rem; }
.library-switcher a { flex: 1 1 auto; color: #334860; min-height: 2.75rem; display: inline-flex; gap: .4rem; align-items: center; justify-content: center; border-radius: .6rem; padding: .45rem .6rem; text-decoration: none; font-weight: 650; }
.library-switcher a[aria-current="page"] { color: #fff; background: #294b87; }
.library-switcher span { font-size: .8em; padding-inline: .4em; border: 1px solid currentColor; border-radius: 2em; }
.library-shortcuts, .library-pager { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; }
.library-shortcuts a, .library-pager a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.library-word-list { list-style: none; padding: 0; margin: 0; }
.library-word-list li { display: grid; align-items: baseline; grid-template-columns: minmax(0,1fr) minmax(0,2fr) auto; grid-gap: .65rem; gap: .65rem; padding: .6rem .25rem; border-bottom: 1px solid #dfe7ef; overflow-wrap: anywhere; }
.library-word-list small { color: #495c72; }
.edit-word-link { display:inline-flex; align-items:center; min-height:2.75rem; font-size:.9rem; }
.topic-filters { display:flex; flex-wrap:wrap; align-items:end; gap:.75rem; margin-bottom:1rem; }
.topic-filters label { flex:1 1 11rem; min-width:0; }
.topic-filters button { width:auto; }
.answer-pair, .dictation-columns.answer-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-gap:.65rem; gap:.65rem; }
.answer-pair > div { min-width:0; overflow-wrap:anywhere; background:#f4f7fb; border-radius:.7rem; padding:.65rem; }
.answer-pair figure { margin:0; }
.answer-pair textarea { width:100%; min-width:0; }
.answer-pair .comparison-detail { grid-column:1 / -1; }
.preview-handwriting > div:last-child { grid-column: 1 / -1; }
.preview-handwriting > div:first-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.preview-handwriting > div:first-child h2 { margin: 0; }
.preview-handwriting > div:first-child .table-speak { margin: 0; }
@media (min-width: 48rem) {
  .preview-handwriting > div:first-child, .preview-handwriting > div:last-child { grid-column: auto; }
}
.topic-list { padding:0; list-style:none; margin:1rem 0; }
.topic-list li { display:grid; grid-template-columns:auto minmax(0,1fr) auto; grid-gap:.75rem; gap:.75rem; align-items:center; padding:.75rem 0; border-top:1px solid #dfe7ef; }
.topic-name { font-weight:650; overflow-wrap:anywhere; }
.topic-progress { display:grid; grid-gap:.25rem; gap:.25rem; margin-top:.3rem; color:#465970; }
.topic-progress progress { max-width:100%; width:12rem; height:.5rem; accent-color:#166e75; }
.topic-preview { padding:.65rem .8rem; border:1px solid #7993ad; border-radius:.6rem; }
.topic-exam-bar { display:flex; flex-wrap:wrap; gap:.8rem; align-items:center; background:#edf4fa; padding:.85rem; border-radius:.7rem; }
.topic-exam-bar label { flex:1 1 10rem; }
.topic-exam-bar button { width:auto; }
.library-disclosure { border-bottom: 1px solid #dfe7ef; padding: .25rem 0; }
.library-disclosure summary { cursor: pointer; min-height: 2.75rem; padding: .6rem .25rem; overflow-wrap: anywhere; }
.library-disclosure form { margin-block: .65rem; }
@media (max-width: 32rem) {
  .library-switcher a { font-size: .88rem; padding-inline: .35rem; }
  .library-word-list li { grid-template-columns: 1fr auto; }
  .library-word-list li > span { grid-row: 2; grid-column: 1 / -1; }
}
.compact-word-form { gap: 0.65rem; }
.word-form-grid { display: grid; grid-gap: 0.65rem 1rem; gap: 0.65rem 1rem; }
.word-form-grid > label { min-width: 0; font-size: 0.92rem; }
.compact-word-form > button { justify-self: start; }
.word-form-options summary { cursor: pointer; min-height: 2.75rem; padding-block: 0.5rem; }
.word-form-options > label { display: block; margin-top: 0.5rem; }
.word-lookup { border-left: 4px solid #53a78b; background: #eef9f3; padding: 0.5rem 0.8rem; border-radius: 0.5rem; overflow-wrap: anywhere; }
.word-lookup p { margin: 0.25rem 0; }
.word-lookup ul { padding-left: 1.25rem; margin-block: 0.5rem; }
.word-lookup li + li { margin-top: 0.75rem; }
@media (min-width: 36rem) { .word-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .word-form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

input, button, select, textarea {
  font: inherit;
  min-height: 2.75rem;
  padding: 0.5rem;
  border: 1px solid #91a5bd;
  border-radius: 0.65rem;
  min-width: 0;
  max-width: 100%;
}

input:not([type="checkbox"]):not([type="radio"]), select, textarea { width: 100%; background: #fff; color: #263653; }
input[type="checkbox"], input[type="radio"] { min-height: 1.25rem; width: 1.25rem; accent-color: #076e60; vertical-align: middle; }
label:has(input[type="checkbox"]), label:has(input[type="radio"]) { min-height: 2.75rem; display: flex; align-items: center; gap: 0.5rem; }
label { font-weight: 600; overflow-wrap: anywhere; }
label > input:not([type="checkbox"]):not([type="radio"]), label > select, label > textarea { display: block; margin-top: 0.35rem; }
a { color: #2d4eb3; text-underline-offset: 0.2em; }
a:hover { color: #6741ac; }
h1, h2, h3 { line-height: 1.35; overflow-wrap: anywhere; }
h1 { color: #294b87; }
figure { margin: 0 0 1rem; width: 100%; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }

textarea {
  width: 100%;
  box-sizing: border-box;
}

.offline-entry { display: flex; gap: 1rem; flex-wrap: wrap; margin: .5rem 1rem; }
.offline-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .75rem 0; }
.offline-question { margin-block: 1rem; }
.offline-question .handwriting-surface { width: min(100%, 84vh); height: auto; }
.offline-keypad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: .4rem; gap: .4rem; margin-block: .5rem; max-width: 20rem; }
.offline-keypad button { min-height: 2.75rem; }
@media (min-width: 48rem) {
  .offline-arithmetic > .offline-toolbar { justify-content: flex-end; }
  .offline-arithmetic-response { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 1rem; gap: 1rem; align-items: start; }
}

fieldset {
  min-width: 0;
  margin: 1rem 0;
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  border: 1px solid #b7ccec;
  border-radius: 1rem;
  padding: 1rem;
  background: #f8fbff;
}

.wide-page { width: 100%; max-width: none; padding-inline: clamp(.75rem, 1.5vw, 1.5rem); }
.import-columns { display: grid; grid-gap: 1rem; gap: 1rem; }
.import-columns > * { min-width: 0; }
.local-ocr-import section img { max-width: 100%; }
@media (min-width: 48rem) { .import-columns.local-ocr-import { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.batch-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.batch-toolbar p, .batch-scroll-hint { margin: .25rem 0; }
.batch-table-scroll { width: 100%; min-width: 0; max-height: 65vh; overflow: auto; border: 1px solid #b7ccec; border-radius: .75rem; background: white; }
.batch-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.batch-table caption { text-align: start; padding: .5rem; font-weight: 700; }
.batch-table th { position: -webkit-sticky; position: sticky; top: 0; z-index: 1; background: #e4ecf5; text-align: start; }
.batch-table th, .batch-table td { padding: .4rem; border-bottom: 1px solid #dfe7ef; vertical-align: top; overflow-wrap: anywhere; }
.batch-table th:first-child { width: 4%; }
.batch-table th:nth-child(2) { width: 10%; }
.batch-table th:nth-child(3) { width: 10%; }
.batch-table th:last-child { width: 12%; }
.batch-table td > small { display: block; color: #485973; }
.batch-table textarea { resize: vertical; min-height: 5.5rem; }
.batch-table td > p { margin: .25rem 0; color: #7e341c; }
.batch-table summary { cursor: pointer; min-height: 2.75rem; padding-block: .4rem; }
.batch-table tr:nth-child(even) { background: #f7faff; }
.batch-table tr:focus-within { background: #eef5ff; }
.batch-jobs { margin-block: 1rem; border: 1px solid #b7ccec; border-radius: .75rem; padding: .75rem; background: white; }
.batch-jobs > summary { cursor: pointer; min-height: 2.75rem; font-weight: 700; }
.batch-job { border-top: 1px solid #dfe7ef; padding-block: .5rem; }
.batch-job p { margin-block: .4rem; }
.topic-word-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.topic-word-table th { position: -webkit-sticky; position: sticky; top: 0; z-index: 1; background: #e4ecf5; text-align: start; }
.topic-word-table th, .topic-word-table td { padding: .5rem; border-bottom: 1px solid #dfe7ef; vertical-align: top; overflow-wrap: anywhere; }
.topic-word-table td { min-width: 0; }
.topic-word-table th:nth-child(1) { width: 5%; }
.topic-word-table th:nth-child(2) { width: 12%; }
.topic-word-table th:nth-child(3), .topic-word-table th:nth-child(10) { width: 8%; }
.topic-word-table th:nth-child(4), .topic-word-table th:nth-child(6) { width: 9%; }
.topic-word-table th:nth-child(5) { width: 7%; }
.topic-word-table th:nth-child(7), .topic-word-table th:nth-child(8) { width: 14%; }
.topic-word-table th:nth-child(9) { width: 14%; }
.topic-word-table caption { text-align: start; padding: .5rem; font-weight: 700; }
.topic-word-table small { display: block; color: #485973; }
.topic-word-table ul { margin: 0; -webkit-padding-start: 1rem; padding-inline-start: 1rem; }
.topic-word-table tr:nth-child(even) { background: #f7faff; }
.topic-word-table tr:focus-within { background: #eef5ff; }
.topic-word-table .editable-cell { display: block; width: 100%; text-align: start; white-space: pre-line; background: transparent; color: inherit; padding: .25rem; font-weight: inherit; border: 1px dashed #b7ccec; }
.topic-word-table .editable-cell:hover, .topic-word-table .editable-cell:focus-visible { background: #e4ecf5; }
.topic-word-table textarea { min-height: 5.5rem; resize: vertical; }
.topic-word-table summary { cursor: pointer; min-height: 2.75rem; }
.table-speak { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: .5rem; margin-top: .25rem; }
.topic-table-frame { max-height: none; overflow: visible; }
.topic-spoken-cell { display: grid; grid-template-columns: minmax(0, 1fr) 2.75rem; align-items: start; grid-gap: .25rem; gap: .25rem; }
.topic-spoken-cell > :first-child { min-width: 0; }
.topic-spoken-cell > .table-speak { margin: 0; }
.table-speech-controls { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; margin-block: .75rem; }
.table-speech-controls p { margin: 0; }
@media (min-width: 100rem) {
  .import-columns { grid-template-columns: minmax(0, 4fr) minmax(16rem, 1fr); }
}
@media (min-width: 48rem) and (max-width: 70rem) {
  .topic-word-table { font-size: .8rem; }
  .topic-word-table th, .topic-word-table td { padding: .25rem; }
  .topic-word-table th:first-child { width: 4%; }
  .topic-word-table th:nth-child(2) { width: 14%; }
  .topic-word-table th:nth-child(5) { width: 6%; }
}
@media (max-width: 47.99rem) {
  .topic-word-table, .batch-table, .topic-word-table tbody, .batch-table tbody { display: block; }
  .topic-word-table caption, .batch-table caption { display: block; }
  .topic-word-table thead, .batch-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; -webkit-clip-path: inset(50%); clip-path: inset(50%); }
  .topic-word-table tbody tr, .batch-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .5rem; border-top: 2px solid #b7ccec; }
  .topic-word-table td, .batch-table td { display: block; width: auto; min-width: 0; }
  .topic-word-table td::before, .batch-table td::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 700; color: #485973; margin-bottom: .3rem; }
  .topic-word-table td:nth-child(7), .topic-word-table td:nth-child(8), .topic-word-table td:nth-child(9), .topic-word-table td:nth-child(10),
  .batch-table td:nth-child(n + 4) { grid-column: 1 / -1; }
}

button {
  cursor: pointer;
  background: #2d4eb3;
  color: white;
  border-color: transparent;
  font-weight: 700;
  padding: 0.75rem 1rem;
  white-space: normal;
  transition: box-shadow 120ms ease, filter 120ms ease;
}

button:hover:not(:disabled) { filter: brightness(0.94); box-shadow: 0 3px 8px #26365324; }
button:disabled { cursor: not-allowed; opacity: 0.55; }
form > span > button { width: 100%; }
.compact-reset { padding: .25rem; font-size: .85rem; }
.rating-independent { background: #076e60; }
.rating-prompted { background: #965300; }
.rating-practice { background: #6741ac; }
.page-heading { margin-bottom: 1.5rem; padding: 1.25rem 1.5rem; border-radius: 1.5rem; background: linear-gradient(120deg, #e0f2ff, #ece5ff); border: 1px solid #bdcfee; }
.page-heading h1 { margin: 0.25rem 0 0.5rem; }
.page-heading p { margin: 0.3rem 0; }
.daily-heading-actions { display:flex; flex-wrap:wrap; align-items:start; gap:.6rem; margin-top:.85rem; }
.daily-heading-actions > a, .daily-heading-actions summary { display:block; min-height:2.75rem; box-sizing:border-box; padding:.65rem 1rem; border:1px solid #7993ad; border-radius:.6rem; background:white; color:#17324f; font-weight:600; text-decoration:none; cursor:pointer; }
.daily-heading-actions summary { display:list-item; }
.eyebrow { color: #435b86; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; }
.learner-card { border-top-color: #53a78b; }
.learner-avatar { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 1rem; background: #e4f5ea; color: #076e60; font-size: 1.5rem; font-weight: 700; }
.study-card { border-top-color: #aa85d4; }
.saved-attempt { border: 2px solid #aa85d4; border-radius: .75rem; padding: 1rem; margin-bottom: 1rem; background: #faf5ff; }
.saved-attempt h2 { margin-top: 0; }
.study-word { color: #294b87; font-size: clamp(2rem, 8vw, 3rem); }
.meaning-details { background: #f0f7ff; border-left: 4px solid #6c9ed3; border-radius: 0.5rem; padding: 0.8rem 1rem; overflow-wrap: anywhere; }
.meaning-details dt { font-size: 0.85rem; font-weight: 700; color: #435b86; }
.meaning-details dd { margin: 0.15rem 0 0.8rem; }
.meaning-details dd:last-child { margin-bottom: 0; }
[role="alert"] { color: #7e341c; background: #fff1e6; border-radius: 0.65rem; padding: 0.75rem; }
[role="status"]:not(:empty) { color: #165c50; background: #e7f6ef; border-radius: 0.65rem; padding: 0.75rem; }
[role="status"].result-incorrect:not(:empty) { display:inline-block; color:#991b1b; background:#fef2f2; }

:focus-visible {
  outline: 3px solid #273c75;
  outline-offset: 3px;
}

@media (max-width: 30rem) {
  main { padding: 0 0.85rem; margin: 1.5rem auto; }
  section { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  button { transition: none; }
}
.previous-answer-notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  max-width: calc(100vw - 2rem);
  padding: .65rem 1rem;
  border: 1px solid #408464;
  border-radius: .75rem;
  background: #e8f7ed;
  color: #175331;
  box-shadow: 0 2px 8px #0002;
  pointer-events: none;
}

