@font-face { font-family: 'Mynerve'; src: url('/assets/fonts/Mynerve-Regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
html { min-width: 280px; }
.vocabulary-page { min-width: 0; }
.vocabulary-page p { line-height: 1.65; }
.vocab-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 24px 0 12px; }
.vocab-stats > div { border: 1px solid #d8e2ed; border-radius: 15px; background: #fff; padding: 18px 12px; }
.vocab-stats > div:nth-child(4) { background: #eaf7f0; }
.vocab-stats > div:nth-child(5) { background: #fff4e5; }
.vocab-stats strong { display: block; font-size: 30px; }
.vocab-stats span { color: #485772; font-size: 12px; }
.vocab-caption { color: #52617b; font-size: 13px; }
.vocab-toolbar, .vocab-table-tools, .vocab-quiz-start { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0; }
.vocabulary-page label { display: grid; gap: 6px; font-size: 13px; color: #34435f; }
.vocabulary-page input:not([type=radio]), .vocabulary-page select, .vocabulary-page textarea { min-height: 44px; width: 100%; min-width: 0; max-width: 100%; border: 1px solid #bfcce0; border-radius: 10px; background: #fff; color: var(--ink); padding: 10px 12px; }
.vocabulary-page button { min-height: 44px; white-space: normal; overflow-wrap: anywhere; }
.vocabulary-page .text-button { border: 0; background: transparent; color: #2450a8; border-radius: 8px; padding: 10px 4px; cursor: pointer; text-align: left; }
.vocabulary-page .text-button:hover { background: #edf3fc; }
.vocab-callout { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; background: #eef2ff; border-radius: 16px; margin: 20px 0; }
.vocab-callout p { margin-bottom: 0; }
.vocab-block { border: 1px solid #cbd7e6; border-radius: 18px; background: white; margin: 15px 0; scroll-margin-top: 100px; }
.vocab-block > summary { display: flex; align-items: center; gap: 15px; padding: 22px; cursor: pointer; list-style: none; }
.vocab-block > summary::after { content: '+'; font-size: 24px; margin-left: auto; }
.vocab-block[open] > summary::after { content: '−'; }
.vocab-block > summary b { font-size: 19px; }
.vocab-block summary small { display: block; font-size: 12px; color: #53617b; margin-top: 6px; line-height: 1.55; }
.vocab-stage { border-radius: 9px; padding: 10px; background: #e8f0ff; color: #1947a4; font-weight: 700; white-space: nowrap; font-size: 12px; }
.vocab-course-state { font-size: 11px; color: #57647c; margin-left: auto; max-width: 100px; }
.vocab-block-body { padding: 0 22px 22px; }
.vocab-groups { margin-top: 24px; }
.vocab-group { border-top: 1px solid #dce4f0; padding: 6px 0; }
.vocab-group > summary { display: flex; align-items: center; gap: 12px; padding: 16px 4px; cursor: pointer; }
.vocab-group > summary::before { content: '▸'; color: #2254b3; }
.vocab-group[open] > summary::before { content: '▾'; }
.vocab-group > summary span { margin-left: auto; background: #f1f4fb; padding: 4px 12px; border-radius: 20px; }
.vocab-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid #d9e1ed; border-radius: 12px; }
.vocab-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: 13px; }
.vocab-table caption { padding: 12px 15px; text-align: left; font-weight: 700; background: #f7f9fd; }
.vocab-table th { background: #edf2fa; color: #344768; font-size: 11px; padding: 12px 10px; }
.vocab-table td { vertical-align: top; padding: 17px 10px; border-top: 1px solid #dfe6f0; overflow-wrap: anywhere; }
.vocab-table th:nth-child(1) { width: 17%; }.vocab-table th:nth-child(2) { width: 16%; }.vocab-table th:nth-child(3) { width: 24%; }.vocab-table th:nth-child(4) { width: 25%; }.vocab-table th:nth-child(5) { width: 18%; }
.vocab-table p { margin: 8px 0; }
.vocab-table small { display: block; font-size: 11px; line-height: 1.6; color: #51617d; margin: 7px 0; }
.vocab-table button { font-size: 11px; padding: 8px; max-width: 100%; }
.vocab-table summary { cursor: pointer; color: #2450a8; padding-block: 10px; }
.vocab-print { font-size: 20px; font-weight: 650; }
.vocab-hand { font-family: 'Mynerve', cursive; font-size: 29px; font-weight: 400; line-height: 1.7; font-style: normal; }
.vocab-example { color: #154a73; font-size: 17px; }
.vocab-sound { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0; }
.vocab-sound button { border: 1px solid #bacfed; border-radius: 9px; background: #eef5ff; color: #1c459b; cursor: pointer; }
.vocab-status { display: inline-block; padding: 5px 8px; border-radius: 8px; font-size: 11px; background: #f0f2f7; }
.vocab-status.is-retained { color: #176143; background: #e4f5e9; }.vocab-status.is-due { color: #774608; background: #fff0d9; }.vocab-status.is-learning { color: #224b9f; background: #eaf0ff; }
.vocab-quiz-start { padding: 18px; background: #f1f5fb; border-radius: 12px; }
.vocab-quiz-start small { flex-basis: 100%; color: #54617a; line-height: 1.5; }
.vocab-edit { display: grid; gap: 12px; padding-top: 15px; }
.vocab-edit textarea { min-height: 100px; resize: vertical; }
.vocab-quiz { max-width: 760px; margin-inline: auto; }
.vocab-quiz progress { width: 100%; height: 8px; accent-color: #2867ce; }
.vocab-stimulus { margin: 25px 0; font-size: clamp(24px, 4vw, 36px); overflow-wrap: anywhere; }
.vocab-choices { border: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vocab-choices legend { padding: 0 0 10px; font-size: 13px; color: #56657a; }
.vocab-choices label { display: flex; align-items: center; gap: 12px; padding: 17px; border: 1px solid #c9d6e8; background: white; border-radius: 12px; cursor: pointer; font-size: 16px; }
.vocab-choices label:has(input:checked) { background: #eaf2ff; border-color: #497bcc; }
.vocab-choice-row { display: flex; gap: 8px; min-width: 0; }
.vocab-choice-row label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.vocab-choice-row label:focus-within { outline: 3px solid #497bcc; outline-offset: 2px; }
.vocab-choice-row input { flex: 0 0 auto; accent-color: #285bc0; }
.vocab-choice-row [lang=el] { font-size: 21px; }
.vocab-choice-sound { flex: 0 0 48px; border: 1px solid #bdcfe7; border-radius: 12px; background: #eef5ff; color: #214d98; cursor: pointer; }
.vocab-quiz-type { display: inline-block; padding: 7px 12px; background: #e8f3ed; color: #205e45; border-radius: 20px; font-size: 12px; }
.vocab-quiz .vocab-choices { margin-top: 20px; }
.vocab-feedback summary { padding-block: 12px; cursor: pointer; color: #365c85; }
.vocab-feedback { padding: 24px; border-radius: 17px; background: #eef4ff; border: 1px solid #ccddef; margin: 20px 0; }.vocab-feedback.is-correct { background: #edf8f0; border-color: #bbdcc7; }.vocab-feedback.is-review { background: #fff5e8; border-color: #e8cda5; }
.vocab-result-count { display: grid; gap: 10px; margin: 25px 0; }.vocab-result-count strong { font-size: 40px; }.vocab-results { padding: 0; list-style: none; }.vocab-results li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid #d4ddec; }.vocab-results small { display: block; margin-top: 7px; color: #536078; }
.chapter-practice.chapter-practice-link { padding: clamp(20px, 3.5vw, 38px); }.chapter-practice-link h2 { margin-top: 0; }.chapter-practice-link p { line-height: 1.65; }
/* Eight destinations must not compress the profile selector or extend the page. */
@media (min-width: 861px) { .topbar { grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) auto; gap: 12px; }.main-nav { min-width: 0; gap: 0; }.nav-button { padding-inline: 10px; font-size: 12px; }.profile-control select { min-width: 110px; max-width: 165px; } }
@media (min-width: 861px) and (max-width: 1100px) { .nav-wide { display: none; }.nav-compact { display: inline; }.profile-control label { display: none; }.nav-button { padding-inline: 7px; } }
@media (max-width: 1100px) { .vocab-table, .vocab-table tbody, .vocab-table tr, .vocab-table td { display: block; width: 100%; }.vocab-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }.vocab-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; border-top: 2px solid #cbd8e9; }.vocab-table td { border: none; padding: 10px; }.vocab-table td:nth-child(n+3) { grid-column: 1 / -1; }.vocab-table td::before { content: attr(data-label); display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #54627b; margin-bottom: 8px; }.vocab-table button { font-size: 13px; }.vocab-table small { font-size: 12px; } }
@media (max-width: 860px) { .main-nav { overflow-x: auto; justify-content: flex-start; padding-bottom: env(safe-area-inset-bottom); height: calc(60px + env(safe-area-inset-bottom)); }.nav-button { flex: 1 0 52px; min-width: 52px; font-size: 10px; }.main { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }.vocab-callout { align-items: stretch; flex-direction: column; }.vocab-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }.vocab-block > summary { padding: 16px; gap: 10px; flex-wrap: wrap; }.vocab-block > summary > span:nth-child(2) { flex: 1; min-width: 120px; }.vocab-course-state { display: none; }.vocab-block-body { padding: 0 14px 16px; }.vocab-stage { font-size: 10px; }.vocab-table-tools > label { flex: 1 1 180px; } }
@media (prefers-reduced-motion: no-preference) { .vocab-feedback, .vocab-block-body { animation: vocab-enter .2s ease-out; } @keyframes vocab-enter { from { opacity: .4; transform: translateY(5px); } to { opacity: 1; transform: none; } } }
@media (max-width: 860px) { .nav-button { flex-basis: 44px; min-width: 44px; }.profile-control select { font-size: 12px; } }
@media (max-width: 360px) { .main-nav { display: grid; grid-template-columns: repeat(4, 1fr); height: calc(92px + env(safe-area-inset-bottom)); }.nav-button { min-height: 44px; }.main { padding-bottom: calc(138px + env(safe-area-inset-bottom)); }.course-rail { bottom: 92px; } }
@media (max-width: 1100px) { .vocab-table caption { display: block; width: 100%; } }
