/* Keep each exercise centred across the available laptop width. */
body.reference-focus main.shell{width:100%!important;max-width:1180px!important;margin-inline:auto!important;padding:20px 28px!important}
body.reference-focus #screen-reference{width:100%!important;max-width:none!important;margin-inline:auto!important}
body.reference-focus #screen-reference .learn-body{width:100%;display:block!important}
body.reference-focus #screen-reference .reference-quiz-card{width:100%;max-width:1000px;margin:24px auto;padding:32px 40px}
body.reference-focus #screen-reference .reference-quiz-card h1{font-size:clamp(25px,2.5vw,36px)}
.reference-page-tools{display:flex;justify-content:flex-start;position:sticky;top:74px;z-index:5;background:var(--paper,#f6f8fb);padding:8px 0;margin-bottom:12px;border-bottom:1px solid #dbe3ee}
.reference-page-tools .translation-visibility-button{margin:0}
body.reference-focus .reference-page-tools{display:none}
#screen-reference .reference-rule-copy{padding-inline-start:24px;margin:12px 0 22px;line-height:2}
#screen-reference .reference-rule-copy li{margin:8px 0;unicode-bidi:plaintext}
#screen-reference .reference-rule-card h4{font-size:15px;color:#255897;margin:22px 0 8px}
.exercise-next-actions{display:flex;flex-wrap:wrap;gap:12px;direction:rtl;margin-top:24px;justify-content:flex-start}
.reference-revisit{border:1px solid #d8e3ef;border-radius:12px;padding:18px;margin-top:20px;background:#f7faff}
.reference-revisit p{white-space:pre-line;line-height:2}
#screen-reference .learn-verb-output{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
#screen-reference .learn-verb-output>h2,#screen-reference .learn-verb-output>p,#screen-reference .learn-verb-output>.translation-target{grid-column:1/-1;margin:0}
#screen-reference .learn-verb-tense{margin:0;padding:22px;min-width:0;background:white;border:1px solid #dbe3ee;border-radius:12px}
#screen-reference .learn-verb-tense h3{font-size:17px;line-height:1.8;margin-top:0}
#screen-reference .learn-verb-tense table{width:100%;table-layout:fixed}
#screen-reference .learn-verb-tense td,#screen-reference .learn-verb-tense th{padding:12px 6px;overflow-wrap:anywhere;vertical-align:top}
#screen-reference .learn-verb-form{margin-bottom:22px}
#screen-reference .learn-reader{min-width:0;max-width:none}
#screen-reference:has(.a1-exam-practice) .learn-lessons{grid-template-columns:190px minmax(0,1fr)}
.a1-exam-practice{line-height:1.8}.a1-exam-practice h2{margin:0 0 14px}
.a1-exam-overview,.a1-exam-question{padding:24px;border:1px solid #d8e3ef;border-radius:12px;background:white;margin:18px 0}
.a1-exam-tabs,.a1-exam-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.a1-exam-tabs button[aria-pressed=true]{background:#2462ee!important;color:white!important}
.a1-exam-stimulus{white-space:pre-line;font-size:18px;padding:18px;background:#f1f5fb;border-radius:10px;line-height:1.9}
.a1-exam-question fieldset{border:0;padding:0;margin:22px 0}.a1-exam-question label{display:flex;align-items:center;gap:12px;border:1px solid #cfdbec;border-radius:9px;margin:10px 0;padding:14px;cursor:pointer}
.a1-exam-question label:has(input:checked){background:#edf4ff;border-color:#2462ee}.a1-exam-question input{flex:none;width:19px;height:19px;accent-color:#2462ee}
.a1-exam-question [lang=de]{text-align:left;unicode-bidi:isolate}.a1-exam-feedback{padding:16px;background:#edf4ff;border-radius:10px;white-space:pre-line}.a1-exam-feedback:empty{display:none}
.a1-exam-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.a1-exam-form label{display:grid}.a1-exam-form input{width:100%;padding:12px;border:1px solid #cbd9e8;border-radius:8px}
.a1-exam-draft{width:100%;min-height:210px;font:inherit;line-height:1.9;padding:18px;margin:16px 0;border:1px solid #cbd9e8;border-radius:10px}
.production-assistant{margin-top:24px;padding:22px;border:1px solid #cbd9e8;border-radius:12px;background:#f6f9fe;color:#202b38;line-height:1.85}
.production-assistant h3{margin:0 0 8px;font-size:20px;color:#202b38}.production-assistant p{margin:10px 0}
.assistant-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.assistant-results:empty{display:none}.assistant-results{padding-top:12px;border-top:1px solid #dbe3ee}
.assistant-model-text,.assistant-corrected-text{font:inherit;font-size:18px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0;padding:18px;background:#fff;border:1px solid #dbe3ee;border-radius:10px}
.assistant-score{font-size:30px;display:block;color:#2462ee}.assistant-rubric{width:100%;border-collapse:collapse;margin:16px 0}.assistant-rubric th,.assistant-rubric td{padding:10px;border-bottom:1px solid #dbe3ee;text-align:start}
.assistant-feedback-list{padding-inline-start:24px}.assistant-feedback-list li{margin:10px 0}.assistant-model-help{font-size:14px;color:#526780}
body.masari-focus #screen-learn .masari-question{width:100%;max-width:1000px;margin:24px auto;padding:32px}
.masari-test-instructions{max-width:1000px;margin:16px auto;padding:18px 22px;background:#edf4ff;border-radius:10px;line-height:1.9;color:#25436b}
.masari-unit-test{flex-wrap:wrap;gap:12px}.masari-unit-test .masari-button:disabled{display:none}.masari-preview-note{margin:0;font-size:14px;color:#526780}
@media(max-width:950px){#screen-reference .learn-verb-output{grid-template-columns:1fr}#screen-reference:has(.a1-exam-practice) .learn-lessons{grid-template-columns:1fr}.reference-page-tools{top:64px}}
@media(max-width:720px){body.reference-focus main.shell{padding:12px!important}body.reference-focus #screen-reference .reference-quiz-card{padding:22px 18px;margin:16px auto}.reference-page-tools{position:static}.a1-exam-form{grid-template-columns:1fr}.a1-exam-overview,.a1-exam-question,.production-assistant{padding:18px}.assistant-actions{display:grid}.assistant-rubric{font-size:14px}body.masari-focus #screen-learn .masari-question{padding:22px 16px}}
