/* 01 — Designsystem; ausschließlich Gruppenheft, Vorschauen und Archiv. */
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar {
  --gg-ink:#223342; --gg-muted:#586775; --gg-paper:#fff; --gg-soft:#f5f7f9;
  --gg-line:#e0e5e9; --gg-edge:#b8c5d0; --gg-accent:#8f263d; --gg-accent-soft:#f6edf0;
  --gg-petrol:#176b73; --gg-blue:#315c92; --gg-violet:#72528f; --gg-ochre:#976017; --gg-green:#39724f;
  --gg-focus:#315c92; --gg-radius:12px;
  --bdtp-learning-ink:var(--gg-ink); --bdtp-learning-muted:var(--gg-muted); --bdtp-learning-line:var(--gg-line);
  --bdtp-learning-edge:var(--gg-edge); --bdtp-learning-paper:var(--gg-paper); --bdtp-learning-wash:var(--gg-soft);
  --bdtp-section-accent:var(--gg-accent);
  container:bdtpg-grammar / inline-size;
  color:var(--gg-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:16px;line-height:1.65;font-weight:400;min-width:0;overflow-wrap:anywhere;
}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar *, :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar *::before, :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar *::after{box-sizing:border-box}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar [hidden]{display:none!important}
/* 02 — Lektionskopf und offene Inhaltshierarchie */
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__title-row{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:0;break-inside:avoid}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__badge{display:inline-flex;flex:0 0 36px;width:36px;height:36px;align-items:center;justify-content:center;background:var(--gg-accent);color:white;border-radius:6px;box-shadow:none;font-size:21px;line-height:1;font-weight:700}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__title-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__title{font-size:22px;font-weight:700;line-height:1.3;letter-spacing:-.025em;color:var(--gg-ink);margin:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__title-translations{display:flex;flex-wrap:wrap;gap:2px 6px;font-size:12px;font-weight:400;line-height:1.45;color:var(--gg-muted)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__body{display:grid;gap:32px;min-width:0;margin:0;padding:20px 0 0;border:0;background:transparent;box-shadow:none;font:inherit;color:var(--gg-ink)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-module{min-width:0;margin:0;padding:0;border:0;background:transparent;border-radius:0;box-shadow:none;overflow:visible;font:inherit;color:var(--gg-ink)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-module+.bdtp-gx-module{margin-top:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-module-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin:0 0 12px;padding:0;border:0;background:none;break-after:avoid}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-module-head h3{margin:0;color:var(--gg-ink);font-size:18px;line-height:1.4;font-weight:650;letter-spacing:-.015em}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-module h4{font-size:16px;line-height:1.4;font-weight:600;color:var(--gg-ink);margin:0 0 8px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-module p{font-size:16px;line-height:1.65;margin:8px 0;color:var(--gg-muted);max-width:78ch}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-intro{margin:0 0 16px!important}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-summary{margin:20px 0 0;padding:12px 0 0 12px;border:0;border-top:1px solid var(--gg-line);border-left:2px solid var(--gg-edge);border-radius:0;background:none;color:var(--gg-muted);font-size:15px;line-height:1.65}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-example{margin:12px 0;padding:12px 16px;border:0;border-radius:8px;background:var(--gg-soft);color:var(--gg-ink);font-size:17px;line-height:1.65;font-style:normal;white-space:normal}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-prompt{font-weight:600;color:var(--gg-ink)}
/* 03 — Ein konsistentes Bedienvokabular */
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-module button,.bdtp-gx-tabs button,.bdtp-workbook-grammar__tab){appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;max-width:100%;margin:0;padding:8px 12px;border:1px solid var(--gg-edge);border-radius:8px;background:var(--gg-paper);color:var(--gg-ink);box-shadow:none;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:center;cursor:pointer;transition:background-color .15s,border-color .15s}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-module button,.bdtp-gx-tabs button,.bdtp-workbook-grammar__tab):hover:not(:disabled):where(:not([aria-pressed="true"],.is-active,[aria-selected="true"])){background:var(--gg-soft);border-color:var(--gg-muted);color:var(--gg-ink)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-module button,.bdtp-gx-tabs button,.bdtp-workbook-grammar__tab):is([aria-pressed="true"],.is-active,[aria-selected="true"]){background:var(--gg-accent-soft);border-color:var(--gg-accent);color:var(--gg-accent);box-shadow:none;font-weight:650}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar button:disabled{opacity:.48;cursor:default}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :focus-visible{outline:3px solid var(--gg-focus);outline-offset:2px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-lesson-tools{display:flex;justify-content:flex-end;align-items:center;margin:0;padding:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-tabs,.bdtp-workbook-grammar__tabs){display:inline-flex;align-items:center;flex-wrap:wrap;gap:3px;max-width:100%;margin:0;padding:3px;border:0;border-radius:10px;background:#edf1f4;box-shadow:none;overflow:visible}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-tabs button,.bdtp-workbook-grammar__tab){min-height:44px;padding:6px 12px;background:transparent;border:1px solid transparent;color:var(--gg-muted);font-size:14px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-tabs button,.bdtp-workbook-grammar__tab):is(.is-active,[aria-pressed="true"],[aria-selected="true"]){background:white;border-color:var(--gg-line);color:var(--gg-accent);box-shadow:0 1px 2px #22334212}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:not(:has(.bdtp-gx-module))>.bdtp-gx-lesson-tools{display:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:has(.bdtp-gx-module) :is(.bdtp-gx-module-head .bdtp-gx-tabs,.bdtp-workbook-grammar__tabs){display:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtpg-gx-controls,.bdtp-gx-options){display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 16px;min-width:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-panel{min-width:0;margin:12px 0 0;padding:12px 0 0;border:0;border-top:1px solid var(--gg-line);background:none;overflow-wrap:anywhere}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-navigation{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:20px 0 0;padding:12px 0 0;border-top:1px solid var(--gg-line);color:var(--gg-muted);font-size:14px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-navigation output,[data-bdtpg-gx-count]){font-variant-numeric:tabular-nums;color:var(--gg-muted);font-size:14px}
/* 04 — Abschnittsnavigation: Inhaltsverzeichnis, keine Fortschrittsbewertung */
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;padding:8px;background:var(--gg-soft);border-radius:var(--gg-radius);counter-reset:gg-section;margin:0 0 28px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-controls>button[data-bdtpg-gx-action="select"]{grid-column:1/-1;justify-content:flex-start;text-align:left;gap:10px;border:1px solid transparent;background:transparent;padding:8px 10px;font-weight:500;counter-increment:gg-section}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-controls>button[data-bdtpg-gx-action="select"]::before{content:counter(gg-section);display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:50%;background:#e5ebef;color:var(--gg-muted);font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-controls>button[data-bdtpg-gx-action="select"]::after{content:"";width:7px;height:7px;flex:0 0 7px;margin-left:auto;border-right:1.5px solid currentColor;border-top:1.5px solid currentColor;transform:rotate(45deg)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-controls>button[data-bdtpg-gx-action="select"][aria-pressed="true"]{background:var(--gg-accent-soft);border-color:#e6ccd5;color:var(--gg-accent);font-weight:650}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-controls>button[data-bdtpg-gx-action="select"][aria-pressed="true"]::before{background:var(--gg-accent);color:white}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-controls>button[data-bdtpg-gx-action="select"][aria-pressed="true"]::after{transform:rotate(135deg)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-controls>button:is([data-bdtpg-gx-action="show-all"],[data-bdtpg-gx-action="close-all"]){margin-top:4px;background:transparent;border-color:transparent;color:var(--gg-muted);font-size:13px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-panel{display:grid;gap:24px;margin:0;padding:0;border:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-panel:not([hidden])~.bdtpg-gx-panel:not([hidden]){margin-top:40px;padding-top:24px;border-top:1px solid var(--gg-line)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-panel>h3{font-size:21px;font-weight:650;line-height:1.35;letter-spacing:-.02em;margin:0;color:var(--gg-ink);break-after:avoid}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt .bdtpg-gx-goal{font-size:15px;line-height:1.6;margin:-16px 0 4px;padding:0;border:0;color:var(--gg-muted)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-panel>.bdtp-gx-module+.bdtp-gx-module{margin-top:8px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-controls>button:is([data-bdtpg-gx-action="show-all"],[data-bdtpg-gx-action="close-all"])[aria-pressed="true"]{color:var(--gg-accent);background:white;border-color:var(--gg-line)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-controls>button[data-bdtpg-gx-action="select"]:hover:not([aria-pressed="true"]){background:#e9eef2;border-color:var(--gg-line)}
/* 05 — Klassische Marker: Regel, Muster, Tabelle, Beispiel, Satzbau, Kontrast */
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__language-block{min-width:0;overflow:visible;border:0;border-radius:var(--gg-radius);background:var(--gg-soft);padding:16px;box-shadow:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__language-block--pattern{border-left:3px solid var(--gg-accent);border-radius:0 10px 10px 0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__language-block>.bdtp-workbook-grammar__tabs{margin-bottom:10px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__language-panel{display:none;min-height:0;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--gg-ink);font-size:16px;font-weight:400;line-height:1.65;overflow-wrap:anywhere;text-align:left}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__language-panel.is-active{display:block}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__pattern{font-weight:500;font-size:17px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-rule-label{display:block;font-size:13px;color:var(--gg-muted);margin:0 0 8px;font-weight:650}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__language-panel::before{display:block;font-size:13px;line-height:1.45;font-weight:650;color:var(--gg-muted);margin:0 0 8px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__language-block--rule .bdtp-workbook-grammar__language-panel::before{content:"Regel"}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__language-block--pattern .bdtp-workbook-grammar__language-panel::before{content:"Muster"}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__language-block--rule .bdtp-workbook-grammar__language-panel[data-bdtp-grammar-panel="en"]::before{content:"Rule"}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__language-block--rule .bdtp-workbook-grammar__language-panel[data-bdtp-grammar-panel="hu"]::before{content:"Szabály"}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__language-block--pattern .bdtp-workbook-grammar__language-panel[data-bdtp-grammar-panel="en"]::before{content:"Pattern"}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__language-block--pattern .bdtp-workbook-grammar__language-panel[data-bdtp-grammar-panel="hu"]::before{content:"Minta"}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__language-panel:has(.bdtpg-gx-rule-label)::before{content:none!important}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-workbook-grammar__table-wrap,.bdtp-gx-table-wrap){min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;border:0;border-radius:0;background:none;box-shadow:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-workbook-grammar__table,.bdtp-gx-table){display:table;width:100%;max-width:none;margin:0;border-collapse:collapse;table-layout:auto;border:0;background:white;color:var(--gg-ink);font-size:15px;line-height:1.5}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__table-caption{caption-side:top;text-align:left;padding:0 0 12px;font-size:16px;font-weight:600;color:var(--gg-ink);background:none;border:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-workbook-grammar__table,.bdtp-gx-table) :is(th,td){min-width:56px;padding:12px 10px;border:0;border-bottom:1px solid var(--gg-line);vertical-align:top;text-align:left;background:white;color:var(--gg-ink);overflow-wrap:anywhere}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-workbook-grammar__table,.bdtp-gx-table) th{background:var(--gg-soft);font-size:13px;font-weight:650}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__sentence-table{min-width:0;table-layout:fixed}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__sentence-table :is(th,td){text-align:center;min-width:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__sentence-table tr>:is(:nth-child(2),:nth-child(4)){background:#f7eff2;color:var(--gg-accent);font-weight:600}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__sentence-table thead tr>:is(:nth-child(2),:nth-child(4)){border-top:2px solid var(--gg-accent)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__answer-cell{position:relative;min-height:44px;white-space:pre-wrap}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-workbook-grammar__answer-cell,.bdtp-workbook-grammar__example-answer)[data-bdtp-grammar-revealed="0"]{background:#f0f3f6;cursor:pointer;color:var(--gg-muted)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-workbook-grammar__answer-cell,.bdtp-workbook-grammar__example-answer)[data-bdtp-grammar-revealed="0"]::before{content:"…";font-weight:700;color:var(--gg-muted);display:inline}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__example-answer[data-bdtp-grammar-revealed="0"]::before{content:"＋ Lösung aufdecken";font-size:14px;margin-right:6px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar[data-bdtp-gx-language="en"] .bdtp-workbook-grammar__example-answer[data-bdtp-grammar-revealed="0"]::before{content:"＋ Reveal answer"}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar[data-bdtp-gx-language="hu"] .bdtp-workbook-grammar__example-answer[data-bdtp-grammar-revealed="0"]::before{content:"＋ Megoldás megjelenítése"}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-workbook-grammar__answer-cell,.bdtp-workbook-grammar__example-answer)[data-bdtp-grammar-revealed="0"]:hover{background:#e7edf2;box-shadow:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-workbook-grammar__answer-cell,.bdtp-workbook-grammar__example-answer).is-typing::before{content:none!important}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__answer-cell.is-empty::before{content:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__example{border:0;background:none;box-shadow:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__example-row{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:baseline;gap:12px;padding:12px 0;border:0;border-bottom:1px solid var(--gg-line)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__example-row:first-child{border-top:1px solid var(--gg-line)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-workbook-grammar__example-label,.bdtp-workbook-grammar__contrast-label){display:block;font-size:13px;line-height:1.45;font-weight:650;color:var(--gg-muted);text-transform:none;letter-spacing:0;margin:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-workbook-grammar__example-text,.bdtp-workbook-grammar__example-answer){min-width:0;color:var(--gg-ink);font-size:17px;line-height:1.65;font-weight:400}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__example-answer{display:block;min-height:44px;padding:8px 12px;border:1px solid var(--gg-line);border-radius:8px;background:var(--gg-soft);white-space:pre-wrap}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__example-answer:is(.is-revealed,.is-typing){min-height:0;padding:0;border-color:transparent;background:none;color:var(--gg-ink)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__contrast{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__contrast-side{min-width:0;padding:4px 16px;border:0;border-radius:0;background:none;box-shadow:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__contrast-side:first-child{padding-left:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__contrast-side+ .bdtp-workbook-grammar__contrast-side{border-left:1px solid var(--gg-line)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__contrast-text{font-size:16px;line-height:1.65;margin-top:8px;color:var(--gg-ink)}
/* 06 — Ursprüngliche Module */
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-step{min-width:0;margin:0;padding:0;border:0;background:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-step+.bdtp-gx-step{margin-top:20px;padding-top:20px;border-top:1px solid var(--gg-line)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar [data-bdtp-gx-module="dynamische-satztransformation"] .bdtp-gx-step:not([hidden])~.bdtp-gx-step:not([hidden])::before{content:"↓";display:block;color:var(--gg-muted);font-size:20px;line-height:1;margin:0 0 12px;text-align:center}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-decision-node{min-width:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-decision-node>h4{font-size:17px;line-height:1.5}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-decision-node>.bdtp-gx-options{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-decision-node>.bdtp-gx-options>button{justify-content:flex-start;text-align:left;gap:10px;padding:10px 12px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-decision-node>.bdtp-gx-options>button::before{content:"";flex:0 0 15px;width:15px;height:15px;border:1.5px solid var(--gg-edge);border-radius:50%;background:white}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-decision-node>.bdtp-gx-options>button[aria-pressed="true"]::before{border:5px solid var(--gg-accent)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-decision-result{margin:12px 0 0;padding:4px 0 4px 12px;border:0;border-left:2px solid var(--gg-accent);border-radius:0;background:none;min-width:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-branch-label{display:block;font-size:13px;font-weight:650;color:var(--gg-accent);margin-bottom:8px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-cards{display:grid;gap:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-card{min-width:0;margin:0;padding:20px 0;border:0;border-bottom:1px solid var(--gg-line);background:none;border-radius:0;box-shadow:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-card:first-child{padding-top:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-card:last-child{padding-bottom:0;border-bottom:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar [data-bdtp-gx-module="form-bedeutung-verwendung"] .bdtp-gx-card>.bdtp-gx-example:first-child{font-size:21px;font-weight:650;color:var(--gg-petrol);background:none;padding:0;margin:0 0 12px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar [data-bdtp-gx-module="fehlvorstellungen"] .bdtp-gx-card>h4{color:var(--gg-ochre)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-reveal{margin:12px 0 0;padding:12px 0 0;border-top:1px solid var(--gg-line)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar [data-bdtp-gx-module="regelgrenzen"] .bdtp-gx-reveal{border-top:0;border-left:2px solid var(--gg-ochre);padding:0 0 0 12px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar [data-bdtp-gx-toggle]::after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 0 3px 10px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar [data-bdtp-gx-toggle][aria-expanded="true"]::after{transform:rotate(225deg);margin-bottom:-3px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-words,.bdtp-gx-sentence){display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;margin:16px 0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-word{--gx-color:#73818d;display:inline-flex;flex-direction:column;gap:3px;max-width:100%;padding:8px 10px;border:0;border-bottom:2px solid var(--gx-color);border-radius:6px;background:var(--gg-soft);line-height:1.4;color:var(--gg-ink);overflow-wrap:anywhere}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-word strong{font-size:17px;font-weight:600;color:var(--gg-ink)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-word small{font-size:12px;line-height:1.4;color:var(--gg-muted)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-word[data-bdtp-gx-pos="noun"]{--gx-color:var(--gg-blue)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-word[data-bdtp-gx-pos="verb"]{--gx-color:var(--gg-accent)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-word[data-bdtp-gx-pos="adjective"]{--gx-color:var(--gg-green)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-word[data-bdtp-gx-pos="article"]{--gx-color:var(--gg-violet)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-word[data-bdtp-gx-pos="pronoun"]{--gx-color:#487786}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-word[data-bdtp-gx-pos="preposition"]{--gx-color:#a66a43}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-word[data-bdtp-gx-pos="conjunction"]{--gx-color:var(--gg-petrol)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-word[data-bdtp-gx-pos="adverb"]{--gx-color:var(--gg-petrol)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-word[data-bdtp-gx-pos="numeral"]{--gx-color:var(--gg-ochre)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-word[data-bdtp-gx-pos="particle"]{--gx-color:#73818d}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-table{min-width:520px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-table tbody td:first-child{font-weight:600}
/* 07 — Satzanalyse, Satzvergleich und Rollen */
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-annotated{position:relative;min-width:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--satzanalyse>.bdtpg-gx-annotated+.bdtpg-gx-annotated{margin-top:16px;padding-top:16px;border-top:1px solid var(--gg-line)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-module .bdtpg-gx-sentence{display:block;position:relative;font-size:17px;line-height:1.8;color:var(--gg-ink);white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;padding:12px 14px;background:var(--gg-soft);border:0;border-radius:8px;max-width:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-sentence button[data-bdtpg-gx-action]{appearance:none;display:inline;vertical-align:baseline;min-height:0;min-width:0;margin:0;padding:0;border:0;border-radius:3px;background:none;box-shadow:none;color:inherit;font:inherit;line-height:inherit;white-space:inherit;overflow-wrap:inherit;text-align:inherit;cursor:pointer;box-decoration-break:clone;-webkit-box-decoration-break:clone}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-sentence button[data-bdtpg-gx-action]:hover{background:#e2ebf2;border:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-sentence button[data-bdtpg-gx-action][aria-pressed="true"]{background:transparent;border:0;box-shadow:none;color:inherit;font:inherit}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-token{white-space:pre-wrap;box-decoration-break:clone;-webkit-box-decoration-break:clone}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-role-connector{color:var(--gg-petrol);font-weight:650}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-role-finite-verb{color:var(--gg-accent);font-weight:700}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-role-verb-part{color:var(--gg-accent);font-weight:500}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-role-subject{font-weight:600}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-role-object{color:var(--gg-blue)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-role-reference{color:var(--gg-blue);text-decoration:underline dashed;text-underline-offset:3px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-role-ending{color:var(--gg-violet);font-weight:700}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-role-focus{background:#e7edf3;border-radius:3px;font-weight:600}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-sentence button .bdtpg-gx-token{border-bottom:1px dotted currentColor}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-change-added{box-shadow:inset 0 -2px var(--gg-green)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-change-removed{text-decoration:line-through;color:var(--gg-accent)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-change-moved{outline:1px dashed var(--gg-blue);outline-offset:1px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-change-replaced{box-shadow:inset 0 -2px var(--gg-violet)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-related-active{background:#dce9f5;border-radius:3px;box-shadow:0 0 0 2px #dce9f5}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-annotated>.bdtpg-gx-panel{border-top:0;border-left:2px solid var(--gg-blue);padding:0 0 0 12px;margin:12px 0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-relations{list-style:none;margin:12px 0 0;padding:0;font-size:14px;color:var(--gg-muted)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-relations li{margin:6px 0;padding:6px 8px;border-left:2px solid var(--gg-line)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-relations li.bdtpg-gx-relation-active{border-left-color:var(--gg-blue);background:#edf3f9}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-connection-layer{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none;color:var(--gg-blue);z-index:1}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-compare{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:4px 16px;background:var(--gg-soft);border-radius:var(--gg-radius)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-compare>section{min-width:0;margin:0;padding:16px 0;border:0;background:none;border-radius:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-compare>section+section{border-top:1px solid var(--gg-line)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-compare .bdtpg-gx-sentence{background:none;padding:0;margin:8px 0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-compare .bdtpg-gx-annotated>p:not(.bdtpg-gx-sentence){font-size:14px;margin:4px 0}
/* 08 — Bilder, Bildfolge, Zeitachse */
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-figure{position:relative;margin:12px 0;max-width:100%;color:var(--gg-ink)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-figure img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;border-radius:var(--gg-radius)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-figure figcaption{font-size:14px;color:var(--gg-muted);line-height:1.5;margin-top:8px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-image-fallback{padding:12px 16px;border:1px dashed var(--gg-edge);border-radius:8px;background:var(--gg-soft);font-size:14px;color:var(--gg-muted)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-overlay{position:absolute;top:0;left:0;width:100%;pointer-events:none;z-index:2}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-module button.bdtpg-gx-hotspot{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;min-width:44px;min-height:44px;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--gg-ink);padding:0;isolation:isolate;font-size:14px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-module button.bdtpg-gx-hotspot::before{content:"";position:absolute;inset:7px;border:2px solid white;border-radius:50%;background:#e8eef2;box-shadow:0 1px 5px #22334270;z-index:-1}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-module button.bdtpg-gx-hotspot[aria-pressed="true"]{background:transparent;color:white}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-module button.bdtpg-gx-hotspot[aria-pressed="true"]::before{background:var(--gg-accent)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--bildfolge .bdtpg-gx-controls{justify-content:space-between}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--bildfolge [data-bdtpg-gx-action="all"]{margin-left:auto}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--bildfolge .bdtpg-gx-panel{padding-top:16px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-frame-position{font-size:13px;font-weight:600;color:var(--gg-muted);margin-bottom:8px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-time-labels{text-align:center;font-size:14px!important;font-weight:600;color:var(--gg-muted)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-axis{flex:1 0 100%;height:48px;position:relative;margin:12px 14px 4px;max-width:calc(100% - 28px);background:linear-gradient(var(--gg-edge),var(--gg-edge)) center 16px/100% 2px no-repeat}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-axis::after{content:"";position:absolute;right:-5px;top:12px;width:8px;height:8px;border-top:1.5px solid var(--gg-muted);border-right:1.5px solid var(--gg-muted);transform:rotate(45deg)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-axis span{position:absolute;top:17px;transform:translate(-50%,-50%);display:grid;place-items:center;min-width:24px;height:24px;padding:0 4px;background:white;border:1px solid var(--gg-edge);border-radius:50%;color:var(--gg-ink);font-size:12px;font-weight:650;line-height:1}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-axis span.is-active{background:var(--gg-accent);border-color:var(--gg-accent);color:white;z-index:1}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-period-line{position:absolute;height:4px;background:var(--gg-petrol);border-radius:3px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-periods{font-size:14px;color:var(--gg-muted);padding-left:20px}
/* 09 — Gerichtete Beziehungen: eindeutige Quellen/Ziele, offene Fallback-Liste */
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-nodes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:12px;margin:12px 0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-nodes>section{min-width:0;margin:0;padding:12px;border:0;border-radius:8px;background:var(--gg-soft)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-nodes>section p{color:var(--gg-ink);font-size:17px;margin:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-edge{--gg-relation:var(--gg-blue);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(0,1fr);gap:8px;align-items:center;margin:12px 0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtpg-gx-edge,.bdtpg-gx-graph-branch).bdtpg-gx-kind-cause{--gg-relation:var(--gg-blue)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtpg-gx-edge,.bdtpg-gx-graph-branch).bdtpg-gx-kind-consequence{--gg-relation:var(--gg-blue)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtpg-gx-edge,.bdtpg-gx-graph-branch).bdtpg-gx-kind-contrast{--gg-relation:var(--gg-petrol)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtpg-gx-edge,.bdtpg-gx-graph-branch).bdtpg-gx-kind-restriction{--gg-relation:var(--gg-ochre)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtpg-gx-edge,.bdtpg-gx-graph-branch).bdtpg-gx-kind-condition{--gg-relation:var(--gg-ochre)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtpg-gx-edge,.bdtpg-gx-graph-branch).bdtpg-gx-kind-alternative{--gg-relation:var(--gg-violet)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtpg-gx-edge,.bdtpg-gx-graph-branch).bdtpg-gx-kind-reference{--gg-relation:var(--gg-blue)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtpg-gx-edge,.bdtpg-gx-graph-branch).bdtpg-gx-kind-sequence{--gg-relation:var(--gg-muted)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtpg-gx-edge>div:not(.bdtpg-gx-arrow),.bdtpg-gx-graph-node){min-width:0;padding:12px 14px;border:0;border-radius:8px;background:var(--gg-soft);font-size:13px;font-weight:600;color:var(--gg-muted)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtpg-gx-edge>div:not(.bdtpg-gx-arrow),.bdtpg-gx-graph-node) p{font-size:17px;font-weight:400;color:var(--gg-ink);margin:4px 0 0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-arrow{color:var(--gg-relation,var(--gg-blue));text-align:center;font-size:13px;font-weight:600;min-width:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-arrow button{display:flex;margin:6px auto 0;min-height:44px;font-size:13px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph{display:grid;gap:20px;margin:16px 0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-group{display:grid;gap:0;min-width:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-source{justify-self:center;width:min(100%,360px);text-align:center}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branches{display:grid;grid-template-columns:repeat(var(--gg-branches,1),minmax(0,1fr));gap:12px;position:relative;padding-top:16px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branches::before{content:"";position:absolute;left:50%;top:0;height:16px;border-left:1px solid var(--gg-edge)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branch{--gg-relation:var(--gg-blue);position:relative;display:grid;grid-template-rows:auto 1fr;min-width:0;text-align:center}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branch::before{content:"";position:absolute;top:0;left:0;right:-12px;border-top:1px solid var(--gg-edge)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branch:first-child::before{left:50%}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branch:last-child::before{right:50%}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branch>.bdtpg-gx-arrow{position:relative;padding:17px 4px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:68px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branch>.bdtpg-gx-arrow::before{content:"";position:absolute;left:50%;top:0;height:13px;border-left:1.5px solid var(--gg-relation)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branch>.bdtpg-gx-arrow::after{content:"";position:absolute;left:calc(50% - 4px);bottom:5px;width:8px;height:8px;border-right:1.5px solid var(--gg-relation);border-bottom:1.5px solid var(--gg-relation);transform:rotate(45deg)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branch .bdtpg-gx-graph-node{border-top:2px solid var(--gg-relation)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branch:has(button[aria-pressed="true"]) .bdtpg-gx-graph-node{background:#eaf2f6;box-shadow:inset 0 0 0 1px var(--gg-relation)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--beziehungsdiagramm:has(.bdtpg-gx-graph) .bdtpg-gx-edge{display:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--beziehungsdiagramm:has(.bdtpg-gx-graph) .bdtpg-gx-nodes>section.bdtpg-gx-node-in-graph{display:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--beziehungsdiagramm:has(.bdtpg-gx-graph) .bdtpg-gx-nodes:not(:has(>section:not(.bdtpg-gx-node-in-graph))){display:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--beziehungsdiagramm .bdtpg-gx-nodes>section.bdtpg-gx-node-connected{display:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--beziehungsdiagramm .bdtpg-gx-nodes:not(:has(>section:not(.bdtpg-gx-node-connected))){display:none}
/* 10 — Dialog und Formenauswahl */
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-turn{max-width:88%;margin:16px 0;padding:0;border:0;background:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-turn-right{margin-left:auto}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-turn>h4{font-size:13px;color:var(--gg-muted);font-weight:650;margin:0 0 5px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-turn-right>h4{text-align:right}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-module .bdtpg-gx-bubble{padding:12px 16px;background:#edf1f4;border:0;border-radius:4px 14px 14px 14px;color:var(--gg-ink);font-size:17px;line-height:1.65;margin:0;max-width:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-turn-right .bdtpg-gx-bubble{background:var(--gg-accent-soft);border-radius:14px 4px 14px 14px;border:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-turn .bdtpg-gx-picker{display:flex;flex-direction:column}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-turn .bdtpg-gx-controls{order:0;margin:8px 0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-turn-right .bdtpg-gx-controls{justify-content:flex-end}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-turn .bdtpg-gx-panel{margin:0;padding:0;border:0}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-turn .bdtpg-gx-panel>h4{font-size:13px;color:var(--gg-muted);margin:8px 0 5px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-original{font-size:14px!important}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-dimension{display:flex;flex:1 1 100%;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:4px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-dimension h4{flex:1 0 100%;margin:0 0 4px;font-size:14px;color:var(--gg-muted)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--formentabelle .bdtpg-gx-panel{background:var(--gg-soft);padding:16px;border:0;border-radius:var(--gg-radius)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--formentabelle .bdtpg-gx-panel h4{font-size:13px;color:var(--gg-muted)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--formentabelle .bdtpg-gx-sentence{padding:0;background:none;font-size:28px;line-height:1.35;color:var(--gg-ink)}
/* 11 — Inhaltsbreite, nicht Bildschirmbreite */
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-cell-label{display:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-scroll-hint{display:none;font-size:13px;color:var(--gg-muted);margin-bottom:6px}
@container bdtpg-grammar (max-width:560px){
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-turn{max-width:96%}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-edge{grid-template-columns:minmax(0,1fr)}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branches{grid-template-columns:minmax(0,1fr);padding:8px 0 0 14px;gap:12px;border-left:1px solid var(--gg-edge);margin-left:8px}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branches::before,:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branch::before{display:none}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-graph-branch>.bdtpg-gx-arrow::before{height:0;width:14px;left:-14px;top:50%;border-left:0;border-top:1px solid var(--gg-relation)}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-axis{display:none}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--zeitachse .bdtpg-gx-controls{display:grid;grid-template-columns:minmax(0,1fr);border-left:2px solid var(--gg-line);padding-left:12px}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-scroll-hint{display:block}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__contrast{grid-template-columns:minmax(0,1fr)}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__contrast-side{padding:12px 0}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__contrast-side+.bdtp-workbook-grammar__contrast-side{border-left:0;border-top:1px solid var(--gg-line)}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__example-row{grid-template-columns:minmax(0,1fr);gap:4px}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar.bdtpg-gx-ready :is(.bdtp-workbook-grammar__sentence-table,.bdtp-gx-table){display:block;min-width:0;width:100%}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar.bdtpg-gx-ready :is(.bdtp-workbook-grammar__sentence-table,.bdtp-gx-table) :is(tbody,tr,td){display:block;min-width:0;width:auto;text-align:left}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar.bdtpg-gx-ready :is(.bdtp-workbook-grammar__sentence-table,.bdtp-gx-table) thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar.bdtpg-gx-ready :is(.bdtp-workbook-grammar__sentence-table,.bdtp-gx-table) tr{margin:12px 0;border-bottom:1px solid var(--gg-edge)}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar.bdtpg-gx-ready .bdtpg-gx-cell-label{display:block;font-size:13px;font-weight:650;color:var(--gg-muted);margin-bottom:4px;white-space:normal}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-workbook-grammar__table:not(.bdtp-workbook-grammar__sentence-table){min-width:360px}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:not(.bdtpg-gx-ready) .bdtp-workbook-grammar__sentence-table{min-width:520px}
}
@container bdtpg-grammar (max-width:380px){
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-overlay{display:none!important}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-compare{padding:4px 12px}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-controls{padding:5px;gap:3px}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-turn{max-width:100%}
}
@media(prefers-reduced-motion:reduce){:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar *{animation:none!important;transition:none!important}}
/* 12 — Statische Ausgabe. Archiv lädt nicht arbeitsheft.css oder Gruppen-JS. */
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:not(.bdtpg-gx-ready) :is(.bdtpg-gx-controls,.bdtp-gx-navigation,.bdtp-gx-options,[data-bdtp-gx-toggle],.bdtp-gx-lesson-tools,.bdtp-gx-tabs,.bdtp-workbook-grammar__tabs,.bdtpg-gx-arrow button){display:none!important}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:not(.bdtpg-gx-ready) :is([data-bdtpg-gx-panel],.bdtp-gx-step,.bdtp-gx-decision-result,.bdtp-gx-reveal)[hidden]{display:block!important}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:not(.bdtpg-gx-ready) .bdtp-gx-decision-node{counter-reset:gg-archive-option gg-archive-result}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:not(.bdtpg-gx-ready) .bdtp-gx-decision-node>.bdtp-gx-options{display:grid!important;counter-reset:gg-archive-option;gap:4px;margin:8px 0 12px}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:not(.bdtpg-gx-ready) .bdtp-gx-decision-node>.bdtp-gx-options>button{counter-increment:gg-archive-option;min-height:0;padding:4px 0;border:0;background:none;color:var(--gg-ink);box-shadow:none;pointer-events:none;justify-content:flex-start;text-align:left;font-weight:500}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:not(.bdtpg-gx-ready) .bdtp-gx-decision-node>.bdtp-gx-options>button::before{content:counter(gg-archive-option) ".";flex:0 0 auto;width:auto;height:auto;background:none;border:0;font-weight:650;color:var(--gg-muted)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:not(.bdtpg-gx-ready) .bdtp-gx-decision-node>.bdtp-gx-decision-result{counter-increment:gg-archive-result}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:not(.bdtpg-gx-ready) .bdtp-gx-decision-node>.bdtp-gx-decision-result::before{content:counter(gg-archive-result) ".";display:block;font-size:13px;color:var(--gg-muted);font-weight:650}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:not(.bdtpg-gx-ready) .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-panel[hidden]{display:grid!important}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:not(.bdtpg-gx-ready) .bdtpg-gx-sentence button{display:inline!important;border:0;padding:0;min-height:0;background:none;box-shadow:none}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:not(.bdtpg-gx-ready) [data-bdtp-grammar-revealed="0"]::before{content:none!important}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar:not(.bdtpg-gx-ready) [data-bdtp-grammar-revealed="0"]{cursor:default}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar.bdtpg-gx-ready .bdtpg-gx-static-answer,:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar.bdtpg-gx-ready .bdtpg-gx-original{display:none}
@media print{
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is([data-bdtpg-gx-panel],.bdtp-gx-step,.bdtp-gx-decision-result,.bdtp-gx-reveal)[hidden]{display:block!important}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx--grammatik-abschnitt>.bdtpg-gx-picker>.bdtpg-gx-panel[hidden]{display:grid!important}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtpg-gx-controls,.bdtp-gx-navigation,.bdtp-gx-options,.bdtp-gx-lesson-tools,.bdtp-gx-tabs,.bdtp-workbook-grammar__tabs,.bdtpg-gx-overlay,.bdtpg-gx-cell-label,[data-bdtp-gx-toggle],.bdtpg-gx-arrow button,.bdtpg-gx-scroll-hint,.bdtpg-gx-connection-layer){display:none!important}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-sentence button{display:inline!important;padding:0;min-height:0;border:0;background:none;box-shadow:none}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-print-reveal::before{content:none!important}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-static-answer{display:inline!important}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-original{display:block!important}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-table,.bdtp-workbook-grammar__table){display:table!important;min-width:0!important;width:100%;table-layout:fixed;overflow-wrap:anywhere}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-table,.bdtp-workbook-grammar__table) thead{display:table-header-group!important;position:static!important;width:auto!important;height:auto!important;clip-path:none!important;overflow:visible!important}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-table,.bdtp-workbook-grammar__table) tbody{display:table-row-group!important}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-table,.bdtp-workbook-grammar__table) tr{display:table-row!important}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-table,.bdtp-workbook-grammar__table) :is(th,td){display:table-cell!important;padding:6px;font-size:12px}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-module,.bdtpg-gx-panel,.bdtp-workbook-grammar__table-wrap,.bdtp-gx-table-wrap){overflow:visible!important;break-inside:auto!important}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtpg-gx-figure,.bdtpg-gx-bubble,.bdtpg-gx-compare>section,.bdtpg-gx-graph-group,.bdtpg-gx-edge,tr,.bdtp-gx-card,.bdtp-gx-step){break-inside:avoid}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtpg-gx-role-connector,.bdtpg-gx-role-finite-verb,.bdtpg-gx-role-verb-part,.bdtpg-gx-role-ending,.bdtpg-gx-role-object){color:#222!important}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-role-connector{text-decoration:underline dotted}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-role-finite-verb{text-decoration:underline double}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-role-verb-part{text-decoration:underline}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-role-ending{text-decoration:underline wavy}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-role-object{font-style:italic}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-role-reference{color:#222;text-decoration:underline dashed}
 :is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-related-active{background:none;box-shadow:none}
}

/* Kontrast auch gegen globale Theme-Regeln (button:hover / button:focus).
   Die hellen Auswahlflächen behalten Akzentfarbe, nur aktive Bildmarker sind weiß. */
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-module button,.bdtp-gx-tabs button,.bdtp-workbook-grammar__tab):is(:hover,:focus,:focus-visible):not(:disabled){color:var(--gg-ink)!important}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-gx-module button,.bdtp-gx-tabs button,.bdtp-workbook-grammar__tab):is([aria-pressed="true"],.is-active,[aria-selected="true"]):is(:hover,:focus,:focus-visible):not(:disabled){color:var(--gg-accent)!important}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-sentence button[data-bdtpg-gx-action]:is(:hover,:focus,:focus-visible):not(:disabled){color:var(--gg-ink)!important}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtp-gx-module button.bdtpg-gx-hotspot[aria-pressed="true"]:is(:hover,:focus,:focus-visible):not(:disabled){color:#fff!important}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar :is(.bdtp-workbook-grammar__answer-cell,.bdtp-workbook-grammar__example-answer)[data-bdtp-grammar-revealed="0"]:hover{color:var(--gg-muted)!important}

/* Optionaler Bildimpuls im Lektionskopf; vorhandene Farb- und Abstandsvariablen. */
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-lesson-image{display:grid;gap:10px;margin:20px auto 22px;width:100%;max-width:720px;break-inside:avoid}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-lesson-image>img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:var(--gg-soft);border:1px solid var(--gg-line);border-radius:var(--gg-radius)}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content,.bdtpg-archive-vocabulary) .bdtp-workbook-grammar .bdtpg-gx-lesson-caption{margin:0;padding:12px 16px;background:var(--gg-soft);border:1px solid var(--gg-line);border-left:3px solid var(--gg-accent);border-radius:8px;color:var(--gg-ink);font-size:15px;line-height:1.65;overflow-wrap:anywhere}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content) .bdtp-workbook-grammar:has(>.bdtpg-gx-lesson-image:not([hidden]))>.bdtp-gx-lesson-tools{display:flex}
:is(#bdtpg-workbook,#bdtpg-lesson-preview-content,#bdtpg-course-preview-content) [data-bdtpg-gx-central="1"] [data-bdtp-didaktik-upload]{display:none!important}
@media print{.bdtp-workbook-grammar .bdtpg-gx-lesson-image{max-width:420px!important;margin:12px auto!important}.bdtp-workbook-grammar .bdtpg-gx-lesson-caption{font-size:12px!important}}
