:root { --header-height: 6rem; }
.study-nav { display: flex; flex: none; }
.hero { align-items: start; }
.hero-heading .intro { margin-top: 1rem; }
.hero-controls .voice-picker { margin-top: 0; }
.eyebrow, .voice-label, .voice-button, .speed-picker label, .speed-reset, .count, .search-label { 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; min-width: 0; height: 1.6em; 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; }
.verb-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.verb-group { min-width: 0; padding: 1.25rem; border: 1px solid var(--border); border-radius: 1rem; background: #101929; }
.verb-group:first-child { grid-column: 1 / -1; }
.group-heading { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.group-heading h3 { margin: 0; font-size: 1.05rem; }
.group-count { flex: none; color: var(--muted); font-size: .875rem; }
.group-description { margin: .4rem 0 0; color: var(--muted); font-size: .875rem; }
.verb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .75rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.verb-choice { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: .5rem; min-width: 0; }
.verb-pill { width: 100%; min-height: 48px; padding: .6rem .7rem; border: 1px solid var(--border); border-radius: 1.6rem; background: #131c2e; color: #dbeafe; font-weight: 600; }
.verb-pill:hover { border-color: #6194cf; background: #192b46; }
.verb-pill.is-selected { border-color: #38bdf8; background: #142c43; color: #7dd3fc; }
.grammar-guide { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.grammar-guide > h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
.lesson-content { color: #ced8e8; }
.lesson-content h4 { line-height: 1.5; }
.lesson-content li { margin: .6rem 0; }
.grammar-table { min-width: 40rem; }
.grammar-table th, .grammar-table td { padding: .55rem .75rem; }
.example-translation { display: block; margin: .35rem 0 0; color: #ced8e8; font-size: .875rem; }
.sentence-pattern { display: inline; padding: .4rem .6rem; border-left: 3px solid #38bdf8; background: #142338; line-height: 3; }
dialog { width: min(620px, calc(100% - 2rem)); }
.dialog-heading { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: .75rem; align-items: center; }
.dialog-heading h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
.dialog-subtitle { margin: .3rem 0 0; color: var(--muted); }
.dialog-heading .close-button { align-self: start; }
.tense-label { margin: 1rem 0 .5rem; color: var(--muted); font-size: .875rem; }
.conjugation-table { width: 100%; border-collapse: collapse; }
.conjugation-table th, .conjugation-table td { padding: .65rem 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.conjugation-table thead th { color: var(--muted); font-size: .875rem; font-weight: 600; }
.conjugation-table th:first-child { width: 68%; padding-right: .75rem; }
.conjugation-table td { color: #c9d6e8; font-size: .875rem; }
.form-entry { display: flex; align-items: center; gap: .65rem; color: #a5e3ff; font-weight: 600; }
.form-entry .speak-button { flex: none; }
.form-entry > span { min-width: 0; }
.form-person { color: #dbeafe; }
.verb-note { margin: 1rem 0; padding: .75rem; border-left: 2px solid #38bdf8; background: #16263e; color: #c4d3e8; font-size: .875rem; }
.dialog-tip { margin: 1rem 0 0; color: var(--muted); font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 650px) {
 .verb-groups { grid-template-columns: minmax(0, 1fr); }
 .verb-group { padding: 1rem; }
}
@media (max-width: 600px) {
 :root { --header-height: 6rem; }
 .study-nav { display: flex; flex: none; }
 .study-link { padding: .65rem 1rem; }
 .section-heading { align-items: start; }
 .conjugation-table th:first-child { width: 64%; }
}
