/* Lehrzeug Reader – werkzeugeigenes Design. Gemeinsames Design: /kern/kern.css */
.lz-sec-title .i { width: 18px; height: 18px; color: var(--lila-ink, var(--teal-ink)); }
.rd-quick { display: grid; gap: 10px; margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1.5px dashed var(--line-2); }
.rd-quick p { margin: 0; font-size: 14px; color: var(--ink-2); }
.rd-quick .btn-row { margin: 0; }
.rd-help { margin: 0 0 8px; font-size: 13px; color: var(--ink-3); }
.rd-seg { margin: 0 0 10px; }
.rd-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; }
.rd-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; align-items: end; }
.rd-samplebtn .btn { width: 100%; justify-content: center; }
.rd-ta { font-size: 14px; line-height: 1.5; }
.rd-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 0 10px; }
.rd-topics label { position: relative; }
.rd-topics input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.rd-topics span { display: flex; align-items: center; min-height: 40px; padding: 7px 11px; border-radius: 11px; border: 1.5px solid var(--line-2); background: var(--surface-2); font-size: 13.5px; font-weight: 600; line-height: 1.25; cursor: pointer; }
.rd-topics input:checked + span { border-color: var(--lila, #7C5CD6); background: var(--lila-soft, #ECE6FB); box-shadow: inset 0 0 0 1px var(--lila, #7C5CD6); }
.rd-topics input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 420px) { .rd-topics, .rd-three { grid-template-columns: minmax(0, 1fr); } }
.rd-bau { display: grid; gap: 7px; }
.rd-bau .check label { font-size: 14px; }
.rd-d { color: var(--ink-3); font-size: 12.5px; }
.rd-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rd-bar .check { font-size: 13.5px; }
.rd-hint { font-size: 13px; color: var(--ink-3); }
.rd-wrap { display: grid; gap: 16px; }
.rd-empty { margin: 30px 0; text-align: center; color: var(--ink-3); }

/* ================================================================ Blätter */
.rd-page { padding: 13mm 14mm 17mm; font-family: var(--font); color: #071B4A; background: #fff; font-size: 10pt; line-height: 1.4; }
.rd-prevsheet { overflow: hidden; }
.rd-prevsheet > .rd-page { width: 210mm; min-height: 296.5mm; }
.rd-page :where(h1, h2, h3, p, ol, ul) { margin: 0; }
.rd-measure { position: absolute; left: -9999px; top: 0; width: 210mm; visibility: hidden; }
.rd-measure .rd-page { padding: 13mm 14mm 17mm; }
.rd-head { margin: 0 0 4mm; padding-bottom: 1.6mm; border-bottom: .6mm solid #071B4A; }
.rd-head h1 { font-size: 17pt; line-height: 1.15; }
.rd-head h1 small { margin-left: 2mm; padding: .3mm 2mm; border: .35mm solid #B23A2E; border-radius: 1mm; color: #B23A2E; font-size: 8pt; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: .8mm; }
.rd-sub { margin-top: .8mm !important; font-size: 10pt; font-weight: 600; color: #3D4B66; }
.rd-small { margin: 0 0 1.8mm !important; font-size: 8.8pt; color: #3D4B66; }
.rd-hint { font-size: 9.5pt; color: #5B6372; }
.rd-ln { display: block; height: 7mm; border-bottom: .3mm solid #9AA6B8; }
.rd-box { margin: 0 0 4mm; }
.rd-box h2, .rd-merk h2 { display: flex; align-items: center; gap: 1.6mm; margin: 0 0 1.6mm; font-size: 11pt; }
.rd-box h2 .i, .rd-merk h2 .i, .rd-help h2 .i { width: 4.6mm; height: 4.6mm; color: #5B3EA6; }
.rd-ol { padding-left: 5mm; display: grid; gap: .8mm; }
.rd-2c { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 6mm; }
.rd-tab { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0 0 3mm; }
.rd-tab th { font-size: 8.2pt; text-align: left; padding: 1.2mm 1.6mm; border: .25mm solid #9AA6B8; background: #EEF2F6; color: #24324F; line-height: 1.2; }
.rd-tab td { border: .25mm solid #9AA6B8; padding: 1mm 1.6mm; height: 8.4mm; font-size: 9.6pt; vertical-align: middle; }
.rd-tab .c-n { width: 9mm; text-align: center; font-weight: 700; }
.rd-tip { display: flex; gap: 2.5mm; align-items: flex-start; margin-top: 3mm; padding: 2.5mm 3.5mm; border-left: 1.2mm solid #5B3EA6; }
.rd-tip .i { flex: none; width: 4.6mm; height: 4.6mm; color: #5B3EA6; }
.rd-tip p { font-size: 9pt; }

/* Deckblatt */
.rd-cover { position: relative; margin: 0 0 6mm; padding: 9mm 9mm 8mm; border: .7mm solid #071B4A; border-radius: 5mm; overflow: hidden; }
.rd-cv-top { display: flex; justify-content: space-between; align-items: center; gap: 4mm; margin-bottom: 6mm; }
.rd-kick { font-size: 9.5pt; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #5B3EA6; }
.rd-lek { padding: 1mm 3.5mm; border: .5mm solid #071B4A; border-radius: 99px; font-size: 10pt; }
.rd-lek b { font-size: 13pt; }
.rd-cover h1 { font-size: 30pt; line-height: 1.05; overflow-wrap: anywhere; }
.rd-cv-sub { margin-top: 2mm !important; font-size: 12pt; font-weight: 600; color: #3D4B66; }
.rd-cv-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 6mm; }
.rd-cv-main > div { min-width: 0; flex: 1; }
.rd-cv-art { flex: none; width: 52mm; height: auto; }
.rd-meta { display: flex; flex-wrap: wrap; gap: 3mm 6mm; margin: 0 0 6mm; }
.rd-f { display: flex; align-items: flex-end; gap: 2mm; flex: 2 1 60mm; }
.rd-f.is-s { flex: 1 1 30mm; }
.rd-f small { font-size: 8.4pt; font-weight: 700; color: #3D4B66; }
.rd-f i, .rd-f b { flex: 1; height: 6.5mm; border-bottom: .3mm solid #5B6372; }
.rd-f b { font-size: 11pt; }
.rd-deck2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 7mm; }
.rd-toc { list-style: none; padding: 0; display: grid; gap: 1.6mm; counter-reset: toc; }
.rd-toc li { display: flex; align-items: flex-end; gap: 1.5mm; font-size: 10pt; counter-increment: toc; }
.rd-toc li::before { content: counter(toc) "."; width: 5mm; font-weight: 700; color: #5B3EA6; }
.rd-toc li i { flex: 1; border-bottom: .3mm dotted #8E9AB0; height: 3.4mm; }
.rd-toc li b { min-width: 5mm; text-align: right; }
.rd-toc .rd-cbx { flex: none; width: 3.6mm; height: 3.6mm; margin-left: 2mm; border: .35mm solid #071B4A; border-radius: .6mm; }
.rd-zl { padding-left: 4.5mm; display: grid; gap: 1.4mm; font-size: 9.6pt; }
.rd-zl li::marker { color: #5B3EA6; }
.rd-plan { margin-top: 3mm; padding: 3mm 4mm; border: .45mm solid #071B4A; border-radius: 3mm; }
.rd-plan-l { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3mm; }
.rd-plan-l li { display: grid; gap: 1mm; align-content: start; font-size: 9pt; line-height: 1.3; }
.rd-plan-l b { display: grid; place-items: center; width: 6.5mm; height: 6.5mm; border-radius: 50%; border: .5mm solid #5B3EA6; color: #5B3EA6; font-size: 10pt; }

/* Lektionstext */
.rd-textgrid { display: grid; grid-template-columns: minmax(0, 1fr) 52mm; gap: 6mm; margin: 0 0 4mm; align-items: start; }
.rd-textgrid.is-solo { grid-template-columns: minmax(0, 1fr); }
.rd-text { font-size: 11.5pt; line-height: 1.75; }
.rd-text.is-alt { font-family: Georgia, "Times New Roman", serif; font-size: 12.5pt; }
.rd-text.is-gr { font-family: "Gentium Plus", "GFS Didot", "Palatino Linotype", Georgia, "Times New Roman", serif; font-size: 13pt; }
.rd-tl { display: grid; grid-template-columns: 9mm minmax(0, 1fr); align-items: baseline; }
.rd-tl.is-empty { height: 3mm; }
.rd-no { font-family: var(--font); font-size: 7.6pt; color: #8E9AB0; text-align: right; padding-right: 3mm; }
.rd-help { padding: 2.5mm 3mm; border-left: .8mm solid #5B3EA6; font-size: 8.8pt; line-height: 1.3; }
.rd-help h2 { display: flex; align-items: center; gap: 1.4mm; margin: 0 0 1.5mm; font-size: 9.5pt; }
.rd-help ul { list-style: none; padding: 0; display: grid; gap: 1.1mm; }
.rd-help b { display: block; font-weight: 700; }

/* Merkkasten */
.rd-merk { margin: 0 0 4mm; padding: 3.5mm 4.5mm; border: .6mm solid #5B3EA6; border-radius: 3mm; }
.rd-merk p { font-size: 11pt; line-height: 1.55; }
.rd-key { color: #5B3EA6; }
.rd-gap { display: inline-block; min-width: 14mm; border-bottom: .35mm solid #071B4A; line-height: 1.1; }
.rd-sammel .c-z { width: 16mm; }
.rd-par th.c-h { width: 24mm; }
.rd-par td { font-size: 10pt; }
.rd-par td.is-gap { background: #fff; }

/* Formen */
.rd-formen .c-f { width: 40mm; }
.rd-formen td { height: 9.6mm; }

/* Wortarten */
.rd-watree { margin: 0 0 4mm; }
.rd-waroot { width: max-content; margin: 0 auto 3mm; padding: 1.6mm 6mm; border: .6mm solid #071B4A; border-radius: 99px; font-size: 12pt; font-weight: 800; }
.rd-wabr { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 4mm; }
.rd-wacol { padding: 2.5mm 3mm 3mm; border: .45mm solid #071B4A; border-radius: 3mm; }
.rd-wacol h3 { margin: 0 0 2mm; font-size: 11pt; }
.rd-wacol h3 small { font-size: 8.4pt; font-weight: 600; color: #3D4B66; }
.rd-wacol.is-flex { border-color: #16A06A; } .rd-wacol.is-flex h3 { color: #0E7A50; }
.rd-wacol.is-fix { border-color: #8E9AB0; } .rd-wacol.is-fix h3 { color: #3D4B66; }
.rd-wasub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5mm; margin-bottom: 1.5mm; }
.rd-wacol.is-fix .rd-wasub { grid-template-columns: minmax(0, 1fr); }
.rd-wasub > span { grid-column: 1 / -1; font-size: 7.8pt; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #5B6372; }
.rd-wa { display: grid; gap: .2mm; padding: 1.2mm 2.2mm; border: .3mm solid #9AA6B8; border-left: 1.2mm solid #16A06A; border-radius: 1.6mm; }
.rd-wacol.is-fix .rd-wa { border-left-color: #8E9AB0; }
.rd-wa.wa-verb { border-left-color: #E5533D; }
.rd-wa b { font-size: 9.6pt; }
.rd-wa b em { font-style: normal; font-size: 8pt; color: #5B3EA6; }
.rd-wa small { font-size: 8.6pt; color: #24324F; }
.rd-wa.is-none { border-style: dashed; border-left-style: dashed; color: #8E9AB0; }
.rd-wa.is-none small { color: #8E9AB0; font-style: italic; }
.rd-wat td { height: 6.8mm; padding-top: .6mm; padding-bottom: .6mm; font-size: 9.2pt; } .rd-wat .c-v { width: 21mm; }

/* Satzglieder */
.rd-sg5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2mm; margin: 0 0 4mm; }
.rd-sgc { display: grid; gap: .8mm; align-content: start; padding: 2mm 2.4mm; border: .4mm solid; border-top-width: 1.6mm; border-radius: 2mm; font-size: 8.2pt; line-height: 1.25; }
.rd-sgc b { font-size: 10.5pt; }
.rd-sgc em { font-style: normal; font-weight: 700; }
.rd-sgc small { font-size: 7.8pt; color: #24324F; }
.sg-P { border-color: #E5533D; } .sg-P b { color: #B5302A; }
.sg-S { border-color: #2E7CF6; } .sg-S b { color: #1A4FA8; }
.sg-O { border-color: #16A06A; } .sg-O b { color: #0E7A50; }
.sg-A { border-color: #E8890C; } .sg-A b { color: #A35A00; }
.sg-T { border-color: #7C5CD6; } .sg-T b { color: #5B3EA6; }
.rd-satz { margin: 0 0 1mm !important; font-size: 12pt; font-weight: 600; }
.rd-lok { display: block; width: 100%; height: auto; margin: 1mm 0 0; }
.rd-sonder th { width: 36mm; vertical-align: top; } .rd-sonder td { height: auto; font-size: 8.8pt; vertical-align: top; } .rd-sonder small { color: #3D4B66; }
.rd-steps { padding: 2mm 3mm; border-radius: 2mm; background: #F3F6FA; }
.rd-zug { margin: 0 0 4mm; padding: 0 0 3mm; border-bottom: .3mm dashed #9AA6B8; }
.rd-zug:last-child { border-bottom: 0; }
.rd-zug .rd-satz { display: flex; align-items: baseline; gap: 2.5mm; }
.rd-zug .rd-satz span { flex: none; display: inline-grid; place-items: center; width: 6mm; height: 6mm; border-radius: 50%; background: #071B4A; color: #fff; font-size: 9pt; }
.rd-wline { flex: 1; display: block; height: 6mm; border-bottom: .3mm solid #5B6372; }
.rd-lok.is-sm { max-height: 60mm; }
.rd-zug { margin-bottom: 3mm; padding-bottom: 2mm; }
.rd-ueb { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 2mm; }
.rd-ueb small { font-size: 8pt; font-weight: 700; color: #3D4B66; }

/* Wortfeld */
.rd-mind { display: block; width: 100%; height: auto; }
.rd-wf td { height: 11mm; }
.rd-ex { margin-top: 1mm !important; font-style: italic; }

/* Vokabeltest */
.rd-vt td { height: 8.6mm; } .rd-vt td:nth-child(2) { width: 46%; }
.rd-score { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 2mm; margin-top: 2mm; font-size: 9.6pt; }
.rd-score span { display: inline-block; width: 12mm; height: 6mm; border-bottom: .3mm solid #5B6372; }
.rd-score span.is-w { flex: 1; min-width: 50mm; }

/* Fehlerprotokoll und Selbsteinschätzung */
.rd-fp td { height: 12mm; } .rd-fp .c-ok { width: 18mm; text-align: center; }
.rd-fp td.c-ok i, .rd-ck td.c-f i { display: inline-block; width: 4mm; height: 4mm; border: .35mm solid #071B4A; border-radius: .7mm; }
.rd-ck th.c-f { width: 17mm; text-align: center; font-weight: 600; }
.rd-ck th.c-f small { display: block; font-size: 7pt; }
.rd-ck td.c-f { text-align: center; }
.rd-ck .c-w { width: 42mm; }
.rd-ck td { height: 10.5mm; font-size: 9.4pt; }
.rd-face { width: 6mm; height: 6mm; display: block; margin: 0 auto .5mm; }
.rd-sig { display: flex; gap: 8mm; align-items: flex-end; margin-top: 5mm; }
.rd-sig > span:first-child { flex: 1; display: grid; gap: .8mm; }
.rd-sig i { display: block; height: 9mm; border-bottom: .3mm solid #071B4A; }
.rd-sig small { font-size: 7.8pt; color: #3D4B66; }
.rd-stamp { display: grid; place-items: end center; width: 34mm; height: 26mm; padding-bottom: 1.5mm; border: .4mm dashed #8E9AB0; border-radius: 50%; }

/* Lösungen */
.rd-p-lh { min-height: 0; }
.rd-sol .rd-par td { color: #0E7A50; }
.rd-sol .rd-formen td, .rd-sol .rd-vt td, .rd-sol .rd-wat td { color: #0E7A50; }
.rd-sol .rd-formen td b, .rd-sol .rd-vt td b, .rd-sol .rd-wat td b { color: #071B4A; }

/* A5: etwas enger */
.lz-is-a5.rd-page { font-size: 9.6pt; }

/* Schriftgröße des Lektionstexts (aus der längsten Zeile berechnet) */
.rd-text.fz-18 { font-size: 9pt; }
.rd-text.fz-19 { font-size: 9.5pt; }
.rd-text.fz-20 { font-size: 10pt; }
.rd-text.fz-21 { font-size: 10.5pt; }
.rd-text.fz-22 { font-size: 11pt; }
.rd-text.fz-23 { font-size: 11.5pt; }
.rd-text.fz-24 { font-size: 12pt; }
.rd-text.fz-25 { font-size: 12.5pt; }
.rd-text.fz-26 { font-size: 13pt; }
