@charset "UTF-8";

:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #fff;
  --ink: #202843;
  --muted: #778096;
  --accent: #6262d9;
  --accent-dark: #4d4dc1;
  --accent-soft: #efeffc;
  --sage: #cee3d5;
  --sage-soft: #edf6ef;
  --green: #3b7961;
  --line: #e8ebf2;
  --radius: 20px;
  --shadow: 0 5px 24px #20284305;
  --sidebar-width: 240px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
button, a, .card, .lesson-card, .word-card { transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #9c9cf0; outline-offset: 3px; }
button:disabled, .btn:disabled { cursor: not-allowed; opacity: .5; transform: none; }
img, svg { max-width: 100%; }
svg { flex-shrink: 0; }
img { display: block; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
p { margin-bottom: 1em; }
small { font-size: 12px; }
[hidden], .hidden { display: none !important; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: white; box-shadow: 0 3px 20px #20284326; border-radius: 10px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.no-script { margin: 40px; padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; padding: 36px 20px 20px; border-right: 1px solid var(--line); background: #fff; z-index: 30; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 12px 42px; color: var(--ink); font-size: 20px; font-weight: 750; letter-spacing: -.9px; line-height: 1.2; }
.brand:hover { color: var(--ink); }
.brand span { min-width: 0; }
.brand small, .brand-subtitle { display: block; margin-top: 5px; color: #979daf; font-size: 9px; font-weight: 650; text-transform: uppercase; letter-spacing: 1.7px; }
.brand-mark { width: 38px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--accent); flex: 0 0 38px; box-shadow: 0 4px 9px #6262d925; }
.brand-mark svg { width: 23px; height: 23px; }
.nav-group { display: grid; gap: 7px; margin-bottom: 29px; }
.nav-label { color: #a3a9b7; font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 15px 6px; }
.nav-item { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-width: 0; width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid transparent; background: transparent; color: #81899c; text-align: left; font-size: 13px; font-weight: 550; line-height: 1.4; }
.nav-item .icon { width: 19px; height: 19px; flex-basis: 19px; }
.nav-item:hover { background: #f6f6fc; color: var(--accent); }
.nav-item[aria-current="page"], .nav-item.active { background: var(--accent-soft); color: var(--accent); font-weight: 650; }
.nav-item .nav-count, .nav-item .count { margin-left: auto; font-size: 10px; min-width: 22px; padding: 2px 5px; border-radius: 6px; background: #e0e0fa; text-align: center; }
.sidebar-bottom { margin-top: auto; padding-top: 24px; }
.profile { display: flex; align-items: center; gap: 11px; padding: 18px 9px 2px; margin-top: 18px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.4; }
.profile strong { display: block; color: var(--ink); font-size: 12px; font-weight: 650; }
.profile small, .profile p { display: block; margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.avatar { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 3px solid #fff; border-radius: 50%; flex: 0 0 38px; background: #e8ddd6; color: #6d5c58; font-size: 12px; font-weight: 700; object-fit: cover; }
.workspace { min-width: 0; }
.topbar { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 89px; padding: 20px 43px; gap: 18px; border-bottom: 1px solid var(--line); background: #ffffff80; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.topbar-left { color: #858da0; font-size: 12px; }
.topbar-left strong { color: var(--ink); font-weight: 600; }
.topbar-right .avatar { width: 33px; height: 33px; flex-basis: 33px; }
.topbar .icon-button { width: 34px; height: 34px; border: 0; background: transparent; color: var(--muted); border-radius: 9px; display: grid; place-items: center; }
.topbar .icon-button:hover { background: var(--accent-soft); color: var(--accent); }
.view-switch { display: flex; gap: 3px; padding: 4px; background: #eeeef5; border: 1px solid #e8e8f1; border-radius: 10px; }
.view-switch button { border: 0; background: transparent; padding: 6px 12px; color: #8a90a2; border-radius: 7px; font-size: 11px; line-height: 1.5; font-weight: 650; white-space: nowrap; }
.view-switch button.active, .view-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 5px #2028430a; }
.student-select { max-width: 190px; border: 1px solid var(--line); border-radius: 9px; padding: 7px 28px 7px 10px; color: var(--ink); font-size: 11px; background: #fff; }
.demo-badge { display: inline-flex; align-items: center; gap: 5px; color: #989eb0; border: 1px solid #e1e5ed; border-radius: 6px; padding: 3px 7px; font-size: 9px; font-weight: 650; letter-spacing: .7px; text-transform: uppercase; white-space: nowrap; }
.mobile-brand { display: none; }
.main { max-width: 1320px; margin: 0 auto; padding: 36px 43px 46px; min-height: calc(100vh - 90px); }
.eyebrow { display: block; margin-bottom: 8px; color: var(--accent); font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-head > div { min-width: 0; }
.page-heading { margin: 0 0 8px; font-size: clamp(25px, 2.4vw, 33px); font-weight: 720; letter-spacing: -1.15px; }
.page-subtitle { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 11px 17px; min-height: 41px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-weight: 600; font-size: 11px; line-height: 1.45; text-align: center; text-decoration: none; white-space: normal; }
.btn:hover { background: #f9f9fd; border-color: #d5d7e6; color: var(--ink); transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: white; box-shadow: 0 4px 10px #6262d920; }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: white; box-shadow: 0 5px 15px #6262d92b; }
.btn.secondary { color: var(--accent); border-color: #dddff6; background: #f9f9ff; }
.btn.secondary:hover { background: var(--accent-soft); border-color: #c5c5ee; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); box-shadow: none; }
.btn.ghost:hover { color: var(--accent); background: var(--accent-soft); }
.btn.small { min-height: 32px; padding: 7px 11px; font-size: 10px; border-radius: 7px; gap: 6px; }
.btn.danger { color: #b76060; background: #fff6f6; border-color: #f3dddd; }
.btn.danger:hover { background: #ffeded; }
.icon { display: inline-block; width: 18px; height: 18px; vertical-align: middle; stroke-width: 1.8; flex: 0 0 18px; }
.btn.small .icon { width: 15px; height: 15px; flex-basis: 15px; }
.chip { display: inline-flex; align-items: center; gap: 5px; width: fit-content; max-width: 100%; padding: 4px 8px; border: 1px solid transparent; border-radius: 6px; background: #f1f3f8; color: #8590a5; font-size: 9px; font-weight: 650; line-height: 1.4; letter-spacing: .05px; }
.chip.green { color: #56836a; background: #edf6ef; }
.chip.purple { color: var(--accent); background: var(--accent-soft); }
.chip.amber { color: #b68c45; background: #faf2e3; }
.hero { position: relative; min-height: 220px; padding: 31px 34px; margin-bottom: 24px; isolation: isolate; border: 1px solid #2d3652; border-radius: 20px; overflow: hidden; background: #252e49; color: #c9d0e3; box-shadow: 0 8px 20px #20284307; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 92% 60%, #a7c0af22 0%, transparent 51%), linear-gradient(115deg, #202843, transparent 82%); }
.hero::after { content: ""; position: absolute; top: -120px; right: -95px; z-index: -1; width: 440px; height: 440px; border: 1px solid #cde6d323; border-radius: 50%; box-shadow: 0 0 0 46px #cde6d306, 0 0 0 47px #cde6d31c, 0 0 0 94px #cde6d304, 0 0 0 95px #cde6d313; transform: rotate(-25deg) scaleX(.88); }
.hero-copy { position: relative; z-index: 2; width: min(71%, 540px); }
.hero-copy h1, .hero-copy h2, .hero h3 { color: #fff; font-size: clamp(23px, 2.2vw, 31px); font-weight: 620; letter-spacing: -.9px; margin-bottom: 12px; }
.hero-copy p { margin-bottom: 20px; max-width: 450px; color: #aab4cc; font-size: 11px; line-height: 1.9; }
.hero .eyebrow { color: #c5d9cd; font-size: 9px; letter-spacing: 1.6px; }
.hero .btn { border: 0; background: #d1e5d7; color: #344d44; font-size: 10px; box-shadow: none; }
.hero .btn:hover { background: #e3efe6; color: #243c32; }
.hero .btn.ghost { background: transparent; color: #dce3f2; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; margin-bottom: 16px; border-radius: 5px; background: #cce3d412; border: 1px solid #d0e6d925; color: #cde3d3; font-size: 9px; font-weight: 600; letter-spacing: .2px; }
.hero-art { position: absolute; right: 33px; top: 50%; transform: translateY(-50%); width: min(29%, 250px); height: 190px; display: grid; place-items: center; color: var(--sage); pointer-events: none; }
.hero-art svg { width: 100%; max-height: 100%; overflow: visible; }
.hero-line { height: 1px; background: #ffffff12; margin: 18px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 29px; }
.stats-card { display: flex; gap: 15px; align-items: center; padding: 21px 23px; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); min-width: 0; }
.stat-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--accent); background: var(--accent-soft); flex: 0 0 42px; }
.stats-card:nth-child(2) .stat-icon { color: #73a18d; background: #edf6ef; }
.stats-card:nth-child(3) .stat-icon { color: #c3a26a; background: #faf3e8; }
.stat-icon .icon { width: 20px; height: 20px; }
.stat-value { color: var(--ink); font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -.65px; }
.stat-value small { color: var(--muted); font-size: 11px; font-weight: 450; letter-spacing: 0; }
.stat-label { display: block; margin-top: 4px; color: #939bae; font-size: 10px; font-weight: 450; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 0 0 16px; }
.section-head h2 { margin: 0; font-size: 17px; letter-spacing: -.4px; }
.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.section-head a { font-size: 10px; font-weight: 650; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.66fr) minmax(250px, 1fr); align-items: start; gap: 24px; }
.two-col > *, .grid-3 > * { min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); min-width: 0; }
.card-pad { padding: 23px; }
.card h3 { margin-bottom: 14px; font-size: 14px; letter-spacing: -.2px; }
.card > .section-head { padding: 22px 23px 0; }
.lesson-list { display: grid; gap: 12px; }
.lesson-card { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; }
.lesson-card:hover { border-color: #d2d3ed; box-shadow: 0 5px 15px #20284305; transform: translateY(-1px); }
.lesson-number { display: grid; place-items: center; flex: 0 0 45px; width: 45px; height: 49px; border: 1px solid #e7e5f8; border-radius: 10px; background: #f3f2fc; color: var(--accent); font-size: 17px; font-weight: 650; letter-spacing: -.6px; }
.lesson-card:nth-child(3n + 2) .lesson-number { color: #7c9b8a; background: #eff5f0; border-color: #e1ebe3; }
.lesson-card:nth-child(3n) .lesson-number { color: #b59a78; background: #f9f4ed; border-color: #f0e9df; }
.lesson-card > div:not(.lesson-number) { min-width: 0; }
.lesson-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 6px; color: #a0a8b7; font-size: 9px; line-height: 1.4; }
.lesson-title { margin: 0 0 5px; font-size: 13px; line-height: 1.5; letter-spacing: -.1px; font-weight: 650; }
.lesson-desc { margin: 0; color: #969eb0; font-size: 10px; line-height: 1.6; }
.lesson-card > .btn, .lesson-card > a { margin-left: auto; flex-shrink: 0; }
.lesson-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 11px; color: var(--muted); font-size: 10px; }
.lesson-row .icon { width: 12px; height: 12px; flex-basis: 12px; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 7px; min-height: 225px; padding: 35px 24px; background: #fff; border: 1px dashed #dce0ec; border-radius: 15px; color: var(--muted); }
.empty-state > .icon { width: 32px; height: 32px; margin-bottom: 6px; color: #9a9bcb; }
.empty-state h3 { margin: 0; font-size: 16px; }
.empty-state p { max-width: 360px; margin: 0 0 9px; font-size: 12px; }
.word-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.word-card { display: flex; flex-direction: column; padding: 20px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
.word-card:hover { border-color: #d4d5ec; box-shadow: 0 5px 18px #20284308; }
.word-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 3px; }
.word-top h3, .word-top strong { margin: 0; color: var(--ink); font-size: 17px; font-weight: 650; letter-spacing: -.4px; }
.word-translation { color: #9b9cb1; font-size: 11px; margin-bottom: 13px; }
.word-example { padding: 12px; margin: 0 0 14px; background: #f8f9fc; border-left: 2px solid #dadbf3; border-radius: 0 7px 7px 0; color: #7e879d; font-size: 11px; line-height: 1.8; font-style: italic; }
.collocations { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; color: #9199ab; font-size: 10px; }
.collocations span { padding: 3px 7px; background: #f3f3fb; border-radius: 5px; color: #8585b2; }
.word-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 13px; margin-top: auto; border-top: 1px solid #f0f2f6; }
.word-actions .btn { font-size: 9px; }
.progress-track { width: 100%; height: 5px; margin: 10px 0; overflow: hidden; border-radius: 10px; background: #eff0f7; }
.progress-fill { height: 100%; max-width: 100%; background: var(--accent); border-radius: inherit; transition: width .4s ease; }
.progress-fill.green { background: #a2c6af; }
.mini-stat { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 13px 0; color: #939bae; font-size: 10px; }
.mini-stat strong { color: var(--ink); font-size: 12px; font-weight: 650; }
.notice { padding: 15px 17px; border: 1px solid #e1eadf; border-radius: 10px; background: #f2f7f0; color: #78916d; font-size: 11px; line-height: 1.8; }
.notice .icon { margin-right: 5px; width: 16px; height: 16px; }
.notice strong { color: #63845b; }
.notice p:last-child { margin-bottom: 0; }
.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.toolbar .search-input { flex: 1 1 220px; max-width: 430px; }
.search-input { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #a4aabd; }
.search-input input { min-width: 0; width: 100%; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 11px; }
.search-input:focus-within { border-color: #b7b7ec; box-shadow: 0 0 0 3px #6262d90a; }
.search-input input:focus-visible { outline: 0; }
.search-input .icon { width: 16px; height: 16px; flex-basis: 16px; }
.search-input input::placeholder { color: #a2a8b9; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 24px; padding-bottom: 0; border-bottom: 1px solid var(--line); }
.tab { padding: 12px 17px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #9199ab; font-size: 11px; font-weight: 600; }
.tab.active, .tab[aria-selected="true"] { border-bottom-color: var(--accent); color: var(--accent); }
.tab:hover { color: var(--accent); background: #efeffc66; }
.filter-pill { padding: 7px 12px; border: 1px solid var(--line); border-radius: 7px; background: white; color: #9198ab; font-size: 10px; }
.filter-pill.active, .filter-pill[aria-pressed="true"] { border-color: #dcdcf7; color: var(--accent); background: var(--accent-soft); }
.lesson-detail { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 24px; align-items: start; }
.detail-aside { position: sticky; top: 24px; display: grid; gap: 17px; min-width: 0; }
.detail-aside .card-pad { padding: 20px; }
.reading-text { padding: 30px 34px; border: 1px solid var(--line); border-radius: 16px; background: white; color: #5e687e; font-size: 14px; line-height: 2.15; }
.reading-text h2 { color: var(--ink); font-size: 25px; margin-bottom: 8px; }
.reading-text h3 { font-size: 17px; margin-top: 24px; }
.reading-paragraph { margin-bottom: 20px; }
.reading-paragraph:last-child { margin-bottom: 0; }
.reading-token { border-radius: 3px; cursor: text; }
.reading-token:hover { background: #efeffa; }
.reading-token.saved, .reading-token.highlighted { background: #e6e5ff; color: #5656b9; box-shadow: 0 1px 0 #aaa8e8; }
.reading-text ::selection { background: #d9d9ff; color: #27294d; }
.question-card { margin-bottom: 18px; padding: 23px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.question-card h3 { margin-bottom: 16px; font-size: 14px; letter-spacing: -.15px; line-height: 1.7; }
.question-card .eyebrow { font-size: 9px; }
.option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; margin-top: 9px; background: #fff; border: 1px solid #e7e9f1; border-radius: 8px; color: #7e879b; font-size: 12px; line-height: 1.6; text-align: left; }
.option:hover { border-color: #c4c4ec; background: #fafaff; }
.option.selected { color: var(--accent); background: #f4f4ff; border-color: #adade9; }
.option.correct { color: #4c805e; background: #eff8f0; border-color: #b3d2bb; }
.option.wrong { color: #b06a6a; background: #fdf1f1; border-color: #e8bcbc; }
.option input { accent-color: var(--accent); }
.option-letter { display: inline-grid; place-items: center; width: 23px; height: 23px; flex: 0 0 23px; border: 1px solid #e4e6ef; border-radius: 6px; color: #a0a7b8; font-size: 10px; }
.option.selected .option-letter { color: var(--accent); border-color: #d4d4f2; background: #e8e8fb; }
.exercise-feedback { margin-top: 15px; padding: 13px 15px; border-radius: 8px; font-size: 11px; line-height: 1.8; }
.exercise-feedback.good { color: #5c8867; background: #eff7ef; }
.exercise-feedback.bad { color: #a57567; background: #fbf1e9; }
.exercise-feedback p:last-child { margin-bottom: 0; }
.attempt-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; margin-bottom: 23px; padding: 20px 23px; border: 1px solid #dfe8dd; border-radius: 13px; background: #f1f7ee; color: #71896b; font-size: 12px; }
.attempt-summary strong { color: #46643f; font-size: 25px; letter-spacing: -.7px; }
.attempt-summary .btn { margin-left: auto; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.form-field { display: grid; align-content: start; gap: 7px; min-width: 0; margin-bottom: 15px; }
.form-grid .form-field { margin-bottom: 0; }
.form-field.full, .form-grid .full { grid-column: 1 / -1; }
.field-label, .form-field > label { color: #6f7890; font-size: 11px; font-weight: 600; }
.input, .textarea, .select { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #e0e4ed; border-radius: 8px; background: #fff; color: var(--ink); font-size: 12px; line-height: 1.6; transition: border-color .2s, box-shadow .2s; }
.input:hover, .textarea:hover, .select:hover { border-color: #cacedb; }
.input:focus, .textarea:focus, .select:focus { border-color: #a4a4df; box-shadow: 0 0 0 3px #6262d90b; }
.input::placeholder, .textarea::placeholder { color: #b0b6c5; }
.textarea { min-height: 100px; resize: vertical; }
.field-help { color: #a0a7b8; font-size: 10px; line-height: 1.7; }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; color: #7d869a; font-size: 11px; line-height: 1.8; }
.checkbox-row input { margin-top: 4px; accent-color: var(--accent); }
.table-wrap { width: 100%; overflow: auto; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; white-space: nowrap; }
.data-table th { padding: 13px 18px; border-bottom: 1px solid var(--line); background: #fbfcfe; color: #a0a7b8; font-size: 9px; font-weight: 650; letter-spacing: .5px; text-transform: uppercase; }
.data-table td { padding: 16px 18px; border-bottom: 1px solid #eff1f6; color: #828b9e; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafaff; }
.data-table td strong { color: var(--ink); font-weight: 600; }
.data-table td small { display: block; color: #a1a8b8; font-size: 10px; margin-top: 3px; }
.credit-card { padding: 23px; border: 1px solid #dfe3f3; border-radius: 14px; background: linear-gradient(135deg, #f1f0ff, #f9fbff); color: #81869e; }
.credit-card h3 { margin-bottom: 9px; font-size: 16px; }
.credit-card p { font-size: 11px; line-height: 1.8; }
.credit-card .stat-value { margin: 13px 0 6px; color: var(--accent); }
.footer-note { margin: 30px 0 0; color: #b0b6c5; font-size: 9px; line-height: 1.8; text-align: center; }
.practice-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: start; gap: 24px; }
.practice-sidebar { display: grid; gap: 17px; min-width: 0; }
.practice-layout .word-card { min-height: 250px; }
.modal-root:empty { display: none; }
.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: flex; justify-content: center; align-items: center; padding: 28px; background: #1a223969; backdrop-filter: blur(5px); }
.modal-panel { width: min(100%, 580px); max-height: calc(100dvh - 56px); overflow-y: auto; border: 1px solid #ffffff80; border-radius: 18px; background: #fff; box-shadow: 0 25px 90px #111a3f2b; animation: modal-enter .18s ease-out; }
.modal-panel.wide { width: min(100%, 760px); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 25px 26px 19px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 20px; letter-spacing: -.5px; }
.modal-head p { color: var(--muted); margin: 7px 0 0; font-size: 11px; }
.modal-head > button { margin-top: -5px; flex: 0 0 auto; }
.modal-body { padding: 23px 26px; }
.modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 9px; padding: 17px 26px; border-top: 1px solid var(--line); background: #fcfcfe; border-radius: 0 0 18px 18px; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; max-width: calc(100vw - 36px); padding: 12px 20px; border-radius: 10px; background: var(--ink); color: #fff; box-shadow: 0 8px 30px #20284324; font-size: 12px; line-height: 1.6; transform: translate(-50%, 15px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show, .toast.visible, .toast.active { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { display: none; }
.selection-popover { position: fixed; z-index: 70; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; max-width: min(330px, calc(100vw - 24px)); padding: 8px; background: #fff; border: 1px solid #dfdff1; border-radius: 11px; box-shadow: 0 8px 35px #20284320; }
.selection-popover:empty { display: none; }
.selection-popover .btn { padding: 7px 10px; min-height: 30px; font-size: 10px; }
.selection-popover strong { font-size: 11px; padding: 0 6px; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.text-right { text-align: right; }
.text-center { text-align: center; }
.stack { display: grid; gap: 18px; }
.flex { display: flex; align-items: center; gap: 10px; }
.grow { flex: 1; min-width: 0; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
@keyframes modal-enter { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (min-width: 1600px) {
  :root { --sidebar-width: 260px; }
  .main { padding-top: 44px; }
  .topbar { padding-left: max(43px, calc((100vw - 260px - 1234px) / 2)); padding-right: max(43px, calc((100vw - 260px - 1234px) / 2)); }
}
@media (max-width: 1190px) {
  :root { --sidebar-width: 214px; }
  .sidebar { padding: 31px 14px 18px; }
  .brand { font-size: 18px; margin-left: 10px; gap: 9px; }
  .topbar { padding: 18px 28px; gap: 12px; }
  .topbar-left, .topbar-right { gap: 11px; }
  .main { padding: 30px 28px 40px; }
  .stats-card { padding: 18px 16px; gap: 11px; }
  .two-col { grid-template-columns: minmax(0, 1.5fr) minmax(230px, 1fr); gap: 19px; }
  .word-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lesson-detail { grid-template-columns: minmax(0, 1fr) 220px; gap: 18px; }
  .practice-layout { grid-template-columns: minmax(0, 1fr) 225px; gap: 18px; }
  .reading-text { padding: 25px; }
}
@media (max-width: 960px) {
  :root { --sidebar-width: 190px; }
  .sidebar { padding-left: 10px; padding-right: 10px; }
  .brand { gap: 7px; font-size: 16px; margin-bottom: 32px; }
  .brand-mark { width: 33px; height: 35px; flex-basis: 33px; border-radius: 10px; }
  .brand small, .brand-subtitle { font-size: 7px; letter-spacing: 1.3px; }
  .nav-item { font-size: 11px; padding: 11px; gap: 9px; }
  .topbar { padding: 17px 23px; min-height: 80px; flex-wrap: wrap; }
  .topbar-left { font-size: 11px; }
  .topbar-right { margin-left: auto; }
  .topbar .demo-badge { display: none; }
  .main { padding: 28px 23px 36px; }
  .hero { min-height: 220px; padding: 26px; }
  .hero-copy { width: 73%; }
  .hero-art { right: 8px; width: 28%; }
  .grid-3 { gap: 12px; }
  .stats-card { align-items: flex-start; gap: 9px; padding: 17px 13px; }
  .stat-icon { width: 31px; height: 33px; flex-basis: 31px; border-radius: 9px; }
  .stat-icon .icon { width: 16px; height: 16px; }
  .stat-value { font-size: 21px; }
  .stat-label { font-size: 9px; }
  .two-col { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .two-col > aside, .two-col > .side-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .lesson-detail, .practice-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-aside, .practice-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lesson-card { padding: 15px; }
  .page-head { align-items: flex-start; }
}
@media (max-width: 720px) {
  .shell { display: flex; flex-direction: column; }
  .sidebar { position: relative; width: 100%; height: auto; min-height: 0; padding: 13px 18px 0; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .brand { margin: 0 0 14px; font-size: 19px; }
  .brand small { display: none; }
  .brand-mark { width: 31px; height: 33px; flex-basis: 31px; }
  .sidebar nav { display: flex; width: 100%; gap: 6px; overflow-x: auto; padding: 0 0 9px; scrollbar-width: none; }
  .sidebar nav::-webkit-scrollbar { display: none; }
  .nav-group { display: contents; margin: 0; }
  .nav-label, .sidebar-bottom { display: none; }
  .nav-item { flex: 0 0 auto; width: auto; padding: 9px 12px; font-size: 10px; line-height: 1.4; gap: 6px; white-space: nowrap; border-radius: 8px; }
  .nav-item .icon { width: 15px; height: 15px; flex-basis: 15px; }
  .nav-item .nav-count, .nav-item .count { min-width: 16px; font-size: 8px; }
  .workspace { width: 100%; }
  .topbar { min-height: 65px; padding: 13px 20px; gap: 10px; }
  .topbar-left { font-size: 10px; gap: 8px; }
  .topbar-right { gap: 9px; flex-wrap: wrap; }
  .view-switch { padding: 3px; border-radius: 8px; }
  .view-switch button { padding: 5px 9px; font-size: 9px; }
  .student-select { max-width: 150px; padding: 6px 22px 6px 8px; font-size: 9px; }
  .topbar-right .avatar { display: none; }
  .main { padding: 26px 20px 32px; min-height: calc(100vh - 160px); }
  .page-head { gap: 12px; margin-bottom: 21px; }
  .page-heading { font-size: 26px; letter-spacing: -.9px; }
  .page-subtitle { font-size: 11px; }
  .page-head > .btn { padding: 9px 11px; font-size: 10px; min-height: 36px; flex-shrink: 0; }
  .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
  .hero { min-height: 220px; padding: 26px; border-radius: 16px; }
  .hero-copy { width: 73%; }
  .hero-copy h1, .hero-copy h2 { font-size: 25px; }
  .hero-copy p { font-size: 10px; }
  .hero-art { width: 28%; height: 160px; right: 5px; opacity: .8; }
  .grid-3 { gap: 10px; margin-bottom: 25px; }
  .stats-card { flex-direction: column; padding: 16px; gap: 12px; border-radius: 11px; }
  .stat-icon { width: 32px; height: 33px; flex-basis: 33px; }
  .stat-value { font-size: 23px; }
  .stat-label { font-size: 9px; }
  .section-head h2 { font-size: 17px; }
  .section-head .btn { padding-right: 0; }
  .word-grid { gap: 12px; }
  .word-card { padding: 17px; }
  .word-top h3 { font-size: 16px; }
  .lesson-detail { gap: 20px; }
  .reading-text { padding: 24px; font-size: 14px; line-height: 2; }
  .reading-text h2 { font-size: 23px; }
  .card-pad, .question-card { padding: 21px; }
  .modal-backdrop { padding: 16px; }
  .modal-panel { max-height: calc(100dvh - 32px); border-radius: 15px; }
  .modal-head { padding: 21px 21px 17px; }
  .modal-head h2 { font-size: 19px; }
  .modal-body { padding: 20px 21px; }
  .modal-footer { padding: 15px 21px; flex-wrap: wrap; }
  .toolbar .search-input { max-width: none; flex-basis: 100%; }
}
@media (max-width: 480px) {
  .sidebar { padding-left: 16px; padding-right: 16px; }
  .topbar { padding: 12px 16px; }
  .topbar-left { flex: 1 1 100%; }
  .topbar-right { margin-left: 0; width: 100%; justify-content: space-between; }
  .main { padding: 24px 16px 30px; }
  .page-head { flex-wrap: wrap; align-items: center; gap: 13px; }
  .page-head > div { flex: 1 1 230px; }
  .page-heading { font-size: 25px; }
  .page-head > .btn { flex-shrink: 1; }
  .hero { min-height: 218px; padding: 24px 21px; }
  .hero-copy { width: 100%; max-width: 290px; }
  .hero-copy h1, .hero-copy h2 { font-size: 25px; padding-right: 5px; }
  .hero-copy p { max-width: 235px; padding-right: 0; color: #bbc3d8; }
  .hero-art { display: none; }
  .hero::after { right: -220px; top: -115px; opacity: .65; }
  .grid-3 { gap: 8px; }
  .stats-card { padding: 13px 10px; gap: 11px; }
  .stat-icon { width: 29px; height: 30px; flex-basis: 30px; border-radius: 8px; }
  .stat-value { font-size: 22px; }
  .stat-value small { font-size: 9px; }
  .stat-label { margin-top: 5px; line-height: 1.5; }
  .section-head { align-items: flex-start; }
  .section-head h2 { font-size: 16px; }
  .section-head .btn { font-size: 9px; min-height: auto; padding-top: 3px; }
  .lesson-card { flex-wrap: wrap; gap: 12px; padding: 15px; }
  .lesson-number { width: 38px; height: 43px; flex-basis: 38px; font-size: 15px; }
  .lesson-card > div:not(.lesson-number) { flex: 1 1 calc(100% - 55px); }
  .lesson-card > .btn, .lesson-card > a { margin-left: 50px; font-size: 10px; min-height: 31px; }
  .lesson-title { font-size: 12px; }
  .word-grid { grid-template-columns: minmax(0, 1fr); }
  .word-card { padding: 21px; }
  .two-col > aside, .two-col > .side-cards, .detail-aside, .practice-sidebar { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .reading-text { padding: 22px 20px; font-size: 13px; line-height: 2.1; }
  .reading-text h2 { font-size: 22px; }
  .tabs { gap: 0; }
  .tab { padding: 11px 12px; font-size: 10px; }
  .toolbar { gap: 9px; }
  .toolbar > .btn { font-size: 10px; padding: 9px 12px; }
  .question-card { padding: 19px; }
  .option { font-size: 11px; padding: 11px; }
  .attempt-summary { gap: 12px; padding: 17px; }
  .attempt-summary .btn { margin-left: 0; }
  .modal-backdrop { padding: 10px; }
  .modal-panel { max-height: calc(100dvh - 20px); }
  .modal-head, .modal-body { padding-left: 19px; padding-right: 19px; }
  .modal-footer { padding-left: 19px; padding-right: 19px; }
  .modal-footer .btn { flex: 1; }
  .toast { bottom: 18px; font-size: 11px; width: max-content; }
  .data-table th, .data-table td { padding-left: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .sidebar, .topbar, .modal-root, .toast, .selection-popover, .skip-link { display: none !important; }
  .shell { display: block; }
  .main { padding: 0; max-width: none; }
  .card, .lesson-card, .word-card, .question-card { break-inside: avoid; box-shadow: none; }
  .hero { color: var(--ink); background: #f1f2f8; }
  .hero h2, .hero-copy p { color: var(--ink); }
}

/* Final component integration and reading comfort. */
.sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
button { border:0; background:none; }
.sidebar-nav { display:block; }
.brand-light { color:var(--accent); }
.brand small { font-size:8px; letter-spacing:1.2px; }
.brand-mark { display:flex; align-items:center; justify-content:center; }
.profile { width:100%; text-align:left; background:transparent; border:0; border-top:1px solid var(--line); border-radius:0; padding-bottom:8px; }
.sidebar-note { display:flex; gap:12px; align-items:center; padding:10px 12px; color:#7d8598; font-size:12px; }
.sidebar-note p { margin:0; }
.sidebar-note strong { color:var(--ink); }
.global-search { display:flex; align-items:center; gap:8px; border:1px solid var(--line); background:white; border-radius:9px; padding:7px 10px; }
.global-search input { width:170px; min-width:0; border:0; outline:none; background:none; font-size:12px; color:var(--ink); }
.global-search input:focus-visible { outline:0; }
.global-search:focus-within { border-color:#b0b0e9; }
.text-link,.back-link { display:inline-flex; align-items:center; gap:7px; padding:2px 0; color:var(--accent); background:transparent; border:0; font-size:12px; font-weight:600; text-align:left; }
.text-link:hover,.back-link:hover { color:#3e3eac; }
.back-link { margin-bottom:17px; }
.icon-button { display:inline-flex; align-items:center; justify-content:center; flex:0 0 34px; width:34px; height:34px; border-radius:9px; background:#f4f4fc; color:var(--accent); border:0; padding:6px; }
.icon-button:hover,.icon-button.is-saved { background:#e9e9ff; }
.hero-copy p { font-size:13px; color:#bec7dc; }
.hero .eyebrow { font-size:10px; }
.hero .btn,.btn { font-size:12px; }
.hero-art { display:block; }
.hero-art>svg { width:100%; height:100%; }
.hero-tag { position:absolute; margin:0; font-size:10px; }
.hero-tag-one { bottom:4px; left:0; }
.hero-tag-two { top:0; right:0; }
.hero-tag-three { bottom:0; right:0; }
.hero::after { opacity:.34; }
.stat-label { color:#778096; font-size:12px; }
.page-subtitle { color:#778096; font-size:14px; }
.lesson-title { font-size:17px; margin:7px 0; }
.lesson-desc { color:#7b8498; font-size:13px; line-height:1.75; }
.lesson-meta,.lesson-row { font-size:11px; color:#7c8598; }
.lesson-card-body { flex:1; }
.lesson-row>.text-link { margin-left:auto; }
.chip { font-size:10px; }
.section-head h2 { font-size:19px; }
.card h3 { font-size:17px; }
.stat-icon.green { color:#54846a; background:var(--sage-soft); }
.stat-icon.amber { color:#ba9860; background:#faf3e8; }
.practice-prompt { display:flex; align-items:center; gap:15px; margin-top:20px; }
.practice-prompt p { font-size:12px; color:var(--muted); margin-bottom:0; }
.practice-prompt .btn { flex-shrink:0; }
.practice-prompt h3 { font-size:14px; margin-bottom:6px; }
.notebook-peek { min-height:240px; }
.notebook-peek>p,.next-class>p { color:var(--muted); font-size:13px; }
.notebook-illustration { display:inline-flex; align-items:center; justify-content:center; width:58px; height:58px; border-radius:18px; margin-bottom:18px; background:var(--accent-soft); color:#9494d2; }
.word-peek { display:flex; align-items:center; flex-wrap:wrap; width:100%; gap:8px; text-align:left; padding:14px 0; border-bottom:1px solid var(--line); }
.word-peek strong { font-size:17px; }
.word-peek span { flex:1; color:var(--muted); font-size:12px; }
.notebook-peek>.btn { margin-top:18px; }
.next-class { margin-top:18px; }
.body-copy { color:#69748b; font-size:14px; line-height:1.9; }
.topic-list { list-style:none; padding:0; margin:24px 0; }
.topic-list li { display:flex; gap:10px; margin:15px 0; color:#69748b; line-height:1.85; }
.topic-list li>span { color:var(--green); }
.source-note { display:flex; align-items:flex-start; gap:8px; color:#9198aa; font-size:11px; line-height:1.8; margin:20px 0 0; }
.lesson-detail>div>.card+.card { margin-top:20px; }
.step-link { display:flex; align-items:center; gap:11px; width:100%; border-top:1px solid var(--line); padding:15px 0; text-align:left; }
.step-link>span { flex:1; }
.step-link strong,.step-link small { display:block; }
.step-link strong { font-size:13px; }
.step-link small { color:var(--muted); font-size:11px; margin-top:3px; }
.collocations button { padding:6px 9px; color:var(--accent); background:var(--accent-soft); border-radius:6px; }
.word-chips { display:grid; gap:9px; }
.word-chips button { display:flex; align-items:center; justify-content:space-between; background:#f5f5fc; color:var(--accent); border-radius:9px; padding:11px 12px; text-align:left; }
.reading-header,.reading-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.reading-header { margin-bottom:20px; font-size:11px; color:var(--muted); }
.reading-help { color:var(--muted); font-size:13px; }
.reading-text { margin:24px 0; padding:0; border:0; border-radius:0; font-size:16px; line-height:2; color:#4e5b74; }
.reading-card>h2 { font-size:27px; }
.notice { display:flex; gap:10px; font-size:12px; color:#668057; margin-bottom:20px; }
.notice>.icon { flex-shrink:0; margin-top:3px; }
.notice p { margin-bottom:0; }
.word-card>h3 { font-size:23px; margin:10px 0 6px; }
.word-card>p { color:#69748b; font-size:13px; }
.word-translation { font-size:13px; }
.word-example { font-size:13px; color:#64718b; }
.collocations { font-size:11px; }
.question-card { min-width:0; padding-top:20px; }
.question-card legend { float:left; width:100%; padding:0 0 16px; font-size:15px; line-height:1.7; font-weight:600; color:var(--ink); }
.question-card .options { clear:both; }
.question-number { font-size:12px; color:var(--accent); font-weight:700; margin-right:8px; }
.option { font-size:13px; }
.radio-dot { display:none; }
.exercise-feedback { font-size:13px; }
.mini-stat { font-size:12px; }
.mini-stat strong { font-size:18px; }
.history-row { display:flex; align-items:center; justify-content:space-between; gap:10px; border-top:1px solid var(--line); padding:12px 0; font-size:12px; color:var(--muted); }
.history-row strong { color:var(--accent); }
.practice-submit { margin:24px 0; }
.attempt-summary { display:block; margin:20px 0 0; }
.attempt-summary strong,.attempt-summary span { display:block; }
.teacher-actions { display:flex; flex-wrap:wrap; gap:8px; margin-left:auto; }
.field-label,.input,.textarea,.select { font-size:13px; }
.field-help { font-size:11px; }
.credit-number { display:block; font-size:64px; line-height:1.2; font-weight:700; color:var(--accent); margin:10px 0; }
.credit-details { display:flex; justify-content:space-between; gap:18px; padding:14px 0; border-top:1px solid #ddddf1; font-size:12px; }
.credit-details strong { font-size:12px; color:var(--ink); text-align:right; }
.credit-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.credit-steps { padding-left:22px; }
.credit-steps li { padding:10px 0 10px 8px; }
.credit-steps li::marker { color:var(--accent); font-weight:700; }
.credit-steps p { font-size:13px; color:var(--muted); margin-top:7px; }
.credit-card p { font-size:13px; }
.data-table { font-size:13px; }
.data-table th { font-size:10px; }
.data-table td small { font-size:11px; }
.footer-note { padding:20px 30px; margin-top:0; display:flex; gap:16px; justify-content:space-between; font-size:11px; }
.footer-note button { color:var(--muted); font-size:11px; }
.modal-root.open { position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:24px; }
.modal-backdrop { position:absolute; inset:0; z-index:0; padding:0; }
.modal-panel { position:relative; z-index:1; width:min(100%,620px); }
.modal-body { font-size:14px; }
.modal-footer { flex-wrap:wrap; }
.modal-body .modal-footer { padding-left:0; padding-right:0; margin-top:20px; background:none; }
.explorer-definition { font-size:17px; line-height:1.8; margin:18px 0 25px; }
.modal-body blockquote { margin-left:0; margin-right:0; }
.review-card { text-align:center; padding:20px 0; }
.review-card h3 { font-size:28px; }
.selection-popover { gap:5px; padding:6px; }
.selection-popover button { display:flex; align-items:center; gap:6px; padding:9px 12px; font-size:12px; color:var(--accent); border-radius:7px; }
.selection-popover button:hover { background:var(--accent-soft); }
.accent { color:var(--accent); }
@media(max-width:1190px) { .topbar-location { display:none; } .global-search input { width:140px; } }
@media(max-width:960px) { .practice-prompt { flex-wrap:wrap; } .global-search { display:none; } }
@media(max-width:720px) {
 .sidebar-nav { display:flex; }
 .nav-item { font-size:12px; }
 .topbar { flex-wrap:wrap; }
 .mobile-brand { display:none; }
 .page-subtitle { font-size:13px; }
 .stat-label { font-size:11px; }
 .hero-art { display:none; }
 .hero-copy { width:100%; }
 .hero-copy p { max-width:430px; }
 .hero-copy h2 { font-size:29px; }
 .lesson-title { font-size:17px; }
 .lesson-meta { font-size:11px; }
 .view-switch button,.student-select { font-size:12px; }
 .topbar-left:empty { display:none; }
 .reading-text { font-size:16px; }
 .modal-root.open { padding:14px; }
 .modal-panel { max-height:calc(100dvh - 28px); }
 .detail-aside { display:grid; }
 .footer-note { flex-wrap:wrap; padding:10px 20px 24px; }
}
@media(max-width:480px) {
 .topbar-left { display:none; }
 .topbar-right { flex-wrap:wrap; }
 .demo-badge { display:none; }
 .page-heading { font-size:27px; }
 .grid-3 { grid-template-columns:1fr; gap:9px; }
 .stats-card { flex-direction:row; align-items:center; padding:15px 18px; gap:14px; }
 .stat-value { font-size:23px; }
 .stat-label { font-size:12px; }
 .word-card>h3 { font-size:23px; }
 .lesson-row>.text-link { margin-left:0; }
 .card-pad,.question-card { padding:19px; }
 .question-card legend { font-size:14px; }
 .option { font-size:13px; }
 .btn.small { font-size:11px; }
 .modal-footer .btn { flex:1 1 140px; }
}
