/* One aligned surface for the list, settings, practice and result. */
.ls-page .ex-shell { max-width: 1096px; padding-bottom: 64px; }
.ex-heading { max-width: 800px; padding: 12px 0 30px; }
.ex-heading h1 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 14px; overflow-wrap: anywhere; }
.ex-heading > p:last-child { font-size: 20px; margin-bottom: 0; }
.ex-heading .li-intro { font-size: 18px; margin-bottom: 0; }
.ex-heading .li-intro p { margin-bottom: 12px; }
.ex-heading .li-intro p:last-child { margin-bottom: 0; }
.ex-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wt-workspace { background: #fff; border: 1px solid #dce5e3; border-radius: 16px; overflow: hidden; }
.wt-tabs { display: flex; gap: 28px; border-bottom: 1px solid #e1e8e6; padding: 0 36px; }
.wt-tabs button { padding: 22px 0 18px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #5c6d6c; font: inherit; font-weight: 600; }
.wt-tabs button.active { border-bottom-color: var(--ls-section-color, #216c7c); color: #174e5b; }
.wt-tabs button span { margin-left: 6px; }
.wt-list-intro { display: flex; align-items: start; justify-content: space-between; gap: 24px; padding: 28px 36px 24px; }
.wt-list-intro h2 { font-size: 22px; margin-bottom: 8px; }
.wt-list-intro p { max-width: 620px; font-size: 16px; margin: 0; }
.wt-count { flex: none; font-size: 14px; font-weight: 600; white-space: nowrap; color: #526864; padding: 4px 10px; border-radius: 5px; background: #f0f5f3; }
.wt-workspace .wt-table { width: calc(100% - 72px); margin: 0 36px; table-layout: fixed; border-collapse: collapse; text-align: left; }
.wt-number-col { width: 44px; }
.wt-tools-col { width: 96px; }
.wt-workspace .wt-table thead { border-bottom: 1px solid #cbd9d5; }
.wt-workspace .wt-table thead th { padding: 12px 12px 12px 0; color: #657572; font-size: 13px; font-weight: 600; }
.wt-workspace .wt-table tbody th, .wt-workspace .wt-table td { border-bottom: 1px solid #e8eeec; padding: 16px 16px 16px 0; vertical-align: middle; font-size: 18px; line-height: 1.45; overflow-wrap: anywhere; }
.wt-workspace .wt-table tbody th { font-size: 13px; color: #81918d; font-weight: 400; }
.wt-workspace .wt-table td[lang=it] { font-weight: 600; color: #243f38; }
.wt-workspace .wt-table td:last-child { padding-right: 0; }
.wt-row-tools { display: flex; align-items: center; justify-content: end; gap: 4px; }
.wt-row-tools button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 8px; border: 0; border-radius: 7px; background: transparent; color: #52746e; }
.wt-row-tools button:hover { background: #edf5f2; color: #174e5b; }
.wt-row-tools .verwijder-btn { color: #84928e; }
.wt-row-tools .verwijder-btn:hover { color: #963e40; background: #fcf0ef; }
.wt-row-tools svg { width: 20px; height: 20px; pointer-events: none; }
.wt-help { padding: 22px 36px; font-size: 16px; }
.wt-help summary { color: #526c66; cursor: pointer; }
.wt-help[open] summary { margin-bottom: 16px; }
.wt-help p { max-width: 720px; margin-bottom: 12px; }
.wt-state { padding: 36px; }
.wt-state > h2 { font-size: 28px; margin-bottom: 12px; }
.wt-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 28px; }
.wt-setting-group { min-width: 0; border: 0; padding: 0; margin: 0; }
.wt-setting-group legend { font-weight: 600; font-size: 15px; color: #526864; margin-bottom: 12px; }
.wt-choice { display: flex; align-items: start; gap: 12px; padding: 16px; border: 1px solid #e0e8e5; border-radius: 10px; margin-bottom: 12px; cursor: pointer; }
.wt-choice:has(input:checked) { background: var(--ls-tint, #f2f8f6); border-color: var(--ls-section-color, #82b0a5); }
.wt-choice:has(input:disabled) { opacity: .55; cursor: default; }
.wt-choice input { margin: 5px 0 0; width: 17px; height: 17px; flex: none; accent-color: #216c7c; }
.wt-choice strong, .wt-choice small { display: block; }
.wt-choice strong { font-size: 17px; font-weight: 600; }
.wt-choice small { font-size: 15px; color: #687b75; margin-top: 4px; }
.ex-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; }
.ls-page .ex-text-button, .wt-workspace .ex-text-button { background: transparent; border: 0; color: #526c66; padding: 10px 0; font: inherit; text-decoration: underline; text-underline-offset: 4px; }
.ex-text-link, .ex-back-link a { color: #526c66; font-size: 16px; }
.ex-back-link { margin-top: 24px !important; }
.wt-practice { max-width: 740px; margin: auto; padding-top: 32px; padding-bottom: 36px; }
.wt-practice-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.wt-practice-meta p { margin: 0; font-size: 15px; }
.wt-practice #vraagtext { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.25; margin: 30px 0; overflow-wrap: anywhere; }
.wt-answer { max-width: 560px; }
.wt-answer label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.wt-answer #textinput { width: 100%; padding: 14px 16px; border: 1px solid #9db8ae; border-radius: 8px; background: #fff; color: #263c35; font: inherit; font-size: 20px; }
.wt-answer #feedback { min-height: 26px; margin: 10px 0 0; font-size: 16px; }
.wt-practice .ex-actions { margin-top: 12px; }
.wt-keyboard-hint { margin: 20px 0 0 !important; font-size: 14px; color: #7b8985; }
.wt-result { max-width: 760px; padding-top: 44px; padding-bottom: 44px; margin: auto; }
.wt-result-stats { display: flex; gap: 48px; margin-top: 28px; }
.wt-result-stats span { color: #687b75; font-size: 15px; }
.wt-result-stats strong { display: block; font-family: Montserrat, sans-serif; font-size: 32px; color: #216c5d; }
.wt-speech-notice { margin: 0 36px 24px !important; border-left: 3px solid #9b702d; background: #fbf7ed; padding: 14px 18px; font-size: 16px; }
.wt-workspace :focus-visible, .ex-shell select:focus-visible { outline: 3px solid #216c7c; outline-offset: 4px; }

/* Quizzes have an open heading and one work surface, with quiet related links. */
.ls-quiz-page .ex-shell { max-width: 1200px; }
.ex-quiz-layout { display: grid; grid-template-columns: minmax(0, 820px) minmax(0, 240px); align-items: start; gap: 36px; }
.ex-quiz-main { min-width: 0; }
.ex-quiz-main .ex-heading { padding-top: 0; padding-bottom: 24px; }
.ex-quiz-main .li-intro { font-size: 18px; margin-bottom: 0; }
.ex-quiz-main .li-intro p:last-child { margin-bottom: 0; }
.ex-quiz-surface { background: white; border: 1px solid #dce5e3; border-radius: 14px; padding: 28px 32px; }
.ex-quiz-modes { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid #e4ebe8; margin-bottom: 4px; }
.ex-quiz-modes > span { font-size: 14px; color: #657572; }
.ex-mode-switch { display: flex; background: #f0f4f2; border-radius: 7px; padding: 4px; gap: 4px; }
.ex-mode-switch button { font: inherit; font-size: 15px; color: #657572; border: 1px solid transparent; padding: 6px 14px; border-radius: 5px; background: transparent; }
.ex-mode-switch [aria-pressed=true] { color: #245e51; background: #fff; border-color: #dce5e3; }
.ls-quiz-page .ls-question { padding: 0 0 22px; margin: 0; border: 0; border-bottom: 1px solid #e4ebe8; border-radius: 0; }
.ls-quiz-page .ls-question legend { display: block; width: 100%; font-size: 18px; font-weight: 600; padding: 22px 0 0; margin-bottom: 12px; }
.ls-quiz-page .ls-question legend + * { clear: both; }
.ls-quiz-page .ls-question > label:not(.ls-option) { font-size: 14px; color: #657572; }
.ls-quiz-page .ls-question input[type=text] { display: block; width: 100%; max-width: 480px; margin-top: 6px; padding: 12px 14px; }
.ls-quiz-page .ls-question.is-wrong input[type=text] { border-color: #aa5050; }
.ls-quiz-page .ls-question.is-correct input[type=text] { border-color: #40826b; }
.ls-quiz-page .ls-question.is-revealed { background: #f5f7f6; }
.ls-quiz-page .ls-option { padding: 7px 0; }
.ls-quiz-page .ls-question-feedback:empty { display: none; }
.ls-quiz-page .ls-question-feedback { font-size: 15px; font-weight: 400; }
.ls-quiz-page .ls-question.is-correct .ls-question-feedback { color: #216c5d; }
.ex-quiz-surface #ls-quiz-status:empty { display: none; }
.ex-quiz-surface .ex-actions { margin-top: 24px; }
.ex-quiz-main .ls-storage-note { font-size: 14px; border: 0; padding: 0; margin: 20px 0 0; }
.ex-material { margin-bottom: 24px; }
.ex-material .li-prose { font-size: 19px; }
.ex-quiz-aside { border-top: 2px solid #d5e1dc; padding-top: 22px; }
.ex-quiz-aside h2 { font-size: 19px; }
.ex-quiz-aside a { display: block; padding: 12px 0; border-bottom: 1px solid #dce5e3; color: #41665c; font-size: 16px; }
.ls-quiz-page .reading-scario-banner { margin-top: 32px; }
.ls-quiz-page .reading-scario-banner img { max-height: 140px; object-position: left; }
@media (max-width: 1023px) {
  .ex-quiz-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 767px) {
  .ex-heading { padding-bottom: 22px; }
  .ex-heading > p:last-child { font-size: 18px; }
  .wt-tabs { padding: 0 20px; gap: 22px; }
  .wt-tabs button { font-size: 15px; padding: 17px 0 14px; }
  .wt-tabs button span { display: none; }
  .wt-list-intro { padding: 22px 20px 18px; gap: 16px; }
  .wt-list-intro h2 { font-size: 20px; }
  .wt-list-intro p { font-size: 15px; }
  .wt-count { padding: 3px 6px; font-size: 12px; }
  .wt-workspace .wt-table { width: calc(100% - 40px); margin: 0 20px; }
  .wt-number-col { width: 22px; }
  .wt-tools-col { width: 38px; }
  .wt-workspace .wt-table thead th { padding: 10px 4px 10px 0; font-size: 12px; }
  .wt-workspace .wt-table tbody th, .wt-workspace .wt-table td { padding: 12px 8px 12px 0; font-size: 16px; }
  .wt-workspace .wt-table tbody th { font-size: 12px; }
  .wt-row-tools { flex-direction: column; gap: 2px; }
  .wt-row-tools button { width: 36px; height: 36px; }
  .wt-help { padding: 20px; font-size: 15px; }
  .wt-state { padding: 24px 20px; }
  .wt-state > h2 { font-size: 25px; }
  .wt-settings-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 22px; }
  .wt-practice-meta { flex-wrap: wrap; gap: 6px; }
  .wt-practice #vraagtext { margin: 28px 0; }
  .wt-speech-notice { margin: 0 20px 20px !important; }
  .wt-keyboard-hint { display: none; }
  .ex-quiz-surface { padding: 20px; }
  .ex-quiz-modes { flex-wrap: wrap; }
  .ex-quiz-main .ex-heading h1 { font-size: 28px; }
  .ls-quiz-page .ls-question legend { font-size: 17px; }
  .ls-quiz-page .ls-question input[type=text] { font-size: 18px; }
  .ex-actions { gap: 12px 20px; }
  .ex-quiz-surface .ex-actions .ls-button { flex-basis: 100%; }
  .ex-quiz-surface .ex-text-button { font-size: 15px; }
}

/* The word trainer uses the same controls inside a course and on its own. */
.wt-workspace { --ls-section-color:#8ad0dc; --ls-tint:#edf8fa; }
.wt-workspace .ls-button,.wt-workspace .ls-secondary { display:inline-block; border:1px solid #8ad0dc; border-radius:8px; padding:10px 18px; font:inherit; font-weight:600; text-align:center; cursor:pointer; }
.wt-workspace .ls-button { background:#8ad0dc; color:#263c3a; }
.wt-workspace .ls-secondary { background:#fff; color:#216c7c; border-color:#216c7c; }
.wt-workspace button:disabled { opacity:.55; cursor:default; }
.wt-workspace .ls-eyebrow { font-size:13px; text-transform:uppercase; letter-spacing:.08em; color:#526864; }
