:root { --header-height: 6rem; }
.study-nav { display: flex; flex: none; }
.study-link { white-space: nowrap; }
.hero { align-items: start; }
.hero-heading .intro { margin: 1rem 0 0; }
.hero-controls .voice-picker { margin-top: 0; }
.eyebrow, .voice-label, .voice-button, .speed-picker label, .speed-reset { font-size: .875rem; }
.sq-pronunciation { display: inline-flex; align-items: center; gap: .55rem; max-width: 100%; vertical-align: middle; }
.sq-pronunciation > [lang="sq"] { min-width: 0; color: #a5e3ff; font-weight: 600; }
.sq-pronunciation .speak-button { flex: none; margin: 0; }
.hero-heading h1 .sq-pronunciation { gap: .75rem; }
.hero-heading h1 [lang="sq"] { color: inherit; font-weight: inherit; }
.audio-section .audio-status { display: block; height: 1.6em; min-width: 0; margin: .35rem 0; overflow: hidden; color: var(--muted); font-size: .875rem; line-height: 1.6; text-overflow: ellipsis; white-space: nowrap; }
.audio-section .audio-status:empty { display: block; }
.study-guidance { margin: 0 0 2rem; border: 1px solid var(--border); border-radius: .875rem; background: #101929; color: #c9d6e8; }
.study-guidance > summary { padding: .85rem 1rem; cursor: pointer; color: #dbeafe; font-weight: 650; }
.study-guidance > summary::marker { color: #7dd3fc; }
.study-guidance[open] > summary { border-bottom: 1px solid var(--border); }
.study-guidance-content { padding: 1rem 1.15rem; }
.study-guidance p { margin: 0 0 .6rem; }
.study-guidance ul { margin: .5rem 0 0; padding-left: 1.25rem; }
.study-guidance li { margin: .25rem 0; }
.vocab-chapter { margin-top: 2rem; }
.chapter-heading h2 { margin: 0; font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.35; }
.chapter-heading .native-title { margin: .5rem 0 0; }
.vocab-chapter .lesson-section { margin-top: .65rem; }
.lesson-section > summary h3 { line-height: 1.5; }
.lesson-content { color: #ced8e8; }
.lesson-content h4 { margin-top: 1.25rem; line-height: 1.5; }
.lesson-content li { margin: .5rem 0; }
.lesson-content blockquote { margin: 1rem 0; padding: .5rem 1rem; border-left: 3px solid #38bdf8; background: #142338; }
.lesson-table { min-width: 35rem; }
.vocabulary-table { min-width: 56rem; table-layout: fixed; }
.vocabulary-table col:nth-child(odd) { width: 24%; }
.vocabulary-table col:nth-child(even) { width: 26%; }
.lesson-table th, .lesson-table td { padding: .55rem .75rem; }
.vocabulary-table td { vertical-align: middle; }
.vocabulary-table td:nth-child(even) { color: #d1dbea; }
.vocabulary-table td:nth-child(3), .vocabulary-table th:nth-child(3) { border-left: 1px solid #344763; }
.vocabulary-table tr > :nth-child(3) { background: #ffffff02; }
.vocab-tools { margin-top: 2rem; }
.quiz-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.quiz-grid { margin-top: 1rem; }
.quiz-question { padding: 1rem .75rem .65rem; }
.quiz-question legend { font-size: 1rem; line-height: 1.4; }
.quiz-choice { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: .5rem; padding: .3rem; margin-top: .35rem; border: 1px solid transparent; border-radius: .6rem; background: #17253b; }
.quiz-choice label { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: .2rem .25rem; cursor: pointer; }
.quiz-choice input { flex: none; width: 1rem; height: 1rem; accent-color: #38bdf8; }
.quiz-choice [lang="sq"] { color: #a5e3ff; font-weight: 600; }
.quiz-choice.is-correct { border-color: #4ade80; background: #12362d; }
.quiz-choice.is-incorrect { border-color: #fda4af; background: #41202d; }
.quiz-question .quiz-feedback, .quiz-question .quiz-feedback:empty { display: block; min-height: 3.2em; margin: .6rem .25rem 0; font-size: .875rem; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.check-answers, .quiz-reset { min-height: 44px; padding: .55rem 1rem; border: 1px solid #3b82d2; border-radius: .6rem; background: #0057b7; color: #fff; font-weight: 650; }
.check-answers:hover { background: #146ac4; }
.quiz-reset { border-color: var(--border); background: #17253b; color: #dbeafe; }
.quiz-result { min-height: 1.6em; margin-bottom: 0; color: #a5e3ff; font-weight: 650; }
@media (max-width: 600px) {
  :root { --header-height: 6rem; }
  .study-nav { display: flex; flex: none; }
  .study-link { padding: .65rem .9rem; }
  .lesson-table th, .lesson-table td { padding: .5rem .65rem; }
  .quiz-question { padding-inline: .5rem; }
}
