/* =====================================================================
   FLIQ Prep · Gemeinsame Komponentenregeln (R1–R11)
   Palette und Basis-Typografie: prep-tokens.css.
   Neue Regeln für Felder, Knöpfe, Hover, Fokus, Menüs, Popups und Zeilen hier eintragen.
   Die Einbindung steht am Ende der Stylesheet-Liste in app.html. Bei Abweichungen
   die tatsächlich angewendete Regel prüfen: Spezifität und !important entscheiden mit.
   Fachlayouts wie Kalender und Satzraster verwenden die gemeinsamen Komponenten.
   ===================================================================== */

/* ---------- R4 Hover · R5 Fokus (gilt für alles Anklickbare) ---------- */
/* ===== Einheitliches Hover-Verhalten (Lars 20.11.2026) =====
   Regel: Beim Überfahren legt sich eine leichte Tönung in Textfarbe über das Element (8 %).
   Wirkt auf gefüllten Knöpfen, Karten und Elementen ohne Hintergrund gleich, in Hell und Dunkel.
   Keine Verschiebung, kein Schatten-Ring, keine Farbwechsel des Rahmens. Druck: 1 px nach unten.
   Reine Textlinks (.prep-text-action) werden unterstrichen. */
/* 20.11.2026: Tönungen als feste Werte je Schema – Safari berechnete color-mix(var(--prep-text)) in Variablen nach dem Schemawechsel nicht neu (Hover blieb dunkel). */
/* R3c (21.11.2026, Lars): EINE Höhe für alle Bedienelemente – Felder, Auswahl, Knöpfe, Umschalter/Filterleisten. Handy 40 px. */
html[data-prep-ui]{
  --prep-control-h:32px;
  --prep-center-desktop-control:var(--prep-control-h);
  --prep-control-font:13.5px;
  --prep-field-font:var(--prep-control-font);
  --prep-field-radius:8px;
  --prep-label-font:12.5px;
}
@media (max-width:760px), (max-height:500px){
  html[data-prep-ui]{--prep-control-h:40px;--prep-field-font:16px}
}
html[data-prep-ui]{--prep-hover:rgba(255,255,255,.08);--prep-tint-9:rgba(255,255,255,.09);--prep-tint-12:rgba(255,255,255,.12);--prep-tint-14:rgba(255,255,255,.14)}
html[data-prep-ui][data-theme=light]{--prep-hover:rgba(17,20,24,.08);--prep-tint-9:rgba(17,20,24,.09);--prep-tint-12:rgba(17,20,24,.12);--prep-tint-14:rgba(17,20,24,.14)}
@media (hover:hover){
html[data-prep-ui]:root:not(#_) :is(
  .button:not(.primary),button.icon-button,.calendar-tool-button,.flow-toggle,.coach-week-add,.coach-athlete-icon-button,.calendar-race-chip,
  .session-card-trigger,.planning-event-card,.athlete-card-main,.coach-week-entry,.freshness-trigger,.prep-week-edge,
  #sidebarCalendarSelect,.calendar-day-add-unit
):not([disabled]):hover{
  background-image:linear-gradient(var(--prep-hover),var(--prep-hover))!important;
  transform:none!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_) :is(.button:not(.primary),button.icon-button,.calendar-tool-button,.flow-toggle):not([disabled]):hover{border-color:var(--prep-line)!important}
/* Hauptknopf: Dunkel weiß → eine Stufe grauer; Hell siehe oben (#d7dbe0). Kein Ring. */
html[data-theme="dark"][data-prep-ui]:root:not(#_) :is(.button.primary,button.primary,.primary-button,#newOnlineCalendarItemButton):not([disabled]):hover{background:#dfe3e8!important;box-shadow:none!important;transform:none!important}
html[data-prep-ui]:root:not(#_) .prep-text-action:hover{text-decoration:underline!important;text-underline-offset:3px;background:transparent!important}
}
html[data-prep-ui]:root :is(.button,button.icon-button,.calendar-tool-button,.segmented-control>button,.prep-seg>button):not([disabled]):active{transform:translateY(1px)!important}
/* Bisher eigene Hover-Flächen (⋮, +, Nutzer-Knopf, Navigation) auf denselben Wert */
@media (hover:hover){
html[data-prep-ui]:root:not(#_) #trainingTimeline.week-view :is(.session-card>.session-menu-button,.calendar-day-actions .calendar-range-menu,.calendar-week-head .calendar-range-menu,.calendar-add):hover{background:var(--prep-hover)!important}
html[data-prep-ui]:root[data-fliq-active-product]:not(#_) header.topbar #userMenuButton:hover{background:var(--prep-hover)!important}
html[data-prep-ui]:root[data-fliq-active-product]:not(#_) #appShell #primaryNav>a:hover{background:var(--prep-hover)!important}
}
/* Hover ändert nie die Schriftfarbe (Lars 20.11.2026): Farbe beim Überfahren = Normalfarbe */
html[data-prep-ui]:root:not(#_) :is(.calendar-day-add-unit,.coach-athlete-favorite:not([aria-pressed="true"])){color:var(--prep-text3)!important}
@media (hover:hover){
html[data-prep-ui]:root:not(#_) :is(.calendar-day-add-unit,.coach-athlete-favorite:not([aria-pressed="true"])):hover{color:var(--prep-text3)!important}
html[data-prep-ui]:root:not(#_) :is(.calendar-add,.calendar-range-menu,.session-menu-button,.coach-week-add,.flow-toggle,.prep-week-edge,.calendar-day-create,.coach-athlete-details):hover,
html[data-prep-ui]:root:not(#_) #trainingTimeline.week-view :is(.session-card>.session-menu-button,.calendar-day-actions .calendar-range-menu,.calendar-week-head .calendar-range-menu,.calendar-add):hover{color:var(--prep-text2)!important}
html[data-prep-ui]:root[data-fliq-active-product]:not(#_) #appShell #primaryNav a:not(.active):not([aria-current="page"]):hover{color:var(--prep-text2)!important}
html[data-prep-ui]:root[data-fliq-active-product]:not(#_) #appShell #primaryNav a:is(.active,[aria-current="page"]):hover{color:var(--prep-text)!important}
}
@media (hover:hover){html[data-prep-ui]:root:not(#_) #trainingTimeline .calendar-day-create:hover{background-image:linear-gradient(var(--prep-hover),var(--prep-hover))!important;border-radius:6px}}


/* ---------- R6 Knöpfe ---------- */
/* Hell: alle Hauptknöpfe grau mit Prep-Grün als Akzent (Entscheidung Lars 20.11.2026, ersetzt "neutral invertiert" in Hell).
   Etwas dunkler als Nebenknöpfe (#eceef1) und halbfett, damit die Hauptaktion erkennbar bleibt. Dunkel unverändert. */
html[data-theme="light"][data-prep-ui]:root:not(#_) :is(.button.primary,button.primary,.primary-button,.calendar-create-button,#newOnlineCalendarItemButton,.planned-block-primary){background:var(--prep-primary-bg)!important;border:1px solid var(--prep-primary-line)!important;box-shadow:none!important;font-weight:600!important}
html[data-theme="light"][data-prep-ui]:root:not(#_) :is(.button.primary,button.primary,.primary-button,.calendar-create-button,#newOnlineCalendarItemButton,.planned-block-primary):hover{background:var(--prep-primary-hover)!important;box-shadow:none!important}
html[data-theme="light"][data-prep-ui]:root:not(#_) :is(.button.primary,button.primary,.primary-button,.calendar-create-button,#newOnlineCalendarItemButton,.planned-block-primary) :is(svg,.button-icon){stroke:currentColor}

/* ---------- R6 Hauptnavigation ---------- */
html[data-prep-ui]{--prep-menu-chevron-image:url("./ci-8.1/icons/chevron-down.svg?v=01adac9b82a8")}
.prep-menu-chevron{
  display:inline-block;flex:none;width:16px;height:16px;vertical-align:middle;background:currentColor;
  -webkit-mask:var(--prep-menu-chevron-image) center/contain no-repeat;mask:var(--prep-menu-chevron-image) center/contain no-repeat
}
:is([aria-expanded=true],details[open]>summary)>.prep-menu-chevron{transform:rotate(180deg)}
html[data-prep-ui] .topbar .prep-logo{height:24px}
html[data-prep-ui] .auth-brand>.prep-logo{display:block;width:min(100%,560px);height:auto}
html[data-prep-ui] #authScreen:not([hidden]):not(:has(form:not([hidden]))){
  grid-template-columns:minmax(0,1fr);align-content:center;min-height:100dvh
}
html[data-prep-ui] #authScreen:not(:has(form:not([hidden]))) .auth-brand{display:none!important}

/* Hauptnavigation: Hover wie beim Nutzer-Knopf – leichte Fläche hinter dem Punkt, Text in Normalfarbe (Lars 20.11.2026).
   Ersetzt "Text wird weiß + schwacher Strich" (in Hell verschwand der Punkt beim Überfahren). */
html:root[data-fliq-active-product]:not(#_) #appShell #primaryNav a{position:relative}
html[data-prep-ui]:root #appShell #primaryNav>a::before{display:block}
html:root[data-fliq-active-product]:not(#_) #appShell #primaryNav a:hover{color:var(--prep-text)!important}
html:root[data-fliq-active-product] #appShell #primaryNav a:not(.active):not([aria-current="page"]):hover::after{content:none!important}
html[data-theme="light"]:root[data-fliq-active-product] #appShell #primaryNav a:is(.active,[aria-current="page"])::after{background:#111418!important}
html:root[data-fliq-active-product] #appShell #primaryNav a{isolation:isolate}


/* ---------- R7–R9 Menüs, Popups, Zeilen ---------- */
/* 20.11.2026 (Lars): ⋮-Menü neben „Session planen“ sieht aus wie das Kalender-Kontextmenü (gleiche Einträge, Abstände, Hover). */
html:root:not(#_) #calendarMoreMenu{padding:8px!important;gap:0!important;border-radius:12px!important;background:var(--prep-surface)!important;border:1px solid var(--prep-line)!important}
html:root:not(#_) #calendarMoreMenu>button{border:0!important;background:transparent!important;box-shadow:none!important;color:var(--prep-text)!important;justify-content:flex-start!important;text-align:start!important;width:100%!important}
html:root:not(#_) #calendarMoreMenu>button svg{display:none!important}
html:root:not(#_) #calendarMoreMenu>button:is(:hover,:focus-visible){background:var(--prep-hover)!important;color:var(--prep-text)!important;transform:none!important}

/* Feldbeschriftungen ruhiger */
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog) label>span:first-child:not(:only-child){font-size:12px!important;font-weight:600!important;color:var(--prep-text3)!important}
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog) :is(fieldset){border-color:var(--prep-line)!important;border-radius:10px!important}
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog) legend{font-size:11px!important;font-weight:700!important;letter-spacing:.06em;text-transform:uppercase;color:var(--prep-text3)!important}
/* Kalendereintrag erstellen: Trainingsarten als Liste mit Farbstreifen wie auf den Karten */
html:root:not(#_) :is(#calendarCreateDialog,#blockCreateDialog) .calendar-create-options{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}
html:root:not(#_) #calendarCreateDialog .calendar-create-group h3{margin:4px 0 10px!important;font-size:11px!important;font-weight:700!important;letter-spacing:.06em;text-transform:uppercase;color:var(--prep-text3)!important}
html:root:not(#_) :is(#calendarCreateDialog,#blockCreateDialog) .calendar-create-options>.button{justify-content:flex-start!important;text-align:start!important;width:100%!important;padding:8px 12px!important;border:1px solid var(--prep-line)!important;border-radius:10px!important;background:var(--prep-bg2)!important;box-shadow:none!important;font-weight:600!important;color:var(--prep-text)!important}
html:root:not(#_) #calendarCreateDialog .calendar-create-options>.button[data-training-type]{border-left:4px solid var(--prep-dlg-type,var(--prep-line))!important}
html:root:not(#_) #calendarCreateDialog .calendar-create-options>.button:is([data-create-from-library],[data-prep-load-block]){border-style:dashed!important;background:transparent!important;color:var(--prep-text2)!important}
html:root:not(#_) :is(#calendarCreateDialog,#blockCreateDialog) .calendar-create-options>.button:is(:hover,:focus-visible){background:color-mix(in srgb,var(--prep-text) 6%,var(--prep-bg2))!important;transform:none!important}
html[data-prep-ui]:root:not(#_) #blockCreateDialog {width:min(490px,calc(100% - 24px))}
html[data-prep-ui]:root:not(#_) #blockCreateDialog .calendar-create-options {grid-template-columns:minmax(0,1fr)}
html[data-prep-ui]:root:not(#_) #blockCreateDialog #blockCreateOptions > button {
  height:auto!important;
  min-height:44px!important;
  gap:12px;
}
html[data-prep-ui] #blockCreateDialog button > svg {width:20px;height:20px;flex:none}
html[data-prep-ui] #blockCreateDialog button > span {display:grid;gap:3px;white-space:normal}
html[data-prep-ui] #blockCreateDialog button small {color:var(--prep-text2);font-weight:400;line-height:1.35}
html:root [data-create-session-type="bmx_track"]{--prep-dlg-type:#8a9198}
html:root [data-create-session-type="bmx_sprint_wattbike"]{--prep-dlg-type:#a6b2e8}
html:root [data-create-session-type="wattbike"]{--prep-dlg-type:#80b8d9}
html:root [data-create-session-type="gym"]{--prep-dlg-type:#cea2bf}
html:root [data-create-session-type="athletics"]{--prep-dlg-type:#a5bac8}
html:root [data-create-session-type="endurance"]{--prep-dlg-type:#7cc1b7}
html:root [data-create-session-type="other"]{--prep-dlg-type:#c4ceca}
html[data-theme=light]:root [data-create-session-type="bmx_track"]{--prep-dlg-type:#7251a2}
html[data-theme=light]:root [data-create-session-type="bmx_sprint_wattbike"]{--prep-dlg-type:#4f5f9e}
html[data-theme=light]:root [data-create-session-type="wattbike"]{--prep-dlg-type:#2e6f99}
html[data-theme=light]:root [data-create-session-type="gym"]{--prep-dlg-type:#80526f}
html[data-theme=light]:root [data-create-session-type="athletics"]{--prep-dlg-type:#566e7f}
html[data-theme=light]:root [data-create-session-type="endurance"]{--prep-dlg-type:#2e756d}
html[data-theme=light]:root [data-create-session-type="other"]{--prep-dlg-type:#4a5652}
/* Menü selbst bekommt beim Öffnen per Maus den Fokus – ohne Rahmen */
html:root:not(#_) :is(#calendarContextMenu,.topbar-menu)[tabindex="-1"]:focus{outline:none!important;box-shadow:none}
/* Kalendereintrag erstellen: feste Reihenfolge – sieben Trainingsarten, dann Block/Bibliothek, dann Notiz/Freier Tag */
html:root #calendarCreateDialog .calendar-create-options>.button{order:20!important}
html:root #calendarCreateDialog [data-create-session-type="bmx_track"]{order:1!important}
html:root #calendarCreateDialog [data-create-session-type="bmx_sprint_wattbike"]{order:2!important}
html:root #calendarCreateDialog [data-create-session-type="wattbike"]{order:3!important}
html:root #calendarCreateDialog [data-create-session-type="gym"]{order:4!important}
html:root #calendarCreateDialog [data-create-session-type="athletics"]{order:5!important}
html:root #calendarCreateDialog [data-create-session-type="endurance"]{order:6!important}
html:root #calendarCreateDialog [data-create-session-type="other"]{order:7!important}
html:root:not(#_) #calendarCreateDialog .calendar-create-options>.button:not([data-training-type]){grid-column:auto!important}
html:root:not(#_) #calendarCreateDialog .calendar-create-options>.button:not([data-training-type]) svg{width:16px;height:16px;flex:none}
html:root:not(#_) #calendarCreateDialog .builder-entry-shortcuts{margin-top:8px!important;padding-top:12px!important;border-top:1px solid var(--prep-line)!important}
html:root:not(#_) #calendarCreateDialog .calendar-create-options-short>.button{background:transparent!important}


/* Knopf ohne Knopf-Klasse (z. B. „Abbrechen“ bei Athlet anfragen) wie Nebenknopf */
html:root:not(#_) dialog .dialog-actions>button:not(.button){min-height:36px;padding:0 14px;border:1px solid var(--prep-line)!important;border-radius:8px!important;background:var(--prep-control-bg,color-mix(in srgb,var(--prep-text) 7%,var(--prep-surface)))!important;color:var(--prep-text)!important;font-size:13px!important;font-weight:600!important;box-shadow:none!important;cursor:pointer}
html:root:not(#_) dialog .dialog-actions>button:not(.button):is(:hover,:focus-visible){background:color-mix(in srgb,var(--prep-text) 12%,var(--prep-surface))!important}
/* Fehlermeldung der Coach-Aktionen nicht als leere Fläche */
html:root:not(#_) .prep-action-dialog>.prep-error:empty{display:none}
.prep-confirm-dialog{width:min(460px,calc(100vw - 24px))}
.prep-confirm-dialog .dialog-heading{overflow-wrap:anywhere}
.prep-confirm-details{margin:0;padding:12px 16px 12px 36px;max-height:40dvh;overflow:auto;overflow-wrap:anywhere}
.prep-confirm-details li+li{margin-top:4px}
/* 03.12.2026 Verwaltung Stufe 2: Passwort erneut eingeben (askPrepPassword) */
.prep-password-body{display:grid;gap:10px;padding:4px 16px 0}
.prep-password-body p{margin:0}
.prep-password-body label{display:grid;gap:6px}
/* 03.12.2026 „Problem melden“ (prep-support.js): gleicher Aufbau wie die Passwort-Rückfrage */
.prep-support-body textarea{width:100%;resize:vertical}
.prep-support-hint{font-size:13px;color:var(--prep-text3)}
.prep-support-check{display:flex!important;align-items:flex-start;gap:10px;font-size:13.5px}
.prep-support-check input{flex:none;width:20px;height:20px;margin:1px 0 0}
/* „Ansicht als Person“: Balken oben, solange die Verwaltung mitschaut (Status nicht nur über Farbe: Text sagt „nur ansehen“) */
.prep-support-view-bar{position:sticky;top:0;z-index:70;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:8px 16px;
  background:color-mix(in srgb,var(--prep-warn) 22%,var(--prep-bg2));border-bottom:1px solid color-mix(in srgb,var(--prep-warn) 55%,var(--prep-line));color:var(--prep-text);font-size:13.5px;font-weight:600}
.prep-support-view-bar span{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.prep-support-view-bar .button{flex:none}
@media (max-width:760px){.prep-support-view-bar{flex-wrap:nowrap;padding:6px 12px;font-size:12.5px;line-height:1.35}}
html[data-prep-ui]:root:not(#_) .session-videos .video-picker-action.button{height:auto!important;min-height:var(--prep-control-h)!important;padding:6px 12px!important;border-radius:var(--prep-field-radius)!important}
html[data-prep-ui]:root:not(#_) .privacy-dialog .dialog-actions .button{max-width:100%;height:auto!important;padding-block:5px!important;white-space:normal}
html:root:not(#_) #executionDialog>form>footer.doc-footer>button,
html:root:not(#_) #executionDialog #executionFinish>summary {
  display:flex;align-items:center;justify-content:center;white-space:normal;text-align:center;
}
html:root:not(#_) #executionDialog #executionFinish {position:relative;width:auto;margin-inline-end:auto;min-width:0}
html:root:not(#_) #executionDialog #executionFinish:not([open]) .doc-finish-options {display:none!important}
html:root:not(#_) #executionDialog .doc-finish-options {
  position:absolute;inset:auto auto calc(100% + 6px) 0;display:grid;max-height:40dvh;overflow:auto;
  width:min(19rem, calc(100vw - 64px));padding:6px;gap:6px;border:1px solid var(--prep-line);border-radius:8px;background:var(--prep-surface);box-shadow:0 5px 16px rgb(0 0 0 / .14);
}
html:root:not(#_) #executionDialog .doc-finish-options>.button {height:auto!important;min-height:var(--prep-control-h)!important;white-space:normal;padding-inline:10px!important}
@media screen and (max-width: 540px) {
  html:root:not(#_) #executionDialog #executionFinish {width:100%;margin:0}
  html:root:not(#_) #executionDialog #executionFinish>summary {height:100%!important}
}

.session-publication-badge:not([hidden]) {
  display:inline-flex;align-items:center;max-width:100%;border:1px solid var(--prep-line);
  line-height:1.3;white-space:normal;overflow-wrap:anywhere;color:var(--prep-text2);background:var(--prep-surface);
}
.session-publication-badge[data-publication-state="draft"] {
  border-color:var(--prep-warn);background:var(--prep-warn);color:var(--prep-bg);
  font-size:12px;font-weight:750;
}
.session-publication-badge[data-publication-state="published"] {color:var(--prep-positive-label);background:var(--prep-tint-9)}
.session-status-line {display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px;max-width:100%;min-width:0}
.session-card-trigger > .session-status-line {grid-column:1;justify-self:start}
html[data-prep-ui] .session-status-line > .prep-status {min-width:0;white-space:normal;overflow-wrap:anywhere}
.session-documentation-source {
  min-width:0;color:var(--prep-text2);font-size:11px;font-weight:600;line-height:1.3;white-space:normal;overflow-wrap:anywhere;
}
.session-draft-status {display:inline-flex;flex-wrap:wrap;align-items:center;gap:3px 6px;max-width:100%;min-width:0}
.session-draft-visibility {font-size:11px;font-weight:600;line-height:1.3;color:var(--prep-text);white-space:normal;overflow-wrap:anywhere}
.session-card .session-title > .session-draft-status {
  display:flex;margin-block-end:5px;
}
.session-card:has(>.session-menu-button) .session-title > .session-draft-status {
  margin-inline-end:24px;
}
#unitDetailMeta > .session-draft-status {flex-basis:100%}
html[data-prep-ui] :is(#trainingTimeline,#calendarDayOverlay,#dashboardContent) :is(.session-card,.coach-week-unit,.year-session)[data-status="draft"] {
  background:color-mix(in srgb,var(--prep-warn) 16%,var(--prep-surface))!important;
  border-inline-start-color:var(--prep-warn)!important;
}
#onlinePlanDialog #prepDraftState {justify-self:start}

/* ===== 20.11.2026 (Lars): letzte Unterschiede in den Popups ===== */
/* Kein Fokusrahmen beim Öffnen per Maus (bis zur ersten Tastatureingabe) */
html:root:not(#_) dialog[data-pointer-open] :focus{outline:none!important;box-shadow:none!important}
html:root:not(#_) dialog[data-pointer-open] :is(input,select,textarea):focus{border-color:var(--prep-control,var(--prep-line))!important}
/* Auswahl-/Listenzeilen überall gleich: weiße bzw. dunkle Fläche, feine Linie, 10 px Rundung */
html:root:not(#_) #calendarCreateDialog .calendar-create-options>.button{background:var(--prep-surface)!important}
html:root:not(#_) #calendarCreateDialog .calendar-create-options>.button:is(:hover,:focus-visible){background:color-mix(in srgb,var(--prep-text) 6%,var(--prep-surface))!important}
html:root:not(#_) #calendarCreateDialog .calendar-create-options>.button:is([data-create-from-library],[data-prep-load-block]){white-space:normal!important;line-height:1.25!important;}
html:root:not(#_) #calendarCreateDialog .calendar-create-options-short>.button{border-style:solid!important}
/* Wiederkehrend: Wochentage als gleiche Zeilen wie bei „Uhrzeiten“ – Uhrzeit mittig, kleine Abstände */
html:root:not(#_) #calendarRepeatDialog .calendar-repeat-days{display:grid!important;gap:6px!important}
html:root:not(#_) #calendarRepeatDialog .calendar-repeat-days>label{display:grid!important;align-items:center!important;gap:10px!important;margin:0!important;padding:6px 8px 6px 12px!important;min-height:44px;border:1px solid var(--prep-line)!important;border-radius:8px!important;background:var(--prep-surface)!important;font-size:13px!important;font-weight:600!important;color:var(--prep-text)!important}
html:root:not(#_) #calendarRepeatDialog .calendar-repeat-days>label>span{font-size:13px!important;font-weight:600!important;color:var(--prep-text)!important;margin:0!important}
html:root:not(#_) #calendarRepeatDialog .calendar-repeat-days>label>select{width:100%!important;height:32px!important;min-height:32px!important;margin:0!important;align-self:center!important}
html:root:not(#_) #calendarRepeatDialog .calendar-repeat-days>label:has(input:checked){border-color:color-mix(in srgb,var(--prep-text) 30%,var(--prep-line))!important}
html:root:not(#_) #calendarRepeatDialog .calendar-repeat-days>label>input{margin:0!important}
html:root:not(#_) #calendarRepeatDialog .calendar-repeat-days>label{grid-template-columns:auto minmax(0,1fr) 128px!important}
html:root:not(#_) #calendarRepeatDialog .calendar-repeat-days>label>select{padding:0 28px 0 10px!important;font-size:13px!important;text-overflow:clip}

/* 20.11.2026 (Lars): Hauptknopf im Hellmodus deutlicher – grau bleibt, grüner Akzent auch ohne Symbol */
html[data-theme="light"][data-prep-ui]:root:not(#_) :is(.button.primary,button.primary,.primary-button,.calendar-create-button,#newOnlineCalendarItemButton,.planned-block-primary):not(:disabled){border-color:color-mix(in srgb,var(--prep-on-primary-icon) 80%,var(--prep-primary-line))!important}
html[data-theme="light"][data-prep-ui]:root:not(#_) :is(.button.primary,button.primary,.primary-button,.calendar-create-button,#newOnlineCalendarItemButton,.planned-block-primary):not(:disabled):not(:has(svg,img,.button-icon)){color:var(--prep-on-primary-icon)!important}
html[data-theme="light"][data-prep-ui]:root:not(#_) :is(.button.primary,button.primary,.primary-button,.calendar-create-button,#newOnlineCalendarItemButton,.planned-block-primary):not(:disabled):focus-visible{border-color:var(--prep-accent)!important}

/* 20.11.2026 (Lars): Regel H1 – Hover ändert NIE die Schriftfarbe, nur Hintergrund 8 % Tönung.
   Diese Altregeln (app.css) färbten Text beim Hover blau/grün und werden hier zurückgesetzt. */
html:root:not(#_) :is(.calendar-context-menu button,.online-block-type-menu button,.calendar-day-create,.year-month-open,.coach-athlete-icon-button):is(:hover,:focus-visible){color:inherit!important;background:var(--prep-hover)!important}
html:root:not(#_) .athlete-document-link:hover{color:inherit!important}

/* ---------- R4 Hauptknopf: Hover ändert nur die Fläche, nie die Schriftfarbe ---------- */
html[data-theme="dark"][data-prep-ui]:root:not(#_) :is(.button.primary,button.primary,.primary-button,#newOnlineCalendarItemButton):not([disabled]):hover{color:#0e1012!important}
html[data-theme="light"][data-prep-ui]:root:not(#_) :is(.button.primary,button.primary,.primary-button,.calendar-create-button,#newOnlineCalendarItemButton,.planned-block-primary):not(:disabled):hover{color:#111418!important}
html[data-theme="light"][data-prep-ui]:root:not(#_) :is(.button.primary,button.primary,.primary-button,.calendar-create-button,#newOnlineCalendarItemButton,.planned-block-primary):not(:disabled):not(:has(svg,img,.button-icon)):hover{color:var(--prep-on-primary-icon)!important}

/* ---------- R6 Knopfschrift überall 13 px ---------- */
html[data-prep-ui]:root:not(#_) :is(.button,button.button){font-size:13px!important}

/* ---------- R7 Menüs: alle Einträge wie im Kalender-Kontextmenü ---------- */
html:root:not(#_) .topbar-menu>:is(a,button):not(.user-menu-row){color:var(--prep-text)!important}
html:root:not(#_) .topbar-menu>:is(a,button):not(.user-menu-row):is(:hover,:focus-visible){background:var(--prep-hover)!important;color:var(--prep-text)!important}
html:root:not(#_) .topbar-menu .user-menu-legal>:is(a,button){display:flex!important;align-items:center;color:var(--prep-text2)!important;background:transparent!important}
html:root:not(#_) .topbar-menu .user-menu-legal>:is(a,button):is(:hover,:focus-visible){background:var(--prep-hover)!important;color:var(--prep-text2)!important;text-decoration:none!important}

/* R7 (Lars 26.11.2026): Kalenderauswahl wie die übrigen Menüs – 44 px, 13 px, Ecken 8 px, gleiche Hover-Fläche */
html:root:not(#_) #sidebarCalendarResults button:not(.calendar-picker-section){min-height:44px!important;padding:8px 12px!important;border-radius:8px!important;font-size:13px!important;font-weight:400!important;color:var(--prep-text)!important}
html:root:not(#_) #sidebarCalendarResults button:not(.calendar-picker-section):is(:hover,:focus-visible){background:var(--prep-hover)!important;color:var(--prep-text)!important}
html:root:not(#_) #sidebarCalendarResults button:not(.calendar-picker-section):is([aria-selected=true],[aria-current=true],.active){background:transparent!important;font-weight:600!important}
html:root:not(#_) #sidebarCalendarResults button:not(.calendar-picker-section):is([aria-selected=true],[aria-current=true],.active):is(:hover,:focus-visible){background:var(--prep-hover)!important}

/* R7 (Lars 26.11.2026, „Aufklappmenüs sehen unterschiedlich aus“): alle übrigen Menüs wie Nutzermenü und Kalender-Kontextmenü.
   Behalten: Entfernen/Löschen rot, gesperrte Einträge, Typ-Tönung im Blocktyp-Menü, Auswahlchips der Übungsauswahl. */
html:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) :is(#sidebarCalendarPicker,.prep-add-menu,.video-action-options,.prep-combo-pop,.library-tree-row-actions,.pl-library-menu,.event-row-menu>.event-overview-card-actions,.online-training-block>details.builder-block-menu>.online-block-actions){box-shadow:none!important}
html:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) :is(.prep-add-menu>button,.prep-combo-option,.video-action-options .video-picker-action,#onlinePlanDialog .online-block-actions>button:not(.online-remove):not(:disabled),.library-tree-row-actions>button:not(.danger),.pl-library-menu-item:not(.is-danger),.event-row-menu>.event-overview-card-actions>.button:not(.danger),.online-block-type-menu>button){color:var(--prep-text)!important}
html:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) :is(.prep-add-menu>button,.prep-combo-option,.video-action-options .video-picker-action,#onlinePlanDialog .online-block-actions>button:not(:disabled),.library-tree-row-actions>button,.pl-library-menu-item,.event-row-menu>.event-overview-card-actions>.button):is(:hover,:focus-visible){background:var(--prep-hover)!important}
html:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) .prep-combo-option:is([aria-selected=true],.is-active,.active){background:var(--prep-hover)!important}
/* P2: Video-Menü (session-videos.js, kompakte Auswahl) wie R7 – Einträge ohne eigene Fläche, linksbündig */
html:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) .video-action-options .video-picker-action{justify-content:flex-start!important;border-color:transparent!important;background-color:transparent!important}
html:root:not(#_):not(#__) .topbar-menu>button.quiet:not(:hover):not(:focus-visible){background:transparent!important}

/* ---------- R5 Popup selbst trägt beim Öffnen per Maus den Fokus – ohne Rahmen ---------- */
html:root:not(#_) dialog[tabindex="-1"]:focus{outline:none!important}

/* ---------- R5 (Safari-sicher): Popup per Maus geöffnet → fokussierter Eintrag sieht aus wie nicht fokussiert,
   bis eine Taste gedrückt wird. Unabhängig davon, wann der Browser den Fokus setzt. Echter Hover bleibt sichtbar. ---------- */
html:root:not(#_) dialog#calendarCreateDialog[data-pointer-open] .calendar-create-options>.button:focus:not(:hover){background:var(--prep-surface)!important;outline:none!important;box-shadow:none!important}
html:root:not(#_) dialog#calendarCreateDialog[data-pointer-open] .calendar-create-options>.button:is([data-create-from-library],[data-prep-load-block]):focus:not(:hover){background:transparent!important}
html:root:not(#_) dialog[data-pointer-open] :is(.icon-button,[data-schedule-close],.prep-close-floating,.button.danger,.calendar-context-menu button):focus:not(:hover){background:transparent!important;outline:none!important;box-shadow:none!important}
html:root:not(#_) dialog[data-pointer-open] :is(.button,button):focus:not(:hover){outline:none!important;box-shadow:none!important}

/* ---------- R8/R9 „Kalendereintrag erstellen“: eine Seite, vier Abschnitte, immer gleich groß ---------- */
html:root:not(#_) dialog#calendarCreateDialog.prep-create-onepage{width:min(760px,calc(100vw - 32px))!important;max-width:none!important}
html:root:not(#_) #calendarCreateDialog.prep-create-onepage .builder-entry-tabs,
html:root:not(#_) #calendarCreateDialog.prep-create-onepage [data-calendar-create-group]{display:none!important}
html:root:not(#_) #calendarCreateDialog .prep-create-sections{display:grid;gap:18px}
html:root:not(#_) #calendarCreateDialog .prep-create-section[hidden]{display:none!important}
html:root:not(#_) #calendarCreateDialog .prep-create-section>h3{margin:0 0 8px!important;font-size:11px!important;font-weight:700!important;letter-spacing:.06em;text-transform:uppercase;color:var(--prep-text3)!important}
html:root:not(#_) #calendarCreateDialog .prep-create-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
html:root:not(#_) #calendarCreateDialog .prep-create-grid>.button[hidden]{display:none!important}
html:root:not(#_) #calendarCreateDialog .prep-create-grid>.button{white-space:normal!important;line-height:1.25!important;height:auto!important}
/* Freier Tag steht bei den Trainingsarten: gleiche Kante, neutraler Streifen */
html:root:not(#_) #calendarCreateDialog .prep-create-grid>[data-create-calendar-entry="dayOff"]{border-left:4px solid var(--prep-line)!important}
@media (max-width:700px){html:root:not(#_) #calendarCreateDialog .prep-create-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* ---------- R1/R9 Symbole: Termine, Verfügbarkeit, Weitere – gleicher Stil wie Trainingsarten (24er-Raster, Strich 1,8, 18 px) ---------- */
html:root #calendarCreateDialog .prep-create-grid>.button:not([data-create-session-type])::before{content:""!important;display:block!important;flex:0 0 18px!important;width:18px!important;height:18px!important;border:0!important;border-radius:0!important;background:var(--prep-text2)!important;-webkit-mask:var(--pe-ico) center/contain no-repeat!important;mask:var(--pe-ico) center/contain no-repeat!important}
html:root #calendarCreateDialog .prep-create-grid>[data-create-calendar-entry="dayOff"]{--pe-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 14.5A8.5 8.5 0 1 1 9.5 3.5a7 7 0 0 0 11 11z'/%3E%3C/svg%3E")}
html:root #calendarCreateDialog .prep-create-grid>[data-create-event-type="competition"]{--pe-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4M5 4h12l-2.5 4L17 12H5'/%3E%3C/svg%3E")}
html:root #calendarCreateDialog .prep-create-grid>[data-create-event-type="camp"]{--pe-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 20h19M4 20 12 5l8 15M9.5 20 12 15l2.5 5'/%3E%3C/svg%3E")}
html:root #calendarCreateDialog .prep-create-grid>[data-create-event-type="travel"]{--pe-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A1.5 1.5 0 0 1 5.5 7h13A1.5 1.5 0 0 1 20 8.5v10a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 18.5zM9 7V5.5A1.5 1.5 0 0 1 10.5 4h3A1.5 1.5 0 0 1 15 5.5V7M9 7v13M15 7v13'/%3E%3C/svg%3E")}
html:root #calendarCreateDialog .prep-create-grid>[data-create-event-type="meeting"]{--pe-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 5.5A1.5 1.5 0 0 1 5 4h9a1.5 1.5 0 0 1 1.5 1.5V11a1.5 1.5 0 0 1-1.5 1.5H9l-3.5 3v-3H5A1.5 1.5 0 0 1 3.5 11zM18 8.5h1a1.5 1.5 0 0 1 1.5 1.5v5.5A1.5 1.5 0 0 1 19 17h-.5v3L15 17h-4a1.5 1.5 0 0 1-1.5-1.5V15'/%3E%3C/svg%3E")}
html:root #calendarCreateDialog .prep-create-grid>[data-create-event-type="other"]{--pe-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7A2 2 0 0 1 5.5 5h13a2 2 0 0 1 2 2v11.5a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2zM3.5 10h17M8 3v4M16 3v4M8 14h.01M12 14h.01M16 14h.01'/%3E%3C/svg%3E")}
html:root #calendarCreateDialog .prep-create-grid>[data-create-availability="absence"]{--pe-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7A2 2 0 0 1 5.5 5h13a2 2 0 0 1 2 2v11.5a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2zM3.5 10h17M8 3v4M16 3v4M9.5 13l5 5M14.5 13l-5 5'/%3E%3C/svg%3E")}
html:root #calendarCreateDialog .prep-create-grid>[data-create-availability="injury"]{--pe-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 13.1l7.5-7.5a3.5 3.5 0 0 1 4.95 0l.35.35a3.5 3.5 0 0 1 0 4.95l-7.5 7.5a3.5 3.5 0 0 1-4.95 0l-.35-.35a3.5 3.5 0 0 1 0-4.95zM11 12h.01M12 11h.01M13 12h.01M12 13h.01'/%3E%3C/svg%3E")}
html:root #calendarCreateDialog .prep-create-grid>[data-create-calendar-entry="note"]{--pe-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5h8.5l4 4v13H6zM14.5 3.5v4h4M9 11.5h6M9 15h6'/%3E%3C/svg%3E")}
html:root #calendarCreateDialog .prep-create-grid>[data-prep-load-block]{--pe-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 3.5 8.5 12 13l8.5-4.5zM3.5 12.5 12 17l8.5-4.5M3.5 16.5 12 21l8.5-4.5'/%3E%3C/svg%3E")}
html:root #calendarCreateDialog .prep-create-grid>[data-create-from-library]{--pe-ico:url("./ci-8.1/icons/library.svg?v=c56527b70d3e")}
/* Kalender: Freier Tag / Verletzung / Abwesenheit mit denselben Symbolen */
html:root:not(#_) .bed-status-icon[data-prep-avail="dayOff"]{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 14.5A8.5 8.5 0 1 1 9.5 3.5a7 7 0 0 0 11 11z'/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 14.5A8.5 8.5 0 1 1 9.5 3.5a7 7 0 0 0 11 11z'/%3E%3C/svg%3E") center/contain no-repeat!important}
html:root:not(#_) .bed-status-icon[data-prep-avail="injury"]{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 13.1l7.5-7.5a3.5 3.5 0 0 1 4.95 0l.35.35a3.5 3.5 0 0 1 0 4.95l-7.5 7.5a3.5 3.5 0 0 1-4.95 0l-.35-.35a3.5 3.5 0 0 1 0-4.95zM11 12h.01M12 11h.01M13 12h.01M12 13h.01'/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 13.1l7.5-7.5a3.5 3.5 0 0 1 4.95 0l.35.35a3.5 3.5 0 0 1 0 4.95l-7.5 7.5a3.5 3.5 0 0 1-4.95 0l-.35-.35a3.5 3.5 0 0 1 0-4.95zM11 12h.01M12 11h.01M13 12h.01M12 13h.01'/%3E%3C/svg%3E") center/contain no-repeat!important}
html:root:not(#_) .bed-status-icon[data-prep-avail="absence"]{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7A2 2 0 0 1 5.5 5h13a2 2 0 0 1 2 2v11.5a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2zM3.5 10h17M8 3v4M16 3v4M9.5 13l5 5M14.5 13l-5 5'/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7A2 2 0 0 1 5.5 5h13a2 2 0 0 1 2 2v11.5a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2zM3.5 10h17M8 3v4M16 3v4M9.5 13l5 5M14.5 13l-5 5'/%3E%3C/svg%3E") center/contain no-repeat!important}

/* ---------- R9a BMX Track: BMX-Fahrer in Angriffsposition auf dem BMX (Lars 20.11.2026) – gilt überall, wo das Trainingsart-Symbol erscheint ---------- */
html[data-prep-ui]:root :is([data-exercise-group="bmx_track"],[data-session-group="bmx_track"],[data-training-type="bmx_track"],[data-create-session-type="bmx_track"],[data-prep-type="bmx_track"]){--prep-type-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 17.5a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0-7 0M15.5 17.5a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0-7 0M5 17.5h5.5l5.5-5.5 3 5.5M16 12l-.7-2.8h2M12.3 3.9a1.6 1.6 0 1 0 3.2 0a1.6 1.6 0 1 0-3.2 0M12.9 6.9 8 9.3M12.9 6.9l3.1 2.3M8 9.3l3.4 2.4-.9 4.4M8 9.3l-.3 3.6 2.6 3.4'/%3E%3C/svg%3E")}

/* ---------- Ergometer: Lüfter-/Magnetstufe nur beim Wattbike ---------- */
html:root:not(#_) #onlinePlanForm:not([data-prep-ergometer="wattbike"]) .online-wattbike-block label:has(>[data-field="fanSetting"],>[data-field="magnetSetting"]){display:none!important}
html:root:not(#_) #prepErgometerField[hidden]{display:none!important}
html:root:not(#_) #onlinePlanForm:not([data-prep-ergometer="wattbike"]) .managed-exercise-parameters label:has(:is([data-managed-parameter="fanSetting"],[data-managed-parameter="magnetSetting"]):disabled){display:none!important}

html:root:not(#_) #calendarCreateDialog [data-prep-create-section="templates"] .prep-create-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1px!important;
  border:1px solid var(--prep-line);border-radius:8px;overflow:hidden;background:var(--prep-line)
}
html[data-prep-ui]:root:not(#_):not(#__) #calendarCreateDialog [data-prep-create-section="templates"] .prep-create-grid>.button:not(#___){
  justify-content:flex-start!important;gap:8px;min-height:44px!important;height:auto!important;padding:0 12px!important;
  border:0!important;border-radius:0!important;background:var(--prep-bg2)!important;color:var(--prep-text)!important;
  white-space:nowrap!important
}
html[data-prep-ui]:root:not(#_):not(#__) #calendarCreateDialog [data-prep-create-section="templates"] .prep-create-grid>.button:not(#___):is(:hover,:focus-visible){
  background:var(--prep-hover)!important;outline-offset:-2px
}
@media(max-width:500px){
  html:root:not(#_) #calendarCreateDialog [data-prep-create-section="templates"] .prep-create-grid{grid-template-columns:1fr!important}
}

html:root:not(#_) #calendarCreateDialog [data-prep-create-section="availability"] .prep-create-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-rows:1fr
}
html:root #calendarCreateDialog .prep-create-grid>[data-create-availability="illness"]{--pe-ico:var(--prep-illness-icon)}
html:root #calendarCreateDialog .prep-create-grid>[data-create-availability="training_slot"]{--pe-ico:url("./ci-8.1/icons/calendar-days.svg?v=b4fe38a69460")}
html:root #calendarCreateDialog .prep-create-grid>[data-create-availability="external_training"]{--pe-ico:var(--prep-external-training-icon)}
@media(max-width:600px){
  html:root:not(#_) #calendarCreateDialog [data-prep-create-section="availability"] .prep-create-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important
  }
}

/* ===== R8 Session-Planung (Lars 20.11.2026: Abstände, Zurück, kein Schnellstart, Aus Vorlage laden) ===== */
html:root:not(#_) #onlinePlanDialog>form{min-height:100%;display:flex!important;flex-direction:column}
html:root:not(#_) #onlinePlanDialog>form>.builder-workspace{flex:1 0 auto}
/* Kopf */
html:root:not(#_) #onlinePlanDialog>form>.dialog-heading{padding:16px 16px 14px 22px!important;align-items:flex-start!important}
html:root:not(#_) #onlinePlanDialog #prepBuilderBack{display:inline-flex!important;align-items:center;margin:0 0 6px -8px!important;box-shadow:none!important;}
html:root:not(#_) #onlinePlanDialog #prepBuilderBack[hidden]{display:none!important}
html:root:not(#_) #onlinePlanDialog #prepBuilderBack:is(:hover,:focus-visible){background:var(--prep-hover)!important}
html:root:not(#_) #onlinePlanDialog>form>.dialog-heading h2{margin:0 0 4px!important;color:var(--prep-text3)!important}
html:root:not(#_) #onlinePlanDialog .builder-title-field input{letter-spacing:-.01em;color:var(--prep-text)!important;}
html:root:not(#_) #onlinePlanDialog .builder-title-field input:focus{border-bottom-color:var(--prep-text2)!important;outline:none!important}
/* Angaben: ein Raster für Kalender, Datum, Startzeit, Ort, Track und Trainingsart/Ergometer */
html:root:not(#_) #onlinePlanDialog .online-plan-meta.builder-meta{display:grid!important;gap:12px 16px!important;padding:16px 22px 12px!important;}
html:root:not(#_) #onlinePlanDialog .online-plan-meta.builder-meta>*{min-width:0;margin:0!important}
html:root:not(#_) #onlinePlanDialog .online-plan-meta .online-plan-session-notes{grid-column:1/-1}
html:root:not(#_) #onlinePlanDialog .prep-builder-meta{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px 16px!important;padding:0 22px 16px!important;}
html:root:not(#_) #onlinePlanDialog .prep-builder-meta>label{margin:0!important;min-width:0;display:grid;gap:6px}
html:root:not(#_) #onlinePlanDialog .prep-builder-meta>label,html:root:not(#_) #onlinePlanDialog .online-plan-meta label>span:first-child{font-size:12px!important;font-weight:600!important;color:var(--prep-text3)!important}
html:root:not(#_) #onlinePlanDialog .prep-builder-meta>:not(label){align-self:end}
/* Ablauf */
html:root:not(#_) #onlinePlanDialog .builder-workspace{padding:16px 22px!important;gap:20px!important;border-top:0!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>h3{margin:0 0 10px!important;font-size:11px!important;font-weight:700!important;letter-spacing:.06em;text-transform:uppercase;color:var(--prep-text3)!important}
html:root:not(#_) #onlinePlanDialog .prep-starters{display:none!important}
html:root:not(#_) #onlinePlanDialog .prep-builder-template{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:12px;border:1px dashed var(--prep-line);border-radius:10px}
html:root:not(#_) #onlinePlanDialog .prep-builder-template[hidden]{display:none!important}
html:root:not(#_) #onlinePlanDialog .prep-builder-template>span{font-size:13px;color:var(--prep-text3)}
/* Fußleiste */
html:root:not(#_) #onlinePlanDialog .online-plan-actions{padding:12px 22px!important;gap:8px!important;background:var(--prep-bg2)!important;border-top:1px solid var(--prep-line)!important;align-items:center!important}
html:root:not(#_) #onlinePlanDialog .online-plan-actions .builder-duration{display:flex!important;flex-direction:column;align-items:flex-start;gap:1px;margin-right:auto!important;min-width:0}
html:root:not(#_) #onlinePlanDialog .online-plan-actions .builder-duration-label{order:0;font-size:12px!important;font-weight:600!important;color:var(--prep-text3)!important}
html:root:not(#_) #onlinePlanDialog .online-plan-actions .builder-duration-value{order:1;font-size:14px!important;font-weight:650!important;color:var(--prep-text)!important}
html:root:not(#_) #onlinePlanDialog .online-plan-actions :is(.builder-duration-range,.builder-duration-hint){order:2;font-size:12px!important;color:var(--prep-text3)!important}
html:root:not(#_) #onlinePlanDialog #deleteOnlinePlanButton{background:transparent!important;border-color:transparent!important;color:#f87171!important}
html[data-theme=light]:root:not(#_) #onlinePlanDialog #deleteOnlinePlanButton{color:#dc2626!important}
/* R6: in Fußleisten nur Nebenknöpfe (gleich grau) + ein Hauptknopf; Löschen als roter Text (Lars 20.11.2026: Knöpfe unten uneinheitlich) */
html:root:not(#_) #onlinePlanDialog #deleteOnlinePlanButton:is(:hover,:focus-visible){background:color-mix(in srgb,#ef4444 10%,transparent)!important}
@media (max-width:900px){html:root:not(#_) #onlinePlanDialog :is(.online-plan-meta.builder-meta,.prep-builder-meta){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* Titel: feine neutrale Linie, auch wenn er noch leer ist (alte Regel färbte ihn als Warnung braun); nicht volle Breite */
html:root:not(#_) body #onlinePlanDialog.planiq-builder #onlinePlanForm .dialog-heading .builder-title-field input:not(#_):not(#__),
html:root:not(#_) body #onlinePlanDialog.planiq-builder #onlinePlanForm .dialog-heading .builder-title-field input:not(#_):not(#__):placeholder-shown{border-bottom:1px solid var(--prep-line)!important;width:100%!important}
html:root:not(#_) body #onlinePlanDialog.planiq-builder #onlinePlanForm .dialog-heading .builder-title-field input:not(#_):not(#__):focus{border-bottom-color:var(--prep-text2)!important}
html:root:not(#_) #onlinePlanDialog #prepBuilderBack{justify-self:start!important;align-self:start!important;width:auto!important}

/* R2/R3 · Filterzeile und gemeinsame Lupe */
@media screen {
  html[data-prep-ui] :is(.coach-center-show,.prep-count-filter) .prep-filter-count{display:inline-block;min-width:1.4em;margin-inline-start:4px;background:var(--prep-line);line-height:1.5;text-align:center;font-variant-numeric:tabular-nums}
  html[data-prep-ui] .prep-inbox-count{background:var(--prep-green-fill);color:var(--prep-on-green);box-shadow:var(--prep-selection-inset)}
  html[data-prep-ui] :is(#mainContent .coach-center-filter, .prep-filter-bar) input[type=search] {
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b939b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")!important;
    background-repeat:no-repeat!important;
    background-size:16px 16px!important;
  }
  html[data-prep-ui] #appShell #mainContent .prep-filter-bar {
    display:flex;
    flex-wrap:wrap;
    align-items:end;
    gap:12px 16px;
    margin:0 0 20px;
    padding:0;
    background:none;
    border:0;
    box-shadow:none;
  }
  html[data-prep-ui] .prep-event-extra-filters {display:contents}
  html[data-prep-ui] :is(.prep-filter-bar,.prep-event-extra-filters,.analysis-athlete-context) > :is(label:not(:has(> input[type=checkbox])),.prep-event-view-field,.prep-count-filter) {
    display:grid;
    gap:6px;
    min-width:0;
    margin:0;
  }
  html[data-prep-ui] .prep-filter-bar label:has(> :is(input[type=search],select)) {
    flex:0 1 var(--prep-filter-select-width,170px);
  }
  html[data-prep-ui] .prep-filter-bar label:has(> input[type=search]) {
    flex-basis:var(--prep-filter-search-width,240px);
  }
  html[data-prep-ui] .prep-event-filters {
    --prep-filter-select-width:155px;
    --prep-filter-search-width:170px;
  }
  html[data-prep-ui] .prep-event-filters label:has(#eventOverviewAthleteFilter) {flex-basis:230px}
  html[data-prep-ui] .prep-filter-bar :is(label:not(:has(> input[type=checkbox])),.prep-event-view-field,.prep-count-filter) > span {
    color:var(--prep-text2);
    font-size:var(--prep-label-font);
    font-weight:500;
    line-height:16px;
  }
  html[data-prep-ui] .prep-filter-bar :is(input[type=search],select) {
    min-width:0;
    text-overflow:ellipsis;
  }
  html[data-prep-ui] .prep-filter-bar input[type=search] {width:100%}
  /* Die Feldbreite folgt dem Filterraster (compact-selects.css setzt fit-content). */
  html[data-prep-ui] #appShell .prep-filter-bar select {
    width:100%!important;
    field-sizing:fixed;
    max-width:100%;
  }
  html[data-prep-ui] #mainContent :is(#eventsView,#athletesView) :is(.prep-event-view,#eventOverviewPeriodFilter,#athleteStatusFilter) {
    display:inline-flex;
  }
}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] #appShell #mainContent .prep-filter-bar {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 12px;
  }
  html[data-prep-ui] #appShell #mainContent :is(.prep-event-filters,.prep-roster-filters) {
    grid-template-columns:repeat(2,minmax(0,1fr)) auto;
  }
  html[data-prep-ui] .prep-filter-search {grid-column:1/-1}
  html[data-prep-ui] :is(.prep-event-search,.prep-roster-filters .prep-filter-search) {grid-column:1/3}
  html[data-prep-ui] .prep-event-extra-filters {
    display:grid;
    grid-column:1/-1;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 12px;
  }
  html[data-prep-ui] .prep-event-filters:not([data-filters-open]) .prep-event-extra-filters,
  html[data-prep-ui] .prep-roster-filters:not([data-filters-open]) #athleteGroupField {display:none}
  html[data-prep-ui] .prep-event-view-field,
  html[data-prep-ui] .prep-count-filter {grid-column:1/-1}
  html[data-prep-ui] #mainContent :is(#eventsView,#athletesView) :is(.prep-event-view,#eventOverviewPeriodFilter,#athleteStatusFilter) {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
  }
  html[data-prep-ui] #mainContent :is(#eventsView,#athletesView) :is(#eventOverviewPeriodFilter,#athleteStatusFilter) {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  html[data-prep-ui] #mainContent :is(#eventsView,#athletesView) :is(.prep-event-view,#eventOverviewPeriodFilter,#athleteStatusFilter) > button {
    min-width:0;
    white-space:normal;
    line-height:1.15;
  }
  html[data-prep-ui] .prep-count-filter .prep-filter-count {
    display:block;
    width:max-content;
    margin:1px auto 0;
  }
}

/* R9 · Listen und Tabellen */
@media screen {
  html[data-prep-ui] .prep-event-table-section {
    min-width:0;
  }
  html[data-prep-ui] .prep-table-scroll {
    min-width:0;
    overflow-x:auto;
    border:1px solid var(--prep-line);
    border-radius:10px;
    background:var(--prep-surface);
  }
  html[data-prep-ui] .prep-list-table {
    width:100%;
    min-width:var(--prep-table-min-width,0px);
    table-layout:fixed;
    color:var(--prep-text);
    font-size:var(--prep-control-font);
    line-height:1.45;
  }
  html[data-prep-ui] .prep-list-table :is(th,td) {
    padding:10px 12px;
    font-size:inherit;
    line-height:inherit;
    text-align:start;
    vertical-align:top;
    overflow-wrap:anywhere;
    border-bottom:1px solid var(--prep-line);
  }
  html[data-prep-ui] :is(.prep-list-table,.prep-data-table) thead th {
    background:var(--prep-bg2);
    color:var(--prep-text2);
    font-size:var(--prep-label-font);
    font-weight:600;
  }
  html[data-prep-ui] .prep-event-list-table {--prep-table-min-width:660px}
  html[data-prep-ui] .prep-event-list-table thead th:nth-child(1) {width:18%}
  html[data-prep-ui] .prep-event-list-table thead th:nth-child(3) {width:14%}
  html[data-prep-ui] .prep-event-list-table thead th:nth-child(4) {width:25%}
  html[data-prep-ui] .prep-event-list-table thead th:nth-child(5) {width:7.5rem}
  html[data-prep-ui] .event-participants {display:grid;justify-items:start;gap:6px;min-width:0}
  html[data-prep-ui] .event-participant-names {display:grid;gap:4px;padding:0;margin:0;list-style:none;overflow-wrap:anywhere}
  html[data-prep-ui] .event-participants-empty {color:var(--prep-text2)}
  html[data-prep-ui] .event-participants-add {font-weight:550;white-space:normal;text-align:left}
  html[data-prep-ui] .prep-list-table tbody th {
    background:transparent;
    color:inherit;
    font:inherit;
  }
  html[data-prep-ui] .prep-list-table tbody tr:last-child > * {border-bottom:0}
  html[data-prep-ui] .prep-list-table .prep-text-action {
    max-width:100%;
    min-height:var(--prep-control-h);
    padding:0;
    font-size:inherit;
    line-height:inherit;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  html[data-prep-ui] .prep-list-table .prep-table-title {
    display:inline-flex;
    align-items:flex-start;
    gap:6px;
    font-weight:600;
  }
  html[data-prep-ui] .prep-table-title > [aria-hidden] {
    flex:none;
    line-height:inherit;
  }
  html[data-prep-ui] .prep-table-title > span:last-child {
    min-width:0;
    hyphens:auto;
    overflow-wrap:break-word;
  }
  html[data-prep-ui] .prep-list-table :is(small,summary) {
    color:var(--prep-text2);
    font-size:var(--prep-label-font);
  }
  html[data-prep-ui] .prep-list-table small {display:block}
  html[data-prep-ui] .prep-event-list-table summary {cursor:pointer}
  html[data-prep-ui] .prep-event-table-notes {white-space:pre-wrap}
  html[data-prep-ui] .prep-list-table :is([data-delete-planning-event],[data-remove-external-coach]) {color:var(--prep-bad)}
}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] .prep-event-list-table {--prep-table-min-width:660px}
}

/* Library und Analytics nutzen dieselbe sekundäre Navigation. */
@media screen {
  html[data-prep-ui]:root:not(#_) #appShell #mainContent .prep-page-tabs {
    display:flex;
    gap:16px;
    flex-wrap:nowrap;
    align-self:stretch;
    width:100%;
    margin:0 0 20px;
    padding:0;
    overflow:visible;
  }
  html[data-prep-ui]:root:not(#_) #appShell #mainContent .prep-page-tabs > :is(a,button) {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    margin-bottom:-1px;
  }
  html[data-prep-ui]:root:not(#_) #appShell #mainContent .prep-page-tabs > :is(a[aria-current="page"],button[aria-pressed="true"]) {
    border-bottom-color:var(--prep-accent);
    box-shadow:none!important;
  }
  html[data-prep-ui]:root:not(#_) #appShell #mainContent .prep-page-tabs > :is(a,button):not([aria-current="page"],[aria-pressed="true"]):hover {
    background:var(--prep-hover)!important;
  }
  html[data-prep-ui] .prep-analytics-tabs > a::before {
    content:"";
    width:16px;
    height:16px;
    flex:none;
    background:currentColor;
    mask:var(--prep-tab-icon) center/contain no-repeat;
  }
  html[data-prep-ui] .prep-analytics-tabs > a[href="#results"] {--prep-tab-icon:url("./ci-8.1/icons/gauge.svg?v=16ad4019f9f7")}
  html[data-prep-ui] .prep-analytics-tabs > a[href="#coach-analysis"] {--prep-tab-icon:url("./ci-8.1/icons/chart-no-axes-combined.svg?v=1f82608b4e02")}
  html[data-prep-ui] #appShell #mainContent :is(#resultsView,#coachAnalysisView) {gap:0}
  html[data-prep-ui] #appShell #mainContent :is(#resultsView,#coachAnalysisView) > .prep-page-tabs {order:1}
  html[data-prep-ui] #appShell #mainContent :is(#resultsView,#coachAnalysisView) > .prep-filter-bar {order:2}

  html[data-prep-ui] .prep-filter-bar .analysis-status-region:empty {display:none}
  html[data-prep-ui] .prep-analysis-sources {
    display:grid;
    gap:0;
    min-width:0;
  }
  html[data-prep-ui] .prep-analysis-sources legend,
  html[data-prep-ui] .prep-analysis-period > span {
    margin:0 0 6px;
    color:var(--prep-text2);
    font-size:var(--prep-label-font);
    font-weight:500;
    line-height:16px;
  }
  html[data-prep-ui] .prep-analysis-sources .analysis-source-options {
    display:flex;
    flex-wrap:wrap;
    gap:6px;
  }
  html[data-prep-ui] #mainContent .prep-analysis-sources label {
    display:inline-flex;
    width:auto;
    min-height:var(--prep-control-h);
    align-items:center;
    gap:6px;
    margin:0;
    padding:4px 8px;
    border:1px solid var(--prep-line);
    color:var(--prep-text2);
    background:var(--prep-bg2);
    cursor:pointer;
  }
  html[data-prep-ui] #mainContent .prep-analysis-sources label:has(input:checked) {
    background:var(--prep-raised);
    color:var(--prep-text);
  }
  html[data-prep-ui] .prep-analysis-sources label > span {
    font-size:var(--prep-control-font);
    font-weight:400;
  }
  html[data-prep-ui] .prep-analysis-sources input[type=checkbox] {
    width:16px;
    height:16px;
    min-height:16px;
    flex:0 0 16px;
  }
  html[data-prep-ui] #mainContent :is(#analysisLoadProfile,#coachLoadProfile) .prep-analysis-period {
    display:grid;
    align-self:start;
    justify-items:start;
    gap:0;
    width:auto;
    flex:0 1 auto;
  }
  html[data-prep-ui] #mainContent :is(#analysisLoadProfile,#coachLoadProfile) .load-profile-visual {
    aspect-ratio:auto;
    flex:1 1 300px;
  }
  html[data-prep-ui] #mainContent :is(#analysisLoadProfile,#coachLoadProfile) .load-profile-overview {
    align-items:start;
    gap:16px;
  }
  html[data-prep-ui] .prep-load-type-icon {
    display:inline-block;
    width:14px;
    height:14px;
    margin-inline-end:4px;
    vertical-align:-2px;
    background:var(--prep-text2);
    mask:var(--prep-type-icon) center/contain no-repeat;
  }
  html[data-prep-ui] :is(#exercisesView,#sessionsView,#weeksView,#resultsView,#coachAnalysisView)
    :is([data-training-type="other"],[data-exercise-group="other"],[data-session-group="other"]) {
    --prep-type-icon:url("./ci-8.1/icons/gauge.svg?v=16ad4019f9f7");
  }

  html[data-prep-ui] #appShell #mainContent .prep-list-surface {
    border:1px solid var(--prep-line);
    border-radius:10px;
    background:var(--prep-surface);
  }
}
/* Athletes nutzt das Filtermuster aus dem Coachcenter und die gemeinsamen Tabellen. */
@media screen {
  html[data-prep-ui] .prep-roster-filters {
    --prep-filter-search-width:170px;
    --prep-filter-select-width:230px;
  }
  html[data-prep-ui] .prep-roster-count {
    min-width:0;
    margin:0 0 6px auto;
    color:var(--prep-text2);
    font-size:var(--prep-label-font);
  }
  html[data-prep-ui] .prep-roster-section {
    min-width:0;
    margin-top:24px;
    padding-top:16px;
    border-top:1px solid var(--prep-line);
  }
  html[data-prep-ui] .prep-roster-section-head {
    display:flex;
    flex-wrap:wrap;
    align-items:flex-start;
    justify-content:space-between;
    gap:8px 16px;
    margin-bottom:12px;
  }
  html[data-prep-ui] #mainContent .prep-roster-section-head h2 {
    margin:0 0 4px;
  }
  html[data-prep-ui] .prep-roster-section-head p {margin:0}
  html[data-prep-ui] .prep-athletes-table {--prep-table-min-width:530px}
  html[data-prep-ui] .prep-athletes-table thead th:nth-child(1) {width:27%}
  html[data-prep-ui] .prep-athletes-table thead th:nth-child(2) {width:22%}
  html[data-prep-ui] :is(.prep-athletes-table,.prep-athlete-groups-table) thead th:last-child {width:8.5rem}
  html[data-prep-ui] :is(.prep-athletes-table,.prep-athlete-groups-table) tbody :is(th,td) {vertical-align:middle}
  .prep-roster-access {
    display:flex;
    flex-wrap:wrap;
    gap:6px 16px;
    margin:0;
    padding:0;
    list-style:none;
  }
  .prep-roster-access li {min-width:0;overflow-wrap:anywhere}
  .prep-roster-access :is(strong) {display:block}
  .prep-roster-more {margin-top:5px}
  .prep-roster-more summary {color:var(--prep-text2);cursor:pointer}
  .prep-roster-more > ul {margin-top:6px}
  html[data-prep-ui] .prep-table-title.prep-athlete-name {
    align-items:center;
    gap:10px;
    text-decoration:none;
  }
  html[data-prep-ui] .prep-athlete-name strong {
    font-weight:650;
    text-decoration:underline;
    text-underline-offset:2px;
  }
  html[data-prep-ui] .prep-athlete-name small {font-weight:400}
  html[data-prep-ui] .prep-athlete-avatar {
    position:relative;
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    overflow:hidden;
    border-radius:50%;
    background:var(--prep-bg2);
    color:var(--prep-text2);
    font-size:var(--prep-label-font);
    text-decoration:none;
  }
  html[data-prep-ui] .prep-athlete-avatar img {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
  }
  html[data-prep-ui] .prep-athlete-avatar img[data-loaded] {opacity:1}
  html[data-prep-ui] :is(.prep-athletes-table,.prep-athlete-groups-table) .status-pill {margin:0}
  html[data-prep-ui] :is(.prep-athletes-table,.prep-athlete-groups-table) .status-pill+small {margin-block-start:3px}
  html[data-prep-ui] .prep-external-coaches-table {--prep-table-min-width:410px}
  html[data-prep-ui] .prep-catalog-permission-form {display:grid;gap:12px}
  html[data-prep-ui] .prep-catalog-permission-form :is(p,fieldset) {margin:0}
  html[data-prep-ui] .prep-catalog-permission-form fieldset {display:grid;gap:8px;min-width:0;padding:0;border:0}
  html[data-prep-ui] .prep-catalog-permission-form label {display:flex;align-items:center;gap:8px}
  html[data-prep-ui] .prep-catalog-permission-form .form-actions {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}

  html[data-prep-ui]:root:not(#_) #mainContent .prep-library-view {
    gap:0;
    --prep-filter-search-width:240px;
  }
  html[data-prep-ui]:root:not(#_) #mainContent .prep-library-view:not(:has(.exercise-detail-open,.block-editor)) > .page-heading {
    display:flex;
    flex-flow:row nowrap;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    min-height:max(36px,var(--prep-control-h));
    margin:0 0 12px;
  }
  html[data-prep-ui]:root:not(#_) #mainContent .prep-library-view > .page-heading > h1 {margin:0}
  html[data-prep-ui]:root:not(#_) #mainContent .prep-library-view > .page-heading .page-actions {
    flex:none;
    width:auto;
    max-width:74%;
    margin:0;
  }
  html[data-prep-ui] #appShell #mainContent .prep-library-view > .prep-page-tabs {margin-bottom:14px}
  html[data-prep-ui] #appShell #mainContent .prep-library-view .prep-filter-bar > .page-primary {
    flex:none;
    margin-inline-start:auto;
  }
  html[data-prep-ui] #appShell #mainContent .prep-library-view .prep-filter-bar:has(> .page-primary:not([hidden])) {
    flex-wrap:nowrap;
  }
  html[data-prep-ui] #appShell #mainContent .prep-library-view .prep-filter-bar > .prep-roster-count + .page-primary {
    margin-inline-start:0;
  }

  html[data-prep-ui] #prepRecordBack {
    display:inline-flex;
    align-items:center;
    gap:5px;
    min-height:var(--prep-control-h);
    margin-bottom:8px;
    color:var(--prep-text2);
    font-size:var(--prep-control-font);
    text-decoration:none;
  }
  html[data-prep-ui] #prepRecordStatus {margin:8px 0}
  html[data-prep-ui]:root:not(#_) #prepPersonRecord > #athleteDialog[open] {
    position:static!important;
    inset:auto!important;
    width:100%!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    overflow:visible;
    background:transparent!important;
    box-shadow:none!important;
  }
  html[data-prep-ui]:root:not(#_) #prepPersonRecord #athleteForm {padding:0!important}
  html[data-prep-ui]:root:not(#_) #prepPersonRecord #athleteForm > .dialog-heading,
  html[data-prep-ui]:root:not(#_) #prepPersonRecord :is(.profile-detail-sidebar,#athleteDialogCloseButton) {display:none!important}
  html[data-prep-ui]:root:not(#_) #prepPersonRecord #athleteForm .prep-tab-hidden {display:none!important}
  html[data-prep-ui]:root:not(#_) #mainContent #prepPersonRecord .profile-detail-layout {display:block}
  html[data-prep-ui] :is(#prepPersonRecord,#profileView[data-profile-tabs]) .prep-record-heading {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:10px 20px;
    margin:0 0 16px;
  }
  html[data-prep-ui] :is(#prepPersonRecord,#profileView[data-profile-tabs]) .prep-record-identity {display:flex;align-items:center;gap:12px;min-width:0}
  html[data-prep-ui] :is(#prepPersonRecord,#profileView[data-profile-tabs]) .prep-record-heading .prep-athlete-avatar {width:48px;height:48px;flex:none}
  html[data-prep-ui] :is(#prepPersonRecord,#profileView[data-profile-tabs]) .prep-record-heading h1 {
    margin:0;
    line-height:1.2;
    overflow-wrap:anywhere;
  }
  html[data-prep-ui] :is(#prepPersonRecord,#profileView[data-profile-tabs]) .prep-record-heading h1:focus {outline:none!important}
  html[data-prep-ui] :is(#prepPersonRecord,#profileView[data-profile-tabs]) .prep-record-heading p {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:4px 10px;
    margin:4px 0 0;
    color:var(--prep-text2);
    font-size:var(--prep-label-font);
  }
  html[data-prep-ui] :is(#prepPersonRecord,#profileView[data-profile-tabs]) .prep-record-heading .status-pill {margin:0}
  html[data-prep-ui] #prepPersonRecord #athletePlanningButton {gap:6px}
  html[data-prep-ui] #prepPersonRecord #athletePlanningButton::before {
    content:"";
    width:16px;
    height:16px;
    flex:none;
    background:currentColor;
    mask:url("./ci-8.1/icons/sliders-horizontal.svg?v=2a333775136c") center/contain no-repeat;
  }
  html[data-prep-ui]:root:not(#_) #appShell #mainContent :is(#prepPersonRecord,#profileView[data-profile-tabs]) .prep-page-tabs {
    min-width:0;
    margin:0 0 16px;
    overflow-x:auto;
    scrollbar-width:thin;
  }
  html[data-prep-ui]:root:not(#_) #appShell #mainContent :is(#prepPersonRecord,#profileView[data-profile-tabs]) .prep-page-tabs > button {
    flex:none;
    margin:0;
    white-space:nowrap;
  }
  html[data-prep-ui] :is(#prepPersonRecord,#profileView[data-profile-tabs]) .prep-page-tabs > button:focus-visible {outline-offset:-3px}
  html[data-prep-ui]:root:not(#_) #mainContent :is(#prepPersonRecord,#profileView[data-profile-tabs]) .profile-detail-main {
    max-width:none;
    background:var(--prep-surface);
    border:1px solid var(--prep-line);
    border-radius:10px;
  }
  html[data-prep-ui] #prepPersonRecord :is(.profile-field-group) {border-color:var(--prep-line)}
  html[data-prep-ui] #prepPersonRecord .profile-detail-main > .dialog-actions {
    margin:0!important;
    padding:12px 20px!important;
    border-radius:0 0 9px 9px!important;
  }
  /* 04.12.2026 (Lars): Kein Streifen unten – nur „Speichern“ rechts am Ende des Formulars; Löschen steht rechts im Kopf. */
  html[data-prep-ui]:root:not(#_):not(#_) #mainContent #prepPersonRecord .profile-detail-main > .dialog-actions {
    position:static!important;
    justify-content:flex-end!important;
    padding:4px 20px 20px!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  html[data-prep-ui] #prepPersonRecord .prep-record-heading #athleteDeleteProfileButton {margin-left:auto}
  html[data-prep-ui]:root:not(#_) #mainContent #prepPersonRecord .profile-detail-main > .profile-detail-section {
    margin:0;
    padding:16px 20px;
    border-color:var(--prep-line);
  }
  html[data-prep-ui] #prepRecordOverview .prep-record-summary {
    display:flex;
    flex-wrap:wrap;
    gap:4px 20px;
    margin-bottom:16px;
    padding-bottom:12px;
    border-bottom:1px solid var(--prep-line);
    color:var(--prep-text2);
  }
  html[data-prep-ui] #prepRecordOverview .prep-record-summary strong {color:var(--prep-text);font-variant-numeric:tabular-nums}
  html[data-prep-ui] .prep-record-training {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px}
  html[data-prep-ui] .prep-record-training h2 {margin:0 0 8px;}
  html[data-prep-ui] .prep-record-training p,
  html[data-prep-ui] .prep-record-training small {margin:0;color:var(--prep-text2)}
  html[data-prep-ui] .prep-record-training ul {list-style:none;padding:0;margin:0}
  html[data-prep-ui] .prep-record-training li {display:grid;gap:2px;padding:8px 0;border-top:1px solid var(--prep-line)}
  html[data-prep-ui] .prep-record-training :is(strong,p,small) {overflow-wrap:anywhere}
  html[data-prep-ui]:root:not(#_) #prepPersonRecord #athleteDialogUploadsSection > .card-heading {
    column-gap:16px;
    row-gap:10px;
    margin-bottom:16px;
  }
  html[data-prep-ui] .prep-profile-files {list-style:none;padding:0;margin:0}
  html[data-prep-ui] .prep-profile-files > li {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:4px 16px;
    padding:10px 0;
    border-top:1px solid var(--prep-line);
    overflow-wrap:anywhere;
  }
  html[data-prep-ui] .prep-profile-files li > div {display:grid;gap:3px;flex:1 1 190px;min-width:0}
  html[data-prep-ui] .prep-profile-files small {font-size:var(--prep-label-font);color:var(--prep-text2)}
  html[data-prep-ui] .prep-profile-files a {
    display:inline-flex;
    align-items:center;
    min-height:var(--prep-control-h);
    font-weight:550;
    text-underline-offset:2px;
  }

  html[data-prep-ui]:root:not(#_) #blocksView .prep-block-list {margin:0;padding:0 12px;list-style:none}
  html[data-prep-ui]:root:not(#_) #blocksView .prep-block-list > li:last-child {border-bottom:0}
  html[data-prep-ui]:root:not(#_) #blocksView .prep-block-list .block-type-mini {background:none!important;color:var(--prep-text2)}

  html[data-prep-ui]:root:not(#_) #profilePlanningDialog {
    width:min(940px,calc(100% - 24px));
    max-height:calc(100dvh - 24px);
    overflow-y:auto;
    scroll-padding-top:56px;
  }
  html[data-prep-ui]:root:not(#_) #profilePlanningDialog .plan-athlete-detail-head {margin-bottom:20px}
  html[data-prep-ui]:root:not(#_) #profilePlanningDialog .plan-athlete-detail-head h2 {overflow-wrap:anywhere}
  html[data-prep-ui]:root:not(#_) #profilePlanningDialog .plan-field output {min-height:var(--prep-control-h)}
  html[data-prep-ui]:root:not(#_) #profilePlanningDialog .plan-days button {
    min-width:var(--prep-control-h);
    min-height:var(--prep-control-h);
    padding-inline:6px;
  }
  html[data-prep-ui]:root:not(#_) #profilePlanningDialog .plan-days button:not([aria-pressed="true"]):hover {background:var(--prep-hover)}
  html[data-prep-ui]:root:not(#_) #profilePlanningDialog .plan-grid .plan-input-unit input {padding-inline-end:2.5rem!important}
  html[data-prep-ui]:root:not(#_) #profilePlanningDialog .plan-field :is(input,select) {min-width:0;width:100%!important;max-width:100%}
}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui]:root:not(#_) #appShell #mainContent .view > .prep-page-tabs {gap:8px}
  html[data-prep-ui]:root:not(#_) #appShell #mainContent .prep-page-tabs > a {gap:4px}
  html[data-prep-ui]:root:not(#_) #appShell #mainContent .prep-page-tabs > a::before {width:14px;height:14px;flex-basis:14px}
  html[data-prep-ui] .prep-analysis-sources,
  html[data-prep-ui] .prep-filter-bar .analysis-athlete-picker,
  html[data-prep-ui] :is(#athleteGroupField,.prep-roster-count) {grid-column:1/-1}
  html[data-prep-ui] .prep-roster-count {margin:0}
  html[data-prep-ui]:root:not(#_) #appShell #mainContent :is(#prepPersonRecord,#profileView[data-profile-tabs]) .prep-page-tabs {gap:2px}
  html[data-prep-ui]:root:not(#_) #blocksView .prep-block-list .block-row-open {
    grid-template-columns:18px minmax(0,1fr);
    gap:4px 8px;
  }
  html[data-prep-ui]:root:not(#_) #blocksView .prep-block-list .block-row-cell {display:block;grid-column:2}
  html[data-prep-ui]:root:not(#_) #blocksView .prep-block-list .block-status {grid-column:2;justify-self:start}
  html[data-prep-ui] :is(#prepPersonRecord,#profileView[data-profile-tabs]) .prep-record-heading {justify-content:flex-start}
  html[data-prep-ui] :is(#prepPersonRecord,#profileView[data-profile-tabs]) .prep-record-identity {flex-basis:100%}
  html[data-prep-ui] .prep-record-training {grid-template-columns:minmax(0,1fr)}
  html[data-prep-ui]:root:not(#_) #profilePlanningDialog .plan-athlete-detail-head .page-actions {width:auto}
}
@media screen and (max-width:440px) {
  html[data-prep-ui]:root:not(#_) #appShell #mainContent .view > .prep-page-tabs:not(.prep-analytics-tabs) {gap:0}
  html[data-prep-ui]:root:not(#_) #appShell #mainContent .prep-page-tabs:not(.prep-analytics-tabs) > a {
    flex:1 1 0;
    min-width:0;
    flex-direction:column;
  }
}

/* Library › Weeks */
html[data-prep-ui] .prep-weeks-list {margin:0;padding:0 14px;list-style:none}
html[data-prep-ui] .prep-week-row {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) max-content;
  gap:8px 18px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid var(--prep-line);
  overflow-wrap:anywhere;
}
html[data-prep-ui] .prep-week-row:last-child {border-bottom:0}
html[data-prep-ui] :is(.prep-week-main,.prep-week-summary) {display:grid;gap:3px;min-width:0}
html[data-prep-ui] .prep-week-main strong {font-weight:650}
html[data-prep-ui] :is(.prep-week-main small,.prep-week-summary) {font-size:var(--prep-label-font);color:var(--prep-text2)}
html[data-prep-ui] .prep-week-types {display:flex;flex-wrap:wrap;gap:4px 12px}
html[data-prep-ui] .prep-week-type {display:inline-flex;align-items:center;gap:4px}
html[data-prep-ui] .prep-week-type::before {
  content:"";
  width:14px;
  height:14px;
  flex:none;
  background:currentColor;
  mask:var(--prep-type-icon) center/contain no-repeat;
}
html[data-prep-ui] .prep-week-actions {display:flex;flex-wrap:wrap;gap:6px}
html[data-prep-ui]:root:not(#_) #weeksView .prep-week-actions > :is(.quiet,.danger) {
  background:transparent!important;
  border-color:transparent!important;
}
html[data-prep-ui]:root:not(#_) #weeksView .prep-week-actions > .danger {color:var(--prep-bad)!important}
@media screen and (max-width:880px) {
  html[data-prep-ui] .prep-week-row {grid-template-columns:minmax(0,1fr)}
}
html:root:not(#_) #mainContent .view > .library-tabs > a[href="#weeks"]::before{content:"";width:16px;height:16px;flex:0 0 16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7A2 2 0 0 1 5.5 5h13a2 2 0 0 1 2 2v11.5a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2zM3.5 10h17M8 3v4M16 3v4M7 14.5h10'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7A2 2 0 0 1 5.5 5h13a2 2 0 0 1 2 2v11.5a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2zM3.5 10h17M8 3v4M16 3v4M7 14.5h10'/%3E%3C/svg%3E") center/contain no-repeat}
html:root:not(#_) #mainContent .view > .library-tabs > a[href="#plans"]::before{content:"";width:16px;height:16px;flex:0 0 16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3.5h6v3.5H9zM9 5H6.5A1.5 1.5 0 0 0 5 6.5v13A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5v-13A1.5 1.5 0 0 0 17.5 5H15M8.5 11.5h7M8.5 15.5h4.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3.5h6v3.5H9zM9 5H6.5A1.5 1.5 0 0 0 5 6.5v13A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5v-13A1.5 1.5 0 0 0 17.5 5H15M8.5 11.5h7M8.5 15.5h4.5'/%3E%3C/svg%3E") center/contain no-repeat}
html[data-external-coach] :is(#primaryNav,#userMenu,.library-tabs) a:is([data-view=weeks],[href="#weeks"],[data-view=plans],[href="#plans"]){display:none!important}

/* R9a: Wochenvorlage = Kalenderblatt mit Wochenzeile (Erstellen-Fenster, Werkzeugleiste, Panel, Library) */
html:root #calendarCreateDialog .prep-create-grid>[data-prep-week-load]{--pe-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7A2 2 0 0 1 5.5 5h13a2 2 0 0 1 2 2v11.5a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2zM3.5 10h17M8 3v4M16 3v4M7 14.5h10'/%3E%3C/svg%3E")}
/* ---------- Kalender-Seitenleiste: Panel „Weeks“ (wie Blocks) ---------- */
html:root:not(#_) :is(#calendarWeeksContent,#calendarPlansContent){display:grid;gap:10px;padding:8px 12px 16px}
html:root:not(#_) :is(#calendarWeeksContent,#calendarPlansContent)[hidden]{display:none!important}
html:root:not(#_) :is(#calendarWeeksContent,#calendarPlansContent) :is(.calendar-weeks-hint,.calendar-weeks-empty){margin:0;font-size:12.5px;line-height:1.45;color:var(--prep-text3)}
html:root:not(#_) :is(#calendarWeeksContent,#calendarPlansContent) .calendar-weeks-list{display:grid;gap:6px}
html:root:not(#_) :is(#calendarWeeksContent,#calendarPlansContent) .calendar-week-row{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--prep-line);border-radius:10px;background:var(--prep-surface);cursor:grab}
html:root:not(#_) :is(#calendarWeeksContent,#calendarPlansContent) .calendar-week-row:is(:hover,:focus-visible){background-image:linear-gradient(var(--prep-hover),var(--prep-hover))}
html:root:not(#_) :is(#calendarWeeksContent,#calendarPlansContent) .calendar-week-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:var(--prep-bg2);color:var(--prep-text2)}
html:root:not(#_) :is(#calendarWeeksContent,#calendarPlansContent) .calendar-week-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html:root:not(#_) :is(#calendarWeeksContent,#calendarPlansContent) .calendar-week-text{display:grid;gap:1px;min-width:0}
html:root:not(#_) :is(#calendarWeeksContent,#calendarPlansContent) .calendar-week-text strong{font-size:13px;font-weight:600;color:var(--prep-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:root:not(#_) :is(#calendarWeeksContent,#calendarPlansContent) .calendar-week-text small{font-size:12px;color:var(--prep-text3)}
html:root:not(#_) :is(#calendarWeeksContent,#calendarPlansContent) .calendar-weeks-manage{font-size:13px;font-weight:600;color:var(--prep-text2)}
html:root:not(#_) :is(#calendarWeeksContent,#calendarPlansContent) .calendar-weeks-manage:hover{text-decoration:underline;text-underline-offset:3px}
html:root:not(#_) :is(#calendarToolWeeks,#calendarToolPlans,#calendarToolPrint) svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ---------- R5 global: bei Maus/Finger nirgends ein Fokusrahmen (Safari zeigte ihn nach Klicks und Seitenwechseln) ---------- */
html[data-prep-input="pointer"]:root:not(#_) :is(*,*::before,*::after):is(:focus,:focus-visible){outline:none!important}
html[data-prep-input="pointer"]:root:not(#_) :is(button,a,summary,[tabindex],[role=tab],[role=button],[role=menuitem]):is(:focus,:focus-visible){box-shadow:none!important}
html:root:not(#_) #mainContent:focus{outline:none!important;box-shadow:none!important}

/* ---------- R9a Trainingsart-Kennzeichen im Kalender: einheitliche Symbole statt Schriftzeichen/Punkte ---------- */
html[data-prep-ui]:root:not(#_) .prep-type-symbol{display:inline-block!important;width:12px!important;height:12px!important;flex:0 0 12px;vertical-align:-1px;font-size:0!important;background:currentColor!important;-webkit-mask:var(--prep-type-icon) center/contain no-repeat!important;mask:var(--prep-type-icon) center/contain no-repeat!important}
html[data-prep-ui]:root:not(#_) li[data-training-type] .pws-dot{display:inline-block!important;width:12px!important;height:12px!important;flex:0 0 12px;border-radius:0!important;background:var(--prep-text2)!important;-webkit-mask:var(--prep-type-icon) center/contain no-repeat!important;mask:var(--prep-type-icon) center/contain no-repeat!important}
/* Coachcenter/Analytics: farbiges Quadrat → Trainingsart-Symbol in der Farbe der Trainingsart */
html[data-prep-ui]:root:not(#_) .training-type-marker{width:14px!important;height:14px!important;flex:0 0 14px!important;border-radius:0!important;-webkit-mask:var(--prep-type-icon) center/contain no-repeat!important;mask:var(--prep-type-icon) center/contain no-repeat!important}

html[data-prep-ui] #dashboardContent .coach-athlete-card .prep-daily-overview .freshness-trigger {
  min-height:0;
  padding:0;
  font:inherit;
}

/* Kalenderkarten: Titel nur zwischen Wörtern umbrechen (neben dem Trainingsart-Kennzeichen brachen sie buchstabenweise: „B M X 2“) */
html:root #trainingTimeline .session-card .session-title{overflow-wrap:break-word!important;word-break:normal!important}
/* Kalenderkarten: Ist die Karte schmal (< 180 px), zeigt das Trainingsart-Kennzeichen nur das Symbol – sonst bleiben dem Titel
   neben „Track“ nur ~13 px und er bricht buchstabenweise („B M X 2“). Der Name steht im Hinweistext. Gilt in Woche, Monat und Übersicht. */
html:root #trainingTimeline .session-card{container-type:inline-size;container-name:prepcard}
@container prepcard (max-width:180px){
  html:root:not(#_) #trainingTimeline .session-card .session-type-corner .session-training-type{font-size:0!important;gap:0!important;padding:3px 5px!important;line-height:0!important}
  html:root:not(#_) #trainingTimeline .session-card .session-type-corner{margin-left:4px!important}
}

/* Aktuelles Datum in Kalender und Athletecenter. */
html[data-prep-ui]{--prep-today-bg:var(--prep-green-fill);--prep-today-fg:var(--prep-on-green)}
html:root:not(#_) #trainingTimeline .calendar-day.today .calendar-day-heading{color:var(--prep-text)!important}
html:root:not(#_) #trainingTimeline.week-view .calendar-day.today .calendar-day-number,
html:root:not(#_) .mobile-calendar-day[aria-current="date"] > strong{background:var(--prep-today-bg)!important;color:var(--prep-today-fg)!important;border-radius:999px!important}
html:root:not(#_) .mobile-calendar-day[aria-current="date"] > strong{display:inline-grid;place-items:center;min-width:24px;min-height:24px;text-decoration:none}
html:root:not(#_) #trainingTimeline.week-view .calendar-day.today .calendar-day-number *{color:var(--prep-today-fg)!important}
html:root:not(#_) #trainingTimeline.month-view .calendar-day.today :is(.calendar-day-create>span,.calendar-day-label){display:inline-grid!important;place-items:center;min-width:26px;height:26px;padding:0 4px;box-sizing:border-box;border-radius:999px;background:var(--prep-today-bg)!important;color:var(--prep-today-fg)!important;font-weight:600!important}
#trainingTimeline .calendar-session-action{padding:0 8px 8px}
#trainingTimeline .calendar-session-action .button{width:100%;white-space:normal}
#trainingTimeline .calendar-day-date-group{display:flex;align-items:center;min-width:0;gap:3px;align-self:stretch}
#trainingTimeline .calendar-day-date-group>.calendar-day-create{min-width:0;overflow:hidden}
html:root:not(#_) #trainingTimeline.week-view .calendar-split-day-heading{
  container-name:calendar-day-head;
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;
  align-items:center;min-height:52px;background:var(--prep-surface)!important
}
#trainingTimeline .calendar-split-day-heading>.calendar-day-date-group{
  container:calendar-date/inline-size;
  display:grid;align-content:center;justify-items:start;gap:2px
}
html:root:not(#_) #trainingTimeline.week-view .calendar-split-day-heading .calendar-day-label{
  min-height:0;max-width:100%;overflow:hidden
}
html:root:not(#_) #trainingTimeline.week-view .calendar-split-day-heading .calendar-day-name{
  max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
  font-size:11px;font-weight:500;line-height:1.2;letter-spacing:normal;color:var(--prep-text2)
}
html:root:not(#_) #trainingTimeline.week-view .calendar-split-day-heading .calendar-day-number{
  height:24px;margin:0;padding-inline:0;color:var(--prep-text);font-size:18px;font-weight:650;line-height:1
}
html:root:not(#_) #trainingTimeline.week-view .calendar-day:not(.today) .calendar-split-day-heading .calendar-day-number{min-width:0}
html:root:not(#_) #trainingTimeline.week-view .calendar-day.today .calendar-split-day-heading .calendar-day-number{height:26px}
html:root:not(#_) #trainingTimeline.week-view .calendar-split-day-heading :is(.dd-m,.dd-l,.dn-long){display:none}
html:root:not(#_) #trainingTimeline.week-view .calendar-split-day-heading :is(.dn-short,.dd-s){display:inline}
#trainingTimeline .calendar-day-controls{display:flex;align-items:center;justify-content:flex-end;gap:2px}
html:root:not(#_) #trainingTimeline.week-view .calendar-split-day-heading .calendar-day-actions{
  position:static;transform:none;gap:0;padding:0;box-shadow:none!important
}
html:root:not(#_) #trainingTimeline:is(.week-view,.month-view) .calendar-day-heading .calendar-day-actions :is(.calendar-add,.calendar-range-menu){
  display:grid;place-items:center;align-self:center;line-height:1;margin:0!important;padding:0!important
}
.calendar-plus-icon{
  display:block;width:16px;height:16px;background:currentColor;
  mask:url("./ci-8.1/icons/plus.svg?v=ae486c2c7fb4") center/contain no-repeat
}
html:root:not(#_) #trainingTimeline.week-view .calendar-days:has(.calendar-split-day-heading) .calendar-week-head{
  min-height:52px
}
html[data-prep-ui]:root:not(#_) #trainingTimeline:is(.week-view,.month-view) .calendar-week-head{
  background:var(--prep-calendar-day-heading)!important
}
html[data-prep-ui] #calendarView .calendar-week-number{
  display:inline-block;padding:2px 6px;border-radius:4px;
  background:var(--prep-calendar-day-heading);color:var(--prep-text2)
}
@container calendar-date (min-width:72px){
  html:root:not(#_) #trainingTimeline.week-view .calendar-split-day-heading .dn-short{display:none}
  html:root:not(#_) #trainingTimeline.week-view .calendar-split-day-heading .dn-long{display:inline}
  html:root:not(#_) #trainingTimeline.week-view .calendar-day:not(.today)[data-calendar-date$="-01"] .calendar-split-day-heading .dd-s{display:none}
  html:root:not(#_) #trainingTimeline.week-view .calendar-day:not(.today)[data-calendar-date$="-01"] .calendar-split-day-heading .dd-m{display:inline}
}
@media (min-width:761px) and (min-height:501px){
  #trainingTimeline .calendar-day-controls{display:grid;grid-template-rows:26px minmax(24px,auto);gap:1px 0;justify-items:end}
  #trainingTimeline .calendar-day-controls>.calendar-day-actions{grid-row:2}
  html:root:not(#_) #trainingTimeline.week-view .calendar-split-day-heading .calendar-day-actions :is(.calendar-add,.calendar-range-menu){
    width:24px;min-width:24px;height:24px;min-height:24px
  }
}
@container calendar-day-head (max-width:76px){
  #trainingTimeline .calendar-split-day-heading>:is(.calendar-day-date-group,.calendar-day-controls){grid-column:1/-1}
  #trainingTimeline .calendar-day-controls{display:flex;justify-content:space-between;min-height:26px}
}
@container calendar-day-head (max-width:54px){
  #trainingTimeline .calendar-day-controls{flex-wrap:wrap}
  #trainingTimeline .calendar-split-day-heading .calendar-day-actions{flex:0 0 100%}
  html:root:not(#_) #trainingTimeline.week-view .calendar-split-day-heading .calendar-day-actions :is(.calendar-add,.calendar-range-menu){
    flex:1 1 0;width:auto;min-width:0
  }
}
html:root:not(#_) #trainingTimeline.month-view .calendar-day-heading:has(>.calendar-day-date-group){
  container:calendar-month-head/inline-size;
  flex-wrap:wrap;gap:0 3px
}
html:root:not(#_) #trainingTimeline.month-view .calendar-day-heading:has(>.calendar-day-date-group) .calendar-day-actions{
  display:flex;flex-wrap:wrap;max-width:100%;margin-inline-start:auto
}
#trainingTimeline.month-view .calendar-day-date-group{flex:none;max-width:100%;gap:0}
@container calendar-month-head (max-width:54px){
  #trainingTimeline.month-view .calendar-day-date-group{flex-basis:100%;flex-direction:column;align-items:flex-start}
  #trainingTimeline.month-view .calendar-day-heading .calendar-day-actions{flex:0 0 100%;flex-wrap:nowrap}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day-heading .calendar-day-actions :is(.calendar-add,.calendar-range-menu){
    flex:1 1 0;width:auto!important;min-width:0!important
  }
}
#trainingTimeline .calendar-day-availability{flex:none}
html[data-prep-ui] #trainingTimeline .calendar-availability-info{
  display:grid;place-items:center;width:25px;min-height:26px;
  padding:0;border:0;border-radius:5px;background:transparent;cursor:pointer
}
#trainingTimeline .calendar-availability-info:is(:hover,:focus-visible,[aria-expanded=true]){
  background:var(--prep-hover)
}
.calendar-availability-glyph{display:block;flex:none;width:16px;height:16px}
.calendar-availability-glyph:not(.bed-status-icon){
  position:relative;border:1.5px solid currentColor;border-radius:50%
}
.calendar-availability-glyph:not(.bed-status-icon)::after{
  content:"";position:absolute;top:2px;left:calc(50% - .75px);width:4px;height:5px;
  border-inline-start:1.5px solid currentColor;border-bottom:1.5px solid currentColor
}
[data-availability-status=unavailable] .calendar-availability-glyph{color:var(--prep-bad)}
[data-availability-status=unrestricted] .calendar-availability-glyph{color:var(--prep-ok)}
:is([data-availability-status=limited],[data-availability-status=review]) .calendar-availability-glyph{color:var(--prep-warn)}
:root{
  --prep-illness-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5v15m18 0v-6a2 2 0 0 0-2-2h-7v5M3 17h18M6 12a2 2 0 1 1 4 0 2 2 0 0 1-4 0'/%3E%3C/svg%3E");
  --prep-external-training-icon:url("./ci-8.1/icons/users.svg?v=1c42c00413a7")
}
.bed-status-icon[data-prep-avail=illness]{mask:var(--prep-illness-icon) center/contain no-repeat}
.bed-status-icon[data-prep-avail=external_training]{mask:var(--prep-external-training-icon) center/contain no-repeat}
.calendar-availability-popover{
  position:fixed;inset:var(--availability-y,8px) auto auto var(--availability-x,8px);margin:0;
  width:max-content;max-width:min(360px,calc(100vw - 16px));max-height:50dvh;
  overflow:auto;padding:10px 12px;border:1px solid var(--prep-line);border-radius:8px;
  background:var(--prep-surface);color:var(--prep-text);box-shadow:0 6px 24px #0003;
  font-size:.84rem;font-weight:400;line-height:1.35;text-align:start
}
.calendar-availability-popover[data-pinned=false]{pointer-events:none}
.calendar-availability-lines{
  display:grid;gap:4px;margin:6px 0 0;padding:0;list-style:none;color:var(--prep-text2);
  font-variant-numeric:tabular-nums;overflow-wrap:anywhere
}
#calendarCreateAvailability{
  margin:0 0 14px;padding:8px 10px;border-inline-start:2px solid var(--prep-line);
  border-radius:5px;background:var(--prep-bg2);color:var(--prep-text);font-size:.84rem
}
#calendarCreateAvailability>strong{display:flex;align-items:center;gap:6px}
@media(max-width:720px){
  .calendar-availability-popover{
    inset:auto 12px max(12px,env(safe-area-inset-bottom)) 12px;
    width:auto;max-width:none;padding:12px
  }
}
@media(pointer:coarse){
  html[data-prep-ui] #trainingTimeline.week-view .calendar-availability-info{width:44px;min-height:44px}
}
.prep-track-planning{
  grid-column:1/-1;padding:8px 12px;border-inline-start:3px solid var(--prep-line);
  border-radius:6px;background:var(--prep-bg2);color:var(--prep-text);font-size:.86rem
}
.prep-track-planning[hidden]{display:none!important}
.prep-track-planning[data-conflict=true]{border-inline-start-color:var(--prep-warn,var(--prep-bad))}
.prep-track-planning p{margin:0}
.prep-track-planning [data-track-planning-alternatives]{margin-block-start:6px}
.prep-track-planning [data-track-planning-alternatives] summary{width:fit-content;cursor:pointer;font-weight:600}
.prep-track-planning [data-track-planning-windows]{display:flex;flex-wrap:wrap;gap:6px}
.prep-track-planning [data-track-planning-windows]:not(:empty){margin-top:8px}
.prep-track-planning button{max-width:100%;white-space:normal;height:auto}
#calendarEntryAvailabilityHint{margin:0}
.calendar-report-note p{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
#calendarEntryDialog.calendar-reported-availability{width:min(520px,calc(100vw - 24px))}
.plan-athlete-availability{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}
.plan-athlete-availability>header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.plan-athlete-availability h4{margin:0 0 8px}
.plan-athlete-availability dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px;margin:0}
.plan-athlete-availability dd{margin:4px 0 0}
.plan-athlete-availability small{display:block;color:var(--prep-text2)}
/* Jahr: Kopfzeile des laufenden Monats bleibt wie alle anderen (Band, Höhe, Einzug, Linie); nur der Name darin ist die grüne Marke */
html:root:not(#_) #trainingTimeline .year-month.is-current .year-month-open{box-shadow:none!important;font-weight:600!important}
html:root:not(#_) #trainingTimeline .year-month.is-current .year-month-name{display:inline-flex;align-items:center;height:22px;margin-left:-8px;padding:0 8px;border-radius:999px;background:var(--prep-today-bg);color:var(--prep-today-fg);font-weight:650}
/* R9d: sehr schmale Karten (< 130 px): Symbol in eigener Zeile rechts oben, Titel volle Breite (sonst „TES / T“) */
@container prepcard (max-width:130px){
  html:root:not(#_) #trainingTimeline .session-card .session-type-corner{float:none!important;display:flex!important;justify-content:flex-end;margin:-2px 0 2px!important}
  html:root:not(#_) #trainingTimeline .session-card .session-title{padding-right:0!important}
}

/* Wochentagsposition für Tageszellen und Kopfzeilen, auch unter style-src 'self'. */
#trainingTimeline [data-calendar-day-index="0"] { --calendar-day-index: 0; }
#trainingTimeline [data-calendar-day-index="1"] { --calendar-day-index: 1; }
#trainingTimeline [data-calendar-day-index="2"] { --calendar-day-index: 2; }
#trainingTimeline [data-calendar-day-index="3"] { --calendar-day-index: 3; }
#trainingTimeline [data-calendar-day-index="4"] { --calendar-day-index: 4; }
#trainingTimeline [data-calendar-day-index="5"] { --calendar-day-index: 5; }
#trainingTimeline [data-calendar-day-index="6"] { --calendar-day-index: 6; }

/* Monatsansicht: Tageskopf wie in der Woche – eigene, eine Stufe dunklere Fläche mit Linie (Lars 20.11.2026) */
html:root:not(#_) #trainingTimeline.month-view .calendar-day-heading{background-color:color-mix(in srgb,var(--prep-text) 5%,var(--prep-surface))!important;border-bottom:1px solid var(--prep-line)!important}
html[data-theme="light"]:root:not(#_) #trainingTimeline.month-view .calendar-day-heading{background-color:var(--prep-calendar-day-heading)!important}
/* Monatsansicht: Tageskopf bis an die Ränder (Tag hat 2/4 px Innenabstand → helle Streifen zwischen den Köpfen) und ganze Kopfzeile reagiert auf Mouse-over wie in der Woche */
html:root:not(#_) #trainingTimeline.month-view .calendar-day-heading{margin:-2px -4px 4px!important;padding:0 4px!important}
@media screen and (min-width:761px) and (min-height:501px){
  html:root #trainingTimeline.month-view {
    --month-row-height:clamp(128px,calc((100dvh / var(--prep-z,1) - 212px)/5),220px); /* 02.12.2026 (Lars): leere Wochen nicht flach – fünf Wochen füllen die Höhe, auch bei Dichtestufe 90/85 % */
  }
  html:root:not(#_) #trainingTimeline.month-view .calendar-day-heading{
    min-height:44px;margin:0!important;padding:0 6px!important;
  }
  html:root:not(#_) #trainingTimeline.month-view .calendar-day{
    padding:0!important;
  }
  html:root:not(#_) #trainingTimeline.month-view .calendar-day-units{
    padding:6px;
  }
  @supports (grid-template-rows:subgrid){
    html:root:not(#_) #trainingTimeline.month-view .calendar-days{
      grid-template-rows:auto minmax(0,1fr);
      min-height:var(--month-row-height);
    }
    html:root:not(#_) #trainingTimeline.month-view .calendar-days>:is(.calendar-day,.calendar-week-actions.is-month){
      display:grid!important;
      grid-template-rows:subgrid;
      grid-row:span 2;
      align-items:stretch;
      gap:0!important;
      min-height:0!important;
      padding-bottom:0!important;
    }
    html:root:not(#_) #trainingTimeline.month-view .calendar-day-units{height:auto}
    html:root:not(#_) #trainingTimeline.month-view .prep-week-sum.is-compact{align-content:start;padding-top:6px}
  }
}

html:root:not(#_) #trainingTimeline.month-view .calendar-day-heading .calendar-day-create{flex:1 1 auto!important;min-width:0;justify-content:flex-start!important;text-align:start!important;border-radius:0!important}
@media (hover:hover){
  /* 20.11.2026 (Lars): Woche und Monat gleich – Kopf bleibt in Grundfarbe, nur die Datumsfläche (bis vor + ⋮) wird eckig getönt. */
  html[data-prep-ui]:root:not(#_) #trainingTimeline:is(.month-view,.week-view) .calendar-day-heading:hover:not(#_){background-image:none!important}
  html[data-prep-ui]:root:not(#_) #trainingTimeline:is(.month-view,.week-view) .calendar-day-heading .calendar-day-create:hover:not(#_){background-image:none!important;background-color:var(--prep-tint-12)!important;border-radius:0!important}
}
/* R4 (20.11.2026, Lars): Woche beim Überfahren wie Monat – Datumsfläche eckig über die volle Kopfhöhe statt abgerundeter 28-px-Knopf. */
html:root:not(#_) #trainingTimeline.week-view .calendar-day-heading .calendar-day-create{align-self:stretch!important;height:auto!important;min-height:0!important;border-radius:0!important}
/* Woche: + und ⋮ liegen über dem Zeilenende und tragen eine helle Ausblendkante (prep-v359.css). Beim Überfahren übernehmen sie die Tönung – ohne Kante –, damit es aussieht wie im Monat. */
@media (hover:hover){html[data-prep-ui]:root:not(#_) #trainingTimeline.week-view .calendar-day-heading:hover .calendar-day-actions:not(#_){box-shadow:none!important;background-image:none!important;padding-left:0!important}}
/* Woche: Datumsfläche reicht wie im Monat genau bis vor + ⋮ (die liegen absolut darüber) und füllt die volle Kopfhöhe ohne Innenabstand oben/unten. */
@media (hover:hover){html[data-prep-ui]:root:not(#_) #trainingTimeline.week-view .calendar-day-heading .calendar-day-create:hover:not(#_):not(#__){background-color:transparent!important;background-image:linear-gradient(to right,var(--prep-tint-12) calc(100% - 54px),transparent 0)!important}}
/* R4: + und ⋮ zeigen in ALLEN Kalenderansichten beim Überfahren die Tönung (bisher nur in der Woche) – auch auf getöntem Tageskopf erkennbar */
@media (hover:hover){
  html:root:not(#_) #trainingTimeline :is(.calendar-add,.calendar-range-menu,.session-menu-button,.calendar-more-link):is(:hover,[aria-expanded="true"]){background:var(--prep-hover)!important;border-radius:6px!important}
  html:root:not(#_) #trainingTimeline .calendar-day-heading:hover :is(.calendar-add,.calendar-range-menu):is(:hover,[aria-expanded="true"]){background:var(--prep-tint-14)!important}
}

/* ===== R8 Session-Planung, Vorschlag 20.11.2026: Angaben in einer Zeile, Startzeit-Umschalter als Beschriftung, drei gleiche Ablauf-Abschnitte ===== */
/* Angaben: Trainingsart · (Ergometer) · Kalender · Datum · Startzeit · Ort · Track – eine Zeile, Coach-Hinweis darunter */
html:root:not(#_) #onlinePlanDialog .online-plan-meta.builder-meta{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important}
html:root:not(#_) #onlinePlanDialog .online-plan-meta>label:is(.prep-type-field,#prepErgometerField){display:grid!important;gap:6px;margin:0!important;font-size:12px!important;font-weight:600!important;color:var(--prep-text3)!important;min-width:0}
html:root:not(#_) #onlinePlanDialog .online-plan-meta>label:is(.prep-type-field,#prepErgometerField)>select{color:var(--prep-text)!important}
html:root:not(#_) #onlinePlanDialog .online-plan-meta>#prepErgometerField[hidden]{display:none!important}
html:root:not(#_) #onlinePlanDialog .prep-builder-meta{border-bottom:0!important;padding-bottom:0!important}
html:root:not(#_) #onlinePlanDialog .prep-builder-meta:not(:has(>:not([hidden]):not(:empty))){display:none!important}
html:root:not(#_) #onlinePlanDialog .online-plan-meta.builder-meta{border-bottom:1px solid var(--prep-line)!important;padding-bottom:14px!important}
/* Startzeit · Uhrzeit ▾ – Umschalter in der grauen Beschriftungszeile */
html:root:not(#_) #onlinePlanDialog .online-plan-start-head{display:flex!important;align-items:center;gap:6px;justify-content:flex-start!important;font-size:12px!important;font-weight:600!important;color:var(--prep-text3)!important}
html:root:not(#_) #onlinePlanDialog .online-plan-start-head>span::after{content:" ·";color:var(--prep-text3)}
html:root:not(#_) #onlinePlanDialog #onlinePlanTimeMode{-webkit-appearance:none!important;appearance:none!important;width:auto!important;border-radius:0!important;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a9198' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right center/12px 12px no-repeat!important;box-shadow:none!important;color:var(--prep-text3)!important;cursor:pointer}
html:root:not(#_) #onlinePlanDialog #onlinePlanTimeMode:hover{color:var(--prep-text2)!important}
/* Ablauf: Warm-up · Hauptteil · Cool-down als gleiche Zeilen (R9): Name links, Knöpfe rechts in einer Reihe, darunter Hinweis/Einträge */
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px!important;margin:0 0 8px!important;padding:10px 12px!important;border:1px solid var(--prep-line)!important;border-radius:10px!important;background:var(--prep-surface)!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase>h4{flex:1 1 auto;order:0;margin:0!important;font-size:13px!important;font-weight:650!important;color:var(--prep-text)!important}
html:root #onlinePlanDialog .builder-outline>.builder-phase>h4::before{content:none!important;display:none!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase>:is(button,.button){order:1;flex:none}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase>.builder-phase-summary{display:block!important;flex-basis:100%;order:2;margin:-4px 0 0!important;font-size:12.5px!important;color:var(--prep-text3)!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase>.builder-phase-rows{flex-basis:100%;order:3}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase>label{flex-basis:100%;order:4}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase>[data-prep-phase-save]:disabled{display:none!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase>.builder-phase-summary{text-align:start!important;align-self:flex-start}
/* „Abschnitt bearbeiten“-Menü am Eintrag selbst verankern (nicht am ganzen Abschnitt – sonst lag es über den Kopf-Knöpfen) */
html:root:not(#_) #onlinePlanDialog .builder-phase-rows .online-training-block{position:relative!important}

/* ===== Session-Planung, Runde 2 (Lars 20.11.2026) ===== */
/* „Aus Vorlage laden“ klein oben im Kopf neben dem × */
html:root:not(#_) #onlinePlanDialog .dialog-heading>#prepBuilderTemplate{display:flex;align-items:center;margin:0 4px 0 auto!important;padding:0!important;border:0!important;background:none!important}
html:root:not(#_) #onlinePlanDialog .dialog-heading>#prepBuilderTemplate[hidden]{display:none!important}
html:root:not(#_) #onlinePlanDialog .dialog-heading>#prepBuilderTemplate>span{display:none}
html:root:not(#_) #onlinePlanDialog .dialog-heading>#prepBuilderTemplate>.button{padding:0 12px!important}
/* Kalender: keine Auswahl, Name in der Kopfzeile */
html:root:not(#_) #onlinePlanDialog .online-plan-meta>label.prep-field-quiet{display:none!important}
html:root:not(#_) #onlinePlanDialog>form>.dialog-heading h2{display:inline!important}
html:root:not(#_) #onlinePlanDialog .prep-builder-calendar{font-size:12.5px;font-weight:500;color:var(--prep-text3)}
html:root #onlinePlanDialog .prep-builder-calendar::before{}
html:root:not(#_) #onlinePlanDialog .prep-builder-calendar[hidden]{display:none}
/* R8 Builder (20.11.2026, Lars): Trainingsart · Datum stehen schon fest – als kleine Angabe in der Kopfzeile; Klick blendet die Felder zum Ändern ein. */




html:root:not(#_) #onlinePlanDialog .online-plan-meta>label.prep-type-field.prep-field-quiet:not(#_){display:none!important}
html:root:not(#_) #onlinePlanDialog>form>.dialog-heading .builder-title-field{margin-top:8px!important}
/* Titel: erkennbares Eingabefeld in Überschriftengröße */
html:root:not(#_) body #onlinePlanDialog.planiq-builder #onlinePlanForm .dialog-heading .builder-title-field input:not(#_):not(#__),
html:root:not(#_) body #onlinePlanDialog.planiq-builder #onlinePlanForm .dialog-heading .builder-title-field input:not(#_):not(#__):placeholder-shown{height:44px!important;min-height:44px!important;padding:0 12px!important;border:1px solid var(--prep-control)!important;border-radius:8px!important;background:var(--prep-surface)!important;font-size:18px!important;font-weight:650!important;max-width:560px!important}
html:root body #onlinePlanDialog.planiq-builder #onlinePlanForm .dialog-heading .builder-title-field input::placeholder{color:var(--prep-text3)!important;font-weight:500}
html:root:not(#_) body #onlinePlanDialog.planiq-builder #onlinePlanForm .dialog-heading .builder-title-field input:not(#_):not(#__):focus{border-color:var(--prep-text2)!important}
/* Warm-up / Cool-down optional: leer nur eine schmale Zeile mit „· optional“ */
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase.prep-empty-phase{padding:4px 6px 4px 12px!important;border-style:dashed!important;background:transparent!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase.prep-empty-phase>h4{font-size:12.5px!important;font-weight:600!important;color:var(--prep-text2)!important}
/* 20.11.2026 (Lars): „optional“ hinter Warm-up/Cool-down entfällt. */
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase.prep-empty-phase>.builder-phase-summary{display:none!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase.prep-empty-phase>:is(button,.button){height:28px!important;min-height:28px!important;padding:0 10px!important;font-size:12.5px!important}
html:root:not(#_) #onlinePlanDialog .dialog-heading>#prepBuilderTemplate{flex:none!important;width:auto!important}
html:root:not(#_) #onlinePlanDialog .dialog-heading>#prepBuilderTemplate>.button{width:auto!important;flex:none!important}

/* R3b (20.11.2026, Lars): Datum im Anlegen-Fenster (Weg „Session planen“ oben rechts) – kleines Feld in der Kontextzeile. */
html:root:not(#_) #calendarCreateDialog .calendar-create-context:has(.prep-create-date){display:flex!important;align-items:center;flex-wrap:wrap;gap:6px}
html[data-prep-ui]:root:not(#_) #calendarCreateDialog #calendarCreateContext input.prep-create-date:not(#_):not(#__):not(#___):not(#____){-webkit-appearance:none!important;appearance:none!important;display:inline-flex!important;align-items:center!important;width:auto!important;height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;margin:0!important;padding:0 8px!important;box-sizing:border-box!important;border:1px solid var(--prep-control)!important;border-radius:8px!important;background:var(--prep-surface)!important;color:var(--prep-text)!important;font:inherit!important;font-size:13.5px!important;font-weight:400!important;line-height:24px!important;font-variant-numeric:tabular-nums!important;cursor:pointer!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_) #calendarCreateDialog #calendarCreateContext input.prep-create-date:not(#_):not(#__):not(#___):not(#____):hover{background:var(--prep-hover)!important}
html:root:not(#_) #calendarCreateDialog .calendar-create-context .prep-create-date::-webkit-date-and-time-value{text-align:start;margin:0}
html:root:not(#_) #calendarCreateDialog .calendar-create-context .prep-create-date::-webkit-calendar-picker-indicator{margin:0 0 0 4px;padding:0;opacity:.55;cursor:pointer}
/* R4 (20.11.2026, Lars): Monat wie Woche – Datumsfläche über die volle Kopfhöhe, damit die Hover-Tönung eine glatte Fläche ist. */
html:root:not(#_) #trainingTimeline.month-view .calendar-day-heading .calendar-day-create:not(#_){align-self:stretch!important;margin-top:0!important;margin-bottom:0!important;height:auto!important;min-height:0!important}
/* R8 Builder (20.11.2026, Lars): Kopfzeile „Neue Trainingseinheit · Kalender“; Trainingsart und Datum als zwei kleine Auswahlfelder darunter
   (Klick öffnet die Auswahl genau dort). Die Trainingsart im Titeltext entfällt. */
html:root:not(#_) #onlinePlanDialog .dialog-heading h2 .builder-heading-type{display:none!important}
html:root #onlinePlanDialog .prep-builder-calendar::before{content:"·"!important;margin:0 6px!important}
html:root:not(#_) #onlinePlanDialog .prep-builder-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog #prepBuilderChips .prep-chip:not(#_):not(#__):not(#___){-webkit-appearance:none!important;appearance:none!important;position:relative;display:inline-flex!important;align-items:center;box-sizing:border-box!important;width:auto!important;margin:0!important;border-radius:8px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d858f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 8px center!important;background-size:12px 12px!important;color:var(--prep-text)!important;font:inherit!important;font-size:13px!important;cursor:pointer;box-shadow:none!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog #prepBuilderChips .prep-chip:not(#_):not(#__):not(#___):hover{background-color:color-mix(in srgb,var(--prep-text) 6%,var(--prep-surface))!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog #prepBuilderChips .prep-chip[hidden]:not(#_):not(#__):not(#___){display:none!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog #prepBuilderChips .prep-chip.prep-chip-date:not(#_):not(#__):not(#___) {
  padding:0!important;
  background-image:none!important;
}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog #prepBuilderChips .prep-chip-date input:not(#_):not(#__):not(#___) {
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0 10px!important;
  border:0!important;
  border-radius:inherit!important;
  background:transparent!important;
  font:inherit!important;
  box-shadow:none!important;
}
/* Titel, Startzeit, Ort, Track: auf breiten Bildschirmen eine Zeile; Titel als normales Feld (36 px) mit Beschriftung wie die anderen. */
html:root:not(#_) #onlinePlanDialog .online-plan-meta>.prep-title-field{display:grid!important;gap:6px;grid-column:1/-1}
@media (min-width:1000px){
  html:root:not(#_) #onlinePlanDialog .online-plan-meta.builder-meta:has(>.prep-title-field){display:flex!important;flex-wrap:wrap!important;align-items:flex-start}
  html:root:not(#_) #onlinePlanDialog .online-plan-meta.builder-meta:has(>.prep-title-field)>*{flex:1 1 150px}
  html:root:not(#_) #onlinePlanDialog .online-plan-meta.builder-meta:has(>.prep-title-field)>.prep-title-field{flex:2.2 1 280px}
  html:root:not(#_) #onlinePlanDialog .online-plan-meta.builder-meta:has(>.prep-title-field)>.online-plan-session-notes{flex:1 1 100%}
}
/* 20.11.2026 (Lars): Kopf in EINER Zeile: ‹ Zurück │ Neue Trainingseinheit · Kalender [Trainingsart ⌄] [Datum ⌄]; Überschrift größer.
   Reicht der Platz nicht, rutschen die Auswahlfelder in die zweite Zeile (Zurück und Überschrift bleiben oben). */
html:root:not(#_) #onlinePlanDialog .dialog-heading>div:has(>#prepBuilderChips):not(#_){display:flex!important;flex-wrap:wrap!important;align-items:center!important;min-width:0}
html:root:not(#_) #onlinePlanDialog .dialog-heading>div:has(>#prepBuilderChips)>#prepBuilderBack:not(#_){margin:0!important;padding-right:12px!important;border-right:1px solid var(--prep-line)!important;border-radius:0!important}
html:root:not(#_) #onlinePlanDialog .dialog-heading>div:has(>#prepBuilderChips)>h2:not(#_){margin:0!important;}
html:root #onlinePlanDialog .dialog-heading>div:has(>#prepBuilderChips)>h2 .prep-builder-calendar{}
html:root:not(#_) #onlinePlanDialog .dialog-heading>div:has(>#prepBuilderChips)>#prepBuilderChips:not(#_){margin:0!important}
/* R8 Builder-Kopf, Runde 2 (20.11.2026, Lars): eine ruhige Zeile – alles 32 px auf einer Mittellinie; Zurück nur als Pfeil;
   „Neue Trainingseinheit für Name“ als ein Satz; Auswahlfelder ohne Rahmen (zarte Fläche); „Aus Vorlage laden“ als leiser Textknopf mit Symbol. */
html:root:not(#_) #onlinePlanDialog .dialog-heading:has(#prepBuilderChips):not(#_){align-items:center!important}
html:root:not(#_) #onlinePlanDialog .dialog-heading>div:has(>#prepBuilderChips):not(#_){gap:8px 10px!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .dialog-heading #prepBuilderBack:not(#_):not(#__){display:inline-grid!important;place-items:center;margin:0 2px 0 -6px!important;}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .dialog-heading #prepBuilderBack:not(#_):not(#__):hover{background:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .dialog-heading #prepBuilderBack[hidden]:not(#_):not(#__){display:none!important}
html:root:not(#_) #onlinePlanDialog .dialog-heading>div:has(>#prepBuilderChips)>h2:not(#_){font-size:19px!important;font-weight:650!important;line-height:32px!important}
html:root:not(#_) #onlinePlanDialog .dialog-heading>div:has(>#prepBuilderChips)>h2 .prep-builder-calendar:not(#_){font-size:19px!important;font-weight:500!important;color:var(--prep-text2)!important}
html:root:not(#_) #onlinePlanDialog .dialog-heading>div:has(>#prepBuilderChips)>h2 .prep-builder-calendar:not(#_)::before{content:" " attr(data-prefix) " "!important;margin:0!important;white-space:pre}
html:root:not(#_) #onlinePlanDialog .dialog-heading>div:has(>#prepBuilderChips)>#prepBuilderChips:not(#_){margin-left:6px!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog #prepBuilderChips .prep-chip:not(#_):not(#__):not(#___){height:32px!important;min-height:32px!important;padding:0 28px 0 12px!important;border:0!important;background-color:color-mix(in srgb,var(--prep-text) 6%,var(--prep-surface))!important;font-weight:500!important;line-height:32px!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog #prepBuilderChips .prep-chip:not(#_):not(#__):not(#___):hover{background-color:color-mix(in srgb,var(--prep-text) 14%,var(--prep-surface))!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .dialog-heading #prepBuilderTemplate>.prep-tpl-button:not(#_):not(#__){display:inline-flex!important;align-items:center;gap:6px;}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .dialog-heading #prepBuilderTemplate>.prep-tpl-button:not(#_):not(#__):hover{background:var(--prep-hover)!important;color:var(--prep-text2)!important}
html:root:not(#_) #onlinePlanDialog .dialog-heading #prepBuilderTemplate>.prep-tpl-button::before{content:"";width:16px;height:16px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M8 13h8M8 16h5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M8 13h8M8 16h5'/%3E%3C/svg%3E") center/contain no-repeat}
/* 20.11.2026 (Lars): Hinweis „Vorauswahl für alle Efforts“ unter dem Track-Feld entfällt. */
html:root:not(#_) #onlinePlanDialog #onlineSessionTrackHint{display:none!important}
/* 20.11.2026 (Lars): Coach-Hinweis zur Session immer offen und klein – Beschriftung wie die anderen Felder, Feld einzeilig (36 px), wächst beim Schreiben. */
html:root:not(#_) #onlinePlanDialog .online-plan-session-notes>summary:not(#_){display:flex!important;align-items:baseline;gap:6px;list-style:none!important;min-height:0!important;height:auto!important;cursor:default!important;pointer-events:none}
html:root:not(#_) #onlinePlanDialog .online-plan-session-notes>summary::-webkit-details-marker{display:none}
html:root #onlinePlanDialog .online-plan-session-notes>summary::marker{content:""}
html:root:not(#_) #onlinePlanDialog .online-plan-session-notes>summary small{font-weight:400;color:var(--prep-text3)}
html:root:not(#_) #onlinePlanDialog .online-plan-session-notes>label{margin:0!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .online-plan-session-notes textarea:not(#_):not(#__){min-height:32px!important;padding:6px 10px!important;line-height:18px!important;max-height:240px}
html:root:not(#_) #onlinePlanDialog .online-plan-session-notes>label>.builder-accessible-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)}
html:root:not(#_) #onlinePlanDialog .online-plan-session-notes>label:not(#_){display:block!important}
/* Coach-Hinweis: Beschriftung exakt wie Titel/Ort (12,5 px, --prep-text3, 4 px Abstand zum Feld). */
html:root:not(#_) #onlinePlanDialog .online-plan-session-notes>summary:not(#_):not(#__){padding:0 0 4px!important;font-size:12.5px!important;line-height:16.875px!important;}
html:root:not(#_) #onlinePlanDialog .online-plan-session-notes>summary:not(#_):not(#__) :is(span,small){font-size:inherit!important;line-height:inherit!important;color:inherit!important}
html:root:not(#_) #onlinePlanDialog .online-plan-session-notes>summary:not(#_):not(#__) small{font-weight:400!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .online-plan-session-notes textarea:not(#_):not(#__):not(#___){margin:0!important}
html:root:not(#_) #onlinePlanDialog .online-plan-session-notes>label:not(#_):not(#__){line-height:0!important}
/* Coach-Hinweis: ohne „optional“ und ohne Ziehgriff – das Feld wächst beim Schreiben selbst (prepGrowNote). */
html:root:not(#_) #onlinePlanDialog .online-plan-session-notes>summary small{display:none!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .online-plan-session-notes textarea:not(#_):not(#__){resize:none;overflow-y:auto}
/* R8 Builder-Ablauf (20.11.2026, Lars): keine Kästen für Warm-up/Hauptteil/Cool-down – eine durchgehende Liste, darunter EIN „+ hinzufügen“.
   Warm-up- und Cool-down-Einträge tragen eine kleine Kennung; leere Abschnitte sind unsichtbar. */
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase:not(#_){margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;min-height:0!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase>:is(h4,[data-builder-add],[data-prep-add-part],[data-prep-phase-save],.builder-other-types):not(#_){display:none!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase.prep-empty-phase:not(:has(.builder-phase-summary:not(:empty))):not(#_){display:none!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase>.builder-phase-summary:empty{display:none!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase:is([data-builder-phase=warmUp],[data-builder-phase=coolDown]) .builder-block-choice>strong::before{content:var(--prep-phase-tag) " · ";font-weight:500;color:var(--prep-text3)}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase+.builder-phase{margin-top:6px!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>.prep-add-wrap{margin-top:10px}
html:root:not(#_) #onlinePlanDialog .builder-outline .prep-add-menu {
  position:fixed;
  z-index:30;
  display:grid;
  align-content:start;
  width:200px;
  overflow-y:auto;
  overscroll-behavior-y:contain;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
html:root:not(#_) #onlinePlanDialog .builder-outline .prep-add-menu.opens-above{transform:translateY(-100%)}
html:root:not(#_) #onlinePlanDialog .builder-outline .prep-add-menu[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .builder-outline .prep-add-menu>button:not(#_):not(#__){display:flex!important;align-items:center;width:100%!important;border:0!important;background:transparent!important;text-align:start!important;justify-content:flex-start!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .builder-outline .prep-add-menu>button:not(#_):not(#__):is(:hover,:focus-visible){background:var(--prep-hover)!important}
/* Übungsauswahl für Superset/Zirkel: gewählte Übungen mit Nummer, unten „N Übungen einfügen“. */
html:root:not(#_) .prep-picker-results>button[aria-pressed=true]{background:var(--prep-hover)!important;box-shadow:inset 3px 0 0 var(--prep-text2)}
html:root:not(#_) .prep-picker-results>button[data-prep-order]::before{content:attr(data-prep-order);display:inline-grid;place-items:center;min-width:20px;height:20px;margin-right:8px;border-radius:999px;background:var(--prep-text);color:var(--prep-surface);font-size:11.5px;font-weight:700}
html:root:not(#_) .prep-group-bar{display:flex;justify-content:flex-end;padding:10px 0 0;border-top:1px solid var(--prep-line);margin-top:8px}
/* Ablauf als eine Liste: Abschnittssummen nur, wenn ein Abschnitt keine Einträge, aber eine Gesamtdauer hat (z. B. „Warm-up · 15 min“). */
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase:not(.prep-empty-phase)>.builder-phase-summary{display:none!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase[data-builder-phase=mainPart]>.builder-phase-summary{display:none!important}
/* Blöcke: Name und Trainingsart liegen direkt im Blockkopf. */
html:root:not(#_) #onlinePlanDialog .prep-main-part:not(#_){margin:0 0 6px;padding:8px 10px 10px!important;border:1px solid var(--prep-line)!important;border-radius:10px!important;background:var(--prep-surface)}
html:root:not(#_) #onlinePlanDialog .prep-main-part>header:not(#_){display:flex;align-items:end;gap:8px;padding:0 0 8px!important}
#onlinePlanDialog .prep-part-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);flex:1;min-width:0;gap:8px}
#onlinePlanDialog .prep-part-fields label{display:grid;gap:4px;margin:0}
#onlinePlanDialog .prep-part-fields label>span{font-size:var(--prep-label-font,12.5px);line-height:1.25;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__) body #onlinePlanDialog.planiq-builder .prep-part-fields :is(.prep-part-title,.prep-part-type):not(#___){width:100%!important;min-width:0;margin:0!important;}
@media(max-width:540px){
  #onlinePlanDialog .prep-part-fields{grid-template-columns:minmax(0,1fr)}
  #onlinePlanDialog .prep-main-part>header>:is(.prep-part-close){align-self:start;margin-block-start:20px}
}
html:root:not(#_) #onlinePlanDialog .prep-pending-hint{margin:0;padding:6px 2px 0;font-size:12.5px;color:var(--prep-text3)}
/* In einem benannten Block steht die Abschnitts-Kennung „Warm-up ·“ nicht noch einmal vor jeder Übung. */
html:root #onlinePlanDialog .builder-outline .prep-main-part .builder-block-choice>strong::before{content:none!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase:has(.prep-pending-part):not(#_){display:flex!important}
html:root:not(#_) #onlinePlanDialog .builder-outline>.builder-phase>.prep-main-part{flex:1 1 100%;width:100%;box-sizing:border-box}
/* Gesamtdauer im Block: eine schmale Zeile unten („Gesamtdauer [m:ss]“), Hinweis klein daneben. */
html:root:not(#_) #onlinePlanDialog .prep-main-part>label.prep-phase-time-in-block{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:8px 0 0!important;padding-top:8px;border-top:1px solid var(--prep-line);font-size:12.5px!important;font-weight:600!important;color:var(--prep-text3)!important}
html:root:not(#_) #onlinePlanDialog .prep-main-part>label.prep-phase-time-in-block[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .prep-main-part>label.prep-phase-time-in-block input:not(#_):not(#__){width:84px!important;height:30px!important;min-height:30px!important}
html:root:not(#_) #onlinePlanDialog .prep-main-part>label.prep-phase-time-in-block small{font-weight:400;color:var(--prep-text3)}
/* Pause zur nächsten Übung (20.11.2026, Lars): schmale eigene Zeile unter dem Eintrag – „Pause · 8:00“, Klick ändert, × entfernt. */
html:root:not(#_) #onlinePlanDialog .prep-rest-row{display:flex;align-items:center;gap:4px;margin:6px 0 2px;padding:0 4px 0 0;border:1px dashed var(--prep-line);border-radius:8px;background:color-mix(in srgb,var(--prep-bg2) 60%,transparent)}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .prep-rest-row>.prep-rest-remove:not(#_):not(#__){width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--prep-text3)!important;font-size:17px!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .prep-rest-row>.prep-rest-remove:not(#_):not(#__):hover{background:var(--prep-hover)!important}
html:root:not(#_) #onlinePlanDialog .builder-choice-wrap>.prep-rest-row{grid-column:1/-1;grid-row:auto}
/* 25.11.2026 (Lars): Pause als eigene Trennzeile zwischen zwei Übungen – Zeit direkt änderbar, daneben freiwilliger Hinweis. */
html:root:not(#_):not(#__) #onlinePlanDialog .prep-rest-row.prep-rest-between{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;min-height:44px;margin:4px 0;padding:4px 0 4px 12px;border:1px dashed var(--prep-line);border-radius:8px;background:color-mix(in srgb,var(--prep-bg2) 60%,transparent)}
html:root:not(#_):not(#__) #onlinePlanDialog .prep-rest-between>.prep-rest-label{display:inline-flex;align-items:center;gap:8px;color:var(--prep-text2);font-size:13px;font-weight:600}
html:root:not(#_):not(#__) #onlinePlanDialog .prep-rest-between>.prep-rest-label::before{content:"";width:14px;height:14px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 9v6M14 9v6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 9v6M14 9v6'/%3E%3C/svg%3E") center/contain no-repeat}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-rest-between>input{height:var(--prep-control-h,32px)!important;min-height:var(--prep-control-h,32px)!important;margin:0!important;font-size:13px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-rest-between>input.prep-rest-time{width:76px!important;flex:none;text-align:center;font-variant-numeric:tabular-nums;font-weight:600}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-rest-between>input.prep-rest-note{flex:1 1 180px;min-width:0;width:auto!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-rest-between>.prep-rest-remove:not(#____){width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:-4px 0 -4px auto!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--prep-text3)!important;font-size:17px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-rest-between>.prep-rest-remove:not(#____):hover{background:var(--prep-hover)!important}
html:root:not(#_):not(#__) #onlinePlanDialog .builder-group-box>.prep-rest-row.prep-rest-between{margin:8px 0 0}
/* Einheiten-Detail (21.11.2026, Lars): benannte Blöcke mit Überschrift, Pause zur nächsten Übung als eigene Zeile. */
html:root:not(#_) .planned-part{margin:0 0 10px;padding:10px 12px 4px;border:1px solid var(--prep-line);border-radius:10px}
html:root:not(#_) .planned-part>h4{margin:0 0 6px!important;font-size:13px!important;font-weight:650!important;color:var(--prep-text)!important}
html:root:not(#_) .planned-rest{display:flex;align-items:center;gap:8px;margin:6px 0 10px;padding:6px 10px;border:1px dashed var(--prep-line);border-radius:8px;font-size:12.5px;font-weight:600;color:var(--prep-text2)}
html:root:not(#_) .planned-rest::before{content:"";width:14px;height:14px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 9v6M14 9v6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 9v6M14 9v6'/%3E%3C/svg%3E") center/contain no-repeat}
html:root:not(#_) .planned-rest>.planned-rest-note{font-weight:400;min-width:0;overflow-wrap:anywhere} /* 25.11.2026 (Lars): Hinweis zur Pause */
/* Einheiten-Detail als ein Ablauf (21.11.2026, Lars): keine Abschnitts-Aufklapper; Warm-up/Cool-down ohne eigenen Block stehen im Block „Warm-up“/„Cool-down“. */
html:root:not(#_) .compact-unit-flow{padding:4px 0 2px}
html:root:not(#_) .compact-unit-flow .planned-flow>.planned-blocks{display:grid;gap:0;margin:0}
html:root:not(#_) .compact-unit-flow .planned-flow>.planned-blocks>.planned-block{margin:0 0 10px}
/* Kurzablauf auf der Kalenderkarte (21.11.2026, Lars): Pause nach der Übung als schlichte Zeile mit Pausenzeichen statt Punkt. */
html[data-prep-ui]:root:not(#_) .session-card .flow-item.flow-rest{color:var(--prep-text3)}
html[data-prep-ui]:root:not(#_) .session-card .flow-item.flow-rest>strong{font-weight:500}
html[data-prep-ui]:root:not(#_) .session-card .flow-item.flow-rest::before{content:"";width:9px;height:9px;flex:none;margin-right:1px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M9 6v12M15 6v12'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M9 6v12M15 6v12'/%3E%3C/svg%3E") center/contain no-repeat}
/* ===== R3b/R8 Übungsmaske (21.11.2026, Lars) =====
   „+ Übung“ legt eine Maske an; die Übung wird dort über ein Dropdown mit Suche und Trainingsart gewählt.
   In der geöffneten Übung: kein doppelter Titel, keine „Abschnittsart“, Aktionen als ⋮ oben rechts, „Übung bearbeiten“ als leiser Link. */
html:root:not(#_) #onlinePlanDialog .prep-exercise-mask{flex:1 1 100%;box-sizing:border-box;margin:6px 0;padding:10px 12px 12px;border:1px solid var(--prep-control);border-radius:10px;background:var(--prep-surface)}
html:root:not(#_) #onlinePlanDialog .prep-exercise-mask-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
html:root:not(#_) #onlinePlanDialog .prep-exercise-mask-label{font-size:12.5px;font-weight:600;color:var(--prep-text3)}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .prep-mask-cancel:not(#_):not(#__):hover{background:var(--prep-hover)!important}
/* Dropdown */
html:root:not(#_) .prep-combo{position:relative;width:100%}
html[data-prep-ui]:root:not(#_) .prep-combo .prep-combo-input:not(#_):not(#__){width:100%!important;border:1px solid var(--prep-control)!important;border-radius:8px!important;background:var(--prep-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d858f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center/12px!important;color:var(--prep-text)!important;}
html:root:not(#_) .prep-combo-pop{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:40;display:grid;gap:6px;max-height:340px;padding:6px;border:1px solid var(--prep-line);border-radius:10px;background:var(--prep-surface);box-shadow:0 12px 32px rgba(0,0,0,.18)}
html:root:not(#_) .prep-combo-pop[hidden]{display:none!important}
html:root:not(#_) .prep-combo-types{display:flex;flex-wrap:wrap;gap:4px;padding:2px 2px 6px;border-bottom:1px solid var(--prep-line)}
html:root:not(#_) .prep-combo-list{overflow:auto;max-height:270px;display:grid;gap:1px}
html[data-prep-ui]:root:not(#_) .prep-combo-list>.prep-combo-option:not(#_):not(#__){display:flex!important;align-items:center;justify-content:space-between!important;gap:10px;width:100%!important;border:0!important;background:transparent!important;color:var(--prep-text)!important;text-align:start!important}
html[data-prep-ui]:root:not(#_) .prep-combo-list>.prep-combo-option:not(#_):not(#__):is(:hover,[aria-selected=true]){background:var(--prep-hover)!important}
html:root:not(#_) .prep-combo-list>.prep-combo-option>small{font-size:11.5px;color:var(--prep-text3);white-space:nowrap}
html:root:not(#_) .prep-combo-empty{margin:6px 10px;font-size:13px;color:var(--prep-text3)}
/* 25.11.2026: Suchtreffer aus anderen Bereichen unter einer Trennzeile, Bereich als Marke (nicht nur Farbe: Text) */
html:root:not(#_) .prep-combo-sep{margin:6px 0 2px;padding:8px 10px 2px;border-top:1px solid var(--prep-line);font-size:11.5px;font-weight:600;color:var(--prep-text3);text-transform:uppercase;letter-spacing:.04em}
/* Geöffnete Übung aufräumen */
html:root:not(#_) #onlinePlanDialog .builder-editor>:is(.builder-context,.builder-editor-title):not(#_){display:none!important}
html:root:not(#_) #onlinePlanDialog .online-training-block label:has(>[data-builder-block-mode]):not(#_){display:none!important}
html:root:not(#_) #onlinePlanDialog .online-training-block .builder-block-settings:not(:has(label:not(:has([data-builder-block-mode])))):not(#_){display:none!important}
html:root:not(#_) #onlinePlanDialog .online-training-block:has(.prep-exercise-switch) label.managed-exercise-picker:not(#_){display:none!important}
html:root:not(#_) #onlinePlanDialog .online-training-block:has(.prep-exercise-switch) .managed-exercise>strong:not(#_){display:none!important}
html:root:not(#_) #onlinePlanDialog .prep-exercise-switch{display:grid!important;gap:4px;margin:0 0 12px!important;font-size:12.5px!important;font-weight:600!important;color:var(--prep-text3)!important}
html:root:not(#_) #onlinePlanDialog .online-training-block{position:relative}
html:root:not(#_) #onlinePlanDialog .online-training-block>details.builder-block-menu:not(#_){position:absolute!important;right:0;z-index:5;margin:0!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .online-training-block>details.builder-block-menu>summary:not(#_):not(#__){display:inline-grid!important;place-items:center;width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:transparent!important;font-size:0!important;list-style:none;cursor:pointer}
html:root:not(#_) #onlinePlanDialog .online-training-block>details.builder-block-menu>summary::-webkit-details-marker{display:none}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .online-training-block>details.builder-block-menu>summary:not(#_):not(#__):hover{background:var(--prep-hover)!important}
html:root:not(#_) #onlinePlanDialog .online-training-block:has(>details.builder-block-menu) .prep-exercise-switch{margin-right:40px!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .managed-exercise-edit:not(#_):not(#__){width:auto!important;height:auto!important;min-height:0!important;margin:0 0 10px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--prep-text2)!important;font-size:12.5px!important;font-weight:500!important;text-decoration:underline;text-underline-offset:3px;justify-self:start}
html:root:not(#_) #onlinePlanDialog .builder-coach-disclosure small[data-builder-optional]{display:none!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .prep-combo .prep-combo-input:not(#_):not(#__):not(#___){max-width:none!important;flex:1 1 auto}
html:root:not(#_) .prep-combo-field{display:flex;width:100%}
html:root:not(#_) #onlinePlanDialog .prep-pending-part:has(.prep-exercise-mask)>.prep-pending-hint{display:none}
html:root:not(#_) #onlinePlanDialog .online-training-block .online-plan-values>.prep-exercise-switch:not(#_):not(#__){padding-right:66px!important;margin-right:0!important;box-sizing:border-box}
html:root #onlinePlanDialog .online-training-block>details.builder-block-menu>summary::before{content:none!important;display:none!important}
html:root:not(#_) #onlinePlanDialog .online-training-block>details.builder-block-menu:not(#_){top:18px!important}
html:root:not(#_) #onlinePlanDialog .online-training-block :is(.prep-sport-fields,.builder-coach-disclosure)>summary:not(#_){font-size:13px!important;font-weight:600!important;color:var(--prep-text2)!important;padding:6px 0!important}
html:root:not(#_) #onlinePlanDialog .online-training-block .builder-coach-disclosure>summary span:not(#_){font-size:inherit!important;font-weight:inherit!important}
html:root:not(#_) #onlinePlanDialog .online-training-block>details.builder-block-menu>summary::after{content:""!important;width:16px;height:16px;background:var(--prep-text2);-webkit-mask:var(--prep-menu-chevron-image) center/contain no-repeat;mask:var(--prep-menu-chevron-image) center/contain no-repeat}
/* ⋮-Menü der Übung wie „+ hinzufügen“ (R7): weiße Fläche, Einträge ohne eigene Fläche, Tönung beim Überfahren, Entfernen rot. */
html:root:not(#_) #onlinePlanDialog .online-training-block>details.builder-block-menu>.online-block-actions:not(#_){position:absolute!important;right:0;top:calc(100% + 4px);z-index:30;display:grid!important;gap:0!important;min-width:190px;max-height:none!important;overflow:visible!important;padding:4px!important;border:1px solid var(--prep-line)!important;border-radius:10px!important;background:var(--prep-surface)!important;box-shadow:0 10px 30px rgba(0,0,0,.18)!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .online-block-actions>button:not(#_):not(#__){display:flex!important;align-items:center;justify-content:flex-start!important;width:100%!important;margin:0!important;border:0!important;background:transparent!important;text-align:start!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .online-block-actions>button:not(#_):not(#__):is(:hover,:focus-visible):not(:disabled){background:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .online-block-actions>button:disabled:not(#_):not(#__){color:var(--prep-text3)!important;opacity:.6}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .online-block-actions>button.online-remove:not(#_):not(#__){margin-top:4px!important;border-top:1px solid var(--prep-line)!important;color:#d14343!important}
html:root:not(#_) #onlinePlanDialog .online-training-block>details.builder-block-menu>.online-block-actions:not(#_):not(#__){grid-template-columns:1fr!important;grid-auto-flow:row;width:200px!important}


/* ===== R3c Einheitliche Höhe (--prep-control-h) ===== */
/* Stufe 3 (28.11.2026): R6-Knöpfe stehen im Block „R6 Knöpfe“ am Dateiende. Hier bleiben nur die Werkzeugleiste und
   Menü-/Auswahl-Einträge, die als .button gebaut sind (Ausnahmen, eigenes Maß). Umschalter: Block „R3c Umschalter und Reiter“ (Stufe 5). */
html[data-prep-ui]:root:not(#_):not(#__) :is(.calendar-tool-button,:is(.button,button.primary,button.secondary):where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.calendar-create-options>.button,.prep-create-grid>.button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(.topbar-menu > button)):not(.prep-rest-open):not(.prep-combo-option):not(.prep-multiline-button):not(#___):not(#____){height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;padding-top:0!important;padding-bottom:0!important;box-sizing:border-box!important}
/* ===== R11 Dichtestufen (21.11.2026, Lars: „es soll immer gut aussehen“) =====
   Die ganze Oberfläche wird je Fensterbreite gleichmäßig verkleinert – Verhältnisse von Schrift, Feldern, Karten und Abständen bleiben gleich.
   ab 1680 px: normal · 1280–1679 px: 90 % · 761–1279 px: 85 % · Handy (≤ 760 px): eigene Handy-Größen, kein Zoom. */
@media (min-width:1280px) and (max-width:1679.98px){html[data-prep-ui]{--prep-z:.9;zoom:.9;max-width:none;width:calc(100vw / .9);min-height:calc(100vh / .9)}}
@media (min-width:761px) and (max-width:1279.98px) and (min-height:501px){html[data-prep-ui]{--prep-z:.85;zoom:.85;max-width:none;width:calc(100vw / .85);min-height:calc(100vh / .85)}}
@media (min-width:761px) and (max-width:1679.98px) and (min-height:501px){html[data-prep-ui] body{max-width:none!important;width:auto!important}}
/* R11: Flächen in Bildschirmhöhe (100vh/100dvh) durch den Faktor teilen, sonst bleibt unten ein Streifen frei. */
/* 02.12.2026 (Lars): leere Woche auch auf breiten Bildschirmen (ab 1680 px) bildschirmhoch */
@media screen and (min-width:1680px) and (min-height:501px){html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.week-view .calendar-day{min-height:max(320px,100dvh - 260px)!important}}
@media (min-width:761px) and (max-width:1679.98px) and (min-height:501px){
html[data-prep-ui]:root:not(#_) .app-shell{min-height:calc(100vh / var(--prep-z,1))!important}
html[data-prep-ui]:root:not(#_) body:has(#calendarView:not([hidden])){height:calc(100dvh / var(--prep-z,1))!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.week-view .calendar-day{min-height:max(320px,100dvh / var(--prep-z,1) - 260px)!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent:has(#calendarView:not([hidden])){height:calc(100dvh / var(--prep-z,1) - 60px)!important}
}
/* ===== R2/R3b Beschriftungen wie im Coachcenter (21.11.2026, Lars): 12,5 px · 500 · --prep-text2, überall (Seiten, Popups, Builder).
   Felder: Schrift 400 (Suchfelder hatten 500). ===== */
html[data-prep-ui]:root:not(#_):not(#__) :is(#mainContent,dialog,#calendarSidebar,.recovery-shell) label:has(>:is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea,.prep-combo,.prep-chip)):not(.prep-chip):not(#___){font-size:var(--prep-label-font)!important;font-weight:500!important;color:var(--prep-text2)!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(#mainContent,dialog,#calendarSidebar,.recovery-shell) label:has(>:is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea,.prep-combo)) > :is(span,strong):not(.prep-chip-text):not(.builder-accessible-label):not(#___){font-size:var(--prep-label-font)!important;font-weight:500!important;color:var(--prep-text2)!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .online-plan-session-notes>summary:not(#___){font-weight:500!important;color:var(--prep-text2)!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .online-plan-start>:is(label,span):first-child:not(#___){font-size:var(--prep-label-font)!important;font-weight:500!important;color:var(--prep-text2)!important}
/* R3c/R6 (21.11.2026, Lars: „prüfe richtig“): EINE Schriftgröße für alle Bedienelemente – 13,5 px wie die Felder im Coachcenter
   (Knöpfe waren 13, Umschalter Woche/Monat/Jahr und Liste/Kalender 14). „+ Einheit“ im Kalendertag ebenfalls Steuerhöhe. */
html[data-prep-ui]:root:not(#_):not(#__) :is(.calendar-tool-button,:is(.button,button.primary,button.secondary):where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.calendar-create-options>.button,.prep-create-grid>.button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(.topbar-menu > button)):not(.prep-rest-open):not(.prep-combo-option):not(#___):not(#____){font-size:var(--prep-control-font)!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-day-add-unit:not(#___){height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;font-size:var(--prep-control-font)!important}
/* R3c: Verschiebe-Pfeile neben den Einträgen im Builder als Symbolknopf in Steuerhöhe (vorher 44 px). */
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .builder-choice-move>button[data-builder-move]:not(#___){width:var(--prep-control-h)!important;min-width:var(--prep-control-h)!important;height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;padding:0!important}
/* ===== Prüfskript-Befunde (21.11.2026) ===== */
/* Dropdown „Übung“: Feldmaß (eine Builder-Regel mit 3 IDs gewann bisher) */
/* Datum im Anlegen-Fenster: normales Feld */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #calendarCreateDialog #calendarCreateContext input.prep-create-date:not(#____){height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;padding:0 10px!important;border:1px solid var(--prep-control)!important;border-radius:8px!important;background:var(--prep-surface)!important;font-size:13.5px!important;font-weight:400!important}
/* Textlinks in Übungsmasken (Gym: „Übung bearbeiten“, „Spalten als Standard …“) wie „Übung bearbeiten“ bei Bibliotheksübungen: leiser Link ohne Fläche */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog button.link-button:not(#____){height:auto!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--prep-text2)!important;font-size:12.5px!important;font-weight:500!important;text-decoration:underline;text-underline-offset:3px}
/* Gym: „+ Satz“ = Nebenknopf, „Satz löschen“ = Symbolknopf */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog button.gym-add-set:not(#____){height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;padding:0 12px!important;font-size:13.5px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog button.gym-remove-set:not(#____){width:var(--prep-control-h)!important;min-width:var(--prep-control-h)!important;height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;padding:0!important}
/* Gym-Maske: die alte Übungsauswahl („1 · Übung“ + Auswahlliste) doppelt das neue Dropdown oben – ausblenden; „Übung bearbeiten“ bleibt. */
html:root:not(#_) #onlinePlanDialog .online-training-block:has(.prep-exercise-switch) .gym-exercise-settings :is(.gym-exercise-field,h4.gym-section-title[data-gym-layout-copy=exercise]):not(#__){display:none!important}
html:root:not(#_) #onlinePlanDialog :is(summary,label,h4) :is(small[data-builder-optional],.optional-hint,small.optional):not(#__){display:none!important}
/* ===== Gym-Maske neu (21.11.2026, Lars) ===== */
html:root:not(#_) #onlinePlanDialog .gym-structured-layout{display:grid;gap:14px}
/* Kopf: „Übung bearbeiten · Erklärung“ als leise Links in einer Zeile */
html:root:not(#_) #onlinePlanDialog .gym-simple-top:not(#__){display:flex!important;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:-6px 0 0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .gym-simple-top>button.prep-gym-guide-link:not(#____){height:auto!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--prep-text2)!important;font-size:12.5px!important;font-weight:500!important;text-decoration:underline;text-underline-offset:3px}
html:root:not(#_) #onlinePlanDialog .online-training-block:has(.prep-gym-guide-link) .builder-exercise-guide-action:not(#__){display:none!important}
/* Sätze: Titel links, Zusammenfassung rechts */
html:root:not(#_) #onlinePlanDialog .gym-sets-toolbar:not(#__){display:flex!important;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 6px!important}
html:root:not(#_) #onlinePlanDialog .gym-sets-toolbar .gym-section-title:not(#__){margin:0!important;font-size:13px!important;font-weight:650!important;color:var(--prep-text)!important}
html:root:not(#_) #onlinePlanDialog .gym-sets-toolbar .gym-exercise-summary:not(#__){font-size:12.5px;color:var(--prep-text3)}
/* Tabelle: Kopfzeile + Zeilen auf einem Raster, Zeilen einzeilig, ruhig */
html:root:not(#_) #onlinePlanDialog .gym-set-table-header:not(#__){align-items:center;padding:0 0 6px;border-bottom:1px solid var(--prep-line);font-size:12px;color:var(--prep-text3)}
html:root:not(#_) #onlinePlanDialog .gym-set-list:not(#__){display:grid!important;gap:0!important}
html:root:not(#_) #onlinePlanDialog .gym-set-row:not(#__){align-items:center!important;min-height:44px;padding:6px 0!important;border:0!important;border-bottom:1px solid var(--prep-line)!important;border-radius:0!important;background:transparent!important}
html:root:not(#_) #onlinePlanDialog .gym-set-row [hidden]:not(#__):not(#___){display:none!important}
html:root:not(#_) #onlinePlanDialog .gym-set-row>label:not([hidden]):not(#__){display:flex!important;align-items:center;gap:4px;margin:0!important;min-width:0}
html:root:not(#_) #onlinePlanDialog .gym-set-row>label>span:not([data-gym-target-row-label]):not(#__){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)}
html:root:not(#_) #onlinePlanDialog .gym-set-row>label>:is(input:not([type=hidden])):not([hidden]):not(#__){flex:1 1 auto;min-width:0;max-width:none!important}
html:root:not(#_) #onlinePlanDialog .gym-set-row .gym-set-target-field>select:not(#__){order:2;}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .gym-set-row select.prep-rest-select:not(#____){flex:0 0 32px;width:32px!important;min-width:32px!important;color:transparent!important;background-position:center!important}
html:root:not(#_) #onlinePlanDialog .gym-set-row small.prep-pause-hint:empty{display:none}
html:root:not(#_) #onlinePlanDialog .gym-set-row>div:first-child:not(#__){display:flex!important;align-items:center;gap:2px}
html:root:not(#_) #onlinePlanDialog .gym-set-row>div:first-child>strong{min-width:14px;font-size:13px;font-weight:650;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog button.gym-remove-set:not(#____){border:0!important;background:transparent!important;color:var(--prep-text3)!important;font-size:16px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog button.gym-remove-set:not(#____):hover{background:var(--prep-hover)!important;color:#d14343!important}
/* „+ Satz“ als gestrichelte Zeile direkt unter dem letzten Satz */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog button.gym-add-set.prep-gym-add-row:not(#____){display:flex!important;align-items:center;justify-content:center;width:100%!important;margin:8px 0 0!important;border:1px dashed var(--prep-line)!important;border-radius:8px!important;background:transparent!important;color:var(--prep-text2)!important;font-weight:500!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog button.gym-add-set.prep-gym-add-row:not(#____):hover{background:var(--prep-hover)!important}
/* Schnelleingabe + Werkzeuge in einer Zeile, „Spalten speichern“ rechts */
html:root:not(#_) #onlinePlanDialog .prep-gym-quick:not(#__){display:flex!important;flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0 0!important}
html:root:not(#_) #onlinePlanDialog .prep-gym-quick>input:not(#__){flex:0 1 200px;width:200px!important;max-width:200px!important}
html:root:not(#_) #onlinePlanDialog .prep-gym-quick>.prep-gym-save-cols:not(#__){margin-left:auto!important}
html:root:not(#_) #onlinePlanDialog .gym-columns-tools:empty{display:none!important}
/* Zusammenfassung als schlichte Zeile statt grauem Kasten */
html:root:not(#_) #onlinePlanDialog .gym-structured-layout>.builder-dose-summary:not(#__){display:flex!important;flex-wrap:wrap;gap:4px 10px;margin:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:12.5px!important;color:var(--prep-text3)!important}
html:root:not(#_) #onlinePlanDialog .gym-structured-layout>.builder-dose-summary>strong:not(#__){color:var(--prep-text2)!important;font-weight:600!important}
/* Weitere Pausen · Hinweise nebeneinander; geöffnet volle Breite */
html:root:not(#_) #onlinePlanDialog .prep-gym-more{display:flex;flex-wrap:wrap;gap:4px 20px;padding-top:10px;border-top:1px solid var(--prep-line)}
html:root:not(#_) #onlinePlanDialog .prep-gym-more>details[open]{flex:1 1 100%}
html:root:not(#_) #onlinePlanDialog .prep-gym-more>details>summary:not(#__){font-size:13px!important;font-weight:600!important;color:var(--prep-text2)!important;padding:6px 0!important;cursor:pointer}
html:root:not(#_) #onlinePlanDialog .prep-gym-more>details>summary small{display:none!important}
/* Aufklapper in der Gym-Maske einheitlich: eigenes ▸/▾ statt gemischter Zeichen */
html:root:not(#_) #onlinePlanDialog .prep-gym-more>details>summary:not(#__){display:flex!important;align-items:center;gap:6px;list-style:none}
html:root:not(#_) #onlinePlanDialog .prep-gym-more>details>summary::-webkit-details-marker{display:none}
html:root #onlinePlanDialog .prep-gym-more>details>summary::marker{content:""}
html:root:not(#_) #onlinePlanDialog .prep-gym-more>details>summary:not(#__)::before{content:"▸"!important;display:inline-block!important;width:10px;font-size:11px;color:var(--prep-text3);background:none!important;-webkit-mask:none!important;mask:none!important;transform:none!important}
html:root:not(#_) #onlinePlanDialog .prep-gym-more>details[open]>summary:not(#__)::before{content:"▾"!important}
html:root #onlinePlanDialog .prep-gym-more>details>summary::after{content:none!important;display:none!important}
/* Blöcke: Aufklappen links, Entfernen rechts und „+ Übung“ unterhalb der Felder. */
html:root:not(#_) #onlinePlanDialog .prep-main-part:not(#__){position:relative}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-main-part>header>.prep-part-toggle:not(#____){flex:none;width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--prep-text3)!important;display:inline-grid!important;place-items:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-main-part>header>.prep-part-toggle:not(#____):hover{background:var(--prep-hover)!important}
html:root:not(#_) #onlinePlanDialog .prep-main-part>header>.prep-part-toggle::before{content:"";width:12px;height:12px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .15s}
html:root:not(#_) #onlinePlanDialog .prep-main-part.is-collapsed>header>.prep-part-toggle::before{transform:rotate(-90deg)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-main-part>header>.prep-part-close:not(#____){flex:none;display:inline-grid!important;place-items:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-main-part>header>.prep-part-close:not(#____):not(:disabled):hover{background:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-main-part>button.prep-part-add:not(#____){display:flex!important;align-items:center;justify-content:center;width:100%!important;margin:8px 0 0!important;}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-main-part>button.prep-part-add:not(#____):hover{background:var(--prep-hover)!important}
/* 26.11.2026 (Lars): „+ Hinzufügen zu {Name}“ – lange Namen einzeilig mit „…“ (auch bei 375 px) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-main-part>button.prep-part-add:not(#____){min-width:0;max-width:100%}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-main-part>button.prep-part-add>.prep-part-add-text{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:root:not(#_) #onlinePlanDialog .prep-main-part.is-collapsed>:not(header):not(#__){display:none!important}
html:root:not(#_) #onlinePlanDialog .prep-main-part.is-collapsed>header:not(#__){padding-bottom:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-main-part.is-collapsed>:not(header):not(#____){display:none!important}
/* R8 · „Neue Übung erstellen“ (21.11.2026): letzter Eintrag der Übungsauswahl + kleines Fenster im Builder */
html[data-prep-ui]:root:not(#_) .prep-combo-list>.prep-combo-option.prep-combo-create:not(#_):not(#__){justify-content:flex-start!important;margin-top:2px;border-top:1px solid var(--prep-line)!important;border-radius:0 0 6px 6px!important;color:var(--prep-text)!important;font-weight:600!important}
html[data-prep-ui]:root:not(#_) .prep-combo-list>.prep-combo-option.prep-combo-create:disabled:not(#_):not(#__){color:var(--prep-text3)!important;font-weight:500!important;cursor:default}
/* 25.11.2026: Neue Übung aus dem Builder = vollständiges Übungsformular der Bibliothek */
/* 25.11.2026 (Lars): Fenster „Neue Übung“ – Größe wie der Session Builder, Kopf mit ×, zwei Spalten, feste Fußleiste.
   Gilt nur im Fenster (#prepNewExerciseDialog / .exercise-dialog-*), die Bibliothek bleibt unverändert. */
html:root:not(#_):not(#__) body #prepNewExerciseDialog.prep-new-exercise-dialog{width:calc((100vw - 48px) / var(--prep-z,1));max-width:none;height:calc((100dvh - 48px) / var(--prep-z,1));max-height:none;padding:0;overflow:hidden;background:var(--prep-surface);color:var(--prep-text)}
html:root:not(#_):not(#__) body #prepNewExerciseDialog #prepNewExerciseEditor{display:flex;flex-direction:column;gap:0;height:100%;min-height:0}
html:root:not(#_):not(#__) body #prepNewExerciseDialog #prepNewExerciseEditor>.exercise-empty{padding:24px}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-head{flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 12px 12px 24px;border-bottom:1px solid var(--prep-line);background:var(--prep-surface)}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-title{min-width:0;padding-top:4px}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-title h2{margin:0;font-size:18px;font-weight:650;letter-spacing:-.01em;line-height:1.3;color:var(--prep-text)}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-title h2:focus{outline:none}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-title p{margin:2px 0 0;font-size:13px;line-height:1.4;color:var(--prep-text2)}
html:root:not(#_):not(#__) #prepNewExerciseEditor button.exercise-dialog-close{display:grid;place-items:center;flex:none;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border:0!important;border-radius:8px;background:transparent!important;box-shadow:none!important;color:var(--prep-text3);font-size:22px;font-weight:400;line-height:1}
html:root:not(#_):not(#__) #prepNewExerciseEditor button.exercise-dialog-close:is(:hover,:focus-visible){background:var(--prep-hover)!important;color:var(--prep-text)}
html:root:not(#_):not(#__) #prepNewExerciseEditor>.form-error{flex:none;margin:12px 24px 0}
html:root:not(#_):not(#__) #prepNewExerciseDialog .exercise-detail-body.exercise-dialog-body{display:flex;flex:1;align-items:stretch;min-height:0;gap:0}
html:root:not(#_):not(#__) #prepNewExerciseDialog .exercise-dialog-body>.exercise-form{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;margin:0;padding:0}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-columns{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,1fr);gap:20px;align-items:start;padding:20px 24px 24px;background:var(--prep-bg2)}
html:root:not(#_):not(#__) #prepNewExerciseEditor :is(.exercise-dialog-main,.exercise-dialog-side){display:flex;flex-direction:column;gap:12px;min-width:0}
html:root:not(#_):not(#__) #prepNewExerciseEditor :is(.exercise-dialog-main,.exercise-dialog-side)>section{margin:0;padding:18px 20px 20px;border:1px solid var(--prep-line);border-radius:12px;background:var(--prep-surface)}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main>section>h3{margin:0 0 14px;font-size:15px;font-weight:650}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main .exercise-parameters>h3{margin-bottom:4px}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main .exercise-parameters>p{margin:0 0 14px;font-size:13px;color:var(--prep-text2)}
/* Felder über die ganze Spaltenbreite: zwei gleich breite Spalten */
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main .exercise-grid.exercise-grid-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;align-items:start}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main .exercise-grid.exercise-grid-top>.exercise-check{align-self:start;width:100%;max-width:none;min-height:var(--prep-control-h,36px);margin:22px 0 0;cursor:pointer}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main .exercise-grid.exercise-grid-top>.exercise-field{margin:0}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main .exercise-field-hint{margin-top:2px;font-size:11.5px;font-weight:400;line-height:1.4;color:var(--prep-text3)}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main .exercise-parameters>.exercise-param-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;align-items:end}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main .exercise-parameters>.exercise-param-rows>.exercise-param-row{min-width:0}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main .exercise-parameters>.exercise-param-rows>.exercise-param-row>.exercise-planning-choice{flex:1 1 0;width:auto;min-width:0}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main .exercise-parameters>.exercise-param-rows>.button{justify-self:start}
/* Aufklappbare Teile mit dem Chevron der App statt ▸ */
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-optional>summary{display:flex;align-items:center;gap:10px;min-height:44px;list-style:none;cursor:pointer;font-size:14px;font-weight:650;color:var(--prep-text)}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-optional>summary::-webkit-details-marker{display:none}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-optional>summary::before{content:"";flex:none;width:7px;height:7px;margin:0 2px;border-right:1.6px solid var(--prep-text2);border-bottom:1.6px solid var(--prep-text2);transform:rotate(-45deg);transition:transform .12s}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-optional[open]>summary::before{transform:rotate(45deg)}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-optional>summary:focus-visible{outline:2px solid var(--prep-accent);outline-offset:2px;border-radius:6px}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-optional[open]>summary{margin-bottom:8px}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main .exercise-optional{margin-top:12px}
/* rechte Spalte: Karten, die Kopfzeile ist die ganze Klickfläche */
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-side>section{padding:0}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-side>section>.exercise-optional{padding:0 18px}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-side>section>.exercise-optional[open]{padding-bottom:18px}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-side>section>.exercise-optional>summary{min-height:52px;margin:0 -18px;padding:0 18px;border-radius:12px}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-side>section>.exercise-optional[open]>summary{margin-bottom:4px;border-radius:12px 12px 0 0}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-side>section>.exercise-optional>summary:focus-visible{outline-offset:-2px}
@media (hover:hover){html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-side>section>.exercise-optional>summary:hover{background:var(--prep-hover)}}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-side .exercise-optional>p{margin:0 0 10px;font-size:13px;color:var(--prep-text2)}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-side .exercise-field-wide{margin-bottom:12px}
html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-side :is(.exercise-methodical-order,.exercise-alternatives){max-width:none}
/* Fußleiste fest unten wie im Builder */
html:root:not(#_):not(#__) #prepNewExerciseDialog .exercise-dialog-body .exercise-save.exercise-save-bar{position:static;flex:none;margin:0;padding:12px 16px max(12px,env(safe-area-inset-bottom)) 24px;border-top:1px solid var(--prep-line);background:var(--prep-surface)}
html:root:not(#_):not(#__) #prepNewExerciseDialog .exercise-dialog-body .exercise-save-bar>p{max-width:560px;font-size:12.5px;color:var(--prep-text3)}
html:root:not(#_):not(#__) #prepNewExerciseDialog .exercise-dialog-body .exercise-save-actions .button{min-height:44px}
@media (max-width:1099.98px){html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-columns{grid-template-columns:minmax(0,1fr) minmax(280px,.85fr)}}
/* Handy: ganzer Bildschirm, eine Spalte */
@media (max-width:760px), (max-height:500px){
  html:root:not(#_):not(#__) body #prepNewExerciseDialog.prep-new-exercise-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;inset:0;border:0;border-radius:0}
  html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-head{padding:max(8px,env(safe-area-inset-top)) 6px 10px 16px}
  html:root:not(#_):not(#__) #prepNewExerciseEditor>.form-error{margin:10px 16px 0}
  html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-columns{grid-template-columns:minmax(0,1fr);gap:12px;padding:12px}
  html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main>section{padding:16px}
  html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-side>section>.exercise-optional{padding:0 16px}
  html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-side>section>.exercise-optional>summary{margin:0 -16px;padding:0 16px}
  html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main .exercise-grid.exercise-grid-top,
  html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main .exercise-parameters>.exercise-param-rows{grid-template-columns:minmax(0,1fr)}
  html:root:not(#_):not(#__) #prepNewExerciseEditor .exercise-dialog-main .exercise-grid.exercise-grid-top>.exercise-check{margin:0;min-height:44px}
  html:root:not(#_):not(#__) #prepNewExerciseDialog .exercise-dialog-body .exercise-save.exercise-save-bar{flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px max(10px,env(safe-area-inset-bottom))}
  html:root:not(#_):not(#__) #prepNewExerciseDialog .exercise-dialog-body .exercise-save-bar .exercise-save-actions{flex-wrap:nowrap;justify-content:stretch;margin:0}
  html:root:not(#_):not(#__) #prepNewExerciseDialog .exercise-dialog-body .exercise-save-bar .exercise-save-actions .button{flex:1 1 0}
}
/* R8 · Übungsmaske nach Entwurf (21.11.2026), Stufe 1 Bibliotheksübungen: Satztabelle als Raster, Fußzeile Hinweis | Rückmeldung */
html:root:not(#_) #onlinePlanDialog .prep-moved{display:none!important}
html:root:not(#_) #onlinePlanDialog .prep-set-scroll{overflow-x:auto;margin:4px 0 0;}
html:root:not(#_) #onlinePlanDialog .prep-set-table{width:max-content;min-width:0;border:1px solid var(--prep-line);border-radius:8px;border-collapse:separate;border-spacing:0;overflow:hidden;font-variant-numeric:tabular-nums}
html:root:not(#_) #onlinePlanDialog .prep-set-table.has-free{width:100%}
html:root:not(#_) #onlinePlanDialog .prep-set-table th{height:30px;padding:0 8px;background:var(--prep-bg2);border-bottom:1px solid var(--prep-line);border-right:1px solid var(--prep-line);font-size:12px;font-weight:500;color:var(--prep-text3);text-align:center;white-space:nowrap}
html:root:not(#_) #onlinePlanDialog .prep-set-table th[data-kind=free]{text-align:left}
html:root:not(#_) #onlinePlanDialog .prep-set-table td{height:32px;padding:0;border-right:1px solid var(--prep-line);vertical-align:middle;background:var(--prep-surface)}
html:root:not(#_) #onlinePlanDialog .prep-set-table tr>:last-child{border-right:0}
html:root:not(#_) #onlinePlanDialog .prep-set-table th[data-kind=num],html:root:not(#_) #onlinePlanDialog .prep-set-table td[data-kind=num]{}
html:root:not(#_) #onlinePlanDialog .prep-set-table th[data-kind=free]{min-width:140px}
html:root:not(#_) #onlinePlanDialog .prep-set-table .prep-set-count{width:1%;padding:0 6px;white-space:nowrap;text-align:left;font-weight:650;color:var(--prep-text2)}
html:root:not(#_) #onlinePlanDialog .prep-set-table .prep-set-after{width:1%}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table td :is(input,select):not(.prep-set-count-input):not(#___){display:block;width:100%!important;min-width:0!important;max-width:none!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:0!important;background-color:transparent!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table td[data-kind=num] input:not(#___){text-align:center}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table td select:not(#___){padding-right:24px!important;background-position:right 8px center!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table td:hover :is(input,select):not(#___){background-color:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table td :is(input,select):focus-visible:not(#___){outline:0!important;box-shadow:inset 0 0 0 2px var(--prep-text2)!important;background-color:var(--prep-surface)!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table input.prep-set-count-input:not(#___){display:inline-block;width:30px!important;min-width:0!important;height:32px!important;min-height:32px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-weight:650;text-align:right;-moz-appearance:textfield}
html:root:not(#_) #onlinePlanDialog .prep-set-table input.prep-set-count-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
html:root:not(#_) #onlinePlanDialog .prep-set-table .prep-set-step{display:inline-flex;gap:1px;margin-left:4px;vertical-align:middle}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table .prep-set-step>button:not(#___){width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;border:1px solid var(--prep-line)!important;border-radius:5px!important;background:var(--prep-surface)!important;color:var(--prep-text2)!important;font-size:13px!important;line-height:1}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table .prep-set-step>button:hover:not(#___){background:var(--prep-hover)!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table .prep-set-rest:not(#___){display:block;width:100%!important;min-width:64px;height:32px!important;min-height:32px!important;padding:0 10px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--prep-text2)!important;font-size:13px!important;font-weight:500!important;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table .prep-set-rest.is-set:not(#___){color:var(--prep-text)!important;font-weight:600!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table .prep-set-rest:hover:not(#___){background:var(--prep-hover)!important}
#onlinePlanDialog input.prep-set-rest{font-variant-numeric:tabular-nums;text-align:center}
html:root:not(#_) #onlinePlanDialog .prep-block-foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:8px 0 0}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-foot-toggle:not(#___){height:32px!important;min-height:32px!important;padding:0 4px!important;border:0!important;background:transparent!important;color:var(--prep-text2)!important;font-size:13px!important;font-weight:600!important}
html:root:not(#_) #onlinePlanDialog .prep-foot-toggle::before{content:"▸ ";color:var(--prep-text3)}
html:root:not(#_) #onlinePlanDialog .prep-foot-toggle[aria-expanded=true]::before{content:"▾ "}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-foot-toggle:hover:not(#___),html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-foot-toggle.is-set:not(#___){color:var(--prep-text)!important}
html:root:not(#_) #onlinePlanDialog details.prep-note-row{margin:6px 0 0}
html:root:not(#_) #onlinePlanDialog details.prep-note-row:not([open]){display:none}
html:root:not(#_) #onlinePlanDialog details.prep-note-row textarea{resize:none}
html:root:not(#_) #onlinePlanDialog .prep-feedback-row {
  display: grid;
  justify-items: start;
  gap: 6px;
  inline-size: min(100%, 22rem);
  margin-block-start: 6px;
}
html:root:not(#_) #onlinePlanDialog .prep-feedback-row[hidden] {display: none}
html:root:not(#_) #onlinePlanDialog .prep-feedback-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  inline-size: 100%;
  min-inline-size: 0;
}
html:root:not(#_) #onlinePlanDialog .prep-feedback-options {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  gap: 6px 10px;
}
html:root:not(#_) #onlinePlanDialog .prep-feedback-field .exercise-field {min-inline-size: 0; margin: 0}
html:root:not(#_) #onlinePlanDialog .prep-feedback-field :is(select, input) {inline-size: 100%; min-inline-size: 0}
html:root:not(#_) #onlinePlanDialog .prep-feedback-row :is(.prep-feedback-remove, .prep-feedback-add) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: max(44px, var(--prep-control-h));
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: var(--prep-text2);
  font-weight: 600;
  cursor: pointer;
}
html:root:not(#_) #onlinePlanDialog .prep-feedback-row .prep-feedback-remove {min-width: 44px; padding: 0}
html:root:not(#_) #onlinePlanDialog .prep-feedback-row .prep-feedback-add {padding: 0 6px; justify-content: flex-start; text-align: start}
html:root:not(#_) #onlinePlanDialog .prep-feedback-row :is(.prep-feedback-remove, .prep-feedback-add) svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
html:root:not(#_) #onlinePlanDialog .prep-feedback-row :is(.prep-feedback-remove, .prep-feedback-add):is(:hover, :focus-visible):not(:disabled) {
  background: var(--prep-hover);
  color: var(--prep-text);
}
html:root:not(#_) #onlinePlanDialog .prep-feedback-row :is(.prep-feedback-remove, .prep-feedback-add):disabled {opacity: .45; cursor: default}

html:root:not(#_) .prep-feedback-ind{display:inline-flex;gap:4px;margin-left:6px;vertical-align:middle}
html:root:not(#_) .prep-feedback-ind:empty{display:none}
html:root:not(#_) .prep-feedback-chip{padding:1px 7px;border:1px solid var(--prep-line);border-radius:999px;font-size:11.5px;font-weight:500;color:var(--prep-text2);white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-menu-extra:not(#___){justify-content:flex-start}



html:root:not(#_) #onlinePlanDialog .prep-set-table td .prep-rest-select{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table th select.prep-set-unit:not(#___){display:inline-block;width:auto!important;height:22px!important;min-height:22px!important;margin:0 0 0 4px!important;border:0!important;background-color:transparent!important;font-size:12px!important;font-weight:500!important;color:var(--prep-text2)!important;box-shadow:none!important;vertical-align:middle}
html:root:not(#_) #onlinePlanDialog .prep-set-table .prep-pause-hint{display:none!important}
html:root:not(#_) #onlinePlanDialog .online-training-block:has(.prep-set-table) .managed-exercise>strong{display:none!important}
/* R8 · Übung als eine Karte (21.11.2026, wie Entwurf): Kopfzeile ⌄ · Trainingsart · Übung · Dauer/Uhrzeit · ⋮ */
html:root:not(#_) #onlinePlanDialog .builder-workspace:not(.prep-collapsed) .builder-choice-wrap:has(>.builder-block-choice[aria-pressed=true]),
html:root:not(#_) #onlinePlanDialog .builder-workspace:not(.prep-collapsed) .builder-block-choice[aria-pressed=true]{display:none!important}
html:root:not(#_) #onlinePlanDialog .builder-workspace.prep-collapsed .prep-rest-slot{display:none}
html:root:not(#_) #onlinePlanDialog .online-training-block.prep-ex-card{outline:0!important;margin:0!important;padding:10px 12px 12px!important;border:1px solid var(--prep-line)!important;border-left:3px solid var(--prep-ex-t,var(--prep-text3))!important;border-radius:10px!important;background:var(--prep-surface)!important;box-shadow:none!important}
html:root:not(#_) #onlinePlanDialog .prep-ex-card :is(.builder-exercise-heading){display:none!important}
html:root:not(#_) #onlinePlanDialog .prep-ex-head{display:flex;align-items:center;gap:8px;min-height:32px;margin:-4px 36px 8px -4px;}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-ex-toggle:not(#___){display:inline-grid;place-items:center;flex:none;width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--prep-text2)!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-ex-toggle:hover:not(#___){background:var(--prep-hover)!important}
html:root:not(#_) #onlinePlanDialog .prep-ex-toggle::before{content:"";width:12px;height:12px;background:currentColor;transform:rotate(180deg);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat}
html:root:not(#_) #onlinePlanDialog .prep-ex-type{display:inline-flex;align-items:center;gap:5px;flex:none;height:24px;padding:0 8px;border-radius:999px;background:color-mix(in srgb,var(--prep-ex-t) 12%,transparent);color:var(--prep-ex-t);font-size:12px;font-weight:600;white-space:nowrap}
html[data-theme=dark]:root:not(#_) #onlinePlanDialog .prep-ex-type{background:color-mix(in srgb,var(--prep-ex-t) 28%,transparent);color:color-mix(in srgb,var(--prep-ex-t) 35%,#fff)}
html:root:not(#_) #onlinePlanDialog .prep-ex-name{flex:0 1 300px;min-width:160px}
html:root:not(#_) #onlinePlanDialog .prep-ex-name>.prep-exercise-switch{display:block!important;margin:0!important;font-size:inherit!important}
html:root:not(#_) #onlinePlanDialog .prep-ex-name:not(:has(.prep-exercise-switch)){font-size:14px;font-weight:650;color:var(--prep-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root:not(#_) #onlinePlanDialog .prep-ex-context{display:inline-flex;gap:6px;flex:0 1 auto;min-width:0}
html:root:not(#_) #onlinePlanDialog .prep-ex-context:empty{display:none}
html:root:not(#_) #onlinePlanDialog .prep-ex-meta{margin-left:auto;white-space:nowrap;font-size:12.5px;color:var(--prep-text3);font-variant-numeric:tabular-nums}
html:root:not(#_) #onlinePlanDialog .prep-ex-head .prep-feedback-ind{margin-left:auto}
html:root:not(#_) #onlinePlanDialog .prep-ex-head .prep-feedback-ind+.prep-ex-meta{margin-left:0}
html:root:not(#_) #onlinePlanDialog .online-training-block.prep-ex-card>details.builder-block-menu:not(#_){top:8px!important;right:8px!important}
html:root:not(#_) #onlinePlanDialog .prep-rest-slot{margin:8px 0 0}
html:root:not(#_) #onlinePlanDialog .prep-rest-slot:empty{display:none}
html:root:not(#_) [data-prep-ex-type="bmx_track"]{--prep-ex-t:#a99bd0} html:root:not(#_) [data-prep-ex-type="bmx_sprint_wattbike"]{--prep-ex-t:#a6b2e8} html:root:not(#_) [data-prep-ex-type="wattbike"]{--prep-ex-t:#80b8d9} html:root:not(#_) [data-prep-ex-type="gym"]{--prep-ex-t:#cea2bf} html:root:not(#_) [data-prep-ex-type="athletics"]{--prep-ex-t:#a5bac8} html:root:not(#_) [data-prep-ex-type="endurance"]{--prep-ex-t:#7cc1b7} html:root:not(#_) [data-prep-ex-type="other"]{--prep-ex-t:#c4ceca}
html[data-theme=light]:root:not(#_) [data-prep-ex-type="bmx_track"]{--prep-ex-t:#7251a2} html[data-theme=light]:root:not(#_) [data-prep-ex-type="bmx_sprint_wattbike"]{--prep-ex-t:#4f5f9e} html[data-theme=light]:root:not(#_) [data-prep-ex-type="wattbike"]{--prep-ex-t:#2e6f99} html[data-theme=light]:root:not(#_) [data-prep-ex-type="gym"]{--prep-ex-t:#80526f} html[data-theme=light]:root:not(#_) [data-prep-ex-type="athletics"]{--prep-ex-t:#566e7f} html[data-theme=light]:root:not(#_) [data-prep-ex-type="endurance"]{--prep-ex-t:#2e756d} html[data-theme=light]:root:not(#_) [data-prep-ex-type="other"]{--prep-ex-t:#4a5652}
html:root:not(#_) #onlinePlanDialog .builder-editor:has(.prep-ex-card){padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html:root:not(#_) #onlinePlanDialog .prep-ex-card details.prep-note-row:not(#_){margin:6px 0 0!important;padding:0!important;border:0!important;background:transparent!important}
html:root:not(#_) #onlinePlanDialog .prep-ex-card details.prep-note-row>label{display:block!important;margin:0!important}
html:root:not(#_) #onlinePlanDialog .prep-ex-card label.managed-exercise-picker{display:none!important}
/* Kopfzeile: Rahmenangaben als kompakte Felder mit kleiner Beschriftung im Feld (wie Entwurf) */
html:root:not(#_) #onlinePlanDialog .prep-ex-head label.prep-ex-inl:not([hidden]){position:relative;display:flex!important;align-items:center;margin:0!important;flex:0 1 auto;min-width:0}
html:root:not(#_) #onlinePlanDialog .prep-ex-head label.prep-ex-inl>span{position:absolute;left:9px;top:50%;transform:translateY(-50%);font-size:11.5px;font-weight:500;color:var(--prep-text3);pointer-events:none;white-space:nowrap;z-index:1}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-ex-head label.prep-ex-inl>:is(input,select):not(#___){width:auto!important;min-width:calc(var(--prep-inl-w,64px) + 70px)!important;max-width:240px!important;padding-left:var(--prep-track-route-padding,calc(var(--prep-inl-w,64px) + 12px))!important}

/* „+“ am Ende des Tabellenkopfs, Spalte entfernen per ×, Auswahlmenü */
html:root:not(#_) #onlinePlanDialog .prep-set-table .prep-set-plus{width:1%;padding:0 2px!important;text-align:center}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table .prep-col-add:not(#___){width:24px!important;height:24px!important;min-height:24px!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--prep-text2)!important;font-size:16px!important;font-weight:500!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table .prep-col-add:hover:not(#___){background:var(--prep-hover)!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table .prep-col-x:not(#___){display:inline-grid;place-items:center;width:16px!important;height:16px!important;min-height:16px!important;margin-left:3px;padding:0!important;border:0!important;background:transparent!important;color:var(--prep-text3)!important;font-size:13px!important;vertical-align:middle}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table .prep-col-x:hover:not(#___){color:var(--prep-text)!important}
html:root:not(#_) #onlinePlanDialog .prep-col-menu{position:absolute;z-index:30;display:grid;min-width:200px;padding:4px;border:1px solid var(--prep-line);border-radius:10px;background:var(--prep-surface);box-shadow:0 10px 30px rgba(0,0,0,.18)}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-col-menu>button:not(#___){justify-content:flex-start!important;height:32px!important;min-height:32px!important;padding:0 10px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--prep-text)!important;font-size:13.5px!important;font-weight:500!important;text-align:left}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-col-menu>button:hover:not(#___){background:var(--prep-hover)!important}
html:root:not(#_) #onlinePlanDialog .prep-col-menu>p{margin:6px 10px;font-size:12.5px;color:var(--prep-text3)}
html:root:not(#_) #onlinePlanDialog .prep-ex-card .prep-sport-fields[hidden]{display:none!important}
html:root:not(#_) #onlinePlanDialog .prep-set-scroll{}
html:root:not(#_) #onlinePlanDialog .prep-set-scroll:not(:has(.prep-set-table:only-child)){padding-bottom:14px}
html:root:not(#_) #onlinePlanDialog .prep-ex-card details.prep-note-row :is(label,textarea){width:100%!important;max-width:none!important}
/* Spaltenbreiten aus dem Kopf, Felder bringen keine Eigenbreite mit (wie Entwurf) */
html:root:not(#_) #onlinePlanDialog .prep-set-table th[data-kind=num]{width:64px;min-width:0}
html:root:not(#_) #onlinePlanDialog .prep-set-table td[data-kind=num]{width:64px;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table th select.prep-set-unit:not(#___){max-width:110px!important}
/* Feinschliff Satztabelle (Lars 21.11.): Einheit im Kopf mit Platz für den Pfeil, keine Pfeiltasten in Zahlenfeldern, kleinerer Abstand */
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table th select.prep-set-unit:not(#___){min-width:46px!important;padding:0 22px 0 6px!important;background-position:right 4px center!important}
html:root:not(#_) #onlinePlanDialog .prep-set-table input[type=number]{-moz-appearance:textfield;appearance:textfield}
html:root:not(#_) #onlinePlanDialog .prep-set-table input[type=number]::-webkit-inner-spin-button,html:root:not(#_) #onlinePlanDialog .prep-set-table input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
html:root:not(#_) #onlinePlanDialog .prep-set-scroll{padding-bottom:0!important}
html:root:not(#_) #onlinePlanDialog .prep-set-scroll.is-overflow{padding-bottom:14px!important}
html:root:not(#_) #onlinePlanDialog .prep-ex-card details.prep-expl-row:not(#_){margin:6px 0 0!important;padding:10px 12px!important;border:1px solid var(--prep-line)!important;border-radius:8px!important;background:var(--prep-bg2)!important;font-size:13.5px;color:var(--prep-text)}
html:root:not(#_) #onlinePlanDialog .prep-ex-card details.prep-expl-row:not([open]){display:none!important}
html:root:not(#_) #onlinePlanDialog .prep-ex-card details.prep-expl-row p{margin:0}
html:root:not(#_) #onlinePlanDialog .prep-ex-card .prep-block-foot{margin-top:6px!important}
/* R8 · Gym nach Entwurf (21.11.2026): bestehende Satzliste als Raster */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card :is(.gym-sets-toolbar, .gym-exercise-settings, .builder-dose-summary){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-sets-section{margin:4px 0 0!important;padding:0!important;border:0!important;background:transparent!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card :is(.gym-set-table-header,.gym-set-row){grid-template-columns:var(--prep-gym-cols,var(--gym-cols))!important;gap:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--prep-surface)!important;box-shadow:none!important;align-items:stretch!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-table-header{border:1px solid var(--prep-line)!important;border-bottom:0!important;border-radius:8px 8px 0 0!important;background:var(--prep-bg2)!important;overflow:hidden}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-list{display:grid!important;gap:0!important;margin:0!important;border:1px solid var(--prep-line)!important;border-radius:0 0 8px 8px!important;overflow:hidden}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-table-header>*:not([hidden]){align-content:center;text-align:center;place-self:stretch;display:grid;place-items:center;min-height:30px;padding:0 6px!important;border-right:1px solid var(--prep-line);border-bottom:1px solid var(--prep-line);font-size:12px!important;font-weight:500!important;color:var(--prep-text3)!important;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-row>*{align-self:stretch;min-height:32px;margin:0!important;padding:0!important;border-right:1px solid var(--prep-line);border-bottom:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-row:last-child>*{border-bottom:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card :is(.gym-set-table-header)>:last-child{border-right:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-row :is(input,select):not([type=hidden]):not(#___){width:100%!important;min-width:0!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:0!important;background-color:transparent!important;box-shadow:none!important;text-align:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-row>*:hover :is(input,select):not(#___){background-color:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-row :is(input,select):focus-visible:not(#___){outline:0!important;box-shadow:inset 0 0 0 2px var(--prep-text2)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-table-header select:not(#___){width:auto!important;height:22px!important;min-height:22px!important;padding:0 20px 0 4px!important;border:0!important;background-color:transparent!important;background-position:right 2px center!important;font-size:12px!important;font-weight:500!important;color:var(--prep-text2)!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-row>div:first-child{justify-content:flex-start;gap:4px;padding:0 6px!important;font-weight:650;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-row .prep-gym-count{display:none;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card.prep-gym-compact .gym-set-row:first-child .prep-gym-count{display:inline}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card.prep-gym-compact .gym-set-row:first-child [data-gym-set-number]{display:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card.prep-gym-compact .gym-set-row:not(:first-child){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card.prep-gym-compact .gym-set-row:first-child>*{border-bottom:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-table-header [data-gym-head=set]{justify-content:flex-start;color:var(--prep-text)!important;font-weight:600!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .prep-set-step{display:inline-flex;gap:1px;margin-left:4px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .prep-set-step>button:not(#___){width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;border:1px solid var(--prep-line)!important;border-radius:5px!important;background:var(--prep-surface)!important;color:var(--prep-text2)!important;font-size:13px!important;line-height:1}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .prep-set-rest:not(#___){width:100%!important;height:32px!important;min-height:32px!important;padding:0 8px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--prep-text2)!important;font-size:13px!important;font-weight:500!important;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .prep-set-rest.is-set:not(#___){color:var(--prep-text)!important;font-weight:600!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-remove-set:not(#___){width:100%!important;height:32px!important;min-height:32px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--prep-text3)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-gym-card.prep-gym-compact .gym-remove-set{visibility:hidden}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .prep-block-foot{gap:6px 12px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .prep-gym-quick-foot{display:inline-flex!important;align-items:center;gap:6px;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .prep-gym-quick-foot input{width:110px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .prep-gym-more>details.prep-extra-rests{margin-top:6px}
/* Gym: „+ Spalte“-Auswahl als kleines „+“ am Ende des Tabellenkopfs */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-table-header [data-gym-head=add] select:not(#_____){width:26px!important;min-width:26px!important;padding:0!important;color:transparent!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b636e' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")!important;background-size:14px!important;background-position:center!important;background-repeat:no-repeat!important;cursor:pointer}
html:root:not(#_) #onlinePlanDialog .prep-gym-card .gym-set-table-header [data-gym-head=add] select option{color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-table-header [data-gym-head=set]{display:flex!important;flex-wrap:nowrap;white-space:nowrap}
/* R8 · BMX Track nach Entwurf (21.11.2026): Satztabelle als Raster Starts · bis · P. Starts · Satzpause · danach */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card :is(.builder-track-goal,.builder-dose-heading,.online-track-effort-values,.online-track-effort-definition,.builder-dose-summary,.builder-track-route){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-table{margin:4px 0 0!important;padding:0!important;border:1px solid var(--prep-line)!important;border-radius:8px!important;overflow:hidden;background:var(--prep-surface)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card :is(.online-track-set-head,.online-track-set-row){display:grid!important;grid-template-columns:minmax(86px,auto) 64px minmax(140px,1fr) 80px 80px 76px!important;gap:0!important;margin:0!important;padding:0!important;border:0!important;background:var(--prep-surface)!important;align-items:stretch!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-head{background:var(--prep-bg2)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-head>*{display:grid;place-items:center;min-height:30px;padding:0 6px!important;border-right:1px solid var(--prep-line);border-bottom:1px solid var(--prep-line);font-size:12px!important;font-weight:500!important;color:var(--prep-text3)!important;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-head>:first-child{display:flex;justify-content:flex-start;color:var(--prep-text)!important;font-weight:600!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-head>:nth-child(3){order:3}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-head>:nth-child(4){order:2}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card :is(.online-track-set-head,.online-track-set-row)>.prep-track-sp{order:4}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card :is(.online-track-set-head,.online-track-set-row)>.prep-track-after{order:5;border-right:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row>[data-track-set-field=repetitions]{order:1}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row>[data-track-set-field=gateTarget]{order:2}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row>.prep-pause-clock{order:3}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row>:is(.prep-rest-select,.prep-pause-hint){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row>*{min-height:32px;border-right:1px solid var(--prep-line);border-bottom:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row:last-child>*{border-bottom:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row :is(input,select):not(#_____),html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row>:is(input,select):not(#_____){width:100%!important;min-width:0!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0 8px!important;border:0!important;border-right:1px solid var(--prep-line)!important;border-radius:0!important;background-color:transparent!important;box-shadow:none!important;text-align:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row select:not(#_____){text-align:left;padding-right:24px!important;background-position:right 8px center!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row :is(input,select):hover:not(#_____){background-color:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-no{display:flex;align-items:center;gap:4px;padding:0 6px;font-weight:650;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .prep-gym-count{display:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-compact .online-track-set-row:first-child .prep-gym-count{display:inline}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-compact .online-track-set-row:first-child .online-track-set-no{font-size:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-compact .online-track-set-row:first-child .online-track-set-no .prep-gym-count{font-size:13.5px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-compact .online-track-set-row:not(:first-child){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-compact .online-track-set-row:first-child>*{border-bottom:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .prep-set-step{display:inline-flex;gap:1px;margin-left:4px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .prep-set-step>button:not(#_____){width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;border:1px solid var(--prep-line)!important;border-radius:5px!important;background:var(--prep-surface)!important;color:var(--prep-text2)!important;font-size:13px!important;line-height:1}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .prep-track-x{display:block}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .prep-track-x>input:not(#_____){border-right:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .prep-set-rest:not(#_____){width:100%!important;height:32px!important;min-height:32px!important;padding:0 8px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--prep-text2)!important;font-size:13px!important;font-weight:500!important;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .prep-set-rest.is-set:not(#_____){color:var(--prep-text)!important;font-weight:600!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .prep-ex-head .prep-ex-context{flex-wrap:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row :is(input,select):not(#_____){max-width:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-head>.prep-track-after{display:flex;justify-content:center;gap:2px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .prep-track-plus:not(#_____){width:20px!important;height:20px!important;min-height:20px!important;padding:0!important;border:0!important;border-radius:5px!important;background:transparent!important;color:var(--prep-text2)!important;font-size:15px!important}
html:root:not(#_) #onlinePlanDialog .prep-ex-head .prep-ex-context{flex-wrap:wrap;row-gap:4px}
html:root:not(#_) #onlinePlanDialog .prep-ex-head{flex-wrap:wrap!important;row-gap:6px}
/* „Pro Satz“ bei Bibliotheksübungen: Satzzeilen wie die „Für alle“-Zeile */
html:root:not(#_) #onlinePlanDialog .prep-set-table tr.prep-mset-row td{border-top:1px solid var(--prep-line)}
html:root:not(#_) #onlinePlanDialog .prep-set-table tbody tr:first-child[hidden]+tr.prep-mset-row td{border-top:0}
html:root:not(#_) #onlinePlanDialog .prep-set-table tr[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table tr.prep-mset-row td :is(input,select):not(#___){display:block;width:100%!important;min-width:0!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:0!important;background-color:transparent!important;box-shadow:none!important;text-align:center}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table tr.prep-mset-row td :is(input,select):hover:not(#___){background-color:var(--prep-hover)!important}
/* R8 · Ausdauer: Training als Text → Belastungsprofil (21.11.2026) */
html:root #onlinePlanDialog .prep-endu-box{}
html:root:not(#_) #onlinePlanDialog .prep-endu-profile{height:84px;padding:6px 8px 4px;border:1px solid var(--prep-line);border-radius:8px;background:var(--prep-bg2)}
html:root:not(#_) #onlinePlanDialog .prep-endu-profile[hidden]{display:none}
html:root:not(#_) #onlinePlanDialog .prep-endu-profile svg{display:block;width:100%;height:72px}
html:root:not(#_) #onlinePlanDialog .prep-endu-profile .prep-endu-ftp{stroke:var(--prep-text3);stroke-width:1;stroke-dasharray:4 4;vector-effect:non-scaling-stroke}
      
html:root:not(#_) #onlinePlanDialog .prep-endu-label{display:grid;gap:6px;margin:0}
html:root:not(#_) #onlinePlanDialog .prep-endu-label>span{font-size:12.5px;font-weight:500;color:var(--prep-text2)}
html:root:not(#_) #onlinePlanDialog .prep-endu-text{width:100%;resize:none;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.5}
html:root:not(#_) #onlinePlanDialog .prep-endu-hint{margin:0;font-size:12px;color:var(--prep-text3)}
html:root:not(#_) #onlinePlanDialog .prep-endu-error{margin:0;font-size:13px;color:var(--prep-bad)}
html:root:not(#_) #onlinePlanDialog .prep-endu-error[hidden]{display:none}

/* Track Effort: Haken-Liste ausgeblendet (Start/Ziel im Kopf), Effort-Länge bleibt sichtbar */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-effort .online-track-effort-definition{display:flex!important;align-items:center;gap:8px;margin:0 0 6px!important;padding:0!important;border:0!important;background:transparent!important;font-size:12.5px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-effort .online-track-effort-definition>:not(.online-track-effort-length){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-effort :is(.online-track-set-head,.online-track-set-row){}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-effort .online-track-effort-length{display:inline-flex!important;gap:6px;align-items:baseline;padding:0!important;border:0!important;background:transparent!important}
#onlinePlanDialog .online-track-estimated-length {display:grid;gap:4px;width:min(100%, 220px)}
#onlinePlanDialog .online-track-estimated-length input {width:100%;font-variant-numeric:tabular-nums}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-effort .online-track-set-table{}
html[data-prep-ui]:root #onlinePlanDialog .online-training-block>details.builder-block-menu>summary::after{transform:none!important;rotate:none}
/* R8 · Wattbike nach Entwurf (21.11.2026) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card :is(.builder-dose-heading,.online-wattbike-hint,.builder-dose-summary,.prep-wb-blockpause,.prep-wb-off){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card .online-wattbike-work-grid:not(:has(>label:not(.prep-wb-blockpause))){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-table td>label{display:block!important;margin:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-table td>label>span{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-table td.prep-set-count>label{display:inline!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-table td>label :is(.prep-rest-select,.prep-pause-hint){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-table td>label :is(input,select):not(.prep-set-count-input):not(#_____){display:block;width:100%!important;min-width:0!important;max-width:none!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:0!important;background-color:transparent!important;box-shadow:none!important;text-align:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-table td>label :is(input,select):hover:not(#_____){background-color:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-table td.prep-wb-target>label select:not(#_____){text-align:left;padding-right:24px!important;background-position:right 8px center!important;min-width:90px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card .prep-set-table .prep-track-plus:not(#_____){width:20px!important;height:20px!important;min-height:20px!important;margin-left:4px;padding:0!important;border:0!important;border-radius:5px!important;background:transparent!important;color:var(--prep-text2)!important;font-size:15px!important}
/* Wattbike-Intervalle: Schritte als Raster # · Schritt · Dauer s · × */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card fieldset.prep-wb-steps{margin:8px 0 0!important;padding:0!important;border:0!important;background:transparent!important;counter-reset:wbstep}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card fieldset.prep-wb-steps>legend{float:left;width:100%;margin:0 0 4px!important;padding:0!important;font-size:12.5px!important;font-weight:500!important;color:var(--prep-text2)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card :is(.prep-wb-steps-head,.online-wattbike-step){display:grid!important;gap:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--prep-surface)!important;box-shadow:none!important;align-items:stretch!important;}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card .prep-wb-steps-head{clear:both;border:1px solid var(--prep-line)!important;border-bottom:0!important;border-radius:8px 8px 0 0!important;background:var(--prep-bg2)!important;overflow:hidden}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card .prep-wb-steps-head>span{display:grid;place-items:center;min-height:30px;border-right:1px solid var(--prep-line);border-bottom:1px solid var(--prep-line);font-size:12px;font-weight:500;color:var(--prep-text3)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card .prep-wb-steps-head>span:last-child{border-right:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card [data-wattbike-steps]{display:grid!important;gap:0!important;border:1px solid var(--prep-line);border-radius:0 0 8px 8px;overflow:hidden}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card .online-wattbike-step{counter-increment:wbstep;border-bottom:1px solid var(--prep-line)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card .online-wattbike-step:last-child{border-bottom:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card .online-wattbike-step::before{content:counter(wbstep);display:grid;place-items:center;min-height:32px;border-right:1px solid var(--prep-line);font-weight:650;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card .online-wattbike-step>label{display:block!important;margin:0!important;border-right:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card .online-wattbike-step>label>span{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card .online-wattbike-step :is(input,select):not(#_____){display:block;width:100%!important;min-width:0!important;max-width:none!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:0!important;background-color:transparent!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card .online-wattbike-step input:not(#_____){text-align:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card .online-wattbike-step select:not(#_____){padding-right:24px!important;background-position:right 8px center!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card .online-wattbike-step :is(input,select):hover:not(#_____){background-color:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card [data-remove-wattbike-step]:not(#_____){width:100%!important;height:32px!important;min-height:32px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--prep-text3)!important;font-size:14px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card [data-remove-wattbike-step]:hover:not(#_____){background:var(--prep-hover)!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card [data-add-wattbike-step]:not(#_____){margin:6px 0 0!important;height:32px!important;min-height:32px!important;padding:0 12px!important;border:1px dashed var(--prep-line)!important;border-radius:8px!important;background:transparent!important;color:var(--prep-text2)!important;font-size:13.5px!important;font-weight:500!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card [data-add-wattbike-step]:not(#_____){display:inline-flex!important;width:auto!important}
/* Lars 21.11.: Tabellen nutzen die ganze Kartenbreite (alle Übungsarten) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-card .prep-set-table{width:100%!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-card .prep-set-table :is(th,td)[data-kind=num]{}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-effort .online-track-set-table{width:100%!important;max-width:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-effort :is(.online-track-set-head,.online-track-set-row){grid-template-columns:minmax(96px,1.2fr) repeat(4,minmax(64px,1fr))!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card:not(.prep-track-effort) :is(.online-track-set-head,.online-track-set-row){grid-template-columns:minmax(96px,1fr) minmax(64px,1fr) minmax(140px,2fr) minmax(72px,1fr) minmax(72px,1fr) minmax(76px,1fr)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card :is(.prep-wb-steps-head,.online-wattbike-step){width:100%;grid-template-columns:48px minmax(140px,2fr) minmax(90px,1fr) 40px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-card [data-wattbike-steps]{width:100%}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-card .prep-set-table{table-layout:fixed}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-card .prep-set-table tr>.prep-set-count{width:104px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-card .prep-set-table tr>.prep-set-after{width:80px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-card .prep-set-table tr>.prep-set-plus{width:36px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-card .prep-set-table th{}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-card .prep-set-table th{overflow:visible;text-overflow:clip}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-card .prep-set-table th:has(select.prep-set-unit){width:auto}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-card .prep-set-table th:has(select.prep-column-kind){width:120px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-card .prep-set-table th:has(select.prep-unit-select){width:110px!important}
/* R8 · Ausdauer-Abschnitte als Raster (21.11.2026): # · Abschnitt · Steuerung · Dauer · Einheit · Zone · % FTP · rpm · Aktionen */
html:root #onlinePlanDialog{}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-head{display:grid;grid-template-columns:var(--prep-endu-cols);border:1px solid var(--prep-line);border-bottom:0;border-radius:8px 8px 0 0;background:var(--prep-bg2);overflow:hidden}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-head>span{display:grid;place-items:center;min-height:30px;padding:0 6px;border-right:1px solid var(--prep-line);font-size:12px;font-weight:500;color:var(--prep-text3);white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-endu-head>span:nth-child(2){justify-content:start}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-head>span:last-child{border-right:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid{display:grid!important;gap:0!important;border:1px solid var(--prep-line);border-radius:0 0 8px 8px;overflow:hidden}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid>.endurance-ftp-block{display:grid!important;grid-template-columns:var(--prep-endu-cols)!important;gap:0!important;margin:0!important;padding:0!important;border:0!important;border-bottom:1px solid var(--prep-line)!important;border-radius:0!important;background:var(--prep-surface)!important;box-shadow:none!important;align-items:stretch}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid>.endurance-ftp-block:last-child{border-bottom:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid>.endurance-ftp-block :is(.endurance-card-heading, .endurance-block-fields, fieldset.endurance-step-volume, fieldset.endurance-step-intensity, .endurance-interval-row){display:contents!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid :is(legend,details.endurance-step-options>summary,label.note){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid label>span{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid label{display:block!important;margin:0!important;min-height:32px;border-right:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid label[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid :is(input,select):not(#_____){display:block;width:100%!important;min-width:0!important;max-width:none!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:0!important;background-color:transparent!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid input[type=number]:not(#_____){text-align:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid select:not(#_____){padding-right:22px!important;background-position:right 6px center!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid :is(input,select):hover:not(#_____){background-color:var(--prep-hover)!important}
/* Plätze im Raster: Zeile 1 = Abschnitt bzw. Gruppenkopf, Zeilen 2/3 = Belastung/Erholung einer Intervallgruppe */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid .endurance-step-number{grid-row:1;grid-column:1;display:grid;place-items:center;border-right:1px solid var(--prep-line);font-weight:650;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid label.name{grid-row:1;grid-column:2}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid .endurance-block-actions{grid-row:1;grid-column:9;display:flex!important;align-items:center;gap:0;padding:0 2px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid .endurance-block-actions>button:not(#_____){width:26px!important;height:26px!important;min-height:26px!important;padding:0!important;border:0!important;background:transparent!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid .endurance-block-actions>button:hover:not(#_____){background:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_segment] label:has([data-endurance-field=volumeMode]){grid-row:1;grid-column:3}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_segment] label:has([data-endurance-field=durationValue]){grid-row:1;grid-column:4}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_segment] label:has([data-endurance-field=durationUnit]){grid-row:1;grid-column:5}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_segment] label:has([data-endurance-field=distanceKilometers]){grid-row:1;grid-column:4/6}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_segment] label:has([data-endurance-field=ftpZone]){grid-row:1;grid-column:6}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_segment] label:has([data-endurance-field=targetPercent]){grid-row:1;grid-column:7}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid label:has([data-endurance-field=cadenceRpm]){grid-row:1;grid-column:8}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=repetitions]){grid-row:1;grid-column:3/6;display:flex!important;align-items:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=repetitions])::after{content:"× Wiederholung";padding:0 8px;font-size:12.5px;color:var(--prep-text3);white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=repetitions]) input:not(#_____){width:56px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] :is(label:has([data-endurance-field=repetitions]),label.name,.endurance-step-number,.endurance-block-actions,label:has([data-endurance-field=cadenceRpm])){border-bottom:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] .endurance-interval-row>strong{grid-column:2;display:flex;align-items:center;padding:0 8px 0 22px;border-right:1px solid var(--prep-line);font-size:13px;font-weight:500;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] .endurance-interval-row:nth-of-type(1)>strong{grid-row:2}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] .endurance-interval-row:nth-of-type(2)>strong{grid-row:3;border-top:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=workVolumeMode]){grid-row:2;grid-column:3}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=workDurationValue]){grid-row:2;grid-column:4}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=workDurationUnit]){grid-row:2;grid-column:5}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=workDistanceKilometers]){grid-row:2;grid-column:4/6}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=workFtpZone]){grid-row:2;grid-column:6}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=workTargetPercent]){grid-row:2;grid-column:7}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=recoveryVolumeMode]){grid-row:3;grid-column:3;border-top:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=recoveryDurationValue]){grid-row:3;grid-column:4;border-top:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=recoveryDurationUnit]){grid-row:3;grid-column:5;border-top:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=recoveryDistanceKilometers]){grid-row:3;grid-column:4/6;border-top:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=recoveryFtpZone]){grid-row:3;grid-column:6;border-top:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] label:has([data-endurance-field=recoveryTargetPercent]){grid-row:3;grid-column:7;border-top:1px solid var(--prep-line)}
html:root #onlinePlanDialog{}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid>.endurance-ftp-block details.endurance-step-options.endurance-step-options{display:block!important;grid-row:1;grid-column:8;margin:0!important;padding:0!important;border:0!important;border-right:1px solid var(--prep-line)!important;background:transparent!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid>.endurance-ftp-block details.endurance-step-options>.endurance-optional-grid.endurance-optional-grid{display:block!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid details.endurance-step-options label{border-right:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid [data-endurance-kind=ftp_interval_group] details.endurance-step-options{border-bottom:1px solid var(--prep-line)!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-endu-grid .endurance-block-actions{flex-wrap:nowrap!important}
html:root #onlinePlanDialog{--prep-endu-cols:36px minmax(120px,1.4fr) 92px 64px 76px minmax(130px,1.3fr) 64px 60px 118px}
/* Exercises: Vorbelegung „Rückmeldung“ (21.11.2026) */
html:root:not(#_) .exercise-feedback{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin:12px 0 0}
html:root:not(#_) .exercise-feedback-title{flex:1 0 100%;margin:0;font-size:12.5px;font-weight:500;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) .exercise-feedback label.exercise-check{display:inline-flex!important;align-items:center;gap:8px;width:auto!important;height:32px;min-height:32px;padding:0 12px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) .exercise-feedback input[type=checkbox]:not(#____){width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0!important;padding:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) .exercise-feedback label.exercise-check>span{white-space:nowrap}
html:root:not(#_) .prep-gym-quick{display:none!important}
/* Ausdauer: Text links, Belastungsprofil rechts daneben (wie Intervals.icu), sichtbar in beiden Modi */
html:root:not(#_) #onlinePlanDialog .prep-endu-box{display:grid!important;grid-template-columns:minmax(260px,1fr) minmax(260px,1.2fr);gap:12px;align-items:start;margin:0 0 14px}
@media (max-width:760px), (max-height:500px){html:root:not(#_) #onlinePlanDialog .prep-endu-box{grid-template-columns:1fr}}
html:root:not(#_) #onlinePlanDialog .prep-endu-left{display:grid;gap:6px}
html:root:not(#_) #onlinePlanDialog .prep-endu-box .prep-endu-profile{height:auto;min-height:130px;display:flex;align-items:flex-end;margin-top:22px}
html:root:not(#_) #onlinePlanDialog .prep-endu-box .prep-endu-profile svg{height:118px}
html:root:not(#_) #onlinePlanDialog .prep-endu-box .prep-endu-profile[hidden]{display:flex!important;visibility:hidden}
/* R8: Zahlenspalten der Satztabelle nie auf 0 px zusammenfallen lassen (schmale Bildschirme) – die Tabelle scrollt dann waagerecht */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-card .prep-set-table :is(th,td)[data-kind=num]{width:76px!important}
/* R8: Gym-Raster auch auf schmalen Bildschirmen als Raster (ältere Handy-Regel machte Flex daraus → Zeilen brachen um); Bereich scrollt waagerecht */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card :is(.gym-set-table-header,.gym-set-row):not(#_____){display:grid!important;flex-wrap:nowrap!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-sets-section:not(#_____){overflow-x:auto;overscroll-behavior-x:contain}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-sets-section>:is(.gym-set-table-header,.gym-set-list):not(#_____){min-width:min-content}
/* R8: Last-Zelle im Gym-Raster – Einheitenwahl je Satz schmal, Zahlenfeld bekommt den Rest */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-row .gym-set-target-field>select:not(#_____){flex:0 0 auto!important;width:auto!important;padding:0 18px 0 6px!important;background-position:right 4px center!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-gym-card .gym-set-row .gym-set-target-field>input:not([hidden]):not(#_____){flex:1 1 auto!important;min-width:40px!important}
/* R8: alle Satztabellen (auch Wattbike/Track) – Wertspalten mindestens 76px; Spalten mit eigener Breite (Sätze, danach, +, Einheitenwahl) gewinnen über ihre spezifischeren Regeln */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-set-table thead th:where(:not(.prep-set-count,.prep-set-after,.prep-set-plus,.prep-wb-off)){width:76px!important}

/* Eingebetteter Session Builder Editor: Prep-Flächen und Texte für die Editor-Komponenten. */
@media screen {
  html[data-prep-ui] #sessionBuilderEditorView {
    --fliq8-text:var(--prep-text);
    --fliq8-secondary:var(--prep-text2);
    --fliq8-surface:var(--prep-surface);
    --fliq8-muted:var(--prep-bg2);
    --fliq8-divider:var(--prep-line);
    --fliq8-control:var(--prep-control);
    --fliq81-plan-accent:var(--prep-control);
    --fliq81-plan-tint:var(--prep-raised);
  }
  html[data-prep-ui] #sessionBuilderEditor .exe-parameter-index {
    min-height:var(--prep-control-h);
  }
}

/* Library › Weeks */
html[data-prep-ui]:root:not(#_) #weekBuilderDialog {
  width:min(1360px,calc((100vw - 24px) / var(--prep-z,1)));
  max-width:none;
  max-height:calc((100dvh - 24px) / var(--prep-z,1));
  overflow-y:auto;
}
html[data-prep-ui]:root:not(#_) #weekBuilderDialog > section:has(> .dialog-heading) {padding-bottom:0!important}
html[data-prep-ui]:root:not(#_) #weekBuilderDialog #weekBuilderContent .prep-week-builder-form {margin:0;padding:0!important}
html[data-prep-ui] #weekBuilderDialog .prep-week-builder-tools {
  display:flex;
  align-items:end;
  flex-wrap:wrap;
  gap:8px 18px;
  margin-bottom:16px;
}
html[data-prep-ui] #weekBuilderDialog .prep-week-builder-tools label {
  flex:0 1 320px;
  margin:0;
}
html[data-prep-ui] #weekBuilderDialog .prep-week-builder-tools p {margin:0 0 6px}
html[data-prep-ui] #weekBuilderDialog .prep-week-builder-grid {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:1px;
  overflow:hidden;
  border:1px solid var(--prep-line);
  border-radius:10px;
  background:var(--prep-line);
}
html[data-prep-ui] #weekBuilderDialog .prep-week-builder-day {
  min-width:0;
  background:var(--prep-surface);
}
html[data-prep-ui] #weekBuilderDialog .prep-week-builder-day header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  padding:7px 8px 7px 12px;
  border-bottom:1px solid var(--prep-line);
  background:var(--prep-bg2);
}
html[data-prep-ui] #weekBuilderDialog .prep-week-builder-day h3 {
  margin:0;
  font-size:var(--prep-control-font);
  font-weight:650;
  overflow-wrap:anywhere;
}
html[data-prep-ui] #weekBuilderDialog :is(.prep-week-icon-action,[data-week-picker-close],[data-week-builder-close]) svg {
  display:block;
  width:16px;
  height:16px;
}
html[data-prep-ui] #weekBuilderDialog .prep-week-icon-action {
  display:inline-grid;
  place-items:center;
  flex:none;
  width:var(--prep-control-h);
  min-width:var(--prep-control-h);
  min-height:var(--prep-control-h);
  padding:0;
}
html[data-prep-ui] #weekBuilderDialog .prep-week-empty-day {margin:0;padding:10px 12px}
html[data-prep-ui] #weekBuilderDialog :is(.prep-week-builder-day ul,.prep-week-library-results) {padding:0;margin:0;list-style:none}
html[data-prep-ui] #weekBuilderDialog .prep-week-builder-entry {
  display:grid;
  gap:4px;
  padding:8px 10px 10px;
  overflow-wrap:anywhere;
}
html[data-prep-ui] #weekBuilderDialog .prep-week-builder-entry + li {border-top:1px solid var(--prep-line)}
html[data-prep-ui] #weekBuilderDialog .prep-week-entry-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:4px;
}
html[data-prep-ui] #weekBuilderDialog :is(.prep-week-entry-head,.prep-week-library-results) button.prep-text-action {
  border:0;
  padding:0;
  background:transparent;
  color:var(--prep-text);
  text-align:start;
}
html[data-prep-ui] #weekBuilderDialog .prep-week-entry-head button[data-week-entry-edit] {
  min-width:0;
  min-height:var(--prep-control-h);
  font:inherit;
  font-weight:650;
  overflow-wrap:anywhere;
}
html[data-prep-ui] #weekBuilderDialog .prep-week-builder-entry small {color:var(--prep-text2)}
html[data-prep-ui] #weekBuilderDialog .prep-week-entry-controls {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px;
  margin-top:4px;
}
html[data-prep-ui]:root:not(#_) #weekBuilderDialog .prep-week-entry-controls :is(select,input) {
  flex:1 1 120px;
  min-width:0;
  max-width:100%;
  margin:0;
}
html[data-prep-ui] #weekBuilderDialog .prep-week-builder-form > .dialog-actions {
  position:sticky;
  bottom:0;
  z-index:1;
  flex-direction:row;
  margin-top:16px;
  padding:10px 0;
  border-top:1px solid var(--prep-line);
  background:var(--prep-surface);
}
html[data-prep-ui] #weekBuilderDialog .prep-week-picker {
  width:min(500px,calc((100vw - 24px) / var(--prep-z,1)));
  max-width:none;
  max-height:calc((100dvh - 44px) / var(--prep-z,1));
  overflow-y:auto;
}
html[data-prep-ui] #weekBuilderDialog .prep-week-picker-modes {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  width:100%;
  margin-bottom:12px;
}
html[data-prep-ui] #weekBuilderDialog .prep-week-picker-modes button {padding-inline:6px;white-space:nowrap}
html[data-prep-ui] #weekBuilderDialog .prep-week-picker .prep-filter-bar {display:grid;gap:8px;margin-bottom:12px}
html[data-prep-ui] #weekBuilderDialog .prep-week-picker .prep-filter-bar > :empty {display:none}
html[data-prep-ui] #weekBuilderDialog .prep-week-picker .prep-filter-bar :is(label,input,select) {margin:0;width:100%;max-width:none}
html[data-prep-ui] #weekBuilderDialog .prep-week-picker-types {display:grid;gap:6px}
html[data-prep-ui] #weekBuilderDialog .prep-week-picker-types button {justify-content:flex-start}
html[data-prep-ui] #weekBuilderDialog .prep-week-library-results li {border-top:1px solid var(--prep-line)}
html[data-prep-ui] #weekBuilderDialog .prep-week-library-results button {
  display:flex;
  width:100%;
  min-height:44px;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  overflow-wrap:anywhere;
}
html[data-prep-ui] #weekBuilderDialog .prep-week-library-results button > span {
  display:grid;
  gap:2px;
  padding:6px 0;
}
html[data-prep-ui] #weekBuilderDialog .prep-week-library-results button svg {width:16px;height:16px;flex:none}
@media (max-width:1180px) {
  html[data-prep-ui] #weekBuilderDialog .prep-week-builder-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:820px) {
  html[data-prep-ui] #weekBuilderDialog .prep-week-builder-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:520px) {
  html[data-prep-ui] #weekBuilderDialog .prep-week-builder-grid {grid-template-columns:minmax(0,1fr)}
  html[data-prep-ui] #weekBuilderDialog .prep-week-builder-day:has(> .prep-week-empty-day) header {border-bottom:0}
  html[data-prep-ui] #weekBuilderDialog .prep-week-empty-day {display:none}
  html[data-prep-ui]:root:not(#_) #weekBuilderDialog .prep-week-builder-form > .dialog-actions .button {padding-inline:var(--prep-btn-pad-x)!important}
}

:is(#onlinePlanDialog, #exercisesCatalog, #prepNewExerciseEditor) .prep-track-sections:not([hidden]) {
  display: grid;
  justify-items: start;
  gap: 8px;
  min-width: 0;
  margin-block: 12px 4px;
}
:is(#onlinePlanDialog, #exercisesCatalog, #prepNewExerciseEditor) :is([data-track-section-list], .prep-track-section-list) { width: 100%; }
:is(#onlinePlanDialog, #exercisesCatalog, #prepNewExerciseEditor) :is([data-track-section-list], .prep-track-section-list):empty { display: none; }
:is(#onlinePlanDialog, #exercisesCatalog, #prepNewExerciseEditor) .prep-track-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
  align-items: end;
  gap: 8px;
  border-top: 1px solid var(--prep-line, var(--line));
  padding-block: 8px;
}
:is(#onlinePlanDialog, #exercisesCatalog, #prepNewExerciseEditor) :is([data-track-section-start], .prep-track-section-start) {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--prep-text2);
  font-size: .85em;
}
:is(#onlinePlanDialog, #exercisesCatalog, #prepNewExerciseEditor) .prep-track-section :is(label, select, textarea) { min-width: 0; width: 100%; }
#onlinePlanDialog [data-track-section-hint] { color: var(--prep-text2); }
:is(#onlinePlanDialog, #exercisesCatalog, #prepNewExerciseEditor) .prep-track-section select[aria-invalid="true"] { outline: 1px solid var(--danger, #b42318); }
.compact-track-sections {
  margin: 8px 0;
  padding-inline-start: 1.4em;
  overflow-wrap: anywhere;
}
.compact-track-sections li + li { margin-top: 4px; }
.compact-track-sections strong { display: block; }
@media (max-width: 600px) {
  :is(#onlinePlanDialog, #exercisesCatalog, #prepNewExerciseEditor) .prep-track-section { grid-template-columns: minmax(0, 1fr) auto; }
  :is(#onlinePlanDialog, #exercisesCatalog, #prepNewExerciseEditor) .prep-track-section label:nth-of-type(1) { grid-column: 1 / -1; }
}
.sidebar-schedule-start { display: grid; align-content: start; gap: 8px; min-width: 0; }
.sidebar-schedule-start :is(input, select) { width: 100%; }
.prep-track-point-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  max-width: 560px;
  margin-block: 8px;
}
.prep-track-point-grid :is(label, select) { min-width: 0; width: 100%; }
.prep-track-point-grid label { display: grid; gap: 4px; }
.prep-track-point-grid select[aria-invalid="true"] { outline: 1px solid var(--prep-bad); }
.prep-track-point-grid[hidden] { display: none; }
#onlinePlanDialog .online-track-block:has(.prep-native-track-points:not([hidden])) [data-track-gate-fields],
#onlinePlanDialog .online-track-block:has(.prep-native-track-points:not([hidden])) [data-track-areas] {
  display: none !important;
}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-compact:not(.prep-track-effort) :is(.online-track-set-head,.online-track-set-row) {
  grid-template-columns: minmax(96px,1.2fr) repeat(4,minmax(64px,1fr)) !important;
}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-compact [data-track-set-gate-head],
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card.prep-track-compact [data-track-set-field="gateTarget"] {
  display: none !important;
}
:is(#exercisesCatalog,#prepNewExerciseEditor) .exercise-track-points {
  display: grid;
  justify-items: start;
  gap: 8px;
  width: 100%;
  max-width: 560px;
  margin-block: 16px 4px;
}
:is(#exercisesCatalog,#prepNewExerciseEditor) .exercise-track-points :is(.prep-track-point-grid, .prep-track-sections) {
  width: 100%;
  margin: 0;
}
:is(#exercisesCatalog,#prepNewExerciseEditor) .exercise-track-points :is(.prep-track-point-grid, .prep-track-section) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 8px 12px;
}
:is(#exercisesCatalog,#prepNewExerciseEditor) .exercise-track-section-heading {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
:is(#exercisesCatalog,#prepNewExerciseEditor) .exercise-track-section-heading p {
  margin: 0;
  color: var(--prep-text2);
  font-weight: 600;
}
:is(#exercisesCatalog,#prepNewExerciseEditor) .exercise-track-section-heading button { flex-shrink: 0; }
.exercise-track-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: var(--prep-control-h);
  font-weight: 600;
}
html[data-prep-ui] .exercise-track-toggle > input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px !important;
  min-width: 0 !important;
  height: 16px !important;
  min-height: 0 !important;
  margin: 0;
}
html[data-prep-ui]:root #onlinePlanDialog .prep-track-section textarea {
  width: 100%;
  min-width: 0;
  min-height: 52px !important;
  resize: vertical;
}
html[data-prep-ui]:root :is(#exercisesCatalog,#prepNewExerciseEditor) .exercise-track-points textarea {
  min-height: var(--prep-control-h) !important;
  field-sizing: content;
  resize: vertical;
}
@media (max-width: 640px) {
  :is(#exercisesCatalog,#prepNewExerciseEditor) .exercise-track-points :is(.prep-track-point-grid, .prep-track-section) {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  #onlinePlanDialog .prep-track-point-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-table {
    overflow-x: auto !important;
  }
}

.calendar-training-slot{
  display:grid;gap:4px;text-align:start;padding:7px 8px;min-width:0;width:100%;
  color:var(--prep-text);background:var(--prep-surface);border:1px solid var(--prep-line);
  border-inline-start:3px solid var(--prep-accent);border-radius:var(--prep-radius-sm,6px);
  font:inherit;line-height:1.28;overflow-wrap:anywhere
}
button.calendar-training-slot{cursor:pointer}
button.calendar-training-slot:is(:hover,:focus-visible){background:var(--prep-tint-12);color:var(--prep-text)}
.calendar-training-slot-time,.calendar-training-slot-control{color:var(--prep-text2);font-size:.875em;font-variant-numeric:tabular-nums}
.calendar-training-slot-types{display:flex;flex-wrap:wrap;min-width:0;gap:4px}
.calendar-training-slot .calendar-training-slot-plan{justify-self:start;max-width:100%;height:auto;white-space:normal;text-align:start}
.calendar-external-note{display:grid;gap:2px;color:var(--prep-text2);font-size:.875em;white-space:pre-wrap}
#onlinePlanDialog .online-plan-slot-context{margin:0;padding:10px 22px 0;color:var(--prep-text2)}
:is(.planning-event-card,.calendar-training-slot,.year-month-competitions > li).calendar-athlete-entry{
  border-inline-start:3px solid var(--fliq-training-type-accent,var(--prep-accent))
}
html:root:not(#_) #trainingTimeline .calendar-athlete-entry{border-inline-start-style:dashed!important}
#trainingTimeline .year-month-competitions > li.calendar-athlete-entry{padding-inline-start:6px}
.year-month-external{color:var(--prep-text2);font-size:.875em}
.prep-external-training-note form{display:grid;gap:12px}
.prep-external-training-note label{display:grid;gap:6px}
.prep-event-assignment-summary{display:grid;gap:4px;justify-items:start;min-width:0}
.prep-event-assignment-summary button{white-space:normal;text-align:start}
.prep-event-assignment-summary small:empty{display:none}
html[data-prep-ui] .prep-event-assignment-dialog{width:min(500px,calc(100vw - 24px))}
html[data-prep-ui] .prep-event-assignment-dialog .prep-dialog-body{padding:0!important}
html[data-prep-ui] .prep-event-assignment-dialog form{display:grid;gap:12px;margin:0;padding:0!important}
html[data-prep-ui]:root .prep-event-assignment-dialog .prep-event-assignment-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
html[data-prep-ui]:root .prep-event-assignment-dialog .prep-event-assignment-switch > button{justify-self:stretch;white-space:normal;overflow-wrap:anywhere;}
#eventAssignmentForm .prep-event-assignment-choices{max-height:40dvh;overflow:auto;border:1px solid var(--prep-line);border-radius:8px;padding:0!important}
.prep-event-assignment-choices > p{padding:12px;color:var(--prep-text2)}
html[data-prep-ui] .prep-event-assignment-dialog .prep-event-assignment-option{
  display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:10px;
  min-height:44px;padding:8px 12px;color:var(--prep-text);cursor:pointer;overflow-wrap:anywhere
}
.prep-event-assignment-option + .prep-event-assignment-option{border-top:1px solid var(--prep-line)}
.prep-event-assignment-option:has(input:checked){background:color-mix(in srgb,var(--prep-green-fill) 12%,var(--prep-surface))}
.prep-event-assignment-option:hover{background-image:linear-gradient(var(--prep-hover),var(--prep-hover))}
html[data-prep-ui] .prep-event-assignment-dialog .prep-event-assignment-option input{
  width:16px;min-width:0;height:16px;min-height:0;padding:0;margin:0;}
html[data-prep-ui]:root:not(#_) .prep-event-assignment-dialog > .dialog-actions{flex-direction:row}
.prep-event-assignment-dialog [data-assignment-count]{color:var(--prep-text2);margin-inline-end:auto}
@media(max-width:410px){
  .prep-event-assignment-dialog [data-assignment-count]{flex-basis:100%}
}
.prep-race-program{display:grid;gap:8px;padding-block:14px;border-block:1px solid var(--prep-line)}
.prep-race-program-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px}
.prep-race-program h3{margin:0;}
.prep-race-program :is(p,small){margin:0;color:var(--prep-text2)}
.prep-race-program [data-race-days]{list-style:none;padding:0;margin:4px 0 0;border:1px solid var(--prep-line);border-radius:8px}
.prep-race-program-day{display:grid;grid-template-columns:minmax(5.5rem,7rem) minmax(0,1fr);align-items:center;gap:10px;padding:8px 12px}
.prep-race-program-day + .prep-race-program-day{border-top:1px solid var(--prep-line)}
#onlineEventForm .prep-race-program-day label{color:var(--prep-text);font-weight:600}
html[data-prep-ui] #onlineEventForm .prep-race-program-day select{min-width:0;width:min(100%,22rem)!important}
.prep-race-program-day time,.prep-event-program-preview time{font-variant-numeric:tabular-nums}
.prep-event-program-preview ul{display:grid;gap:4px;margin:6px 0;padding:0;list-style:none}
.prep-event-program-preview li{display:flex;flex-wrap:wrap;gap:2px 8px}
.calendar-race-day{display:block;color:var(--prep-text2)}
@media(max-width:480px){.prep-race-program-day{grid-template-columns:minmax(0,1fr);gap:4px}}



.bmx-track-row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:start}
.bmx-track-counts output{display:flex;align-items:center;min-height:var(--prep-control-h);padding:0 10px;border:1px solid var(--prep-line);border-radius:8px;background:var(--prep-bg2);color:var(--prep-text)}
html[data-fliq-ci="8.1"] #appShell #primaryNav a[data-view="tracks"]::before{mask:url("ci-8.1/icons/route.svg?v=40359e2d7ae8") center/contain no-repeat}
.prep-track-report-section{margin-top:12px;padding-top:16px;border-top:1px solid var(--prep-line)}
.prep-track-report-section h2{margin:0 0 8px;}
.prep-track-report-list{margin:0;padding:0;list-style:none;border:1px solid var(--prep-line);border-radius:8px}
.prep-track-report-list > li{display:flex;justify-content:space-between;align-items:center;gap:8px 12px;flex-wrap:wrap;padding:10px 12px}
.prep-track-report-list > li + li{border-top:1px solid var(--prep-line)}
.prep-track-report-list > li div{display:grid;min-width:0;gap:2px;overflow-wrap:anywhere}
.prep-track-report-list small{color:var(--prep-text2)}
html[data-prep-ui] .prep-track-grant-form{padding:0!important}
.prep-track-grant-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.prep-track-grant-form input[type=date]{min-width:0}
#trainingTimeline .calendar-day-off-card.calendar-athlete-entry{grid-template-columns:minmax(0,1fr);gap:4px}
#trainingTimeline .calendar-day-off-title{gap:4px}
.calendar-athlete-entry .calendar-athlete-entry-source{
  display:block;color:var(--prep-text2);font-size:.875em;font-weight:600;overflow-wrap:anywhere
}

/* Gemeinsame Auswahlfläche: Umschalter und Reiter im Block „R3c Umschalter und Reiter“ (Stufe 5), die Wochenwahl im Block
   ist ein Auswahl-Chip (Block „R6b Chips und Tags“, Stufe 6). */
html[data-prep-ui] :is(.segmented-control,.prep-card-tabs) > [aria-pressed="true"] .prep-filter-count{
  background:var(--prep-active-count-overlay);
  color:inherit;
}

html[data-prep-ui] #appShell #mainContent:has(:is(#profileView,#prepPersonView):not([hidden])) {
  width:100%;
  max-width:none!important;
}
html[data-prep-ui] #mainContent :is(#profileView,#prepPersonView),
html[data-prep-ui]:root:not(#_) #appShell #mainContent :is(#profileView,#prepPersonRecord) .profile-detail-main {
  width:100%;
  min-width:0;
  max-width:none;
}
html[data-prep-ui] #mainContent :is(#profileView,#prepPersonRecord) .profile-detail-main .form-grid {max-width:none}
html[data-prep-ui] #appShell #mainContent #profileView .profile-detail-layout {display:block}
html[data-prep-ui] #mainContent #profileView .profile-detail-sidebar {
  position:static;
  display:grid;
  min-width:0;
  gap:12px;
  margin-bottom:16px;
}
html[data-prep-ui] #mainContent #profileView .profile-section-links:not(.prep-page-tabs) {
  position:static;
  display:flex;
  gap:4px;
  overflow-x:auto;
  border-bottom:1px solid var(--prep-line);
  padding:0;
}
html[data-prep-ui] #mainContent #profileView .profile-section-links:not(.prep-page-tabs) a {
  flex:none;
  border-radius:0;
  border:0;
  padding:10px 12px;
  white-space:nowrap;
  background:transparent;
}
html[data-prep-ui] #mainContent #profileView .profile-section-links:not(.prep-page-tabs) a[aria-current=location] {
  box-shadow:inset 0 -2px var(--prep-accent);
}
html[data-prep-ui] #mainContent #profileView .profile-section-links:not(.prep-page-tabs) a > span {display:none}
#profileView .profile-identity-body:not(.prep-record-identity) {display:contents}
html[data-prep-ui] #profileView[data-profile-tabs] :is(.page-heading,.prep-profile-tab-hidden) {display:none!important}
html[data-prep-ui]:root #appShell #mainContent #profileView[data-profile-tabs] .profile-detail-sidebar {
  gap:0;margin:0;padding:0;max-height:none;overflow:visible;
}
html[data-prep-ui]:root #appShell #mainContent #profileView[data-profile-tabs] .profile-identity-card {
  display:flex;
  flex-direction:row;
  align-items:center;
  margin:0 0 16px;
  padding:0;
  background:none;
  border:0;
  box-shadow:none;
}
html[data-prep-ui]:root #appShell #mainContent #profileView[data-profile-tabs] .profile-photo {
  width:48px;height:48px;flex:none;border-radius:50%;
}
html[data-prep-ui] #profileView[data-profile-tabs] .profile-identity {
  min-width:0;
  overflow-wrap:anywhere;
}
html[data-prep-ui] #profileView[data-profile-tabs] .profile-identity .status-pill {white-space:nowrap}
html[data-prep-ui] #profileView[data-profile-tabs] .profile-detail-main {
  display:grid;
  grid-template-columns:minmax(0,1fr);
}
html[data-prep-ui] #profileView[data-profile-tabs] #profileForm:not([hidden]) {display:contents}
html[data-prep-ui]:root:not(#_) #mainContent #profileView[data-profile-tabs] .profile-detail-main :is(#profileForm>section, .profile-detail-main>.profile-detail-section) {
  margin:0;
  padding:16px 20px;
  border:0;
}
html[data-prep-ui] #profileView[data-profile-tabs] .profile-save-bar {
  order:1;
  border-radius:0 0 9px 9px;
}
html[data-prep-ui]:root:not(#_) #appShell #mainContent #profileView[data-athlete-profile-tabs] .prep-page-tabs {
  flex-wrap:wrap;
  overflow:visible;
}
html[data-prep-ui]:root:not(#_) #mainContent #profileView[data-athlete-profile-tabs] .profile-detail-main .profile-detail-section:not([hidden]):not(.prep-profile-tab-hidden) {
  border-bottom:1px solid var(--prep-line);
}
#profileView #profileForm[data-prep-dirty=false] .profile-save-bar {display:none!important}
#profileView #profileForm[data-prep-dirty=true] .profile-save-bar {
  position:sticky;
  bottom:8px;
  background:var(--prep-surface);
  z-index:3;
}
.calendar-week-drag-hint {
  margin:0 0 6px;
  color:var(--prep-text2);
  font-size:var(--prep-label-font);
}
html[data-prep-ui]:root #calendarView .is-week-drag-target {
  outline:2px solid var(--prep-accent);
  outline-offset:-2px;
}
.prep-access-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.prep-access-list li,
.prep-access-plan-list > details {
  padding: 12px 0;
  border-bottom: 1px solid var(--prep-line, var(--line));
}
.prep-access-list li,
.prep-access-checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.prep-access-list li {
  justify-content: space-between;
}
.prep-access-list li > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.prep-access-list small,
.prep-access-plan-list small {
  display: block;
}
.prep-access-fields,
.prep-access-plan,
.prep-access-unit-body {
  margin-top: 12px;
}
.prep-access-checks {
  margin-top: 8px;
}
.prep-access-plan summary {
  cursor: pointer;
}
.prep-access-plan-list summary > strong {
  margin-inline-start: 4px;
}
.prep-access-plan-list summary small {
  margin-inline-start: 16px;
}
.prep-access-unit-body {
  overflow-wrap: anywhere;
}
.prep-staff-role-dialog.prep-action-dialog {
  width:min(740px,calc(100vw - 24px));
}
.prep-staff-role-dialog [data-role-manager] > .prep-dialog-fields {
  min-width:0;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.prep-staff-role-dialog [data-role-manager] > .prep-dialog-fields > label,
[data-member-role-dialog] .prep-dialog-fields > label {margin:0}
.prep-permission-matrix,
.prep-standard-roles {
  min-width:0;
  border:1px solid var(--prep-line);
  border-radius:8px;
  overflow:clip;
}
.prep-permission-section {
  --permission-columns:minmax(0,1fr) 40px;
  min-width:0;
}
.prep-permission-section[data-permission-section="planning"] {
  --permission-columns:minmax(0,1fr) clamp(75px,27%,132px) 40px;
}
.prep-permission-section + .prep-permission-section {border-top:1px solid var(--prep-line)}
.prep-permission-section > .prep-permission-summary {
  display:grid;
  grid-template-columns:10px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:4px 10px;
  background:var(--prep-bg2);
  color:var(--prep-text);
  font-size:var(--prep-control-font);
  font-weight:650;
  line-height:1.25;
  overflow-wrap:anywhere;
  cursor:pointer;
  list-style:none;
}
.prep-permission-summary::-webkit-details-marker {display:none}
.prep-permission-summary::before {
  content:"";
  justify-self:center;
  width:6px;
  height:6px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(-45deg);
}
.prep-permission-section[open] > .prep-permission-summary::before {transform:rotate(45deg)}
.prep-permission-summary:focus-visible {outline-offset:-2px}
.prep-standard-roles > .prep-permission-summary {
  grid-template-columns:10px max-content minmax(0,1fr);
}
.prep-standard-role-names {
  justify-self:end;
  color:var(--prep-text2);
  font-size:var(--prep-label-font);
  font-weight:500;
}
.prep-standard-roles[open] .prep-standard-role-names {display:none}
.prep-standard-roles dl {margin:0}
.prep-standard-roles dl > div {
  display:grid;
  grid-template-columns:minmax(0,9.5rem) minmax(0,1fr);
  gap:4px 12px;
  padding:7px 10px;
  border-top:1px solid var(--prep-line);
  overflow-wrap:anywhere;
  hyphens:auto;
}
.prep-standard-roles dt {
  margin:0;
  color:var(--prep-text);
  font-weight:650;
  hyphens:none;
}
.prep-standard-roles dd {
  margin:0;
  color:var(--prep-text2);
  line-height:1.35;
}
.prep-permission-count {
  min-width:40px;
  padding:2px 6px;
  border-radius:6px;
  background:var(--prep-surface);
  color:var(--prep-text2);
  font-size:var(--prep-label-font);
  font-variant-numeric:tabular-nums;
  text-align:center;
}
.prep-permission-group-head {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:4px 10px;
  padding:2px 10px;
  border-top:1px solid var(--prep-line);
}
.prep-permission-group-head > small {
  flex:1 1 11rem;
  color:var(--prep-text2);
}
.prep-permission-matrix .check-field {
  display:flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  margin:0;
  cursor:pointer;
}
.prep-permission-group-head > .check-field {margin-inline-start:auto}
.prep-permission-columns,
.prep-permission-section .prep-permission-row {
  display:grid;
  grid-template-columns:var(--permission-columns);
  align-items:center;
  gap:0 6px;
  min-width:0;
  padding:0 8px 0 10px;
  border-top:1px solid var(--prep-line);
}
.prep-permission-columns {
  padding-block:4px;
  color:var(--prep-text2);
  font-size:var(--prep-label-font);
  line-height:1.15;
  overflow-wrap:anywhere;
}
.prep-permission-columns > :nth-child(n+2) {text-align:center}
.prep-permission-columns > :last-child {font-size:11px}
.prep-permission-types-short {display:none}
.prep-permission-list {
  margin:0;
  padding:0;
  list-style:none;
}
.prep-permission-row > :is(.prep-permission-name,.prep-permission-choice) {
  display:flex;
  align-items:center;
  min-width:0;
  min-height:34px;
  margin:0;
  color:var(--prep-text);
  font-size:var(--prep-control-font);
  font-weight:500;
  line-height:1.3;
  cursor:pointer;
}
.prep-permission-row > .prep-permission-name {padding-block:4px;overflow-wrap:anywhere;hyphens:auto}
.prep-permission-row > .prep-permission-choice {justify-content:center}
.prep-permission-matrix input[type="checkbox"] {
  flex:none;
  width:16px;
  height:16px;
  min-height:0;
  padding:0;
  margin:0;
}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-permission-row > [data-right-type-toggle] {
  justify-self:center;
  max-width:100%;
  min-width:0;
  height:auto!important;
  min-height:27px!important;
  padding:3px 7px!important;
  font-size:var(--prep-label-font);
  line-height:1.2;
  white-space:normal;
  overflow-wrap:anywhere;
}
.prep-permission-options {
  grid-column:1/-1;
  padding-block:2px 4px;
}
.prep-permission-options fieldset {
  display:flex;
  flex-wrap:wrap;
  gap:0 12px;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
}
.prep-access-context {margin:8px 0}
@media (max-width:560px) {
  .prep-staff-role-dialog [data-role-manager] > .prep-dialog-fields {grid-template-columns:minmax(0,1fr)}
  .prep-standard-roles > .prep-permission-summary {
    grid-template-columns:10px minmax(0,1fr);
    gap:2px 8px;
  }
  .prep-standard-role-names {
    grid-column:2;
    justify-self:start;
  }
  .prep-standard-roles dl > div {grid-template-columns:minmax(0,1fr)}
  .prep-permission-section[data-permission-section="planning"] {
    --permission-columns:minmax(0,1fr) clamp(60px,27%,132px) 40px;
  }
  .prep-permission-types-full {display:none}
  .prep-permission-types-short {display:inline}
}

@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] #appShell #mainContent .prep-library-view .prep-filter-bar:has(> .page-primary:not([hidden])) {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  html[data-prep-ui] .prep-library-view .prep-filter-bar:has(> .page-primary:not([hidden])) > .prep-filter-search {
    grid-row:1;
    grid-column:1/3;
  }
  html[data-prep-ui] .prep-library-view .prep-filter-bar > .page-primary {
    grid-row:1;
    grid-column:3/-1;
    justify-self:end;
  }
  html[data-prep-ui] .prep-library-view .prep-filter-bar:has(> .page-primary:not([hidden])) > label:not(.prep-filter-search) {
    grid-column:span 2;
  }
  html[data-prep-ui] .prep-library-view .prep-filter-bar:has(> .page-primary:not([hidden])) > :is(.prep-roster-count,.exercise-archive-toggle) {
    grid-column:1/-1;
  }
}
@media screen and (max-width:600px) {
  html[data-prep-ui] .prep-library-view .prep-filter-bar:has(> .page-primary:not([hidden])) > .prep-filter-search {
    grid-column:1/4;
  }
  html[data-prep-ui] .prep-library-view .prep-filter-bar > .page-primary {
    grid-column:4/-1;
  }
  html[data-prep-ui]:root:not(#_) #mainContent .prep-library-view .page-primary {
    min-width:var(--prep-control-h);
    width:var(--prep-control-h);
    padding-inline:0;
  }
  html[data-prep-ui] .prep-library-view .page-primary > span {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
  }
}

/* R7: Menüzeilen behalten ihre Maße gegenüber den allgemeinen Knopfregeln. */
html[data-prep-ui] #userMenu {
  max-block-size:calc((100dvh - 78px - env(safe-area-inset-bottom)) / var(--prep-z,1));
  overflow-y:auto;
  overscroll-behavior:contain;
}

/* R3c: Einstellungen brauchen bei wenig Breite eine eigene Zeile pro Umschalter. */

html[data-prep-ui]:root .prep-account-settings .prep-palette-option {
  position:relative;
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  min-height:36px;
  padding:4px 8px;
  border:1px solid var(--prep-line);
  border-radius:8px;
  color:var(--prep-text);
  font-size:13px;
  line-height:1.25;
  overflow-wrap:anywhere;
  cursor:pointer;
}
html[data-prep-ui] .prep-palette-option > input {
  position:absolute;
  inline-size:1px!important;
  block-size:1px!important;
  min-inline-size:0!important;
  min-block-size:0!important;
  opacity:0;
}
html[data-prep-ui] .prep-palette-option:has(input:checked) {
  border-color:var(--prep-control);
  background:var(--prep-bg2);
  font-weight:650;
}
html[data-prep-ui] .prep-palette-option:has(input:focus-visible) {
  outline:2px solid var(--prep-text);
  outline-offset:1px;
}
html[data-prep-ui] .prep-palette-swatch {
  flex:0 0 15px;
  block-size:15px;
  border:1px solid var(--prep-control);
  border-radius:4px;
}
html[data-prep-ui] .prep-palette-option[data-surface] .prep-palette-swatch {background:var(--prep-raised)}
html[data-prep-ui] .prep-palette-option[data-accent] .prep-palette-swatch {background:var(--prep-green-fill)}
html[data-prep-ui] .prep-palette-option[data-accent=mint] .prep-palette-swatch {background:var(--prep-logo-mint)}
@media (pointer:coarse) {
  html[data-prep-ui]:root .prep-account-settings .prep-palette-option {min-height:44px}
}
@media (max-width:600px) {
  html[data-prep-ui] .prep-account-settings .prep-set-row {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:6px;
  }
  html[data-prep-ui]:root .prep-account-settings .prep-seg {
    display:flex;
    width:100%;
    --prep-segmented-height:auto;
    --prep-segment-height:auto;
    --prep-segment-min-height:calc(var(--prep-control-h) - 6px);
  }
  html[data-prep-ui]:root .prep-account-settings .prep-seg > button {
    flex:1 1 0;
    min-width:0;
    padding-inline:6px;
    white-space:normal;
  }
  html[data-prep-ui]:root .prep-account-settings .prep-seg:has(> [data-value=planned]) {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  html[data-prep-ui] .prep-account-settings .prep-seg > [data-value=planned] {
    width:100%;
    grid-column:1 / -1;
  }
}

/* R6/R8: Auf kleinen Viewports bleiben Kopf und Aktionen außerhalb der scrollenden Felder. */
.prep-dialog-fields {display:contents}

html[data-prep-ui]:root :is(.prep-dialog-action-layout,#athleteDialog,.prep-staff-role-dialog:has([data-role-manager])):modal {
  --prep-action-dialog-height:calc((100dvh - 16px) / var(--prep-z,1));
  max-block-size:var(--prep-action-dialog-height)!important;
  overflow:hidden;
}
html[data-prep-ui]:root:not(#_) dialog[data-member-role-dialog]:modal {
  overflow:hidden!important;
}
html[data-prep-ui]:root:not(#_) :is(.prep-dialog-action-layout,#athleteDialog):modal > :is(form,.privacy-panel) {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto minmax(0,1fr) auto;
  max-block-size:calc(var(--prep-action-dialog-height) - 2px);
  gap:0;
  padding:0!important;
}
html[data-prep-ui]:root:not(#_) :is(.prep-dialog-action-layout,#athleteDialog):modal > :is(form,.privacy-panel) > :is(.dialog-heading,.dialog-actions),
html[data-prep-ui]:root:not(#_):not(#__) .prep-staff-role-dialog:modal [data-role-manager] > .dialog-actions,
html[data-prep-ui]:root:not(#_):not(#__) .prep-staff-role-dialog:modal:has([data-role-manager]) > header {
  position:static!important;
  margin:0!important;
}
html[data-prep-ui] :is(.prep-dialog-action-layout,#athleteDialog,.prep-staff-role-dialog):modal :is(.prep-dialog-fields,.profile-detail-layout) {
  min-block-size:0;
  min-inline-size:0;
  margin:0;
  padding:16px var(--dx) 20px;
  overflow:auto;
  overscroll-behavior:contain;
  scroll-padding-block:16px;
}
html[data-prep-ui] :is(.prep-dialog-action-layout,.prep-staff-role-dialog):modal .prep-dialog-fields {
  display:grid;
  align-content:start;
  gap:12px;
}
@media (max-width:420px) {
  html[data-prep-ui] :is(.prep-staff-role-dialog,[data-member-role-dialog]):modal .prep-dialog-fields {
    padding-inline:12px;
  }
}
html[data-prep-ui]:root:not(#_) :is(.prep-dialog-action-layout,#athleteDialog):modal > :is(form,.privacy-panel) > .dialog-actions > .button,
html[data-prep-ui]:root:not(#_) .prep-staff-role-dialog:modal [data-role-manager] > .dialog-actions > .button {
  min-inline-size:0;
  max-inline-size:100%;
  min-block-size:var(--prep-control-h)!important;
  padding-block:6px!important;
  text-align:center;
  white-space:normal;
}
@media (max-width:767px) {
  html[data-prep-ui]:root:not(#_) :is(.prep-dialog-action-layout,#athleteDialog):modal > :is(form,.privacy-panel) > .dialog-actions,
  html[data-prep-ui]:root:not(#_) .prep-staff-role-dialog:modal [data-role-manager] > .dialog-actions {
    align-items:stretch;
  }
  html[data-prep-ui]:root:not(#_) :is(.prep-dialog-action-layout,#athleteDialog):modal > :is(form,.privacy-panel) > .dialog-actions > .button,
  html[data-prep-ui]:root:not(#_) .prep-staff-role-dialog:modal [data-role-manager] > .dialog-actions > .button {
    flex:1 1 124px!important;
  }
}
html[data-prep-ui]:root:not(#_):not(#__) .prep-staff-role-dialog:modal:has([data-role-manager]) {
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  padding:0!important;
}
html[data-prep-ui] .prep-staff-role-dialog:modal:has([data-role-manager]) > .prep-dialog-body {
  display:grid;
  min-block-size:0;
  padding:0!important;
}
html[data-prep-ui] .prep-staff-role-dialog:modal [data-role-manager] {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(0,1fr) auto;
  min-block-size:0;
  margin:0;
  gap:0;
}

html[data-prep-ui]:root:not(#_) .video-analysis-controls {
  display:grid;
  grid-template-columns:max-content minmax(0,100px) repeat(2,max-content) minmax(0,1fr);
  align-items:end;
  gap:8px;
}
html[data-prep-ui]:root:not(#_) .video-analysis-controls > label {
  min-width:0;
  margin:0!important;
  gap:4px;
}
html[data-prep-ui] .video-analysis-controls :is(button,select),
html[data-prep-ui] .video-analysis-controls > output {
  box-sizing:border-box;
  min-height:var(--prep-control-h);
  height:var(--prep-control-h);
  margin:0!important;
}
html[data-prep-ui] .video-analysis-controls :is(select,output) {min-width:0}
html[data-prep-ui] .video-analysis-controls > output {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:0;
}
html[data-prep-ui] .video-analysis-controls > output:empty {display:none}
@media (max-width:460px) {
  html[data-prep-ui]:root:not(#_) .video-analysis-controls {
    grid-template-columns:max-content minmax(0,100px) repeat(2,max-content);
  }
  html[data-prep-ui] .video-analysis-controls > output {grid-column:1 / -1}
}

@media (max-width:767px) {
  html[data-prep-ui]:root dialog.prep-fixed-dialog[open] {
    --prep-dialog-height:calc((100dvh - 16px) / var(--prep-z,1));
    max-block-size:var(--prep-dialog-height)!important;
    overflow:hidden;
  }
  html[data-prep-ui]:root:not(#_) dialog.prep-fixed-dialog > :is(form,section,div):has(> .dialog-heading):has(> .prep-dialog-fields) {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto minmax(0,1fr) auto;
    max-block-size:calc(var(--prep-dialog-height) - 2px);
    min-inline-size:0;
    gap:0;
    padding:0!important;
  }
  html[data-prep-ui]:root:not(#_):not(#__) dialog.prep-fixed-dialog .dialog-heading {
    position:static;
    margin:0!important;
  }
  html[data-prep-ui] dialog.prep-fixed-dialog .prep-dialog-fields {
    display:block;
    min-block-size:0;
    min-inline-size:0;
    padding:16px var(--dx) 20px;
    overflow-y:auto;
    overscroll-behavior:contain;
    scroll-padding-block:16px;
  }
  html[data-prep-ui] #bmxTrackForm .prep-dialog-fields {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-content:start;
    gap:16px;
  }
  html[data-prep-ui]:root:not(#_):not(#__) dialog.prep-fixed-dialog .dialog-actions {
    position:static!important;
    flex-direction:row;
    flex-wrap:wrap;
    margin:0!important;
    padding-block-end:max(12px,env(safe-area-inset-bottom))!important;
  }
  html[data-prep-ui] dialog.prep-fixed-dialog .dialog-actions > span:empty {display:none}
  html[data-prep-ui]:root:not(#_) dialog.prep-fixed-dialog .dialog-actions > .button {
    width:auto;
    min-width:0;
    max-width:100%;
    padding-inline:10px;
    white-space:normal;
  }
  html[data-prep-ui] dialog.prep-fixed-dialog .dialog-actions > .danger {margin-inline-end:auto}

  html[data-prep-ui]:root:not(#_) #weekBuilderDialog > section:has(> .dialog-heading) {
    display:grid;
    grid-template-rows:auto minmax(0,1fr);
    max-block-size:calc(var(--prep-dialog-height) - 2px);
    padding:0!important;
  }
  html[data-prep-ui] #weekBuilderDialog :is(#weekBuilderContent,[data-week-workspace],.prep-week-builder-form) {
    display:grid;
    grid-template-rows:minmax(0,1fr);
    min-block-size:0;
    min-inline-size:0;
  }
  html[data-prep-ui] #weekBuilderDialog .prep-week-builder-form {
    grid-template-rows:minmax(0,1fr) auto;
  }
}

/* R3c/R11: for narrow screens, keep calendar controls inside their containers. */
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui]:root:not(#_) #appShell:not([hidden]):has(#calendarView:not([hidden])) > #calendarToolStrip:not([hidden]) {
    flex-wrap:wrap;
  }
  html[data-prep-ui]:root:not(#_) #calendarToolStrip .calendar-tool-button {
    min-width:0;
    max-width:100%;
    padding-inline:8px;
  }
  html[data-prep-ui] #calendarToolStrip .calendar-tool-button > svg {
    flex:none;
  }
  html[data-prep-ui]:root:not(#_) #calendarView #calendarHeadingCalendar {
    min-width:0;
  }
  html[data-prep-ui]:root:not(#_) #calendarHeadingCalendar #sidebarCalendarSelect {
    min-width:0;
    max-width:100%;
  }
  html[data-prep-ui]:root:not(#_) #calendarView .calendar-period-row.fliq-calendar-period {
    flex-wrap:nowrap;
  }
  html[data-prep-ui]:root:not(#_) #calendarView .calendar-period-row > #calendarPeriod {
    flex:1;
    min-width:0;
    white-space:normal;
  }
  html[data-prep-ui] #calendarView .calendar-period-row > .calendar-arrow {
    flex:none;
  }
  html[data-prep-ui]:root:not(#_) #calendarView #calendarSummary {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px 12px;
    min-width:0;
  }
  html[data-prep-ui]:root:not(#_) #calendarSummary .calendar-next-race {
    flex:1 1 15rem;
    min-width:0;
    margin-inline-start:0;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  html[data-prep-ui] #calendarSummary > [data-edit-calendar-availability] {
    flex:none;
  }

  html[data-prep-ui] body:has(#appShell:not([hidden])) .prep-tabbar {
    grid-template-columns:repeat(var(--tabs,5),minmax(0,1fr));
  }
  html[data-prep-ui]:root:not(#_) #appShell #mainContent #prepPersonRecord .prep-page-tabs {
    flex-wrap:wrap;
    overflow:visible;
  }
  html[data-prep-ui]:root:not(#_) #appShell #mainContent #prepPersonRecord .prep-page-tabs > button {
    max-width:100%;
  }
}

/* R9: keep training and event labels readable in the narrow chooser. */
@media screen and (max-width:430px) {
  html[data-prep-ui]:root:not(#_) #calendarCreateDialog .prep-create-grid > .button {
    padding-inline:8px!important;
    word-break:normal;
    overflow-wrap:normal;
  }
}
@media screen and (max-width:360px) {
  html[data-prep-ui]:root:not(#_) #calendarCreateDialog .prep-create-grid {
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media (max-width:980px) {
  html[data-prep-ui] body.prep-athlete #prepAthleteTabs a {
    flex:1 1 auto;
  }
}

/* R3c/R9d: fit navigation controls and captions without narrowing calendar titles. */
html[data-prep-ui] #trainingTimeline .prep-calendar-action-short {display:none}
@media screen {
  html[data-prep-ui]:root:not(#_) body.prep-athlete #calendarView .calendar-period-row {
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    min-width:0;
  }
  html[data-prep-ui]:root:not(#_) body.prep-athlete #calendarView .calendar-period-row>#calendarPeriod {
    min-width:0;
    white-space:normal;
    overflow-wrap:normal;
  }
  html[data-prep-ui]:root:not(#_) body.prep-athlete #calendarView .calendar-period-row>#calendarNext {grid-column:3}
  #prepAthleteCalendarHint {
    margin:0 0 8px;
    color:var(--prep-text2);
    font-size:var(--prep-label-font);
  }
  @container prepcard (max-width:150px) {
    html[data-prep-ui] #trainingTimeline .prep-calendar-action-full {display:none}
    html[data-prep-ui] #trainingTimeline .prep-calendar-action-short {display:inline}
  }
}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui]:root:not(#_) body.prep-athlete #calendarView .calendar-period-row {width:100%;margin-inline:0}
}
@media screen and (min-width:761px) and (max-width:1050px) and (min-height:501px){
  html[data-prep-ui] body.prep-athlete #trainingTimeline .planning-event-card {
    grid-template-columns:minmax(0,1fr);
  }
  html[data-prep-ui] body.prep-athlete #trainingTimeline .planning-event-card>time {grid-row:auto}
}

/* Keep precise time windows readable when overlapping entries share a calendar column. */
.prep-availability-calendar {container-name:prep-availability}
@container prep-availability (max-width:860px) {
  .prep-availability-days {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;margin-block-end:8px}
  .prep-availability-days>.button {min-width:0;padding-inline:1px;display:grid;place-content:center;gap:2px;text-align:center}
  .prep-availability-days>.button[aria-pressed=true] {border-block-end:2px solid var(--prep-accent)!important;font-weight:650}
  .prep-availability-days small {font-size:.7rem}
  .prep-availability-columns {grid-template-columns:var(--availability-time-axis) minmax(0,1fr)}
  .prep-availability-short-day,.prep-availability-columns>[data-availability-column]:not([data-availability-selected]) {display:none}
  .prep-availability-long-day {display:inline}
}
@container availability-tile (max-width:82px) {
  .prep-availability-lane>.prep-availability-tile>strong>span {display:block}
  .prep-availability-lane>.prep-availability-tile>strong>.prep-slot-time-dash {display:none}
}

/* Regular availability and its time-window editor share a fixed header and footer. */
html[data-prep-ui]:root:not(#_) dialog:is(#prepAvailabilityDialog,.prep-availability-editor),
html[data-prep-ui]:root:not(#_) dialog:is(#prepAvailabilityDialog,.prep-availability-editor) form {
  padding:0!important;
}
html[data-prep-ui]:root :is(#prepAvailabilityDialog,.prep-availability-editor):modal {
  max-block-size:calc((100dvh - clamp(16px,3vh,32px)) / var(--prep-z,1))!important;
  overflow:hidden;
}
html[data-prep-ui]:root :is(#prepAvailabilityDialog,.prep-availability-editor):modal,
html[data-prep-ui]:root #prepAvailabilityDialog > :is([data-week-availability-form],[data-coach-availability-form]),
html[data-prep-ui]:root :is(#prepAvailabilityDialog,.prep-availability-editor) form {
  display:flex;
  flex-direction:column;
  gap:0;
  min-block-size:0;
  min-inline-size:0;
}
html[data-prep-ui]:root:not(#_) dialog:is(#prepAvailabilityDialog,.prep-availability-editor) :is(.dialog-heading,.dialog-actions) {
  flex:none;
  position:static!important;
  margin:0!important;
}
#prepAvailabilityDialog > .prep-availability-period {
  flex:none;
  grid-template-columns:minmax(0,270px);
  margin-block:12px 0;
  padding-inline:var(--dx,20px);
}
html[data-prep-ui]:root :is(#prepAvailabilityDialog,.prep-availability-editor) form > .prep-dialog-fields {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-content:start;
  gap:14px;
  min-block-size:0;
  min-inline-size:0;
  padding:16px var(--dx,20px) 20px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scroll-padding-block:16px;
}
html[data-prep-ui]:root .prep-availability-editor .prep-availability-slot {padding:0}
html[data-prep-ui]:root .prep-availability-editor .prep-dialog-fields>.form-error {margin:0}
html[data-prep-ui]:root :is(#prepAvailabilityDialog,.prep-availability-editor) [data-slot-training-control] {width:100%!important;max-width:none}
html[data-prep-ui]:root :is(#prepAvailabilityDialog,.prep-availability-editor) .prep-slot-type-option>span:last-child {
  overflow-wrap:break-word;
  hyphens:auto;
}
@media (max-width:360px) {
  html[data-prep-ui]:root:not(#_) :is(#prepAvailabilityDialog,.prep-availability-editor) {
    --dx:16px;
  }
}

/* Mobile history uses the full filter width and separates each label from its value. */
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] #appShell #mainContent #prepHistory .prep-filter-bar {grid-template-columns:minmax(0,1fr)}
}
/* R8 · Session-Builder: Kopf und Aktionen bleiben am scrollenden Formular sichtbar. */
html[data-prep-ui] #onlinePlanDialog.planiq-builder > #onlinePlanForm {
  overflow: auto;
  overscroll-behavior: contain;
}
html[data-prep-ui] #onlinePlanDialog.planiq-builder #onlinePlanForm > :is(.dialog-heading, .builder-footer) {
  position: sticky !important;
  flex: none;
  min-width: 0;
  z-index: 6;
}
html[data-prep-ui] #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading {
  top: 0;
  height: auto;
  background: var(--prep-surface);
  border-bottom: 1px solid var(--prep-line);
}
html[data-prep-ui] #onlinePlanDialog.planiq-builder #onlinePlanForm > .builder-footer {
  bottom: 0;
  display: flex !important;
  flex-flow: row wrap !important;
  justify-content: flex-end;
  margin: 0 !important;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom)) !important;
}
html[data-prep-ui]:root #onlinePlanDialog.planiq-builder #onlinePlanForm > .builder-footer > .button:not([hidden]) {
  flex: 0 1 auto !important;
  min-width: 0;
  max-width: 100%;
  padding: 4px 10px !important;
  line-height: 1.2;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
html[data-prep-ui] #onlinePlanDialog.planiq-builder #onlinePlanForm > .builder-footer > #deleteOnlinePlanButton {
  order: 0;
}
html[data-prep-ui] #onlinePlanDialog.planiq-builder #onlinePlanForm > .builder-footer > .builder-duration {
  flex: 1 1 10rem;
}

@media (max-width: 760px), (max-height:500px){
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading:has(#prepBuilderChips) {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-auto-rows: auto;
    align-content: start;
    align-items: start !important;
    justify-content: stretch;
    gap: 6px 8px;
    padding: 8px 12px 8px 16px !important;
  }
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading > div:has(> #prepBuilderChips) {
    display: contents !important;
  }
  html[data-prep-ui]:root #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading #prepBuilderBack {
    grid-area: 1 / 1;
  }
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading #onlinePlanDialogTitle {
    grid-area: 1 / 2;
    align-self: center;
    min-width: 0;
    line-height: 1.25 !important;
    hyphens: auto;
    overflow-wrap: anywhere;
  }
  html[data-prep-ui]:root #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading > [data-close-dialog] {
    grid-area: 1 / 3;
    align-self: start;
  }
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading #prepBuilderChips {
    grid-area: 2 / 1 / auto / -1;
    min-width: 0;
    margin: 0 !important;
  }
  html[data-prep-ui]:root #onlinePlanDialog.planiq-builder #onlinePlanForm #prepBuilderChips .prep-chip:not(#_) {
    flex: none;
    max-width: 100% !important;
  }
  html[data-prep-ui]:root #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading > #prepBuilderTemplate {
    grid-area: 3 / 1 / auto / -1;
    justify-self: start;
    min-width: 0;
    margin: 0 !important;
  }
  html[data-prep-ui]:root #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading > #prepBuilderTemplate > .button {
    justify-content: start;
    padding-inline: 8px !important;
  }
  html[data-prep-ui]:root #onlinePlanDialog.planiq-builder:not([data-builder-mobile-detail]) #onlinePlanForm > .builder-footer[data-builder-mobile-footer] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center !important;
    gap: 5px 8px !important;
    padding: 6px 12px max(6px, env(safe-area-inset-bottom)) !important;
  }
  html[data-prep-ui]:root #onlinePlanDialog.planiq-builder:not([data-builder-mobile-detail]) #onlinePlanForm > .builder-footer[data-builder-mobile-footer] > .builder-duration {
    grid-column: 1 / -1;
    grid-row: 1;
    flex-flow: row wrap;
    align-items: center;
    gap: 3px 8px;
    margin: 0 !important;
  }
  html[data-prep-ui]:root #onlinePlanDialog.planiq-builder:not([data-builder-mobile-detail]) .builder-footer[data-builder-mobile-footer] > .builder-duration > :is(.builder-duration-label,.builder-duration-hint,.builder-duration-range) {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  html[data-prep-ui] #onlinePlanDialog .builder-footer[data-builder-mobile-footer] > .builder-duration > :is(#prepDraftState,.builder-pending-jump) {
    order: 2;
  }
  html[data-prep-ui]:root #onlinePlanDialog #onlinePlanForm .builder-footer[data-builder-mobile-footer] #prepDraftState {
    flex: 0 1 auto;
    width: fit-content;
    max-width: 100%;
  }
  html[data-prep-ui] #onlinePlanDialog .builder-footer[data-builder-mobile-footer] > span:empty {
    display: none;
  }
  html[data-prep-ui]:root #onlinePlanDialog.planiq-builder #onlinePlanForm > .builder-footer[data-builder-mobile-footer] > :is(#saveOnlinePlanButton,#prepDraftButton):not([hidden]) {
    grid-column: 1;
    grid-row: 2;
  }
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog.planiq-builder #onlinePlanForm > .builder-footer[data-builder-mobile-footer] > .builder-footer-more:not([hidden]) {
    grid-column: 2;
    grid-row: 2;
  }
  html[data-prep-ui] #onlinePlanDialog .builder-footer[data-builder-mobile-footer] > .builder-footer-menu:not([hidden]) {
    position: absolute;
    inset-inline-end: 12px;
    inset-block-end: calc(100% + 4px);
    display: grid;
    gap: 2px;
    inline-size: min(250px, calc(100% - 24px));
    max-block-size: min(48dvh, 18rem);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 4px;
    border: 1px solid var(--prep-line);
    border-radius: 8px;
    background: var(--prep-surface);
    box-shadow: 0 5px 16px rgb(0 0 0 / .14);
  }
  html[data-prep-ui]:root #onlinePlanDialog.planiq-builder #onlinePlanForm .builder-footer-menu > .button:not([hidden]) {
    justify-content: flex-start;
    width: 100%;
    height: auto !important;
    min-height: var(--prep-control-h) !important;
    margin: 0 !important;
    padding: 5px 8px !important;
    text-align: start;
    white-space: normal;
    border: 0 !important;
    background: transparent !important;
  }
  html[data-prep-ui]:root #onlinePlanDialog.planiq-builder #onlinePlanForm .builder-footer-menu > .button:is(:hover,:focus-visible):not(:disabled) {
    background: var(--prep-hover) !important;
  }
  html[data-prep-ui]:root #onlinePlanDialog.planiq-builder #onlinePlanForm .builder-footer-menu > #deleteOnlinePlanButton:not([hidden]) {
    color: var(--prep-bad) !important;
  }
}

/* R8 · Gym: keep the pause clock, preset control and column heading on the same aligned track. */
#onlinePlanDialog .prep-gym-card {
  --prep-gym-pause-min: 120px;
}
html[data-prep-ui]:root #onlinePlanDialog.planiq-builder #onlinePlanForm .prep-gym-card .gym-set-row > label:has(> [data-gym-set-pause-clock]) {
  position: relative;
}
#onlinePlanDialog .prep-gym-card .gym-set-row > label:has(> [data-gym-set-pause-clock]) > .prep-pause-hint {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* R3b · Track Effort: give the selects their own line under the labels on compact screens. */
@media (max-width: 760px), (max-height:500px){
  html[data-prep-ui]:root #onlinePlanDialog.planiq-builder #onlinePlanForm .prep-track-card .prep-ex-head .prep-ex-context:not(:empty) {
    display: grid;
    flex: 1 1 100%;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 152px), 1fr));
    gap: 8px;
  }
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog.planiq-builder #onlinePlanForm .prep-track-card .prep-ex-context > .prep-ex-inl:not([hidden]) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog.planiq-builder #onlinePlanForm .prep-track-card .prep-ex-context > .prep-ex-inl > span {
    position: static;
    transform: none;
    font-size: 12.5px !important;
    font-weight: 500;
    line-height: 1.25;
    color: var(--prep-text2);
  }
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog.planiq-builder #onlinePlanForm .prep-track-card .prep-ex-context > .prep-ex-inl > select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-inline: 10px 28px !important;
  }
}

/* R3c · Rhythm controls shared by Strength, Sprint and Gate Blocks.
   Stufe 5b (29.11.2026): height, padding and font come from the block "R3c Umschalter und Reiter"; on the phone the two
   segments size to their text and stay on one line (before: own 34 px min-height, wrapping "Feste Wochentage"). */
@media (max-width: 760px), (max-height:500px){
  html[data-prep-ui]:root:not(#_):not(#__) #blocksView .block-seg:has(> [data-block-schedule]) {
    width: fit-content;
    max-width: 100%;
  }
  html[data-prep-ui]:root:not(#_):not(#__) #blocksView .block-seg > [data-block-schedule] {
    flex: none;
    width: auto !important;
    max-width: none;
    white-space: nowrap;
  }
}

@media (min-width: 560px) and (max-width: 760px), (min-width: 560px) and (max-height:500px){
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading:has(#prepBuilderChips) {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading #onlinePlanDialogTitle {
    grid-area: 1 / 2 / auto / 4;
  }
  html[data-prep-ui] #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading > [data-close-dialog] {
    grid-column: 4;
  }
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading #prepBuilderChips {
    grid-column: 1 / 3;
  }
  html[data-prep-ui] #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading > #prepBuilderTemplate {
    grid-area: 2 / 3 / auto / -1;
    justify-self: end;
  }
}

@media (max-width: 760px) and (max-height: 500px), (max-height:500px) and (max-height: 500px){
  html[data-prep-ui] #onlinePlanDialog.planiq-builder #onlinePlanForm > .builder-footer > .builder-duration {
    flex-flow: row wrap;
    align-items: baseline;
    gap: 0 8px;
  }
  html[data-prep-ui]:root #onlinePlanDialog.planiq-builder #onlinePlanForm > .builder-footer {
    padding-block: 6px max(6px, env(safe-area-inset-bottom)) !important;
  }
}
/* R3b/R6: keep session notes readable and preserve footer action order on phones. */
@media (max-width:760px), (max-height:500px){
  html[data-prep-ui]:root:not(#_) #prepAthleteSession .dialog-actions {
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:flex-end;
  }
}

@media screen {
  html[data-prep-modal-locked] {
    overscroll-behavior: none;
  }

  html[data-prep-modal-locked],
  html[data-prep-modal-locked] > body {
    overflow: hidden;
  }

  /* Keep the background in place on touch browsers that still pan a locked viewport. */
  html[data-prep-modal-fixed] > body {
    position: fixed;
    inset-inline: 0;
    top: calc(var(--prep-modal-scroll-top) / var(--prep-z, 1));
  }
}

/* R8: In Trainerdialogen bleiben Kopf und Aktionen beim Scrollen sichtbar. */
html[data-prep-ui] #profileInvitationForm > .prep-dialog-fields > .supporting {
  margin:0 0 12px;
  font-size:13px;
  line-height:20px;
}
@media (max-width:767px) {
  html[data-prep-ui] :is(#trainingGroupDialog,#profileInvitationDialog,#existingAthleteInvitationDialog) .prep-dialog-fields {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-content:start;
    gap:12px;
  }
  html[data-prep-ui]:root:not(#_) dialog:is(.prep-track-grants-dialog,.prep-add-participant-dialog) .dialog-actions {
    position:sticky!important;
  }
}
/* R8 · The × remains beside the heading, including when a long title wraps. */
html[data-prep-ui] .prep-action-dialog > header,
html[data-prep-ui] .calendar-schedule-dialog .dialog-heading {
  flex-wrap: nowrap;
}
html[data-prep-ui]:root .calendar-schedule-dialog .dialog-actions > .prep-multiline-button {
  min-height:var(--prep-control-h)!important;
  height:auto!important;
}

@media (max-width: 767px) {
  /* The list and the detail state each have their own action row. */
  html[data-prep-ui]:root #sessionLibraryDialog:not(:has(.is-detail)) > .session-library-shell > .dialog-actions {
    position: sticky !important;
    bottom: 0;
  }
  html[data-prep-ui]:root:not(#_) #sessionLibraryDialog:has(.is-detail) > .session-library-shell > .dialog-actions {
    display: none !important;
  }
  html[data-prep-ui] #sessionLibraryDialog .pl-library-footer .pl-library-more {
    margin-inline-start: auto;
  }
  html[data-prep-ui]:root:not(#_):not(#__) .calendar-schedule-dialog .dialog-actions {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
  }
  html[data-prep-ui]:root:not(#_) .calendar-schedule-dialog .dialog-actions > .button {
    min-width:0;
    justify-content:center;
    padding:6px 8px!important;
    text-align:center;
    white-space:normal!important;
    overflow-wrap:anywhere;
    line-height:1.25!important;
  }
}
@media (max-width:360px) {
  html[data-prep-ui]:root:not(#_) :is(#onlineEventDialog,#prepAvailabilityDialog,.prep-availability-editor) .dialog-actions {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
  }
  html[data-prep-ui]:root:not(#_) :is(#onlineEventDialog,#prepAvailabilityDialog,.prep-availability-editor) .dialog-actions > .button {
    grid-column:auto;
    justify-content:center;
    padding:6px 8px!important;
    text-align:center;
    white-space:normal!important;
    overflow-wrap:anywhere;
    line-height:1.25!important;
  }
  html[data-prep-ui]:root:not(#_) :is(#onlineEventDialog,#prepAvailabilityDialog,.prep-availability-editor) .dialog-actions > .danger {
    grid-column:1/-1;
  }
}
/* R5 · Keep focused fields between the sticky Builder header and actions. */
html[data-prep-ui] #onlinePlanDialog.planiq-builder > #onlinePlanForm {
  scroll-padding-block: calc(var(--builder-head, 0px) + 8px) calc(var(--builder-foot, 0px) + 8px);
}
html[data-prep-ui][data-prep-input="keyboard"] #onlinePlanDialog #prepBuilderDateChip:focus-within {
  outline: 1px solid var(--prep-text2);
  outline-offset: 1px;
}

/* The mobile sequence and single-exercise editor use the same form and fields. */
html[data-prep-ui]:root #onlinePlanDialog :is(.builder-mobile-heading,.builder-mobile-done,.builder-mobile-session-details,.builder-mobile-endurance) {
  display:none!important;
}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui]:root:not(#_) body #onlinePlanDialog.planiq-builder:modal {
    inset:0;
    width:100%;
    max-width:none;
    height:100dvh;
    max-height:100dvh;
    margin:0;
    border:0;
    border-radius:0;
  }
  html[data-prep-ui]:root:not(#_) body #onlinePlanDialog.planiq-builder > #onlinePlanForm {
    display:flex!important;
    flex-direction:column;
    padding:0!important;
  }
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading:has(#prepBuilderChips) {
    padding-block-start:max(8px,env(safe-area-inset-top))!important;
  }
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog.planiq-builder #onlinePlanForm > .dialog-heading #onlinePlanDialogTitle {
    color:var(--prep-text);
    font-size:clamp(16px,4.4vw,20px)!important;
    font-weight:650!important;
  }
  html[data-prep-ui]:root #onlinePlanDialog #prepBuilderCalendarName:not([hidden]) {
    display:block;
    color:var(--prep-text2);
    font-size:.78em;
    font-weight:500;
    line-height:1.35;
  }
  html[data-prep-ui]:root #onlinePlanDialog #prepBuilderCalendarName::before {content:none}

  html[data-prep-ui]:root:not(#_) body #onlinePlanDialog.planiq-builder #onlinePlanForm .builder-workspace {
    flex:1 0 auto;
    min-width:0;
    overflow:visible!important;
    padding:12px 16px!important;
  }
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog #onlinePlanForm > :is(.builder-mobile-session-details,.builder-meta) {
    flex:none;
  }
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog #onlinePlanForm:not([data-builder-mobile-meta-open]) > .builder-meta,
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog #onlinePlanForm .prep-builder-meta:empty {
    display:none!important;
  }
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog .builder-mobile-session-details,
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog .builder-mobile-endurance:not([hidden]) {
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:44px;
    padding:6px 10px;
    border:1px solid var(--prep-line);
    border-radius:8px;
    background:var(--prep-bg2);
    color:var(--prep-text);
    text-align:start;
    font-weight:600;
  }
  html[data-prep-ui]:root #onlinePlanDialog .builder-mobile-session-details {margin:10px 16px 0}
  html[data-prep-ui]:root #onlinePlanDialog .builder-mobile-session-details::after {color:var(--prep-text2)}
  html[data-prep-ui]:root #onlinePlanDialog .builder-mobile-session-details[aria-expanded=true]::after {}
  html[data-prep-ui]:root #onlinePlanDialog .builder-mobile-endurance:not([hidden]) {width:100%;margin-block:4px 8px}
  html[data-prep-ui]:root #onlinePlanDialog .builder-mobile-endurance::after {content:"›";color:var(--prep-text2)}
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog #onlinePlanForm .builder-outline .prep-quick-fields{
    display:none!important;
  }
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-block-choice {
    padding:8px 26px 8px 10px!important;
    min-height:48px!important;
    position:relative;
    background:var(--prep-surface);
  }
  html[data-prep-ui]:root #onlinePlanDialog .builder-outline .builder-block-choice::after {
    content:"›";
    position:absolute;
    inset-inline-end:10px;
    inset-block-start:50%;
    transform:translateY(-50%);
    color:var(--prep-text2);
    font-size:18px;
  }
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-pending > .builder-choice-status:not(:empty) {
    display:block;
  }
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog:not([data-builder-mobile-detail]) #onlinePlanForm .builder-workspace > .builder-editor {
    display:none!important;
  }

  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog[data-builder-mobile-detail] #onlinePlanForm
    > :is(.prep-builder-meta, .online-plan-slot-context),
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog[data-builder-mobile-detail] #onlinePlanForm .builder-workspace > :is(.builder-outline,.prep-planning-actions),
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog[data-builder-mobile-detail] #onlinePlanForm > .dialog-heading > :not(.builder-mobile-heading),
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog[data-builder-mobile-detail] #onlinePlanForm > .builder-footer > :not(.builder-mobile-done){
    display:none!important;
  }
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog[data-builder-mobile-detail].planiq-builder #onlinePlanForm > .dialog-heading {
    display:block!important;
    padding:8px 16px!important;
    padding-block-start:max(8px,env(safe-area-inset-top))!important;
  }
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog[data-builder-mobile-detail] #onlinePlanForm .dialog-heading > .builder-mobile-heading {
    display:grid!important;
    grid-template-columns:max-content minmax(0,1fr);
    align-items:center;
    gap:10px;
  }
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog[data-builder-mobile-detail] #onlinePlanForm .builder-mobile-heading h2 {
    color:var(--prep-text)!important;
    font-size:clamp(15px,4.4vw,20px)!important;
    font-weight:650!important;
    line-height:1.2!important;
    overflow-wrap:anywhere;
    outline:none;
  }
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog[data-builder-mobile-detail] #onlinePlanForm .builder-mobile-back {
    white-space:nowrap;
  }
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog[data-builder-mobile-detail] #onlinePlanForm .builder-workspace > .builder-editor {
    display:block!important;
    width:100%!important;
    min-width:0;
    max-height:none!important;
    padding:0!important;
    overflow:visible!important;
    position:static!important;
  }
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog[data-builder-mobile-detail] #onlinePlanForm .builder-editor .prep-ex-card {
    width:100%;
    margin:0;
  }
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog[data-builder-mobile-detail] .prep-ex-head {
    margin-inline:0;
  }
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog[data-builder-mobile-detail] .prep-ex-head > .prep-ex-name {
    flex-basis:100%;
    min-width:0;
  }
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog[data-builder-mobile-detail]
    .prep-track-card .online-track-set-table:not(.online-track-set-gate):not(:has(.prep-track-extra)) :is(.online-track-set-head,.online-track-set-row) {
    grid-template-columns:minmax(58px,1.15fr) repeat(4,minmax(0,1fr))!important;
  }
  html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog[data-builder-mobile-detail]
    .prep-track-card .online-track-set-table:not(.online-track-set-gate):not(:has(.prep-track-extra)) .online-track-set-head > span {
    padding-inline:3px!important;
    text-align:center;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog[data-builder-mobile-detail] #onlinePlanForm > .builder-footer > .builder-mobile-done {
    display:inline-flex!important;
    justify-content:center;
    grid-column:1/-1;
    flex:1 1 100%!important;
    width:100%!important;
  }
}
@media screen and (min-width:380px) and (max-width:760px), screen and (min-width:380px) and (max-height:500px){
  html[data-prep-ui]:root:not(#_) #onlinePlanDialog[data-builder-mobile-detail] .prep-track-point-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* ===== R12 Handy (23.11.2026, Lars: „Ja, Fehler beheben“ nach der Handy-Prüfung aller Seiten bei 375 × 812) =====
   Regeltext: Konzept/Prep-V2-Review/Designregeln.md, R12a–R12i. Jede Regel nennt die Ursache in den alten Schichten. */
/* R12h Dokumentieren › Trainingsablauf: planiq-mobile-refinement.css blendet das Nummernsymbol aus,
   planiq-unit-view.css lässt aber zwei Spalten (1.5rem + Rest) stehen → Text landete in der 1.5rem-Spalte. */
html[data-prep-ui]:root:not(#_):not(#__) #executionDialog.compact-documentation .documentation-item{grid-template-columns:minmax(0,1fr)!important}

/* R12i Einheiten-Fenster: prep-v359.css führt .planned-block-primary zusammen mit den Hauptknöpfen
   (weiße Fläche, dunkle Schrift). Es ist aber eine Dosis-Angabe, kein Knopf. */
html[data-prep-ui]:root:not(#_):not(#__) span.planned-block-primary{background:transparent!important;color:var(--prep-text)!important;border:0!important;padding:0!important;box-shadow:none!important;font-weight:600!important}

@media (max-width:760px), (max-height:500px){

/* R12a Schwebender Hauptknopf (.page-primary): 48 × 48, nur das „+“, Beschriftung bleibt für Vorleseprogramme.
   Vorher 176–210 × 40 und über „Training starten“, Kartenwerten und „KW 49“. Seite bekommt unten Platz. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) body:has(#appShell:not([hidden])) #mainContent .page-heading .page-primary:not(:where(.prep-library-view *)){width:48px!important;min-width:48px!important;max-width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;border-radius:12px!important;gap:0!important;justify-content:center!important;box-shadow:0 6px 18px rgba(0,0,0,.28)!important;right:16px!important;left:auto!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent .page-heading .page-primary:not(:where(.prep-library-view *))>span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent .page-heading .page-primary:not(:where(.prep-library-view *))>.button-icon{width:22px!important;height:22px!important;margin:0!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent section[id$="View"]:has(.page-heading .page-primary:not(:where(.prep-library-view *))){padding-bottom:calc(152px + env(safe-area-inset-bottom,0px))!important}

/* R12b Menüs liegen über der Tableiste (Tableiste z-index 170, Kartenmenü hatte 120 → „Löschen“ verdeckt). */
html[data-prep-ui]:root :is(#calendarContextMenu,#sidebarCalendarPicker,.prep-add-menu,.prep-combo-pop){z-index:190!important}


/* R12d Einheiten-Fenster: app.css gibt jeder Tabelle min-width 580 px → Inhalt seitlich verschiebbar (339/580). */
html[data-prep-ui]:root:not(#_):not(#__) #unitDetailDialog .unit-detail-content table{min-width:0!important;width:100%!important}
html[data-prep-ui]:root:not(#_):not(#__) #unitDetailDialog .unit-detail-content table :is(th,td){padding-inline:8px!important}

/* R12e Tableiste im Hellmodus: prep-v359.css setzt fest rgba(28,31,34,.62) (dunkel) → dunkle Schrift auf Grau,
   aktiver Reiter grün auf Grau ≈ 1,3:1. Jetzt helle Fläche, aktiv #047857 wie R9c. */
html[data-theme="light"][data-prep-ui]:root:not(#_):not(#__) body:has(#appShell:not([hidden])) .prep-tabbar{background:color-mix(in srgb,var(--prep-surface) 88%,transparent)!important;background-color:color-mix(in srgb,var(--prep-surface) 88%,transparent)!important;border:1px solid var(--prep-line)!important;box-shadow:0 8px 24px rgba(17,20,24,.14)!important}
html[data-theme="light"][data-prep-ui]:root:not(#_):not(#__) .prep-tab[aria-current="page"]{color:#047857!important}

/* R12f Listen-Tabellen (.prep-list-table: Veranstaltungen, Athleten, Trainingsgruppen) als Karten.
   Die Beschriftung kommt aus data-label an der <td> (app.js: Veranstaltungs-, Athleten- und Gruppentabelle). */
html[data-prep-ui]:root:not(#_):not(#__) .prep-table-scroll,
html[data-prep-ui]:root:not(#_):not(#__) .prep-list-surface:has(>table.prep-list-table){overflow:visible!important;border:0!important;background:none!important}
html[data-prep-ui]:root:not(#_):not(#__) table.prep-list-table{display:block!important;min-width:0!important;width:100%!important;border:0!important;background:none!important}
html[data-prep-ui]:root:not(#_):not(#__) table.prep-list-table>thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
html[data-prep-ui]:root:not(#_):not(#__) table.prep-list-table>tbody{display:grid!important;gap:8px!important}
html[data-prep-ui]:root:not(#_):not(#__) table.prep-list-table>tbody>tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 12px!important;padding:12px 14px!important;border:1px solid var(--prep-line)!important;border-radius:10px!important;background:var(--prep-surface)!important}
html[data-prep-ui]:root:not(#_):not(#__) table.prep-list-table>tbody>tr>:is(td,th){display:block!important;grid-column:1/-1;width:auto!important;min-width:0!important;max-width:none!important;padding:0!important;border:0!important;background:none!important;text-align:left!important}
html[data-prep-ui]:root:not(#_):not(#__) table.prep-list-table>tbody>tr>th{order:-1}
html[data-prep-ui]:root:not(#_):not(#__) table.prep-list-table>tbody>tr>td[data-label]:not(:empty)::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--prep-text3)}
html[data-prep-ui]:root:not(#_):not(#__) table.prep-event-list-table>tbody>tr>td:is(:nth-child(1),:nth-child(3)),
html[data-prep-ui]:root:not(#_):not(#__) table.prep-athletes-table>tbody>tr>td:is(:nth-child(2),:nth-child(4)),
html[data-prep-ui]:root:not(#_):not(#__) table.prep-athlete-groups-table>tbody>tr>td:is(:nth-child(2),:nth-child(3)),
html[data-prep-ui]:root:not(#_):not(#__) table.prep-history-table>tbody>tr>td{grid-column:auto}
html[data-prep-ui]:root:not(#_) table.prep-event-list-table>tbody>tr>td:last-child::before{display:none}
html[data-prep-ui]:root:not(#_):not(#__) table.prep-event-list-table>tbody>tr>td:last-child{display:flex!important;justify-content:flex-end;gap:8px;border-top:1px solid var(--prep-line)!important;padding-top:4px!important}

/* R12g Monatsansicht als Raster – von Lars am 23.11.2026 bestätigt („Ja, als Raster“).
   Ursache vorher: app.css erzwingt am Handy min-width 840 px, calendar-refinements.css Zeilen von mind. 144 px,
   dazu volle Karten und zwei 44er Knöpfe je Tag (6.360 px hoch, seitlich scrollen).
   Im Test (Stand 14:50): 7 Spalten à 49 px, Monat ≈ 520 px hoch, kein Seitwärtsscrollen.
   Balken = linker Farbstreifen der Karte, auf volle Breite gezogen (border-left 80 px) → Farbe der Trainingsart
   ohne Skript. Verfügbarkeits-Zeitfenster dünn und blass, Entwürfe blass, Wettkampf in Textfarbe, höchstens 6 Balken.
   Skript: app.js, Klick-Behandlung „Im Monat springt ein Klick auf eine Zelle … in deren Woche“ gilt am Handy immer. */
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view{overflow-x:hidden!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view :is(.calendar-weekdays,.calendar-days){min-width:0!important;grid-template-columns:repeat(7,minmax(0,1fr))!important}
html[data-prep-ui]:root:not(#_) #trainingTimeline.month-view .calendar-days{grid-auto-rows:minmax(68px,auto)!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view .calendar-days>:not(.calendar-day){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view .calendar-weekdays>:nth-child(n+8){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view .calendar-day{min-height:68px!important;padding:2px 2px 6px!important;min-width:0!important;cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view .calendar-day-heading{display:flex!important;justify-content:center!important;align-items:center!important;min-height:0!important;height:30px!important;padding:0!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view .calendar-day-date-group{min-height:0!important;height:auto!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view .calendar-day-label{height:24px!important;min-height:0!important;min-width:24px!important;line-height:24px!important;font-size:13px!important;text-align:center!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view :is(.calendar-day-actions, .calendar-day-availability, .calendar-more-link){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view .calendar-day-units{display:grid!important;gap:3px!important;padding:0 3px!important;min-height:0!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view .calendar-day-units>*{box-sizing:border-box!important;width:100%!important;height:6px!important;min-height:0!important;max-height:6px!important;padding:0!important;margin:0!important;overflow:hidden!important;border-width:0 0 0 80px!important;border-style:solid!important;border-radius:3px!important;font-size:0!important;background:none!important;box-shadow:none!important;pointer-events:none}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view .calendar-day-units>*>*{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view .calendar-day-units>.calendar-training-slot{height:3px!important;max-height:3px!important;opacity:.45}
/* Entwürfe bleiben auch im Raster eindeutig (v364 „Entwürfe deutlich kennzeichnen“): nur ein kurzer Farbansatz links,
   der Rest als gestrichelter Umriss statt eines vollen Balkens. Der Text „Entwurf“ steht nach dem Tipp in der Woche. */
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view .calendar-day-units>[data-status="draft"]{height:8px!important;max-height:8px!important;border-width:1.5px 1.5px 1.5px 10px!important;border-style:dashed!important;border-left-style:solid!important;border-top-color:var(--prep-text2)!important;border-right-color:var(--prep-text2)!important;border-bottom-color:var(--prep-text2)!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view .calendar-day-units>.calendar-race-chip{border-left-color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view .calendar-day-units>:nth-child(n+7){display:none!important}
html[data-prep-ui]:root #trainingTimeline.week-view .calendar-day{scroll-margin-top:64px}

}

/* ===== R12 Handy, Teil 2: Knöpfe (23.11.2026, Lars: „Ja, Knöpfe“) – Regeltext: Designregeln.md R12j–R12n ===== */
@media (max-width:760px), (max-height:500px){

/* R12j Kalenderkopf am Handy: siehe R13 weiter unten (ersetzt die erste Fassung „Heute neben Woche · Monat · Jahr“). */
/* R12j Werkzeugleiste: vier Knöpfe brachen auf zwei Zeilen (103 px). „Veranstaltungen“ steht am Handy schon in der Tableiste. */
html[data-prep-ui]:root:not(#_):not(#__) #calendarToolStrip>#calendarToolRaces{display:none!important}

/* R12k Fußleisten: app.css stapelt sie am Handy (column-reverse), prep-v359.css nimmt die volle Breite wieder weg →
   gestapelt und mittig (Einheit) oder zweizeilig (BMX-Bahn, Athleten-Einheit). Jetzt eine Zeile, Hauptaktion rechts.
   Session-Planung (#onlinePlanDialog) hat eine eigene Fußleiste und bleibt ausgenommen. */
html[data-prep-ui]:root:not(#_):not(#__) dialog:not(#onlinePlanDialog) .dialog-actions{flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important}
html[data-prep-ui]:root:not(#_):not(#__) dialog:not(#onlinePlanDialog) .dialog-actions>:is(.button,button){flex:0 0 auto!important;white-space:nowrap!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) dialog:not(#onlinePlanDialog) .dialog-actions>:is(.button,button){padding-inline:var(--prep-btn-pad-x)!important}
html[data-prep-ui]:root dialog:not(#onlinePlanDialog) .dialog-actions>.button.primary{order:9!important}
html[data-prep-ui]:root:not(#_):not(#__) dialog:not(#onlinePlanDialog) .dialog-actions>.button.danger{margin-right:auto!important}
/* Mit sichtbarem „Löschen“ passen drei Knöpfe nicht in eine Zeile: „Abbrechen“ entfällt, das × trägt dasselbe data-close-dialog.
   Beim Anlegen ist „Löschen“ per hidden ausgeblendet – dann bleibt „Abbrechen“ stehen. */
html[data-prep-ui]:root:not(#_):not(#__) dialog:has(.dialog-heading [data-close-dialog]) .dialog-actions:has(>.button.danger:not([hidden]))>.button[data-close-dialog]{display:none!important}
/* Athleten-Training: „Vorherige Übung“ als Pfeil (Name bleibt für Vorleseprogramme), sonst passen drei Knöpfe nicht. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #prepAthleteSession .dialog-actions>[data-act="previous"]{font-size:0!important;width:40px!important;min-width:40px!important;padding:0!important;justify-content:center!important;overflow:hidden!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .dialog-actions>[data-act="previous"]::before{content:"‹";font-size:22px;line-height:1}

/* R12l Aktionen in Listenzeilen rechts: Kalenderverlauf hatte „Rückgängig“ in eigener Zeile (90 px je Eintrag). */
html[data-prep-ui]:root:not(#_):not(#__) dialog.prep-action-dialog li:has(>span+button.button){flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
html[data-prep-ui]:root:not(#_):not(#__) dialog.prep-action-dialog li:has(>span+button.button)>span{width:auto!important;min-width:0;flex:1 1 0!important}
html[data-prep-ui]:root:not(#_):not(#__) dialog.prep-action-dialog li:has(>span+button.button)>button{flex:0 0 auto!important}
/* R12l Wochenvorlage: drei Aktionen brachen auf zwei Zeilen, „Löschen“ stand allein unter „In Woche laden“. */
html[data-prep-ui]:root:not(#_):not(#__) .prep-week-actions{flex-wrap:nowrap!important;gap:4px!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-week-actions>.button{padding-inline:var(--prep-btn-pad-x)!important;min-width:0!important;white-space:nowrap!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-week-actions>.button.danger{margin-left:auto!important}

/* R12m Athlet: „Training starten“ war im Kalender 324 × 40 (width:100% aus dieser Datei), im Athletecenter 129 × 40. */
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.week-view .calendar-session-action .button{width:auto!important}

/* R12n Dokumentieren: „Block erledigt“ nur, wenn der Block mehr als einen Schritt hat (sonst doppelt zum ✓). */
html[data-prep-ui]:root:not(#_):not(#__) #executionDialog .documentation-block:not(:has(.documentation-item-row~.documentation-item-row))>[data-documentation-block-done]{display:none!important}

}

/* ===== R12 Handy, Teil 3: Tippflächen (23.11.2026, Lars: „Ja, Tippflächen“) – Regeltext: Designregeln.md R12o ===== */
@media (max-width:760px), (max-height:500px){

/* R12o Tageskopf im Kalender: „+“ und „⌄“ waren 28 × 28 ohne Abstand nebeneinander → sichtbar 40 × 40, 4 px Abstand.
   (Monat ausgenommen: dort gibt es am Handy keine Knöpfe je Tag, R12g.) */
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline:not(.month-view) .calendar-day-actions{gap:4px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #trainingTimeline:not(.month-view) :is(.calendar-add,.calendar-range-menu){width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}

/* R12o Kleine Symbolknöpfe: Aussehen bleibt, die Tippfläche wächst unsichtbar um 8 px je Seite (≈ 44 px).
   Karten-„⌄“ 28, „weitere“ 28 hoch, × 30, Coachcenter-„+“ 26, Textlink „Heute“ 23 hoch. Keiner dieser Knöpfe nutzte ::after. */
html[data-prep-ui]:root:not(#_):not(#__) :is(#trainingTimeline .session-menu-button,#trainingTimeline .flow-toggle,#coachAthleteList .coach-week-add,#coachAthleteList .prep-text-action,dialog :is(.dialog-heading,header)>.icon-button,dialog [data-prep-close])::after{content:"";position:absolute;inset:-8px}
html[data-prep-ui]:root:not(#_):not(#__) :is(#trainingTimeline .flow-toggle,#coachAthleteList .coach-week-add,#coachAthleteList .prep-text-action,dialog :is(.dialog-heading,header)>.icon-button,dialog [data-prep-close]){position:relative!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .flow-toggle::after{inset:-8px 0}
html[data-prep-ui]:root:not(#_):not(#__) #coachAthleteList .prep-text-action::after{inset:-10px 0}

/* R12o/R7 Zeilen in Menüs und Auswahllisten 44 px (waren 34–36), Abschnittsköpfe 40. Chips: Block „R6b Chips und Tags“ (Stufe 6). */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #sidebarCalendarPicker .calendar-picker-section{min-height:40px!important}
/* R12o Übungsauswahl: Kasten ist höchstens 340 px, die Liste darin fest 270 px → sie ragte unten aus dem Kasten
   (vorher 30 px, mit den höheren Zeilen mehr). Jetzt füllt die Liste nur den Rest des Kastens und rollt darin. */
/* Nur die GEÖFFNETE Auswahl (ohne hidden): v366 zeigte sonst den geschlossenen Kasten leer unter dem Feld an
   und verdeckte die Beschriftungen darunter (Lars, iPhone 23.11.2026). */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-pop:not([hidden]){display:flex!important;flex-direction:column!important;overflow:hidden!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-pop:not([hidden])>.prep-combo-list{flex:1 1 auto!important;min-height:0!important;max-height:none!important}

}

/* ===== R12 Handy, Teil 4: Fenster springen nicht (23.11.2026, Lars: Bildschirmaufnahme „verhält sich komisch“) – Designregeln.md R12p ===== */
@media (max-width:760px), (max-height:500px){

/* R12p Einheiten-Fenster: Höhe war nur so groß wie der Inhalt (bis höchstens Bildschirmhöhe) und mittig gesetzt.
   „Antworten des Trainerteams“ wird nachgeladen → das Fenster wuchs nach rund 0,6 s, Titel und Knöpfe verrutschten.
   Jetzt immer volle Höhe; die Schale hat schon Kopf · Inhalt (rollt) · Fußleiste als Raster. */
html[data-prep-ui]:root:not(#_):not(#__) #unitDetailDialog[open]{height:calc(100dvh - 20px)!important}
html[data-prep-ui]:root:not(#_):not(#__) #unitDetailDialog .unit-detail-shell{height:100%!important}

/* R12p Athleten-Einheit und -Training: dasselbe zwischen kurzen und langen Schritten (526 px ↔ 796 px),
   „Nächste Übung“ sprang dadurch. Feste Höhe; die Fußleiste steht unten, auch wenn der Schritt kurz ist. */
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession[open]:not([data-session-workspace]){height:calc(100dvh - 16px)!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession:not([data-session-workspace])>section{min-height:100%!important;display:flex!important;flex-direction:column!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession>section>.dialog-actions{margin-top:auto!important}

}

/* ===== R12 Handy, Teil 5: Satztabelle in der Session-Planung (23.11.2026, Lars: Markierungen im iPhone-Bild) – Designregeln.md R12o ===== */
@media (max-width:760px), (max-height:500px){

/* R12o „Sätze − +“ waren 18 × 18 direkt nebeneinander, „+“ bei „danach“ 17 × 20 – mit dem Finger kaum zu treffen.
   Kopfzelle zweizeilig: Beschriftung oben, Knöpfe 28 × 28 darunter, Tippfläche unsichtbar auf rund 44 px Höhe.
   Die Spaltenbreiten bleiben, darum passt die Tabelle weiter in die Karte. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog :is(.online-track-set-head,.prep-gym-head)>span:has(>.prep-set-step){display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;height:auto!important;padding-block:6px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-set-step{display:flex!important;gap:6px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-set-step>button{position:relative!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;font-size:16px!important;line-height:1!important;border-radius:8px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-set-step>button::after{content:"";position:absolute;inset:-8px -3px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .online-track-set-head>span:has(>.prep-col-add){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;height:auto!important;padding-block:6px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-col-add{position:relative!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;font-size:16px!important;line-height:1!important;border-radius:8px!important;border:1px solid var(--prep-line)!important;background:var(--prep-surface)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-col-add::after{content:"";position:absolute;inset:-8px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .online-track-set-head{height:auto!important;align-items:stretch!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .online-track-set-head>.prep-track-sp{display:flex!important;align-items:center!important;justify-content:center!important}

}

/* ===== R13 Kalenderkopf nach Entwurf „Kalenderleiste“ (23.11.2026, Lars) – Designregeln.md R13 =====
   Nur neue Plätze im bestehenden Raster von #calendarView (prep-base-layout.css: 8 Spalten); kein Markup geändert.
   Die Zusammenfassung (#calendarSummary) wird aufgelöst (display:contents), damit „Verfügbarkeit“ und der
   nächste Wettkampf einzeln platziert werden können. Kalendervergleich (.calendar-compare-open) bleibt unberührt. */
@media (min-width:761px) and (min-height:501px){
/* Zeile 1: Kalender · Athletenwahl …… Verfügbarkeit · ⌄ · Ereignis erstellen
   Zeile 2: Heute · ‹ Datum KW › · Woche|Monat|Jahr …… nächster Wettkampf (zweizeilig, rechtsbündig) */
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open) #calendarSummary{display:contents!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open) .calendar-heading-title{grid-area:1 / 1 / 2 / span 3!important;justify-self:start!important}
html[data-prep-ui]:root #mainContent #calendarView:not(.calendar-compare-open) .calendar-navigation{grid-area:2 / 1!important}
html[data-prep-ui]:root #mainContent #calendarView:not(.calendar-compare-open) .calendar-period-row{grid-area:2 / 2!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open) .segmented-control{grid-area:2 / 3!important;justify-self:start!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open) #calendarSummary>.calendar-next-race{grid-area:2 / 4 / 3 / -1!important;justify-self:end!important;align-self:center!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:0 6px!important;text-align:right!important;font-size:12.5px!important;line-height:1.35!important;color:var(--prep-text2)!important;min-width:0!important;margin:0!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open) #calendarSummary>.calendar-next-race>strong{order:1!important;flex-basis:100%!important;color:var(--prep-text)!important;font-weight:650!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open) #calendarSummary>button{grid-area:1 / 6!important;margin:0!important}
html[data-prep-ui]:root #mainContent #calendarView:not(.calendar-compare-open) .calendar-more{grid-area:1 / 7!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open) #newOnlineCalendarItemButton{grid-area:1 / 8!important}
/* Athleten haben statt der Athletenwahl ihr Profilkärtchen: es steht direkt neben „Kalender“ (sonst schwebte es mittig in Zeile 1). */
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open):has(#calendarAthleteIdentity:not([hidden])) .calendar-heading-title{grid-area:1 / 1!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open):has(#calendarAthleteIdentity:not([hidden])) #calendarAthleteIdentity{grid-area:1 / 2 / 2 / span 3!important;justify-self:start!important;align-self:center!important}
}
@media (min-width:1680px){
/* Ab 1.680 px (Dichtestufe 100 %, R11) passt alles in eine Zeile. */
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not([hidden]):not(.calendar-compare-open){grid-template-columns:auto auto auto auto minmax(0,1fr) auto auto auto!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open) .calendar-heading-title{grid-area:1 / 1!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open) .calendar-navigation{grid-area:1 / 2!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open) .calendar-period-row{grid-area:1 / 3!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open) .segmented-control{grid-area:1 / 4!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open) #calendarSummary>.calendar-next-race{grid-area:1 / 5!important}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent #calendarView:not(.calendar-compare-open):has(#calendarAthleteIdentity:not([hidden])) #calendarAthleteIdentity{grid-area:1 / 5!important}
}
@media (min-width:761px) and (min-height:501px){
/* Fähnchen und Handy-Menüeinträge (app.js prepPhoneHeader) gibt es nur am Handy. */
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .prep-race-flag,html[data-prep-ui]:root:not(#_):not(#__) #calendarMoreMenu>:is([data-prep-tool],[data-prep-availability]){display:none!important}
}
@media (max-width:760px), (max-height:500px){
/* Handy – drei Zeilen wie im Entwurf (Fassung 23.11.2026, 17:30):
   Zeile 1 = Seitenkopf: Kalender · Athletenwahl · ⚑ · ⌄
   Zeile 2: Heute · ‹ Datum KW ›
   Zeile 3: Woche|Monat|Jahr …… Wochensumme (zweizeilig, rechtsbündig)
   Die Werkzeugleiste und „Verfügbarkeit“ stehen im ⌄-Menü, der nächste Wettkampf im Fähnchen (app.js prepPhoneHeader).
   „Ereignis erstellen“ bleibt der schwebende Knopf (R12a) – der Kopf scrollt weg. */
html[data-prep-ui]:root:not(#_):not(#__) #calendarToolStrip{display:none!important}
/* Zeile 1 */
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .page-heading{flex-wrap:nowrap!important;align-items:center!important;gap:8px!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .page-heading .calendar-heading-title{flex:1 1 0!important;min-width:0!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .page-heading :is(#calendarHeadingCalendar,.sidebar-active-calendar){min-width:0!important;max-width:100%!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .page-heading .page-actions{flex:0 0 auto!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .page-heading .prep-race-flag{position:relative!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .page-heading :is(#prepRaceFlagButton,#calendarMoreButton){width:40px!important;min-width:40px!important;padding:0!important;justify-content:center!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .page-heading #prepRaceFlagButton>svg{width:18px!important;height:18px!important;flex:0 0 auto!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .page-heading #prepRaceFlagPanel{position:absolute!important;top:calc(100% + 6px)!important;right:-48px!important;z-index:60!important;width:max-content!important;max-width:min(280px,calc(100vw - 32px))!important;padding:10px 12px!important;border:1px solid var(--prep-line)!important;border-radius:12px!important;background:var(--prep-surface)!important;box-shadow:0 8px 24px rgb(0 0 0 / .28)!important;text-align:left!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .page-heading #prepRaceFlagPanel:not([hidden]){display:grid!important;gap:2px!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .page-heading #prepRaceFlagPanel>small{font-size:12px!important;line-height:1.3!important;color:var(--prep-text2)!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .page-heading #prepRaceFlagPanel>b{font-size:14px!important;line-height:1.3!important;font-weight:650!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .page-heading #prepRaceFlagPanel>span{font-size:12.5px!important;line-height:1.35!important;color:var(--prep-text2)!important}
/* ⌄-Menü am Handy: oben die drei Werkzeuge, darunter mit Trennlinie der Rest. „Sessionbibliothek“ und „Wochenvorlagen“
   entfallen hier, weil die Blätter „Einheiten“ und „Wochen“ dasselbe zeigen und zur Bibliothek verlinken. */
html[data-prep-ui]:root:not(#_):not(#__) #calendarMoreMenu>:is(#onlineSessionLibraryButton,[data-prep-weeks]){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarMoreMenu>[data-prep-tool="calendarToolPlans"]:not([hidden]){position:relative!important;margin-bottom:9px!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarMoreMenu>[data-prep-tool="calendarToolPlans"]:not([hidden])::before{content:""!important;position:absolute!important;left:4px!important;right:4px!important;bottom:-5px;height:1px!important;background:var(--prep-line)!important}
/* Zeilen 2 und 3 */
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-toolbar{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:0 8px!important;align-items:center!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-toolbar>*,html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-toolbar>#calendarSummary>*{margin-bottom:8px!important}
html[data-prep-ui]:root:not(#_) #calendarView .calendar-toolbar>#calendarAthleteIdentity{grid-area:1 / 1 / 2 / -1!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-toolbar>.calendar-navigation{grid-area:2 / 1!important;width:auto!important;margin:0 0 8px!important;padding:0!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-toolbar #calendarToday{width:auto!important;min-width:0!important;flex:0 0 auto!important;margin:0!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-toolbar>.calendar-period-row{grid-area:2 / 2 / 3 / -1!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) 36px!important;gap:4px!important;align-items:center!important;min-width:0!important;width:auto!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-toolbar>.calendar-period-row>.calendar-arrow{width:36px!important;min-width:36px!important}
/* Datum und KW: passt beides nicht nebeneinander (bis rund 390 px), rutscht die KW in die zweite Zeile statt abgeschnitten zu werden. */
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-toolbar #calendarPeriod{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:0 6px!important;font-size:13.5px!important;line-height:1.25!important;text-align:center!important;min-width:0!important;margin:0!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-toolbar>.segmented-control{grid-area:3 / 1 / 4 / 3!important;justify-self:start!important;width:auto!important;min-width:0!important;margin:0 0 8px!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-toolbar>#calendarSummary{display:contents!important}
/* „Verfügbarkeit“ steht am Handy im ⌄-Menü, der nächste Wettkampf im Fähnchen. */
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-toolbar>#calendarSummary>:is(button,.calendar-next-race){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-toolbar>#calendarSummary>.calendar-summary-count{grid-area:3 / 3!important;justify-self:end!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;min-width:0!important;font-size:12.5px!important;line-height:1.3!important;text-align:right!important;color:var(--prep-text2)!important}
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-toolbar>#calendarSummary>.calendar-summary-count>.prep-count-sep{display:none!important}
}

/* ===== R14 Athleten-Training (23.11.2026, Lars, nach dem Live-Test von v368) – Designregeln.md R14 ===== */
/* R14a Zeile je Start: Name · Eingabefeld(er) · Haken. Felder 16 px (kein Zoom am iPhone). Stufe 4 (28.11.2026, Lars „Auf 32/40 px“): Feld und
   Haken in Steuerhöhe (vorher 44 px), die Tippfläche des Hakens bleibt rund 44 px über ::after. */
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-start-rows{display:grid!important;gap:8px!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-start-row{display:grid!important;grid-template-columns:minmax(56px,max-content) minmax(0,1fr) var(--prep-control-h)!important;gap:8px!important;align-items:center!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-start-name{font-size:14px!important;font-weight:600!important;color:var(--prep-text)!important;white-space:nowrap!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-start-fields{display:flex!important;flex-wrap:wrap!important;gap:8px!important;min-width:0!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-start-fields>:is(input,select){flex:1 1 96px!important;min-width:0!important;width:auto!important;max-width:none!important;height:var(--prep-control-h)!important;margin:0!important;font-size:16px!important;font-variant-numeric:tabular-nums!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-start-fields>input[type=number]{appearance:textfield!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-start-fields>input::-webkit-inner-spin-button{appearance:none!important;margin:0!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-start-done{position:relative;width:var(--prep-control-h)!important;min-width:var(--prep-control-h)!important;height:var(--prep-control-h)!important;padding:0!important;border:1px solid var(--prep-line)!important;border-radius:10px!important;background:transparent!important;color:var(--prep-text3)!important;font-size:18px!important;line-height:1!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-start-done::after{content:"";position:absolute;inset:min(0px,calc((var(--prep-control-h) - 44px / var(--prep-z,1)) / 2))}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-start-done[aria-pressed=true]{border-color:var(--prep-accent)!important;background:var(--prep-tint-9)!important;color:var(--prep-accent)!important}
/* Am Rechner bleiben Feld und Haken beieinander (sonst wird das Zeitfeld 500 px breit). */
@media (min-width:761px) and (min-height:501px){
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-start-row{grid-template-columns:minmax(56px,max-content) minmax(0,200px) var(--prep-control-h)!important;justify-content:start!important}
}
/* R14b Zähler „Starts erledigt“ nur so breit wie sein Inhalt (vorher 245 px Rahmen um 160 px Inhalt). */
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-count>.prep-stepper{width:max-content!important;max-width:100%!important;justify-self:start!important}
/* R14c Belastungs-Skala: zwölf gleich große Tasten (0–10 und „Keine Angabe“) – am Rechner eine Reihe, am Handy 4 × 3. */
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-finish .prep-scale{display:grid!important;grid-template-columns:repeat(11,minmax(0,1fr)) max-content!important;gap:4px!important;padding:0!important;background:transparent!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-finish .prep-scale>button{width:100%!important;justify-self:stretch!important;min-width:0!important;min-height:var(--prep-control-h)!important;padding:0 6px!important;border:1px solid var(--prep-line)!important;border-radius:8px!important;background:var(--prep-surface)!important;color:var(--prep-text)!important;font-size:var(--prep-control-font)!important;font-weight:550!important;font-variant-numeric:tabular-nums!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-finish .prep-scale>button[aria-pressed=true]{border-color:var(--prep-accent)!important;background:var(--prep-tint-9)!important;box-shadow:inset 0 -2px var(--prep-accent)!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-finish .prep-scale>.prep-finish-no-rpe{font-size:12.5px!important;font-weight:500!important;line-height:1.2!important;color:var(--prep-text2)!important;white-space:normal!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-finish .prep-finish-scale-legend{font-size:12.5px!important;color:var(--prep-text2)!important;text-align:right!important}
@media (max-width:560px){
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-finish .prep-scale{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-finish .prep-scale>button{min-height:44px!important}
}
/* R14e Trainingsberichte des Coachs: eingetragene Zeiten je Übung als eigene, ruhige Zeile (eine Zeile je Übung). */
html[data-prep-ui]:root:not(#_):not(#__) .prep-feedback-dialog .prep-times:not([hidden]){display:block!important;margin-top:2px!important;font-size:12.5px!important;line-height:1.4!important;color:var(--prep-text2)!important;white-space:pre-line!important;font-variant-numeric:tabular-nums!important;overflow-wrap:anywhere!important}

/* ===== R15 Untere Menüleiste am Handy: Athlet wie Coach (23.11.2026, Lars) – Designregeln.md R15 =====
   Werte der Coach-Leiste (.prep-tabbar/.prep-tab in prep-v359.css, Hellmodus R12e) auf #prepAthleteTabs übertragen.
   Die Symbole sind dort <img>; damit der aktive Reiter grün werden kann, zeichnet ::before sie als Maske in Schriftfarbe. */
@media screen and (max-width:760px), screen and (max-height:500px){
html[data-prep-ui]:root:not(#_):not(#__) body.prep-athlete #prepAthleteTabs:not([hidden]){display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
html[data-prep-ui]:root:not(#_):not(#__) body.prep-athlete #prepAthleteTabs{inset:auto max(14px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px))!important;width:auto!important;gap:2px!important;padding:5px!important;border:1px solid rgba(255,255,255,.12)!important;border-top-color:rgba(255,255,255,.14)!important;border-radius:999px!important;background:rgba(28,31,34,.62)!important;-webkit-backdrop-filter:blur(22px) saturate(1.8)!important;backdrop-filter:blur(22px) saturate(1.8)!important;box-shadow:0 10px 30px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.08)!important;z-index:170!important}
html[data-prep-ui]:root:not(#_):not(#__) body.prep-athlete #prepAthleteTabs a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;min-width:0!important;max-width:none!important;min-height:54px!important;padding:4px 2px!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;color:var(--prep-text)!important;font-size:10px!important;font-weight:600!important;line-height:1.5!important;white-space:normal!important;}
html[data-prep-ui]:root:not(#_):not(#__) body.prep-athlete #prepAthleteTabs a>span{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;hyphens:auto!important;text-align:center!important;line-height:1.1!important}
html[data-prep-ui]:root:not(#_):not(#__) body.prep-athlete #prepAthleteTabs a[aria-current=page]{background:rgba(255,255,255,.13)!important;color:var(--prep-accent)!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__) body.prep-athlete #prepAthleteTabs a>img.prep-tab-icon{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__) body.prep-athlete #prepAthleteTabs a::before{content:""!important;flex:0 0 auto!important;width:24px!important;height:24px!important;background:currentColor!important;-webkit-mask:var(--prep-tab-icon) center/contain no-repeat;mask:var(--prep-tab-icon) center/contain no-repeat}
html[data-theme="light"][data-prep-ui]:root:not(#_):not(#__) body.prep-athlete #prepAthleteTabs{background:color-mix(in srgb,var(--prep-surface) 88%,transparent)!important;border:1px solid var(--prep-line)!important;box-shadow:0 8px 24px rgba(17,20,24,.14)!important}
html[data-theme="light"][data-prep-ui]:root:not(#_):not(#__) body.prep-athlete #prepAthleteTabs a[aria-current=page]{background:rgba(0,0,0,.06)!important;color:#047857!important}
}
@media screen and (max-width:760px) and (prefers-color-scheme:light), screen and (max-height:500px) and (prefers-color-scheme:light){
html[data-prep-ui]:root:not(#_):not(#__):not([data-theme="dark"]) body.prep-athlete #prepAthleteTabs{background:color-mix(in srgb,var(--prep-surface) 88%,transparent)!important;border:1px solid var(--prep-line)!important;box-shadow:0 8px 24px rgba(17,20,24,.14)!important}
html[data-prep-ui]:root:not(#_):not(#__):not([data-theme="dark"]) body.prep-athlete #prepAthleteTabs a[aria-current=page]{background:rgba(0,0,0,.06)!important;color:#047857!important}
}
@media (prefers-reduced-transparency:reduce){html[data-prep-ui]:root:not(#_):not(#__) body.prep-athlete #prepAthleteTabs{background:var(--prep-surface)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
@media (prefers-reduced-motion:reduce){html[data-prep-ui]:root:not(#_) body.prep-athlete #prepAthleteTabs a{transition:none!important}}

/* ===== R16 Hinweise bei gleichzeitigem Arbeiten (23.11.2026) – Designregeln.md R16 =====
   Ruhiger Kasten mit gelber Statuslinie links (Achtung, kein Fehler); Knöpfe sind normale Nebenknöpfe (R6).
   Coach-Builder (#onlinePlanConflict), Detailfenster ([data-live-hint]), Athleten-Training (.prep-session-notice)
   und die Karte „Nicht gespeicherte Eingaben“ auf der Athleten-Startseite (.prep-center-orphan). */
html[data-prep-ui]:root:not(#_):not(#__) .prep-conflict{display:grid!important;gap:8px!important;margin:8px 20px!important;padding:12px!important;border:1px solid var(--prep-line)!important;border-inline-start:3px solid var(--prep-warn)!important;border-radius:8px!important;background:var(--prep-surface)!important;color:var(--prep-text)!important;font-size:13px!important;line-height:1.45!important;text-align:start!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-conflict strong{font-weight:600!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-conflict p{margin:0!important;color:var(--prep-text2)!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-conflict .prep-conflict-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-conflict[data-live-hint]{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;margin:0 0 12px!important}
/* Athleten-Training: Der Hinweis bleibt oben sichtbar, auch wenn weiter unten getippt wird. */
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-session-notice:empty{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-session-notice:not(:empty){position:sticky!important;top:0!important;z-index:2!important;margin-bottom:8px!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-session-notice .prep-coach{border-inline-start-color:var(--prep-warn)!important;box-shadow:0 6px 16px rgb(0 0 0 / .18)!important}
html[data-prep-ui]:root:not(#_):not(#__) #prepAthleteSession .prep-session-notice .prep-coach p{margin:0!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-center-orphan{border-inline-start:3px solid var(--prep-warn)!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-center-orphan p{margin:4px 0 0!important;color:var(--prep-text2)!important;font-size:12.5px!important;line-height:1.45!important}
@media screen and (max-width:760px), screen and (max-height:500px){
html[data-prep-ui]:root:not(#_):not(#__) .prep-center-orphan{grid-template-columns:minmax(0,1fr)!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-conflict{margin:8px 12px!important}
}
/* KW-Spalte im Monat wie in der Woche (Lars 24.11.2026): grauer Kopf über die volle Spaltenbreite
   (das Grid ließ die Spalte sonst nur so breit wie den Inhalt), KW-Nummer rechtsbündig, Wochensumme linksbündig. */
@media screen and (min-width:761px) and (min-height:501px){
html:root:not(#_) #trainingTimeline.month-view .calendar-days>.calendar-week-actions.is-month{grid-template-columns:minmax(0,1fr)!important;justify-content:stretch!important;justify-items:stretch!important}
html:root:not(#_) #trainingTimeline.month-view .calendar-week-head{justify-content:flex-end!important;padding:0 4px 0 6px!important}
html:root:not(#_) #trainingTimeline.month-view>.prep-month-weekdays>.prep-month-kw-label{justify-content:flex-end;text-align:end;padding-right:32px!important}
/* Gleiche Werte wie die Wochenspalte (prep-v359.css, Woche): Schrift, Abstände, Trainingsarten zweizeilig */
html:root:not(#_) #trainingTimeline.month-view .calendar-week-head .prep-week-kw{font-size:.78rem;font-weight:400}
html:root:not(#_) #trainingTimeline.month-view .calendar-week-head .calendar-range-menu{width:28px;min-width:28px;height:28px;min-height:28px;font-size:20px}
html:root:not(#_) #trainingTimeline.month-view .prep-week-sum.is-compact{gap:12px;padding:8px 10px 0!important;font-size:12px}
html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-total{gap:2px}
html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-total:has(+.pws-types){padding-bottom:10px}
html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-total strong{font-size:13px}
html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-types{gap:8px}
html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-types li{display:grid;gap:1px;justify-content:normal;white-space:normal}
html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-name{gap:6px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-dot{width:7px;height:7px}
}
/* Heute (Lars 24.11.2026): heute den ganzen Tageskopf einfärben statt nur die Zahl zu umkreisen. */
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline:is(.week-view,.month-view) .calendar-day.today .calendar-day-heading{background:var(--prep-today-bg)!important;border-bottom-color:var(--prep-today-bg)!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline:is(.week-view,.month-view) .calendar-day.today .calendar-day-heading :is(*,.calendar-day-name,.calendar-day-create){color:var(--prep-today-fg)!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.week-view .calendar-day.today .calendar-day-number,
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.month-view .calendar-day.today :is(.calendar-day-create>span,.calendar-day-label){background:transparent!important;border-radius:0!important;min-width:0!important;padding:0!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline:is(.week-view,.month-view) .calendar-day.today .calendar-day-heading .calendar-day-actions{box-shadow:none!important;background:transparent!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline:is(.week-view,.month-view) .calendar-day.today .calendar-day-heading :is(.calendar-add,.calendar-range-menu,.calendar-day-create):is(:hover,:focus-visible,[aria-expanded="true"]){background:color-mix(in srgb,var(--prep-today-fg) 12%,transparent)!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .year-month.is-current .year-month-open{background:var(--prep-today-bg)!important;color:var(--prep-today-fg)!important;border-bottom-color:var(--prep-today-bg)!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .year-month.is-current .year-month-open *{color:var(--prep-today-fg)!important}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .year-month.is-current .year-month-name{background:transparent!important;margin-left:0!important;padding:0!important;border-radius:0!important}
/* Heute in der Tagesleiste am Handy – ganzer Kopf statt Kreis. */
html[data-prep-ui]:root:not(#_):not(#__) .mobile-calendar-day[aria-current="date"]{background:var(--prep-today-bg)!important}
html[data-prep-ui]:root:not(#_):not(#__) .mobile-calendar-day[aria-current="date"] > :is(span,small,strong){color:var(--prep-today-fg)!important}
html[data-prep-ui]:root:not(#_):not(#__) .mobile-calendar-day[aria-current="date"][aria-pressed="true"]{box-shadow:inset 0 -3px var(--prep-today-fg)!important}
html[data-prep-ui]:root:not(#_):not(#__) .mobile-calendar-day[aria-current="date"] strong{background:transparent!important;border-radius:0!important}
/* Wochensumme (Woche und Monat, Lars 24.11.2026): Block ganz rechts, Text darin linksbündig */
@media screen and (min-width:761px) and (min-height:501px){
html:root:not(#_) #trainingTimeline:is(.week-view,.month-view) .calendar-week-actions .prep-week-sum{width:max-content!important;max-width:100%;margin-left:auto!important;align-self:start!important;justify-self:end;justify-items:stretch!important;text-align:start!important}
html:root:not(#_) #trainingTimeline:is(.week-view,.month-view) .calendar-week-actions :is(.pws-total,.pws-types li){justify-items:start!important;text-align:start!important}
html:root:not(#_) #trainingTimeline:is(.week-view,.month-view) .calendar-week-actions .pws-name{justify-content:flex-start!important}
}
/* Probe Vorlagen-Leiste Variante A (Lars 24.11.2026): Trainingsarten als Chips, Vorlagen als Karten in Typfarbe. */






html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-cards{display:grid;gap:6px}
html[data-prep-ui]:root:not(#_) body #calendarSidebar :is(.library-cards,.library-tree-frequent) .library-tree-session{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;column-gap:2px;margin:0!important;padding:0 4px 0 0!important;border:0!important;border-left:3px solid var(--fliq-training-type-accent,var(--prep-line))!important;border-radius:4px 10px 10px 4px!important;background:var(--fliq-training-type-tint,var(--prep-surface))!important;cursor:grab}
html[data-prep-ui]:root:not(#_) body #calendarSidebar :is(.library-cards,.library-tree-frequent) .library-tree-session:hover{box-shadow:0 0 0 1px var(--fliq-training-type-accent,var(--prep-line)) inset!important}
html[data-prep-ui]:root:not(#_) body #calendarSidebar :is(.library-cards,.library-tree-frequent) .library-tree-preview{display:grid!important;gap:2px;width:100%!important;min-height:0!important;height:auto!important;padding:8px 6px 8px 10px!important;border:0!important;background:transparent!important;box-shadow:none!important;text-align:left!important;justify-items:start}
html[data-prep-ui]:root:not(#_) body #calendarSidebar :is(.library-cards,.library-tree-frequent) .library-tree-preview strong{font-size:13px;font-weight:650;color:var(--prep-text);line-height:1.25;white-space:normal}
html[data-prep-ui]:root:not(#_) body #calendarSidebar :is(.library-cards,.library-tree-frequent) .library-tree-meta{display:flex!important;gap:6px;font-size:11.5px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_) body #calendarSidebar :is(.library-cards,.library-tree-frequent) .library-tree-meta>span+span::before{content:"·";margin-right:6px}
html[data-prep-ui]:root:not(#_) body #calendarSidebar :is(.library-cards,.library-tree-frequent) .library-tree-author{display:none!important}
html[data-prep-ui]:root:not(#_) body #calendarSidebar :is(.library-cards,.library-tree-frequent) .library-tree-uses{font-size:11px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_) body #calendarSidebar :is(.library-cards,.library-tree-frequent) .library-tree-schedule{width:32px!important;min-width:32px!important;height:32px!important;border:0!important;background:transparent!important}
html[data-prep-ui]:root:not(#_) body #calendarSidebar :is(.library-cards,.library-tree-frequent) .library-tree-schedule:hover{background:color-mix(in srgb,var(--fliq-training-type-accent,#888) 14%,transparent)!important}
html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-tree-frequent{display:grid;gap:6px;margin:0 0 12px!important;padding:0 0 12px!important;border-top:0!important}
html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-tree-frequent>h4{padding:0!important}
/* Vorschau beim Überfahren einer Vorlage (Lars 24.11.2026) */
html[data-prep-ui] .library-hover-preview{position:fixed;z-index:9000;width:280px;max-height:min(70vh,520px);overflow:auto;display:grid;gap:6px;padding:12px 14px;border:1px solid var(--prep-line);border-left:3px solid var(--fliq-training-type-accent,var(--prep-line));border-radius:6px 12px 12px 6px;background:var(--prep-surface,#fff);color:var(--prep-text);box-shadow:0 12px 32px rgba(0,0,0,.18);font-size:12.5px;line-height:1.35;pointer-events:none}
html[data-prep-ui] .library-hover-preview[hidden]{display:none}
html[data-prep-ui] .library-hover-preview .lhp-title{font-size:14px;font-weight:650}
html[data-prep-ui] .library-hover-preview .lhp-facts{color:var(--prep-text2);font-size:12px}
html[data-prep-ui] .library-hover-preview .lhp-text{margin:0;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__) .library-hover-preview .session-card.lhp-flow{display:block!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important;cursor:default}
html[data-prep-ui]:root:not(#_):not(#__) .library-hover-preview .session-card.lhp-flow>.session-flow{display:grid!important;margin:0!important;padding-top:8px!important}
html[data-prep-ui] .library-hover-preview .lhp-flow .flow-toggle{display:none!important}
html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-type-select{display:block;margin:0 0 12px}
html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-empty-create{margin:4px 0 12px}
/* Für Athleten angepasste Vorlagen in der Leiste (Lars 24.11.2026) */








html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-athlete-badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-athlete-badge>i{width:10px;height:10px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E") center/contain no-repeat}
html[data-prep-ui] .prep-template-athletes{display:grid;gap:6px;max-height:220px;overflow:auto;padding:8px 10px;border:1px solid var(--prep-line);border-radius:10px}
html[data-prep-ui] .prep-template-athletes label{min-height:32px}


html[data-prep-ui]:root:not(#_) .prep-template-athletes label{display:flex!important;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;text-align:left}
html[data-prep-ui]:root:not(#_) .prep-template-athletes input[type="checkbox"]{flex:none;width:18px!important;min-width:18px;height:18px;margin:0}
/* Abwandlungen in der Bibliothek (Lars 24.11.2026): eingerückt unter der allgemeinen Vorlage */
/* Abwandlung: nur der Name ist eingerückt, Spalten bleiben bündig mit der allgemeinen Vorlage (Lars 24.11.2026) */
html[data-prep-ui]:root:not(#_) .session-template-row.is-variant .session-template-name{padding-left:22px;position:relative}
html[data-prep-ui]:root:not(#_) .session-template-row.is-variant .session-template-branch{position:absolute;left:2px;top:0}
html[data-prep-ui]:root:not(#_) .session-template-branch{margin-right:6px;color:var(--prep-text2);font-weight:400}
html[data-prep-ui]:root:not(#_) :is(.session-template-origin,.session-template-variants){display:block;font-style:normal;font-size:12px;font-weight:500;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_) .session-template-subhead{margin:12px 0 4px;font-size:12px;font-weight:600;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_) .session-template-variant-toggle{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid var(--prep-line);border-radius:999px;background:transparent;color:var(--prep-text2);font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}
html[data-prep-ui]:root:not(#_) .session-template-variant-toggle:hover{color:var(--prep-text);border-color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_) .session-template-variant-toggle .prep-menu-chevron{transform:rotate(-90deg);transition:transform .15s}
html[data-prep-ui]:root:not(#_) .session-template-variant-toggle[aria-expanded="true"] .prep-menu-chevron{transform:none}
/* Wer nutzt die Abwandlung (Lars 24.11.2026): volle Namen gut sichtbar */
html[data-prep-ui]:root:not(#_) .session-template-for{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px;width:fit-content;margin:2px 0;padding:0;background:none;color:var(--prep-text2);font-size:12px;font-weight:500;line-height:1.5}
html[data-prep-ui]:root:not(#_) .session-template-for b{font-weight:700}
html[data-prep-ui]:root:not(#_) .session-template-for.is-empty{background:transparent;border:1px dashed var(--prep-line);color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_) .session-template-for>i{width:12px;height:12px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E") center/contain no-repeat}
/* Feld „Für“ als kompakte Auswahl-Pillen (Lars 24.11.2026) – ersetzt die Häkchen-Liste optisch */
html[data-prep-ui]:root:not(#_):not(#__) fieldset.prep-template-athletes{grid-column:1/-1;display:grid;gap:8px;max-height:none;overflow:visible;margin:0;padding:0;border:0;border-radius:0}
html[data-prep-ui]:root:not(#_):not(#__) fieldset.prep-template-athletes>legend{float:left;width:100%;margin:0 0 2px;padding:0;font-size:12.5px;font-weight:500;color:rgb(58,64,72);color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__) fieldset.prep-template-athletes>small{clear:both;margin:-4px 0 0;font-size:12px;color:var(--prep-text3,var(--prep-text2))}
html[data-prep-ui]:root:not(#_):not(#__) .prep-template-athlete-pills{display:flex;flex-wrap:wrap;gap:8px}
html[data-prep-ui]:root:not(#_):not(#__) .prep-template-athlete-pills{align-items:center}
html[data-prep-ui]:root:not(#_):not(#__) .prep-template-athlete-pill{display:inline-flex;align-items:center;gap:4px}
html[data-prep-ui]:root:not(#_):not(#__) .prep-template-athlete-pill>button{display:grid;place-items:center;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border:0!important;border-radius:999px;background:transparent!important;color:inherit!important;cursor:pointer;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-template-athlete-pill>button:hover{background:color-mix(in srgb,currentColor 18%,transparent)!important}
html[data-prep-ui]:root:not(#_):not(#__) select.prep-template-athlete-add{width:auto!important;min-width:0;min-height:36px;padding:0 32px 0 14px;border:1px dashed var(--prep-text2);border-radius:999px;background-color:transparent;color:var(--prep-text);font-size:13px;font-weight:600;cursor:pointer}
/* „Speichern als …“ im Builder (Lars 24.11.2026) */
html[data-prep-ui]:root:not(#_) .prep-save-as{position:relative;display:inline-flex}
html[data-prep-ui]:root:not(#_) .prep-save-as-menu{position:absolute;right:0;bottom:calc(100% + 6px);z-index:20;display:grid;min-width:230px;padding:6px;border:1px solid var(--prep-line);border-radius:12px;background:var(--prep-surface,#fff);box-shadow:0 10px 28px rgba(0,0,0,.16)}
html[data-prep-ui]:root:not(#_) .prep-save-as-menu[hidden]{display:none}
html[data-prep-ui]:root:not(#_) .prep-save-as-menu>button{justify-content:flex-start;min-height:40px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--prep-text);font-size:13px;font-weight:500;text-align:left;cursor:pointer}
html[data-prep-ui]:root:not(#_) .prep-save-as-menu>button:hover,html[data-prep-ui]:root:not(#_) .prep-save-as-menu>button:focus-visible{background:var(--prep-hover,rgba(0,0,0,.06))}
html[data-prep-ui]:root:not(#_):not(#__) .prep-template-athletes.is-dialog{display:grid;gap:6px;max-height:none;overflow:visible;padding:0;border:0;border-radius:0}
html[data-prep-ui]:root:not(#_):not(#__) .prep-template-athletes.is-dialog>small{font-size:12px;color:var(--prep-text2)}

/* Menüs der Vorlagen-Zeilen dürfen über die Gruppe hinausragen (sonst bei der letzten Zeile abgeschnitten) */
html[data-prep-ui]:root:not(#_):not(#__) #sessionsCatalog .exercise-group{overflow:visible!important}
html[data-prep-ui]:root:not(#_) .sessions-catalog .session-template-actions{z-index:30}
html[data-prep-ui]:root:not(#_) :is(.session-template-variant-toggle,.session-template-variant-slot){flex:none;width:132px;justify-content:center}
html[data-prep-ui]:root:not(#_) .session-template-variant-slot{display:inline-block}
html[data-prep-ui]:root:not(#_) .prep-filter-bar label.prep-filter-for{flex:0 1 240px}
/* Wochenvorlagen „Für“ Athleten (Lars 24.11.2026) */
html[data-prep-ui]:root:not(#_):not(#__) #weekBuilderDialog .prep-week-builder-tools>.prep-template-athletes{flex:1 1 100%}
html[data-prep-ui]:root:not(#_) #calendarWeeksContent .calendar-week-text .session-template-for{margin:0;font-size:12px}
/* Leiste (Lars 24.11.2026): kein Abstand über „Vorlagen“; Trainingsarten zum Aufklappen, Abwandlungen zuerst */
html[data-prep-ui]:root:not(#_) #calendarSidebar .sidebar-library{margin-top:0!important;padding-top:0!important}
html[data-prep-ui]:root:not(#_) #calendarSidebarContent{padding-top:0!important}
html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-type-groups{display:grid;gap:4px}
html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-type-group>summary{display:flex;align-items:center;gap:8px;min-height:36px;padding:0 4px;cursor:pointer;list-style:none;font-size:13px;font-weight:600;color:var(--prep-text)}
html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-type-group>summary::-webkit-details-marker{display:none}
html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-type-group>summary .prep-menu-chevron{transform:rotate(-90deg);transition:transform .15s}
html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-type-group[open]>summary .prep-menu-chevron{transform:none}
html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-type-count{margin-left:auto;font-weight:400;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-type-group>.library-cards{margin:2px 0 10px}
html[data-prep-ui]:root:not(#_) body #calendarSidebar .library-type-divider{margin:2px 0;border:0;border-top:1px dashed var(--prep-line)}
html[data-prep-ui]:root:not(#_) #calendarWeeksContent .calendar-weeks-divider{margin:4px 0;border:0;border-top:1px dashed var(--prep-line)}
/* Lars 24.11.2026: „Anlegen als“ Entwurf | Veröffentlicht beim Einplanen von Vorlagen (Einheit, Woche, Block) und kurze Nachfrage beim Ziehen/Antippen */
html[data-prep-ui]:root:not(#_) .prep-placement-status{display:grid;gap:6px;min-width:0;margin:0;padding:0;border:0}
html[data-prep-ui]:root:not(#_) .prep-placement-status>legend{float:left;width:100%;margin:0 0 6px;padding:0;font-size:var(--prep-label-font);font-weight:600;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_) .prep-placement-status-options{clear:both;display:inline-flex;justify-self:start;gap:2px;padding:3px;border:1px solid var(--prep-line);border-radius:var(--prep-field-radius);background:var(--prep-bg2)}
html[data-prep-ui]:root:not(#_) .prep-placement-status-options>label{position:relative;display:flex;align-items:center;min-height:calc(var(--prep-control-h) - 6px);margin:0;padding:0 14px;border-radius:6px;color:var(--prep-text2);font-size:var(--prep-control-font,14px);font-weight:500;cursor:pointer}
html[data-prep-ui]:root:not(#_) .prep-placement-status-options>label>input{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;opacity:0;cursor:pointer}
html[data-prep-ui]:root:not(#_) .prep-placement-status-options>label:has(input:checked){background:var(--prep-surface);color:var(--prep-text);font-weight:600;box-shadow:0 0 0 1px var(--prep-line)}
html[data-prep-ui]:root:not(#_) .prep-placement-status-options>label:has(input:focus-visible){outline:2px solid var(--prep-accent);outline-offset:1px}
html[data-prep-ui]:root:not(#_) .prep-placement-status>small{color:var(--prep-text3);font-size:var(--prep-label-font)}
html[data-prep-ui]:root:not(#_) dialog.prep-placement-ask{width:min(440px,calc(100vw - 32px));padding:20px}
html[data-prep-ui]:root:not(#_) dialog.prep-placement-ask h2{margin:0 0 8px;font-size:18px}
html[data-prep-ui]:root:not(#_) dialog.prep-placement-ask p{margin:0 0 16px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_) dialog.prep-placement-ask .dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
/* Einplan-Dialog (Lars 24.11.2026): eine Zeile für Datum, Modus und Uhrzeit; Auswahl „Anlegen als“ deutlich */
html[data-prep-ui]:root:not(#_) .calendar-schedule-dialog .schedule-when{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end}
html[data-prep-ui]:root:not(#_) .calendar-schedule-dialog .schedule-when>label,html[data-prep-ui]:root:not(#_) .calendar-schedule-dialog .schedule-when-value{display:grid;gap:6px;min-width:0;margin:0}
html[data-prep-ui]:root:not(#_) .calendar-schedule-dialog .schedule-when :is(input,select){width:100%}
html[data-prep-ui]:root:not(#_) .calendar-schedule-dialog .schedule-when-value>span{font-size:var(--prep-label-font);line-height:1.2}
html[data-prep-ui]:root:not(#_) .calendar-schedule-dialog .prep-dialog-fields{display:grid;gap:18px}
html[data-prep-ui]:root:not(#_) .calendar-schedule-dialog .prep-dialog-fields>[data-schedule-target-hint]:empty{display:none}
html[data-prep-ui]:root:not(#_) .calendar-schedule-dialog .eyebrow[data-schedule-for]{margin:0 0 2px;font-size:12.5px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-placement-status-options>label:has(input:checked){background:var(--prep-text);color:var(--prep-bg,#fff);box-shadow:none}
@media (max-width:560px){html[data-prep-ui]:root:not(#_) .calendar-schedule-dialog .schedule-when{grid-template-columns:1fr 1fr}html[data-prep-ui]:root:not(#_) .calendar-schedule-dialog .schedule-when>label:first-child{grid-column:1/-1}}
html[data-prep-ui]:root:not(#_):not(#__) .prep-placement-status-options>label:has(input:checked)>span{color:var(--prep-bg,#fff)!important}
html[data-prep-ui]:root:not(#_):not(#__) .calendar-schedule-dialog .dialog-heading .eyebrow[data-schedule-for]:not(:empty){display:block!important}
/* Track-Block-Kopf (Lars 24.11.2026): „Strecke“/„Starthügel“ lagen über dem gewählten Wert – jetzt als kleine Beschriftung vor dem Feld */
html[data-prep-ui]:root:not(#_):not(#__) .online-track-block .prep-ex-head label.prep-ex-inl{display:inline-flex!important;align-items:center;gap:6px}
html[data-prep-ui]:root:not(#_):not(#__) .online-track-block .prep-ex-head label.prep-ex-inl>span{position:static!important;inset:auto!important;font-size:11.5px;font-weight:500;color:var(--prep-text2);white-space:nowrap;pointer-events:none}

/* ===== Track-Karte vereinheitlicht (24.11.2026, Lars: „noch nicht einheitlich“, „Bereich wirkt durcheinander“) =====
   Kopf-Beschriftungen mittig neben dem Feld; Start · Ziel · Länge ca. in einer Zeile mit Beschriftung links (wie im Kopf);
   Satztabelle: „+“ in eigener schmaler Spalte (wie bei Übungen), Zahlenfelder ohne Pfeile, Satzpause-Kopf mittig. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .online-track-block .prep-ex-head label.prep-ex-inl>span{align-self:center!important;line-height:1.2!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .online-track-block .prep-native-track-points:not([hidden]){display:flex!important;flex-wrap:wrap;align-items:center;gap:8px 18px;max-width:none;margin:2px 0 10px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .online-track-block .prep-native-track-points>label:not([hidden]){display:inline-flex!important;align-items:center;gap:8px;width:auto!important;min-width:0;margin:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .online-track-block .prep-native-track-points>label>span{font-size:11.5px!important;font-weight:500!important;color:var(--prep-text2)!important;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .online-track-block .prep-native-track-points>label>select{width:auto!important;min-width:150px!important;max-width:220px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .online-track-block .prep-native-track-points>.prep-track-estimate>[data-i18n]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .online-track-block .prep-native-track-points>.prep-track-estimate{position:relative;gap:8px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .online-track-block .prep-track-estimate>input:not(#_____){width:96px!important;min-width:0!important;padding-right:34px!important;text-align:right;-moz-appearance:textfield;appearance:textfield}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .online-track-block .prep-track-estimate>input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .online-track-block .prep-track-estimate>select.prep-unit-select:not(#_____){position:absolute;right:2px;top:50%;transform:translateY(-50%);width:auto!important;min-width:0!important;height:26px!important;min-height:26px!important;padding:0 16px 0 4px!important;border:0!important;background-color:transparent!important;background-position:right 2px center!important;box-shadow:none!important;font-size:12px!important;color:var(--prep-text2)!important}
/* Satztabelle */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________) #onlinePlanDialog .prep-track-card .online-track-set-head>.prep-track-x{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-card :is(.online-track-set-head,.online-track-set-row)>.prep-track-after{border-right:1px solid var(--prep-line)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-card :is(.online-track-set-head,.online-track-set-row)>.prep-track-pluscol{order:6;border-right:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-card :is(.online-track-set-head,.online-track-set-row){grid-template-columns:minmax(96px,1.2fr) repeat(4,minmax(64px,1fr)) var(--prep-track-extra-cols,) 36px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row input[type=number]{-moz-appearance:textfield;appearance:textfield}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row input[type=number]::-webkit-inner-spin-button,html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
@media (max-width:760px), (max-height:500px){
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-card :is(.online-track-set-head,.online-track-set-row){grid-template-columns:minmax(58px,1.15fr) repeat(4,minmax(0,1fr)) var(--prep-track-extra-cols-m,) 32px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .online-track-block .prep-native-track-points>label>select{min-width:120px!important}
}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .online-track-block .prep-ex-head label.prep-ex-inl>span{transform:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-track-block:has(.prep-native-track-points:not([hidden]) .prep-track-estimate) .online-track-effort-definition{display:none!important}
@media (max-width:760px), (max-height:500px){
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________) #onlinePlanDialog .prep-track-card .online-track-set-head>.prep-track-pluscol{padding:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-card .online-track-set-row :is(input,select):not(#_______){padding-inline:2px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-track-block .prep-native-track-points:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-track-block .prep-native-track-points>label:not([hidden]){display:grid!important;gap:4px;width:auto!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-track-block .prep-native-track-points>label>select{width:100%!important;min-width:0!important;max-width:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-track-block .prep-native-track-points>.prep-track-estimate>select.prep-unit-select:not(#______){top:auto;bottom:3px;transform:none}
}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .online-track-set-row input[list]::-webkit-calendar-picker-indicator{display:none!important}
@media (max-width:760px), (max-height:500px){
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-track-block .prep-native-track-points>.prep-track-estimate{justify-self:start;width:max-content!important}
}

/* ===== Sätze in der Tabelle (24.11.2026, Lars: Variante A statt „Für alle | Pro Satz“) – Track, Gym, Übungen =====
   Zusammengefasst: Satzzahl als Feld + Pfeil; aufgeklappt: Zeile je Satz, × je Satz, „+ Satz“ darunter.
   Pausen-Spalten: Pausenzeichen + wonach („⏸ Start“, „⏸ Satz“, „⏸ Übung“); Satzpause nicht nach dem letzten Satz. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog :is(.prep-set-chev,.prep-set-del,.prep-set-addrow,.prep-set-add)[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-set-chev{position:relative;display:inline-grid;place-items:center;flex:0 0 auto;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;margin:0 0 0 4px!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--prep-text2)!important;box-shadow:none!important;cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-set-chev::before{content:"";width:6px;height:6px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-set-chev.is-open::before{transform:translateY(2px) rotate(-135deg)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-set-chev::after{content:"";position:absolute;inset:-10px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-set-chev:hover{background:var(--prep-hover)!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-set-chev:focus-visible{outline:2px solid var(--prep-text2)!important;outline-offset:1px}
/* Satzzahl-Feld: sieht aus wie die anderen Tabellenfelder */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog :is(.prep-track-card,.prep-gym-card,.prep-set-table) input.prep-set-count-input:not(#______){display:inline-block!important;width:34px!important;min-width:0!important;height:28px!important;min-height:28px!important;margin:0!important;padding:0 4px!important;border:0!important;border-radius:5px!important;background:transparent!important;box-shadow:none!important;font:inherit!important;font-weight:650!important;font-size:13.5px!important;color:var(--prep-text)!important;text-align:right!important;-moz-appearance:textfield;appearance:textfield}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog input.prep-set-count-input::-webkit-inner-spin-button,html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog input.prep-set-count-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog input.prep-set-count-input:hover:not(#______){background:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog input.prep-set-count-input:focus-visible:not(#______){outline:0!important;box-shadow:inset 0 0 0 2px var(--prep-text2)!important;background:var(--prep-surface)!important}
/* Track: Nummernzelle */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-card .online-track-set-no,html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-card.prep-track-compact .online-track-set-row:first-child .online-track-set-no{display:flex!important;align-items:center;gap:2px;padding:0 4px 0 8px!important;font-size:13.5px!important;font-weight:650;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-card .online-track-set-head>:first-child{display:flex!important;align-items:center;gap:4px;padding:0 4px 0 8px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-card .online-track-set-row>.prep-track-pluscol{display:grid!important;place-items:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-card .prep-track-sp-input:not(#______){width:100%!important;height:32px!important;min-height:32px!important;padding:0 6px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:center!important;font-size:13.5px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-card .prep-track-sp-input:hover:not(#______){background:var(--prep-hover)!important}
/* × je Satz */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-set-del:not(#______){position:relative;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;color:var(--prep-text3)!important;font-size:15px!important;line-height:1!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-set-del::after{content:"";position:absolute;inset:-10px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-set-del:hover:not(:disabled):not(#______){background:var(--prep-hover)!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-set-del:disabled:not(#______){opacity:.35}
/* „+ Satz“ unter den Zeilen */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-card .prep-set-addrow{display:flex;border-top:1px solid var(--prep-line);background:var(--prep-surface)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-set-table tr.prep-mset-add>td{height:auto;padding:0!important;border-top:1px solid var(--prep-line);text-align:left}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog :is(.prep-set-add,.gym-add-set.prep-set-add):not(#_______){display:inline-flex;align-items:center;width:auto!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0 10px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--prep-text2)!important;font-size:13px!important;font-weight:600!important;cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog :is(.prep-set-add,.gym-add-set.prep-set-add):hover:not(#_______){background:var(--prep-hover)!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-gym-card .gym-add-set.prep-set-add:not([hidden]){display:flex!important;width:100%!important;border-top:1px solid var(--prep-line)!important}
/* Gym: Zählfeld in Zeile 1, × nur aufgeklappt, keine Satzpause nach dem letzten Satz */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-gym-card .prep-set-countwrap{display:inline-flex;align-items:center;gap:2px;width:100%;font-weight:650;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-gym-card .gym-set-row>div:first-child:has(.prep-set-countwrap)>:not(.prep-set-countwrap){display:none!important}
html[data-prep-ui]:root #onlinePlanDialog .prep-gym-card.prep-gym-compact .gym-remove-set{visibility:hidden!important}
html[data-prep-ui]:root #onlinePlanDialog .prep-set-nopause>*{visibility:hidden!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .gym-set-table-header>[data-gym-head="set"]{display:flex!important;align-items:center;gap:4px}
/* Übungen: Zählzelle mit Pfeil */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-set-table :is(th,td).prep-set-count{white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-set-table :is(th,td).prep-set-count>.prep-set-chev{margin-left:4px!important;vertical-align:middle}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-set-table td.prep-set-plus{text-align:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-gym-card.prep-gym-compact .gym-set-row:not(:first-child){display:none!important}
/* Pausen-Köpfe: ein Wort („Startpause“, „Satzpause“, „Übungspause“), mittig, eine Zeile */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-pause-word{white-space:nowrap}
@media (max-width:760px), (max-height:500px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-pause-word{display:flex;flex-direction:column;align-items:center;font-size:11.5px;line-height:1.15;text-align:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-pause-a.has-hyphen::after{content:"-"}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog :is(.prep-track-card,.prep-gym-card,.prep-set-table) input.prep-set-count-input:not(#______){width:24px!important;padding:0 2px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-set-chev:not(#______){width:20px!important;min-width:20px!important;margin-left:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-card .online-track-set-no{padding:0 2px 0 4px!important;gap:0!important}}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-sr{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-gym-card label.prep-set-countwrap{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:2px!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;font-weight:650;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-pause-a.has-space::after{content:" ";white-space:pre}
/* Tippflächen der Knöpfe in der letzten Spalte nicht über den Tabellenrand hinaus (sonst scrollt die Tabelle am Handy um ein paar Pixel) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________) #onlinePlanDialog .prep-track-pluscol :is(.prep-col-add,.prep-set-del)::after{inset:-8px 0!important}
/* Einplan-Dialog (24.11.2026, Lars: „wie im Baukasten“): „Startzeit · Uhrzeit ⌄“ – der Umschalter sitzt in der Beschriftung, darunter ein Feld */
html[data-prep-ui]:root:not(#_):not(#__) .calendar-schedule-dialog .schedule-when{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
html[data-prep-ui]:root:not(#_):not(#__) .calendar-schedule-dialog .schedule-start-head{display:flex;align-items:center;gap:6px;font-size:var(--prep-label-font);line-height:1.2}
html[data-prep-ui]:root:not(#_):not(#__) .calendar-schedule-dialog .schedule-start-head>span::after{content:" ·";color:var(--prep-text3)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) .calendar-schedule-dialog .schedule-start-head>select{-webkit-appearance:none!important;appearance:none!important;width:auto!important;height:auto!important;min-height:0!important;padding:0 16px 0 0!important;border:0!important;border-radius:0!important;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a9198' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right center/12px 12px no-repeat!important;box-shadow:none!important;font:inherit!important;font-weight:600!important;color:var(--prep-text3)!important;cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) .calendar-schedule-dialog .schedule-start-head>select:hover{color:var(--prep-text2)!important}
@media (max-width:560px){html[data-prep-ui]:root:not(#_):not(#__) .calendar-schedule-dialog .schedule-when>label:first-child{grid-column:auto}}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) .calendar-schedule-dialog .schedule-when>label>span,html[data-prep-ui]:root:not(#_):not(#__):not(#___) .calendar-schedule-dialog .schedule-start-head{display:flex;align-items:center;min-height:20px;margin:0;line-height:1.2}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) .calendar-schedule-dialog .schedule-start-head>select{height:20px!important;line-height:20px!important;margin:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) .calendar-schedule-dialog .schedule-start-head>select{height:20px!important;min-height:20px!important;line-height:20px!important;margin:0!important;padding-block:0!important}
/* Einstellungen › Flächenfarbe/-stärke/Akzent als Umschalter wie Sprache/Darstellung (24.11.2026) */
html[data-prep-ui]:root:not(#_):not(#__) .prep-account-settings .prep-palette-seg>button{display:inline-flex;align-items:center;gap:6px}
html[data-prep-ui]:root:not(#_):not(#__) .prep-account-settings .prep-palette-seg .prep-palette-option{display:inline-flex;flex:0 0 auto;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:none;gap:0}
html[data-prep-ui]:root:not(#_):not(#__) .prep-account-settings .prep-palette-seg .prep-palette-swatch{flex:0 0 10px;width:10px;height:10px;border-radius:50%}
@media (max-width:600px){
html[data-prep-ui]:root:not(#_):not(#__):not(#___) .prep-account-settings .prep-palette-seg:has(>:nth-child(4)){display:grid!important;grid-template-columns:1fr 1fr;gap:2px;height:auto!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) .prep-account-settings .prep-palette-seg>button{justify-content:center;min-height:calc(var(--prep-control-h) - 6px)!important;white-space:nowrap!important}
}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) .prep-account-settings .prep-palette-seg .prep-palette-swatch{box-shadow:0 0 0 1px color-mix(in srgb,currentColor 45%,transparent)}
@media (max-width:600px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) .prep-account-settings .prep-palette-seg:has(>:nth-child(4))>button{width:100%!important}}
/* Track-Satztabelle (24.11.2026, Lars: „warum sind manchmal keine horizontalen Linien da“): Eingabefelder setzen ihren eigenen Rand auf 0,
   darum fehlte die Linie unter Starts/Pausen. Die Linie gehört jetzt zur ganzen Zeile, nicht zu einzelnen Zellen. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-card .online-track-set-row{border-bottom:1px solid var(--prep-line)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-card .online-track-set-row:last-child,html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-card.prep-track-compact .online-track-set-row{border-bottom:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-card .online-track-set-row>*{border-bottom:0!important}
/* Track „bis“: mittig wie die anderen Spalten; „Andere Länge …“ öffnet in derselben Zelle ein Meterfeld (24.11.2026) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-card .online-track-set-row>select[data-track-set-field=gateTarget]{text-align:center!important;text-align-last:center!important;padding-left:24px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-card .online-track-set-row>input.prep-track-dist{order:2;width:100%!important;min-width:0!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0 8px!important;border:0!important;border-right:1px solid var(--prep-line)!important;border-radius:0!important;background:var(--prep-surface)!important;box-shadow:inset 0 0 0 2px var(--prep-text2)!important;text-align:center!important;font-size:13.5px!important;-moz-appearance:textfield;appearance:textfield}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card input.prep-track-dist::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
/* Track „+“ (24.11.2026, Lars): Intensität und Zielzeit als Spalten in der Satztabelle – zusammengefasst ein Wert für alle, aufgeklappt je Satz */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-card :is(.online-track-set-head,.online-track-set-row)>.prep-track-col{order:3;display:flex!important;align-items:center;justify-content:center;border-right:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-card .online-track-set-head>.prep-track-col{gap:2px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-card .online-track-set-head>.prep-track-col>button{width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--prep-text3)!important;font-size:13px!important;opacity:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-card .online-track-set-head>.prep-track-col:is(:hover,:focus-within)>button{opacity:1}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-card .prep-track-col>input{width:100%!important;min-width:0!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0 6px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:center!important;font-size:13.5px!important;-moz-appearance:textfield;appearance:textfield}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-card .prep-track-col>input:hover{background:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-track-card .prep-track-col>input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* Strecke gilt für alle Sätze (24.11.2026, Lars): „bis“ nicht mehr je Satz in der Tabelle – Start → Ziel · Länge ca. als eine Zeile darüber */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-track-card :is([data-track-set-gate-head],.online-track-set-row>[data-track-set-field="gateTarget"]){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .online-track-block .prep-native-track-points:not([hidden]){gap:8px 10px!important;padding:6px 10px!important;border:1px solid var(--prep-line)!important;border-radius:8px!important;background:var(--prep-bg2)!important;width:max-content;max-width:100%}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .online-track-block .prep-native-track-points>label:first-child::after{content:"→";margin-left:6px;color:var(--prep-text3);font-size:14px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .online-track-block .prep-native-track-points>.prep-track-estimate{padding-left:12px;border-left:1px solid var(--prep-line)}
/* Gate-Starts (Lars: „den Startpunkt brauchen wir nicht anzeigen, der ist ja eh klar“): nur das Ziel */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .online-track-block:not(.prep-track-effort) .prep-native-track-points>label:first-child{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .online-track-block .prep-native-track-points input.prep-track-dist{width:110px!important;height:32px!important;min-height:32px!important;padding:0 8px!important;border:1px solid var(--prep-control,var(--prep-line))!important;border-radius:6px!important;background:var(--prep-surface)!important;box-shadow:inset 0 0 0 1px var(--prep-text2)!important;text-align:right!important;-moz-appearance:textfield;appearance:textfield}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-native-track-points input.prep-track-dist::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
@media (max-width:760px), (max-height:500px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .online-track-block .prep-native-track-points:not([hidden]){}html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .online-track-block .prep-native-track-points>label:first-child::after{content:none}html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .online-track-block .prep-native-track-points>.prep-track-estimate{padding-left:0;border-left:0}}
/* Abschnitte (24.11.2026, Lars: „sieht noch nicht gut aus“): je Abschnitt eine Zeile im Kasten wie die Satztabelle –
   „Abschnitt 2 · Ab …“ · bis [Auswahl] · Fahraufgabe (wächst mit) · × */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-sections:not([hidden]){width:100%;gap:8px!important;margin:10px 0 4px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog [data-track-section-list]:not(:empty){border:1px solid var(--prep-line);border-radius:8px;overflow:hidden;background:var(--prep-surface)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-section{grid-template-columns:minmax(150px,auto) minmax(150px,220px) minmax(0,1fr) 36px!important;align-items:center!important;gap:0!important;padding:0!important;border-top:1px solid var(--prep-line)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-section:first-child{border-top:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-section>[data-track-section-start]{grid-column:auto!important;align-self:stretch;display:flex;align-items:center;padding:0 10px!important;border-right:1px solid var(--prep-line);background:var(--prep-bg2);font-size:12.5px!important;font-weight:600;color:var(--prep-text2)!important;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-section>label{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;margin:0!important;padding:4px 8px!important;border-right:1px solid var(--prep-line);align-self:stretch}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-track-section>label>span{flex:0 0 auto;font-size:11.5px!important;font-weight:500!important;color:var(--prep-text2)!important;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-section select{flex:1 1 auto;min-width:0!important;height:32px!important;min-height:32px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-section textarea{flex:1 1 auto;min-height:32px!important;height:auto;padding:6px 8px!important;line-height:1.35!important;resize:none!important;field-sizing:content;max-height:120px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-section>[data-track-section-remove]{justify-self:center;width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;color:var(--prep-text3)!important;font-size:15px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-section>[data-track-section-remove]:hover{background:var(--prep-hover)!important;color:var(--prep-text)!important}
@media (max-width:760px), (max-height:500px){
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-section{grid-template-columns:minmax(0,1fr) 36px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-section>[data-track-section-start]{grid-column:1/-1!important;padding:6px 10px!important;border-right:0;border-bottom:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-section>label{grid-column:1;border-right:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-section>label:nth-of-type(2){grid-column:1/-1;border-top:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-section>[data-track-section-remove]{grid-column:2;grid-row:2}
}
/* Strecke/Starthügel ausgeblendet (24.11.2026): [hidden] gilt auch gegen die inline-flex-Regeln der Kopfzeile */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog :is(.prep-ex-context>label,.prep-managed-track-points>label,.prep-native-track-points>label)[hidden]{display:none!important}
/* Streckenzeile ohne Kasten (24.11.2026, Lars: „sieht noch nicht schön aus“): „Von [..] → Bis [..] · Länge 120 m“ wie die Kopfzeile */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .online-track-block .prep-native-track-points:not([hidden]){padding:0!important;border:0!important;border-radius:0!important;background:none!important;width:auto;gap:8px 12px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .online-track-block .prep-native-track-points>.prep-track-length:not([hidden]){display:inline-flex;align-items:center;height:32px;padding-left:12px;border-left:1px solid var(--prep-line);font-size:13px;font-weight:600;color:var(--prep-text);white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .online-track-block .prep-native-track-points>.prep-track-length[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .online-track-block .prep-native-track-points>label:not(.prep-track-estimate)>select{min-width:130px!important}
@media (max-width:760px), (max-height:500px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .online-track-block .prep-native-track-points>.prep-track-length:not([hidden]){grid-column:1/-1;height:auto;padding-left:0;border-left:0}}
/* „Übungspause“ nur bei vorhandenem Wert (24.11.2026, Lars): sonst Spalte/Feld ausblenden – Pausen zwischen Übungen als Pause-Block */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-no-rest-after :is(.online-track-set-head,.online-track-set-row)>.prep-track-after,
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-no-rest-after :is(.gym-set-table-header,.gym-set-row)>.prep-gym-after,
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-no-rest-after .prep-set-table :is(th,td).prep-set-after,
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-no-rest-after [data-track-effort-fields]>label:has(.prep-set-rest){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-track-card.prep-no-rest-after :is(.online-track-set-head,.online-track-set-row){grid-template-columns:minmax(96px,1.2fr) repeat(3,minmax(64px,1fr)) var(--prep-track-extra-cols,) 36px!important}
@media (max-width:760px), (max-height:500px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-track-card.prep-no-rest-after :is(.online-track-set-head,.online-track-set-row){grid-template-columns:minmax(58px,1.15fr) repeat(3,minmax(0,1fr)) var(--prep-track-extra-cols-m,) 32px!important}}
/* Von/Bis/Länge in der Kopfzeile der Track-Karte (24.11.2026, Lars): gleiche Beschriftung wie „Strecke/Starthügel“ früher, Zeile darf umbrechen */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .online-track-block .prep-ex-head .prep-ex-context{flex-wrap:wrap!important;row-gap:6px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________) #onlinePlanDialog .online-track-block .prep-native-track-points.prep-track-route-inline:not([hidden]){display:inline-flex!important;flex-wrap:wrap;align-items:center;gap:6px 12px!important;width:auto!important;max-width:none;margin:0!important;padding:0!important;border:0!important;background:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________) #onlinePlanDialog .prep-track-route-inline>label:not([hidden]){display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;width:auto!important;margin:0!important;padding:0!important;border:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________) #onlinePlanDialog .prep-track-route-inline>label>span{position:static!important;transform:none!important;font-size:11.5px!important;font-weight:500!important;color:var(--prep-text2)!important;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________) #onlinePlanDialog .prep-track-route-inline>label:not(.prep-track-estimate)>select{width:auto!important;min-width:110px!important;max-width:190px!important;height:32px!important}
/* „Länge ca. [   ] m⌄“: Einheit neben dem Feld statt darüber */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________) #onlinePlanDialog .prep-track-route-inline>.prep-track-estimate{position:static!important;gap:4px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________) #onlinePlanDialog .prep-track-route-inline>.prep-track-estimate>input:not(#__________){width:60px!important;min-width:0!important;height:32px!important;padding:0 8px!important;text-align:right!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________) #onlinePlanDialog .prep-track-route-inline>.prep-track-estimate>select.prep-unit-select:not(#__________){position:static!important;transform:none!important;width:auto!important;min-width:0!important;height:32px!important;padding:0 16px 0 2px!important;border:0!important;background-color:transparent!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________) #onlinePlanDialog .prep-track-route-inline>.prep-track-length:not([hidden]){height:auto;padding-left:12px}
@media (max-width:760px), (max-height:500px){
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .online-track-block .prep-native-track-points.prep-track-route-inline:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-column:1/-1;width:100%!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-track-route-inline>label:not([hidden]){display:grid!important;gap:4px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-track-route-inline>label:not(.prep-track-estimate)>select{min-width:0!important;max-width:none!important;width:100%!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-track-route-inline>.prep-track-estimate{display:flex!important;flex-wrap:wrap}
}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .online-track-block:not(.prep-track-effort) .prep-track-route-inline>label:first-child{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-track-route-inline>label:nth-child(2)>select{min-width:150px!important}
/* Einheit nur als Anzeige (24.11.2026, Lars): kommt aus den Einstellungen, kein Pfeil, kein Umschalten */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) select.prep-unit-select.prep-unit-fixed{-webkit-appearance:none!important;appearance:none!important;pointer-events:none!important;background-image:none!important;background-color:transparent!important;border:0!important;box-shadow:none!important;padding:0 2px!important;width:auto!important;min-width:0!important;color:var(--prep-text2)!important;cursor:default}
/* BMX-Track-Technik nach Schema (24.11.2026): einzeilige Tabelle „Dauer | Wo und wie | +“, Schwerpunkt im Kopf */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .online-track-block:not(.prep-track-tech) .prep-tech-table{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-track-tech :is(.builder-track-goal,.builder-track-route,[data-track-technique-fields],.builder-dose-heading,.builder-exercise-heading){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-tech-table{margin:4px 0 0;border:1px solid var(--prep-line);border-radius:8px;overflow:hidden;background:var(--prep-surface)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-tech-table>:is(.prep-tech-head,.prep-tech-row){display:grid;grid-template-columns:120px minmax(0,1fr) 36px;align-items:stretch}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-tech-head{background:var(--prep-bg2);border-bottom:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-tech-head>*{display:flex;align-items:center;justify-content:center;min-height:30px;padding:0 6px;border-right:1px solid var(--prep-line);font-size:12px;font-weight:500;color:var(--prep-text3)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-tech-head>:nth-child(2){justify-content:flex-start;padding-left:10px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-tech-table :is(.prep-tech-head,.prep-tech-row)>:last-child{border-right:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-tech-row>label.prep-tech-cell{display:flex!important;align-items:center;gap:4px;margin:0!important;padding:0!important;border-right:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-tech-row>label.prep-tech-cell>span:first-child{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-tech-row>label.prep-tech-cell:first-child::after{content:"min";padding-right:10px;font-size:12px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-tech-row :is(input,textarea){width:100%!important;min-width:0!important;min-height:34px!important;margin:0!important;padding:7px 10px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:13.5px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-tech-row input{text-align:right!important;-moz-appearance:textfield;appearance:textfield}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-tech-row input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-tech-row textarea{height:auto!important;resize:none!important;field-sizing:content;max-height:160px;line-height:1.35!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-tech-row :is(input,textarea):hover{background:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-tech-row :is(input,textarea):focus-visible{outline:0!important;box-shadow:inset 0 0 0 2px var(--prep-text2)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-tech-head .prep-track-plus{width:24px!important;height:24px!important;min-height:24px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--prep-text2)!important;font-size:15px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-tech-row small.builder-field-duration-hint{display:none!important}
@media (max-width:760px), (max-height:500px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-tech-table>:is(.prep-tech-head,.prep-tech-row){grid-template-columns:86px minmax(0,1fr) 32px}}
/* BMX-Sprint (eigener Sprint) nach Schema (24.11.2026): Kopfzeile mit Sprintart/Profil/Einheit/Rolle/Intervall, Umfang als Tabelle */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-sprint-card :is(.builder-dose-heading,.builder-dose-summary,.online-sprint-choice-row,.online-sprint-base-values){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-sprint-card .prep-ex-head .prep-ex-context{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:6px 12px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-sprint-card .prep-ex-context>label.prep-ex-inl:not([hidden]){display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;margin:0!important;width:auto!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-sprint-card .prep-ex-context>label.prep-ex-inl>span{position:static!important;transform:none!important;font-size:11.5px!important;font-weight:500!important;color:var(--prep-text2)!important;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-sprint-card .prep-ex-context>label.prep-ex-inl>select{width:auto!important;min-width:110px!important;height:32px!important;padding-left:10px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-sprint-card .prep-ex-context>label.prep-ex-inl>input{width:70px!important;height:32px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-sprint-card .prep-sprint-check{display:inline-flex!important;align-items:center;gap:6px;margin:0!important;padding:0!important;border:0!important;background:none!important;font-size:12.5px;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-sprint-card .prep-sprint-check strong{font-weight:500}

html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-sprint-card .prep-sprint-table td.prep-wb-len>label:not([hidden]){display:flex!important;align-items:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-sprint-card .prep-sprint-table td.prep-wb-len>label select.prep-unit-select{display:inline-block!important;width:auto!important;flex:0 0 auto;padding-right:8px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-sprint-card [data-sprint-interval-fields]:not([hidden]){display:block!important;margin:8px 0 0!important;padding:0!important;border:0!important;background:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-sprint-card [data-sprint-interval-fields]>label{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-sprint-interval-table td>label>span.online-sprint-value-unit{display:flex!important;align-items:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-sprint-interval-table td>label>span.online-sprint-value-unit>select{width:auto!important;flex:0 0 auto}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-sprint-card .prep-wb-off{display:none!important}
/* FTP-Trainingsaufbau (24.11.2026): „+ Abschnitt“ / „+ Intervallgruppe“ als Fußzeile der Tabelle wie „+ Satz“ */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-endu-grid:has(+ .prep-endu-addrow){border-radius:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .prep-endu-addrow{display:flex;flex-wrap:wrap;margin:0 0 4px;border:1px solid var(--prep-line);border-top:0;border-radius:0 0 8px 8px;background:var(--prep-surface);overflow:hidden}
/* Übungstabellen am Handy (24.11.2026, Prüfung aller Builder-Ansichten bei 375 px): Zahlenspalten und „Sätze“ schmaler, damit nichts seitlich scrollt */
@media (max-width:760px), (max-height:500px){
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-set-table :is(th,td)[data-kind=num]{min-width:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-set-table th{padding:2px 4px!important;white-space:normal!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-set-table th.prep-set-count{white-space:nowrap!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-set-table td.prep-set-count{padding:0 2px 0 6px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-set-table td :is(input,select):not(.prep-set-count-input){padding:0 4px!important}
}
@media (max-width:760px), (max-height:500px){
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-ex-card .prep-set-table tr>.prep-set-count{width:74px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-ex-card .prep-set-table tr>.prep-set-plus{width:32px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-ex-card .prep-set-table th[data-kind=num]{width:auto!important}
}
/* Handy-Detailansicht einer Übung: Vorlagen-Angaben (Für/Ordner/Tags) gehören zur Session, nicht zur Übung */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail] #onlinePlanForm [data-prep-template-metadata]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________) #onlinePlanDialog .prep-set-table .prep-set-plus :is(.prep-col-add,.prep-set-del)::after{inset:-8px 0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-track-tech .prep-ex-context>label.prep-tech-focus{display:inline-flex!important;align-items:center;gap:6px;width:auto!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-track-tech .prep-ex-context>label.prep-tech-focus>span{position:static!important;transform:none!important;font-size:11.5px!important;font-weight:500!important;color:var(--prep-text2)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-track-tech .prep-ex-context>label.prep-tech-focus>select{width:auto!important;min-width:120px!important;padding-left:10px!important;height:32px!important}
@media (max-width:760px), (max-height:500px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-ex-card .prep-wb-table th:not(.prep-set-count):not(.prep-track-pluscol):not(.prep-set-plus):not(.prep-set-after){width:auto!important;min-width:0!important}}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-set-table input[list]::-webkit-calendar-picker-indicator{display:none!important}
@media (max-width:760px), (max-height:500px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-wb-table td>label :is(input,select):not(.prep-set-count-input){padding:0 2px!important;text-align:center}}
/* Ergometer-Kopf wie Track/Sprint: Beschriftung neben dem Feld statt im Feld (24.11.2026, Prüfung aller Builder-Ansichten) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-wb-card .prep-ex-head .prep-ex-context{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:6px 12px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-ex-context>label.prep-inl-beside:not([hidden]){display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;margin:0!important;width:auto!important;position:static!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-ex-context>label.prep-inl-beside>span{position:static!important;transform:none!important;inset:auto!important;font-size:11.5px!important;font-weight:500!important;color:var(--prep-text2)!important;white-space:nowrap;pointer-events:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-ex-context>label.prep-inl-beside>:is(select,input){width:auto!important;min-width:90px!important;height:32px!important;padding-left:10px!important}
@media (max-width:760px), (max-height:500px){
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-set-table th:has(select){white-space:normal!important;overflow:hidden!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-set-table th select.prep-set-unit{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0 14px 0 0!important;text-overflow:ellipsis;background-position:right 0 center!important}
}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-scroll{min-width:0;max-width:100%}
@media (max-width:760px), (max-height:500px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-scroll>*{min-width:640px}}
/* Warm-up/Cool-down-Übungen nach Schema (24.11.2026): Übung nur oben, Werte als einzeilige Tabelle (Spaltenkopf über dem Feld) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-choice{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-editor{display:flex!important;flex-wrap:nowrap;align-items:stretch;gap:0!important;width:max-content;max-width:100%;margin:4px 0 0!important;padding:0!important;border:1px solid var(--prep-line);border-radius:8px;overflow:hidden;background:var(--prep-surface)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-fields:empty,html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-editor>[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-fields:not(:empty){display:flex!important;gap:0!important;margin:0!important;padding:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-editor label:not([hidden]){display:grid!important;grid-template-rows:30px 34px;min-width:96px;margin:0!important;padding:0!important;gap:0!important;border-right:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-editor label:last-child{border-right:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-editor label>span:first-child{display:flex!important;align-items:center;justify-content:center;padding:0 8px;background:var(--prep-bg2);border-bottom:1px solid var(--prep-line);font-size:12px!important;font-weight:500!important;color:var(--prep-text3)!important;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-editor label :is(input,select){width:100%!important;min-width:0!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:center;-moz-appearance:textfield;appearance:textfield}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-editor label :is(input,select):hover{background:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-editor input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-editor small{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-phase-card .online-phase-exercise-editor label.online-phase-exercise-choice{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-editor label:not([hidden]){grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:30px 34px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-editor label>span:first-child{grid-column:1/-1!important;grid-row:1!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-editor label>:is(input,select){grid-row:2!important;grid-column:1!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-phase-card .online-phase-exercise-editor label::after{grid-row:2!important;grid-column:2!important;align-self:center;padding:0 10px 0 0!important;margin:0!important;position:static!important;font-size:12px;color:var(--prep-text2)}
/* BMX-Sprint: Sprintart kommt aus der Übung, keine eigene Auswahl im Kopf (24.11.2026) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-sprint-card .prep-sprint-type-hidden{display:none!important}
/* Rückgabewert: Gewicht trägt der Athlet ein (Intensität in % vorgegeben) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________):not(#____________) #onlinePlanDialog .prep-set-table input.prep-return-hint:not(#_____________)::placeholder{color:var(--prep-accent,#3ddc97)!important;opacity:.9!important;font-size:12px!important}
/* Session Builder nutzt am Desktop die volle Fensterhöhe (24.11.2026, Lars) – vorher höchstens 860 px */
@media screen and (min-width:761px) and (min-height:501px){html:root:not(#_):not(#__):not(#___) body #onlinePlanDialog.planiq-builder{height:calc(100dvh - 32px)!important;max-height:calc(100dvh - 32px)!important}}
/* Zugeklappter Block: Zusammenfassung statt Eingaben (24.11.2026) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part>header>.prep-part-summary{display:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part.is-collapsed>header>.prep-part-fields{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part.is-collapsed>header>.prep-part-summary{display:flex;flex:1 1 auto;flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-width:0;min-height:44px;align-content:center;cursor:pointer;font-size:13px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part.is-collapsed>header>.prep-part-summary>strong{font-size:14px;font-weight:600;color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part.is-collapsed>header>.prep-part-summary>span::before{content:"· ";color:var(--prep-text3)}
/* Verschieben (24.11.2026): Griff ⠿ links an jeder Zeile und an eigenen Blöcken, Ziellinie, gezogenes Abbild */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap{grid-template-columns:22px minmax(105px,1fr) minmax(250px,auto) auto!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.builder-drag-handle{grid-column:1;grid-row:1}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.builder-block-choice{grid-column:2;grid-row:1}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.prep-quick-fields{grid-column:3;grid-row:1}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.builder-choice-move{grid-column:4;grid-row:1}
@media(max-width:800px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap{grid-template-columns:22px minmax(0,1fr) auto!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.prep-quick-fields{grid-column:2/-1;grid-row:2}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.builder-choice-move{grid-column:3;grid-row:1}
}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-drag-handle{display:inline-flex;align-items:center;justify-content:center;width:22px;min-height:44px;align-self:stretch;color:var(--prep-text3);font-size:16px;line-height:1;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;border-radius:6px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-drag-handle:hover{color:var(--prep-text);background:var(--prep-bg2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-drag-handle.is-disabled{visibility:hidden}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-superset-member>.builder-drag-handle{min-height:32px;margin-right:6px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-main-part>header>.prep-part-handle{min-height:36px;margin-right:2px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-main-part>header>.prep-part-move{position:static!important;transform:none!important;display:flex;gap:6px;margin-left:auto}
html.builder-is-dragging,html.builder-is-dragging *{cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-dragging{opacity:.35}
.builder-drag-ghost{position:fixed!important;z-index:2147483000;pointer-events:none;margin:0!important;opacity:.92;box-shadow:0 10px 28px rgba(0,0,0,.35);border-radius:10px;background:var(--prep-surface,#1c1f22)}
.builder-drop-line{position:fixed;z-index:2147483001;height:3px;margin-top:-1px;border-radius:2px;background:var(--prep-accent,#34d399);pointer-events:none;box-shadow:0 0 0 1px rgba(0,0,0,.25)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-drop-zone{outline:2px dashed color-mix(in srgb,var(--prep-accent,#34d399) 55%,transparent);outline-offset:2px;border-radius:10px}
/* Zeilen: Pfeile stehen in eigener Spalte – kein reservierter Platz rechts in der Karte mehr */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.builder-block-choice:not(#_____){padding-right:8px!important}
@media (max-width:760px), (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part>header:not(#_____){display:flex!important;flex-wrap:wrap;align-items:center;gap:6px}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part>header>.prep-part-fields:not(#_____){order:5;flex:1 1 100%;min-width:0}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part>header>.prep-part-summary:not(#_____){order:2}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part>header>.prep-part-move:not(#_____){order:3;margin-left:auto}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part>header>.prep-part-close:not(#_____){order:4}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part.is-collapsed>header>.prep-part-summary:not(#_____){flex:1 1 0}
}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.builder-choice-move:not(#_____){align-self:center;transform:none!important;position:static!important}
@media (max-width:760px), (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part.is-collapsed>header>.prep-part-summary:not(#_____){display:block;line-height:1.45}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part.is-collapsed>header>.prep-part-summary>strong{display:block}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part.is-collapsed>header>.prep-part-summary>strong+span::before{content:none}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part.is-collapsed>header>.prep-part-summary>span{margin-right:4px;white-space:nowrap;display:inline-block}
}
/* ===== Builder-Übersicht (24.11.2026, Lars): einheitliche Zeilen, zwei Schritte am Handy, Block-Ansicht, schnell löschen ===== */
html[data-prep-ui]:root #onlinePlanDialog .builder-mobile-next{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-main-part>header>.prep-part-summary .prep-part-tag{font-style:normal;margin-left:6px;background:var(--prep-bg2);color:var(--prep-text2);vertical-align:2px}
@media screen and (min-width:761px) and (min-height:501px){
 /* Desktop: Pfeile und × erscheinen beim Darüberfahren oder mit Tastaturfokus */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.builder-choice-move:not(#_____){opacity:0;transition:opacity .12s}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap:is(:hover,:focus-within)>.builder-choice-move:not(#_____){opacity:1}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part>header>.prep-part-move:not(#_____){opacity:0;transition:opacity .12s}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part>header:is(:hover,:focus-within)>.prep-part-move:not(#_____){opacity:1}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-move>[data-builder-delete]:not(#_____){color:var(--prep-text2)}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-move>[data-builder-delete]:hover:not(#_____){color:var(--prep-danger,#e5484d);border-color:currentColor}
}
@media screen and (max-width:760px), screen and (max-height:500px){
 /* Schritt 1 „Einheit“: nur die Einheitsangaben und „Weiter zum Ablauf“ */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog:not([data-builder-mobile-detail]) #onlinePlanForm[data-builder-mobile-step=details]>:is(.builder-workspace,.builder-mobile-session-details,.builder-footer,.prep-builder-meta){display:none!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog:not([data-builder-mobile-detail]) #onlinePlanForm[data-builder-mobile-step=details]>.builder-meta{display:grid!important;gap:12px}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog:not([data-builder-mobile-detail]) #onlinePlanForm[data-builder-mobile-step=details]>.builder-mobile-next{display:flex!important;align-items:center;justify-content:center;width:100%;margin:16px 0 8px;}
 /* Schritt 2 „Ablauf“: Titel der Einheit als antippbare Zeile oben */
 html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog #onlinePlanForm:not([data-builder-mobile-step=details])>.builder-meta{display:none!important}
 html[data-prep-ui]:root #onlinePlanDialog .builder-mobile-session-details::after,html[data-prep-ui]:root #onlinePlanDialog .builder-mobile-session-details[aria-expanded=true]::after{content:"›"!important;font-size:18px}
 /* Übersicht: Zeilen ohne Pfeile (Verschieben per Griff, Löschen per Wischen) */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-wrap>.builder-choice-move:not(#_____){display:none!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-wrap:not(#_____){grid-template-columns:22px minmax(0,1fr)!important;touch-action:pan-y;position:relative}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-wrap .builder-block-choice strong:not(#_____){font-size:15px!important}
 /* Zugeklappte Blöcke sehen aus wie Zeilen: › rechts, kein Pfeil links, keine Knöpfe */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-outline .prep-main-part.is-collapsed:not(#_____){position:relative;touch-action:pan-y;padding:0!important;border-radius:10px}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-outline .prep-main-part.is-collapsed>header:not(#_____){min-height:52px;padding:6px 30px 6px 6px!important;position:relative;flex-wrap:nowrap!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-outline .prep-main-part.is-collapsed>header::after{content:"›";position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:18px;color:var(--prep-text2)}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-outline .prep-main-part.is-collapsed>header>:is(.prep-part-toggle,.prep-part-move,.prep-part-close):not(#_____){display:none!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-outline .prep-main-part.is-collapsed>header>.prep-part-summary>strong:not(#_____){font-size:15px}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-outline .prep-main-part.is-collapsed>header>.prep-part-summary:not(#_____){padding-left:8px}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-outline .prep-main-part.is-collapsed>header>.prep-part-handle~.prep-part-summary:not(#_____){padding-left:0}
 /* Wischen zum Löschen */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-swiped{overflow:hidden}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-swipe-delete{position:absolute;z-index:3;top:0;right:0;bottom:0;min-width:96px;padding:0 16px;border:0;border-radius:0 10px 10px 0;background:var(--prep-danger,#e5484d);color:#fff;font-weight:600;font-size:15px}
 /* Block-Ansicht: nur der geöffnete Block, ausgeklappt, mit Name/Trainingsart, Übungen und „+ Übung“ */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail=part] #onlinePlanForm .builder-workspace>.builder-outline{display:block!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail=part] #onlinePlanForm .builder-workspace>.builder-editor{display:none!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail=part] .builder-outline>:not(.builder-phase:has(.prep-part-open)){display:none!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail=part] .builder-outline>.builder-phase>:not(.builder-phase-rows,.prep-part-open){display:none!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail=part] .builder-outline .builder-phase-rows>:not(.prep-part-open){display:none!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail=part] .builder-outline .builder-phase-rows{border-left:0!important;padding-left:0!important;margin-left:0!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog[data-builder-mobile-detail=part] .prep-part-open>header>:is(.prep-part-toggle,.prep-part-handle,.prep-part-move):not(#_____){display:none!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog[data-builder-mobile-detail=part] .prep-part-open:not(#_____){border:0!important;background:transparent!important;padding:0!important}
}
@media screen and (max-width:760px), screen and (max-height:500px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog[data-builder-mobile-detail=part] .prep-part-open>header>.prep-part-close:not(#_____){margin-left:auto}}
@media screen and (max-width:760px), screen and (max-height:500px){
 /* Übung und Block in der Übersicht gleich: Kasten, gleiche Schriftgrößen */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-wrap:not(#_____){border:1px solid var(--prep-line);border-radius:10px;background:var(--prep-surface);padding:0 0 0 4px;gap:0!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-wrap>.builder-block-choice:not(#_____){border:0!important;background:transparent!important;min-height:52px!important;padding:6px 30px 6px 6px!important;gap:2px 8px!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-wrap>.builder-block-choice :is(small,span):not(#_____){font-size:13px!important;line-height:1.35}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-wrap>.builder-block-choice strong:not(#_____){font-size:15px!important;min-width:0!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-outline .prep-main-part.is-collapsed:not(#_____){border:1px solid var(--prep-line)!important;background:var(--prep-surface)!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-outline .prep-main-part.is-collapsed>header>.prep-part-summary :is(span):not(#_____){font-size:13px}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-outline .builder-phase-rows:not(#_____){gap:8px!important}
}
@media screen and (max-width:760px), screen and (max-height:500px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-wrap>.builder-block-choice>strong:not(#_____){flex:1 1 100%!important;width:100%!important}}
@media screen and (min-width:761px) and (min-height:501px){
 /* Desktop: Übung und zugeklappter Block als gleiche Kästen */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-wrap:not(#_____){border:1px solid var(--prep-line);border-radius:10px;background:var(--prep-surface);min-height:48px}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-wrap>.builder-block-choice:not(#_____){border:0!important;background:transparent!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-wrap>.builder-block-choice strong:not(#_____),
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-outline .prep-main-part.is-collapsed>header>.prep-part-summary>strong:not(#_____){font-size:14px!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-outline .prep-main-part.is-collapsed>header:not(#_____){min-height:48px;padding:2px 6px!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-outline .builder-phase-rows:not(#_____){gap:6px!important}
}
/* Zeilenaufbau wie Blockkopf (24.11.2026, Lars): › ⠿ Name … ↑↓ × */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-row-chevron{display:inline-flex;align-items:center;justify-content:center;width:20px;align-self:stretch;cursor:pointer;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-row-chevron::before{content:"";width:12px;height:12px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .15s;transform:rotate(-90deg)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.builder-choice-delete,
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part>header>.prep-part-close:not(#_____){align-self:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.builder-choice-delete:hover:not(#_____),
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part>header>.prep-part-close:hover:not(#_____){color:var(--prep-danger,#e5484d)!important;background:var(--prep-bg2)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part>header>.prep-part-toggle:not(#_____){align-self:center;width:20px!important;min-width:20px!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0!important}
@media screen and (min-width:761px) and (min-height:501px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap:not(#_____){grid-template-columns:20px 22px minmax(105px,1fr) auto auto 32px!important;column-gap:4px!important;align-items:center}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.builder-row-chevron:not(#_____){grid-column:1;grid-row:1}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.builder-drag-handle:not(#_____){grid-column:2;grid-row:1}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.builder-block-choice:not(#_____){grid-column:3;grid-row:1}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.prep-quick-fields:not(#_____){grid-column:4;grid-row:1}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.builder-choice-move:not(#_____){grid-column:5;grid-row:1}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.builder-choice-delete:not(#_____){grid-column:6;grid-row:1}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part.is-collapsed>header:not(#_____){align-items:center!important;flex-wrap:nowrap!important;gap:4px!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part>header>.prep-part-handle:not(#_____){align-self:center;min-height:32px}
}
@media screen and (max-width:760px), screen and (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>:is(.builder-row-chevron,.builder-choice-delete):not(#_____){display:none!important}
}
@media screen and (min-width:761px) and (min-height:501px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-wrap:not(#_____){padding:0 16px 0 16px!important}}
/* Handy (24.11.2026): Zurück-Pfeil statt Titelzeile, Titel als Pflichtfeld, Übungsauswahl als eigene Ansicht */
html[data-prep-ui]:root #onlinePlanDialog .builder-step-back{display:none!important}
@media screen and (max-width:760px), screen and (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog #onlinePlanForm>.builder-mobile-session-details{display:none!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog:not([data-builder-mobile-detail]) #onlinePlanForm[data-builder-mobile-step=flow] .builder-step-back{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px;}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog #onlinePlanForm[data-builder-mobile-step=flow] #prepBuilderBack{display:none!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog #onlinePlanForm[data-builder-mobile-step=details] .builder-meta .prep-title-field>span::after{content:" *";color:var(--prep-warn,#f5a524)}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail=pick] #onlinePlanForm .builder-workspace>.builder-outline{display:block!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail=pick] #onlinePlanForm .builder-workspace>.builder-editor,
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail=pick] #onlinePlanForm>.builder-footer{display:none!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail=pick] .builder-outline :not(:has(.prep-mask-open)):not(.prep-mask-open):not(.prep-mask-open *){display:none!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail=pick] .builder-outline :has(.prep-mask-open){border:0!important;padding:0!important;margin:0!important;background:transparent!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail=pick] .prep-mask-open{border:0!important;padding:0!important;background:transparent!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail=pick] .prep-mask-open>.prep-exercise-mask-head{display:none!important}
}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .builder-title-hint{grid-column:1/-1;margin:-6px 0 0;font-size:13px;color:var(--prep-warn,#f5a524)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog #onlinePlanForm input[name=title][aria-invalid=true]{border-color:var(--prep-warn,#f5a524)!important}
@media screen and (max-width:760px), screen and (max-height:500px){html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog[data-builder-mobile-detail=pick] .prep-mask-open .prep-combo-pop{max-height:calc(100dvh - 190px)!important}}
@media screen and (max-width:760px), screen and (max-height:500px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog[data-builder-mobile-detail=pick] .builder-outline :not(:has(.prep-mask-open)):not(.prep-mask-open):not(.prep-mask-open *):not(#________){display:none!important}}
/* Neu angelegter (noch leerer) Block erscheint am Ende des Ablaufs, nicht vor den Einträgen (Liste hat order:3) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-phase>.prep-main-part{order:4}
@media screen and (max-width:760px), screen and (max-height:500px){
 /* Schritt 1 am Handy: alle Felder untereinander (Uhrzeitfeld ist auf iOS breiter als eine halbe Spalte) */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog:not([data-builder-mobile-detail]) #onlinePlanForm[data-builder-mobile-step=details]>.builder-meta:not(#_____){grid-template-columns:minmax(0,1fr)!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm[data-builder-mobile-step=details]>.builder-meta>*:not(#_____){grid-column:1/-1!important;min-width:0}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm[data-builder-mobile-step=details]>.builder-meta :is(input,select):not([type=checkbox]):not([type=radio]):not([name=timeMode]):not(#_____){width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box}
}
/* iOS: Zeit-/Datumsfelder haben eine eigene Mindestbreite – Eigendarstellung aus, damit sie sich an die Spalte halten (24.11.2026) */
@media (max-width:760px), (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-meta input[type=time]:not(#_____){-webkit-appearance:none!important;appearance:none!important;display:block;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;text-align:left}
 html[data-prep-ui]:root #onlinePlanDialog #onlinePlanForm .builder-meta input[type=time]::-webkit-date-and-time-value{text-align:left}
 /* Startzeit: Uhrzeit und „Reihenfolge“ gleich hoch (Steuerhöhe, Stufe 4: vorher 44 px), damit beim Umschalten nichts springt */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-meta :is(input[name=time],select[name=dayOrder]):not(#_____){height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important}
}
/* iOS-Zeitfeld ohne Eigendarstellung: Uhrzeit senkrecht mittig */
@media (max-width:760px), (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-meta input[type=time]:not(#______){padding-top:0!important;padding-bottom:0!important;line-height:42px!important}
 html[data-prep-ui]:root #onlinePlanDialog #onlinePlanForm .builder-meta input[type=time]::-webkit-date-and-time-value{margin:0;line-height:42px;min-height:42px}
}
/* ===== Kamera-Aussparung und Querformat (24.11.2026, Lars) ===== */
@media (max-width:760px), (max-height:500px){
 /* Builder im Vollbild: Abstand zu Aussparung/Rundungen links, rechts, oben */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) body #onlinePlanDialog.planiq-builder>#onlinePlanForm:not(#____){padding-left:16px!important;padding-right:16px!important;padding-top:max(12px,env(safe-area-inset-top))!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog #onlinePlanForm>.builder-footer:not(#____){padding-left:12px!important;padding-right:12px!important}
}
@media (max-height:500px){
 /* Querformat: das ganze Fenster scrollt (Kopf scrollt mit), nur die Fußleiste bleibt unten */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) body #onlinePlanDialog.planiq-builder>#onlinePlanForm:not(#____){display:block!important;height:100%!important;overflow-y:auto!important;overscroll-behavior:contain;padding-bottom:0!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog #onlinePlanForm>.dialog-heading:not(#____){position:static!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog #onlinePlanForm .builder-workspace:not(#____){overflow:visible!important;height:auto!important;max-height:none!important;min-height:0!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog #onlinePlanForm>.builder-footer:not(#____){position:sticky!important;bottom:0;z-index:5;margin:8px -16px 0 -16px!important;background:var(--prep-surface)}
 /* Fußleiste einzeilig: Dauer links, Knöpfe rechts */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog.planiq-builder:not([data-builder-mobile-detail]) #onlinePlanForm>.builder-footer[data-builder-mobile-footer]:not(#_____){grid-template-columns:auto minmax(0,1fr) 44px!important;padding-top:4px!important;padding-bottom:max(4px,env(safe-area-inset-bottom))!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog.planiq-builder:not([data-builder-mobile-detail]) #onlinePlanForm>.builder-footer[data-builder-mobile-footer]>.builder-duration:not(#_____){grid-column:1!important;grid-row:1!important;flex-wrap:nowrap!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm>.builder-footer :is(button,.button):not(#_____){min-height:40px!important;height:40px!important}
}
@media (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog.planiq-builder:not([data-builder-mobile-detail]) #onlinePlanForm>.builder-footer[data-builder-mobile-footer]>button.primary:not(.builder-mobile-done):not(#_____){grid-column:2!important;grid-row:1!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog.planiq-builder:not([data-builder-mobile-detail]) #onlinePlanForm>.builder-footer[data-builder-mobile-footer]>.builder-footer-more:not(#_____){grid-column:3!important;grid-row:1!important}
}
/* Sicherer Bereich (Dynamic Island/Notch, abgerundete Ecken) auf Fenster-Ebene: Dialoge rücken nach innen, der Rand bleibt frei (24.11.2026) */
@media (max-width:760px), (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) body dialog:modal:not(#____){max-width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right))!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) body #onlinePlanDialog.planiq-builder:modal:not(#____){inset:0 env(safe-area-inset-right) 0 env(safe-area-inset-left)!important;width:auto!important;margin:0!important}
}
/* Sicherer Bereich grundsätzlich (24.11.2026, Lars): Dynamic Island/Notch und abgerundete Ecken verdecken nichts mehr.
   Ohne Aussparung (Desktop, ältere Handys, hochkant) liefert env() 0 – dann ändert sich nichts. */
html[data-prep-ui]:root body:not(#_){padding-left:env(safe-area-inset-left,0px)!important;padding-right:env(safe-area-inset-right,0px)!important;box-sizing:border-box}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) body .prep-tabbar{left:calc(14px + env(safe-area-inset-left,0px))!important;right:calc(14px + env(safe-area-inset-right,0px))!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) body #newOnlineCalendarItemButton:not(#____){right:calc(16px + env(safe-area-inset-right,0px))!important}

/* Superset/Zirkel-Gruppe (24.11.2026): Einstellungen oben, Übungen als Zeilen – passt sich jeder Breite an */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-superset-toolbar:not(#____){display:flex!important;flex-wrap:wrap;align-items:flex-end;gap:10px 14px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-superset-toolbar>label:not(#____){display:grid;gap:4px;flex:0 1 120px;min-width:96px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-superset-toolbar>label[hidden]:not(#____),html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-superset-toolbar>[data-overview-round]:not(#____){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-superset-toolbar>.builder-overview-actions:not(#____){margin-left:auto}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-superset-row:not(#_____){display:flex!important;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:8px 10px!important;border:1px solid var(--prep-line);border-radius:10px;background:var(--prep-surface);margin-bottom:6px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-superset-row>.builder-exercise-code:not(#_____){flex:0 0 auto;min-width:24px;color:var(--prep-text2);font-size:12px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-superset-row>.builder-exercise-summary:not(#_____){flex:1 1 160px;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-superset-row>label:not(#_____){flex:0 0 auto;display:flex!important;align-items:center;gap:6px;margin:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-superset-row>label:not(.builder-own-dose) input:not(#_____){width:64px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-superset-row>label[hidden]:not(#_____){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-superset-row>.builder-exercise-order:not(#_____){flex:0 0 auto;display:flex;gap:4px;grid-column:auto!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-superset-row>[data-overview-details]:not(#_____){flex:0 0 auto;grid-column:auto!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-superset-row .builder-own-dose input:not(#_____){width:18px!important;height:18px!important;min-height:18px!important}
@media (max-width:760px), (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-superset-row>.builder-exercise-order:not(#_____){flex:1 1 100%;flex-wrap:wrap}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-superset-row>.builder-exercise-order>button:not(#_____),
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-superset-row>[data-overview-details]:not(#_____){flex:1 1 auto;min-height:40px}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-superset-row .builder-own-dose span:not(#_____){font-size:14px}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-superset-toolbar>label:not(#____){flex:1 1 calc(50% - 14px)}
}
/* Superset/Zirkel wie ein Block (24.11.2026, Lars): Kopf mit Schild und Einstellungen, Übungen als Zeilen, „+ Übung“ unten */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-box{flex:1 1 100%;width:100%;box-sizing:border-box;margin:0 0 6px;padding:6px 8px 8px;border:1px solid var(--prep-line);border-radius:10px;background:var(--prep-surface);position:relative}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-outline>.builder-phase>.builder-group-box{order:4}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-head{display:flex;align-items:center;gap:4px;min-height:44px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-head>.builder-group-toggle:not(#_____){flex:1 1 auto;display:flex!important;align-items:center;gap:8px;min-width:0;min-height:44px!important;height:auto!important;padding:4px 6px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--prep-text)!important;text-align:left;font:inherit;cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-head>.builder-group-toggle:hover:not(#_____){background:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-label{flex:1 1 auto;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-box .prep-part-tag{font-style:normal;font-size:12px;font-weight:600;padding:1px 7px;border-radius:6px;background:var(--prep-bg2);color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-summary{font-size:13px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-head .builder-choice-duration{flex:none;font-size:13px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-head>.builder-row-chevron::before{transform:rotate(-90deg)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-box.is-settings-open>.builder-group-head>.builder-row-chevron::before{transform:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-head>.builder-choice-delete:not(#_____){flex:none;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--prep-text2)!important;font-size:16px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-head>.builder-choice-delete:hover:not(#_____){color:var(--prep-danger,#e5484d)!important;background:var(--prep-bg2)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-head>.builder-choice-move:not(#_____){position:static!important;transform:none!important;display:flex;gap:4px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-settings{padding:8px 6px 10px;margin:0 0 6px;border-bottom:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-settings[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-settings [data-overview-round]:empty{display:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-rows{display:grid;gap:4px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-workspace.prep-collapsed .builder-group-rows>.builder-editor{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-member>.builder-own-dose:not(#_____){grid-column:4;grid-row:1;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--prep-text2);white-space:nowrap;padding:0 4px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-member>.builder-own-dose[hidden]:not(#_____){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-member>.builder-own-dose input:not(#_____){width:18px!important;height:18px!important;min-height:18px!important;margin:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-box>.builder-group-add:not(#_____){display:flex!important;align-items:center;justify-content:center;min-height:40px!important;margin:6px 0 0!important;border:1px dashed var(--prep-line)!important;border-radius:8px!important;background:transparent!important;color:var(--prep-text2)!important;font-weight:500}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-box>.builder-group-add:hover:not(#_____){background:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-box>.builder-group-add:not(#_____){min-width:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-box>.builder-group-add>.prep-part-add-text:not(#_____){display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-box>.prep-pending-hint{margin:4px 6px;font-size:13px;color:var(--prep-text3)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-box>.prep-rest-row{margin:8px -2px -2px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-box.builder-drop-zone{background:var(--prep-hover)}
@media screen and (min-width:761px) and (min-height:501px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-head>.builder-choice-move:not(#_____){opacity:0;transition:opacity .12s}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-head:is(:hover,:focus-within)>.builder-choice-move:not(#_____){opacity:1}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-group-member:not(#_____){padding:0 6px!important}
}
@media screen and (max-width:760px), screen and (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-head>.builder-choice-move:not(#_____){display:none!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-head>.builder-row-chevron:not(#_____){}
}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-head{position:relative}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-pending-part:has(>.builder-group-box)>.prep-pending-hint{display:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog label.builder-circuit-timed{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-group-settings .builder-overview-actions{display:none!important}
@media screen and (max-width:760px), screen and (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-member>.builder-own-dose:not(#_____){grid-column:2;grid-row:2;justify-self:start;min-height:32px;padding:0 0 6px 12px;font-size:13px}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-box:not(#_____){}
}
/* Superset/Zirkel: Sätze legt die Gruppe fest – in der Übung nicht änderbar; alte Überschrift „Übung 1“ entfällt (24.11.2026, Lars) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-super-exercise :is(.prep-set-addrow,.prep-set-add,.prep-set-del,.prep-set-plus,.prep-track-pluscol,.prep-mset-add,.prep-group-hide,.builder-superset-reps):not(#_____){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-super-exercise>.builder-exercise-heading:not(#_____){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .online-training-block:not(.builder-super-exercise)>.prep-group-sets-note{display:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-group-sets-note{margin:4px 0 8px;padding:6px 10px;border-radius:8px;background:var(--prep-bg2);font-size:13px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-box>.builder-group-add[hidden]:not(#_____){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-super-exercise .prep-set-count-input:read-only:not(#_____){border-color:transparent!important;background:transparent!important;pointer-events:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-super-exercise [data-managed-parameter="sets"]:read-only:not(#_____){border-color:transparent!important;background:transparent!important;pointer-events:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-super-exercise :is(.managed-exercise-edit,.builder-exercise-guide-action):not(#_____){display:none!important}
/* Wischen zum Löschen folgt dem Finger (25.11.2026, Lars: „läuft etwas träge“) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog :is(.builder-swiped,.builder-swiping){overflow:hidden;position:relative}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog :is(.builder-swiped,.builder-swiping)>:not(.builder-swipe-delete){transform:translateX(calc(-1 * var(--swipe, 0px)))}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-swiped>:not(.builder-swipe-delete){transition:transform .18s ease-out}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-swipe-delete:not(#_____){width:var(--swipe, 96px);min-width:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:clip}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-swiped>.builder-swipe-delete:not(#_____){transition:width .18s ease-out}
/* Superset/Zirkel: Kopf links bündig, Übungen eingerückt, Übungen einklappbar (25.11.2026, Lars) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-box:not(#_____){padding:2px 6px 8px 2px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-box>:is(.builder-group-rows,.builder-group-settings,.builder-group-add,.prep-pending-hint):not(#_____){margin-left:24px!important;width:auto!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-box>.builder-group-rows:not(#_____){padding-left:8px;border-left:2px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-head>.builder-row-chevron:not(#_____){display:inline-flex!important;width:28px;min-height:44px;cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-head>.builder-row-chevron::before{transform:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-box.is-group-collapsed>.builder-group-head>.builder-row-chevron::before{transform:rotate(-90deg)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-box.is-group-collapsed>:not(.builder-group-head):not(.prep-rest-row):not(#_____){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-box.is-group-collapsed:not(#_____){padding-bottom:2px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-group-box>.builder-group-add:not(#_____){width:calc(100% - 24px)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-swiping{contain:layout paint}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .builder-swiping>:not(.builder-swipe-delete){will-change:transform}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-superset-toolbar>label.builder-group-name-field:not(#_____){flex:1 1 100%!important;max-width:none}
/* Design-Prüfung 25.11.2026 */
/* M1: Zähler neuer Trainingsberichte in der Tableiste als Blase am Symbol */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) .prep-tabbar .prep-tab{position:relative}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) .prep-tabbar .prep-tab-badge{position:absolute;top:4px;left:calc(50% + 6px);min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border-radius:8px;background:var(--prep-text);color:var(--prep-bg);font-size:10px;font-weight:700;line-height:16px;text-align:center;pointer-events:none}
@media screen and (max-width:760px), screen and (max-height:500px){
 /* M2: Filter-Segmente im Coachcenter so hoch, dass die Zählerblasen hineinpassen (Tippziel ≥ 44 px) */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #mainContent .coach-center-show .segmented-control:not(#_____){height:auto!important;min-height:var(--prep-control-h,40px)!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #mainContent .coach-center-show .segmented-control>button:not(#_____){height:auto!important;min-height:44px!important;padding-block:4px!important}
 /* M4: Einheiten-Auswahl der Satztabelle bleibt in ihrer Zelle */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) .gym-set-row .gym-set-target-field:not(#_____){min-width:0;overflow:hidden}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) .gym-set-row .gym-set-target-field>select:not(#_____){max-width:100%!important;}
 /* G2: kleine Umschalter am Handy bekommen eine unsichtbar größere Tippfläche (Optik unverändert) */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) :is(.segmented-control,.prep-seg,.prep-card-tabs)>button,
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) .prep-week-edge{position:relative}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) :is(.segmented-control,.prep-seg,.prep-card-tabs)>button::after,
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) .prep-week-edge::after{content:"";position:absolute;inset:-6px 0}
}
/* M7: ⌄-Menü im Kalender bleibt im Fenster (Handy quer) und scrollt selbst */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #calendarMoreMenu:not(#_____){max-height:calc(100dvh - var(--prep-tabbar-space,96px) - 16px)!important;overflow-y:auto!important;overscroll-behavior:contain}
/* Design-Entscheidungen 25.11.2026 (Lars) */
/* M5 (R1): Ausfälle wie „Krankheit“ nicht in Prep-Grün (Grün = erledigt): ruhiger Rahmen, Kante in der Warnfarbe */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) .planning-event-card.calendar-day-off-card:not(:has([data-prep-avail="external_training"])):not(#_____){border-color:var(--prep-line)!important;border-inline-start-color:var(--prep-warn)!important}
/* M6 (R12o): Tablet mit Touch – Bedienelemente behalten ihr Aussehen, die Tippfläche wird unsichtbar auf rund 44 px vergrößert.
   :where() hat kein Gewicht, jede vorhandene Regel (Position, eigenes ::after) behält Vorrang. */
@media (pointer:coarse) and (min-width:761px) and (min-height:501px){
 :where(html[data-prep-ui]) :where(.button,.prep-text-action,.user-menu-button,.prep-week-edge,:is(.segmented-control,.prep-seg,.prep-card-tabs)>button,.icon-button,.calendar-add,.calendar-range-menu,.session-menu-button,.calendar-tool-button,.coach-athlete-icon-button,.calendar-day-add-unit){position:relative}
 :where(html[data-prep-ui]) :where(.button,.prep-text-action,.user-menu-button,.prep-week-edge)::after{content:"";position:absolute;inset:-10px 0}
 :where(html[data-prep-ui]) :where(:is(.segmented-control,.prep-seg,.prep-card-tabs)>button)::after{content:"";position:absolute;inset:-13px 0}
 :where(html[data-prep-ui]) :where(.icon-button,.calendar-add,.calendar-range-menu,.session-menu-button,.calendar-tool-button,.coach-athlete-icon-button,.calendar-more-button)::after{content:"";position:absolute;inset:-14px -4px}
}
/* G9 (R8): „Datenschutz & Einwilligung“ ohne Kasten im Kasten; mehrere Profile durch eine Linie getrennt */
html[data-prep-ui]:root:not(#_):not(#__) .privacy-dialog .privacy-profile:not(#___){padding:0!important;border:0!important;border-radius:0!important;background:none!important}
html[data-prep-ui]:root:not(#_):not(#__) .privacy-dialog .privacy-profile+.privacy-profile:not(#___){padding-top:16px!important;border-top:1px solid var(--prep-line)!important}
@media screen and (max-width:760px), screen and (max-height:500px){
 /* G3 (R12k): Fußleisten in einer Zeile – lange Knopftexte am Handy als Kurzform (data-short), voller Text bleibt der Name für Vorleseprogramme */
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .dialog-actions .button[data-short]:not(#______){font-size:0!important;letter-spacing:0!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .dialog-actions .button[data-short]::before{content:attr(data-short) / "";font-size:var(--prep-control-font,13.5px);letter-spacing:normal}
 /* G6: Reiternamen in der Tableiste ohne Trennung (passende Größe setzt prep-nav-burger.js) */
 html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-tabbar .prep-tab,body.prep-athlete #prepAthleteTabs a)>span:not(.prep-tab-badge):not(#___){white-space:nowrap!important;hyphens:none!important;overflow-wrap:normal!important;text-overflow:clip!important;max-width:none!important;overflow:visible!important}
 html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-tabbar .prep-tab,body.prep-athlete #prepAthleteTabs a){overflow:visible!important}
 /* G8: zweite Titelzeile im Builder („für …“) bündig unter der ersten */
 html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .dialog-heading>div:has(>#prepBuilderChips)>h2 .prep-builder-calendar::before{content:attr(data-prefix) " "!important}
}
/* 25.11.2026 (Lars): Athletecenter wie Coachcenter – Karten als graue Kacheln (hell --prep-bg2, Rundung 12 px; dunkel unverändert gleich) */
html[data-prep-ui][data-theme="light"]:root:not(#_):not(#__) body.prep-athlete #dashboardView .prep-list-surface:not(#___){background-color:var(--prep-bg2)!important}
html[data-prep-ui]:root:not(#_):not(#__) body.prep-athlete #dashboardView .prep-list-surface:not(#___){border-radius:12px!important}
/* 25.11.2026 (Lars): Session Builder fast Vollbild – „ist ja wichtig, was wir hier machen“ */
@media screen and (min-width:761px){html:root:not(#_):not(#__) body #onlinePlanDialog.planiq-builder{width:calc((100vw - 48px) / var(--prep-z,1));max-width:none;height:calc((100dvh - 48px) / var(--prep-z,1));max-height:none}}
/* 25.11.2026 (Lars: „man kann nicht gut auseinanderhalten, was ich verändere“): Ebenen im Builder klarer –
   Block = abgesenkte Fläche, Übung = erhabene Karte; was gerade bearbeitet wird, bekommt einen deutlichen Rahmen (Stärke, nicht nur Farbe). */
html:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-main-part:not(#_){background:color-mix(in srgb,var(--prep-surface) 45%,var(--prep-bg))!important;transition:border-color .12s,box-shadow .12s}
html:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-main-part:focus-within:not(#_){border-color:color-mix(in srgb,var(--prep-accent) 55%,var(--prep-line))!important}
html:root:not(#_):not(#__):not(#___) #onlinePlanDialog .online-training-block.prep-ex-card:not(#_){background:var(--prep-surface)!important;box-shadow:0 1px 2px rgb(0 0 0/.18)!important;transition:box-shadow .12s}
html:root:not(#_):not(#__):not(#___) #onlinePlanDialog .online-training-block.prep-ex-card:focus-within:not(#_){box-shadow:0 0 0 2px var(--prep-accent),0 2px 8px rgb(0 0 0/.22)!important}
html:root:not(#_):not(#__):not(#___) #onlinePlanDialog .online-training-block.prep-ex-card:focus-within>.prep-ex-head:not(#_){background:color-mix(in srgb,var(--prep-accent) 9%,transparent)!important;border-radius:8px}
/* Wettkampf-Infos und Dokumente (25.11.2026) */
.prep-competition-items{display:grid;gap:10px;margin-top:8px}
.prep-competition-items-title{margin:0;font-size:var(--prep-section-font,15px);font-weight:600}
.prep-competition-items-add{display:flex;flex-wrap:wrap;gap:8px}
.prep-competition-items-add .button{display:inline-flex;align-items:center;gap:6px}
.prep-competition-items-form{display:grid;gap:8px;padding:12px;border:1px solid var(--prep-line);border-radius:12px;background:var(--prep-bg2)}
.prep-competition-items-form-actions{display:flex;justify-content:flex-end;gap:8px}
.prep-competition-items-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.prep-competition-item{display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:10px;padding:10px 12px;border:1px solid var(--prep-line);border-radius:12px;background:var(--prep-bg2)}
.prep-competition-item-icon{display:inline-flex;padding-top:2px;color:var(--prep-text2)}
.prep-competition-item-main{display:grid;gap:4px;min-width:0;color:inherit;text-decoration:none}
.prep-competition-item-file{min-height:44px}
.prep-competition-item-file strong{overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:2px}
.prep-competition-item-note{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.prep-competition-item-meta{display:flex;flex-wrap:wrap;gap:4px 10px;color:var(--prep-text2)}
.prep-competition-item-stale{color:var(--prep-warn);font-weight:600}
.prep-competition-item-stale::before{content:"⚠ "}
.prep-competition-item-actions{display:flex;gap:2px}
.prep-competition-item-actions .icon-button{min-width:44px;min-height:44px}
/* Tippflächen 44 px auf Touch-Geräten und schmalen Breiten (Desktop folgt der kompakten --prep-control-h wie die übrigen Dialog-Knöpfe). */
@media (pointer:coarse),(max-width:760px){
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-competition-items button.icon-button{width:44px!important;min-width:44px!important;height:44px!important}
}
.prep-competition-items-empty{margin:0;color:var(--prep-text2)}
.prep-competition-items-dialog{max-width:min(560px,calc(100vw - 32px));width:100%}
.calendar-race-chip .calendar-race-clip,.planning-event-card .calendar-race-clip,.year-month-competitions .calendar-race-clip{display:inline-flex;margin-inline-start:4px;vertical-align:-3px}
.prep-competition-items[hidden],.prep-competition-items [hidden]{display:none!important}
.prep-competition-item-main:focus-visible,.prep-competition-items :is(button,select,input,textarea):focus-visible{outline:2px solid var(--prep-accent);outline-offset:2px}
/* 25.11.2026: Jahresansicht – Wettkampf mit Infos als Knopf: langer Titel wird gekürzt (…), Büroklammer bleibt sichtbar */
html[data-prep-ui]:root:not(#_):not(#__) .year-month-competitions>li>button[data-competition-items-event]{display:flex;align-items:center;flex:1 1 auto;min-width:0;max-width:100%;overflow:hidden;text-align:start}
html[data-prep-ui]:root:not(#_):not(#__) .year-month-competitions>li>button[data-competition-items-event]>span:not(.calendar-race-clip){flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__) .year-month-competitions>li>button[data-competition-items-event]>.calendar-race-clip{flex:none;overflow:visible}
/* 25.11.2026: Vorwoche einfügen – Dialog */
html[data-prep-ui]:root:not(#_) .prep-previous-week-dialog .prep-previous-week-group{display:grid;gap:6px;margin:12px 0 0;padding:0;border:0}
html[data-prep-ui]:root:not(#_) .prep-previous-week-dialog .prep-previous-week-group[hidden]{display:none}
html[data-prep-ui]:root:not(#_) .prep-previous-week-dialog legend{margin:0 0 4px;font-size:12.5px;font-weight:600;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_) .prep-previous-week-dialog .prep-previous-week-group>label{display:flex;align-items:center;gap:8px;min-height:36px;font-size:14px}
@media (pointer:coarse),(max-width:760px){html[data-prep-ui]:root:not(#_) .prep-previous-week-dialog .prep-previous-week-group>label{min-height:44px}}
html[data-prep-ui]:root:not(#_) .prep-previous-week-dialog .prep-previous-week-summary{margin:12px 0 0;font-size:13px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-previous-week-dialog .prep-previous-week-group>label>input[type=radio]{flex:none!important;width:18px!important;height:18px!important;min-height:0!important;margin:0!important;padding:0!important;accent-color:var(--prep-accent)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-previous-week-dialog .prep-previous-week-group>label>span{flex:1 1 auto;min-width:0;text-align:start;color:var(--prep-text)}
/* 25.11.2026: Bahn-Editor – Starthügel-Zeilen und geteilte Geraden */
html[data-prep-ui]:root:not(#_) #bmxTrackForm .bmx-track-hill-row{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:end;margin:0 0 8px}
html[data-prep-ui]:root:not(#_) #bmxTrackForm .bmx-track-hill-row label{display:grid;gap:4px;min-width:160px;margin:0}
html[data-prep-ui]:root:not(#_) #bmxTrackForm .bmx-track-hill-row [data-hill-height]{min-width:110px}
html[data-prep-ui]:root:not(#_) #bmxTrackForm .bmx-track-split{display:inline-flex;align-items:center;gap:6px;min-height:32px;margin:0;font-size:13px}
html[data-prep-ui]:root:not(#_) #bmxTrackForm .bmx-track-hill-row label.bmx-track-split{display:inline-flex;min-width:0}
html[data-prep-ui]:root:not(#_) #bmxTrackForm .bmx-track-hills [hidden],html[data-prep-ui]:root:not(#_) #bmxTrackForm [data-layout-splits][hidden],html[data-prep-ui]:root:not(#_) #bmxTrackForm .bmx-track-split[hidden]{display:none}
html[data-prep-ui]:root:not(#_) #bmxTrackForm .bmx-track-split{flex-wrap:wrap}html[data-prep-ui]:root:not(#_) #bmxTrackForm .bmx-track-split small{flex:1 0 100%;padding-left:26px;font-size:12px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_) #bmxTrackForm .bmx-track-split small[hidden]{display:none}
html[data-prep-ui]:root:not(#_) #bmxTrackForm [data-extra-hill]{align-items:center}
html[data-prep-ui]:root:not(#_):not(#__) #bmxTrackForm .bmx-track-split>input[type=checkbox]{flex:none;width:20px;height:20px;min-width:20px;min-height:0;margin:0;padding:0;accent-color:var(--prep-accent)}
@media (pointer:coarse),(max-width:760px){html[data-prep-ui]:root:not(#_) #bmxTrackForm .bmx-track-split{min-height:44px}}
/* 25.11.2026: Track-Karte – Pro/Normal je geteilter Gerade; Anzeige „Gerade 3 (Pro)“ in Einheit und Timer */
html[data-prep-ui]:root:not(#_) .prep-track-lanes{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:8px 0 2px;grid-column:1/-1}
html[data-prep-ui]:root:not(#_) .prep-track-lane-row,html[data-prep-ui]:root:not(#_) .prep-track-lane.is-fixed{display:inline-flex;align-items:center;gap:8px;font-size:13px}
html[data-prep-ui]:root:not(#_) .prep-track-lane.is-fixed small{font-size:12px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_) .prep-track-lane-name{font-weight:600;white-space:nowrap}
html[data-prep-ui]:root:not(#_) .prep-track-lane.prep-seg{width:auto;flex:none}
html[data-prep-ui]:root:not(#_) .prep-track-lane.prep-seg>button{padding:0 12px}
@media (hover:hover){html[data-prep-ui]:root:not(#_) .prep-track-lane.prep-seg>button[aria-pressed="false"]:not([disabled]):hover{background-image:linear-gradient(var(--prep-hover),var(--prep-hover))!important;transform:none!important;box-shadow:none!important}}
@media (pointer:coarse),(max-width:760px){html[data-prep-ui]:root:not(#_):not(#__) .prep-track-lane.prep-seg:not(#___){min-height:44px!important;height:auto!important}html[data-prep-ui]:root:not(#_):not(#__) .prep-track-lane.prep-seg>button:not(#___){min-height:44px!important;height:44px!important}}
.effort-route-lanes{display:block;grid-column:1/-1;font-size:.9rem;font-weight:600;line-height:1.5;overflow-wrap:anywhere}

/* Kommentare (Lars 25.11.2026) */
.prep-comments{display:grid;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid var(--prep-line)}
.prep-comments h3{margin:0;}
.prep-comments-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.prep-comment{padding:10px 12px;border-radius:10px;background:var(--prep-surface)}
.prep-comment[data-own="true"]{background:var(--prep-raised)}
.prep-comment-head{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.prep-comment-role{font-size:.8rem;color:var(--prep-text2)}
.prep-comment-head time{font-size:.8rem;color:var(--prep-text2);margin-left:auto}
.prep-comment-delete{min-width:44px;min-height:44px}
.prep-comment-text{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.prep-comments-form{display:grid;gap:8px}
.prep-comments-form textarea{width:100%;resize:vertical}
.prep-comments-form .button{justify-self:end;}
/* 25.11.2026 (Lars): Session Builder – automatisch speichern. Status als Text mit Zeichen, nicht nur Farbe. */
html[data-prep-ui]:root:not(#_):not(#__) .prep-autosave-status{margin:0;align-self:center;font-size:.875rem;line-height:1.3;color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-autosave-status:is([data-state="saved"],[data-state="local"])::before{content:"✓ ";color:var(--prep-ok);font-weight:700}
html[data-prep-ui]:root:not(#_):not(#__) .prep-autosave-status:is([data-state="incomplete"],[data-state="offline"],[data-state="uncertain"],[data-state="conflict"],[data-state="error"],[data-state="held"])::before{content:"! ";color:var(--prep-warn);font-weight:700}
@media (max-width:760px){html[data-prep-ui]:root:not(#_):not(#__) .prep-autosave-status{flex-basis:100%;order:-1;grid-column:1/-1}}
/* Leer: unsichtbar, aber im DOM und im Barrierefreiheitsbaum (Live-Region), damit die erste Meldung angesagt wird. */
html[data-prep-ui]:root:not(#_):not(#__) .prep-autosave-status:empty{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
html[data-prep-ui]:root:not(#_):not(#__) .prep-autosave-restore p{margin:0}
html[data-prep-ui]:root:not(#_):not(#__) .prep-autosave-restore .button:not(#___):not(#____):not(#_____){min-height:44px!important;height:auto!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-resume{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:8px 0 12px;padding:12px;border:1px solid var(--prep-line);border-inline-start:3px solid var(--prep-accent);border-radius:8px;background:var(--prep-surface);color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-resume p{margin:0;flex:1 1 240px}
html[data-prep-ui]:root:not(#_):not(#__) .prep-resume-actions{display:flex;flex-wrap:wrap;gap:8px}
/* Stufe 7a (29.11.2026): „Entwurf behalten?“ und die Rückfrage aus dem Katalog folgen R8/R3c (vorher eigene 44 px); × und
   Tippfläche wie in allen Popups (R12o). */

/* ---------- R8 Auswahlfelder/Filter (Lars 26.11.2026: „Auswahlfelder bei allen Filtern identisch“) ----------
   Referenz = native Auswahlfelder der Filterleisten (Bibliothek, Coachcenter, Analysen, Veranstaltungen): Höhe --prep-control-h,
   Rahmen --prep-control, Ecken 8 px, Fläche --prep-surface, Schrift --prep-field-font (400), Innenabstand 10/30, Pfeil 16 px bei
   rechts 8 px (Dunkel #8a9198, Hell #5b636e), Fokus = Rahmen in --prep-text2. Die Felder-Regeln oben (R3c/Zeile 388) gelten schon
   für alle nativen Auswahlfelder; hier angeglichen werden die zwei Auswahlfelder, die keine native <select> sind. */
/* 26.11.2026: Spalten je Übung im Session Builder – × und „+“ mit 44-px-Trefferfläche, Menü mit Gruppen, scrollbar */
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table .prep-param-x:not(#___){position:relative}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table .prep-param-x:not(#___)::after{content:"";position:absolute;inset:-15px}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table .prep-param-x:focus-visible:not(#___){outline:2px solid var(--prep-accent,currentColor);outline-offset:2px}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table th .prep-column-kind:not(#___){display:block;max-width:100%;margin-top:2px}
html:root:not(#_) #onlinePlanDialog .prep-col-menu{max-height:min(60vh,420px);overflow:auto}
/* R7: „+“-Menü der Spalten wie die übrigen Menüs – Fläche 8 px Innenabstand, Ecken 12, Einträge 44 px · 13 px · Ecken 8, Tönung beim Überfahren/Fokus */
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-col-menu:not(#___){padding:8px!important;border:1px solid var(--prep-line)!important;border-radius:12px!important;background:var(--prep-surface)!important;box-shadow:none!important;max-width:calc(100vw - 32px)}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-col-menu>button:not(#___){min-height:44px!important;height:auto!important;padding:8px 12px!important;border-radius:8px!important;font-size:13px!important;font-weight:400!important;color:var(--prep-text)!important;text-align:left}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-col-menu>button:is(:hover,:focus-visible):not(#___){background:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-col-menu>p.prep-col-menu-head:not(#___){margin:8px 12px 4px;font-size:12px;font-weight:600;color:var(--prep-text3)}
/* 26.11.2026 (Lars): Spalten im Session Builder – Zahnrad je Trainingsart („nur einstellen, was wir an Auswahl anbieten“: Schalter je Spalte)
   und „Meine Standardspalten“ in der Übung (Beispieltabelle wie die Satztabelle im Builder: ×, Art-Auswahl, „+“). */
html[data-prep-ui]:root:not(#_):not(#__) .prep-action-dialog.prep-builder-columns-dialog{width:min(40rem,calc(100vw - 24px))}
html[data-prep-ui]:root:not(#_):not(#__) .exercise-group h3:has(>.exercise-builder-columns){display:flex;align-items:center;gap:4px;padding-right:6px}
html[data-prep-ui]:root:not(#_):not(#__) .exercise-group h3>.exercise-group-toggle{flex:1 1 auto;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__) .exercise-group h3>.exercise-builder-columns:not(#___){flex:none;display:inline-grid;place-items:center;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--prep-text3)!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__) .exercise-group h3>.exercise-builder-columns:hover:not(#___){background:var(--prep-hover)!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__) .exercise-group h3>.exercise-builder-columns:focus-visible:not(#___){outline:2px solid var(--prep-accent)!important;outline-offset:-2px;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-settings-head{display:flex;flex-wrap:wrap;align-items:end;gap:8px 12px}
html[data-prep-ui]:root:not(#_):not(#__) .prep-exercise-columns .prep-builder-settings-head{align-items:center}
html[data-prep-ui]:root:not(#_):not(#__) .prep-exercise-columns .prep-builder-settings-head>h3{margin:0}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-settings-type{display:grid;gap:6px;flex:0 1 240px;min-width:0;margin:0}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-settings-type>span{color:var(--prep-text2);font-size:12px;font-weight:500;line-height:16px}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-settings-type>select{width:100%;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-settings-badge{display:inline-flex;align-items:center;min-height:28px;font-size:12.5px;color:var(--prep-text3)}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) :is(.prep-builder-settings-intro,.prep-builder-settings-status,.prep-builder-panel-hint){margin:8px 0;font-size:12.5px;line-height:1.45;color:var(--prep-text3)}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-settings-status{min-height:1.45em}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-offer-group{margin:12px 0 0;padding:0;border:0;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-offer-group>legend{padding:0;margin:0 0 2px;font-size:12px;font-weight:600;color:var(--prep-text3)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-offer-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:44px;margin:0;padding:0 8px;border-radius:8px;cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-offer-row:hover{background:var(--prep-hover)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-offer-row>input:not(#___){width:20px;height:20px;min-width:0;min-height:0;margin:0}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-offer-row:has(>input:focus-visible){outline:2px solid var(--prep-accent);outline-offset:-2px}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-offer-word{min-width:5.5em;font-size:12.5px;color:var(--prep-text3)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-offer-row:has(>input:not(:checked))>.prep-builder-offer-word{opacity:.55}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-column-name{min-width:0;font-size:13px;color:var(--prep-text);overflow-wrap:anywhere}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) [data-builder-reset]{margin-top:12px}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample-scroll{max-width:100%;overflow-x:auto}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-set-table.prep-builder-sample{width:max-content;min-width:0;max-width:none;border:1px solid var(--prep-line);border-radius:8px;border-collapse:separate;border-spacing:0;overflow:hidden;font-variant-numeric:tabular-nums}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample th{height:44px;padding:4px 8px;background:var(--prep-bg2);border:0;border-bottom:1px solid var(--prep-line);border-right:1px solid var(--prep-line);font-size:12px;font-weight:500;color:var(--prep-text3);text-align:center;vertical-align:middle;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample td{height:36px;padding:0 8px;border:0;border-right:1px solid var(--prep-line);background:var(--prep-surface);font-size:13px;color:var(--prep-text3);text-align:center;vertical-align:middle}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample tr>:last-child{border-right:0}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample .prep-builder-sample-name{min-width:120px;max-width:220px;text-align:left;color:var(--prep-text2);white-space:normal}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-column-tools{display:flex;align-items:center;justify-content:center;gap:2px;margin-top:2px}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample th .prep-column-kind:not(#___){display:inline-block;width:auto!important;max-width:100%;margin:0!important;padding:0 22px 0 6px!important;border:0!important;background-color:transparent!important;background-position:right 4px center!important;font-size:12px!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample .prep-col-x:not(#___){display:inline-grid;place-items:center;position:relative;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;margin-left:2px;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--prep-text3)!important;font-size:14px!important;vertical-align:middle}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample .prep-col-x::after{content:"";position:absolute;inset:-10px}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample .prep-set-plus{width:1%;padding:0 6px!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample .prep-col-add:not(#___){position:relative;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;padding:0!important;border:1px solid var(--prep-line)!important;border-radius:8px!important;background:transparent!important;color:var(--prep-text2)!important;font-size:16px!important;line-height:1!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample .prep-col-add::after{content:"";position:absolute;inset:-8px}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample :is(.prep-col-add,.prep-col-x):is(:hover,:focus-visible):not(#___){background:var(--prep-hover)!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-column-panel{display:block;margin:12px 0;padding:8px;max-height:min(60vh,420px);overflow:auto;border:1px solid var(--prep-line);border-radius:12px;background:var(--prep-surface)}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-column-panel>.prep-col-menu-head{margin:8px 12px 4px;font-size:12px;font-weight:600;color:var(--prep-text3)}
/* Art-Auswahl im Spaltenkopf: auf Touch-Geräten 44 px hoch wie die übrigen Einheiten-Auswahlen (prep-unit-select) */
@media (pointer:coarse){
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-set-table th select.prep-column-kind:not(#___):not(#____):not(#_____),
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample th select.prep-column-kind:not(#___):not(#____){height:44px!important;min-height:44px!important}
}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-column-panel>button[data-builder-add]:not(#___){display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:44px;padding:8px 12px;border:0;border-radius:8px;background:transparent;font-size:13px;font-weight:400;color:var(--prep-text);text-align:left;box-shadow:none}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-column-panel>button[data-builder-add]:is(:hover,:focus-visible):not(#___){background:var(--prep-hover)}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-column-panel>[data-builder-panel-close]{display:block;margin:8px 0 0 auto}
html[data-prep-ui]:root:not(#_):not(#__) .exercise-builder-standard{margin-top:8px}

/* 26.11.2026: eigene Spalten – lange Namen brechen im Tabellenkopf um */
.prep-set-table th[data-prep-param^="custom:"] > span { overflow-wrap: anywhere; }

/* 26.11.2026: Zahnrad – eigene Spalten, Vorauswahl der Rückmeldung, Rückmeldewerte fürs Trainerteam (prep-builder-custom-settings.js); Stil wie die Liste „anbieten“ darüber */
/* Stufe 7a (29.11.2026): Bedienelemente in Steuerhöhe (R3c, vorher eigene 44 px) */
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom>section{margin-top:20px;padding-top:16px;border-top:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom :is(h3,h4){margin:0;font-size:14px;font-weight:600;color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom h4{margin-top:16px;font-size:13px}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom :is(.prep-builder-settings-intro,.prep-builder-settings-status){margin:8px 0;font-size:12.5px;line-height:1.45;color:var(--prep-text3)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom .prep-builder-settings-status{min-height:1.45em}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-list{list-style:none;margin:8px 0;padding:0;display:grid;gap:8px}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-list>li{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-list>li>span{flex:1 1 200px;min-width:0;font-size:13px;color:var(--prep-text2);overflow-wrap:anywhere}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-list>li>span>strong{color:var(--prep-text);font-weight:600}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-list>li>input[type="text"]:not(#___){flex:1 1 160px;width:auto;min-width:0;height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom .button:not(#___){height:auto!important;min-height:var(--prep-control-h)!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-defaults{display:flex;flex-wrap:wrap;gap:0 16px;margin:4px 0}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-defaults>.prep-builder-check{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:0 8px;border-radius:8px;font-size:13px;color:var(--prep-text);cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-defaults>.prep-builder-check:hover{background:var(--prep-hover)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-defaults>.prep-builder-check>input:not(#___){width:20px;height:20px;min-width:0;min-height:0;margin:0}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-defaults>.prep-builder-check:has(>input:focus-visible){outline:2px solid var(--prep-accent);outline-offset:-2px}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-form{display:grid;gap:8px;width:100%;margin:8px 0;padding:12px;border:1px solid var(--prep-line);border-radius:8px;background:var(--prep-surface)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-form .exercise-field{display:grid;gap:6px;margin:0;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-form .exercise-field>span{font-size:12px;font-weight:500;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-form :is(input,select):not(#___){width:100%;min-width:0;height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-form textarea{width:100%;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-number{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-scale{display:grid;gap:8px;justify-items:start}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog :is(.prep-builder-custom-number,.prep-builder-custom-scale)[hidden]{display:none}
html[data-prep-ui]:root:not(#_):not(#__) .prep-builder-columns-dialog .prep-builder-custom-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:4px}

/* ===== Coachcenter-Filter und -Woche (Lars 27.11.2026) ===== */
/* Notiz 1: Suchfeld breit genug für „Name oder Gruppe“; Notiz 2/3: Auswahlfelder ohne abgeschnittene Zahl bzw. „Trainingsgruppen“. */
html[data-prep-ui] #mainContent .coach-center-filter>label.coach-center-search{flex:0 1 240px!important;width:240px!important;max-width:240px!important}
html[data-prep-ui] #mainContent .coach-center-filter input[data-coach-search]{padding-right:8px!important;text-overflow:ellipsis}
html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search) select[data-dashboard-group]{width:auto!important;min-width:200px!important;max-width:320px!important;field-sizing:content!important}
html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search) select[data-coach-group]{width:180px!important}
@media screen and (max-width:760px), screen and (max-height:500px){
  /* Handy: 6 Spalten – Suche 4, Filterknopf 2 (Platzhalter bleibt lesbar); Gruppieren und Sortieren je eine volle Zeile. */
  html[data-prep-ui]:not(#_):not(#__) #mainContent .coach-center-filter{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  html[data-prep-ui]:not(#_):not(#__) #mainContent .coach-center-filter>label.coach-center-search{grid-column:1/5!important;flex:1 1 auto!important;width:auto!important;max-width:none!important}
  html[data-prep-ui]:not(#_):not(#__) #mainContent .coach-center-filter>.prep-filter-toggle{grid-column:5/7!important}
  /* Task 4: „Neue Benachrichtigungen“ und der Richtungsknopf brauchen die volle Breite – Gruppieren und Sortieren stehen untereinander. */
  html[data-prep-ui]:not(#_):not(#__) #mainContent .coach-center-filter>label:has([data-coach-group]),
  html[data-prep-ui]:not(#_):not(#__) #mainContent .coach-center-filter>.coach-center-sort-row{grid-column:1/-1!important}
  html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search) select[data-dashboard-group],
  html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search) select[data-coach-group]{width:100%!important;max-width:none!important;min-width:0!important}
}
/* Notiz 5: Richtungsknopf ↑/↓ neben „Sortieren“ (außerhalb des Labels, damit der Klick nicht die Auswahl fokussiert); 44-px-Ziel, unten bündig mit der 40-px-Auswahl. */
html[data-prep-ui] #mainContent .coach-center-filter>.coach-center-sort-row{display:flex;align-items:flex-end;gap:6px;flex:0 0 auto}
html[data-prep-ui] #mainContent .coach-center-sort-row>label{display:grid!important;gap:6px!important;margin:0}
/* „Neue Benachrichtigungen“ ganz lesbar */
html[data-prep-ui] #mainContent .coach-center-sort-row select[data-coach-sort]{width:210px!important}
/* Beschriftung wie bei „Gruppieren“ (app.css setzt für .coach-center-filter>div span Großbuchstaben). */
html[data-prep-ui] #mainContent .coach-center-filter>.coach-center-sort-row>label>span{display:block;text-transform:none!important;font-size:12.5px!important;font-weight:500!important;line-height:16px!important;letter-spacing:0!important}
html[data-prep-ui] #mainContent .prep-sort-dir{flex:none;min-width:44px;min-height:44px;padding:0;display:inline-grid;place-items:center;border:1px solid var(--prep-control);border-radius:8px;background:var(--prep-surface);color:var(--prep-text);cursor:pointer}
html[data-prep-ui] #mainContent .prep-sort-dir:hover{border-color:var(--prep-text)}
html[data-prep-ui] #mainContent .prep-sort-dir[data-sort-dir="desc"]{border-color:var(--prep-accent)}
html[data-prep-ui] #mainContent .prep-sort-dir:focus-visible{outline:2px solid var(--prep-accent);outline-offset:2px}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] #mainContent .coach-center-filter>.coach-center-sort-row{min-width:0}
  html[data-prep-ui] #mainContent .coach-center-filter:not([data-filters-open])>.coach-center-sort-row{display:none!important}
  html[data-prep-ui] #mainContent .coach-center-sort-row>label{flex:1 1 auto;min-width:0}
  html[data-prep-ui] #mainContent .coach-center-sort-row select[data-coach-sort]{width:100%!important}
}
/* Notiz 10: Tageszustand der Coachcenter-Woche – gleiches Zeichen wie im Kalender, Text für Bildschirmleser */
html[data-prep-ui] .coach-week-availability{display:inline-flex;align-items:center;margin-left:4px}
html[data-prep-ui] .coach-week-day[data-availability-status="unavailable"]{background:color-mix(in srgb,var(--prep-bad) 6%,transparent)}
html[data-prep-ui] .coach-week-day-off .calendar-day-off-title{display:inline-flex;align-items:center;gap:4px}
html[data-prep-ui] .coach-week-shift{display:block;opacity:.8}
/* Notiz 11: „4 erledigt · 22 Entwürfe“ darf auf schmalen Karten in eine zweite Zeile umbrechen statt abgeschnitten zu werden */
html[data-prep-ui] .coach-athlete-metrics>div.prep-metric-week>small{white-space:normal}
/* 27.11.2026 (feste Bausteine): × an Hauptspalten der Gym-Vorgabe – wie prep-col-x, 44-px-Trefferfläche */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-gym-block .gym-set-table-header>:is(.gym-main-head,.gym-extra-head):not([hidden]){display:flex!important;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:2px;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-gym-block .gym-set-table-header .gym-main-head>select{min-width:max-content!important;flex:0 0 auto}
/* schmal (Handy): × unter die Auswahl, die Auswahl darf wie bisher schrumpfen */
@media (max-width:520px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-gym-block .gym-set-table-header>:is(.gym-main-head,.gym-extra-head):not([hidden]){flex-direction:column;gap:0;padding:2px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-gym-block .gym-set-table-header .gym-main-head>select{min-width:0!important;flex:0 1 auto}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-gym-block .gym-set-table-header :is([data-gym-hide-column],.gym-extra-head>button){height:20px!important;min-height:20px!important}
/* 27.11.2026 (Review): bei 20 px Höhe Trefferfläche mindestens 44 px */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-gym-block .gym-set-table-header :is([data-gym-hide-column],.gym-extra-head>button)::after{inset:-12px}}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-gym-block .gym-set-table-header .gym-extra-head>button{position:relative;display:inline-grid;place-items:center;flex:0 0 auto;width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--prep-text3)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-gym-block .gym-set-table-header .gym-extra-head>button::after{content:"";position:absolute;inset:-10px}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .online-gym-block [data-gym-hide-column]:not(#___){position:relative;display:inline-grid;place-items:center;flex:0 0 auto;width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--prep-text3)!important;font-size:15px;line-height:1;cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .online-gym-block [data-gym-hide-column]::after{content:"";position:absolute;inset:-10px}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .online-gym-block [data-gym-hide-column]:is(:hover,:focus-visible):not(#___){background:var(--prep-hover)!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .online-gym-block [data-gym-hide-column]:focus-visible:not(#___){outline:2px solid var(--prep-accent,Highlight);outline-offset:2px}
html:root:not(#_) .online-gym-block [data-gym-cell][hidden]{display:none!important}

/* 27.11.2026 (feste Bausteine): entfernte Spalten von Sprint/Track/Wattbike – × und Art wie bei Katalogübungen.
   Hohe Spezifität, weil die Track-Raster ihre Zellen mit !important anzeigen. */
.online-training-block .prep-native-off,
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .online-training-block .prep-native-off { display: none !important; }
.online-training-block .prep-native-x { margin-inline-start: 4px; }
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog :is(.online-track-set-head,.prep-ex-context) .prep-native-x:not(#___) { display: inline-grid; place-items: center; position: relative; flex: none; width: 16px !important; height: 16px !important; min-width: 16px !important; min-height: 16px !important; margin-inline-start: 4px; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--prep-text3) !important; font-size: 13px !important; line-height: 1; vertical-align: middle; cursor: pointer; }
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog :is(.online-track-set-head,.prep-ex-context) .prep-native-x:not(#___)::after { content: ""; position: absolute; inset: -14px; }
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog :is(.online-track-set-head,.prep-ex-context) .prep-native-x:is(:hover,:focus-visible):not(#___) { color: var(--prep-text) !important; }
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog .prep-native-x:focus-visible:not(#___) { outline: 2px solid var(--prep-accent, currentColor); outline-offset: 2px; }
/* Sprint-Länge: beim Wechsel m ↔ s bleibt das ausgeblendete Feld samt Einheit wirklich weg */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) #onlinePlanDialog .prep-sprint-card .prep-sprint-table td.prep-wb-len>label[hidden] { display: none !important; }
/* Track-Satztabelle: × neben dem Spaltennamen (nicht darunter) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________) #onlinePlanDialog .online-track-set-head>span:has(>.prep-native-x) { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; gap: 2px; }
/* Track ohne Satztabelle (Superset/Zirkel): × oben rechts am Feld, „+“ klein hinter den Feldern */
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog [data-track-effort-fields]>label:has(>.prep-native-x):not(#___) { position: relative; }
html[data-prep-ui]:root:not(#_):not(#__) #onlinePlanDialog [data-track-effort-fields]>label:has(>.prep-native-x)>span:not(#___) { padding-inline-end: 20px; }
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog [data-track-effort-fields]>label>.prep-native-x { position: absolute; top: 0; right: 0; display: inline-grid; place-items: center; width: 16px !important; height: 16px !important; min-width: 16px !important; min-height: 16px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--prep-text3) !important; font-size: 13px !important; line-height: 1; cursor: pointer; }
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog [data-track-effort-fields]>label>.prep-native-x::after { content: ""; position: absolute; inset: -14px; }
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog [data-track-effort-fields]>label>.prep-native-x:is(:hover,:focus-visible) { color: var(--prep-text) !important; }
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog [data-track-effort-fields]>.prep-native-flat-plus { align-self: end; width: 44px; min-height: 44px; }
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog [data-track-effort-fields]>.prep-native-flat-plus[hidden] { display: none !important; }
/* Track: Zellen entfernter Spalten auch in neu aufgebauten Satzzeilen ausblenden; Raster aus den sichtbaren Spalten (prepNativeTrackGrid) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .online-track-block.prep-native-off-repetitions .online-track-set-row>[data-track-set-field=repetitions],
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .online-track-block.prep-native-off-pauseSeconds .online-track-set-row>.prep-pause-clock,
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .online-track-block.prep-native-off-setPauseSeconds .online-track-set-row>.prep-track-sp { display: none !important; }
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .online-track-set-table.prep-native-grid :is(.online-track-set-head,.online-track-set-row) { grid-template-columns: var(--prep-native-track-cols) !important; }

/* 27.11.2026 (Lars, Paket A Coachcenter) */
/* A1: Sortierrichtung wie die anderen kleinen Symbolknöpfe: Pfeil 16 px, sichtbare Fläche so hoch wie das Sortier-Select (32 px), Trefferfläche 44 px (Rand-Zone wie bei .coach-week-add), kein Akzentrahmen. */
html[data-prep-ui]:root:not(#_):not(#__) #mainContent .prep-sort-dir{position:relative;width:32px;min-width:32px;height:32px;min-height:32px;border-color:var(--prep-control)}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent .prep-sort-dir[data-sort-dir="desc"]{border-color:var(--prep-control)}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent .prep-sort-dir::after{content:"";position:absolute;inset:-6px}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent .prep-sort-dir svg{width:16px;height:16px}
@media screen and (max-width:760px), screen and (max-height:500px){
  /* Handy: das Sortier-Select ist 40 px hoch – der Knopf folgt */
  html[data-prep-ui]:root:not(#_):not(#__) #mainContent .prep-sort-dir{width:40px;min-width:40px;height:40px;min-height:40px}
  html[data-prep-ui]:root:not(#_):not(#__) #mainContent .prep-sort-dir::after{inset:-2px}
}
/* A2: Wochenansicht im Coachcenter wie der Kalender – Tageskopf als Kopfzeile (Zahl, Wochentag), heute grün. */
html[data-prep-ui]:root:not(#_):not(#__) #mainContent .coach-week-grid>.coach-week-day{padding-top:0;cursor:default}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent .coach-week-grid>.coach-week-day.today{background:transparent;border:0;border-left:1px solid var(--mk-line)}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent .coach-week-grid>.coach-week-day.today:first-child{border-left:0}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent .coach-week-day-head{min-height:44px;margin:0 -8px;padding:0 8px;box-sizing:border-box;border-bottom:1px solid var(--prep-line);color:var(--prep-text2,var(--mk-ink-2));font-size:12px;font-weight:600;line-height:1.2}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent .coach-week-day-head time{order:-1;color:var(--prep-text);font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent .coach-week-day-head .coach-week-weekday{color:inherit;font-size:12px;font-weight:600;text-transform:none}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent .coach-week-day.today>.coach-week-day-head{background:var(--prep-today-bg);border-bottom-color:var(--prep-today-bg);color:var(--prep-today-fg)}
html[data-prep-ui]:root:not(#_):not(#__) #mainContent .coach-week-day.today>.coach-week-day-head :is(time,.coach-week-weekday,.coach-week-availability){color:var(--prep-today-fg)}
@media screen and (max-width:760px){
  /* Handy: freie Tage sind schmale Zeilen (Kopf entfällt als Kasten) – heute wird dort die ganze Zeile grün. */
  html[data-prep-ui]:root:not(#_):not(#__) #mainContent #dashboardContent .coach-week-day.today:not(.has-session):not(.has-event){background:var(--prep-today-bg);color:var(--prep-today-fg)}
  html[data-prep-ui]:root:not(#_):not(#__) #mainContent #dashboardContent .coach-week-day.today:not(.has-session):not(.has-event) :is(time,.coach-week-weekday,.coach-week-availability){color:var(--prep-today-fg)}
  html[data-prep-ui]:root:not(#_):not(#__) #mainContent .coach-week-grid>.coach-week-day{padding-top:0}
}
/* A4: Blockzeile ohne zusätzlichen Inhalt – einfache Zeile ohne Pfeil, Hand und Aufklappen */
#unitDetailDialog .planned-exercise.is-plain{display:flex;align-items:center;min-width:0;cursor:default}
#unitDetailDialog .planned-exercise.is-plain>.planned-exercise-overview{flex:1;min-width:0}
/* A4: Kommentarbereich – Platz sofort reservieren, Inhalt ersetzt ihn ohne Sprung, „nicht verfügbar“ klappt zu */
.prep-comments{box-sizing:border-box}
.prep-comments.is-loading{min-height:180px;align-content:start}
.prep-comments-loading{margin:0}
.prep-comments.is-collapsing{padding-block:0;margin-block:0;border-top-color:transparent;opacity:0;transition:padding .18s ease,margin .18s ease,opacity .18s ease}
@media (prefers-reduced-motion:reduce){.prep-comments,.prep-comments.is-collapsing{transition:none!important}}
/* A6: Abschnitt „Neue Mitteilungen“ ganz oben im Coachcenter */
.prep-new-messages{display:grid;gap:8px;padding:12px 16px;border:1px solid var(--prep-line);border-radius:12px;background:var(--prep-surface);color:var(--prep-text)}
.prep-new-messages>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.prep-new-messages h2{margin:0;}
.prep-new-messages h2 small{margin-left:6px;padding:2px 8px;border-radius:999px;background:var(--prep-raised);font-size:12px;font-weight:600;color:var(--prep-text2,inherit)}
.prep-new-messages>header .button{min-height:44px;flex:none}
.prep-new-messages ul{list-style:none;margin:0;padding:0;display:grid}
.prep-new-messages li+li{border-top:1px solid var(--prep-line)}
.prep-new-message{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:baseline;width:100%;min-height:44px;padding:8px 4px;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.prep-new-message:hover{background:var(--prep-raised)}
.prep-new-message:focus-visible{outline:2px solid var(--prep-accent);outline-offset:2px}
.prep-new-message-main{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.prep-new-message-main strong{font-weight:600;overflow-wrap:anywhere}
.prep-new-message-body{grid-column:1;min-width:0;color:var(--prep-text2,inherit);font-size:13px;overflow-wrap:anywhere}
.prep-new-message time{grid-column:2;grid-row:1;color:var(--prep-text2,inherit);font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.prep-new-messages-more{justify-self:start;min-height:44px}
@media screen and (max-width:760px){
  .prep-new-message{grid-template-columns:minmax(0,1fr)}
  .prep-new-message time{grid-column:1;grid-row:auto}
}

/* 27.11.2026 (Lars, B1): Monat neben „Kalender“ (Monat mit den meisten sichtbaren Tagen). Erst ab genug Platz sichtbar
   (Container-Abfrage wie beim Titel in prep-base-layout.css); am Handy und bei knappem Platz entfällt er. */
html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-heading-title > .calendar-heading-month{display:none}
@container (min-width:1100px){
  html[data-prep-ui]:root:not(#_):not(#__) #calendarView .calendar-heading-title > .calendar-heading-month:not([hidden]){display:block;flex:none;min-width:8.6em;color:var(--prep-text2);font-size:1.05rem;font-weight:500;line-height:1.3;white-space:nowrap}
}
@container (min-width:1100px){
  html[data-prep-ui]:root:not(#_):not(#__) body.prep-athlete #calendarView .calendar-heading-title > .calendar-heading-month:not([hidden]){margin-top:4px}
}
/* 27.11.2026 (Lars, B2): Hinweis beim Verschieben als Überblendung über dem Kalenderkopf – verschiebt nichts mehr.
   Nachtrag 27.11.2026: Das Element hängt beim Ziehen direkt an <body> (app.js), weil #mainContent mit
   container-type sonst der Bezugsrahmen von position:fixed wäre und der Hinweis mitscrollen würde. */
html[data-prep-ui]:root:not(#_):not(#__) .calendar-week-drag-hint{
  position:fixed;top:72px;left:50%;z-index:60;margin:0;width:max-content;max-width:min(92vw,520px);padding:8px 16px;
  transform:translateX(-50%);border:1px solid var(--prep-line);border-radius:999px;
  background:var(--prep-raised);color:var(--prep-text);box-shadow:0 6px 20px rgba(0,0,0,.28);
  text-align:center;pointer-events:none;opacity:0;visibility:hidden;
  transition:opacity .16s ease,visibility 0s linear .16s;
}
html[data-prep-ui]:root:not(#_):not(#__) .calendar-week-drag-hint.is-visible{opacity:1;visibility:visible;transition-delay:0s}
@media (prefers-reduced-motion:reduce){
  html[data-prep-ui]:root:not(#_):not(#__) .calendar-week-drag-hint{transition:none}
}

/* 27.11.2026 (Lars, Paket B3 / B9): Zweiter Kalender.
   „Ansicht nach oben verschoben“: Der Kalenderbereich spannte im Vergleich über die Kopfzeilen und scrollte als Ganzes –
   beim Scrollen rutschten beide Kalender über den Seitenkopf. Jetzt scrollt jeder Kalender in seiner eigenen Spalte,
   die Köpfe bleiben stehen; beide Raster beginnen auf derselben Höhe (zweiter Kalender hat ebenfalls ▲/▼ KW). */
@media screen and (min-width:1100px){
  html[data-prep-ui]:root:not(#_):not(#__) #calendarView.calendar-compare-open > #trainingTimeline.calendar-compare{overflow:hidden!important;scroll-padding-top:0}
  html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.calendar-compare > .calendar-pane{min-height:0;overflow:auto;overscroll-behavior:contain}
  html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline.calendar-compare > .calendar-compare-bar{align-self:stretch}
}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-head{flex-wrap:wrap;row-gap:8px}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-head #compareCalendarSelect{min-height:44px}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-lock{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-left:auto;padding:0 14px;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-lock svg{width:18px;height:18px;flex:none}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-lock[aria-pressed="true"]{border-color:var(--prep-primary-line,var(--prep-accent));color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-lock[aria-pressed="false"]{border-style:dashed;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-head .calendar-compare-close{margin-left:0;width:44px;min-width:44px;height:44px;min-height:44px}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-bar{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-period-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-nav{display:inline-flex;align-items:center;gap:4px;margin:0}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-nav > [data-compare-nav="today"]{order:-1;margin-right:4px}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-nav > button{min-height:44px}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-nav > .calendar-arrow{width:44px;min-width:44px;padding:0;font-size:20px}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-period{order:1;margin:0;font-size:1rem;font-weight:600;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-nav > [data-compare-nav="next"]{order:2}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-bar > .calendar-summary{margin:0;color:var(--prep-text2);font-size:13px}
html[data-prep-ui]:root:not(#_):not(#__) #trainingTimeline .calendar-compare-bar > .calendar-compare-hint{font-size:12.5px;color:var(--prep-text3,var(--prep-text2))}

/* 27.11.2026 (Lars, Paket B3 / B8): Block laden – Tag je Einheit, Hinweise bei Vergangenheit/Rennen, „Alle veröffentlichen“. */
html[data-prep-ui]:root:not(#_):not(#__) .block-load-dates li{grid-template-columns:minmax(150px,auto) minmax(0,1fr) auto;align-items:center}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-day{display:inline-flex;align-items:center;gap:8px;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-weekday{width:2.4em;flex:none;color:var(--prep-text2);font-size:12.5px;font-weight:600}
html[data-prep-ui]:root:not(#_):not(#__) dialog.block-load-dialog .block-load-day input[type="date"]{width:auto!important;min-width:0;height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;padding:0 8px;font-variant-numeric:tabular-nums}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-unit{min-width:0;overflow-wrap:anywhere}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-unit small{margin-left:6px;font-size:11.5px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-dates li[data-existing] .block-load-unit small:first-of-type{color:var(--prep-warn)}
html[data-prep-ui]:root:not(#_):not(#__) dialog.block-load-dialog .block-load-dates li[data-moved] .block-load-day input{border-color:var(--prep-accent)!important}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-dates li[data-invalid] .block-load-unit small{color:var(--prep-bad);font-weight:600}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-unit .block-load-moved{display:flex;align-items:center;gap:4px;margin:2px 0 0;color:var(--prep-text2);font-weight:400}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-reset{display:inline-grid;place-items:center;width:44px;height:44px;margin:-12px 0 -12px -8px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--prep-text2);font:inherit;font-size:16px;cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-reset:hover{background:var(--prep-raised);color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-reset:focus-visible{outline:2px solid var(--prep-accent);outline-offset:-2px}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-issues{display:flex;gap:10px;align-items:flex-start;margin:0;padding:10px 12px;border:1px solid color-mix(in srgb,var(--prep-bad) 55%,transparent);border-left-width:4px;border-radius:10px;background:color-mix(in srgb,var(--prep-bad) 10%,var(--prep-surface,transparent));color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-issues svg{width:20px;height:20px;flex:none;margin-top:1px;color:var(--prep-bad)}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-issues p{margin:0;font-size:13px;line-height:1.45}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-issues p+p{margin-top:4px}
html[data-prep-ui]:root:not(#_):not(#__) .block-load-issues .block-load-issues-lock{color:var(--prep-text2);font-size:12.5px}
@media screen and (max-width:760px){
  html[data-prep-ui]:root:not(#_):not(#__) .block-load-dates li{grid-template-columns:minmax(0,1fr) auto}
  html[data-prep-ui]:root:not(#_):not(#__) .block-load-dates li > .block-load-unit{grid-column:1 / -1;grid-row:2}
}
html[data-prep-ui]:root:not(#_):not(#__) .calendar-undo-toast{flex-wrap:wrap;row-gap:8px}
html[data-prep-ui]:root:not(#_):not(#__) .calendar-undo-toast button{min-height:44px}
html[data-prep-ui]:root:not(#_):not(#__) .calendar-undo-toast .calendar-undo-action{background:var(--prep-primary-bg,var(--prep-accent));border-color:transparent;color:var(--prep-on-green,#0b0d0c)}
html[data-prep-ui]:root:not(#_):not(#__) .calendar-undo-toast .calendar-undo-action:hover{background:var(--prep-primary-hover,var(--prep-accent))}

/* 27.11.2026 (Lars, C1): Titel ist freiwillig – am Handy kein Pflicht-Sternchen mehr am Titel. */
@media screen and (max-width:760px), screen and (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm[data-builder-mobile-step=details] .builder-meta .prep-title-field>span::after{content:none}
}
/* 27.11.2026 (Lars, C2): Startzeit als Textfeld – Hinweis bei unklarer Eingabe direkt unter dem Feld. */
html[data-prep-ui]:root:not(#_):not(#__) .prep-time-hint{display:block;margin:4px 0 0;font-size:12.5px;line-height:1.35;color:var(--prep-bad)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-time-hint[hidden]{display:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) input[data-prep-time-field][aria-invalid=true]{border-color:var(--prep-bad)!important}
html[data-prep-ui]:root:not(#_):not(#__) input[data-prep-time-field]{font-variant-numeric:tabular-nums}
/* Außerhalb der Builder-Kopfzeile (e1RM-Test einplanen) so schmal wie früher das Uhrzeitfeld; der Hinweis steht darunter in eigener Zeile. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) dialog:not(#onlinePlanDialog) input[data-prep-time-field]{width:7em!important;flex:0 0 auto!important}
html[data-prep-ui]:root:not(#_):not(#__) dialog:not(#onlinePlanDialog) .prep-time-hint{flex:1 1 100%}

/* 27.11.2026 (Lars, C3): Ohne Trainingsart-Auswahl steht der Blockname allein – so breit wie ein normales Feld, nicht über die ganze Zeile. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-part-fields{grid-template-columns:minmax(0,min(100%,420px))}

/* 27.11.2026 (Lars, C4/C5, Nachtrag Review): Übungsauswahl – Zeile „Filter (n)“ · aktive Filter · „+ Neue Übung“ über der Liste;
   „Filter“ klappt die Chip-Gruppen Bewegungsmuster / Gruppe / Geräte auf (eigener Bereich mit Höhenbegrenzung, die Liste rückt
   nur wenig nach unten). Filter-Chips umrandet (Bereichs-Chips darüber sind gefüllt), gewählt = invertiert. */
html[data-prep-ui]:root:not(#_):not(#__) .prep-combo-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0 2px 6px;border-bottom:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-combo-tools[hidden]{display:none}
html[data-prep-ui]:root:not(#_):not(#__) .prep-combo-active{display:contents}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-tools .button.prep-combo-new{flex:0 0 auto;margin-left:auto!important;white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-tools .button.prep-combo-new[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) :is(.prep-combo-filter-toggle,.prep-combo-chip,.prep-combo-reset){display:inline-flex;align-items:center;gap:6px;min-height:32px!important;margin:0;font:inherit;font-size:12.5px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) :is(.prep-combo-filter-toggle,.prep-combo-chip,.prep-combo-reset)[hidden]{display:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-filter-toggle::after{content:"";width:6px;height:6px;margin:-3px 0 0 2px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-filter-toggle[aria-expanded=true]::after{margin-top:3px;transform:rotate(-135deg)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-filter-toggle.is-active{border-color:var(--prep-text);color:var(--prep-text);font-weight:600}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-filter-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--prep-text);color:var(--prep-surface);font-size:11px;font-weight:700}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) :is(.prep-combo-filter-toggle,.prep-combo-chip,.prep-combo-reset):not([aria-pressed=true]):hover{border-color:color-mix(in srgb,var(--prep-text) 45%,transparent);color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) :is(.prep-combo-filter-toggle,.prep-combo-chip,.prep-combo-reset):focus-visible{outline:2px solid var(--prep-accent);outline-offset:1px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-chip>small{font-size:11px;color:var(--prep-text3);font-variant-numeric:tabular-nums}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-chip[aria-pressed=true]{border-color:var(--prep-text);background:var(--prep-text);color:var(--prep-surface);font-weight:600}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-chip[aria-pressed=true]>small{color:inherit;opacity:.7}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-chip.is-removable{border-color:var(--prep-text);background:var(--prep-raised);color:var(--prep-text);font-weight:600}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-chip.is-removable::after{content:"×";font-size:15px;line-height:1;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-reset{border-style:dashed;color:var(--prep-text3)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-combo-facets{display:grid;gap:8px;max-height:min(220px,34vh);overflow:auto;overscroll-behavior:contain;padding:2px 2px 8px;border-bottom:1px solid var(--prep-line)}
html[data-prep-ui]:root:not(#_):not(#__) .prep-combo-facets[hidden]{display:none}
html[data-prep-ui]:root:not(#_):not(#__) .prep-combo-facet-group{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
html[data-prep-ui]:root:not(#_):not(#__) .prep-combo-facet-label{flex:0 0 100%;font-size:11.5px;font-weight:600;color:var(--prep-text3);text-transform:uppercase;letter-spacing:.04em}
html[data-prep-ui]:root:not(#_):not(#__) .prep-combo-facets>.prep-combo-reset{justify-self:start}
/* Touch und Handy: Chip-Höhe kommt aus dem Block „R6b Chips und Tags“ (Stufe 6) */
@media (pointer:coarse), screen and (max-width:760px){
  html[data-prep-ui]:root:not(#_):not(#__) .prep-combo-facets{max-height:min(260px,38vh)}
}

/* 27.11.2026 (Lars, C11): Bestätigung mit drei Aktionen (z. B. „Entwurf behalten?“). Eine Zeile, gleiche Höhe:
   links die Gefahr-Aktion als echter Knopf, rechts „Weiter bearbeiten“ und die primäre Aktion. Am Handy untereinander, primär oben
   (DOM-Reihenfolge Gefahr · Sekundär · Primär, gestapelt mit column-reverse). */
html[data-prep-ui]:root:not(#_):not(#__) dialog.prep-confirm-dialog:has(.prep-dialog-actions-3){width:min(560px,calc(100vw - 24px))}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) dialog .dialog-actions.prep-dialog-actions-3{flex-direction:row!important;flex-wrap:nowrap!important;justify-content:flex-end!important;align-items:stretch!important;gap:8px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) dialog .dialog-actions.prep-dialog-actions-3>.button{order:0!important;flex:0 0 auto!important;margin:0!important;justify-content:center!important;white-space:nowrap!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) dialog .dialog-actions.prep-dialog-actions-3>.button.danger{margin-right:auto!important;}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) dialog .dialog-actions.prep-dialog-actions-3>.button.danger:hover{background:color-mix(in srgb,var(--prep-bad) 20%,transparent)!important;border-color:var(--prep-bad)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) dialog .dialog-actions.prep-dialog-actions-3>.button.danger:focus-visible{outline:2px solid var(--prep-bad)!important;outline-offset:2px}
@media screen and (max-width:620px){
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) dialog .dialog-actions.prep-dialog-actions-3{flex-direction:column-reverse!important;align-items:stretch!important}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) dialog .dialog-actions.prep-dialog-actions-3>.button{width:100%!important;margin:0!important}
}

/* 27.11.2026 (Paket C2, E1): Suchfeld der Bibliothek wächst mit – „Name, Ausrüstung, Beschreibung“ bleibt ganz lesbar, „+ Übung“ bleibt rechts.
   Nur ab Tablet-Breite; am Handy gilt weiter das Raster (Suche über drei Spalten, Knopf daneben). */
@media screen and (min-width:761px) and (min-height:501px){
  html[data-prep-ui]:root:not(#_):not(#__) #mainContent .prep-library-view .prep-filter-bar > label.prep-filter-search:not(#___){flex:1 1 280px;min-width:min(100%,300px);max-width:520px}
}
/* Handy: Suche über die ganze Zeile, „+“ sitzt rechts in derselben Zeile (Feld endet davor) – so passt der Platzhalter ganz hinein;
   Übungskategorie und Herkunft darunter gleich breit. */
@media screen and (max-width:600px){
  html[data-prep-ui]:root:not(#_):not(#__) #mainContent .prep-library-view .prep-filter-bar:has(> .page-primary:not([hidden])):not(#___){grid-template-columns:repeat(2,minmax(0,1fr))}
  html[data-prep-ui]:root:not(#_):not(#__) #mainContent .prep-library-view .prep-filter-bar:has(> .page-primary:not([hidden])) > .prep-filter-search:not(#___){grid-row:1;grid-column:1/-1;padding-inline-end:calc(var(--prep-control-h) + 10px)}
  html[data-prep-ui]:root:not(#_):not(#__) #mainContent .prep-library-view .prep-filter-bar:has(> .page-primary:not([hidden])) > .page-primary:not(#___){grid-row:1;grid-column:2/-1;justify-self:end;align-self:end}
  html[data-prep-ui]:root:not(#_):not(#__) #mainContent .prep-library-view .prep-filter-bar:has(> .page-primary:not([hidden])) > label:not(.prep-filter-search):not(.exercise-archive-toggle):not(#___){grid-column:auto}
  html[data-prep-ui]:root #mainContent .prep-library-view .prep-filter-search input::placeholder{font-size:14px}
}

/* ===== 27.11.2026 (Paket C2, C6/C7): Satztabellen nur so breit wie nötig, lesbare Spaltenköpfe =====
   C6: Tabelle so breit wie ihr Inhalt (max-content), Felder mit fester Breite je Spaltenart – Zahl ~7 Zeichen, Pause ~6, Hinweis ~24.
   C7: Kopf zeigt die volle Art („Wdh. je Seite“, „Satzpause (mm:ss)“), bricht bei Bedarf in zwei Zeilen um; die Art-Auswahl liegt
   unsichtbar über der Beschriftung (Pfeil daneben), × bleibt mit 44-px-Trefferfläche. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table{width:max-content!important;min-width:0!important;max-width:none!important;table-layout:auto!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table thead th:where(:not(.prep-set-count,.prep-set-after,.prep-set-plus)){width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;padding:4px 6px!important;vertical-align:middle;white-space:nowrap!important;overflow:visible!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table tr>:is(.prep-set-count){width:auto!important;min-width:64px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table tr>.prep-set-after{width:auto!important;min-width:72px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table tr>.prep-set-plus{width:36px!important;min-width:36px}
/* Feldbreiten je Spaltenart */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table td[data-kind=num]{width:auto!important;min-width:calc(7ch + 16px)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table td[data-kind=num]:has(.prep-pause-clock){min-width:calc(6ch + 16px)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table td[data-kind=free]{width:auto!important;min-width:calc(24ch + 16px)!important;max-width:calc(24ch + 16px)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table thead th[data-kind=free]{min-width:0!important;text-align:left}
/* Zahlenfelder haben im Browser eine Eigenbreite von ~180 px – deshalb feste Feldbreite je Art, mindestens so breit wie die Zelle */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table td[data-kind=num] :is(input:not([type=hidden]),select):not(.prep-set-count-input){width:calc(7ch + 16px)!important;min-width:100%!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table td[data-kind=num] input.prep-pause-clock{width:calc(6ch + 16px)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table td[data-kind=free] :is(input:not([type=hidden]),select){width:calc(24ch + 16px)!important;min-width:100%!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table td.prep-set-after .prep-set-rest{width:auto!important;min-width:100%!important}
/* Kopf: volle Art, zweizeilig bei Bedarf */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-table th.prep-col-head{text-align:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-table th .prep-col-kind{position:relative;display:inline-flex;align-items:center;gap:4px;max-width:100%;min-height:26px;padding:2px 5px;border-radius:6px;vertical-align:middle;color:var(--prep-text2);font-size:12px;font-weight:600;line-height:1.2;text-align:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-table th .prep-col-kind-text{display:block;max-width:6.6em;white-space:normal;overflow-wrap:normal;hyphens:manual}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-table th .prep-col-kind.has-select{cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-table th .prep-col-kind.has-select:hover{background:var(--prep-hover);color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-table th .prep-col-kind:has(select:focus-visible){outline:2px solid var(--prep-accent,currentColor);outline-offset:1px;color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-table th .prep-col-kind-chev{flex:none;width:6px;height:6px;margin:-3px 1px 0 1px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);opacity:.75}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-table th .prep-col-kind>select.prep-col-kind-select{position:absolute!important;inset:-9px -4px!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;cursor:pointer;font-size:16px!important;-webkit-appearance:none;appearance:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-table th .prep-col-kind>select.prep-unit-fixed{display:inline!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;font-size:12px!important;font-weight:500!important;line-height:1.2!important;color:var(--prep-text3)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-table th.prep-col-head>.prep-col-x{margin-left:2px!important}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table td[data-kind=num]{min-width:calc(5ch + 12px)!important}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table td[data-kind=free]{min-width:calc(16ch + 12px)!important}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-table th .prep-col-kind-text{max-width:5.6em}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table thead th:where(:not(.prep-set-count,.prep-set-after,.prep-set-plus)){padding:4px 2px!important}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-table th .prep-col-kind{gap:3px;padding:2px 3px}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-table th.prep-col-head>.prep-col-x{margin-left:0!important}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table td[data-kind=num] :is(input:not([type=hidden]),select):not(.prep-set-count-input){width:calc(5ch + 12px)!important}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table td[data-kind=num] input.prep-pause-clock{width:calc(5ch + 12px)!important}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________) #onlinePlanDialog .prep-set-scroll .prep-set-table td[data-kind=free] :is(input:not([type=hidden]),select){width:calc(16ch + 12px)!important}
}

/* 27.11.2026 (Paket C2, C9): Speichern-Symbol „Als mein Standard für diese Übung speichern“ im Kartenkopf (rechts neben Dauer/Uhrzeit),
   44-px-Trefferfläche, Bestätigung „Gespeichert“ als Text davor (nicht nur über Farbe). */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-ex-head>.prep-save-standard{position:relative;display:inline-grid;place-items:center;flex:none;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:var(--prep-text2)!important;box-shadow:none!important;cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-ex-head>.prep-save-standard::after{content:"";position:absolute;inset:-6px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-ex-head>.prep-save-standard:hover{background:var(--prep-hover)!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-ex-head>.prep-save-standard:focus-visible{outline:2px solid var(--prep-accent,currentColor)!important;outline-offset:1px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-ex-head>.prep-save-standard[aria-disabled=true]{opacity:.55;cursor:progress}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-ex-head>.prep-save-standard-status{flex:none;font-size:12.5px;font-weight:600;color:var(--prep-positive-label,var(--prep-ok));white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-ex-head>.prep-save-standard-status:empty{display:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-ex-head>.prep-save-standard-status.is-on::before{content:"✓ "}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-ex-head>.prep-ex-meta+.prep-save-standard-status{margin-left:4px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-ex-head:not(:has(>.prep-ex-meta))>.prep-save-standard-status{margin-left:auto}
/* 27.11.2026 (Paket C2, E5): Standardwerte in „Meine Standardspalten“ – kompakte Felder in der Beispielzeile */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample td.prep-builder-value{padding:0!important;text-align:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample td.prep-builder-value input{width:calc(7ch + 18px)!important;min-width:0!important;height:32px!important;min-height:32px!important;padding:0 6px!important;text-align:center;font-variant-numeric:tabular-nums}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample td.prep-builder-value input[aria-invalid=true]{border-color:var(--prep-bad)!important}

/* 27.11.2026 (Paket C2, E2/E4): Zusatzspalten fester Bausteine – Kopf mit Namen und kleinem × (44-px-Trefferfläche), Felder wie die übrigen Zellen */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .gym-set-table-header>.prep-xcol{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;padding:2px!important;text-align:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog :is(.gym-set-table-header,.online-track-set-head,.prep-set-table th)>.prep-xcol-name,html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-xcol>.prep-xcol-name{max-width:8em;overflow-wrap:anywhere;font-size:12px;font-weight:600;line-height:1.2;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-xcol>.prep-xcol-x{position:relative;display:inline-grid!important;place-items:center;flex:none;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;margin:0 0 0 2px!important;padding:0!important;border:0!important;border-radius:4px!important;background:transparent!important;color:var(--prep-text3)!important;font-size:13px!important;box-shadow:none!important;opacity:1!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-xcol>.prep-xcol-x::after{content:"";position:absolute;inset:-13px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-xcol>.prep-xcol-x:hover{color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-xcol>.prep-xcol-x:focus-visible{outline:2px solid var(--prep-accent,currentColor)!important;outline-offset:1px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .gym-set-row>.prep-xcol>input{width:100%!important;min-width:0!important;text-align:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #onlinePlanDialog .prep-set-table td.prep-xcol input{width:calc(7ch + 16px)!important;min-width:100%!important;text-align:center}

/* 27.11.2026 (Paket D, D1 – Entwurf von Lars freigegeben): Ausdauer neu. Kopf mit Art-Chip, Titel und Sportart/FTP rechts;
   eine Leiste mit Sportart · Frei/Intervalle · Umfang · FTP; zweispaltig links „Training als Text“ (ⓘ statt Hinweistext) bzw.
   Belastung (Frei), rechts Profil mit FTP-Linie, drei Kennzahlen und Belastungsziel; darunter Abschnitte und kompakte Zusatzangaben.
   Handy: untereinander, Text zuerst. Nur Anordnung/Optik – Felder und Daten bleiben. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2{flex:0 1 100%!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;padding:16px 18px!important;border:1px solid var(--prep-line)!important;border-radius:12px!important;background:var(--prep-surface)!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2>*{grid-column:1/-1!important;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2>[hidden]{display:none!important}
/* Kopf */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2>.endurance-heading{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:0!important;border:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-heading{display:flex!important;align-items:center;gap:10px;flex:1 1 auto;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-heading>:is(h3,p){position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0);white-space:nowrap!important;border:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-heading .endurance-training-type{flex:none;margin:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:600;color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-headinfo{flex:none;margin-left:auto;font-size:13px;color:var(--prep-text2);white-space:nowrap}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-headinfo:empty{display:none}
/* Leiste: Sportart · Frei/Intervalle · Umfang · FTP */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2>.endurance-basics{display:flex!important;flex-wrap:wrap;align-items:flex-end;gap:12px 14px;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2>.endurance-basics>h4,
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-seg>legend,
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 #onlineEnduranceFtpSource{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .endurance-meta-grid{display:contents!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .endurance-meta-grid>label{display:grid!important;gap:4px;order:3;width:auto!important;margin:0!important;}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .endurance-meta-grid>label[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .endurance-meta-grid>label:has([name=enduranceSport]){order:1;flex:0 1 160px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .endurance-meta-grid>label:has([name=enduranceVolumeMode]){flex:0 1 124px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .endurance-meta-grid>label:has([name=endurancePlannedDuration]){flex:0 1 96px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .endurance-meta-grid>label:has([name=endurancePlannedDistance]){flex:0 1 168px;grid-template-columns:minmax(0,1fr) auto;column-gap:6px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .endurance-meta-grid>label:has([name=endurancePlannedDistance])>span{grid-column:1/-1}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .endurance-meta-grid>label.endurance-ftp-field{order:4;flex:0 1 120px;margin-left:auto!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .endurance-meta-grid>label>span{font-size:12px;font-weight:500;color:var(--prep-text2);white-space:nowrap}
/* Umschalter Frei / Intervalle (Radios bleiben, nur als Segment gezeigt) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 fieldset.prep-endu-seg{order:2;display:inline-flex!important;flex:none;margin:0!important;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 fieldset.prep-endu-seg>label{position:relative;display:flex!important;align-items:center;justify-content:center;margin:0!important;cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 fieldset.prep-endu-seg>label::after{content:"";position:absolute;inset:-3px 0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 fieldset.prep-endu-seg>label>input{position:absolute!important;inset:0;width:100%!important;height:100%!important;margin:0!important;opacity:0;cursor:pointer;z-index:1}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 fieldset.prep-endu-seg>label>span:not(.prep-endu-seg-label){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 fieldset.prep-endu-seg .prep-endu-seg-label{position:relative;z-index:0;color:inherit!important;font:inherit!important;white-space:nowrap}
/* zwei Spalten */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-col{display:grid;gap:0;min-width:0;align-content:start}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 :is(.prep-endu-col>[hidden],.prep-endu-box[hidden]){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-cap-row{display:flex;align-items:center;gap:2px;min-height:28px;margin:0 0 6px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-cap{display:block;margin:0!important;font-size:13px!important;font-weight:600!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-profile-wrap>.prep-endu-cap{margin:0 0 6px!important;line-height:28px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-box{display:block!important;margin:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-left{display:block}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 textarea.prep-endu-text{display:block;width:100%!important;min-height:212px!important;padding:10px 12px!important;border:1px solid var(--prep-line)!important;border-radius:8px!important;background:var(--prep-bg2)!important;color:var(--prep-text);font:13px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace!important;resize:vertical!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-error{margin:6px 0 0!important;font-size:13px;color:var(--prep-bad)}
/* ⓘ-Hilfe (44-px-Trefferfläche, sichtbares Symbol 18 px) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-info{position:relative;display:inline-flex;align-items:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-info-button{display:inline-grid!important;place-items:center;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:-8px -10px -8px -6px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;color:var(--prep-text2);cursor:help}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-info-glyph{display:grid;place-items:center;width:18px;height:18px;border:1.5px solid currentColor;border-radius:50%;font:italic 700 11px/1 Georgia,serif}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-info-button:is(:hover,[aria-expanded=true]){color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-info-button:focus-visible{outline:2px solid var(--prep-accent,currentColor)!important;outline-offset:-8px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-info-tip{position:absolute;z-index:30;top:calc(100% + 2px);left:-6px;width:min(360px,calc(100vw - 48px));padding:10px 12px;border:1px solid var(--prep-line);border-radius:8px;background:var(--prep-raised,var(--prep-surface));box-shadow:0 8px 24px rgb(0 0 0 / .22);color:var(--prep-text);font-size:12.5px;line-height:1.5;text-align:left}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-info-tip[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-info-tip>p{margin:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-info-tip>p+p{margin-top:4px}
/* Frei: Belastung links (bestehende Felder) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 #onlineEnduranceFreePanel{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 #onlineEnduranceFreePanel>h4{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 #onlineEnduranceFreePanel .endurance-target-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 12px!important;max-width:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 #onlineEnduranceFreePanel .endurance-free-options .endurance-optional-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 #onlineEnduranceFreePanel label>span{font-size:12px;font-weight:500;color:var(--prep-text2)}
/* rechts: Profil, Kennzahlen, Belastungsziel */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-profile-wrap .prep-endu-profile{position:relative;display:block!important;visibility:visible!important;height:136px!important;min-height:0!important;margin:0!important;padding:8px 8px 4px!important;border:1px solid var(--prep-line);border-radius:8px;background:var(--prep-bg2);box-sizing:border-box}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-profile-wrap .prep-endu-profile svg{display:block;width:100%;height:122px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-profile .prep-endu-ftp-tag{position:absolute;right:12px;margin-top:8px;transform:translateY(-100%);padding-bottom:2px;font-size:11px;color:var(--prep-text3);pointer-events:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-profile.is-empty{display:grid!important;place-items:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-empty{margin:0;max-width:30ch;font-size:12.5px;line-height:1.45;color:var(--prep-text3);text-align:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2:not(.prep-endu-intervals) .prep-endu-figures{margin-top:34px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-figure{display:grid;gap:2px;min-width:0;padding:8px 10px;border-radius:8px;background:var(--prep-bg2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-figure-cap{font-size:12px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-figure>strong{font-size:18px;font-weight:600;line-height:1.3;color:var(--prep-text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-goal-row{display:flex;flex-wrap:wrap;align-items:center;gap:0 6px;margin:6px 0 0;font-size:13px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-goal-text{color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-goal-change{min-height:44px!important;padding:0 6px!important;font-size:13px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-goal-panel{margin-top:4px;padding:10px 12px;border:1px solid var(--prep-line);border-radius:8px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-goal-panel[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-goal-panel .prep-hr-panel{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-warn{margin:8px 0 0!important;font-size:13px;color:var(--prep-warn,var(--prep-bad))}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-warn[hidden]{display:none!important}
/* Abschnitte (Intervalle) und Zusatzangaben */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2>#onlineEnduranceFtpPanel{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .endurance-block-toolbar>div:first-child{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .endurance-block-toolbar:not(:has(button)){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2>.endurance-review{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2>.prep-endu-more{display:grid;gap:0;margin:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2>.prep-endu-more:empty{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 :is(.prep-endu-more,.managed-endurance-controls) details{margin:0!important;padding:0!important;border-top:1px solid var(--prep-line)!important;border-bottom:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2>.managed-endurance-controls{margin-top:-16px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2>.managed-endurance-controls:only-of-type{margin-top:0!important}
@media (max-width:760px), (max-height:500px){
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2{padding:12px!important;gap:14px!important}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-main{grid-template-columns:minmax(0,1fr);gap:14px}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2:not(.prep-endu-intervals) .prep-endu-figures{margin-top:0}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .endurance-meta-grid>label.endurance-ftp-field{margin-left:0!important}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 textarea.prep-endu-text{min-height:168px!important;font-size:16px!important}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-figure{padding:8px}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-figure>strong{font-size:16px}
}
@media (max-width:420px){
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .endurance-meta-grid>label:has([name=enduranceSport]){flex:1 1 100%}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 fieldset.prep-endu-seg{flex:1 1 100%}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 fieldset.prep-endu-seg>label{flex:1 1 0}
}
/* Profilbalken je FTP-Zone (bisher ohne Farbe = schwarz); gut lesbar hell und dunkel */
/* D2: Strecken-Abschnitte (z. B. „400m“) – Zahl und Einheit „km“ in einer Zeile statt umbrochen */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid label:has([data-endurance-field$="istanceKilometers"]):not([hidden]){display:flex!important;align-items:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid label:has([data-endurance-field$="istanceKilometers"])>input:not(#_____){flex:1 1 auto;min-width:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-endu-grid label:has([data-endurance-field$="istanceKilometers"])>select:not(#_____){flex:0 0 auto;}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-figure{align-content:start}
@media (max-width:520px){
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2>.endurance-heading{flex-wrap:wrap;row-gap:2px}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-headinfo{flex:1 1 100%;margin-left:0;white-space:normal}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlineEnduranceBuilder.prep-endu-v2 .prep-endu-figure>strong{font-size:15px}
}

/* 27.11.2026 (Paket D, D3): Wattbike „Als Text“ im Kartenfuß – gleiches Muster wie Ausdauer (Beschriftung mit ⓘ, Textfeld, Fehler je Zeile) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-text-row{display:grid;gap:0;max-width:620px;margin:2px 0 6px;padding:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-text-row[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-text-row .prep-endu-cap-row{display:flex;align-items:center;gap:2px;min-height:28px;margin:0 0 4px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-text-row .prep-endu-cap{margin:0!important;font-size:13px!important;font-weight:600!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-text-row textarea.prep-wb-text{display:block;width:100%!important;min-height:0!important;height:auto!important;padding:8px 12px!important;border:1px solid var(--prep-line)!important;border-radius:8px!important;background:var(--prep-bg2)!important;color:var(--prep-text);font:13px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace!important;resize:vertical!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-text-row textarea.prep-wb-text[aria-invalid=true]{border-color:var(--prep-bad)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-text-errors{margin:6px 0 0;padding:0 0 0 18px;font-size:13px;line-height:1.45;color:var(--prep-bad)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-text-errors[hidden],html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-text-note[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-text-note{margin:6px 0 0;font-size:12.5px;color:var(--prep-text3)}
@media (max-width:760px), (max-height:500px){
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-text-row textarea.prep-wb-text{font-size:16px!important}
}
/* D3: Im Modus „Intervall“ ist das Testziel ausgeblendet (hidden) – auch in der Wattbike-Tabelle nicht zeigen (bisher blieb „5 s“ stehen) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-table td.prep-wb-target>label[hidden]{display:none!important}

/* 27.11.2026 (Paket J3): Abschnitt „E-Mails“ im Einstellungen-Dialog (eigener Behälter #settings-mail) – Trennlinie wie zwischen den übrigen Abschnitten */
html[data-prep-ui] .prep-account-settings .prep-settings-mail{scroll-margin-top:12px;outline:none}
html[data-prep-ui] .prep-account-settings .prep-settings-mail>.prep-settings-section{margin-top:16px;padding-top:16px;border-top:1px solid var(--prep-line)}
html[data-prep-ui] .prep-account-settings .prep-settings-mail+.prep-settings-section{margin-top:16px;padding-top:16px;border-top:1px solid var(--prep-line)}

/* 27.11.2026 (Paket D3-Nachtrag): Wattbike-Ziel frei eingeben (Zahl + Einheit s/m, Vorschläge als Liste) und Hinweis „Ergo-App“ */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .online-wattbike-block label:has(>[data-field="targetValue"]):not([hidden]){display:flex!important;align-items:center;justify-content:center;gap:4px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .online-wattbike-block [data-field="targetValue"]:not(#_____){flex:0 1 auto;min-width:0!important;width:calc(6ch + 16px)!important;text-align:center}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .online-wattbike-block .prep-wb-target-unit{flex:none;padding-right:8px;font-size:13px;color:var(--prep-text2)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-ergo-note{margin:6px 0 0;font-size:12.5px;line-height:1.45;color:var(--prep-warn,var(--prep-text2))}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog .online-wattbike-block label>span.prep-wb-target-unit{display:inline!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important}
/* Review 27.11.2026: Kennzahlen unter dem Wattbike-Text; Handy-Textfelder 16 px (kein Zoom unter iOS) */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-text-figures{margin:6px 0 0;font-size:12.5px;color:var(--prep-text2);font-variant-numeric:tabular-nums}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-wb-text-figures[hidden]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) :is(.prep-builder-columns-dialog,.prep-exercise-columns) .prep-builder-sample .prep-builder-value-hit{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 4px;cursor:text}

/* Review C2 (C6): auch Gym-Raster und Track-Satztabelle nur so breit wie nötig (Spuren mit Höchstbreite, siehe app.js prepGymCard/prepTrackColumns);
   Sprint- und Wattbike-Tabelle folgen den Regeln der Katalogtabellen. Handy: kleinerer Zuwachs, sonst waagerecht scrollen wie die Katalogtabellen. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .prep-gym-card :is(.gym-set-table-header,.gym-set-row,.gym-set-list){width:max-content!important;max-width:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-gym-card .gym-sets-section{overflow-x:auto}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .prep-track-card :is(.online-track-set-head,.online-track-set-row){width:max-content!important;grid-template-columns:minmax(96px,120px) repeat(4,minmax(64px,104px)) var(--prep-track-extra-cols,) 36px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .prep-track-card.prep-no-rest-after :is(.online-track-set-head,.online-track-set-row){grid-template-columns:minmax(96px,120px) repeat(3,minmax(64px,104px)) var(--prep-track-extra-cols,) 36px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________):not(#____________) #onlinePlanDialog .online-track-set-table.prep-native-grid :is(.online-track-set-head,.online-track-set-row){grid-template-columns:var(--prep-native-track-cols)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .prep-track-card .online-track-set-table{width:max-content!important;max-width:100%!important;overflow-x:auto}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .prep-set-table td.prep-wb-target :is(input,select){width:auto!important;min-width:96px!important}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] #onlinePlanDialog .prep-gym-card{--prep-gym-grow:12px}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .prep-track-card :is(.online-track-set-head,.online-track-set-row){grid-template-columns:minmax(58px,80px) repeat(4,minmax(52px,72px)) var(--prep-track-extra-cols-m,) 32px!important}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .prep-track-card.prep-no-rest-after :is(.online-track-set-head,.online-track-set-row){grid-template-columns:minmax(58px,80px) repeat(3,minmax(52px,72px)) var(--prep-track-extra-cols-m,) 32px!important}
}
/* 27.11.2026 (Lars, Paket B3 Nachtrag 3), Stufe 7a: Schließen-Knopf wie in allen Popups (R8, vorher eigene 44 × 44 px).
   Die Umschalter folgen seit Stufe 5b dem Block „R3c Umschalter und Reiter“. Benannte Variante (wie der Coachcenter-Filter):
   Am Handy tragen die Segmente lange Texte („Auf Rennen ausrichten“, „Ab nächstem Montag (30.11.)“) und dürfen zweizeilig
   werden; mindestens Segmenthöhe (34 px), sonst wie der Block (vorher eigene 44 px). */
@media (max-width:760px), (max-height:500px){
  html[data-prep-ui]:root:not(#_):not(#__) dialog.block-load-dialog .block-load-seg:not(#___):not(#____){height:auto!important}
  html[data-prep-ui]:root:not(#_):not(#__) dialog.block-load-dialog .block-load-seg>button:not(#___):not(#____){height:auto!important;min-height:calc(var(--prep-control-h) - 2 * var(--prep-seg-pad))!important;padding-block:3px!important;line-height:1.2!important}
}

/* Session-Begleitung: feste Kopf- und Fußleisten, getrennte Scrollflächen für Übersicht und Detail. */
html[data-prep-ui] #prepAthleteSession[data-session-workspace] {
  /* Stufe 4 (28.11.2026, Lars „Auf 32/40 px“): Steuerhöhe wie überall (vorher eigenes Token 44 px); Tippflächen über ::after (prep-athlete.css P2). */
  --prep-dialog-close-size:var(--prep-control-h);
  --prep-run-inset:16px;
  --prep-run-content:760px;
  box-sizing:border-box;
  width:calc(100vw / var(--prep-z,1));
  height:calc(100dvh / var(--prep-z,1));
  max-width:none;
  max-height:none;
  margin:auto!important;
  padding:0!important;
  overflow:hidden!important;
}
#prepAthleteSession .prep-run-shell{display:flex;flex-direction:column;height:100%;min-width:0;padding:0!important}
html[data-prep-ui] #prepAthleteSession .prep-run-shell>.dialog-heading{
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  flex:none;
  margin:0!important;
  padding:8px var(--prep-run-inset)!important;
  padding-top:max(8px,env(safe-area-inset-top))!important;
  gap:6px;
  background:var(--prep-surface);
  border-bottom:1px solid var(--prep-line);
}
#prepAthleteSession .prep-run-head-actions{display:flex;align-items:center;gap:8px;flex:none}
#prepAthleteSession .prep-run-clock{margin:0;text-align:end;line-height:1.2}
#prepAthleteSession .prep-run-clock span{display:block;font-size:12px;color:var(--prep-text2)}
#prepAthleteSession .prep-run-clock strong{font-size:16px;font-weight:650;color:var(--prep-text);font-variant-numeric:tabular-nums}
html[data-prep-ui] #prepAthleteSession .prep-run-shell :is(.prep-run-menu-button,.prep-run-nav){
  width:var(--prep-control-h)!important;
  min-width:var(--prep-control-h)!important;
  line-height:1;
}
#prepAthleteSession .prep-run-menu-wrap{position:relative;flex:none}
#prepAthleteSession .prep-run-menu{position:absolute;inset-inline-end:0;top:calc(100% + 4px);z-index:20;display:grid;gap:2px;min-width:248px;max-width:calc(100vw - 56px);max-height:calc(100dvh - 90px);overflow:auto}
#prepAthleteSession .prep-run-ask{display:none}
#prepAthleteSession .prep-run-menu>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:0;background:transparent;text-align:start;}
#prepAthleteSession .prep-run-switch{display:flex;padding:8px var(--prep-run-inset);border-bottom:1px solid var(--prep-line)}
#prepAthleteSession .prep-run-mode>button{min-width:88px}
#prepAthleteSession .prep-run-shell>.prep-session-notice:not(:empty){max-height:30dvh;overflow:auto;margin:8px var(--prep-run-inset)!important}
#prepAthleteSession .prep-run-shell>[data-completion-consent]{margin:8px var(--prep-run-inset)}
#prepAthleteSession :is(.prep-run-grid,.prep-run-main,.prep-run-overview){min-height:0;min-width:0}
#prepAthleteSession .prep-run-grid{display:grid;grid-template-columns:minmax(0,1fr);flex:1 1 auto}
#prepAthleteSession :is(.prep-run-main,.prep-run-overview){display:flex;flex-direction:column}
#prepAthleteSession :is(.prep-run-scroll,.prep-run-overview-scroll){
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  overscroll-behavior:contain;
  padding:var(--prep-run-inset);
  align-content:start;
}
#prepAthleteSession .prep-run-overview-scroll{display:grid;gap:16px}
#prepAthleteSession .prep-run-scroll{grid-template-columns:minmax(0,1fr)}
#prepAthleteSession .prep-run-scroll>*{width:100%;max-width:var(--prep-run-content);justify-self:center}
#prepAthleteSession .prep-run-scroll>[data-local]{color:var(--prep-text2);font-size:12px}
#prepAthleteSession .prep-run-detail{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
#prepAthleteSession .prep-run-progress{display:grid;gap:6px}
#prepAthleteSession .prep-run-progress-head{display:grid;grid-template-columns:var(--prep-control-h) minmax(0,1fr) var(--prep-control-h);align-items:center;gap:8px}
#prepAthleteSession .prep-run-progress-head p{text-align:center}
#prepAthleteSession .prep-run-nav[disabled]{visibility:hidden}
#prepAthleteSession .prep-run-title{margin:0;font-size:20px;font-weight:650;line-height:1.25;color:var(--prep-text);overflow-wrap:anywhere}
#prepAthleteSession .prep-run-tools{gap:8px;margin:0}
#prepAthleteSession .prep-run-targets{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(110px,100%),1fr));gap:8px;margin:0}
#prepAthleteSession .prep-run-targets>div{display:grid;align-content:start;gap:2px;min-width:0;padding:10px 12px;border-radius:8px;background:var(--fliq8-surface);border:1px solid var(--fliq8-divider)}
#prepAthleteSession .prep-run-targets dt{font-size:.75rem;color:var(--fliq8-secondary);overflow-wrap:anywhere}
#prepAthleteSession .prep-run-targets dd{margin:0;font-size:1.15rem;line-height:1.3;font-weight:700;color:var(--prep-text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#prepAthleteSession .prep-run-inputs .prep-fields{grid-template-columns:repeat(auto-fit,minmax(min(178px,100%),1fr));max-width:620px}
#prepAthleteSession .prep-run-inputs .prep-fields>label{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;min-width:0}
#prepAthleteSession .prep-run-inputs .prep-stepper{width:calc(2 * var(--prep-control-h) + 60px);max-width:100%;flex:none}
#prepAthleteSession .prep-run-timing{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(245px,100%),1fr));gap:8px}
#prepAthleteSession :is(.prep-run-timer,.prep-run-next){min-width:0;padding:10px 12px;border-radius:8px;background:var(--fliq8-surface);border:1px solid var(--fliq8-divider)}
#prepAthleteSession .prep-run-timer{display:flex;align-items:center;gap:12px}
#prepAthleteSession .prep-run-ring{position:relative;flex:0 1 104px;min-width:88px;aspect-ratio:1}
#prepAthleteSession .prep-run-ring-text strong{font-size:26px;font-weight:650;color:var(--prep-text);font-variant-numeric:tabular-nums;line-height:1}
#prepAthleteSession .prep-run-ring-text small{font-size:11px;color:var(--prep-text2);font-variant-numeric:tabular-nums}
#prepAthleteSession .prep-run-timer-actions{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
#prepAthleteSession .prep-run-next{display:grid;align-content:center;gap:4px;overflow-wrap:anywhere}
#prepAthleteSession .prep-run-next>small,#prepAthleteSession .prep-run-next>span{font-size:12px;color:var(--prep-text2)}
#prepAthleteSession .prep-run-next dl{display:flex;flex-wrap:wrap;gap:4px 12px;margin:4px 0 0;font-size:12px}
#prepAthleteSession .prep-run-next dl>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 4px}
#prepAthleteSession .prep-run-next dt{color:var(--prep-text2)}
#prepAthleteSession .prep-run-next dd{margin:0;font-weight:650}
#prepAthleteSession .prep-run-rpe{display:grid;gap:6px}
#prepAthleteSession .prep-run-scale{display:grid;grid-template-columns:repeat(auto-fit,minmax(var(--prep-control-h),1fr));gap:4px;max-width:560px}
#prepAthleteSession .prep-run-scale>button{width:100%;min-height:var(--prep-control-h);padding:0;border:1px solid var(--prep-line);border-radius:8px;background:var(--prep-surface);color:var(--prep-text);font:inherit;cursor:pointer}
#prepAthleteSession .prep-run-scale>button[aria-pressed=true]{border-color:var(--prep-accent);background:var(--prep-tint-9);box-shadow:inset 0 -2px var(--prep-accent);font-weight:700}
#prepAthleteSession .prep-run-footer{display:flex;align-items:center;justify-content:flex-end;flex:none;gap:8px;margin:0;padding:8px var(--prep-run-inset) max(8px,env(safe-area-inset-bottom));border-top:1px solid var(--prep-line);background:var(--prep-surface)}
html[data-prep-ui] #prepAthleteSession .prep-run-shell .prep-run-footer>.button{max-width:100%;white-space:normal!important}
html[data-prep-ui] #prepAthleteSession .prep-run-overview-footer>.button{width:100%}
#prepAthleteSession :is(.prep-run-section,.prep-run-exercises,.prep-run-exercise){display:grid;gap:8px}
#prepAthleteSession .prep-run-exercises{margin:0;padding:0;list-style:none}
#prepAthleteSession .prep-run-exercise{border:1px solid var(--prep-line);background:var(--prep-surface)}
#prepAthleteSession .prep-run-exercise-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}
#prepAthleteSession .prep-run-exercise-head strong{font-size:14px;font-weight:650;overflow-wrap:anywhere}
#prepAthleteSession .prep-run-exercise-head small{flex:none;font-size:12px;color:var(--prep-text2);font-variant-numeric:tabular-nums}
/* Übersicht als Abhakliste (27.11.2026, Lars): je Satz eine Zeile – Kästchen hakt schnell ab, die Zeile öffnet die
   geführte Durchführung. Erledigt mint hinterlegt wie die RPE-Kästchen der Einheitenansicht, aktueller Satz mit grünem Rand. */
#prepAthleteSession .prep-run-sets{display:grid;gap:2px;margin:0;padding:0;list-style:none}
#prepAthleteSession .prep-run-set{display:flex;align-items:stretch;gap:2px;min-width:0;border-radius:6px}
#prepAthleteSession .prep-run-set[data-state=done]{background:color-mix(in srgb,var(--prep-green-fill) 26%,var(--fliq8-muted))}
#prepAthleteSession .prep-run-check{display:grid;place-items:center;flex:none;width:var(--prep-control-h);min-height:var(--prep-control-h);margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;cursor:pointer}
#prepAthleteSession .prep-run-check>span{display:grid;place-items:center;box-sizing:border-box;width:18px;height:18px;border:1.5px solid var(--fliq8-secondary);border-radius:4px;background:var(--fliq8-surface);font-size:12px;font-weight:700;line-height:1}
#prepAthleteSession .prep-run-set[data-state=done] .prep-run-check>span{border-color:var(--prep-green-fill);background:var(--prep-green-fill);color:var(--prep-on-green)}
#prepAthleteSession .prep-run-set[data-state=skipped] .prep-run-check>span{border-style:dashed;color:var(--prep-text3)}
#prepAthleteSession .prep-run-check:disabled{cursor:default;opacity:.6}
#prepAthleteSession .prep-run-set-main{display:flex;align-items:center;flex:1 1 auto;gap:8px;min-width:0;min-height:var(--prep-control-h);margin:0;padding:4px 6px;border:0;border-radius:6px;background:transparent;color:var(--prep-text);font:inherit;text-align:start;cursor:pointer}
#prepAthleteSession .prep-run-set-name{flex:none;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
#prepAthleteSession .prep-run-set-detail{flex:1 1 auto;min-width:0;font-size:12.5px;color:var(--prep-text2);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#prepAthleteSession .prep-run-set[data-state=skipped] .prep-run-set-detail{color:var(--prep-text3)}
#prepAthleteSession .prep-run-set-go{flex:none;font-size:16px;color:var(--prep-text3)}
/* 02.12.2026 (Lars): Vorgabe und Pause am Handy unter dem Namen statt daneben umbrochen */
@media (max-width:760px){#prepAthleteSession .prep-run-set-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 8px}#prepAthleteSession .prep-run-set-main>.prep-run-set-detail{grid-area:2/1}#prepAthleteSession .prep-run-set-main>.prep-run-set-go{grid-area:1/2/3/3}}
#prepAthleteSession .prep-run-set-main[aria-current=step]{box-shadow:inset 0 0 0 2px var(--prep-green-fill)}
#prepAthleteSession :is(.prep-run-check,.prep-run-set-main,.prep-run-scale>button):focus-visible{outline:2px solid var(--prep-accent);outline-offset:1px}
@media (hover:hover){#prepAthleteSession :is(.prep-run-check:not(:disabled),.prep-run-set-main):hover{background-color:var(--prep-hover)}}
#prepAthleteSession .prep-run-exercise-head>strong{flex:1 1 auto;min-width:0}
#prepAthleteSession .prep-run-check-all{flex:none;min-height:0;padding:0;font-size:12px}
html[data-prep-ui] #prepAthleteSession .prep-run-menu>button small{font-size:12px;color:var(--prep-text2)}
html[data-prep-ui] #prepAthleteSession .prep-run-menu>button[aria-checked=true] small{color:var(--prep-mint-text);font-weight:650}
html[data-prep-ui] #prepAthleteSession .prep-run-menu>hr{width:100%;height:1px;margin:4px 0;border:0;background:var(--prep-line)}
html[data-prep-ui] #prepAthleteSession .prep-run-progress p{margin:0;font-size:13px;font-weight:600;color:var(--prep-text2);font-variant-numeric:tabular-nums}
html[data-prep-ui] #prepAthleteSession .prep-run-progress progress{appearance:none;width:100%;height:6px;border:0;border-radius:3px;background:var(--prep-bg2);overflow:hidden;color:var(--prep-accent)}
html[data-prep-ui] #prepAthleteSession .prep-run-progress progress::-webkit-progress-bar{background:var(--prep-bg2);border-radius:3px}
html[data-prep-ui] #prepAthleteSession .prep-run-progress progress::-webkit-progress-value{background:var(--prep-accent);border-radius:3px}
html[data-prep-ui] #prepAthleteSession .prep-run-progress progress::-moz-progress-bar{background:var(--prep-accent);border-radius:3px}
html[data-prep-ui] #prepAthleteSession .prep-run-context{margin:0 0 -8px;font-size:12.5px;color:var(--prep-text2)}
html[data-prep-ui] #prepAthleteSession .prep-run-context:empty{display:none}
html[data-prep-ui] #prepAthleteSession .prep-run-hint{padding:0 12px;border-radius:8px;background:var(--fliq8-surface);border:1px solid var(--fliq8-divider)}
html[data-prep-ui] #prepAthleteSession .prep-run-hint>summary{display:list-item;box-sizing:border-box;min-height:var(--prep-control-h);padding:12px 0;font-size:13.5px;font-weight:650;color:var(--prep-text)}
html[data-prep-ui] #prepAthleteSession .prep-run-hint p{margin:0 0 8px;font-size:14px;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}
html[data-prep-ui] #prepAthleteSession .prep-run-hint-unit{padding-block:4px}
html[data-prep-ui] #prepAthleteSession .prep-run-hint>p+.prep-run-hint-unit{padding-top:8px;border-top:1px solid var(--prep-line)}
html[data-prep-ui] #prepAthleteSession .prep-run-hint-unit strong{display:block;margin-bottom:2px;font-size:12px;font-weight:650;color:var(--prep-text2)}
html[data-prep-ui] #prepAthleteSession .prep-run-block{display:grid;gap:8px;min-width:0}
html[data-prep-ui] #prepAthleteSession .prep-run-label{margin:0;font-size:var(--prep-label-font);font-weight:650;color:var(--prep-text2);text-transform:none;letter-spacing:normal}
html[data-prep-ui] #prepAthleteSession .prep-run-ring svg{display:block;width:100%;height:100%}
html[data-prep-ui] #prepAthleteSession .prep-run-ring circle{fill:none;stroke-width:8}
html[data-prep-ui] #prepAthleteSession .prep-run-ring-track{stroke:var(--prep-line)}
html[data-prep-ui] #prepAthleteSession .prep-run-ring-value{stroke:var(--prep-accent);stroke-linecap:round;transition:stroke-dashoffset .25s linear}
@media (prefers-reduced-motion:reduce){html[data-prep-ui] #prepAthleteSession .prep-run-ring-value{transition:none}}
html[data-prep-ui] #prepAthleteSession .prep-run-ring-text{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:2px}
html[data-prep-ui] #prepAthleteSession .prep-run-status{display:flex;align-items:center;gap:6px;margin:0;font-size:14px;font-weight:600;color:var(--prep-text2)}
html[data-prep-ui] #prepAthleteSession .prep-run-status[data-state=done]{color:var(--prep-mint-text)}
html[data-prep-ui] #prepAthleteSession .prep-run-exercise-feedback>summary{box-sizing:border-box;min-height:var(--prep-control-h);font-size:13.5px;font-weight:600;color:var(--prep-text2)}
html[data-prep-ui] #prepAthleteSession .prep-run-all-done{margin:0}
@media (max-width:899.98px){
  html[data-prep-ui] #prepAthleteSession[data-session-workspace]{--prep-dialog-border:0;--prep-dialog-radius:0;inset:0!important}
  #prepAthleteSession .prep-run-progress-head p>span{display:block}
  #prepAthleteSession .prep-run-progress-head p>.prep-run-progress-separator,
  #prepAthleteSession .prep-run-work-timing>.prep-run-next{display:none}
  #prepAthleteSession .prep-run-grid[data-mode=overview]>.prep-run-main,
  #prepAthleteSession .prep-run-grid[data-mode=detail]>.prep-run-overview{display:none}
  #prepAthleteSession .prep-run-footer>.primary{flex:1 1 auto}
}
@media (max-width:560px){
  #prepAthleteSession .prep-run-scale{grid-template-columns:repeat(5,minmax(var(--prep-control-h),1fr))}
}
@media (min-width:900px){
  html[data-prep-ui] #prepAthleteSession[data-session-workspace]{
    --prep-run-inset:20px;
    width:calc(min(1200px,100vw - 48px) / var(--prep-z,1));
    height:calc((100dvh - 48px) / var(--prep-z,1));
  }
  #prepAthleteSession .prep-run-grid{grid-template-columns:calc(340px / var(--prep-z,1)) minmax(0,1fr)}
  #prepAthleteSession .prep-run-overview{background:var(--prep-surface);border-inline-end:1px solid var(--prep-line)}
  #prepAthleteSession .prep-run-overview-scroll{padding:var(--prep-run-inset) 12px}
  #prepAthleteSession .prep-run-overview .prep-run-title{font-size:16px;padding-inline:4px}
  #prepAthleteSession .prep-run-switch,#prepAthleteSession .prep-run-menu>.prep-run-mobile-menu{display:none}
  #prepAthleteSession .prep-run-ask{display:inline-flex}
  #prepAthleteSession .prep-run-main .prep-run-footer{padding-inline:max(var(--prep-run-inset),calc((100% - var(--prep-run-content)) / 2))}
}
/* 27.11.2026 (Lars): Am Desktop mit Maus Knöpfe so kompakt wie im übrigen System (Einheitenansicht, Builder);
   Kopfknöpfe ⋮ und ‹ › ohne Fläche wie das × der Dialoge. Touch behält 44 px. */
@media (min-width:900px) and (hover:hover) and (pointer:fine){
  html[data-prep-ui] #prepAthleteSession[data-session-workspace]{--prep-control-h:32px;--prep-dialog-close-size:32px}
}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #prepAthleteSession .prep-run-shell :is(.prep-run-menu-button,.prep-run-nav):is(:hover,[aria-expanded=true]){background:var(--prep-hover)!important;color:var(--prep-text)!important}

/* Fenster „Frage an Coach“ / „Notiz“ über dem Training */
html[data-prep-ui] dialog.prep-run-sheet{width:min(560px,calc(100vw - 24px))}
html[data-prep-ui] dialog.prep-run-sheet textarea{width:100%;min-height:120px;box-sizing:border-box;resize:vertical}
html[data-prep-ui] dialog.prep-run-sheet .prep-finish-field{display:grid;gap:6px}
/* Erklärungsfenster: Beschreibung und Video der Übung unter dem Schaubild */
html[data-prep-ui] .exercise-guide-text{display:grid;gap:8px;max-width:72ch}
html[data-prep-ui] .exercise-guide-text p{margin:0;font-size:15px;line-height:1.55;white-space:pre-line;overflow-wrap:anywhere}
html[data-prep-ui] .exercise-guide-video{display:grid;gap:8px;justify-items:start}
html[data-prep-ui] .exercise-guide-frame{width:100%;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--prep-bg2)}
html[data-prep-ui] .exercise-guide-frame iframe{display:block;width:100%;height:100%;border:0}
/* 04.12.2026: Video erst nach Klick – Hinweis im Platz des Players */
html[data-prep-ui] .exercise-guide-frame.is-consent{display:grid;align-content:center;justify-items:center;text-align:center;gap:10px;padding:16px 20px;border:1px dashed var(--prep-line);background:var(--prep-raised);font-size:13.5px}
html[data-prep-ui] .exercise-guide-frame.is-consent p{margin:0;max-width:52ch}
html[data-prep-ui] .exercise-guide-consent-actions{justify-content:center}
html[data-prep-ui] .exercise-guide-consent-remember{display:flex;align-items:center;gap:8px;color:var(--prep-text2)}
html[data-prep-ui] .exercise-guide-consent-remember input{width:18px;height:18px;margin:0}
html[data-prep-ui] .exercise-guide-consent-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
@media (max-width:560px){html[data-prep-ui] .exercise-guide-frame.is-consent{aspect-ratio:auto;min-height:180px}}
html[data-prep-ui] .exercise-guide-video video{display:block;width:100%;max-height:60dvh;border-radius:12px;background:#000}
html[data-prep-ui] .exercise-guide-video .unit-video-link{display:inline-flex;align-items:center;min-height:44px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) dialog.prep-run-sheet .prep-run-sheet-body>.prep-comments{margin-top:0!important;padding-top:0!important;border-top:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) dialog.prep-run-sheet .prep-comments-form{padding:0!important}

/* 27.11.2026 (Lars, P3 Athletecenter) – seit R2 (27.11.2026) Aufbau wie das Coachcenter: „Neu vom Coach“ wie „Neue Mitteilungen“,
   darunter eine Athletenkarte mit denselben Klassen wie im Coachcenter (coach-athlete-card, coach-week-grid aus app.js). */
.prep-athlete-today>.prep-center-news{display:contents}
.prep-athlete-today>.prep-center-news>*{grid-column:1/-1}
.prep-center-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.prep-center-actions:not(:empty){margin-block-start:4px}
.prep-center-orphan{padding-inline-start:12px}
/* Offene Einheiten früherer Tage: Titel als Knöpfe im Hinweis „Nicht abgeschlossen“, Schrift wie der Hinweis */
html[data-prep-ui]:root:not(#_):not(#__) #dashboardContent .prep-athlete-center-card .coach-flag .prep-text-action{
  display:inline;min-inline-size:0;min-block-size:0;height:auto;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:start;white-space:normal
}
/* Check-in: Formular unter der Kennzahlenzeile, Hinweis bei Krankheit/Schmerz darüber */
.prep-center-check-in form:not([hidden]){display:grid;gap:12px}
html[data-prep-ui]:root:not(#_):not(#__) #dashboardContent .prep-athlete-center-card>:is(.prep-center-check-in,.daily-check-in-alert){margin:0 16px 12px}
html[data-prep-ui]:root:not(#_):not(#__) #dashboardContent .prep-athlete-center-card>.prep-center-check-in:not(:has(form:not([hidden]))){display:none}
/* Verfügbarkeit der gezeigten Woche rechts in der Kopfzeile der Woche */
.prep-center-availability{font-size:12px;color:var(--prep-text2)}
html[data-prep-ui] :is(.prep-athlete-today,.daily-check-in-card){
  --prep-center-target:calc(44px / var(--prep-z,1));
}
@media (min-width:761px){
  html[data-prep-ui] :is(.prep-athlete-today,.daily-check-in-card){
    --prep-control-h:var(--prep-center-desktop-control);
  }
}
@media (max-width:760px){
  html[data-prep-ui] :is(.prep-athlete-today,.daily-check-in-card){
    --prep-control-h:var(--prep-center-target);
  }
  html[data-prep-ui]:root:not(#_) #mainContent :is(.prep-athlete-today,.daily-check-in-card) :is(.button,.prep-text-action,.icon-button,button.prep-new-message){
    min-inline-size:var(--prep-center-target);
    min-block-size:var(--prep-center-target);
    white-space:normal;
  }
  html[data-prep-ui]:root:not(#_):not(#__) #dashboardContent .prep-athlete-center-card>:is(.prep-center-check-in,.daily-check-in-alert){margin:0}
}
/* R2 Handy: Athletenkarte gestapelt wie die Coach-Karte (prep-v359.css), „Training starten“ direkt unter den Kennzahlen;
   Kennzahlen der zweiten Zeile zweispaltig; Woche als Tagesliste mit Tageskopf wie im Athleten-Kalender (Zahl groß, Wochentag darunter, Linie). */
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui]:root:not(#_):not(#__) #dashboardContent .prep-athlete-center-card>.coach-athlete-head>.coach-athlete-actions{order:4;grid-template-columns:minmax(0,1fr)!important}
  html[data-prep-ui]:root:not(#_):not(#__) #dashboardContent .prep-athlete-center-card>.coach-athlete-head>.coach-athlete-actions:empty{display:none!important}
  html[data-prep-ui]:root:not(#_):not(#__) #dashboardContent .prep-athlete-center-card .coach-athlete-actions>.button{width:100%!important;height:var(--prep-center-target)!important;font-size:14px!important}
  html[data-prep-ui]:root:not(#_):not(#__) #dashboardContent .prep-athlete-center-card .daily-training-state{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
  html[data-prep-ui]:root:not(#_):not(#__) #dashboardContent .prep-athlete-center-card .coach-flag{display:block;white-space:normal}
  html[data-prep-ui]:root:not(#_):not(#__) #dashboardContent .prep-athlete-center-card .coach-flag::before{display:inline-block;margin-inline-end:6px;vertical-align:middle}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___) #dashboardContent .prep-athlete-center-card .coach-week-day-head{display:grid!important;justify-items:start;align-content:center;gap:2px;min-height:44px;margin:0 -8px 8px!important;padding:6px 8px!important;border-bottom:1px solid var(--prep-line)}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___) #dashboardContent .prep-athlete-center-card .coach-week-day-head time{font-size:18px;font-weight:650;line-height:1.1}
  html[data-prep-ui]:root:not(#_):not(#__):not(#___) #dashboardContent .prep-athlete-center-card .coach-week-day-head .coach-week-weekday{margin:0!important;font-size:11px;font-weight:500}
}
.daily-check-in-card>header{flex-wrap:wrap}
.daily-check-in-alert,.daily-check-in-privacy{padding:8px 12px;background:var(--prep-raised);color:var(--prep-text2);line-height:1.45}
.daily-check-in-alert{border-inline-start:3px solid var(--prep-warn);color:var(--prep-text)}
.daily-check-in-card form:not([hidden]),.daily-check-in-scales,.daily-check-in-body{display:grid;gap:12px}
.daily-check-in-scale{min-width:0;margin:0;padding:0;border:0}
.daily-check-in-scale legend,.daily-check-in-body legend{font-weight:650}
.daily-check-in-scale small{color:var(--prep-text2)}
.daily-check-in-options{display:grid;grid-template-columns:repeat(5,minmax(var(--prep-center-target),1fr));gap:4px;margin-top:4px}
.daily-check-in-options>.button{--prep-control-h:var(--prep-center-target);position:relative;display:grid;place-items:center;min-block-size:var(--prep-center-target);margin:0;padding:0;cursor:pointer}
.daily-check-in-options input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
html[data-prep-ui]:root:not(#_) .daily-check-in-options>.button:has(input:checked){
  border-color:var(--prep-accent);background:var(--prep-tint-12);color:var(--prep-text);box-shadow:inset 0 -2px var(--prep-accent)
}
.daily-check-in-options>.button:has(input:focus-visible){outline:2px solid var(--prep-accent);outline-offset:2px}
.daily-check-in-flags{display:flex;flex-wrap:wrap;gap:8px 12px}
.daily-check-in-flags .check-field{min-height:var(--prep-center-target);min-width:var(--prep-center-target);margin:0;cursor:pointer}
.daily-check-in-body{min-width:0;margin:0;padding:12px}
.daily-check-in-body>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(120px,100%),1fr));gap:12px}
/* 02.12.2026 (Lars): Check-in am Handy bildschirmfüllend, große Antwortfelder, Speichern unten fest */
html[data-prep-ui]:root:not(#_):not(#__) dialog.daily-check-in-dialog[open]{--prep-center-target:calc(52px / var(--prep-z,1));box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;inset:0;padding:0 16px!important;border:0!important;border-radius:0!important;overflow:clip auto;overscroll-behavior:contain;background:var(--prep-surface);color:var(--prep-text)}
html[data-prep-ui]:root:not(#_):not(#__) dialog.daily-check-in-dialog>.dialog-heading{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -16px;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;border-bottom:1px solid var(--prep-line);background:var(--prep-surface)}
html[data-prep-ui]:root:not(#_):not(#__) dialog.daily-check-in-dialog>.dialog-heading h2{margin:0;font-size:18px}
html[data-prep-ui]:root:not(#_):not(#__) dialog.daily-check-in-dialog>form{display:grid;gap:20px;min-height:calc(100dvh - 72px);align-content:start;padding:16px 0 0!important}
html[data-prep-ui]:root:not(#_):not(#__) dialog.daily-check-in-dialog .daily-check-in-scales{gap:20px}
html[data-prep-ui]:root:not(#_):not(#__) dialog.daily-check-in-dialog .daily-check-in-scale legend{font-size:16px}
html[data-prep-ui]:root:not(#_):not(#__) dialog.daily-check-in-dialog .daily-check-in-scale small{font-size:14px}
html[data-prep-ui]:root:not(#_):not(#__) dialog.daily-check-in-dialog .daily-check-in-options{gap:8px;margin-top:8px}
html[data-prep-ui]:root:not(#_):not(#__) dialog.daily-check-in-dialog .daily-check-in-options>.button{min-block-size:var(--prep-center-target);font-size:18px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) :is(dialog.daily-check-in-dialog,.prep-center-check-in) .daily-check-in-options>.button:has(input:checked){border-color:var(--prep-accent)!important;background:var(--prep-tint-12)!important;color:var(--prep-text)!important;font-weight:700;box-shadow:inset 0 -3px var(--prep-accent)!important}
html[data-prep-ui]:root:not(#_):not(#__) dialog.daily-check-in-dialog .daily-check-in-flags{display:grid;gap:4px}
html[data-prep-ui]:root:not(#_):not(#__) dialog.daily-check-in-dialog .daily-check-in-actions{position:sticky;bottom:0;z-index:1;align-self:end;margin:auto -16px 0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--prep-line);background:var(--prep-surface)}
.daily-check-in-actions{display:flex;justify-content:flex-end}
@media (max-width:760px){
  .daily-check-in-actions>.button{width:100%}
}
/* 27.11.2026 (P4-Nachtrag): Coach-Dokumentation – Werte je Satz (setResults) als Zeilen; Felder wie im übrigen Editor, Haken 44 px */
html[data-prep-ui] .documentation-set-results{display:grid;gap:8px}
html[data-prep-ui] .documentation-set-results>.supporting{margin:0}
html[data-prep-ui] .documentation-set-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));align-items:end;gap:8px 12px;margin:0;padding:10px 12px;border:1px solid var(--prep-line);border-radius:12px;min-width:0}
html[data-prep-ui] .documentation-set-row>legend{padding:0 4px;font-size:var(--prep-label-font);font-weight:650;color:var(--prep-text)}
html[data-prep-ui] .documentation-set-row .documentation-set-done{display:flex;align-items:center;gap:8px;min-height:44px;margin:0}
html[data-prep-ui] .documentation-set-row input:disabled{opacity:.55}

/* ===== R8a Fenster (27.11.2026, Lars): Popups am Desktop Größe ändern, minimieren, Vollbild (prep-dialog-window.js) =====
   Nur Maus und Fenster ab 761 px; Handy und Touch bleiben unverändert. */
.prep-window-grip,.prep-window-dock{display:none}
@media (min-width:761px) and (min-height:501px) and (pointer:fine){
  html[data-prep-ui]:root:not(#_):not(#__) dialog[data-prep-window-sized]:not(#___){inline-size:var(--prep-win-w)!important;block-size:var(--prep-win-h)!important;max-inline-size:calc(100vw / var(--prep-z,1) - 16px)!important;max-block-size:calc(100vh / var(--prep-z,1) - 16px)!important;min-inline-size:0!important;min-block-size:0!important}
  /* Vollbild: 8 px Rand, gewinnt gegen Lage und Größe; der Griff ist dann aus */
  html[data-prep-ui]:root:not(#_):not(#__) dialog[data-prep-window-maximized][open]:not(#___):not(#____){position:fixed!important;inset:auto!important;left:8px!important;top:8px!important;margin:0!important;transform:none!important;translate:none!important;inline-size:calc(100vw / var(--prep-z,1) - 16px)!important;block-size:calc(100vh / var(--prep-z,1) - 16px)!important;max-inline-size:none!important;max-block-size:none!important}
  /* Größer gezogen oder Vollbild: Inhalt füllt die Höhe, die Fußleiste bleibt unten */
  html[data-prep-ui]:root:not(#_):not(#__) dialog:is([data-prep-window-sized],[data-prep-window-maximized])>:is(form,section):has(>.dialog-actions):not(#___){display:flex!important;flex-direction:column;min-block-size:100%}
  html[data-prep-ui]:root:not(#_):not(#__) dialog:is([data-prep-window-sized],[data-prep-window-maximized])>:is(form,section)>.dialog-actions:not(#___){margin-top:auto!important}
  html[data-prep-ui] dialog[data-prep-window-dragging],html[data-prep-ui] dialog[data-prep-window-dragging] *{cursor:grabbing!important;user-select:none!important}
  /* Griff unten rechts: zwei feine Linien, liegt fest an der Ecke und scrollt nicht mit */
  html[data-prep-ui] dialog[data-prep-window] .prep-window-grip{display:block;position:fixed;z-index:20;width:18px;height:18px;cursor:nwse-resize;touch-action:none;border-bottom-right-radius:14px;
    background:linear-gradient(135deg,transparent 0 55%,var(--prep-text3) 55% 61%,transparent 61% 72%,var(--prep-text3) 72% 78%,transparent 78%);opacity:.55}
  html[data-prep-ui] dialog[data-prep-window] .prep-window-grip:hover{opacity:.9}
  html[data-prep-ui] dialog[data-prep-window] .prep-window-grip[hidden]{display:none}
  /* „–“ und ▢ neben dem ×, gleich gebaut (R8). Kein Verschieben (Lars 27.11.) */
  html[data-prep-ui]:root:not(#_) dialog .prep-window-max.icon-button{display:grid!important;place-items:center;width:30px!important;min-width:30px!important;border-radius:8px!important;box-shadow:none!important;flex:none;margin-inline-start:0!important}
  html[data-prep-ui]:root:not(#_) dialog .prep-window-max.icon-button:is(:hover,:focus-visible){background:var(--prep-hover)!important}
  html[data-prep-ui]:root:not(#_) dialog .prep-window-max.icon-button+.icon-button{margin-inline-start:0!important}
  html[data-prep-ui]:root:not(#_) dialog .prep-window-min.icon-button{display:grid!important;place-items:center;width:30px!important;min-width:30px!important;border-radius:8px!important;box-shadow:none!important;flex:none;margin-inline-start:auto}
  html[data-prep-ui]:root:not(#_) dialog .prep-window-min.icon-button+.icon-button{margin-inline-start:0!important}
  html[data-prep-ui]:root:not(#_) dialog .prep-window-min.icon-button:is(:hover,:focus-visible){background:var(--prep-hover)!important}
  html[data-prep-ui]:root:not(#_) dialog .prep-window-min[hidden]{display:none!important}
  /* Leiste mit minimierten Fenstern unten links */
  html[data-prep-ui] .prep-window-dock{display:flex;flex-wrap:wrap;gap:8px;position:fixed;left:16px;bottom:16px;z-index:900;max-width:calc(100vw / var(--prep-z,1) - 32px)}
  /* Eintrag = Name (holt zurück) + × (schließt wie das × im Fenster), zusammen ein Kasten */
  html[data-prep-ui] .prep-window-dock>.prep-window-entry-group{display:inline-flex;align-items:stretch;height:var(--prep-control-h,32px);max-width:300px;border:1px solid var(--prep-line);border-radius:8px;background:var(--prep-surface);box-shadow:0 8px 24px rgba(0,0,0,.28);overflow:hidden}
  html[data-theme=light][data-prep-ui] .prep-window-dock>.prep-window-entry-group{box-shadow:0 8px 24px rgba(17,20,24,.12)}
  html[data-prep-ui]:root:not(#_) .prep-window-entry-group>.prep-window-entry{display:inline-flex;align-items:center;gap:8px;min-width:0;height:auto;min-height:0;line-height:1;padding:0 8px 0 12px;border:0;border-radius:0;background:transparent;color:var(--prep-text);font:inherit;font-size:13px;font-weight:550;cursor:pointer}
  html[data-prep-ui]:root:not(#_) .prep-window-entry-group>.prep-window-entry-close{display:grid;place-items:center;flex:none;width:30px;height:auto;min-height:0;min-width:0;padding:0;border:0;border-left:1px solid var(--prep-line);border-radius:0;background:transparent;color:var(--prep-text3);cursor:pointer}
  html[data-prep-ui]:root:not(#_) .prep-window-entry-group>:is(.prep-window-entry,.prep-window-entry-close):hover{background:var(--prep-hover)}
  html[data-prep-ui] .prep-window-entry-group>.prep-window-entry>svg{flex:none;color:var(--prep-text3)}
  html[data-prep-ui] .prep-window-entry-group>.prep-window-entry>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media print{.prep-window-dock,.prep-window-grip{display:none!important}}

/* R17 Builder-Tabellen (27.11.2026, Lars): Spaltenköpfe und Zellen einheitlich, nichts abgeschnitten */
/* R17b Kopf-×: mittig zur Kopfzeile. Das ×-Zeichen sitzt in der Schrift tiefer als Großbuchstaben → 1 px anheben. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog :is(.gym-set-table-header,.prep-set-table thead) :is(.gym-hide-column,.prep-col-x){align-self:center!important;vertical-align:middle!important;line-height:1!important;transform:translateY(-1px)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .gym-set-table-header>.gym-main-head>select{align-self:center!important;margin-block:0!important}
/* R17c Gym zusammengefasst („alle Sätze gleich“): Last-Art steht im Kopf; die Auswahl je Satz erst bei einzelnen Sätzen */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-gym-card.prep-gym-compact .gym-set-row .gym-set-target-field>select[data-gym-set-mode]{display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______) #onlinePlanDialog .prep-gym-card .gym-set-row .gym-set-target-field>input:not([hidden]){min-width:4.5ch!important}
/* R17d Feste Einheit in der Zelle doppelt zum Kopf („Länge m“, „Anfahrt km/h“) → nur im Kopf */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .prep-sprint-table tbody :is(.prep-wb-len,.prep-wb-app) .prep-unit-select.prep-unit-fixed{display:none!important}
/* R17d am Handy: „Länge m ⌄ ×“ in einer Zeile statt dreier */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .prep-set-table thead th.prep-wb-len{white-space:nowrap!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .prep-set-table thead th.prep-wb-len>:is(span,.prep-native-length,.prep-col-x){display:inline-block!important;width:auto!important;vertical-align:middle!important}
/* R17h Spalten verschieben: Griff ⠿ links im Kopf (Katalogübungen, Zusatzspalten); Einfügestelle als senkrechte Linie */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .prep-col-grip{position:relative;z-index:3;display:inline-grid!important;place-items:center;flex:0 0 auto;width:14px!important;min-width:14px!important;height:20px!important;min-height:20px!important;margin:0 2px 0 -2px!important;padding:0!important;border:0!important;border-radius:4px!important;background:transparent!important;color:var(--prep-text3)!important;opacity:.55;cursor:grab;touch-action:none;vertical-align:middle;transform:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .prep-col-grip::after{content:"";position:absolute;inset:-12px -4px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog :is(th,span):hover>.prep-col-grip,html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .prep-col-grip:is(:hover,:focus-visible){opacity:1;color:var(--prep-text)!important;background:var(--prep-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________):not(#_________):not(#__________):not(#___________) #onlinePlanDialog .prep-col-grip:focus-visible{outline:2px solid var(--prep-accent,Highlight);outline-offset:1px}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .prep-col-dragging{opacity:.55}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .prep-col-drop-before{box-shadow:inset 3px 0 0 var(--prep-accent,#2f7d62)!important}
html[data-prep-ui]:root:not(#_) #onlinePlanDialog .prep-col-drop-after{box-shadow:inset -3px 0 0 var(--prep-accent,#2f7d62)!important}
@media (pointer:coarse){html[data-prep-ui]:root:not(#_) #onlinePlanDialog .prep-col-grip{opacity:.8}}

/* 27.11.2026 Übungsauswahl am Desktop (Lars): Der Kasten war nur so breit wie das Feld (im Kartenkopf ~220 px),
   und die feste 270-px-Liste ragte unten aus dem 340-px-Kasten – die Begrenzung gab es bisher nur am Handy.
   Jetzt überall: Liste füllt den Rest des Kastens und rollt nur senkrecht. Am Desktop mindestens 480 px breit. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-pop:not([hidden]){display:flex!important;flex-direction:column!important;overflow:hidden!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-pop:not([hidden])>.prep-combo-list{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-x:hidden!important}
@media (min-width:761px) and (min-height:501px){
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) .prep-combo-pop:not([hidden]){right:auto!important;width:max(100%,min(480px,calc(100vw - 48px)))!important;max-height:min(440px,calc(100dvh - 120px))!important}
}
/* 27.11.2026 (Lars: „Ja, so bauen“): Einfügen mitten drin im Session Builder.
   „⋯“ an jeder Übungs-/Gruppenkarte und jedem Block (Darüber/Darunter einfügen, Nach oben/unten) – gleiche Kopfknopf-Optik wie ×;
   Einfügelinie mit „+“ zwischen zwei Karten nur mit Maus, schwebend (verschiebt nichts). */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-card-more:not(#_____){flex:none;display:inline-flex;align-items:center;justify-content:center;align-self:center;margin:0!important;letter-spacing:0!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-card-more:is(:hover,:focus-visible,[aria-expanded=true]):not(:disabled):not(#_____){background:var(--prep-bg2)!important;color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-card-more:disabled:not(#_____){opacity:.35}
@media screen and (min-width:761px) and (min-height:501px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap:has(>.prep-card-more):not(#_____){grid-template-columns:20px 22px minmax(105px,1fr) auto auto 32px 32px!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap>.prep-card-more:not(#_____){grid-column:6;grid-row:1}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-choice-wrap:has(>.prep-card-more)>.builder-choice-delete:not(#_____){grid-column:7;grid-row:1}
}
@media (pointer:coarse){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-card-more:not(#_____){width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .builder-outline .prep-part-add-menu>button:not(#_):not(#__){height:44px!important;min-height:44px!important}
}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-insert-line:not(#____){position:fixed;z-index:25;display:block;height:14px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:translateY(-50%);cursor:pointer}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-insert-line[hidden]:not(#____){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-insert-line::before{content:"";position:absolute;left:0;right:0;top:50%;height:2px;margin-top:-1px;border-radius:1px;background:var(--prep-green-fill)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-insert-line>.prep-insert-plus{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:18px;height:18px;border-radius:999px;background:var(--prep-green-fill);color:var(--prep-on-green);font-size:14px;font-weight:700;line-height:1;transform:translate(-50%,-50%)}
@media screen and (max-width:760px), screen and (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-wrap:has(>.prep-card-more)>.builder-block-choice:not(#_____){padding-right:76px!important}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog #onlinePlanForm .builder-outline .builder-choice-wrap>.prep-card-more:not(#_____){position:absolute;top:50%;right:28px;z-index:1;transform:translateY(-50%)}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-main-part>header>.prep-card-more:not(#_____){order:3}
}
@media screen and (max-width:760px), screen and (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog[data-builder-mobile-detail=part] .prep-part-open>header>.prep-card-more:not(#______){margin-left:auto!important;margin-top:20px!important}
 @media (pointer:coarse){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog[data-builder-mobile-detail=part] .prep-part-open>header>.prep-card-more:not(#______){margin-top:14px!important}}
 html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____) #onlinePlanDialog[data-builder-mobile-detail=part] .prep-part-open>header:has(>.prep-card-more)>.prep-part-close:not(#______){margin-left:0!important}
}
/* 27.11.2026 (Lars: „Können wir Pausen auch verschiebbar machen“): „⋯“ in der Pausenzeile vor dem × (Nach oben/unten).
   Optik wie das ⋯ der Karten (.prep-card-more, 32 px mit Maus, 44 px bei Touch); ⋯ und × sitzen zusammen rechts. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-rest-between>.prep-rest-more:not(#_____):not(#______){margin:0 0 0 auto!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-rest-between>.prep-rest-more[hidden]:not(#_____):not(#______){display:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-rest-between>.prep-rest-more:not([hidden])~.prep-rest-remove:not(#____):not(#_____){margin-left:0!important}
/* 27.11.2026 (Lars: „mache das + hinzufügen dann auch mint/schwarz“, „Ganzer Knopf mint“): Hinzufügen-Knöpfe im Session Builder
   („+ Hinzufügen zu …“ in Block/Warm-up/Cool-down, „+ Übung“ in Superset/Zirkel, „+ Übung hinzufügen“, „+ Hinzufügen“) mint gefüllt, Schrift schwarz – wie das „+“ der Einfügelinie. */
/* 27.11.2026 (Lars: „warum hat die Pause immer noch kein Griff zum Verschieben“): Griff ⠿ links in der Pausenzeile, Optik wie an den Karten (.builder-drag-handle). */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-rest-row.prep-rest-between:has(>.prep-rest-handle):not(#____){padding-left:27px}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-rest-between>.prep-rest-handle:not(#____){flex:none;min-height:36px;margin:-4px 0}
@media screen and (max-width:760px), screen and (max-height:500px){
 html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-rest-row.prep-rest-between:has(>.prep-rest-handle):not(#____):not(#_____){padding-left:4px}
}
/* 27.11.2026 (Lars: „Eingaben als neue Übung speichern“): Fenster „Als neue Übung speichern“ (Speichern-Symbol an der Übung).
   Gleicher Rahmen wie das Pausen-Fenster (prepDialog), ein Feld „Name“, Hinweis, Fehlermeldung, Abbrechen/Speichern rechts. */
.prep-save-new-dialog form{display:grid;gap:12px}
.prep-save-new-dialog label{display:grid;gap:6px;font-weight:600}
.prep-save-new-dialog label>input{width:100%;min-height:44px;font-weight:400}
.prep-save-new-dialog .prep-save-new-hint{margin:0;font-size:13px;color:var(--prep-text2)}
.prep-save-new-dialog .prep-save-new-error{margin:0;font-size:13px;font-weight:600;color:var(--prep-bad)}
.prep-save-new-dialog .prep-save-new-error[hidden]{display:none}
.prep-save-new-dialog .prep-save-new-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.prep-save-new-dialog .prep-save-new-actions>.button{min-height:44px}
/* Menü am Speichern-Symbol: auch außerhalb der Ablaufliste (Handy-Detailansicht einer Übung) schwebend wie das „⋯“-Menü der Karten */
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-ex-head>.prep-part-add-menu:not(#____){position:fixed;z-index:190;display:grid;align-content:start;width:240px;overflow-y:auto;overscroll-behavior-y:contain;margin:0;padding:4px;border:1px solid var(--prep-line);border-radius:10px;background:var(--prep-surface);box-shadow:0 10px 30px rgba(0,0,0,.18)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-ex-head>.prep-part-add-menu.opens-above:not(#____){transform:translateY(-100%)}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-ex-head>.prep-part-add-menu>button:not(#____):not(#_____){display:flex!important;align-items:center;width:100%!important;height:auto!important;min-height:34px!important;padding:6px 10px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--prep-text)!important;font-size:13.5px!important;font-weight:500!important;text-align:start!important;justify-content:flex-start!important;white-space:normal!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-ex-head>.prep-part-add-menu>button:not(#____):not(#_____):is(:hover,:focus-visible){background:var(--prep-hover)!important}
@media (pointer:coarse){html[data-prep-ui]:root:not(#_):not(#__):not(#___) #onlinePlanDialog .prep-ex-head>.prep-part-add-menu>button:not(#____):not(#_____){min-height:44px!important}}

/* 27.11.2026 (Lars: „Ja, so bauen“): Athletecenter – Bereich „Heute“ ganz oben, darunter „Neu vom Coach“ kompakt.
   Karte wie die übrigen Abschnitte (prep-new-messages), Zeilen je Einheit, aktuelle Einheit mit grünem Rand wie der aktuelle Satz im Training. */
.prep-athlete-today>.prep-center-today{grid-column:1/-1}
.prep-center-today{display:grid;gap:12px;padding:16px;border:1px solid var(--prep-line);border-radius:12px;background:var(--prep-surface);color:var(--prep-text)}
.prep-center-today-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px}
.prep-center-today-label{display:block;font-size:12px;font-weight:600;color:var(--prep-text2)}
html[data-prep-ui] .prep-center-today-head h2{margin:2px 0 0;line-height:1.2}
.prep-center-today-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.prep-center-today-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--prep-line);background:var(--prep-raised);color:var(--prep-text2);font-variant-numeric:tabular-nums;white-space:nowrap}
.prep-center-today-chip[data-done]{color:var(--prep-mint-text)}
.prep-center-today-units{list-style:none;display:grid;gap:8px;margin:0;padding:0}
.prep-center-today-unit{position:relative;display:grid;grid-template-columns:minmax(64px,auto) minmax(0,1fr) auto;align-items:center;gap:4px 16px;border:1px solid var(--prep-line);background:var(--prep-surface)}
.prep-center-today-unit:hover{background:var(--prep-raised)}
.prep-center-today-unit[aria-current]{border-color:var(--prep-green-fill);box-shadow:inset 0 0 0 1px var(--prep-green-fill)}
.prep-center-today-time{color:var(--prep-text2);font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.prep-center-today-main{display:grid;gap:2px;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___) #mainContent button.prep-center-today-open{display:block;width:auto;min-width:0;min-height:0;height:auto;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--prep-text);font:inherit;font-weight:650;text-align:start;white-space:normal;overflow-wrap:anywhere;cursor:pointer;outline:none}
/* Die ganze Zeile öffnet die Einheit; der Aktionsknopf liegt darüber. */
.prep-center-today-open::after{content:"";position:absolute;inset:0;border-radius:inherit}
.prep-center-today-open:focus-visible::after{outline:2px solid var(--prep-accent);outline-offset:2px}
.prep-center-today-meta{color:var(--prep-text2);font-size:13px}
.prep-center-today-status,.prep-center-today-progress{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:var(--prep-text2)}
.prep-center-today-status[data-completion=completed]{color:var(--prep-mint-text);font-weight:600}
.prep-center-today-main>progress{width:100%;max-width:240px;height:4px;margin-top:2px;border:0;border-radius:2px;appearance:none;-webkit-appearance:none;background:var(--prep-raised);overflow:hidden;accent-color:var(--prep-green-fill)}
.prep-center-today-main>progress::-webkit-progress-bar{background:var(--prep-raised);border-radius:2px}
.prep-center-today-main>progress::-webkit-progress-value{background:var(--prep-green-fill);border-radius:2px}
.prep-center-today-main>progress::-moz-progress-bar{background:var(--prep-green-fill);border-radius:2px}
.prep-center-today-action{position:relative;z-index:1}
.prep-center-today-free{margin:0;color:var(--prep-text2)}
.prep-center-today-free strong{color:var(--prep-text)}
.prep-center-today-events{list-style:none;display:grid;gap:4px;margin:0;padding:0}
.prep-center-today-event{display:flex;align-items:flex-start;gap:8px;padding:4px 12px;color:var(--prep-text2);font-size:13px}
.prep-center-today-event strong{font-weight:600;color:var(--prep-text2)}
.prep-center-today-event-icon{display:inline-flex;flex:none;margin-top:1px}
/* „Neu vom Coach“ kompakt: eine gedämpfte Zeile mit den neuesten Einträgen */
.prep-new-messages-summary{margin:0;color:var(--prep-text2);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:760px){
  .prep-center-today{padding:12px}
  /* 27.11.2026 (Lars-Prüfung): Knopf rechts neben der Einheit statt darunter – sonst wird „Heute“ bei vielen Einheiten sehr lang */
  .prep-center-today-unit{grid-template-columns:minmax(0,1fr) auto;gap:2px 12px}
  .prep-center-today-time{grid-column:1;grid-row:1}
  .prep-center-today-main{grid-column:1;grid-row:2}
  .prep-center-today-action{grid-column:2;grid-row:1/span 2;align-self:center}
  .prep-center-today-chips{width:100%}
}

/* 27.11.2026 (Builder-Modell Phase 2): eigener Name an Sprint, Track und Wattbike – Beschriftung neben dem Feld wie „Rolle“ oder „Testart“ */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-head .prep-ex-own-name{position:relative;display:inline-flex!important;align-items:center;gap:6px;margin:0!important;flex:0 1 auto;min-width:0}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-head .prep-ex-own-name>span{position:static!important;transform:none!important;font-size:11.5px;font-weight:500;color:var(--prep-text2);white-space:nowrap;pointer-events:none}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) #onlinePlanDialog .prep-ex-head .prep-ex-own-name>input{width:170px!important;min-width:0!important;max-width:100%!important;padding-left:10px!important}
/* ===== R6 Knöpfe: EIN Regelsatz je Art (CSS-Aufräumen Stufe 3, 28.11.2026, Lars: „Ja, Stufe 3 starten“) =====
   Haupt (.primary) · Neben (.secondary/.button) · Ruhig (.quiet) · Löschen (.danger) · Symbol (.icon-button u. a.).
   Maße und Farben: prep-tokens.css (--prep-btn-*, --prep-control-h). Ältere Schichten setzen für diese Knöpfe keine Höhe,
   Abstände, Rundung, Schrift, Fläche oder Linie mehr (Stufe 3 hat sie dort gestrichen).
   Keine Knöpfe im Sinne von R6 (eigene Regeln, bleiben): Menüeinträge, Auswahlkarten (Anlegen, Verfügbarkeit, Trainingsart),
   Umschalter/Reiter, Kalender-Werkzeugleiste, „Pause“-Öffner und der schwebende Erstellen-Knopf am Handy (R12a). */
html[data-prep-ui]:root:not(#_):not(#__) :is(.button,button.primary,button.secondary):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete,.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)):not(#___){height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;padding:0 var(--prep-btn-pad-x)!important;box-sizing:border-box!important;border-width:var(--prep-btn-border)!important;border-style:solid!important;border-radius:var(--prep-btn-radius)!important;font-size:var(--prep-btn-font)!important;font-weight:var(--prep-btn-weight)!important;line-height:var(--prep-btn-lh)!important;box-shadow:none!important}
/* Neben: Fläche --prep-raised, feine Linie */
html[data-prep-ui]:root:not(#_):not(#__) :is(.button,button.primary,button.secondary):not(.primary,.quiet,.danger):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete,.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)):not([aria-pressed="true"]):not(#___){background:var(--prep-raised)!important;border-color:var(--prep-line)!important;color:var(--prep-text)!important}
/* Haupt: Dunkel weiß mit dunkler Schrift; Hell grau mit grünem Rand, ohne Symbol dunkelgrüne Schrift, mit Symbol grünes Symbol */
html[data-prep-ui]:root:not(#_):not(#__) :is(.button.primary,button.primary):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete,.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)):not(#___){background:var(--prep-btn-primary-bg)!important;border-color:var(--prep-btn-primary-line)!important;color:var(--prep-btn-primary-text)!important}
html[data-prep-ui][data-theme=light]:root:not(#_):not(#__) :is(.button.primary,button.primary):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete,.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)):has(svg,img,.button-icon):not(#___){color:var(--prep-text)!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(.button.primary,button.primary):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete,.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)):not(#___) :is(svg,.button-icon){color:var(--prep-on-primary-icon)!important}
/* Ruhig: ohne Fläche und Linie, Schrift --prep-text2 */
html[data-prep-ui]:root:not(#_):not(#__) .button.quiet:not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete,.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)):not(#___){background:transparent!important;border-color:transparent!important;color:var(--prep-text2)!important}
/* Löschen: rote Schrift, ohne Fläche */
html[data-prep-ui]:root:not(#_):not(#__) .button.danger:not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete,.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)):not(#___){background:transparent!important;border-color:transparent!important;color:var(--prep-btn-danger-text)!important}
/* „+ hinzufügen“ (Lars 28.11.2026): normaler Nebenknopf, nur das + in --prep-accent */
html[data-prep-ui]:root:not(#_):not(#__) .prep-add-wrap>.button.prep-add-button:not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(#___){display:inline-block!important;line-height:calc(var(--prep-control-h) - 2 * var(--prep-btn-border))!important;text-align:center}
html[data-prep-ui]:root .prep-add-wrap>.button.prep-add-button:not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button))::first-letter,html[data-prep-ui]:root :is(.button.prep-part-add,.button.builder-group-add)>.prep-part-add-text::first-letter{color:var(--prep-accent)}
/* Symbol: 32 × 32 (Handy 40 × 40), ohne Fläche, --prep-text3 */
html[data-prep-ui]:root:not(#_):not(#__) :is(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)):not(#___){width:var(--prep-control-h)!important;min-width:var(--prep-control-h)!important;height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;padding:0!important;box-sizing:border-box!important;border:0!important;border-radius:var(--prep-btn-radius)!important;background:transparent!important;box-shadow:none!important;color:var(--prep-text3)!important;font-size:var(--prep-icon-btn-font)!important;font-weight:400!important;line-height:1!important}
/* Neben mit nur einem Symbol (Pfeile, ⌄, −/+ an Zahlen): quadratisch, Fläche und Linie wie ein Nebenknopf */
html[data-prep-ui]:root:not(#_):not(#__) :is(.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(#___){width:var(--prep-control-h)!important;min-width:var(--prep-control-h)!important;height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;padding:0!important;box-sizing:border-box!important;border:var(--prep-btn-border) solid var(--prep-line)!important;border-radius:var(--prep-btn-radius)!important;background:var(--prep-raised)!important;box-shadow:none!important;color:var(--prep-text)!important;font-size:var(--prep-icon-btn-font)!important;font-weight:400!important;line-height:1!important}
/* … ohne Schriftzeichen (⌄-Maske, Symbolbild): Schrift wie ein Nebenknopf */
html[data-prep-ui]:root:not(#_):not(#__) :is(.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(#___){font-size:var(--prep-btn-font)!important;font-weight:var(--prep-btn-weight)!important;line-height:var(--prep-btn-lh)!important}
/* R4 Hover: Neben, Ruhig, Symbol 8 % Tönung; Haupt eine Stufe dunkler; Löschen rot getönt. Linie und Schrift bleiben. */
@media (hover:hover){
html[data-prep-ui]:root:not(#_):not(#__) :is(:is(.button,button.primary,button.secondary):not(.primary,.quiet,.danger):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete,.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)),.button.quiet:not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete,.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)),:is(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)),:is(.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button))):not(:disabled):hover:not(#___){background-image:linear-gradient(var(--prep-hover),var(--prep-hover))!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(.button.primary,button.primary):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete,.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)):not(:disabled):hover:not(#___){background:var(--prep-btn-primary-hover)!important}
html[data-prep-ui]:root:not(#_):not(#__) .button.danger:not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete,.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)):not(:disabled):hover:not(#___){background:var(--prep-btn-danger-hover)!important}
}
/* R4 Drücken: 1 px nach unten. Deaktiviert: halbe Deckkraft. */
html[data-prep-ui]:root:not(#_):not(#__) :is(:is(.button,button.primary,button.secondary):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete,.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)),:is(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)),:is(.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button))):not(:disabled):active{transform:translateY(1px)!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(:is(.button,button.primary,button.secondary):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete,.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)),:is(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)),:is(.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button))):disabled:not(#___){opacity:.5!important;cursor:not-allowed}
/* R5 Fokus nur bei Tastatur: bei Maus/Finger (html[data-prep-input=pointer]) bleibt er aus */
html[data-prep-ui]:not([data-prep-input="pointer"]):root :is(:is(.button,button.primary,button.secondary):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete,.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)),:is(button.icon-button,.prep-card-more,.button.prep-part-close,.coach-athlete-icon-button.coach-athlete-favorite,.button.prep-builder-back,.button.prep-mask-cancel,.builder-choice-delete):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button)):not(:where(.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more)),:is(.icon-button.calendar-arrow,.coach-week-nav>.icon-button,.prep-stepper>.icon-button,.builder-choice-move>.button,.doc-picker>.button,.button.calendar-more-button,.button.prep-chat-new,.button.builder-footer-more):not(:where(.topbar-menu>button,#calendarMoreMenu>button,.calendar-context-menu button,.online-block-type-menu>button,.prep-add-menu>button,.prep-part-add-menu>button,.prep-combo-option,.online-block-actions>button,.library-tree-row-actions>button,.event-row-menu .event-overview-card-actions>.button,.builder-footer-menu>.button,.video-action-options .video-picker-action,.pl-library-menu-item,.prep-multiline-button,.calendar-create-options>.button,.prep-create-grid>.button,.segmented-control>button,.prep-seg>button,.prep-card-tabs>button,.prep-rest-open,.calendar-tool-button,.prep-choices>.button,.prep-event-assignment-summary>.button))):focus-visible{outline:2px solid var(--prep-accent)!important;outline-offset:2px!important}
/* R12o Handy: Knöpfe sind 40 px hoch; die Tippfläche wächst unsichtbar auf 44 px (:where ohne Gewicht – vorhandene ::after/Position haben Vorrang) */
@media (max-width:760px), (max-height:500px){
 :where(html[data-prep-ui]) :where(.button,button.icon-button,.prep-card-more,.coach-athlete-icon-button){position:relative}
 :where(html[data-prep-ui]) :where(.button,button.icon-button,.prep-card-more,.coach-athlete-icon-button)::after{content:"";position:absolute;inset:-2px}
 /* Fehler aus Stufe 3 (gefunden in Stufe 5, 29.11.2026): prep-v359.css setzt jedem .page-primary am Handy bottom:90px für den
    schwebenden Knopf. Die Hauptknöpfe in Bibliothek und Nutzerverwaltung schweben nicht; seit sie position:relative haben (Tippfläche
    oben), rückten sie 90 px nach oben über die Reiter. */
 html[data-prep-ui]:root:not(#_):not(#__) :is(#athletesView,.prep-library-view) .page-primary{bottom:auto!important}
}
/* ===== Ende R6 Knöpfe ===== */

/* ===== R3b Felder: EIN Regelsatz für alle Eingabe- und Auswahlfelder (CSS-Aufräumen Stufe 4, 28.11.2026, Lars: „Stufe 4 Felder“) =====
   Text, Zahl, Datum, Uhrzeit, Auswahl, Suche, mehrzeilig. Werte: prep-tokens.css (--prep-field-*), Höhe --prep-control-h (32 px, Handy 40 px),
   Schrift --prep-field-font (13,5 px, Handy 16 px), Rundung --prep-field-radius (8 px), Linie --prep-control, Fläche --prep-surface.
   Jede Regel hat bewusst die Spezifität der früheren Einzelregel: Fachregeln (benannte Varianten, s. u.) gewinnen weiter, ältere Schichten
   (app.css, ci-8.x, prep-base-layout, prep-v359, planiq-*, …) setzen für Felder keine eigenen Maße mehr (Stufe 4 hat sie dort gestrichen).
   Benannte Varianten (eigene Regeln, bleiben): Kopf-Auswahl ohne Rahmen im Session Builder (#prepBuilderChips, R8), Tabellenzellen im
   Session Builder (.prep-set-table, .gym-set-row, Kopf-Auswahl der Spalten, .prep-set-count-input, .prep-rest-select, Beispieltabelle
   .prep-builder-sample; R17), Titel der Session-Planung (.builder-title-field), Inline-Umschalter „Uhrzeit ▾“ (#onlinePlanTimeMode),
   Session-Notiz im Builder (einzeilig, s. u.), Text-Eingaben Ausdauer/Wattbike ([data-prep-field-keep]). */
html[data-prep-ui]:root:not(#_) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]):not([type=button]):not([type=submit]),select,textarea):not(.builder-title-field input):not(#onlinePlanTimeMode):not([data-prep-field-keep]){box-sizing:border-box!important;min-height:32px!important;border:var(--prep-field-border) solid var(--prep-control)!important;border-radius:var(--prep-field-radius)!important;background-color:var(--prep-surface)!important;color:var(--prep-text)!important;font-size:var(--prep-field-font)!important;font-family:inherit!important;box-shadow:none!important;outline:none!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea):not([data-prep-field-keep]):not(#___){font-weight:var(--prep-field-weight)!important}
/* Einzeilig: Höhe = Steuerhöhe; Innenabstand 10 px, Auswahl rechts 30 px für den eigenen Pfeil */
html[data-prep-ui]:root:not(#_) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]):not([type=button]):not([type=submit]),select):not(.builder-title-field input):not(#onlinePlanTimeMode):not([data-prep-field-keep]){height:32px!important;padding-block:0!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]):not([type=button]):not([type=submit]),select:not([multiple]):not([size])):not([data-prep-field-keep]):not(#onlinePlanTimeMode):not(.builder-title-field input){height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important}
@media (max-width:760px), (max-height:500px){html[data-prep-ui]:root:not(#_) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]),select):not([data-prep-field-keep]):not(#_){min-height:40px!important;height:40px!important}}
html[data-prep-ui]:root:not(#_) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]):not([type=button]):not([type=submit])):not(.builder-title-field input):not(#onlinePlanTimeMode):not([data-prep-field-keep]){padding-inline:var(--prep-field-pad-x)!important}
html[data-prep-ui]:root:not(#_) select:not(.builder-title-field input):not(#onlinePlanTimeMode):not([data-prep-field-keep]):not([multiple]){-webkit-appearance:none!important;appearance:none!important;padding:0 var(--prep-field-pad-arrow) 0 var(--prep-field-pad-x)!important;background-image:var(--prep-field-arrow)!important;background-repeat:no-repeat!important;background-position:right 8px center!important;background-size:16px 16px!important}
html[data-prep-ui][data-theme=light]:root:not(#_) select:not(.builder-title-field input):not(#onlinePlanTimeMode):not([data-prep-field-keep]):not([multiple]){background-image:var(--prep-field-arrow)!important}
/* Suchfeld: Text beginnt rechts der Lupe */
html[data-prep-ui]:root:not(#_):not(#__) input[type=search]:not([data-prep-field-keep]):not(#___){padding-left:var(--prep-field-pad-search)!important;background-position:10px center!important}
/* Zahl-, Zeit- und Datumsfelder höchstens 180 px breit; in Popups füllen Felder ihre Spalte */
html[data-prep-ui]:root:not(#_) :is(input[type=number],input[type=time],input[type=date],input[data-prep-date-visible],input.prep-pause-clock,input[placeholder="m:ss"]):not([data-prep-field-keep]):not(#_){max-width:var(--prep-field-num-max)}
html[data-prep-ui]:root:not(#_) dialog :is(label,.field) > :is(select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file])):not(#onlinePlanTimeMode):not([data-prep-field-keep]){width:100%!important;max-width:none!important}
/* Mehrzeilig: mindestens 88 px (Stufe 4: die Mindesthöhe galt vorher nicht, weil die Grundregel mit min-height:32px stärker war) */
html[data-prep-ui]:root:not(#_) textarea:not(.builder-title-field input):not(#onlinePlanTimeMode):not([data-prep-field-keep]){padding:var(--prep-field-area-pad)!important;line-height:var(--prep-field-area-lh)!important}
html[data-prep-ui]:root:not(#_):not(#__) textarea:not(.builder-title-field input):not(#onlinePlanTimeMode):not([data-prep-field-keep]){min-height:var(--prep-field-area-min)!important}
/* Zustände: Fokus = Linie in Textfarbe (kein Grün), deaktiviert = halbe Deckkraft, Platzhalter --prep-text3 */
html[data-prep-ui]:root:not(#_) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]):not([type=button]):not([type=submit]),select,textarea):not(.builder-title-field input):not(#onlinePlanTimeMode):not([data-prep-field-keep]):is(:focus,:focus-visible){border-color:var(--prep-text2)!important;outline:none!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]):not([type=button]):not([type=submit]),select,textarea):not(.builder-title-field input):not(#onlinePlanTimeMode):not([data-prep-field-keep]):disabled{opacity:var(--prep-field-disabled)!important;cursor:not-allowed}
html[data-prep-ui]:root :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]):not([type=button]):not([type=submit]),select,textarea):not(.builder-title-field input):not(#onlinePlanTimeMode):not([data-prep-field-keep])::placeholder{color:var(--prep-text3)!important;opacity:1}
/* Session Builder: prep-base-layout.css setzt dort 36 px / 14 px mit 4 IDs – Steuerhöhe und Feldschrift */
html[data-prep-ui]:root:not(#_):not(#__) body #onlinePlanDialog.planiq-builder #onlinePlanForm :is(select:not([multiple]),input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=file])):not([data-prep-field-keep]):not(#onlinePlanTimeMode){height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important}
@media (min-width:761px) and (min-height:501px){
html[data-prep-ui]:root:not(#_):not(#__) body #onlinePlanDialog.planiq-builder #onlinePlanForm :is(select:not([multiple]),input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=file])):not([data-prep-field-keep]):not(#onlinePlanTimeMode){font-size:13.5px!important}
}
@media (min-width:761px) and (min-height:501px){
html[data-prep-ui]:root:not(#_):not(#__) body #onlinePlanDialog.planiq-builder #onlinePlanForm textarea:not(#___){font-size:13.5px!important}
/* Benannte Variante: Inline-Umschalter „Uhrzeit ▾“ behält 14 px (kam vorher aus prep-base-layout.css) */
html[data-prep-ui]:root:not(#_):not(#__) body #onlinePlanDialog.planiq-builder #onlinePlanForm #onlinePlanTimeMode:not(#___){font-size:14px!important}
/* Benannte Variante: Session-Notiz im Builder ist zugeklappt einzeilig (32 px), nicht 88 px */
html[data-prep-ui]:root:not(#_):not(#__) body #onlinePlanDialog.planiq-builder #onlinePlanForm .online-plan-session-notes textarea:not(#___){height:32px!important;min-height:32px!important;padding:6px 10px!important;line-height:18px!important}
}
/* Handy: jedes Feld 16 px, auch die benannten Varianten (R12c, sonst zoomt das iPhone beim Antippen) */
@media (max-width:760px), (max-height:500px){html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______):not(#________) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=color]),select,textarea){font-size:16px!important}}
/* Auswahl-Knöpfe, die wie ein Auswahlfeld aussehen (R3b): Athletenwahl im Popup, Kalenderauswahl im Kalenderkopf, Übungssuche (Combo) */
html[data-prep-ui]:root:not(#_) dialog .planning-target-picker > :is(button,summary){min-height:32px!important;height:32px!important;border-radius:8px!important;border:1px solid var(--prep-control)!important;background-color:var(--prep-surface)!important;font-size:13.5px!important;font-weight:400!important}
html[data-prep-ui]:root:not(#_):not(#__) #sidebarCalendarSelect:not(#___){height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;font-size:var(--prep-control-font)!important;font-weight:400!important;box-sizing:border-box!important;padding:0 8px 0 10px!important;border:1px solid var(--prep-control)!important;border-radius:var(--prep-field-radius)!important;background-color:var(--prep-surface)!important;color:var(--prep-text)!important;font-family:inherit!important;font-size:var(--prep-field-font)!important;font-weight:400!important;box-shadow:none!important;outline:none!important}
html[data-prep-ui]:root:not(#_):not(#__) #sidebarCalendarSelect:not(#___):focus-visible{border-color:var(--prep-text2)!important}
html[data-prep-ui]:root:not(#_):not(#__) #sidebarCalendarSelect .calendar-picker-chevron:not(#___){background:#8a9198!important}
html[data-prep-ui][data-theme=light]:root:not(#_):not(#__) #sidebarCalendarSelect .calendar-picker-chevron:not(#___){background:#5b636e!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-combo .prep-combo-input:not(#___){height:32px!important;min-height:32px!important;font-size:13.5px!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____) .prep-combo .prep-combo-input.prep-combo-input:not(#_____){height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;font-size:13.5px!important;font-weight:400!important;padding:0 30px 0 10px!important;background-image:var(--prep-field-arrow)!important;background-repeat:no-repeat!important;background-position:right 8px center!important;background-size:16px 16px!important;font-size:var(--prep-field-font)!important}
/* Benannte Variante: Datei-Auswahl (input[type=file]) gehört nicht zur Feldregel; Linie und Mindesthöhe wie bisher
   (kamen aus prep-v359.css und app.css, deren allgemeine Feldregeln Stufe 4 gestrichen hat) */
html:root[data-prep-ui] input[type=file]{min-height:44px;border:1px solid var(--prep-control)!important}
/* ===== Ende R3b Felder ===== */

/* ===== R3c Umschalter und Reiter: EIN Regelsatz je Art (CSS-Aufräumen Stufe 5, 28.11.2026, Lars: „Stufe 5 Umschalter“) =====
   Segment-Umschalter (.segmented-control, .prep-seg, .prep-card-tabs, .builder-entry-tabs): außen --prep-control-h (32 px, Handy 40),
   Innenabstand 3 px, Segmente innen 26 px (Handy 34), 8/6 px Rundung, 13,5 px / 600, aktives Segment in Prep-Grün gefüllt (R1).
   Reiter (.prep-page-tabs, .prep-um-tabs): Höhe --prep-control-h, 13,5 px (Handy 12 px) / 500, aktiver Reiter grün gefüllt mit
   2-px-Linie unten und oben 8 px gerundet (wie bisher Bibliothek und Analysen), Leiste mit 1-px-Linie unten.
   Werte: prep-tokens.css (--prep-seg-*, --prep-tab-*). Höhen-Haken bleiben: --prep-segmented-height, --prep-segment-height,
   --prep-segment-min-height (mehrzeilige Segmente in Einstellungen und Teilnehmer-Zuordnung).
   Stufe 5b (29.11.2026, Lars „Ausdauer und Block laden“): auch Ausdauer-Segmente im Builder (.prep-endu-seg, Labels mit Radio,
   aktiv/Fokus über :has(input)), Rhythmus/Einheiten pro Woche (.block-seg) und „Block laden“ (.block-load-seg) folgen dem Block.
   Keine Umschalter im Sinne dieses Blocks (eigene Regeln, bleiben): Wochenwahl im Block (.block-weeks, Auswahl-Chips nach R6b), Erledigt/Nicht erledigt
   in der Dokumentation, untere Tableiste. */
html[data-prep-ui]:root:not(#_):not(#__) :is(.segmented-control,.prep-seg,.prep-card-tabs,.builder-entry-tabs,.prep-endu-seg):not(#___){box-sizing:border-box!important;height:var(--prep-segmented-height,var(--prep-control-h))!important;min-height:var(--prep-control-h)!important;padding:var(--prep-seg-pad)!important;gap:var(--prep-seg-gap)!important;border:0!important;border-radius:var(--prep-seg-radius)!important;background:var(--prep-raised)!important;box-shadow:none!important;align-items:stretch!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(:is(.segmented-control,.prep-seg,.prep-card-tabs)>button,.builder-entry-tabs>.builder-entry-tab,.prep-endu-seg>label):not(#___){box-sizing:border-box!important;height:var(--prep-segment-height,calc(var(--prep-control-h) - 2 * var(--prep-seg-pad)))!important;min-height:var(--prep-segment-min-height,0)!important;padding:0 var(--prep-seg-pad-x)!important;border:0!important;border-radius:var(--prep-seg-item-radius)!important;background-color:transparent!important;color:var(--prep-text2)!important;font-size:var(--prep-seg-font)!important;font-weight:var(--prep-seg-weight)!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(:is(.segmented-control,.prep-seg,.prep-card-tabs)>button,.builder-entry-tabs>.builder-entry-tab):is(.active,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"]):not(#___),
html[data-prep-ui]:root:not(#_):not(#__) .prep-endu-seg>label:has(>input:checked):not(#___){background-color:var(--prep-green-fill)!important;color:var(--prep-on-green)!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-page-tabs,.prep-um-tabs):not(#___){border:0!important;border-bottom:1px solid var(--prep-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-page-tabs>:is(a,button),.prep-um-tabs>button):not(#___){box-sizing:border-box!important;height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;padding:0 var(--prep-tab-pad-x)!important;border:0!important;border-bottom:var(--prep-tab-line) solid transparent!important;border-radius:0!important;background-color:transparent!important;color:var(--prep-text2)!important;font-size:var(--prep-tab-font)!important;font-weight:var(--prep-tab-weight)!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-page-tabs>:is(a,button),.prep-um-tabs>button):is([aria-current="page"],[aria-pressed="true"],[aria-selected="true"]):not(#___){border-bottom-color:var(--prep-green-fill)!important;border-top-left-radius:var(--prep-tab-radius)!important;border-top-right-radius:var(--prep-tab-radius)!important;background-color:var(--prep-green-fill)!important;color:var(--prep-on-green)!important;font-weight:var(--prep-tab-active-weight)!important}
/* R4 Hover: nur Tönung, Schrift und Linie bleiben */
@media (hover:hover){html[data-prep-ui]:root:not(#_):not(#__) :is(:is(:is(.segmented-control,.prep-seg,.prep-card-tabs)>button,.builder-entry-tabs>.builder-entry-tab):not(:is(.active,[aria-pressed="true"],[aria-selected="true"],[aria-checked="true"])),.prep-endu-seg>label:not(:has(>input:checked)),:is(.prep-page-tabs>:is(a,button),.prep-um-tabs>button):not(:is([aria-current="page"],[aria-pressed="true"],[aria-selected="true"]))):not([disabled]):hover:not(#___){background-image:linear-gradient(var(--prep-hover),var(--prep-hover))!important;color:var(--prep-text2)!important;transform:none!important}}
html[data-prep-ui]:root:not(#_):not(#__) :is(:is(:is(.segmented-control,.prep-seg,.prep-card-tabs)>button,.builder-entry-tabs>.builder-entry-tab),:is(.prep-page-tabs>:is(a,button),.prep-um-tabs>button)):disabled:not(#___){opacity:.5!important;cursor:not-allowed!important}
/* R5 Fokus nur bei Tastatur, innen gezeichnet (Reiterleisten scrollen seitlich und würden ihn abschneiden) */
html[data-prep-ui]:not([data-prep-input="pointer"]):root :is(:is(:is(.segmented-control,.prep-seg,.prep-card-tabs)>button,.builder-entry-tabs>.builder-entry-tab),:is(.prep-page-tabs>:is(a,button),.prep-um-tabs>button)):focus-visible,
html[data-prep-ui]:not([data-prep-input="pointer"]):root .prep-endu-seg>label:has(>input:focus-visible){outline:2px solid var(--prep-accent)!important;outline-offset:-2px!important}
/* ===== Ende R3c Umschalter und Reiter ===== */

/* ===== R6b Chips und Tags: EIN Regelsatz je Art (CSS-Aufräumen Stufe 6, 29.11.2026, Lars: „Stufe 6 Chips“) =====
   Status-Chip (nicht anklickbar: Abzeichen, Status, Anzahl): 20 px, ganz rund, 11 px / 600, Innenabstand 0 8 px. Flächen-, Linien- und
   Schriftfarben bleiben nach Status wie bisher (Phasen-, Ampel-, Herkunftsfarben); vereinheitlicht sind nur Größe, Rundung, Schrift, Abstand.
   Höhe als Mindesthöhe mit Zeilenhöhe 18 px, damit lange Hinweise (Coachcenter-Hinweise am Handy) weiter umbrechen dürfen.
   Auswahl-Chip (anklickbar: Filter, Auswahl): Höhe --prep-control-h (32 px, Handy 40), 8 px Rundung, 13,5 px / 500, Linie und Fläche wie
   ein Nebenknopf (R6), Hover nur Tönung (R4); ausgewählt: Fläche leicht in --prep-accent getönt, Schrift bleibt. Fokus nur bei Tastatur (R5).
   Werte: prep-tokens.css (--prep-chip-*). Ältere Schichten setzen für diese Chips keine Höhe, Abstände, Rundung oder Schrift mehr.
   Keine Chips im Sinne dieses Blocks (eigene Regeln, bleiben): Trainingsart-Abzeichen (.session-training-type, .template-training-type,
   .prep-ex-type; R9a), Kopf-Auswahl im Session Builder (.prep-chip, Feld nach R3b/R8), Renn-Einträge im Kalender (.calendar-race-chip),
   Kennzahl-Pillen in Analysen, Einheit-Detail und Lauf (eigener späterer Schritt, Lars 29.11.2026), untere Tableiste.
   Benannte dritte Art (Lars 29.11.2026): Zählerpunkt an der Kalender-Werkzeugleiste (.calendar-tool-badge, 18 px mit 2-px-Ring
   oben rechts auf dem Knopf, prep-base-layout.css „#calendarToolStrip .calendar-tool-button > .calendar-tool-badge“) bleibt wie er ist. */
html[data-prep-ui]:root:not(#_):not(#__) :is(.status-pill,.coach-area-state,.coach-evidence-tag,.completion-badge,.session-publication-badge,.block-status,.block-tag,.block-pattern,.exercise-e1rm-chip,.exercise-origin,.exercise-group-count,.prep-part-tag,.coach-flag,.calendar-race-count,.prep-center-today-chip,.pl-library-tags>span,.prep-event-chips li,.prep-chat-tag,.prep-new-tag,.plan-goal-summary,.prep-filter-count,.prep-um-count,.prep-combo-filter-count,span.prep-feedback-chip):not(#___){box-sizing:border-box!important;height:auto!important;min-height:var(--prep-chip-h)!important;padding:0 var(--prep-chip-pad-x)!important;border-radius:var(--prep-chip-radius)!important;font-size:var(--prep-chip-font)!important;font-weight:var(--prep-chip-weight)!important;line-height:var(--prep-chip-lh)!important;font-style:normal!important}
html[data-prep-ui]:root:not(#_):not(#__) :is(.block-weeks>button,.prep-combo-types>button,.prep-combo-chip,.prep-combo-filter-toggle,.prep-combo-reset,.block-chip,button.prep-feedback-chip,.prep-template-athlete-pill,.prep-messages-chip):not(#___){box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center;height:var(--prep-control-h)!important;min-height:var(--prep-control-h)!important;padding:0 var(--prep-chip-select-pad-x)!important;border:var(--prep-btn-border) solid var(--prep-line)!important;border-radius:var(--prep-chip-select-radius)!important;background-color:var(--prep-raised)!important;color:var(--prep-text)!important;box-shadow:none!important;font-family:inherit!important;font-size:var(--prep-chip-select-font)!important;font-weight:var(--prep-chip-select-weight)!important;line-height:1.2!important;cursor:pointer}
/* „Block“ im Session Builder ist ein <em> im Titel: als Inline-Box, damit die Höhe greift */
html[data-prep-ui]:root:not(#_):not(#__) .prep-part-tag:not(#___){display:inline-flex!important;align-items:center;vertical-align:1px!important}
/* Bewegungsmuster im Block: der angehobene Punkt (::before) vergrößert die Zeile nicht (sonst 20,5 statt 20 px) */
html[data-prep-ui]:root:not(#_):not(#__) #blocksView .block-pattern.on::before{line-height:0}
/* Benannte Variante: „Zurücksetzen“ im Übungsfilter behält die gestrichelte Linie */
html[data-prep-ui]:root:not(#_):not(#__) .prep-combo-reset:not(#___){border-style:dashed!important}
/* Auswahl-Chips mit ×-Knopf (Stufe 6, Lars 29.11.2026): gewählte Athleten beim Speichern als Vorlage (ausgewählt, getönt) und Anhänge im
   Nachrichtenfeld. Der Chip selbst ist kein Knopf (kein Hover/Zeiger), rechts sitzt der 28-px-×-Knopf; nicht änderbare Athleten gestrichelt. */
html[data-prep-ui]:root:not(#_):not(#__) :is(.prep-template-athlete-pill,.prep-messages-chip):not(#___):not(#____){justify-content:flex-start;gap:4px;padding-inline-end:4px!important;cursor:default}
html[data-prep-ui]:root:not(#_):not(#__) .prep-template-athlete-pill.is-locked:not(#___){padding-inline-end:var(--prep-chip-select-pad-x)!important;border-style:dashed!important;background-color:transparent!important;color:var(--prep-text2)!important}
/* Benannte Variante: Entlastungswochen in der Wochenwahl bleiben in leiser Schrift */
html[data-prep-ui]:root:not(#_):not(#__) .block-weeks>button.deload:not([aria-pressed="true"]):not(#___){color:var(--prep-text3)!important}
/* Ausgewählt: Fläche leicht in --prep-accent getönt, Schrift und Linie bleiben */
html[data-prep-ui]:root:not(#_):not(#__) :is(:is(.block-weeks>button,.prep-combo-types>button,.prep-combo-chip,.prep-combo-filter-toggle,.block-chip):is([aria-pressed="true"],.is-active,.is-removable),.prep-template-athlete-pill:not(.is-locked)):not(#___){background-color:var(--prep-chip-selected-bg)!important;color:var(--prep-text)!important;border-color:var(--prep-line)!important;font-weight:var(--prep-chip-select-weight)!important}
/* R4 Hover: nur Tönung */
@media (hover:hover){html[data-prep-ui]:root:not(#_):not(#__) :is(.block-weeks>button,.prep-combo-types>button,.prep-combo-chip,.prep-combo-filter-toggle,.prep-combo-reset,.block-chip,button.prep-feedback-chip):hover:not(:disabled):not(#___){background-image:linear-gradient(var(--prep-hover),var(--prep-hover))!important;border-color:var(--prep-line)!important;color:var(--prep-text)!important}}
html[data-prep-ui]:root:not(#_):not(#__) :is(.block-weeks>button,.prep-combo-types>button,.prep-combo-chip,.prep-combo-filter-toggle,.prep-combo-reset,.block-chip,button.prep-feedback-chip):disabled:not(#___){opacity:.5!important;cursor:not-allowed!important}
/* R5 Fokus nur bei Tastatur */
html[data-prep-ui]:not([data-prep-input="pointer"]):root :is(.block-weeks>button,.prep-combo-types>button,.prep-combo-chip,.prep-combo-filter-toggle,.prep-combo-reset,.block-chip,button.prep-feedback-chip):focus-visible{outline:2px solid var(--prep-accent)!important;outline-offset:2px!important}
/* ===== Ende R6b Chips und Tags ===== */

/* ===== R8 Popups (CSS-Aufräumen Stufe 7a, 29.11.2026) – Designregeln.md R3, R6, R8, R12k =====
   EIN Regelsatz für Rahmen, Kopf, Fußleiste und × aller Popups; Werte als Token --prep-dialog-* in prep-tokens.css.
   Rahmen: Fläche --prep-surface, Linie, Rundung 14 px, Schatten. Inhalt 20 px seitlich (--dx).
   Kopf: 12 · 12 · 12 · 20 px, Haarlinie unten, bleibt beim Scrollen oben; Titel 16 px / 650, Unterzeile 12,5 px --prep-text3; × als
   Symbolknopf in Steuerhöhe (32, Handy 40; Tippfläche R12o). Fußleiste: grau (--prep-bg2), Linie oben, 12 × 16 px, Lücke 8, bleibt unten.
   Kopf-Varianten: .dialog-heading · <header> (prep-action-dialog) · header.doc-heading (Session abschließen) · ohne Kopf (form > h2).
   Ausgenommen mit eigenem Aufbau (R8): Session-Planung (.online-plan-dialog), Einheiten-Detail (.unit-detail-dialog),
   Athleten-Session (.prep-run-shell); dazu die Einrichtung (header.prep-start-header/footer.prep-start-footer, eigenes Raster). */
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog){border:var(--prep-dialog-border,1px solid var(--prep-line))!important;border-radius:var(--prep-dialog-radius,14px)!important;padding:0!important;background:var(--prep-surface)!important;box-shadow:0 24px 64px rgba(0,0,0,.5),0 2px 8px rgba(0,0,0,.3)!important}
html[data-theme=light]:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog){box-shadow:0 24px 64px rgba(17,20,24,.16),0 2px 8px rgba(17,20,24,.08)!important}
/* ::backdrop erbt keine Token aus html – darum feste Werte */
html:root dialog::backdrop{background:rgba(6,8,10,.6)}
html[data-theme=light]:root dialog::backdrop{background:rgba(17,20,24,.3)}
/* Innenabstand nur seitlich, damit Kopf und Fuß bis an den Rand reichen */
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog)>:is(form, section):has(>.dialog-heading):where(:not(.prep-run-shell)){padding:0 var(--prep-dialog-pad-x,20px)!important}
html:root:not(#_) dialog .dialog-heading h2{margin:0!important;font-size:var(--prep-dialog-title-font,16px)!important;font-weight:var(--prep-dialog-title-weight,650)!important;letter-spacing:-.01em;line-height:var(--prep-dialog-title-lh,1.3)!important}
html:root:not(#_) dialog .dialog-heading>[data-close-dialog].icon-button{display:grid!important;place-items:center;width:var(--prep-dialog-close-size,var(--prep-control-h))!important;min-width:var(--prep-dialog-close-size,var(--prep-control-h))!important;border-radius:8px!important;box-shadow:none!important;line-height:1!important;flex:none}
html:root:not(#_) dialog .dialog-heading>[data-close-dialog].icon-button:is(:hover,:focus-visible){background:var(--prep-hover)!important;color:var(--prep-text3)!important}
/* Fußleiste */
html:root:not(#_) dialog .dialog-actions>.button.danger{box-shadow:none!important;}
html:root:not(#_) dialog .dialog-actions>.button.danger:is(:hover,:focus-visible){background:color-mix(in srgb,#ef4444 10%,transparent)!important}
/* ===== 20.11.2026 (Lars): ALLE Popups einheitlich – auch die kleinen, per Code erzeugten =====
   Kopf-Varianten: .dialog-heading · <header> (prep-action-dialog) · header.doc-heading (Session dokumentieren).
   Container: dialog > form|section|div  ODER  der dialog selbst  ODER  ohne Kopf (form > h2:first-child).
   Ausgenommen: Session-Planung und Einheiten-Detail. */
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog){--dx:var(--prep-dialog-pad-x,20px);overflow:auto}

/* 1) Kopf als <header> statt .dialog-heading – gleich behandeln */
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog)>:is(form,section,div):has(>header.doc-heading){padding:0 var(--dx)!important}
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog) :is(.dialog-heading,header.doc-heading,.prep-action-dialog>header):where(:not(.prep-run-shell>.dialog-heading)){position:sticky;top:0;z-index:3;display:flex!important;align-items:center!important;gap:var(--prep-dialog-head-gap,10px)!important;margin:0 calc(-1*var(--dx)) var(--prep-dialog-head-mb,16px)!important;padding:var(--prep-dialog-head-pad-y,12px) var(--prep-dialog-head-pad-end,12px) var(--prep-dialog-head-pad-y,12px) var(--dx)!important;min-height:0!important;background:var(--prep-surface)!important;border:0!important;border-bottom:1px solid var(--prep-line)!important;border-radius:0!important}
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog) :is(.dialog-heading,header.doc-heading,.prep-action-dialog>header)>:first-child{flex:1 1 auto;min-width:0}
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog) :is(.dialog-heading,header.doc-heading,.prep-action-dialog>header) h2{margin:0!important;font-size:var(--prep-dialog-title-font,16px)!important;font-weight:var(--prep-dialog-title-weight,650)!important;letter-spacing:-.01em;line-height:var(--prep-dialog-title-lh,1.3)!important;color:var(--prep-text)!important}
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog) :is(.dialog-heading,header.doc-heading) :is(p.supporting,.prep-time-hint){margin:2px 0 0!important;font-size:var(--prep-dialog-sub-font,12.5px)!important;color:var(--prep-text3)!important}
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog) .dialog-heading .eyebrow{display:none!important}

/* 2) Kopf direkt im dialog (Planungsvorgaben, Leistung, Coach-Aktionen) */
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog):has(>:is(.dialog-heading,header)){padding:0 var(--dx)!important}
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog):has(>:is(.dialog-heading,header)):not(:has(>.dialog-actions)){padding-bottom:var(--dx)!important}

/* 3) Ohne Kopf: erstes h2 im Formular wird zum Kopf (Athlet anfragen, Athlet zuordnen) */
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog)>form:not(:has(>:is(.dialog-heading,header))){padding:0 var(--dx)!important}
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog)>form:not(:has(>:is(.dialog-heading,header)))>h2:first-child{margin:0 calc(-1*var(--dx)) 16px!important;padding:16px var(--dx) 14px!important;font-size:var(--prep-dialog-title-font,16px)!important;font-weight:var(--prep-dialog-title-weight,650)!important;line-height:var(--prep-dialog-title-lh,1.3)!important;border-bottom:1px solid var(--prep-line)}
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog)>form:not(:has(>:is(.dialog-heading,header)))>h2:first-child:has(+p.supporting){margin-bottom:0!important;padding-bottom:2px!important;border-bottom:0}
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog)>form:not(:has(>:is(.dialog-heading,header)))>h2:first-child+p.supporting{margin:0 calc(-1*var(--dx)) 16px!important;padding:0 var(--dx) 14px!important;font-size:var(--prep-dialog-sub-font,12.5px)!important;color:var(--prep-text3)!important;border-bottom:1px solid var(--prep-line)}

/* Unterer Abstand, wenn keine Fußleiste folgt */
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog)>:is(form,section,div):has(>:is(.dialog-heading,header,h2:first-child)):not(:has(>.dialog-actions)):where(:not(.prep-run-shell)){padding-bottom:var(--dx)!important}

/* Das × – immer gleich, egal welches Attribut: letzter Icon-Knopf im Kopf */
html:root:not(#_) dialog:not(.online-plan-dialog) :is(.dialog-heading,header.doc-heading,.prep-action-dialog>header)>.icon-button:last-child{display:grid!important;place-items:center;flex:none;margin:0!important;}
html:root:not(#_) dialog:not(.online-plan-dialog) :is(.dialog-heading,header.doc-heading,.prep-action-dialog>header)>.icon-button:last-child:is(:hover,:focus-visible){background:var(--prep-hover)!important;color:var(--prep-text3)!important;transform:none!important}

/* Fußleiste überall gleich (auch im dialog direkt) */
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog) :is(form,section,div:not(.dialog-actions))>.dialog-actions:last-child,
html:root:not(#_) dialog:not(.online-plan-dialog):not(.unit-detail-dialog)>.dialog-actions{position:sticky!important;bottom:0;z-index:3;display:flex!important;flex-direction:row;justify-content:flex-end!important;align-items:center;flex-wrap:wrap;gap:var(--prep-dialog-foot-gap,8px)!important;margin:var(--prep-dialog-foot-mt,20px) calc(-1*var(--dx)) 0!important;padding:var(--prep-dialog-foot-pad-y,12px) var(--prep-dialog-foot-pad-x,16px)!important;background:var(--prep-bg2)!important;border:0!important;border-top:1px solid var(--prep-line)!important;border-radius:0!important}
html:root dialog:not(.online-plan-dialog):not(.unit-detail-dialog)>form:not(:has(>:is(.dialog-heading,header)))>:is(h2:first-child,h2:first-child+p.supporting){max-width:none!important}
html:root:not(#_) #executionDialog>form>footer.doc-footer{position:sticky;bottom:0;z-index:4;display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--prep-dialog-foot-gap,8px)!important;margin:var(--prep-dialog-foot-mt,20px) calc(-1*var(--dx)) 0!important;padding:var(--prep-dialog-foot-pad-y,12px) var(--prep-dialog-foot-pad-x,16px)!important;background:var(--prep-bg2)!important;border:0!important;border-top:1px solid var(--prep-line)!important;border-radius:0!important}
/* Session abschließen am Handy: Fußleiste als zweispaltiges Raster (Abschließen … | Speichern und schließen) */
@media screen and (max-width: 540px) {
  html:root:not(#_) #executionDialog>form>footer.doc-footer {display:grid!important;grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);align-items:stretch}
}
/* „Für Fr. 20. November · Kalender …“ gehört wie bei den anderen Fenstern als Unterzeile in den Kopf */
html:root:not(#_) dialog#calendarCreateDialog>section>header.dialog-heading:has(+.calendar-create-context:not(:empty)),html:root:not(#_) dialog#calendarCreateDialog>section>div.dialog-heading:has(+p.calendar-create-context:not(:empty)){border-bottom:0!important;padding-bottom:2px!important;margin-bottom:0!important}
html:root:not(#_) #calendarCreateDialog .dialog-heading+.calendar-create-context:not(:empty){margin:0 calc(-1*var(--dx,20px)) 16px!important;padding:0 var(--dx,20px) 12px!important;max-width:none!important;font-size:var(--prep-dialog-sub-font,12.5px)!important;color:var(--prep-text3)!important;background:var(--prep-surface);border-bottom:1px solid var(--prep-line)}
/* Ergänztes × (per Code) – gleiche Optik; bei Fenstern ohne Kopfzeile oben rechts über dem Titel */
html:root:not(#_) dialog>.prep-close-floating{position:absolute!important;top:12px;right:12px;z-index:4;display:grid!important;place-items:center;width:var(--prep-dialog-close-size,var(--prep-control-h))!important;min-width:var(--prep-dialog-close-size,var(--prep-control-h))!important;border-radius:8px!important;box-shadow:none!important;line-height:1!important}
html:root:not(#_) dialog>.prep-close-floating:is(:hover,:focus-visible){background:var(--prep-hover)!important}
html:root:not(#_) dialog h2.prep-title-with-close,html:root:not(#_) dialog h2.prep-title-with-close+p.supporting{padding-right:52px!important}
/* ===== Ende R8 Popups ===== */

/* ===== R7 Menüs (CSS-Aufräumen Stufe 7b, 29.11.2026) – Designregeln.md R7, R12b, R12o =====
   EIN Regelsatz für die ⋮-/Aufklappmenüs und das Nutzermenü; Maße als Token --prep-menu-* in prep-tokens.css.
   Menü: Fläche --prep-surface, feine Linie --prep-line, Rundung 12 px, Innenabstand 8 px (Schatten bleibt beim jeweiligen Menü).
   Eintrag: mindestens 44 px, Innenabstand 8 × 12 px, Rundung 8 px, 13,5 px / 400 (Lars 29.11.2026, vorher 13 px); Hover/Fokus nur Tönung (R4).
   Bleiben beim Menü (benannt): Löschen/Entfernen rot, gesperrte Einträge, „Rechtliches“ im Nutzermenü in --prep-text2,
   Typ-Tönung im Blocktyp-Menü, Trennlinie vor „Löschen“, Abschnittsköpfe der Kalenderauswahl (40 px).
   Nicht in diesem Block (eigener Aufbau): Builder-Fußleistenmenü am Handy (.builder-footer-menu), Blocktyp-Menü (.online-block-type-menu)
   als Fläche, Abschluss-Auswahl im Dokumentieren (.doc-finish-options). */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) :is(#calendarMoreMenu,.calendar-context-menu,.topbar-menu,#sidebarCalendarPicker,.prep-add-menu,.video-action-options,.prep-combo-pop,.library-tree-row-actions,.pl-library-menu,.event-row-menu>.event-overview-card-actions,.online-training-block>details.builder-block-menu>.online-block-actions,#onlinePlanDialog .prep-col-menu){padding:var(--prep-menu-pad,8px)!important;border:1px solid var(--prep-line)!important;border-radius:var(--prep-menu-radius,12px)!important;background:var(--prep-surface)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) :is(#calendarMoreMenu>button,.calendar-context-menu button,.topbar-menu>:is(a,button):not(.user-menu-row),.topbar-menu .user-menu-legal>:is(a,button),#sidebarCalendarResults button:not(.calendar-picker-section),.prep-add-menu>button,.prep-combo-option,.video-action-options .video-picker-action,#onlinePlanDialog .online-block-actions>button,.library-tree-row-actions>button,.pl-library-menu-item,.event-row-menu>.event-overview-card-actions>.button,.online-block-type-menu>button,#onlinePlanDialog .prep-col-menu>button){min-height:var(--prep-menu-item-h,44px)!important;height:auto!important;padding:var(--prep-menu-item-pad-y,8px) var(--prep-menu-item-pad-x,12px)!important;border-radius:var(--prep-menu-item-radius,8px)!important;font-size:var(--prep-menu-item-font,13.5px)!important;font-weight:var(--prep-menu-item-weight,400)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) :is(#calendarMoreMenu>button,.calendar-context-menu button,.topbar-menu>:is(a,button):not(.user-menu-row),.topbar-menu .user-menu-legal>:is(a,button),#sidebarCalendarResults button:not(.calendar-picker-section),.prep-add-menu>button,.prep-combo-option,.video-action-options .video-picker-action,#onlinePlanDialog .online-block-actions>button,.library-tree-row-actions>button,.pl-library-menu-item,.event-row-menu>.event-overview-card-actions>.button,.online-block-type-menu>button,#onlinePlanDialog .prep-col-menu>button):is(:hover,:focus-visible):not(:disabled){background:var(--prep-hover)!important}
/* ===== Ende R7 Menüs ===== */

/* ===== R9 Auswahl- und Listenzeilen · Seitenkarten (R3) · R9f Leere Zustände · R2 Überschriften (CSS-Aufräumen Stufe 7c–7f, 29.11.2026) =====
   Nur Rahmen und Schrift; Inhaltsaufbau (Raster, Reihenfolge, Lücken) bleibt. Maße als Token in prep-tokens.css.
   R9-Zeile: Rundung 8 px, Innenabstand 8 × 12 px (Fläche, Linie, Typstreifen und Zustandsfarben bleiben bei der jeweiligen Zeile).
   Seitenkarte: Rundung 12 px, Innenabstand 16 px, Fläche --prep-surface, kein Schatten (Linie hat jede Karte schon).
     Benannte Ausnahmen: Builder-Übungskarte, „Nächster Wettkampf“; Karten mit eigenem Innenaufbau behalten den Innenabstand 0
     (Coachcenter-/Athletecenter-Karte); Profil-Kopf und Profil-Abschnitte sind keine Karten (eigener Rahmen außen).
   Leerer Zustand: Kasten (gestrichelt, --prep-raised, 8 px, 13,5 px) oder Hinweistext (13 px, --prep-text3, ohne Rahmen).
   Benannt bleiben: die Vorlagen-Leiste in „Ereignis erstellen“ (drei verbundene Knöpfe), der Name neben dem Seitentitel
     (#dashboardEyebrow) und Zusätze in Popups.
   Überschriften (Seiten; Popup-Titel bleiben 16/650 im Block „R8 Popups“): h1 24/650 (Handy 20), h2 17/650, h3 15/600,
     Abschnittsbezeichnung 11/700 GROSS --prep-text3. Benannte Ausnahmen: Datum in der Kalender-Navigationszeile, Athletenname
     in der Coachcenter-Karte, Lauftitel und Sessionbibliothek-Titel in Popups, h4. */
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) :is(#calendarCreateDialog .calendar-create-options>.button:not(:where([data-prep-create-section="templates"] *)),#blockCreateDialog #blockCreateOptions>button,.block-goals>button,.exe-choice,.pl-library-choice,.documentation-item,.prep-um-group,.prep-run-exercise,.prep-center-today-unit,#calendarRepeatDialog .calendar-repeat-days>label,.bmx-track-row){border-radius:var(--prep-row-radius,8px)!important;padding:var(--prep-row-pad-y,8px) var(--prep-row-pad-x,12px)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) :is(.card:not(.profile-identity-card,.profile-detail-section),.coach-phase-card,.bmx-track-card,.coach-athlete-card,.block-week-card){border-radius:var(--prep-card-radius,12px)!important;background:var(--prep-surface)!important;box-shadow:none!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) :is(.card:not(.profile-identity-card,.profile-detail-section),.coach-phase-card,.bmx-track-card,.block-week-card){padding:var(--prep-card-pad,16px)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) :is(.empty-state,.analysis-empty-state,.exercise-empty){border:1px dashed var(--prep-line)!important;border-radius:var(--prep-empty-radius,8px)!important;background:var(--prep-raised)!important;font-size:var(--prep-empty-font,13.5px)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) :is(.prep-admin-empty,.calendar-blocks-empty,.calendar-races-empty,.calendar-weeks-empty,.documentation-empty-phase,.prep-chat-empty,.prep-messages-empty,.prep-competition-items-empty){border:0!important;background:transparent!important;font-size:var(--prep-empty-hint-font,13px)!important;color:var(--prep-text3)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) :is(#mainContent h1:not(:where(dialog:not(#athleteDialog) *)),.exe-heading h2,.exercise-detail-title h2,h2.exercise-detail-title){font-size:var(--prep-h1,24px)!important;font-weight:var(--prep-h1-weight,650)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #mainContent h2:not(:where(dialog:not(#athleteDialog) *,.calendar-period-row *,.coach-athlete-copy *,.exe-heading *,.exercise-detail-title,.exercise-detail-title *)){font-size:var(--prep-h2,17px)!important;font-weight:var(--prep-h2-weight,650)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) #mainContent h3:not(:where(dialog:not(#athleteDialog) *,.calendar-blocks-group *,.calendar-races-section *,.sidebar-library *)){font-size:var(--prep-h3,15px)!important;font-weight:var(--prep-h3-weight,600)!important}
html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) :is(.eyebrow:not(:where(dialog *,#dashboardEyebrow)),.exe-eyebrow,.exercise-subhead,.calendar-blocks-group h3,.calendar-races-section h3,.sidebar-library h3){font-size:var(--prep-label-font,11px)!important;font-weight:var(--prep-label-weight,700)!important;letter-spacing:var(--prep-label-tracking,.06em)!important;text-transform:uppercase!important;color:var(--prep-text3)!important}
@media (max-width:760px){
  html[data-prep-ui]:root:not(#_):not(#__):not(#___):not(#____):not(#_____):not(#______):not(#_______) :is(#mainContent h1:not(:where(dialog:not(#athleteDialog) *)),.exe-heading h2,.exercise-detail-title h2,h2.exercise-detail-title){font-size:var(--prep-h1-phone,20px)!important}
}
/* ===== Ende R9 Zeilen · Karten · Leere Zustände · Überschriften ===== */
/* 04.12.2026 (Lars): Testumgebung (environment_label 'test') – das IQ im Logo ist rot (eigene *-test.svg). */
html[data-prep-env="test"] img[src*="FLIQ-Prep-hell.svg"] {content:url("FLIQ-Prep-hell-test.svg?v=61ad9da687a7")}
html[data-prep-env="test"] img[src*="FLIQ-Prep-dunkel.svg"] {content:url("FLIQ-Prep-dunkel-test.svg?v=e4cb757a5c40")}
html[data-prep-env="test"] img[src*="FLIQ-Prep-Wortmarke-hell.svg"] {content:url("FLIQ-Prep-Wortmarke-hell-test.svg?v=6b03c59207b2")}
html[data-prep-env="test"] img[src*="FLIQ-Prep-Wortmarke-dunkel.svg"] {content:url("FLIQ-Prep-Wortmarke-dunkel-test.svg?v=2a6681814b00")}
