@import './tokens.css';
@import './fonts.css';
@import './components.css';
/* App adapters for the supplied Mova components. Learning selectors stay stable. */
html {
  scroll-padding-top:100px;
  scroll-padding-bottom:24px;
  overflow-anchor:none
}
body {
  min-width:0
}
button {
  border:0
}
button:disabled {
  cursor:default
}
a {
  color:inherit
}
h1 {
  font-size:40px;
  line-height:1.12;
  font-weight:800;
  letter-spacing:-.03em
}
h2 {
  font-size:28px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:-.02em
}
h3 {
  font-size:18px;
  font-weight:800
}
p {
  line-height:1.65
}
p+p {
  margin-top:12px
}
.uk,[lang="uk"] {
  font-family:var(--font-ua);
  font-weight:500;
  letter-spacing:0
}
.muted,.small-text,.under-card {
  color:var(--text-2)
}
.small-text {
  font-size:13px
}
.lead {
  font-size:18px;
  line-height:1.65
}
.eyebrow {
  margin-bottom:12px
}
.panel {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-2xl);
  box-shadow:var(--shadow);
  padding:28px;
  min-width:0
}
.topbar {
  height:80px
}
.topbar .nav {
  display:flex;
  margin-left:auto
}
.nav-link {
  white-space:nowrap
}
.tabbar {
  grid-template-columns:repeat(5,minmax(0,1fr))
}
.theme-toggle button {
  width:44px;
  height:44px
}
.logo .word {
  font-size:26px
}
.site-footer {
  max-width:1020px;
  margin:0 auto;
  padding:24px 0 36px;
  border-top:1px solid var(--line);
  display:flex;
  gap:20px;
  justify-content:space-between;
  font-size:12px;
  color:var(--text-2)
}
.button,.text-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:12px 22px;
  border-radius:var(--r-lg);
  border:1px solid transparent;
  font-weight:700;
  font-size:16px;
  line-height:1.35;
  text-decoration:none;
  transition:background-color .15s
}
.button.primary {
  background:var(--blue);
  color:var(--on-blue)
}
.button.primary:hover {
  background:var(--blue-hover)
}
.button.secondary {
  background:var(--surface);
  color:var(--text);
  border-color:var(--line-strong)
}
.button.secondary:hover,.button.quiet:hover,.text-link:hover {
  background:var(--surface-2)
}
.button.quiet,.text-link {
  background:transparent;
  color:var(--text);
  padding-inline:12px
}
.button.small,.text-link {
  min-height:44px;
  padding:10px 14px;
  font-size:14px
}
.button:disabled {
  opacity:.5
}
.button.full {
  width:100%
}
.icon-button {
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  background:transparent;
  color:var(--text)
}
.icon-button:hover {
  background:var(--surface-2)
}
.pill {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:28px;
  padding:4px 11px;
  border-radius:var(--r-pill);
  background:var(--yellow);
  color:var(--on-yellow);
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  line-height:1.4;
  max-width:100%
}
.pill.soft {
  background:var(--blue-soft);
  color:var(--text)
}
fieldset {
  padding:0;
  border:0;
  margin:0;
  min-width:0
}
legend {
  padding:0;
  margin-bottom:12px
}
.field-label {
  display:block;
  font-size:14px;
  font-weight:700;
  margin:20px 0 10px
}
input[type="search"],select {
  width:100%;
  min-height:52px;
  padding:12px 14px;
  border:1px solid var(--line-strong);
  border-radius:var(--r-md);
  background:var(--surface);
  color:var(--text);
  font-size:16px
}
input::placeholder {
  color:var(--text-2)
}
select {
  appearance:none;
  -webkit-appearance:none;
  padding-right:36px;
  background-image:url('../assets/select-arrow.svg');
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:16px
}
.home-hero {
  display:flex;
  flex-direction:column;
  gap:32px
}
.hero-copy {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px
}
.hero-copy h1 {
  font-size:52px;
  line-height:1.1
}
.hero-copy .lead {
  max-width:650px
}
.session-setup {
  padding:28px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:22px
}
.section-heading h2 {
  font-size:28px
}
.topic-choices {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px
}
.length-field {
  margin:24px 0
}
.length-options {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px
}
.length-choice small {
  font-size:12px
}
.setup-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:24px
}
.setup-actions .primary {
  min-width:240px;
  margin-left:auto
}
.stat-strip {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  padding:0 0 28px;
  border-bottom:1px solid var(--line)
}
.stat-strip>div {
  display:flex;
  flex-direction:column;
  gap:4px
}
.stat-strip strong {
  font-size:34px;
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.2
}
.stat-strip span {
  font-size:13px;
  color:var(--text-2)
}
.stat-strip .streak-stat {
  flex-direction:row;
  align-items:center;
  gap:14px
}
.streak-stat>div {
  display:flex;
  flex-direction:column
}
.stat-icon {
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  background:var(--yellow);
  color:var(--on-yellow)!important;
  border-radius:var(--r-md)
}
.learning-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px
}
.learning-card {
  padding:20px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  gap:10px;
  color:var(--text);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-2xl);
  min-width:0
}
.learning-card:hover {
  border-color:var(--blue)
}
.learning-card p {
  font-size:14px;
  color:var(--text-2)
}
.step-number {
  font-size:12px;
  font-weight:800;
  border:1px solid var(--line-strong);
  border-radius:6px;
  min-width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center
}
.card-example {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:baseline;
  border-top:1px solid var(--line);
  padding-top:12px;
  margin-top:auto;
  width:100%
}
.card-example>.uk {
  font-size:19px
}
.card-example>span+span {
  font-size:13px;
  color:var(--text-2)
}
.path-note {
  font-size:13px;
  color:var(--text-2);
  margin-top:16px
}
.curriculum-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px
}
.curriculum-section>p {
  margin-bottom:20px;
  color:var(--text-2)
}
.curriculum-section .learning-card .text-link {
  padding-left:0
}
.vocabulary-promo {
  display:flex;
  gap:24px;
  align-items:center;
  justify-content:space-between
}
.vocabulary-promo h2 {
  margin:8px 0 12px
}
.vocabulary-promo p {
  color:var(--text-2)
}
.vocabulary-promo>.button {
  flex-shrink:0
}
.audio-note {
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:13px;
  line-height:1.65;
  color:var(--text-2);
  padding:8px 0
}
.audio-note .i {
  margin-top:2px
}
.audio-note.unavailable,.storage-warning {
  background:var(--yellow-soft);
  color:var(--text);
  padding:18px;
  border-radius:var(--r-xl)
}
.storage-warning {
  font-size:14px;
  line-height:1.6
}
.under-card {
  font-size:12px;
  line-height:1.6
}
.keyboard-tip {
  display:flex;
  align-items:center;
  gap:5px
}
kbd {
  font:700 12px var(--font-ui);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:24px;
  border:1px solid var(--line-strong);
  border-radius:6px
}
.exercise-shell {
  width:100%;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:20px
}
.exercise-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-weight:700
}
.session-controls {
  display:flex;
  gap:8px
}
.progress-line {
  display:flex;
  justify-content:space-between;
  font-size:13px;
  color:var(--text-2);
  margin-top:-12px;
  margin-bottom:-12px
}
progress {
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  height:8px;
  border:0;
  border-radius:99px;
  background:var(--line);
  display:block;
  overflow:hidden
}
progress::-webkit-progress-bar {
  background:var(--line)
}
progress::-webkit-progress-value {
  background:var(--blue);
  border-radius:99px
}
progress::-moz-progress-bar {
  background:var(--blue);
  border-radius:99px
}
.question-card {
  padding:36px
}
.section-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:24px
}
.question-prompt {
  font-size:38px;
  line-height:1.3;
  letter-spacing:0;
  font-weight:800;
  white-space:pre-line;
  overflow-wrap:anywhere;
  margin-bottom:14px
}
.question-prompt:has(.uk) {
  font-size:48px;
  font-weight:600
}
.question-prompt .uk {
  font-weight:600
}
.question-instruction {
  font-size:18px;
  margin-bottom:20px
}
.sound-buttons {
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin:18px 0 24px
}
.answer-options {
  display:grid;
  gap:12px;
  margin:24px 0
}
.answers--grid {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.answer {
  font-size:21px;
  line-height:1.5;
  min-height:68px;
  flex-wrap:wrap
}
.answer>span:nth-child(2) {
  flex:1;
  min-width:0;
  overflow-wrap:anywhere
}
.answer-index {
  width:30px;
  height:30px;
  min-width:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  font:800 13px var(--font-ui);
  color:var(--text-2)
}
.answer-symbol {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:5px;
  font:800 12px var(--font-ui)
}
.answer.correct {
  border-color:var(--ok);
  background:var(--ok-soft);
  color:var(--text)
}
.answer.incorrect {
  border-color:var(--err);
  background:var(--err-soft);
  color:var(--text)
}
.answer.correct .answer-symbol {
  color:var(--ok)
}
.answer.incorrect .answer-symbol {
  color:var(--err)
}
.answer.is-dim {
  opacity:.5
}
.answer:disabled {
  cursor:default
}
.help-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-size:14px;
  color:var(--text-2)
}
.feedback {
  display:block;
  padding:22px;
  border-radius:var(--r-xl);
  margin:24px 0;
  line-height:1.7
}
.feedback.success {
  background:var(--ok-soft)
}
.feedback.error {
  background:var(--err-soft)
}
.feedback.help {
  background:var(--yellow-soft)
}
.feedback strong {
  font-size:18px;
  font-weight:800;
  display:block;
  margin-bottom:8px
}
.feedback p {
  font-size:16px
}
.feedback .small-text {
  font-size:13px;
  margin-top:14px
}
.feedback-heading {
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:14px
}
.feedback-heading strong {
  margin:0;
  flex:1
}
.feedback__icon {
  color:var(--surface);
  margin-top:2px
}
.feedback-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  margin-top:24px
}
.assessment:focus,.help-panel:focus,[data-detail-anchor]:focus,[data-question-anchor]:focus {
  outline:none
}
[data-question-anchor],[data-detail-anchor],.assessment,.help-panel {
  scroll-margin-top:100px
}
.session-goal,.vocabulary-note,.stem-focus,.study-feedback {
  padding:16px;
  background:var(--surface-2);
  border-radius:var(--r-md);
  font-size:14px;
  margin:20px 0
}
.lesson-card>.pill {
  margin-bottom:24px
}
.lesson-card h1 {
  font-size:28px
}
.lesson-row {
  padding:20px 0;
  border-bottom:1px solid var(--line)
}
.lesson-row .lesson-uk {
  font-size:28px;
  line-height:1.5
}
.lesson-row .sound-buttons {
  margin-bottom:0
}
.lesson-rows {
  margin-bottom:24px
}
.lesson-actions,.study-options {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px
}
.subject-study {
  margin:24px 0
}
.subject-study h2 {
  font-size:22px
}
.curriculum-context {
  font-size:14px;
  color:var(--text-2);
  line-height:1.8
}
.stem-focus strong {
  font-size:26px
}
.listening-area {
  text-align:center;
  padding:20px 0
}
.listening-area p {
  font-size:14px;
  margin-top:28px
}
.listening-orb {
  margin:16px auto
}
.listening-area+.sound-buttons {
  justify-content:center
}
.session-bar__row {
  display:flex;
  align-items:center;
  gap:12px
}
.session-bar__row>span {
  flex:1;
  min-width:0;
  font-size:13px
}
.session-bar__row strong {
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.session-bar__row small {
  display:block;
  font-size:12px;
  color:var(--text-2)
}
.dialog-actions {
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:28px
}
dialog.sheet {
  text-align:center
}
dialog.sheet h2 {
  margin-bottom:16px
}
dialog.sheet p {
  margin-top:12px
}
dialog.sheet .completion-icon {
  margin-bottom:24px
}
.page-heading {
  max-width:820px
}
.page-heading h1 {
  margin-bottom:14px
}
.verb-layout {
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:24px;
  align-items:start
}
.verb-browser {
  padding:20px
}
.verb-browser .field-label:first-child {
  margin-top:0
}
.verb-browser>.small-text {
  margin-top:16px
}
.verb-list {
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:18px;
  max-height:650px;
  overflow:auto;
  overscroll-behavior:contain;
  padding:4px
}
.verb-list-item {
  width:100%;
  min-height:64px;
  padding:12px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:4px;
  border-radius:10px;
  background:transparent;
  color:var(--text);
  text-align:left
}
.verb-list-item .uk {
  font-size:18px
}
.verb-list-item>span+span {
  font-size:12px;
  color:var(--text-2)
}
.verb-list-item:hover {
  background:var(--surface-2)
}
.verb-list-item.selected {
  background:var(--blue-soft);
  font-weight:700
}
.verb-detail {
  padding:28px
}
.verb-detail h2 {
  font-size:46px;
  line-height:1.3;
  margin:12px 0 6px;
  overflow-wrap:anywhere
}
.verb-detail h2 .uk {
  font-weight:600
}
.verb-meaning {
  font-size:20px;
  color:var(--text-2)
}
.stress-note {
  font-size:12px;
  color:var(--text-2);
  margin:14px 0
}
.conjugation-table {
  width:100%;
  border-collapse:collapse;
  margin:24px 0
}
.conjugation-table caption {
  text-align:left;
  font-size:12px;
  font-weight:800;
  padding-bottom:12px
}
.conjugation-table tr {
  border-bottom:1px solid var(--line)
}
.conjugation-table th {
  text-align:left;
  font-size:17px;
  font-weight:500;
  padding:12px 0
}
.conjugation-table th small {
  display:block;
  font:12px var(--font-ui);
  color:var(--text-2);
  margin-top:4px
}
.conjugation-table td {
  padding:10px 4px;
  font-size:22px
}
.conjugation-table td:last-child {
  text-align:right;
  width:44px
}
.conjugation-table td .uk {
  overflow-wrap:anywhere
}
.pattern-note {
  font-size:14px;
  line-height:1.7;
  margin:24px 0
}
.pattern-note p {
  margin-top:10px;
  color:var(--text-2)
}
.example-block {
  padding:24px;
  border-radius:var(--r-xl);
  background:var(--surface-2)
}
.example-block .example-uk {
  font-size:26px;
  margin:12px 0
}
.example-block .sound-buttons {
  margin-bottom:0
}
.verb-practice {
  margin-top:24px
}
.verb-practice .small-text {
  margin-bottom:16px
}
.mobile-back {
  display:none
}
.word-detail p {
  line-height:1.8
}
.summary {
  max-width:740px;
  width:100%;
  text-align:center;
  padding:40px;
  margin:0 auto
}
.completion-icon {
  width:72px;
  height:72px;
  background:var(--yellow);
  color:var(--on-yellow);
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-bottom:24px
}
.completion-icon .i {
  width:32px;
  height:32px
}
.summary h1 {
  margin:12px 0 18px
}
.summary h2 {
  font-size:24px;
  margin-bottom:20px
}
.summary-metrics {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  padding:24px 0;
  margin:30px 0;
  border-block:1px solid var(--line)
}
.summary-metrics>div+div {
  border-left:1px solid var(--line)
}
.summary-metrics strong {
  font-size:34px;
  font-weight:800;
  display:block
}
.summary-metrics span {
  font-size:13px;
  color:var(--text-2)
}
.summary .feedback-actions {
  justify-content:center
}
.review-list {
  padding:0;
  margin:20px 0 24px;
  text-align:left
}
.review-list li {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 0;
  border-bottom:1px solid var(--line);
  font-size:15px
}
.review-list strong {
  font-weight:600;
  min-width:0;
  overflow-wrap:anywhere
}
.review-list li>span {
  font-size:13px;
  color:var(--text-2);
  text-align:right
}
.review-list small {
  display:block;
  margin-top:6px
}
.empty-state {
  text-align:center;
  max-width:680px;
  margin:32px auto;
  padding:40px
}
.empty-state>.i {
  width:44px;
  height:44px;
  color:var(--blue);
  margin-bottom:24px
}
.empty-state h1 {
  margin-bottom:16px
}
.empty-state .button {
  margin-top:24px
}
.progress-stats {
  border:0;
  padding:0;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))
}
.progress-stats>div {
  padding:24px;
  border-radius:var(--r-2xl);
  border:1px solid var(--line);
  background:var(--surface)
}
.progress-stats .streak-card {
  background:var(--yellow);
  color:var(--on-yellow)
}
.streak-card span {
  color:var(--on-yellow)
}
.skill-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px
}
.skill-card h2 {
  font-size:34px;
  line-height:1.2;
  margin-bottom:16px
}
.skill-card h2>span {
  font-size:13px;
  color:var(--text-2);
  font-weight:500;
  display:block;
  margin-top:8px;
  letter-spacing:0
}
.skill-card p:last-child {
  font-size:13px;
  color:var(--text-2);
  margin-top:16px
}
.skill-card .eyebrow {
  letter-spacing:.07em
}
.skill-card meter {
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  height:8px;
  display:block;
  border:0;
  border-radius:99px;
  background:var(--line)
}
meter::-webkit-meter-bar {
  border:0;
  background:var(--line);
  height:8px
}
meter::-webkit-meter-optimum-value {
  background:var(--blue)
}
meter::-moz-meter-bar {
  background:var(--blue)
}
.progress-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px
}
.progress-grid h2 {
  font-size:24px;
  margin-bottom:16px
}
.progress-grid p {
  font-size:14px;
  color:var(--text-2)
}
.history-list li {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 0;
  border-bottom:1px solid var(--line)
}
.history-list strong {
  font-size:14px
}
.history-list small {
  display:block;
  font-size:12px;
  color:var(--text-2);
  margin-top:8px
}
.history-list .pill {
  background:var(--blue-soft);
  color:var(--text)
}
.curriculum-progress>p {
  margin:14px 0;
  font-size:14px;
  color:var(--text-2)
}
.curriculum-list li {
  border-bottom:1px solid var(--line);
  padding:12px 0
}
.curriculum-list button {
  text-align:left;
  padding-left:0
}
.curriculum-list span {
  display:block;
  font-size:13px;
  color:var(--text-2)
}
.method-note h2 {
  margin-bottom:16px
}
.method-note p {
  font-size:14px;
  color:var(--text-2)
}
.migration-note {
  padding:20px;
  border-radius:var(--r-xl);
  background:var(--yellow-soft);
  font-size:14px;
  line-height:1.7
}
.skip-link {
  position:fixed;
  top:-100px;
  left:16px;
  z-index:100;
  background:var(--blue);
  color:var(--on-blue);
  padding:14px 20px;
  border-radius:var(--r-lg);
  font-weight:700;
  text-decoration:none
}
.skip-link:focus {
  top:16px
}
@media(min-width:1100px) {
  .home-hero+.stat-strip {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
}
@media(min-width:761px) and (max-width:1000px) {
  .topbar {
    padding-inline:24px;
    gap:10px
  }
  .topbar .nav a {
    padding-inline:8px;
    font-size:13px;
    gap:6px
  }
  .topbar .nav .i {
    width:18px;
    height:18px
  }
  .topbar .theme-toggle button {
    width:38px
  }
  .site-footer {
    margin-inline:40px
  }
  .skill-card {
    padding:20px
  }
}
@media(max-width:760px) {
  html {
    scroll-padding-top:100px;
    scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom))
  }
  .topbar {
    height:76px;
    padding:12px 16px
  }
  .logo .word {
    font-size:23px
  }
  .logo svg {
    width:30px;
    height:30px
  }
  .page {
    gap:24px
  }
  .page--exercise {
    padding-top:24px
  }
  .site-footer {
    margin:0 16px;
    padding-bottom:calc(110px + env(safe-area-inset-bottom));
    flex-wrap:wrap;
    gap:12px
  }
  .site-footer>span:nth-child(2) {
    display:none
  }
  .topbar .nav {
    display:grid;
    margin:0;
    gap:4px
  }
  .tabbar a {
    font-size:10px;
    min-width:0;
    padding:8px 2px;
    flex-direction:column;
    gap:4px
  }
  .hero-copy h1 {
    font-size:36px
  }
  .hero-copy .lead {
    font-size:16px
  }
  .home-hero {
    gap:24px
  }
  .panel,.session-setup {
    padding:20px
  }
  .section-heading {
    align-items:flex-start;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:20px
  }
  .section-heading h2 {
    font-size:24px
  }
  .section-heading>.small-text {
    font-size:12px
  }
  .topic-choices {
    grid-template-columns:1fr
  }
  .length-options {
    gap:8px
  }
  .length-choice {
    padding:14px 8px;
    gap:6px;
    flex-direction:column;
    align-items:flex-start
  }
  .length-choice .choice__dot {
    display:none
  }
  .length-choice strong {
    font-size:14px
  }
  .length-choice small {
    font-size:11px;
    line-height:1.7
  }
  .setup-actions {
    flex-direction:column;
    align-items:stretch;
    gap:16px
  }
  .setup-actions .primary {
    min-width:0;
    margin:0
  }
  .setup-actions>.small-text {
    order:2;
    text-align:center
  }
  .stat-strip {
    gap:10px;
    padding-bottom:24px
  }
  .stat-strip strong {
    font-size:26px
  }
  .stat-strip span {
    font-size:12px
  }
  .streak-stat .stat-icon {
    display:none
  }
  .learning-grid,.curriculum-grid {
    grid-template-columns:1fr
  }
  .learning-card {
    padding:20px
  }
  .learning-section .section-heading {
    margin-bottom:18px
  }
  .vocabulary-promo {
    display:block
  }
  .vocabulary-promo .button {
    margin-top:18px
  }
  .vocabulary-promo h2 {
    font-size:24px
  }
  .page-heading h1 {
    font-size:32px
  }
  .page-heading .lead {
    font-size:16px
  }
  .question-card {
    padding:20px
  }
  .question-prompt {
    font-size:30px;
    line-height:1.3
  }
  .question-prompt:has(.uk) {
    font-size:34px
  }
  .question-instruction {
    font-size:16px
  }
  .section-top {
    gap:10px;
    align-items:flex-start;
    flex-wrap:wrap
  }
  .section-top .pill {
    font-size:11px
  }
  .session-meta--desktop {
    display:none
  }
  .session-bar {
    position:sticky;
    top:0
  }
  .session-bar progress {
    height:6px
  }
  .session-bar .theme-toggle button {
    width:34px;
    height:44px
  }
  .is-in-session .site-footer {
    display:none
  }
  .has-action-bar .page--exercise {
    padding-bottom:calc(var(--action-height,100px) + 36px)
  }
  .feedback-actions.action-bar {
    margin:0;
    flex-wrap:nowrap;
    justify-content:stretch
  }
  .action-bar .button {
    flex:1;
    min-width:0;
    padding:12px 10px;
    font-size:14px;
    min-height:52px
  }
  .action-bar .primary {
    flex:1.4
  }
  .feedback {
    padding:18px
  }
  .feedback strong {
    font-size:17px
  }
  .feedback p {
    font-size:15px
  }
  .feedback-heading {
    gap:10px
  }
  .feedback__icon {
    width:28px;
    height:28px
  }
  .answer-options {
    gap:12px
  }
  .answer {
    padding:14px;
    gap:12px;
    font-size:21px
  }
  .answer-symbol {
    font-size:11px;
    max-width:90px;
    flex-wrap:wrap
  }
  .help-row {
    font-size:12px;
    align-items:flex-start;
    flex-wrap:wrap
  }
  .help-row .text-link {
    padding-inline:0
  }
  .answers--grid {
    grid-template-columns:1fr
  }
  .keyboard-tip {
    display:none
  }
  .sound-buttons {
    gap:4px
  }
  .sound-buttons .button {
    padding-inline:10px;
    font-size:13px
  }
  .lesson-card h1 {
    font-size:25px
  }
  .lesson-row .lesson-uk {
    font-size:26px
  }
  .lesson-actions {
    flex-direction:column;
    align-items:stretch
  }
  .study-options .button {
    flex:1
  }
  .verb-layout {
    grid-template-columns:1fr
  }
  .verb-layout:not(.mobile-detail) .verb-detail {
    display:none
  }
  .verb-layout.mobile-detail .verb-browser,.verb-page-heading.detail-open {
    display:none
  }
  .mobile-back {
    display:inline-flex;
    margin-bottom:14px;
    padding-left:0!important
  }
  .verb-list {
    max-height:none;
    overflow:visible
  }
  .verb-detail h2 {
    font-size:40px
  }
  .conjugation-table th {
    font-size:16px
  }
  .conjugation-table td {
    font-size:20px
  }
  .example-block {
    padding:18px
  }
  .example-block .example-uk {
    font-size:24px
  }
  .verb-practice .button {
    width:100%
  }
  .summary {
    padding:28px 20px
  }
  .summary h1 {
    font-size:32px
  }
  .summary .lead {
    font-size:16px
  }
  .summary-metrics strong {
    font-size:28px
  }
  .summary-metrics span {
    font-size:11px
  }
  .summary .feedback-actions {
    flex-direction:column;
    align-items:stretch
  }
  .summary .review-list li {
    align-items:flex-start;
    flex-direction:column;
    gap:8px
  }
  .summary .review-list li>span {
    text-align:left;
    display:flex;
    gap:12px;
    align-items:center
  }
  .summary .review-list small {
    margin:0
  }
  .summary .pill {
    white-space:normal
  }
  .skill-grid,.progress-grid {
    grid-template-columns:1fr
  }
  .progress-stats {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px
  }
  .progress-stats>div {
    padding:18px
  }
  .skill-card h2 {
    font-size:30px
  }
  .skill-card p:last-child {
    font-size:13px
  }
  .empty-state {
    padding:32px 20px
  }
  .empty-state h1 {
    font-size:32px
  }
}
@media(max-width:370px) {
  .tabbar {
    padding-inline:4px
  }
  .tabbar a {
    font-size:9px
  }
  .theme-toggle button {
    width:38px
  }
  .hero-copy h1 {
    font-size:34px
  }
  .question-card {
    padding:18px
  }
  .question-prompt:has(.uk) {
    font-size:30px
  }
  .answer {
    padding:12px;
    gap:8px;
    font-size:19px
  }
  .answer-symbol {
    font-size:10px;
    max-width:60px
  }
  .conjugation-table td {
    font-size:18px
  }
  .conjugation-table th {
    font-size:14px
  }
  .verb-detail {
    padding:18px
  }
  .length-options {
    gap:6px
  }
  .length-choice {
    padding:12px 6px
  }
  .length-choice small {
    font-size:10px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important
  }
}
.question-card,.verb-detail {
  scroll-margin-top:100px
}
@media(max-width:760px) {
  .question-card {
    scroll-margin-top:110px
  }
}
.sound-buttons .is-playing {
  background:var(--blue-soft);
  color:var(--text)
}
#pattern-filter {
  font-family:var(--font-ua)
}
/* Artboard rhythm: the hero chip fills the iPad row, but stays compact on mobile. */
.lead { line-height: 1.5; }
.learning-section .section-heading h2 { font-size: 24px; }
@media (min-width: 761px) {
  .page:not(.page--exercise) { padding-top: 40px; }
  .hero-copy > .pill { align-self: stretch; }
}
@media (max-width: 760px) {
  .learning-section .section-heading h2 { font-size: 22px; }
}
