/* FLIQ Prep V2 · v359 · Paket 1 (Design, Texte, Fehler) – wird nach prep-tokens.css geladen.
   Grundlage: Konzept/Prep-V2-Review/abgleich-v358/Umsetzungsplan.md; CI BMX-Training.com (dunkel zuerst,
   Prep-Grün nur als Akzent, keine Schatten/Verläufe, Zustände Symbol + Wort). */

/* 1. Fehlende Tokens: keine violetten/petrolfarbenen Rückfallwerte mehr (Inkonsistenz 1 + 2) */
html[data-prep-ui],html[data-prep-ui] body,html[data-prep-ui] [data-fliq-product],html[data-prep-ui] [data-product]{
  --fliq-product-planiq:var(--prep-mint-text);--fliq-accent:var(--prep-text);--fliq-on-accent:var(--prep-bg);
  --fliq-text:var(--prep-text);--fliq-surface:var(--prep-surface);--fliq-border:var(--prep-line);
  --surface-muted:var(--prep-raised);--mk-control:var(--prep-control);
}

@media screen {
/* 2. Hauptknopf: neutral invertiert, Symbol in Prep-Grün (Katalog D-03, Apple buttons.md › Style) */
html:root[data-prep-ui] :is(.button.primary,button.button.primary,a.button.primary,.planned-block-primary){
  background:var(--prep-text)!important;color:var(--prep-bg)!important;border:1px solid var(--prep-text)!important}
html:root[data-prep-ui] :is(.button.primary,.planned-block-primary):hover{background:var(--prep-text)!important;border-color:var(--prep-text)!important;box-shadow:0 0 0 2px var(--prep-control)!important}
html:root[data-prep-ui] :is(.button,button.icon-button):active{transform:translateY(1px)}
html:root[data-prep-ui] :is(.button,button.icon-button):hover:not(.primary){border-color:var(--prep-text3)!important}

/* 3. Bedienelement-Ränder ≥ 3:1 zur Fläche (Katalog D-09, WCAG 1.4.11) */

/* 4. Einheitliche Knopfhöhen: 40 px am Desktop, 44 px bei Touch (Apple accessibility.md; UI/UX Pro Max touch-target-size) */
@media (pointer:coarse){html:root[data-prep-ui] :is(.button,button.icon-button,.prep-placement button,.prep-events-table button){min-height:44px}html:root[data-prep-ui] button.icon-button{min-width:44px}}

/* 5. Zähler neutral statt Petrol */
html:root[data-prep-ui] .prep-inbox-count{background:var(--prep-text)!important;color:var(--prep-bg)!important}
}

/* Terminarten: einfarbige SVG-Symbole statt Emojis (Notiz M-24) */
.prep-event-svg{display:inline-block;vertical-align:-3px;color:var(--prep-text2)}

/* Trainingsgruppen: Leseansicht ohne Link-Optik, bearbeitbare Gruppen mit sichtbarem Hinweis (Notiz M-12) */






/* Planungseinstellungen (Coachcenter): klare Gruppen, normale Häkchen, Gewichtseinheit (Notiz M-19) */
html[data-prep-ui] .prep-settings-body{display:grid;gap:20px}
html[data-prep-ui] .prep-settings-body>form,html[data-prep-ui] .prep-settings-body>details{display:grid;gap:12px;padding:16px;border:1px solid var(--prep-line);border-radius:10px;margin:0}
html[data-prep-ui] .prep-settings-body label{display:grid;gap:6px;font-size:13px;color:var(--prep-text2)}
html[data-prep-ui] .prep-settings-body label:has(>input[type=checkbox]){display:flex;align-items:center;gap:10px;color:var(--prep-text);font-size:14px}
html[data-prep-ui] .prep-settings-body input[type=checkbox]{width:20px;height:20px;min-height:0;margin:0;accent-color:var(--prep-accent)}
html[data-prep-ui] .prep-settings-body form>.button{justify-self:start}
html[data-prep-ui] .prep-settings-body details>summary{font-weight:650;color:var(--prep-text);cursor:pointer}
html[data-prep-ui] .prep-settings-body details .user-menu-row{display:grid;gap:6px}
html[data-prep-ui] .prep-settings-body details select{width:100%}

/* Dialog-Aktionen: gleiche Höhe, natürliche Breite, rechtsbündig; Hauptaktion rechts (Notiz M-29, Apple buttons.md) */
html[data-prep-ui] dialog .dialog-actions{display:flex!important;justify-content:flex-end!important;align-items:center;}
html[data-prep-ui] dialog .dialog-actions>.button{flex:0 0 auto!important;width:auto!important;min-width:0}
html[data-prep-ui] dialog .dialog-actions>.button.danger,html[data-prep-ui] dialog .dialog-actions>[data-delete]{margin-inline-end:auto}

/* Fehlermeldungen im App-Design: Symbol + Text, Rot nur als Signal (Notiz M-30) */
html[data-prep-ui] :is(.form-error,.field-error,[id$=FormError]):not(:empty){display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border:1px solid var(--prep-bad);border-radius:8px;background:transparent;color:var(--prep-text)!important;font-size:13px}
html[data-prep-ui] :is(.form-error,.field-error,[id$=FormError]):not(:empty)::before{content:"!";flex:0 0 18px;height:18px;border-radius:50%;background:var(--prep-bad);color:var(--prep-bg);font-weight:700;font-size:12px;display:grid;place-items:center}

/* Trainingsarten: Liniensymbole statt farbiger Quadrate (Notizen M-37, M-39, M-46; CI: kein Violett, Zustand nicht nur über Farbe) */
html[data-prep-ui] .exercise-group-dot{width:18px!important;height:18px!important;border-radius:0!important;background:var(--prep-text2)!important;-webkit-mask:var(--prep-type-icon) center/contain no-repeat;mask:var(--prep-type-icon) center/contain no-repeat}
html[data-prep-ui] :is([data-exercise-group="gym"],[data-session-group="gym"],[data-training-type="gym"]){--prep-type-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%207v10M18%207v10M3%209v6M21%209v6M6%2012h12%22/%3E%3C/svg%3E")}
html[data-prep-ui] :is([data-exercise-group="athletics"],[data-session-group="athletics"],[data-training-type="athletics"]){--prep-type-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%224.5%22%20r%3D%221.8%22/%3E%3Cpath%20d%3D%22M8%2021l3-6%203%202v4M11%2015l1-5%204%203%203-1M12%2010l-4%201-2%203%22/%3E%3C/svg%3E")}
html[data-prep-ui] :is([data-exercise-group="bmx_track"],[data-session-group="bmx_track"],[data-training-type="bmx_track"]){--prep-type-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%2216%22%20r%3D%223.5%22/%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2216%22%20r%3D%223.5%22/%3E%3Cpath%20d%3D%22M6%2016l4-7h5l3%207M10%209l3%207h-7M14%206h3%22/%3E%3C/svg%3E")}
html[data-prep-ui] :is([data-exercise-group="bmx_sprint_wattbike"],[data-session-group="bmx_sprint_wattbike"],[data-training-type="bmx_sprint_wattbike"]){--prep-type-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M13%202%205%2014h6l-1%208%208-12h-6z%22/%3E%3C/svg%3E")}
html[data-prep-ui] :is([data-exercise-group="wattbike"],[data-session-group="wattbike"],[data-training-type="wattbike"]){--prep-type-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2015a8%208%200%201%201%2016%200%22/%3E%3Cpath%20d%3D%22M12%2015l4-5%22/%3E%3Cpath%20d%3D%22M4%2019h16%22/%3E%3C/svg%3E")}
html[data-prep-ui] :is([data-exercise-group="endurance"],[data-session-group="endurance"],[data-training-type="endurance"]){--prep-type-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2012h4l2-5%204%2010%202-5h6%22/%3E%3C/svg%3E")}
html[data-prep-ui] :is([data-exercise-group="other"],[data-session-group="other"],[data-training-type="other"]){--prep-type-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%2212%22%20r%3D%221.5%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%221.5%22/%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2212%22%20r%3D%221.5%22/%3E%3C/svg%3E")}
html[data-prep-ui] :is([data-exercise-group="warmup"],[data-session-group="warmup"],[data-training-type="warmup"]){--prep-type-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203c1%203%204%205%204%209a4%204%200%200%201-8%200c0-2%201-3%202-4%200%202%201%203%202%203%200-3-1-5%200-8z%22/%3E%3C/svg%3E")}
html[data-prep-ui] :is([data-exercise-group="cooldown"],[data-session-group="cooldown"],[data-training-type="cooldown"]){--prep-type-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v18M4.5%207.5l15%209M19.5%207.5l-15%209M9%204l3%202%203-2M9%2020l3-2%203%202%22/%3E%3C/svg%3E")}

/* Übung geöffnet: Rückweg über dem Titel, Titel groß, Herkunft darunter; schreibgeschützt sichtbar (Notiz M-33) */
html[data-prep-ui] .exercise-detail-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"back back" "title actions";margin-bottom:16px}
html[data-prep-ui] .exercise-detail-head>.exercise-back{grid-area:back;justify-self:start;border-radius:8px;}
html[data-prep-ui] .exercise-detail-head>.exercise-back:hover{border-color:var(--prep-control);color:var(--prep-text)}
html[data-prep-ui] .exercise-detail-head>.exercise-detail-title{grid-area:title;display:flex;flex-direction:column-reverse;gap:4px}
html[data-prep-ui] .exercise-detail-head>.exercise-detail-title>p{text-transform:none;letter-spacing:0}
html[data-prep-ui] .exercise-detail-head>.exercise-detail-actions{grid-area:actions}
html:root[data-prep-ui] #mainContent :is(input:not([type=checkbox]):not([type=radio])):disabled{opacity:1;cursor:default}

/* Kalender: Einplanen statt "+", Druck als Symbolknopf (Notizen M-52, M-62) */
html[data-prep-ui] .library-tree-schedule{display:inline-grid!important;place-items:center;flex:0 0 36px;padding:0!important;border-radius:8px!important;color:var(--prep-text)!important}
html[data-prep-ui] .library-tree-schedule>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-prep-ui] .library-tree-schedule:hover{background:var(--prep-raised)!important}
html[data-prep-ui] .library-tree-schedule svg{color:var(--prep-accent);flex:0 0 auto}

html[data-prep-ui] #calendarMoreButton>span{display:none}

/* Kalender-Auswahl (Athleten/Gruppen): ruhige Liste statt grauer Kästen (Notiz M-61) */
html:root[data-prep-ui] #sidebarCalendarResults{padding:4px}
html:root[data-prep-ui] #sidebarCalendarResults button:not(.calendar-picker-section){display:flex!important;justify-content:space-between;border:0!important;background:transparent!important;box-shadow:none!important;}
html:root[data-prep-ui] #sidebarCalendarResults button:not(.calendar-picker-section):hover,
html:root[data-prep-ui] #sidebarCalendarResults button:not(.calendar-picker-section):focus-visible{background:var(--prep-raised)!important}
html:root[data-prep-ui] #sidebarCalendarResults button[aria-selected=true],html:root[data-prep-ui] #sidebarCalendarResults button[aria-current=true],html:root[data-prep-ui] #sidebarCalendarResults button.active{background:var(--prep-raised)!important;font-weight:650!important;color:var(--prep-text)!important}
html:root[data-prep-ui] #sidebarCalendarResults .calendar-picker-section{display:flex!important;min-height:32px!important;margin-top:6px;padding:4px 6px!important;border:0!important;border-top:1px solid var(--prep-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--prep-text2)!important;font-size:12px!important;font-weight:650!important;text-transform:none}
html:root[data-prep-ui] #sidebarCalendarResults h4{color:var(--prep-text2)}

/* Codex-Prüfung v359: Klickflächen auf Touch-Geräten, kein Violett bei BMX Track, Grün nicht flächig */
@media (pointer:coarse){html[data-prep-ui] :is(.library-tree-schedule,.prep-print-button:not([hidden])){width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}
html:root[data-prep-ui] #sidebarCalendarResults button{min-height:44px!important}}
html[data-prep-ui],html[data-prep-ui] [data-training-type]{--fliq-training-type-bmx-track-vivid:#8a9198}
html:root:not(#_)[data-prep-ui] :is(#competitionDialog,#planAthletesView) .plan-goal-summary.plan-goal-result{background:transparent!important;border:1px solid var(--prep-line)!important}

/* Coachcenter-Filter als Segmentleiste mit Anzahl, Status mit Symbol (Notiz M-67) */




html[data-prep-ui] .prep-status-svg{display:inline-block;vertical-align:-2px;margin-inline-end:4px;color:var(--prep-text2)}
@media (pointer:coarse){}

/* Trainingsart-Auswahl beim Erstellen: Symbol statt Farbpunkt */
html[data-prep-ui] [data-create-session-type]{display:inline-flex!important;}
html[data-prep-ui] [data-create-session-type]::before{content:""!important;width:18px!important;height:18px!important;border:0!important;border-radius:0!important;background:var(--prep-text2)!important;-webkit-mask:var(--prep-type-icon) center/contain no-repeat;mask:var(--prep-type-icon) center/contain no-repeat}

/* Startaufbauten im Builder (Notiz M-41) */
html[data-prep-ui] .prep-starters:not([hidden]){flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;padding:12px;border:1px dashed var(--prep-control);border-radius:10px}
html[data-prep-ui] .prep-starters-label{font-size:13px;font-weight:650;color:var(--prep-text)}
html[data-prep-ui] .prep-starters-hint{flex-basis:100%;font-size:12.5px}
/* Builder nach Wahl der Art: Vorlage-Angaben als ruhige Gruppe, Dauer in normaler Größe (Notiz M-40) */
html[data-prep-ui] #onlinePlanDialog fieldset.form-grid{border:1px solid var(--prep-line)!important;border-radius:10px;padding:12px 16px 16px!important;margin:8px 0!important}
html[data-prep-ui] #onlinePlanDialog fieldset.form-grid>legend{padding:0 6px;font-size:12.5px;font-weight:650;color:var(--prep-text2);text-decoration:none}
html[data-prep-ui] #onlinePlanDialog .builder-duration-value{line-height:1.3!important}
/* Codex Paket 2: aktiver Coachcenter-Filter zusätzlich mit Linie (Kontrast ≥ 3:1) */


/* Onboarding in Schritten (Notizen M-09/M-10) */
html[data-prep-ui] .prep-step-hidden{display:none!important}
html[data-prep-ui] .prep-steps-nav{display:grid;gap:8px;margin:4px 0 8px}
html[data-prep-ui] .prep-steps-progress{margin:0;font-size:13px;font-weight:650;color:var(--prep-text)}
html[data-prep-ui] .prep-steps-list{display:flex;gap:6px;list-style:none;margin:0;padding:0}
html[data-prep-ui] .prep-steps-list li{flex:1;display:flex;align-items:center;gap:6px;padding-top:6px;border-top:3px solid var(--prep-line);font-size:12px;color:var(--prep-text2)}
html[data-prep-ui] .prep-steps-list li[aria-current=step]{border-top-color:var(--prep-accent);color:var(--prep-text);font-weight:650}
html[data-prep-ui] .prep-steps-list li[data-done]{border-top-color:var(--prep-text3)}
html[data-prep-ui] .prep-steps-list li span{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1px solid currentColor;font-size:11px}
html[data-prep-ui] .prep-steps-actions{display:flex;justify-content:space-between;gap:8px}
html[data-prep-ui] .prep-steps-actions>[data-step-next]{margin-inline-start:auto}

/* Events: Suche, Athletenfilter, Liste/Kalender, offene Wettkämpfe (Notizen M-23 bis M-27) */

html[data-prep-ui] .prep-events-open ul{list-style:none;margin:0;padding:0;border:1px solid var(--prep-line);border-radius:10px}
html[data-prep-ui] .prep-events-open li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-top:1px solid var(--prep-line)}
html[data-prep-ui] .prep-events-open li:first-child{border-top:0}
html[data-prep-ui] .prep-events-open small{color:var(--prep-text2)}
/* 02.12.2026 (Lars): Veranstaltungskalender wie der Monat im Kalender – gleiche Flächen, Tagesköpfe, KW-Spalte und Zeilenhöhe */
html[data-prep-ui] .prep-events-month{--prep-month-band:color-mix(in srgb,var(--prep-text) 5%,var(--prep-surface));--prep-month-fill:var(--prep-surface);--prep-month-row-h:clamp(128px,calc((100dvh / var(--prep-z,1) - 392px)/5),220px)}
html[data-theme="light"] .prep-events-month{--prep-month-band:var(--prep-calendar-day-heading);--prep-month-fill:var(--prep-bg2)}
html[data-prep-ui] .prep-events-month header{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}
html[data-prep-ui] .prep-events-month h2{margin:0;min-width:170px;font-size:15px;font-weight:600;text-align:center}
html[data-prep-ui] .prep-month-hint{margin:0 0 0 8px;font-size:12.5px;color:var(--prep-text3)}
html[data-prep-ui] .prep-month-grid{border:1px solid var(--prep-line);border-radius:8px;overflow:hidden;background:var(--prep-line)}
html[data-prep-ui] :is(.prep-events-month .prep-month-weekdays,.prep-month-row){display:grid;grid-template-columns:repeat(7,minmax(0,1fr)) minmax(6.5rem,.6fr);gap:1px}
html[data-prep-ui]:root:not(#_) .prep-month-edge{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:28px;margin:0;padding:0 12px;border:0;border-radius:0;background:color-mix(in srgb,var(--prep-text) 4%,var(--prep-bg));color:var(--prep-text2);font:inherit;font-size:11.5px;font-weight:600;cursor:pointer}
html[data-prep-ui]:root:not(#_) .prep-month-edge:is(:hover,:focus-visible){color:var(--prep-text);background-image:linear-gradient(var(--prep-hover),var(--prep-hover))}
html[data-prep-ui]:root:not(#_) .is-selecting-range .prep-month-edge{color:var(--prep-accent)}
html[data-prep-ui]:root:not(#_) .prep-month-edge:focus-visible{outline:2px solid var(--prep-accent);outline-offset:-2px}
html[data-prep-ui] .prep-events-month .prep-month-weekdays{margin-top:1px}
html[data-prep-ui] .prep-month-row+.prep-month-edge{margin-top:1px!important}
html[data-prep-ui] .prep-month-row{min-height:var(--prep-month-row-h);margin-top:1px}
html[data-prep-ui] .prep-events-month .prep-month-weekdays>span{display:flex;align-items:center;min-height:32px;padding:0 8px;background:var(--prep-month-band);color:var(--prep-text2);font-size:11.5px;font-weight:600}
html[data-prep-ui] .prep-events-month .prep-month-weekdays b{font-weight:inherit}
html[data-prep-ui] .prep-events-month .dn-short{display:none}
html[data-prep-ui] :is(.prep-month-cell,.prep-month-kw){display:flex;flex-direction:column;min-width:0;background:var(--prep-month-fill)}
html[data-prep-ui] :is(.prep-month-day,.prep-month-kw>span){display:flex;align-items:center;min-height:44px;padding:0 6px;border-bottom:1px solid var(--prep-line);background:var(--prep-month-band);color:var(--prep-text2);font-size:13px;font-weight:600}
html[data-prep-ui] .prep-month-kw>span{justify-content:flex-end;padding-inline-end:12px;font-size:12px;font-weight:400;color:var(--prep-text)}
html[data-prep-ui] .prep-events-month .prep-month-weekdays>.prep-month-kw-label{justify-content:flex-end;padding-inline-end:12px}
html[data-prep-ui] .prep-month-cell.is-today .prep-month-day{border-bottom-color:var(--prep-today-bg);background:var(--prep-today-bg);color:var(--prep-today-fg)}
html[data-prep-ui] .prep-month-cell.is-outside .prep-month-day{color:var(--prep-text3);font-weight:400}
html[data-prep-ui] .prep-month-events{display:flex;flex:1 1 auto;flex-direction:column;gap:6px;min-width:0;padding:6px}
html[data-prep-ui]:root:not(#_) .prep-month-event{display:flex;align-items:flex-start;gap:6px;width:100%;min-height:0;margin:0;padding:6px 8px;border:1px solid var(--prep-line);border-radius:7px;background:var(--prep-raised);color:var(--prep-text);font:inherit;font-size:12px;font-weight:600;line-height:1.3;text-align:start;cursor:pointer}
html[data-prep-ui]:root:not(#_) .prep-month-event.is-race{border-color:transparent;background:var(--prep-text);color:var(--prep-bg)}
html[data-prep-ui]:root:not(#_) .prep-month-event>:is(svg,i,.prep-event-icon){flex:none;width:13px;height:13px;margin-top:1px;color:inherit!important}
html[data-prep-ui] .prep-month-event span{min-width:0;overflow-wrap:anywhere}
html[data-prep-ui]:root:not(#_) .prep-month-add{display:flex;align-items:center;gap:6px;width:100%;min-height:28px;margin:auto 0 0;padding:0 6px;border:0;border-radius:6px;background:transparent;color:var(--prep-text2);font:inherit;font-size:12px;font-weight:500;text-align:start;cursor:pointer;opacity:0}
html[data-prep-ui]:root:not(#_) :is(.prep-month-cell:hover .prep-month-add,.prep-month-add:focus-visible){opacity:1}
html[data-prep-ui]:root:not(#_) .prep-month-add:hover{background:var(--prep-hover)}
html[data-prep-ui] .prep-month-add .calendar-plus-icon{flex:none;width:14px;height:14px}
html[data-prep-ui] .prep-month-cell.is-selecting{background:color-mix(in srgb,var(--prep-accent) 18%,var(--prep-month-fill));box-shadow:inset 0 0 0 1px var(--prep-accent)}
html[data-prep-ui] .is-selecting-range .prep-month-cell{cursor:crosshair}
html[data-prep-ui] .is-selecting-range .prep-month-add{visibility:hidden}
html[data-prep-ui] .prep-month-grid{-webkit-user-select:none;user-select:none}
@media (hover:none){html[data-prep-ui]:root:not(#_) .prep-month-add{opacity:1}html[data-prep-ui] .prep-month-hint{display:none}}
@media screen and (max-width:760px),screen and (max-height:500px){
  html[data-prep-ui] .prep-events-month{--prep-month-row-h:72px}
  html[data-prep-ui] :is(.prep-events-month .prep-month-weekdays,.prep-month-row){grid-template-columns:repeat(7,minmax(0,1fr))}
  html[data-prep-ui] :is(.prep-month-kw,.prep-events-month .prep-month-weekdays>.prep-month-kw-label,.prep-events-month .dn-long,.prep-month-hint){display:none}
  html[data-prep-ui] .prep-events-month .dn-short{display:inline}
  html[data-prep-ui] .prep-events-month .prep-month-weekdays>span{justify-content:center;padding:0}
  html[data-prep-ui] .prep-month-day{justify-content:center;min-height:30px;padding:0}
  html[data-prep-ui] .prep-month-day time{white-space:nowrap}
  html[data-prep-ui] .prep-month-cell:is([data-event-day$="-01"]) .prep-month-day{font-size:11px}
  html[data-prep-ui] .prep-month-events{gap:4px;padding:3px}
  html[data-prep-ui]:root:not(#_) .prep-month-edge{min-height:44px}
  html[data-prep-ui]:root:not(#_) .prep-month-event{justify-content:center;padding:4px 2px}
  html[data-prep-ui] .prep-month-event span{display:none}
  html[data-prep-ui]:root:not(#_) .prep-month-add{justify-content:center;min-height:44px;padding:0;opacity:1}
  html[data-prep-ui] .prep-month-add span{display:none}
}

/* Jahresansicht als Überblick (Notiz M-63) */
html[data-prep-ui] .year-month-summary{display:flex;flex-direction:column;gap:8px}
html[data-prep-ui] .year-month-summary.is-empty{opacity:.7}
html[data-prep-ui] .year-month-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0}
html[data-prep-ui] .year-month-facts>div{padding:6px 8px;border:1px solid var(--prep-line);border-radius:8px}
html[data-prep-ui] .year-month-facts dt{font-size:11.5px;color:var(--prep-text2)}
html[data-prep-ui] .year-month-facts dd{margin:0;font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}
html[data-prep-ui] .year-month-competitions{list-style:none;margin:0;padding:0;display:grid;gap:4px;font-size:12.5px}
html[data-prep-ui] .year-month-competitions li{display:flex;gap:6px;align-items:center;min-width:0}
html[data-prep-ui] .year-month-competitions span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-prep-ui] .year-month-other,html[data-prep-ui] .year-month-more{margin:0;font-size:12px;color:var(--prep-text2)}

/* Coachcenter: Tagesübersicht (Notiz M-66) */




/* Codex Paket 3: Größen und mobile Events */
@media (pointer:coarse){html[data-prep-ui] .prep-events-month header .icon-button{min-height:44px!important;min-width:44px!important}html[data-prep-ui]:root:not(#_) .prep-month-event{min-height:44px}}
/* Externe Trainer: keine Analyse, Sessionbibliothek, Blocks (Server antwortet dort mit 403) */
html[data-external-coach] :is(#primaryNav,#userMenu,.library-tabs) a:is([data-view=results],[data-view=sessions],[data-view=blocks],[href="#results"],[href="#sessions"],[href="#blocks"]),
html[data-external-coach] :is(#calendarToolSessions,#calendarToolBlocks,#calendarToolCompare){display:none!important}
/* Coachcenter 20.11.: Rückmeldungen je Athlet statt Sammelbereich */
html[data-prep-ui] .prep-feedback-dialog{width:min(640px,calc(100vw - 32px))}
html[data-prep-ui] .prep-feedback-dialog h3{margin:16px 0 8px;font-size:1rem}
html[data-prep-ui] .prep-feedback-dialog h3 small{color:var(--prep-text2);font-weight:500}
html[data-prep-ui] .prep-feedback-dialog li{padding:10px 0;border-bottom:1px solid var(--prep-line)}
html[data-prep-ui] .prep-feedback-dialog li>div{flex:1 1 260px}
html[data-prep-ui] .prep-new-tag{display:inline-flex;align-items:center;background:var(--prep-text);color:var(--prep-bg)}
/* Coachcenter-Filterzeile 20.11.: Suche, Trainingsgruppe und Anzeigen gleich hoch (40), gleiche Beschriftung, Unterkante bündig */
html[data-prep-ui] #mainContent .coach-center-filter{align-items:flex-end!important}
html[data-prep-ui] #mainContent .coach-center-filter>:is(label,.coach-center-show){display:grid!important;gap:6px!important;align-self:flex-end!important}
html[data-prep-ui] #mainContent .coach-center-filter>:is(label,.coach-center-show)>span{font-size:12.5px!important;font-weight:500!important;line-height:16px!important;letter-spacing:0!important;text-transform:none!important;color:var(--prep-text2)!important}
@media (pointer:coarse){html[data-prep-ui] #mainContent .coach-center-filter :is(input,select),html[data-prep-ui] #mainContent .coach-center-show .segmented-control{height:44px!important;min-height:44px!important}}
/* Nach Entfernen des Felds "Block": drei Kennzahlen statt vier Spalten (sonst leere Lücke) */
/* 20.11.: Heutige Einheiten an der Athletenkarte (statt Übersicht "Heute" oben) */



html[data-prep-ui] .prep-card-today-label{}



/* 20.11.: Herz an/aus ließ in Chrome einen leeren Kasten stehen. Ursache: content-visibility:auto (app.css) an den neu gezeichneten Karten. */
html[data-prep-ui] .coach-athlete-card{content-visibility:visible!important;contain-intrinsic-size:none!important}
/* 20.11.: Filterzeile mit Sortieren; Trainingsgruppe und Sortieren gleich breit, gleiche Optik wie die Suche */
html[data-prep-ui] #mainContent .coach-center-filter{flex-wrap:wrap!important;gap:12px 16px!important}
html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search){width:auto!important}
html[data-prep-ui] #mainContent .coach-center-filter>label.coach-center-search{}
html[data-prep-ui] #mainContent .coach-center-filter select{text-overflow:ellipsis}
html[data-prep-ui] .coach-sort-group{display:grid;gap:inherit}
html[data-prep-ui] .coach-sort-group+.coach-sort-group{margin-top:12px}
html[data-prep-ui] .coach-sort-heading{display:flex;align-items:baseline;gap:8px;margin:4px 0 0;font-size:15px;font-weight:700;color:var(--prep-text)}
html[data-prep-ui] .coach-sort-heading small{font-size:13px;font-weight:500;color:var(--prep-text2)}
html[data-prep-ui] #mainContent .coach-center-filter>label.coach-center-search{}
html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search){}
/* 20.11.: Nächste Einheit an der Athletenkarte klar gegliedert */
html[data-prep-ui] .prep-next-unit{display:grid;min-width:0;}
html[data-prep-ui] .prep-next-label{font-weight:500;}
html[data-prep-ui] .prep-next-title{justify-self:start;text-align:start}
html[data-prep-ui] .prep-next-when{color:var(--prep-text2);font-variant-numeric:tabular-nums}
html[data-prep-ui] .prep-next-unit>strong{}
/* 20.11.: Zeile "Training heute" gegliedert wie "Nächste Einheit" (Beschriftung · Titel · Dauer/Status) */

html[data-prep-ui] .prep-card-today-label{font-size:12.5px!important;font-weight:500!important;color:var(--prep-text2)!important}
html[data-prep-ui] .prep-card-today-title{font-weight:650!important;min-height:28px!important;text-align:start}

/* 20.11.: "Heute" als erste Kennzahl der Karte statt eigener Kasten */
html[data-prep-ui] .prep-metric-today strong{min-width:0;overflow:hidden}
html[data-prep-ui] .prep-metric-today .prep-text-action{display:block;max-width:100%;min-height:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
html[data-prep-ui] .prep-metric-today .prep-text-action:hover{text-decoration:underline}
html[data-prep-ui] .prep-metric-today small{display:inline-flex;align-items:center;gap:4px;}
/* Nächste Einheit / Offene Dokumentationen wie die Kennzahlen gestalten (kein eigener Kasten) */
html[data-prep-ui] .prep-next-unit{padding:0!important;background:none!important;border-radius:0!important;gap:1px!important}
html[data-prep-ui] .prep-next-label{font-size:12px!important;color:var(--prep-text2)!important}
html[data-prep-ui] .prep-next-title{min-height:0!important;padding:0!important;border:0!important;background:none!important;font-size:15px!important;font-weight:600!important;color:var(--prep-text)!important;cursor:pointer}
html[data-prep-ui] .prep-next-title:hover{text-decoration:underline}
html[data-prep-ui] .prep-next-when{font-size:12px!important}
html[data-prep-ui] .prep-next-unit>strong{font-size:15px!important;font-weight:600!important}
/* 20.11.: Suche nicht über die ganze Breite ziehen */
html[data-prep-ui] #mainContent .coach-center-filter>label.coach-center-search{}
html[data-prep-ui] #mainContent .coach-center-filter{justify-content:flex-start!important}
html[data-prep-ui] .coach-athlete-metrics>div>small{font-size:12px;white-space:nowrap}
html[data-prep-ui] .prep-metric-competition small{display:block;overflow:hidden;text-overflow:ellipsis}
/* Planung je Athlet aus */
html[data-prep-ui] .prep-planning-off{display:inline-flex;align-items:center;min-height:22px;margin-top:4px;padding:0 8px;border:1px solid var(--prep-control);border-radius:999px;font-size:12px;color:var(--prep-text2)}
/* 20.11.: Tageswerte (Belastung) in der zugeklappten Übersicht der Athletenkarte */
html[data-prep-ui] #dashboardContent .prep-daily-overview{margin:8px 0 0!important;}
html[data-prep-ui] .prep-coach-facts:empty{display:none}
/* Freshness als Block: Gesamtwert + "Ø aus Sprint · Power · Strength" */
html[data-prep-ui] .prep-freshness-group{border-radius:8px;}
html[data-prep-ui] .prep-freshness-group dd{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}





/* Hinweis und "Kennzahlen erklären" klein unter der Belastungszeile */
html[data-prep-ui] #dashboardContent .prep-daily-overview{display:flex!important;flex-wrap:wrap!important;}
html[data-prep-ui] #dashboardContent .prep-daily-overview>.daily-training-state{flex:1 1 100%}
html[data-prep-ui] #dashboardContent .prep-daily-overview>.daily-training-state-context{flex:1 1 100%!important;display:flex!important;}
html[data-prep-ui] #dashboardContent .prep-daily-overview>.daily-training-state-context :is(.daily-training-state-note,summary){color:var(--prep-text2)!important;margin:0!important}
html[data-prep-ui] #dashboardContent .prep-daily-overview{gap:0!important;row-gap:0!important}
html[data-prep-ui] #dashboardContent .prep-daily-overview>.daily-training-state{margin-bottom:0!important}
html[data-prep-ui] #dashboardContent .prep-daily-overview>.daily-training-state-context{margin:2px 0 0!important;padding:0!important;min-height:0!important;line-height:1.3!important}
html[data-prep-ui] #dashboardContent .prep-daily-overview>.daily-training-state-context>*{margin:0!important;padding:0!important;min-height:0!important}
html[data-prep-ui] #dashboardContent .prep-daily-overview>.daily-training-state-context summary{min-height:0!important;padding:0!important;line-height:1.3!important}
html[data-prep-ui] #dashboardContent .prep-daily-overview>.daily-training-state-context :is(.daily-training-state-note,summary){font-size:10px!important}
/* Freshness wie die anderen Werte: Label (Ø aus 3), Wert, darunter klein Sprint · Power · Strength – ohne eigenen Kasten */
html[data-prep-ui] .prep-freshness-group{padding:0!important;border:0!important;background:none!important}





html[data-prep-ui] #dashboardContent .coach-athlete-card>.prep-daily-overview+.coach-flags{margin-top:10px!important}
/* Aufgeklappter Teil beginnt jetzt mit der Wochenleiste: deren obere Linie und Abstand entfallen (sonst Doppelstrich) */
html[data-prep-ui] #dashboardContent .coach-athlete-body>.coach-week-heading:first-child{border-top:0!important;margin-top:0!important;padding-top:0!important}
/* Woche-Knopf rechts unten in der Kartenübersicht */
html[data-prep-ui] #dashboardContent .prep-card-foot{display:flex;}
html[data-prep-ui] #dashboardContent .prep-card-foot{}
/* Hinweise links, Woche-Knopf rechts in einer Zeile (bricht um, wenn zu schmal) */
html[data-prep-ui] #dashboardContent .prep-card-foot{flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;}
html[data-prep-ui] #dashboardContent .prep-card-foot>.coach-flags{margin:0!important;flex:1 1 auto}
/* 02.12.2026 (Lars): nicht abgeschlossene Einheiten – eine Zeile, Liste aufklappbar */
html[data-prep-ui] #dashboardContent .coach-flag-list{min-width:0}
html[data-prep-ui] #dashboardContent .coach-flag-list[open]{flex-basis:100%}
html[data-prep-ui] #dashboardContent .coach-flag-list>summary{position:relative;width:fit-content;list-style:none;cursor:pointer}
html[data-prep-ui] #dashboardContent .coach-flag-list>summary::-webkit-details-marker{display:none}
html[data-prep-ui] #dashboardContent .coach-flag-list>summary::after{content:"";position:absolute;inset:-12px 0}
html[data-prep-ui] #dashboardContent .coach-flag-list>summary>.prep-menu-chevron{width:12px;height:12px}
html[data-prep-ui] #dashboardContent .coach-flag-list>summary:focus-visible{outline:2px solid var(--prep-accent);outline-offset:2px}
html[data-prep-ui] #dashboardContent .coach-flag-list>ul{display:grid;gap:0;max-width:640px;margin:8px 0 0;padding:0;list-style:none;font-size:13px}
html[data-prep-ui] #dashboardContent .coach-flag-list li{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:6px 0;border-top:1px solid var(--prep-line)}
html[data-prep-ui] #dashboardContent .coach-flag-list li:first-child{border-top:0}
html[data-prep-ui] #dashboardContent .coach-flag-list li>.prep-text-action{padding:0;text-align:start;white-space:normal;overflow-wrap:anywhere}
html[data-prep-ui] #dashboardContent .coach-flag-list li>small{color:var(--prep-text2)}
html[data-prep-ui] #dashboardContent .coach-flag-list li>.button{margin-inline-start:auto}
/* 02.12.2026 (Lars): Symbole neben dem Namen (Benachrichtigungen, Huddle) */
html[data-prep-ui] .prep-athlete-signals{display:inline-flex;flex:none;gap:6px}
html[data-prep-ui] .prep-athlete-signals:empty{display:none}
html[data-prep-ui]:root:not(#_) .prep-athlete-signal{position:relative;display:inline-flex;align-items:center;gap:4px;height:var(--prep-control-h);min-height:0;margin:0;padding:0 8px;border:1px solid var(--prep-line);border-radius:8px;background:var(--prep-raised);color:var(--prep-text);font:inherit;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;cursor:pointer}
html[data-prep-ui]:root:not(#_) .prep-athlete-signal:hover{background-image:linear-gradient(var(--prep-hover),var(--prep-hover))}
html[data-prep-ui] .prep-athlete-signal::after{content:"";position:absolute;inset:-6px 0}
html[data-prep-ui] .prep-athlete-signal svg{width:16px;height:16px;color:var(--prep-accent)}
html[data-prep-ui] #dashboardContent .prep-card-foot>.coach-athlete-details{margin-inline-start:auto}
html[data-prep-ui] #dashboardContent .prep-card-foot{padding:0 16px 12px 16px!important;margin-top:0!important}
html[data-prep-ui] #dashboardContent .prep-daily-overview{padding:0 16px!important}
/* Einstellungen-Dialog (Menü unter dem Namen) */
html[data-prep-ui] .prep-account-settings{width:min(560px,calc(100vw - 32px))}
html[data-prep-ui] .prep-settings-section+.prep-settings-section{margin-top:16px;padding-top:16px;border-top:1px solid var(--prep-line)}
html[data-prep-ui] .prep-settings-section h3{}
html[data-prep-ui] .prep-settings-section .compact-field{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px}
html[data-prep-ui] .prep-settings-section details[data-prep-account-units]>div{display:grid;gap:8px}
html[data-prep-ui] .prep-settings-section details[data-prep-account-units] label{display:flex;align-items:center;justify-content:space-between;gap:12px}
/* Einstellungen: Zeilen mit Text links und Schalter rechts */
html[data-prep-ui] .prep-account-settings .prep-settings-body{display:block}
html[data-prep-ui] .prep-set-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:8px 0;border-top:1px solid var(--prep-line)}
html[data-prep-ui] .prep-settings-section h3+.prep-set-row,html[data-prep-ui] .prep-settings-section h3+details .prep-set-row:first-child,html[data-prep-ui] .prep-settings-section>div>.prep-set-row:first-child{border-top:0}
html[data-prep-ui] .prep-set-text{display:grid;gap:2px;min-width:0}
html[data-prep-ui] .prep-set-text strong{font-size:14px;font-weight:600;color:var(--prep-text)}
html[data-prep-ui] .prep-set-text small{font-size:12px;color:var(--prep-text2)}
html[data-prep-ui] .prep-settings-section h3{margin:0 0 4px;font-size:12px;font-weight:600;letter-spacing:.02em;color:var(--prep-text2)}
html[data-prep-ui] .prep-account-settings details[data-prep-account-units]>small{display:block;font-size:12px;color:var(--prep-text2)}
/* Segment-Schalter */
html[data-prep-ui] .prep-seg{display:inline-flex;flex:none;}
html[data-prep-ui] .prep-seg>button{display:grid;justify-items:center;align-content:center;font:inherit;cursor:pointer;line-height:1.15}
html[data-prep-ui] .prep-seg>button small{font-size:10.5px;opacity:.8}
html[data-prep-ui] .prep-seg>button[aria-checked="true"]{background:var(--prep-text);color:var(--prep-bg);font-weight:650}
html[data-prep-ui] .prep-seg>button:hover:not([aria-checked="true"]){color:var(--prep-text)}
html[data-prep-ui] .prep-seg>button:focus-visible,html[data-prep-ui] .prep-stepper button:focus-visible,html[data-prep-ui] .prep-switch:focus-visible{outline:2px solid var(--prep-accent);outline-offset:2px}
/* Stepper */
html[data-prep-ui] .prep-stepper{display:inline-flex;align-items:center;border:1px solid var(--prep-line);border-radius:10px;overflow:hidden}
html[data-prep-ui] .prep-stepper button{cursor:pointer}
html[data-prep-ui] .prep-stepper button:disabled{opacity:.35;cursor:default}
html[data-prep-ui] .prep-stepper output{min-width:72px;text-align:center;font-variant-numeric:tabular-nums;font-weight:600;font-size:14px}
/* Ein/Aus-Schalter */
html[data-prep-ui] .prep-set-inline{display:inline-flex;align-items:center;gap:10px;flex:none}
html[data-prep-ui] .prep-set-time{height:36px;padding:0 8px;border:1px solid var(--prep-control);border-radius:8px;background:var(--prep-surface);color:var(--prep-text)}
html[data-prep-ui] .prep-switch{position:relative;width:46px;height:28px;flex:none;border:0;border-radius:999px;background:var(--prep-control);cursor:pointer;transition:background .15s}
html[data-prep-ui] .prep-switch span{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .15s}
html[data-prep-ui] .prep-switch[aria-checked="true"]{background:var(--prep-green-fill);box-shadow:var(--prep-selection-inset)}
html[data-prep-ui] .prep-switch[aria-checked="true"] span{transform:translateX(18px);background:var(--prep-on-green)}
html[data-prep-ui] .prep-set-status{min-height:16px;margin:4px 0 0;font-size:12px;color:var(--prep-text2)}
@media (pointer:coarse){html[data-prep-ui] .prep-seg>button{min-height:40px}html[data-prep-ui] .prep-stepper button{width:44px;height:44px}}
@media (prefers-reduced-motion:reduce){html[data-prep-ui] .prep-switch,html[data-prep-ui] .prep-switch span{transition:none}}
/* Coachcenter-Überschrift in einer Zeile: "Coachcenter  Lars Ludewig" */
html[data-prep-ui] #dashboardView .page-heading>div:first-child{display:flex!important;}
html[data-prep-ui] #dashboardView #dashboardEyebrow{order:2;margin:0!important;text-transform:none;}
html[data-prep-ui] #dashboardView .page-heading>div:first-child{flex-wrap:nowrap!important;}
html[data-prep-ui] #dashboardView #welcomeTitle{flex:none!important;width:auto!important;margin:0!important}
html[data-prep-ui] #dashboardView #dashboardEyebrow{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root:not(#_) [data-prep-ui] #dashboardView .page-heading>div:first-child,html[data-prep-ui] body #dashboardView .page-heading>div:first-child{flex-direction:row!important;align-items:baseline!important}
/* Name gleich groß wie "Coachcenter", nur leichter: "Coachcenter · Lars Ludewig" */
html[data-prep-ui] #dashboardView #dashboardEyebrow{font-size:24px!important;line-height:36px!important;font-weight:450!important;letter-spacing:-.01em!important;color:var(--prep-text2)!important}
html[data-prep-ui] #dashboardView #dashboardEyebrow::before{color:var(--prep-text2)}
html[data-prep-ui] #dashboardView .page-heading>div:first-child{gap:4px 12px!important}
html[data-prep-ui] #dashboardView #dashboardEyebrow::before{content:""!important;display:inline-block;height:.9em;margin-inline-end:12px;vertical-align:-.08em;opacity:1}
html[data-prep-ui] #dashboardView #dashboardEyebrow::before{width:3px!important;border-radius:2px;background:var(--prep-accent)!important}
/* Einfache Leeranzeige im Coachcenter (statt großer Karte) */
html[data-prep-ui] #dashboardContent .prep-empty-line{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;padding:12px 16px;border:1px dashed var(--prep-line);border-radius:10px;color:var(--prep-text2);font-size:14px}
html[data-prep-ui] #dashboardContent .prep-empty-ok{color:var(--prep-mint-text);font-weight:700}
html[data-prep-ui] .prep-skipped{display:block;color:var(--prep-warn,#f59e0b);font-size:12.5px}
html[data-prep-ui] .prep-skipped:empty{display:none}
/* Letzte RPE / Ist − Soll: Alter darunter, ab 3 Tagen abgeblendet */
html[data-prep-ui] .prep-load-fact .prep-fact-age{display:block;font-size:10.5px;font-weight:500;line-height:1.2}
html[data-prep-ui] .prep-load-fact.is-stale dd{color:var(--prep-text2)!important;opacity:.7}
html[data-prep-ui] #mainContent .coach-center-filter>label.coach-center-search{}
html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search){}
html[data-prep-ui] #mainContent .coach-center-filter>label.coach-center-search{}
html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search){}
/* Auswahlfelder so breit wie ihr Inhalt (kein Abschneiden); "Anzeigen" bricht bei Bedarf in die nächste Zeile */
html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search){min-width:0!important;max-width:none!important}
html[data-prep-ui] #mainContent .coach-center-filter>label.coach-center-search{}
/* Feste Breiten in der Filterzeile (nichts verschiebt sich beim Umschalten) */
html[data-prep-ui] #mainContent .coach-center-filter>label.coach-center-search{min-width:0!important}
html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search){flex:0 0 auto!important}
html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search) select{field-sizing:fixed!important;min-width:0!important}
html[data-prep-ui] #mainContent .coach-center-filter select[data-dashboard-group]{text-overflow:ellipsis}
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]{}
html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search) select[data-coach-sort]{}
/* "Anzeigen" immer in eigener Zeile darunter (feste Anordnung) */
html[data-prep-ui] #mainContent .coach-center-filter>.coach-center-show{}
html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search) select[data-dashboard-group]{}
html[data-prep-ui] #mainContent .coach-center-show .segmented-control{width:max-content!important;justify-self:start}
/* Suchfeld: Lupe links, Text direkt dahinter */
html[data-prep-ui] #mainContent .coach-center-filter input[type=search]{}
html[data-prep-ui] #mainContent .coach-center-filter input[type=search]{}
/* Eine Zeile, wenn genug Platz ist (feste Breiten, Umbruch nur bei schmalem Fenster) */
html[data-prep-ui] #mainContent .coach-center-filter>.coach-center-show{flex:0 0 auto!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-sort]{}
html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search) select[data-coach-sort]{width:150px!important}
html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search) select[data-dashboard-group]{}
/* ===== Coachcenter mobil (≤ 760 px): Reiter je Athlet, kompakte Karte, Filter in voller Breite ===== */
html[data-prep-ui] .prep-card-tabs{display:none}
@media screen and (max-width:760px), screen and (max-height:500px){
  /* Filter */
  html[data-prep-ui] #mainContent .coach-center-filter{display:grid!important;gap:10px 12px!important}
  html[data-prep-ui] #mainContent .coach-center-filter>label:has([data-dashboard-group]),html[data-prep-ui] #mainContent .coach-center-filter>.coach-center-show{grid-column:1/-1;width:auto!important;max-width:none!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],
  html[data-prep-ui] #mainContent .coach-center-filter>label:not(.coach-center-search) select[data-coach-sort]{width:100%!important}
  html[data-prep-ui] #mainContent .coach-center-show .segmented-control{width:100%!important;display:grid!important;grid-template-columns:repeat(3,1fr)}
  html[data-prep-ui] #mainContent .coach-center-show .prep-filter-count{display:block;margin:0 auto;width:max-content}
  /* Karte: Kopf auflösen, Reihenfolge per order */
  html[data-prep-ui] #dashboardContent .coach-athlete-card{display:flex!important;padding:14px!important}
  html[data-prep-ui] #dashboardContent .coach-athlete-card>.coach-athlete-head{display:contents!important}
  html[data-prep-ui] #dashboardContent .coach-athlete-identity{order:1}
  html[data-prep-ui] #dashboardContent .prep-card-tabs{order:2;display:grid;grid-template-columns:repeat(3,1fr);}
  html[data-prep-ui] #dashboardContent .prep-card-tabs>button{font:inherit;}
  html[data-prep-ui] #dashboardContent .coach-athlete-card>.coach-athlete-head>.coach-athlete-metrics{order:3;margin:0!important;grid-template-columns:1fr 1fr!important}
  html[data-prep-ui] #dashboardContent .coach-athlete-card>.prep-coach-facts{order:4;padding:0!important}
  html[data-prep-ui] #dashboardContent .coach-athlete-card>.prep-daily-overview{order:5;padding:0!important;margin:0!important}
  html[data-prep-ui] #dashboardContent .coach-athlete-card>.prep-card-foot{order:6;padding:0!important}
  html[data-prep-ui] #dashboardContent .coach-athlete-card>.coach-athlete-body{order:7;border-top:0!important;padding-top:0!important;margin:0!important}
  html[data-prep-ui] #dashboardContent .coach-athlete-card>.coach-athlete-head>.coach-athlete-actions{order:8;display:grid!important;margin:0!important;width:auto!important}
  html[data-prep-ui] #dashboardContent .coach-athlete-actions>.button{width:auto!important}
  html[data-prep-ui] #dashboardContent .prep-card-foot>.coach-athlete-details{display:none!important}
  /* Reiter-Inhalte */
  html[data-prep-ui] #dashboardContent .coach-athlete-card[data-card-tab="overview"] :is(.prep-daily-overview,.coach-athlete-body){display:none!important}
  html[data-prep-ui] #dashboardContent .coach-athlete-card[data-card-tab="load"]>.coach-athlete-head>.coach-athlete-metrics,
  html[data-prep-ui] #dashboardContent .coach-athlete-card[data-card-tab="load"] :is(.prep-card-foot,.coach-athlete-body){display:none!important}
  html[data-prep-ui] #dashboardContent .coach-athlete-card[data-card-tab="week"]>.coach-athlete-head>.coach-athlete-metrics,
  html[data-prep-ui] #dashboardContent .coach-athlete-card[data-card-tab="week"] :is(.prep-daily-overview,.prep-card-foot,.prep-coach-facts){display:none!important}
  html[data-prep-ui] #dashboardContent .coach-athlete-card[data-card-tab="week"] .coach-athlete-body{display:block!important}
  html[data-prep-ui] #dashboardContent .coach-athlete-card[data-card-tab="load"] .daily-training-state{display:grid!important;grid-template-columns:repeat(3,1fr);gap:10px 12px}
  /* Woche mobil: Tage untereinander */
  html[data-prep-ui] #dashboardContent .coach-week-grid{grid-template-columns:1fr!important}
}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] #dashboardContent .coach-athlete-card .coach-athlete-actions>*{overflow:hidden;text-overflow:ellipsis}
}
@media screen and (max-width:760px), screen and (max-height:500px){html[data-prep-ui] #dashboardContent .coach-athlete-card>.coach-athlete-head>.coach-athlete-actions{grid-template-columns:1.5fr 1fr 1fr 44px!important}}
@media screen and (max-width:760px), screen and (max-height:500px){}
/* Burgermenü der Hauptnavigation (nur wenn die Reiter nicht in die Zeile passen) */
html[data-prep-ui] .prep-nav-burger{display:none}
html[data-prep-ui][data-nav-collapsed] .prep-nav-burger{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;margin-inline-start:8px;border:1px solid var(--prep-line);border-radius:10px;background:var(--prep-surface);color:var(--prep-text);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
html[data-prep-ui][data-nav-collapsed] .prep-nav-burger:focus-visible{outline:2px solid var(--prep-accent);outline-offset:2px}
html[data-prep-ui][data-nav-collapsed] .prep-nav-current{max-width:40vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:root[data-prep-ui][data-nav-collapsed]:not([data-nav-open]) .topbar .primary-nav{display:none!important}
html:root[data-prep-ui][data-nav-collapsed][data-nav-open] .topbar{position:relative}
html:root[data-prep-ui][data-nav-collapsed][data-nav-open] .topbar .primary-nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;position:absolute!important;z-index:200;overflow:visible!important;gap:2px!important;padding:8px!important;border:1px solid var(--prep-line);border-radius:12px;background:var(--prep-surface);box-shadow:0 16px 40px rgba(0,0,0,.45)}
html:root[data-prep-ui][data-nav-collapsed][data-nav-open] .topbar .primary-nav>a{display:flex;align-items:center;min-height:44px;padding:0 12px!important;border-radius:8px;white-space:nowrap}
html:root[data-prep-ui][data-nav-collapsed][data-nav-open] .topbar .primary-nav>a[hidden]{display:none!important}
html:root[data-prep-ui][data-nav-collapsed][data-nav-open] .topbar .primary-nav>a::after{display:none!important}
html:root[data-prep-ui][data-nav-collapsed][data-nav-open] .topbar .primary-nav>:is(a.active,a[aria-current="page"]){background:var(--prep-raised);color:var(--prep-text)}
@media (prefers-reduced-motion:no-preference){html:root[data-prep-ui][data-nav-collapsed][data-nav-open] .topbar .primary-nav{animation:prep-nav-in .14s ease-out}@keyframes prep-nav-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}}
html:root[data-prep-ui][data-nav-collapsed] #appShell>.topbar{flex-wrap:nowrap!important;align-items:center!important;height:56px!important;padding-top:0!important}
html:root[data-prep-ui][data-nav-collapsed] .prep-nav-burger{flex:0 1 auto!important;margin-inline-start:auto!important;width:auto!important;min-width:0}
html:root[data-prep-ui][data-nav-collapsed] .topbar .user-menu{margin-left:8px!important}
html:root[data-prep-ui][data-nav-collapsed] .topbar .prep-brand{flex:0 0 auto!important;width:auto!important;min-width:0}
html:root[data-prep-ui][data-nav-collapsed][data-nav-open] .topbar .primary-nav{top:calc(100% + 4px)!important;bottom:auto!important;margin:0!important;height:auto!important;max-height:calc(100dvh - 72px);overflow-y:auto!important;transform:none}
html:root[data-prep-ui][data-nav-collapsed] body #appShell>header.topbar{display:flex!important;grid-template-columns:none!important}
html:root[data-prep-ui][data-nav-collapsed][data-nav-open] .topbar .primary-nav{width:auto!important;flex:none!important;left:12px!important;right:12px!important;max-width:none!important}
html:root[data-prep-ui][data-nav-collapsed][data-nav-open] body .topbar .primary-nav{background:var(--prep-surface,#16191c)!important;border:1px solid var(--prep-line)!important;border-radius:12px!important;box-shadow:0 16px 40px rgba(0,0,0,.5)!important;padding:8px!important;opacity:1!important}
html:root[data-prep-ui][data-nav-collapsed][data-nav-open] body .topbar .primary-nav>a{color:var(--prep-text2)!important;font-size:15px!important;height:auto!important;border-bottom:0!important}
html:root[data-prep-ui][data-nav-collapsed][data-nav-open] body .topbar .primary-nav>:is(a.active,a[aria-current="page"]){background:var(--prep-raised)!important;color:var(--prep-text)!important;font-weight:650}
/* Mobil: Filter ein-/ausklappbar (Suche + Knopf "Filter" sichtbar, Anzeigen bleibt sichtbar) */
html[data-prep-ui] .prep-filter-toggle{display:none}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] #mainContent .coach-center-filter{}
  html[data-prep-ui] #mainContent .coach-center-filter>label.coach-center-search{}
  html[data-prep-ui] .prep-filter-toggle{align-self:end;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:44px;border:1px solid var(--prep-control);border-radius:8px;background:var(--prep-surface);color:var(--prep-text);font:inherit;font-size:14px;font-weight:600}
  html[data-prep-ui] .prep-filter-toggle b{min-width:20px;padding:0 6px;border-radius:999px;background:var(--prep-green-fill);color:var(--prep-on-green);box-shadow:var(--prep-selection-inset);font-size:12px;line-height:20px;text-align:center}
  html[data-prep-ui] .prep-filter-toggle[aria-expanded="true"]{border-color:var(--prep-text)}
  html[data-prep-ui] #mainContent .coach-center-filter>label:has([data-dashboard-group]){grid-column:1/-1!important}
  html[data-prep-ui] #mainContent .coach-center-filter>label:has([data-coach-group]){}
  html[data-prep-ui] #mainContent .coach-center-filter>label:has([data-coach-sort]){}
  html[data-prep-ui] #mainContent .coach-center-filter:not([data-filters-open])>label:not(.coach-center-search){display:none!important}
}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] .prep-filter-toggle{grid-column:3!important}
  html[data-prep-ui] #mainContent .coach-center-filter>label:has([data-coach-sort]){grid-column:2/-1!important}
}
/* Anmeldung: Auge mittig im Passwortfeld */
html[data-prep-ui] .prep-password-wrap>label{margin-bottom:0!important}
html[data-prep-ui] .prep-password-wrap>.prep-show-password{top:auto!important;bottom:0!important;height:44px!important;display:inline-flex!important;align-items:center;justify-content:center}
/* Anmeldung mobil: kompakter */
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] .auth-brand{min-height:0!important;height:auto!important;padding:20px 20px 16px!important;gap:12px!important}
  html[data-prep-ui] .auth-brand h2,html[data-prep-ui] .auth-brand :is(p,strong){margin:0!important;font-size:18px!important}
  html[data-prep-ui] .auth-card{padding:20px!important}
  html[data-prep-ui] #loginForm>*+*{}
  html[data-prep-ui] #loginForm>p.supporting{}
  html[data-prep-ui] #loginForm>.prep-remember{margin-top:14px!important}
  html[data-prep-ui] #loginForm>button[type=submit]{}
  html[data-prep-ui] #loginForm>a.button{margin-top:8px!important}
}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] #loginForm{}
  html[data-prep-ui] #loginForm>*,html[data-prep-ui] #loginForm>*+*,html[data-prep-ui] #loginForm .prep-password-wrap>label{margin-top:0!important;margin-bottom:0!important}
  html[data-prep-ui] #loginForm>p.supporting{margin-top:-4px!important}
  html[data-prep-ui] #loginForm>button[type=submit]{}
}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] .auth-card{width:auto!important;max-width:none!important;margin:16px!important;align-self:start!important}
  html[data-prep-ui] .auth-screen{align-content:start!important;justify-content:stretch!important}
}
/* Wochenansicht: Status (Symbol + Wort) in einer Zeile */
html[data-prep-ui] .coach-week-unit .prep-status{display:inline-flex!important;align-items:center;gap:4px;white-space:nowrap}
html[data-prep-ui] .coach-week-unit .prep-status>b{display:inline!important;margin:0!important;font-weight:inherit}
/* Kürzel-Kreis ohne zusätzlichen Ring */
html:root[data-prep-ui] #dashboardContent .coach-athlete-avatar{border:0!important;box-shadow:none!important;outline:0!important}
/* Mobil: leere Tage einzeilig ("MO 16.  frei  +") */
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] #dashboardContent .coach-week-day:not(.has-session):not(.has-event){display:flex!important;align-items:center;gap:10px;min-height:44px!important;padding:4px 10px!important}
  html[data-prep-ui] #dashboardContent .coach-week-day:not(.has-session):not(.has-event)>.coach-week-day-head{display:contents!important}
  html[data-prep-ui] #dashboardContent .coach-week-day:not(.has-session):not(.has-event) .coach-week-entries{order:2;margin:0!important}
}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] #dashboardContent .coach-week-day:not(.has-session):not(.has-event){flex-direction:row!important;justify-content:flex-start!important}
  html[data-prep-ui] #dashboardContent .coach-week-day:not(.has-session):not(.has-event) :is(.coach-week-weekday,time){margin:0!important}
  html[data-prep-ui] #dashboardContent .coach-week-nav{flex-wrap:wrap;}
}
/* Kürzel oben rechts: ein Kreis, kein Kasten/Ring drumherum */
html:root[data-prep-ui] .topbar .user-menu-button{background:transparent!important}
@media (hover:hover){html:root[data-prep-ui] .topbar .user-menu-button:hover{background:var(--prep-raised)!important}}
html:root[data-prep-ui] .topbar .user-menu-avatar{border:0!important;width:32px!important;height:32px!important}
/* Mobil: etwas mehr Luft zwischen Text und Knöpfen (Lars 20.11.) */
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] #dashboardContent .coach-athlete-card{gap:14px!important}
  html[data-prep-ui] #dashboardContent .coach-athlete-card>.coach-athlete-head>.coach-athlete-actions{margin-top:4px!important}
  html[data-prep-ui] #dashboardContent .prep-card-tabs{margin-top:2px}
  html[data-prep-ui] #mainContent .coach-center-filter{row-gap:14px!important}
  html[data-prep-ui] #loginForm{row-gap:14px!important}
  html[data-prep-ui] #loginForm>button[type=submit]{margin-top:12px!important}
  html[data-prep-ui] #loginForm>label,html[data-prep-ui] #loginForm .prep-password-wrap>label{gap:8px!important}
}
/* ===== Handy: Tab-Leiste unten (iOS-Muster) ===== */
html[data-prep-ui] .prep-tabbar{display:none}
@media screen and (max-width:760px), screen and (max-height:500px){
  /* oben nur Logo + Profil */
  html:root[data-prep-ui] body #appShell>header.topbar .primary-nav,html:root[data-prep-ui] body .prep-nav-burger{display:none!important}
  html:root[data-prep-ui] body #appShell>header.topbar{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;height:56px!important;padding-top:0!important}
  html:root[data-prep-ui] body #appShell>header.topbar .user-menu{margin-left:auto!important}
  /* Leiste */
  html[data-prep-ui] body:has(#appShell:not([hidden])) .prep-tabbar{display:grid;position:fixed;}
  html[data-prep-ui] body:has(#appShell:not([hidden])) #appShell{}
  html[data-prep-ui] .prep-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px 2px;border:0;background:none;font:inherit;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
  html[data-prep-ui] .prep-tab span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html[data-prep-ui] .prep-tabbar .prep-tab > span{text-align:center;line-height:1.1}
  html[data-prep-ui] .prep-tab:focus-visible{outline:2px solid var(--prep-accent);outline-offset:-2px}
  /* More-Blatt */
  html[data-prep-ui] .prep-more-sheet:not([hidden]){display:block;position:fixed;inset:0;z-index:160}
  html[data-prep-ui] .prep-more-backdrop{position:absolute;inset:0;touch-action:none}
  html[data-prep-ui] .prep-more-panel{position:absolute;border-top:1px solid var(--prep-line);display:flex;flex-direction:column;max-block-size:calc(100dvh - 100px - env(safe-area-inset-bottom,0px))}
  html[data-prep-ui] .prep-more-grabber{width:36px;height:5px;border-radius:3px;background:var(--prep-control);flex:none}
  html[data-prep-ui] .prep-more-panel :is(.prep-more-head,.prep-more-grabber){touch-action:none}
  html[data-prep-ui] .prep-more-list{display:grid;gap:2px;min-block-size:0;overflow-y:auto;overscroll-behavior-y:contain}
  html[data-prep-ui] .prep-more-item{flex-direction:row!important;justify-content:flex-start!important;padding:0 12px!important;}
}
@media screen and (max-width:760px) and (prefers-reduced-motion:no-preference), screen and (max-height:500px) and (prefers-reduced-motion:no-preference){html[data-prep-ui] .prep-more-panel{animation:prep-sheet-in .2s ease-out}@keyframes prep-sheet-in{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}}
@media screen and (max-width:760px), screen and (max-height:500px){
  /* Schwebende Hauptknöpfe (Session planen, Neue Übung, Event) über der Tab-Leiste */
  html:root[data-prep-ui] body:has(#appShell:not([hidden])) .page-primary{}
}
/* Tab-Leiste wie die nativen FLIQ-Apps (Rep, Form): iOS-Tab-Bar als schwebende Glas-Kapsel, aktiver Reiter mit heller Pille in Produktfarbe */
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] body:has(#appShell:not([hidden])) .prep-tabbar{left:max(14px,env(safe-area-inset-left,0px))!important;right:max(14px,env(safe-area-inset-right,0px))!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;gap:2px;padding:5px!important;border-radius:999px;border:1px solid rgba(255,255,255,.12)!important;border-top:1px solid rgba(255,255,255,.14)!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)}
  html[data-prep-ui] .prep-tab{min-height:54px!important;border-radius:999px!important;color:var(--prep-text)!important;font-size:10px!important;font-weight:600!important;gap:2px!important;}
  html[data-prep-ui] .prep-tab svg{width:24px;height:24px}
  html[data-prep-ui] .prep-tab[aria-current="page"]{background:rgba(255,255,255,.13)!important;color:var(--prep-accent)!important}
  html[data-prep-ui] .prep-tab[aria-current="page"] svg{stroke-width:2.2}
  html[data-prep-ui] .prep-tab:active{transform:scale(.96)}
  html[data-prep-ui] body:has(#appShell:not([hidden])) #appShell{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}
  html:root[data-prep-ui] body:has(#appShell:not([hidden])) .page-primary{bottom:calc(90px + env(safe-area-inset-bottom,0px))!important}
  /* Hell */
}
@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]:not([data-theme="dark"]) body .prep-tabbar{background:rgba(250,251,252,.7)!important;border-color:rgba(0,0,0,.08)!important;box-shadow:0 10px 30px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.6)}
  html[data-prep-ui]:not([data-theme="dark"]) .prep-tab[aria-current="page"]{background:rgba(0,0,0,.06)!important}
}
@media (prefers-reduced-transparency:reduce){html[data-prep-ui] body .prep-tabbar{background:var(--prep-surface)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
@media (prefers-reduced-motion:reduce){html[data-prep-ui] .prep-tab:active{transform:none}}
/* More-Blatt: schwebende Karte über der Tab-Leiste, Leiste bleibt bedienbar, Schließen-Knopf */
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] body .prep-tabbar{z-index:170!important}
  html[data-prep-ui] .prep-more-backdrop{background:rgba(0,0,0,.35)!important}
  html[data-prep-ui] .prep-more-panel{left:max(14px,env(safe-area-inset-left,0px))!important;right:max(14px,env(safe-area-inset-right,0px))!important;bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;padding:6px 8px 8px!important;border-radius:22px!important;border:1px solid rgba(255,255,255,.12)!important;background:rgba(28,31,34,.82)!important;-webkit-backdrop-filter:blur(22px) saturate(1.8);backdrop-filter:blur(22px) saturate(1.8);box-shadow:0 14px 40px rgba(0,0,0,.45)!important;transition:transform .15s ease}
  html[data-prep-ui] .prep-more-grabber{margin:2px auto 4px!important}
  html[data-prep-ui] .prep-more-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 4px 12px}
  html[data-prep-ui] .prep-more-head strong{font-size:15px;font-weight:650;color:var(--prep-text)}
  html[data-prep-ui] .prep-more-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:999px;background:transparent;color:var(--prep-text2);cursor:pointer}
  html[data-prep-ui] .prep-more-close:hover,html[data-prep-ui] .prep-more-close:focus-visible{background:rgba(255,255,255,.1);color:var(--prep-text)}
  html[data-prep-ui] .prep-more-item{border-radius:14px!important}
  html[data-prep-ui] .prep-tab.is-open{background:rgba(255,255,255,.13)!important;color:var(--prep-accent)!important}
}
@media screen and (max-width:760px), screen and (max-height:500px){
  html[data-prep-ui] .prep-more-list .prep-tab.prep-more-item{font-size:16px!important;font-weight:500!important;gap:14px!important;min-height:50px!important;color:var(--prep-text)!important}
  html[data-prep-ui] .prep-more-list .prep-tab.prep-more-item[aria-current="page"]{color:var(--prep-accent)!important;font-weight:650!important}
}
/* Calendar: Woche/Monat/Jahr links direkt hinter Zeitraum (Lars 20.11.) */
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #mainContent #calendarView:not([hidden]):not(.calendar-compare-open) .calendar-toolbar>.segmented-control{margin-left:16px!important}
}
/* Wochenansicht: Kurzablauf der Einheit */
html[data-prep-ui] .session-card .session-flow{padding-top:6px;border-top:1px solid var(--prep-line);line-height:1.35;color:var(--prep-text2);text-align:start}
html[data-prep-ui] .session-card .session-flow-row{display:block;overflow:hidden;text-overflow:ellipsis;}
html[data-prep-ui] .session-card .session-flow-row b{font-weight:650;color:var(--prep-text)}
html[data-prep-ui] .session-card .session-flow-row:not(.is-phase)::before{content:"• ";color:var(--prep-text2)}
html[data-prep-ui] .session-card .session-flow-row{white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}
/* Session-Reihenfolge per Ziehen: Einfügelinie */
html[data-prep-ui] .session-card.prep-drop-before{box-shadow:0 -3px 0 0 var(--prep-accent)!important}
html[data-prep-ui] .session-card.prep-drop-after{box-shadow:0 3px 0 0 var(--prep-accent)!important}
/* Statusmeldungen ("Gespeichert" usw.) als schwebende Meldung – verschiebt keinen Inhalt (Lars 20.11.) */
html:root[data-prep-ui] body #globalStatus.status-banner{position:fixed!important;left:50%;transform:translateX(-50%);z-index:300;width:auto!important;max-width:min(520px,calc(100vw - 32px));margin:0!important;padding:10px 16px!important;border-radius:12px!important;border:1px solid var(--prep-line)!important;background:color-mix(in srgb,var(--prep-surface) 94%,transparent)!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:var(--prep-text)!important;font-size:14px;font-weight:600;box-shadow:0 10px 30px rgba(0,0,0,.35);pointer-events:none}
html:root[data-prep-ui] body #globalStatus.status-banner:not(.error)::before{content:"✓ ";color:var(--prep-mint-text)}
html:root[data-prep-ui] body #globalStatus.status-banner.error{border-color:color-mix(in srgb,var(--prep-bad,#f87171) 60%,transparent)!important;pointer-events:auto}
html:root[data-prep-ui] body #globalStatus.status-banner.error::before{content:"! ";color:var(--prep-bad,#f87171)}
@media (prefers-reduced-motion:no-preference){html:root[data-prep-ui] body #globalStatus.status-banner:not([hidden]){}@keyframes prep-toast-in{from{opacity:0;transform:translate(-50%,-6px)}to{opacity:1;transform:translate(-50%,0)}}}
@media screen and (max-width:760px), screen and (max-height:500px){html:root[data-prep-ui] body #globalStatus.status-banner{}}
html:root[data-prep-ui] body #globalStatus.status-banner{top:auto!important;bottom:24px!important}
@media screen and (max-width:760px), screen and (max-height:500px){html:root[data-prep-ui] body #globalStatus.status-banner{bottom:calc(96px + env(safe-area-inset-bottom,0px))!important}}
@media (prefers-reduced-motion:no-preference){html:root[data-prep-ui] body #globalStatus.status-banner:not([hidden]){animation:prep-toast-up .18s ease-out!important}@keyframes prep-toast-up{from{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%,0)}}}
/* Strukturierter Kurzablauf (Woche) */
html[data-prep-ui] .session-card .session-flow{display:grid!important;gap:3px!important;font-size:11.5px!important}
html[data-prep-ui] .session-card .flow-phase{display:flex;justify-content:space-between;gap:8px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--prep-text2)}
html[data-prep-ui] .session-card .flow-phase.is-main{margin-top:2px}
html[data-prep-ui] .session-card .flow-phase>span:last-child{font-variant-numeric:tabular-nums;letter-spacing:0;text-transform:none;font-weight:600}
html[data-prep-ui] .session-card .flow-item{display:grid;grid-template-columns:8px minmax(0,1fr);column-gap:6px;align-items:baseline}
html[data-prep-ui] .session-card .flow-dot{width:7px;height:7px;border-radius:50%;transform:translateY(-1px)}
html[data-prep-ui] .session-card .flow-item strong{font-size:11.5px;font-weight:650;color:var(--prep-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-prep-ui] .session-card .flow-item small{grid-column:2;justify-self:end;text-align:right;font-size:11px;font-variant-numeric:tabular-nums;line-height:1.3}
html[data-prep-ui] .session-card .flow-dot{background:color-mix(in srgb,var(--fliq-training-type-tint,#555) 45%,#ffffff)!important}
html[data-prep-ui] .session-card .flow-phase>span:first-child{text-transform:uppercase!important;letter-spacing:.06em!important;font-weight:700!important}
/* Kurzablauf: sichtbarer Hover + Infofeld */
html[data-prep-ui] .session-card [data-flow-tip]{border-radius:4px;}
@media (hover:hover){html[data-prep-ui] .session-card [data-flow-tip]:hover{background:var(--prep-hover);cursor:default}}
html[data-prep-ui] .prep-flow-tip{position:fixed;z-index:400;padding:8px 12px;border-radius:10px;border:1px solid var(--prep-line);background:var(--prep-surface);color:var(--prep-text);font-size:12.5px;line-height:1.45;box-shadow:var(--mk-pop);pointer-events:none;white-space:normal}
/* Kurzablauf aufklappbar */
html[data-prep-ui] .session-card>.session-flow{margin:0 10px 8px!important}
html[data-prep-ui] .session-card .session-flow:not(.is-open) .is-extra{display:none!important}
html[data-prep-ui] .session-card .flow-sub{padding-left:10px}
html[data-prep-ui] .session-card .flow-sub strong{font-weight:500!important;color:var(--prep-text2)!important}
html[data-prep-ui] .session-card .flow-toggle{justify-self:start;display:inline-flex;align-items:center;gap:4px;min-height:28px;margin-top:2px;padding:0 8px;border:1px solid var(--prep-line);border-radius:999px;background:transparent;color:var(--prep-text2);font:inherit;font-size:11px;font-weight:600;cursor:pointer}
html[data-prep-ui] .session-card .flow-toggle:hover{color:var(--prep-text);border-color:var(--prep-control)}
html[data-prep-ui] .session-card .flow-toggle:focus-visible{outline:2px solid var(--prep-accent);outline-offset:2px}
/* Alle ⋮ dezent und gleich: Karten, Tage, KW (Lars 20.11.2026, ersetzt die kräftige Variante) */
html:root:not(#_) #trainingTimeline.week-view .session-card .session-menu-button{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;top:4px!important;right:4px!important;padding:0!important;border:0!important;border-radius:6px!important;color:var(--prep-text2)!important;font-size:20px!important;font-weight:400!important;background:transparent!important;box-shadow:none!important}
html:root:not(#_) #trainingTimeline.week-view :is(.session-card .session-menu-button,.calendar-range-menu):hover,html:root:not(#_) #trainingTimeline.week-view :is(.session-card .session-menu-button,.calendar-range-menu)[aria-expanded="true"]{background:color-mix(in srgb,var(--prep-text,#fff) 10%,transparent)!important;color:var(--prep-text)!important}
/* Wochenansicht: Wochensumme (Einheiten, Stunden, IQSS Plan) rechts wie in der Monatsansicht (Lars 20.11.2026) */
@media screen and (min-width:761px) and (min-height:501px){
  html:root #mainContent #trainingTimeline.week-view .calendar-days{}
  html:root:not(#_) #trainingTimeline.week-view .calendar-week-actions{display:flex!important;flex-direction:column;justify-content:flex-start;grid-row:auto!important;border:0;}
}
@media screen and (max-width:760px), screen and (max-height:500px){
  html:root:not(#_) #trainingTimeline.week-view .calendar-week-actions{display:none!important}
}
html[data-prep-ui] .prep-week-total .prep-week-kw{font-size:.7rem;font-weight:700;letter-spacing:.04em;color:var(--prep-text2);text-transform:uppercase;margin-bottom:2px}
/* Wochenansicht: Kopfzeile abgesetzt, KW + Wochenmenü in der Kopfzeile, Wochentag ausgeschrieben wenn Platz (Lars 20.11.2026) */
html[data-prep-ui]{--prep-calendar-day-heading:color-mix(in srgb,var(--prep-text) 5%,var(--prep-surface))}
html:root:not(#_) #trainingTimeline.week-view .calendar-day-heading{container-type:inline-size;margin:-10px -6px 8px!important;padding:0 8px!important;border-bottom:1px solid var(--prep-line)}
@container weekgrid (min-width:980px){
  html:root:not(#_) #trainingTimeline.week-view .calendar-day-name .dn-short{display:none}
  html:root:not(#_) #trainingTimeline.week-view .calendar-day-name .dn-long{display:inline}
}
/* Datum je nach Platz: 16 → 16. Nov → 16. November (Lars 20.11.2026) */
@container weekgrid (min-width:1225px){
  html:root:not(#_) #trainingTimeline.week-view .calendar-day-number .dd-s{display:none}
  html:root:not(#_) #trainingTimeline.week-view .calendar-day-number .dd-m{display:inline}
}
@container weekgrid (min-width:1525px){
  html:root:not(#_) #trainingTimeline.week-view .calendar-day-number .dd-m{display:none}
  html:root:not(#_) #trainingTimeline.week-view .calendar-day-number .dd-l{display:inline}
}
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.week-view .calendar-week-actions{padding:0 0 8px!important;align-items:stretch!important;gap:8px!important}
  html:root:not(#_) #trainingTimeline.week-view .calendar-week-head{display:flex;align-items:center;gap:4px;border-bottom:1px solid var(--prep-line)}
  html:root:not(#_) #trainingTimeline.week-view .calendar-week-head .prep-week-kw{margin:0;font-size:.78rem;color:var(--prep-text)}
  html:root:not(#_) #trainingTimeline.week-view .calendar-week-head .calendar-range-menu{position:static!important;width:28px;min-width:28px;height:28px;min-height:28px;background:transparent}
  html:root:not(#_) #trainingTimeline.week-view .calendar-week-head .calendar-range-menu:hover{background:color-mix(in srgb,var(--prep-text,#fff) 12%,transparent)}
  html:root:not(#_) #trainingTimeline.week-view .calendar-week-actions .prep-week-total{padding:0 8px}
}
/* Wochensumme je Trainingstyp, gleiche Fläche wie die Tagesspalten (Lars 20.11.2026) */
@media screen and (min-width:761px) and (min-height:501px){
  html:root #mainContent #trainingTimeline.week-view .calendar-days{}
  html:root:not(#_) #trainingTimeline.week-view .calendar-week-actions{background:var(--prep-surface,#1c1f22)!important;border-left:1px solid var(--prep-line)!important}
  html:root:not(#_) #trainingTimeline.week-view .prep-week-sum{display:grid;gap:12px;padding:0 10px;font-size:12px;line-height:1.3;color:var(--prep-text)}
  html:root:not(#_) #trainingTimeline.week-view .pws-total{display:grid;gap:2px;padding-bottom:10px;border-bottom:1px solid var(--prep-line)}
  html:root:not(#_) #trainingTimeline.week-view .pws-total strong{font-size:13px;font-weight:700}
  html:root:not(#_) #trainingTimeline.week-view .pws-total span{color:var(--prep-text2)}
  html:root:not(#_) #trainingTimeline.week-view .pws-types{display:grid;gap:8px;margin:0;padding:0;list-style:none}
  html:root:not(#_) #trainingTimeline.week-view .pws-types li{display:grid;gap:1px}
  html:root:not(#_) #trainingTimeline.week-view .pws-name{display:flex;gap:6px;font-weight:600;min-width:0;text-overflow:ellipsis;}
  html:root:not(#_) #trainingTimeline.week-view .pws-dot{flex:none;}
  html:root:not(#_) #trainingTimeline.week-view .pws-val{color:var(--prep-text2);font-variant-numeric:tabular-nums}
}
/* Wochen-⋮ verhält sich wie die Tages-⋮: erst beim Überfahren sichtbar, gleicher Stil (Lars 20.11.2026) */
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.week-view .calendar-week-head .calendar-range-menu{opacity:0!important;color:var(--prep-text2)!important;font-size:20px!important;font-weight:400!important;border-radius:6px!important;}
  html:root:not(#_) #trainingTimeline.week-view .calendar-week-actions:is(:hover,:focus-within) .calendar-range-menu,html:root:not(#_) #trainingTimeline.week-view .calendar-week-head .calendar-range-menu[aria-expanded="true"]{opacity:1!important}
}
/* Wochenspalte rechtsbündig zur Abgrenzung von den Tagen (Lars 20.11.2026) */
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.week-view .calendar-week-head{justify-content:flex-end!important;padding:0 4px 0 6px!important}
  html:root #trainingTimeline.week-view .prep-week-sum,html:root #trainingTimeline.week-view .pws-total,html:root #trainingTimeline.week-view .pws-types li{}
  html:root:not(#_) #trainingTimeline.week-view .pws-name{max-width:100%}
  html:root #trainingTimeline.week-view .pws-val{}
}
/* Wochenspalte: Block rechts, Text darin linksbündig (Lars 20.11.2026) */
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.week-view .pws-val{padding-left:13px!important}
}
/* Wochen-⋮ sitzt wie die Tages-⋮ (kein Innenabstand, kein Rahmen) */
html:root:not(#_) #trainingTimeline.week-view .calendar-week-head .calendar-range-menu{padding:0!important;border:0!important;box-shadow:none!important}
/* KW-Spalte schmaler; lange Typnamen umbrechen statt abschneiden (Lars 20.11.2026) */
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #mainContent #trainingTimeline.week-view .calendar-days{grid-template-columns:repeat(7,minmax(0,1fr)) minmax(6.5rem,.48fr)!important}
  html:root:not(#_) #trainingTimeline.week-view .pws-name{white-space:normal!important;overflow:visible!important;align-items:baseline}
  html:root:not(#_) #trainingTimeline.week-view .pws-dot{transform:translateY(-1px)}
}
/* Zeitraum zwischen den Pfeilen, feste Breite (Lars 20.11.2026) */
html:root:not(#_) #calendarView .calendar-period-row{align-items:center;gap:4px!important}
html:root:not(#_) #calendarView .calendar-period-row>#calendarPeriod{min-width:15.5rem;text-align:center;margin:0}
html:root:not(#_) #calendarView .calendar-period-row>#calendarPeriod{white-space:nowrap}
/* Summenzeile oben entfällt auf Desktop – steht jetzt je Woche rechts (Lars 20.11.2026). Handy behält sie (dort keine Wochenspalte). */
@media screen and (min-width:761px) and (min-height:501px){html:root:not(#_) #calendarSummary .calendar-summary-count{display:none}}
/* Test: Blättern am Kopf und Fuß der Wochenansicht (Lars 20.11.2026) */
html:root:not(#_) #trainingTimeline.week-view .prep-week-edge{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:28px;margin:0;padding:0 12px;border:0;border-radius:0;background:color-mix(in srgb,var(--prep-text,#fff) 4%,var(--prep-bg,#0e1012));color:var(--prep-text2);font:inherit;font-size:12px;font-weight:600;cursor:pointer}
html:root:not(#_) #trainingTimeline.week-view .prep-week-edge:hover{color:var(--prep-text);background:color-mix(in srgb,var(--prep-text,#fff) 9%,var(--prep-bg,#0e1012))}
html:root:not(#_) #trainingTimeline.week-view .prep-week-edge:focus-visible{outline:2px solid var(--prep-accent);outline-offset:-2px}
html:root:not(#_) #trainingTimeline.week-view .prep-week-edge[data-dir="prev"]{border-bottom:1px solid var(--prep-line)}
html:root:not(#_) #trainingTimeline.week-view .prep-week-edge[data-dir="next"]{border-top:1px solid var(--prep-line)}
html:root:not(#_) #trainingTimeline.week-view .prep-week-edge span{font-size:10px}
@media print{#trainingTimeline .prep-week-edge{display:none!important}}
/* Notizkarten: Titel und Text untereinander, nie zweispaltig – sonst wird der Text in schmalen Tagesspalten auf 0 px gequetscht (Lars 20.11.2026) */
html:root:not(#_) .calendar-note-card{grid-template-columns:minmax(0,1fr)!important}
html:root:not(#_) .calendar-note-card>*{min-width:0;overflow-wrap:anywhere}
/* Kurzablauf nur, wenn die Karte breit genug ist (Lars 20.11.2026) */
html:root #trainingTimeline.week-view .session-card{container-type:inline-size}
@container (max-width:139px){
  html:root:not(#_) #trainingTimeline.week-view .session-card>.session-flow{display:none!important}
}
/* Schmale Karten: lange Wörter trennen, Titel enger am ⋮, Hinweise ohne Überlauf (Lars 20.11.2026) */
html:root:not(#_) #trainingTimeline.week-view .session-card :is(.session-title,.session-iqss,.session-card-meta *){overflow-wrap:anywhere;hyphens:auto}
@container (max-width:139px){
  html:root:not(#_) #trainingTimeline.week-view .session-card .session-title{padding-right:18px!important;font-size:12.5px!important;line-height:1.25!important}
  html:root:not(#_) #trainingTimeline.week-view .session-card .session-card-trigger{padding-left:8px!important;padding-right:6px!important}
}
/* Notizkarten bei schmalen Tagesspalten: weniger Innenabstand, Silbentrennung (Lars 20.11.2026) */
html:root:not(#_) .calendar-note-card>*{hyphens:auto}
@media screen and (min-width:761px) and (max-width:1299px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.week-view .calendar-note-card{padding:6px 7px!important;border-left-width:3px!important}
  html:root:not(#_) #trainingTimeline.week-view .calendar-note-card strong{line-height:1.3!important}
}
/* Hell: "Session planen" im Calendar grau statt schwarz (Lars 20.11.2026) */
html[data-theme="light"]:root:not(#_) #newOnlineCalendarItemButton:hover{background:#e1e4e8!important;border-color:#c9ced5!important}
html[data-theme="light"]:root:not(#_) #newOnlineCalendarItemButton :is(span){color:inherit!important}
html[data-theme="light"]:root:not(#_) #newOnlineCalendarItemButton svg{stroke-width:2.6}
/* Hell: Punkte im Kurzablauf und in der Wochensumme in der kräftigen Typfarbe (Lars 20.11.2026) */
html[data-theme="light"][data-prep-ui] .session-card .flow-dot,
html[data-theme="light"]:root:not(#_) #trainingTimeline.week-view .pws-dot{background:var(--fliq-training-type-accent,#3a4048)!important}

/* Tageskopf: + und ⋮ belegen keinen festen Platz, sondern liegen beim Überfahren über dem Zeilenende (Lars 20.11.2026) */
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.week-view .calendar-day-heading .calendar-day-create{flex:1 1 auto;min-width:0;max-width:none!important}
  html:root:not(#_) #trainingTimeline.week-view .calendar-day-heading .calendar-day-actions{top:50%;right:4px;display:flex;background:inherit;}
}

/* Datumsstufen für alle Tage gleich: entschieden an der Breite des Wochenrasters, nicht je Spalte */
html:root #mainContent #trainingTimeline.week-view .calendar-days{container:weekgrid/inline-size}
/* Hell: Kalender vom weißen Seitengrund abgesetzt – Spalten hellgrau, Kopf und Fuß eine Stufe dunkler (Lars 20.11.2026) */
html[data-theme="light"]:root:not(#_) #trainingTimeline.week-view :is(.calendar-day,.calendar-week-actions){background:var(--prep-bg2)!important}
html[data-theme="light"]:root:not(#_) #trainingTimeline.week-view :is(.calendar-day-heading, .prep-week-edge){background:var(--prep-calendar-day-heading)!important}
html[data-theme="light"]:root:not(#_) #trainingTimeline.week-view .prep-week-edge:hover{background:var(--prep-calendar-day-heading-hover,#dde0e5)!important}
html[data-theme="light"]:root:not(#_) #trainingTimeline.week-view .calendar-day-heading .calendar-day-actions{box-shadow:-10px 0 8px -4px var(--prep-calendar-day-heading)!important}
/* Wochenansicht: Umrandung um das ganze Raster inkl. Blätterbalken, gleiche Linie wie zwischen den Tagen (Lars 20.11.2026) */
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.week-view>.calendar-week{border:1px solid var(--prep-line)!important;border-radius:8px!important;overflow:clip!important}
}
/* Hell: Name + Initialen oben rechts in Textfarbe statt Weiß (Lars 20.11.2026) */
html[data-theme="light"]:root[data-fliq-active-product]:not(#_) header.topbar #userMenuButton{color:#111418!important}
html[data-theme="light"]:root[data-fliq-active-product]:not(#_) header.topbar #userMenuButton:is(:hover,[aria-expanded="true"]){background:rgba(17,20,24,.06)!important}
html[data-theme="light"]:root[data-fliq-active-product]:not(#_) .topbar .user-menu-avatar{background:var(--prep-primary-bg,#e3e6ea)!important;border-color:var(--prep-primary-line,#c3c9d0)!important;color:#111418!important}
/* ===== Monatsansicht an die Woche angeglichen (Lars 20.11.2026) ===== */
@media screen and (min-width:761px) and (min-height:501px){
  /* 1. Fester Kopf mit Wochentagen */
  html:root:not(#_) #trainingTimeline.month-view>.prep-month-weekdays{position:sticky;top:0;z-index:5;display:grid;gap:1px;container:monthhead/inline-size;
    min-height:32px;border:1px solid var(--prep-line);border-radius:8px 8px 0 0;background:var(--prep-line);margin-bottom:0}
  html:root:not(#_) #trainingTimeline.month-view>.prep-month-weekdays>span{display:flex;align-items:center;padding:0 8px;font-size:11.5px;font-weight:600;color:var(--prep-text2);background:color-mix(in srgb,var(--prep-text,#fff) 5%,var(--prep-surface,#1c1f22))}
  html:root:not(#_) #trainingTimeline.month-view>.prep-month-weekdays .dn-long{display:none}
  @container monthhead (min-width:1000px){
    html:root:not(#_) #trainingTimeline.month-view>.prep-month-weekdays .dn-short{display:none}
    html:root:not(#_) #trainingTimeline.month-view>.prep-month-weekdays .dn-long{display:inline}
  }
  html:root #trainingTimeline.month-view .calendar-month-label{top:32px!important}
  /* 3. Wochenspalte wie in der Woche, kompakt */
  html:root:not(#_) #trainingTimeline.month-view .calendar-week-actions.is-month{flex-direction:column;align-items:stretch!important;padding:0 0 6px!important;background:var(--prep-surface,#1c1f22)}
  html:root:not(#_) #trainingTimeline.month-view .calendar-week-head{display:flex;align-items:center;gap:2px;min-height:44px;border-bottom:1px solid var(--prep-line);background:var(--prep-calendar-day-heading)}
  html:root:not(#_) #trainingTimeline.month-view .calendar-week-head .prep-week-kw{margin:0;color:var(--prep-text)}
  html:root:not(#_) #trainingTimeline.month-view .calendar-week-head .calendar-range-menu{position:static!important;padding:0!important;border:0!important;border-radius:6px;background:transparent;color:var(--prep-text2);font-weight:400;opacity:0}
  html:root:not(#_) #trainingTimeline.month-view .calendar-week-actions:is(:hover,:focus-within) .calendar-range-menu,html:root:not(#_) #trainingTimeline.month-view .calendar-week-head .calendar-range-menu[aria-expanded="true"]{opacity:1}
  html:root:not(#_) #trainingTimeline.month-view .prep-week-sum.is-compact{display:grid;min-width:0;line-height:1.3;color:var(--prep-text)}
  html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-total{display:grid;padding-bottom:0}
  html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-total:has(+.pws-types){border-bottom:1px solid var(--prep-line)}
  html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-total strong{font-weight:700}
  html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-total span{color:var(--prep-text2)}
  html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-types{display:grid;margin:0;padding:0;list-style:none}
  html:root #trainingTimeline.month-view .is-compact .pws-types li{}
  html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-name{display:flex;align-items:center;font-weight:600}
  html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-dot{flex:none;}
  html:root:not(#_) #trainingTimeline.month-view .is-compact .pws-val{color:var(--prep-text2);font-variant-numeric:tabular-nums}
  /* 4. + erst beim Überfahren (wie Woche); "3 ›" bleibt sichtbar */
  html:root:not(#_) #trainingTimeline.month-view .calendar-day:not(:hover):not(:focus-within) .calendar-add{opacity:0}
  /* 5. Rahmen je Monat: seitlich an jeder Woche, unten an der letzten Woche vor dem nächsten Monat */
  html:root:not(#_) #trainingTimeline.month-view>.calendar-week{border-left:1px solid var(--prep-line);border-right:1px solid var(--prep-line)}
  html:root:not(#_) #trainingTimeline.month-view>.calendar-week:has(+ .calendar-month-label),html:root:not(#_) #trainingTimeline.month-view>.calendar-week:last-child{overflow:clip;}
  html:root:not(#_) #trainingTimeline.month-view>.calendar-month-label+.calendar-week{overflow:clip}
}
/* 6. Hell: gleiche Abstufung wie die Woche */
html[data-theme="light"]:root:not(#_) #trainingTimeline.month-view :is(.calendar-day,.calendar-week-actions.is-month){background:var(--prep-bg2)!important}
html[data-theme="light"]:root:not(#_) #trainingTimeline.month-view :is(.prep-month-weekdays>span,.calendar-week-head){background:var(--prep-calendar-day-heading)!important}
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.month-view :is(.calendar-days,>.prep-month-weekdays){grid-template-columns:repeat(7,minmax(0,1fr)) minmax(6.5rem,.6fr)!important}
}
@media screen and (min-width:761px) and (min-height:501px){html:root:not(#_) #trainingTimeline.month-view>.prep-month-weekdays{grid-template-columns:repeat(7,minmax(0,1fr)) minmax(6.5rem,.6fr)!important}}
/* Monat ohne Unterbrechung (Lars 20.11.2026): Monatsüberschrift unsichtbar (bleibt als Anker für die Anzeige oben im DOM),
   keine Lücke, ein durchgehender Rahmen; der Monatserste ist hervorgehoben. */
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.month-view>.calendar-month-label{position:static!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;visibility:hidden}
  html:root:not(#_) #trainingTimeline.month-view>.calendar-week:has(+ .calendar-month-label){border-bottom:0!important;border-radius:0!important;margin-bottom:0!important}
  html:root:not(#_) #trainingTimeline.month-view>.calendar-month-label+.calendar-week{border-top:0!important;border-radius:0!important}
  html:root:not(#_) #trainingTimeline.month-view>.calendar-week:last-child{border-bottom:1px solid var(--prep-line)!important;border-radius:0 0 8px 8px!important;margin-bottom:0!important}
  html:root:not(#_) #trainingTimeline.month-view>.calendar-week{margin-top:0!important}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day[data-calendar-date$="-01"] .calendar-day-create{font-weight:700!important;color:var(--prep-text)!important}
}
/* Calendar ab 700 px Fensterhöhe: Kopfleiste + Rest exakt auf Fensterhöhe, damit die Seite nicht 60 px mitscrollt
   (eine spätere Regel setzte #appShell auf display:block und hob die vorgesehene Aufteilung auf). Darunter scrollt die Seite normal. */
@media screen and (min-width:761px) and (min-height:700px){
  html:root:not(#_) #mainContent:has(#calendarView:not([hidden])){min-height:0!important}
  /* Tagesköpfe (Montag …) und KW-Kopf bleiben beim Scrollen der Woche oben stehen */
  html:root:not(#_) #trainingTimeline.week-view :is(.calendar-day-heading,.calendar-week-head){position:sticky!important;top:0;z-index:3}
}
@media screen and (min-width:761px) and (min-height:700px){html:root:not(#_) #mainContent #trainingTimeline.week-view .calendar-days{overflow:clip!important}}
/* Monat: keine eigene Scrollleiste je Tageszelle – was nicht passt, steht hinter "N ›" (Tagesübersicht). Nur der Kalender scrollt. */
html:root:not(#_) #trainingTimeline.month-view .calendar-day-units{overflow:hidden!important;scrollbar-width:none}
/* Kopfleiste 761–1100 px: einzeilig bleiben (Lars 20.11.2026). app-switcher-logos.css machte sie zweizeilig, prep-tokens.css hält sie
   aber fest auf 60 px → das Menü ragte über den Inhalt. Reicht der Platz nicht, schaltet prep-nav-burger.js auf das Burgermenü. */
@media screen and (min-width:761px) and (max-width:1100px) and (min-height:501px){
  html[data-prep-ui]:root:not(#_) #appShell>.topbar{grid-template:"brand tabs account" / max-content minmax(0,1fr) max-content!important;row-gap:0!important;padding-top:0!important}
  html[data-prep-ui]:root:not(#_) #appShell .topbar>#primaryNav{min-height:0!important;height:auto!important;border-top:0!important}
}
/* Scrollleiste des Kalenders sitzt am Browserrand (wie wenn die Seite scrollt), Inhalt bleibt gleich breit (Lars 20.11.2026) */
@media screen and (min-width:761px) and (min-height:700px){
  html:root:not(#_) #mainContent #calendarView:not(.calendar-compare-open)>#trainingTimeline{margin-right:-24px!important;padding-right:24px!important;margin-bottom:-24px!important;padding-bottom:24px!important;scroll-padding-top:40px}
}
/* Monat: + und ⋮ wie in der Woche (rechts, 28 px, dezent, erst beim Überfahren); "+N weitere" unten; Tagesübersicht kompakt (Lars 20.11.2026) */
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.month-view .calendar-day{position:relative}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day-actions{align-items:center;gap:2px;opacity:1!important}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day-actions :is(.calendar-add,.calendar-range-menu){position:static!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;border:0!important;border-radius:6px!important;background:transparent;color:var(--prep-text2)!important;font-size:20px!important;font-weight:400!important;opacity:0;}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day:is(:hover,:focus-within) .calendar-day-actions :is(.calendar-add,.calendar-range-menu),html:root:not(#_) #trainingTimeline.month-view .calendar-day-actions .calendar-range-menu[aria-expanded="true"]{opacity:1}
  html:root:not(#_) #trainingTimeline.month-view .calendar-more-link{position:absolute;z-index:2;align-items:center;border:0;color:var(--prep-text2);font:inherit;font-size:11.5px;font-weight:600;cursor:pointer;text-align:left}
  html[data-theme="light"]:root #trainingTimeline.month-view .calendar-more-link{}
  @media (hover:hover){html:root:not(#_) #trainingTimeline.month-view .calendar-more-link:hover{background-image:linear-gradient(var(--prep-hover),var(--prep-hover))}}
}
/* Tagesübersicht */
html:root:not(#_) #calendarDayOverlay{max-width:calc(100vw - 16px)}
html:root:not(#_) #calendarDayOverlay .calendar-day-overlay-heading{display:flex;align-items:center;gap:8px}
html:root:not(#_) #calendarDayOverlay .calendar-day-overlay-heading h3{flex:1;min-width:0;margin:0;font-size:14px}
html:root:not(#_) #calendarDayOverlay .calendar-day-overlay-actions{display:flex;align-items:center;gap:4px}
html:root:not(#_) #calendarDayOverlay .calendar-day-overlay-week{min-height:32px!important;padding:0 10px!important;font-size:12px!important}
html:root:not(#_) #calendarDayOverlay .calendar-day-overlay-actions .icon-button{width:32px;min-width:32px;height:32px;min-height:32px}
html:root:not(#_) #calendarDayOverlay .session-card>.session-flow{display:none!important}
/* Monat: Zellen füllen die ganze Reihe (Reihe kann durch die KW-Spalte höher sein → vorher heller Streifen unter den Zellen).
   Der Inhalt bestimmt die Höhe nicht mit (Einträge werden abgeschnitten, Rest über "+N weitere"). */
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.month-view .calendar-day{height:auto!important;align-self:stretch}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day-units{flex:1 1 auto;min-height:0}
}
html:root:not(#_) #calendarDayOverlay .calendar-day-overlay-heading h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root:not(#_) #calendarDayOverlay{width:380px}
/* Kompakte Termine für die Monatsübersicht. */
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.month-view .calendar-day-units{display:flex!important;flex-direction:column;gap:6px}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day .session-card{position:relative;flex:none;min-height:0;margin:0!important;padding:0!important;border-radius:6px}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day .session-card-trigger{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:3px;min-height:0;padding:8px 10px!important;text-align:start}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day .session-title{display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;min-height:0!important;padding-right:18px!important;font-size:13px;font-weight:600;line-height:1.3;overflow-wrap:anywhere;hyphens:auto}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day .session-card-meta{display:flex!important;flex-wrap:wrap;font-size:12px}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day .session-card-indicators{display:flex!important;flex-wrap:wrap;gap:2px 8px;font-size:11.5px}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day .session-iqss{display:none!important}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day :is(.session-open-icon,.session-flow){display:none!important}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day .session-card>.session-menu-button{display:grid!important;place-items:center;position:absolute!important;top:4px!important;right:4px!important;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-text2)!important;font-size:20px!important;font-weight:400!important;opacity:0;z-index:2}
  html:root:not(#_) #trainingTimeline.month-view .calendar-day .session-card:is(:hover,:focus-within)>.session-menu-button,html:root:not(#_) #trainingTimeline.month-view .calendar-day .session-card>.session-menu-button[aria-expanded="true"]{opacity:1}
}
html:root:not(#_) #trainingTimeline .calendar-date-marker[data-calendar-placement="planned"]{background:var(--prep-surface);border-style:dashed}
.calendar-date-marker-label{color:var(--prep-text2);font-size:.77rem;font-weight:650;overflow-wrap:anywhere}
.calendar-date-marker[data-calendar-placement="performed"] .calendar-date-marker-label{color:inherit}
/* Haupttyp oben rechts in der Einheitenkarte (Woche + Monat, Lars 20.11.2026); beim Überfahren übernimmt das ⋮ diese Ecke */
html:root:not(#_) #trainingTimeline .session-card .session-title{display:block!important;padding-right:0!important;min-height:0!important}
html:root:not(#_) #trainingTimeline .session-card .session-type-corner{float:right;margin:-3px -18px 2px 6px;}
html:root:not(#_) #trainingTimeline .session-card .session-type-corner .session-training-type{white-space:nowrap;font-size:11px;font-weight:600}
html:root #trainingTimeline .session-card:has(>.session-menu-button):is(:hover,:focus-within) .session-type-corner{}
@media screen and (min-width:761px) and (min-height:501px){}
/* Typ bleibt sichtbar; rechts daneben ist Platz für das ⋮ (28 px + Rand), das beim Überfahren erscheint (Lars 20.11.2026) */
html:root:not(#_) #trainingTimeline .session-card:has(>.session-menu-button):is(:hover,:focus-within) .session-type-corner{opacity:1!important}
html:root #trainingTimeline .session-card:has(>.session-menu-button) .session-type-corner{}
@media screen and (min-width:761px) and (min-height:501px){html:root #trainingTimeline.month-view .session-card:has(>.session-menu-button) .session-type-corner{}}
html:root:not(#_) #trainingTimeline .session-card:has(>.session-menu-button) .session-type-corner{margin-right:12px!important}
@media screen and (min-width:761px) and (min-height:501px){html:root:not(#_) #trainingTimeline.month-view .session-card:has(>.session-menu-button) .session-type-corner{margin-right:10px!important}}
/* Während des Scrollens keine Hover-Effekte im Kalender */
html:root:not(#_) #trainingTimeline[data-scrolling] :is(.calendar-days,.prep-week-edge){pointer-events:none}
/* Wochentags-Kopf des Monats nur am Desktop (darunter eigene Monatsdarstellung) */
@media screen and (max-width:760px), screen and (max-height:500px){html:root:not(#_) #trainingTimeline .prep-month-weekdays{display:none!important}}
/* Safari: Text in Kalenderkarten wackelte beim Überfahren (Lars 20.11.2026).
   Ursache: Safari stellt beim Einblenden von ⋮/+ (Opazität mit Übergang) kurzzeitig eine eigene Ebene her und wechselt dabei
   die Kantenglättung der Schrift. Abhilfe: im Kalender durchgehend Graustufen-Glättung und Einblenden ohne Übergang.
   Nur Safari (font: -apple-system-body versteht nur Safari), Chrome bleibt unverändert. */
@supports (font: -apple-system-body) {
  html:root:not(#_) #trainingTimeline, html:root:not(#_) #calendarDayOverlay{-webkit-font-smoothing:antialiased}
  html:root:not(#_) #trainingTimeline :is(.calendar-add,.calendar-range-menu,.session-menu-button,.session-type-corner,.calendar-day-actions,.flow-toggle){transition:none!important}
  html:root:not(#_) #trainingTimeline :is(.session-card,.session-card-trigger,.planning-event-card,.calendar-day-create,.prep-week-edge,.calendar-more-link){transition:none!important}
}
/* Monat: Datum nicht am Zellrand, sondern etwas eingerückt (Lars 20.11.2026) */
@media screen and (min-width:761px) and (min-height:501px){html:root:not(#_) #trainingTimeline.month-view .calendar-day-create{margin-left:0!important;padding:0 3px 0 6px!important}}
/* Monat: Datum halbfett wie die Wochentage im Kopf (Lars 20.11.2026); Monatserster bleibt fett */
@media screen and (min-width:761px) and (min-height:501px){html:root:not(#_) #trainingTimeline.month-view .calendar-day:not([data-calendar-date$="-01"]) .calendar-day-create{font-weight:600!important}}
/* Status-Zeichen (✓ Erledigt, × Ausgefallen …) mittig im Kreis; vorher 14-px-Zeichen in 12-px-Kreis, 2 px zu tief (Lars 20.11.2026) */
html:root:not(#_) .prep-status>b:has(.prep-status-svg){display:inline-grid!important;place-items:center;width:1.2em;height:1.2em;flex:none}
html:root:not(#_) .prep-status>b>.prep-status-svg{display:block;width:.78em;height:.78em;margin:0!important;vertical-align:0}
/* "+N weitere": deckender Streifen bis zur Zellkante, oben weicher Übergang – darunter scheint nichts mehr durch */
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.month-view .calendar-more-link{left:0!important;right:0!important;bottom:0!important;padding:0 10px!important;border-radius:0!important;background:var(--prep-surface,#1c1f22)!important;box-shadow:0 -10px 10px -2px var(--prep-surface,#1c1f22)}
  html[data-theme="light"]:root:not(#_) #trainingTimeline.month-view .calendar-more-link{background:var(--prep-bg2)!important;box-shadow:0 -10px 10px -2px var(--prep-bg2)}
}
@media screen and (min-width:761px) and (min-height:501px){html:root:not(#_) #trainingTimeline.month-view .calendar-more-link{min-height:0!important;height:28px!important}}
/* Status farbig (Lars 20.11.2026): Erledigt grün, teilweise gelb, ausgefallen/nicht erledigt rot – Zeichen und Wort, Hell/Dunkel über Tokens */
html:root:not(#_) :is(.prep-status[data-status="completed"],.completion-badge[data-completion="completed"]){color:var(--prep-mint-text)!important}
html:root:not(#_) :is(.prep-status[data-status="partially_completed"],.completion-badge[data-completion="partially_completed"]){color:var(--prep-warn)!important}
html:root:not(#_) :is(.prep-status[data-status="not_completed"],.prep-status[data-status="overdue"],.completion-badge[data-completion="not_completed"]){color:var(--prep-bad)!important}
html:root:not(#_) .prep-status[data-status] .prep-status-svg{color:inherit!important}
/* Status-Kreis immer rund, Symbol gezeichnet und genau mittig */
html:root:not(#_) .prep-status>b{display:inline-grid!important;place-items:center;flex:none;width:1.25em!important;height:1.25em!important;box-sizing:border-box;border:1px solid currentColor;border-radius:50%;line-height:0}
html:root:not(#_) .prep-status>b>.prep-status-glyph{display:block;width:100%;height:100%}
/* Tagesübersicht: Karten genau wie im Kalender (Lars 20.11.2026) – einspaltig, kein "›", ⋮ dezent und erst beim Überfahren, Typ oben rechts */
html:root:not(#_) #calendarDayOverlay .calendar-day-overlay-entries{display:flex;flex-direction:column;gap:6px}
html:root:not(#_) #calendarDayOverlay .session-card{position:relative;flex:none;min-height:0;margin:0!important;padding:0!important;border-radius:6px}
html:root:not(#_) #calendarDayOverlay .session-card-trigger{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:3px!important;min-height:0;padding:8px 10px!important;text-align:start}
html:root:not(#_) #calendarDayOverlay .session-title{display:block!important;white-space:normal!important;overflow:visible!important;min-height:0!important;padding-right:0!important;font-size:13px;font-weight:600;line-height:1.3}
html:root:not(#_) #calendarDayOverlay .session-card-meta{display:flex!important;flex-wrap:wrap;font-size:12px}
html:root:not(#_) #calendarDayOverlay .session-card-indicators{display:flex!important;flex-wrap:wrap;gap:2px 8px;font-size:11.5px}
html:root:not(#_) #calendarDayOverlay :is(.session-open-icon,.session-flow){display:none!important}
html:root:not(#_) #calendarDayOverlay .session-type-corner{float:right;margin:-3px 10px 2px 6px}
html:root:not(#_) #calendarDayOverlay .session-type-corner .session-training-type{white-space:nowrap;font-size:11px;font-weight:600}
html:root:not(#_) #calendarDayOverlay .session-card>.session-menu-button{display:grid!important;place-items:center;position:absolute!important;top:4px!important;right:4px!important;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-text2)!important;font-size:20px!important;font-weight:400!important;line-height:1!important;opacity:0;z-index:2}
html:root:not(#_) #calendarDayOverlay .session-card:is(:hover,:focus-within)>.session-menu-button,html:root:not(#_) #calendarDayOverlay .session-card>.session-menu-button[aria-expanded="true"]{opacity:1}
html:root:not(#_) #calendarDayOverlay .session-card:has(>.session-menu-button) .session-type-corner{margin-right:28px}
html:root:not(#_) #trainingTimeline #calendarDayOverlay .session-card:has(>.session-menu-button) .session-type-corner{margin-right:28px!important}
/* Zeile "Nächster Wettkampf …" behält ihre Höhe, auch ohne Wettkampf – der Kalender springt beim Wechsel nicht (Lars 20.11.2026) */
@media screen and (min-width:761px) and (min-height:501px){html:root:not(#_) #calendarView #calendarSummary{min-height:20px;line-height:20px}}

/* ===== Jahresansicht passend zu Woche und Monat (Lars 20.11.2026) ===== */
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.year-view{gap:1px!important;padding:0!important;overflow:clip!important;align-content:stretch;margin-right:0!important}
}
html:root:not(#_) #trainingTimeline .year-month{display:flex;flex-direction:column;gap:0!important;margin:0;padding:0!important;border:0!important;border-radius:0!important;background:var(--prep-surface,#1c1f22);box-shadow:none!important;opacity:1!important;content-visibility:visible}
html:root:not(#_) #trainingTimeline .year-month h3{margin:0!important;font:inherit}
html:root:not(#_) #trainingTimeline .year-month-open{display:flex!important;align-items:center;width:100%!important;min-height:36px!important;margin:0!important;padding:0 12px!important;border:0!important;border-bottom:1px solid var(--prep-line)!important;border-radius:0!important;background:color-mix(in srgb,var(--prep-text,#fff) 5%,var(--prep-surface,#1c1f22))!important;color:var(--prep-text)!important;font-size:13px!important;font-weight:600!important;text-transform:capitalize;text-align:left}
html:root:not(#_) #trainingTimeline .year-month.is-current .year-month-open{}
html:root:not(#_) #trainingTimeline .year-month-facts{display:grid;gap:4px;margin:0;padding:10px 12px 8px}
html:root:not(#_) #trainingTimeline .year-month-facts>div{padding:0!important;border:0!important;border-radius:0!important}
html:root:not(#_) #trainingTimeline .year-month-facts dt{color:var(--prep-text2)}
html:root:not(#_) #trainingTimeline .year-month-facts dd{margin:0;font-size:17px;font-weight:700;color:var(--prep-text);font-variant-numeric:tabular-nums}
html:root:not(#_) #trainingTimeline .year-month.is-empty .year-month-facts dd{color:var(--prep-text3);font-weight:600}
html:root:not(#_) #trainingTimeline .year-month-types{display:grid;margin:0;padding:6px 12px 8px;border-top:1px solid var(--prep-line);list-style:none;font-size:12px}
html:root:not(#_) #trainingTimeline .year-month-types li{justify-content:space-between;gap:8px;min-width:0}
html:root:not(#_) #trainingTimeline .year-month-types .pws-name{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;color:var(--prep-text)}
html:root:not(#_) #trainingTimeline .year-month-types .pws-dot{flex:none;width:7px;height:7px;border-radius:50%;background:color-mix(in srgb,var(--fliq-training-type-tint,#888) 45%,#ffffff)}
html[data-theme="light"]:root:not(#_) #trainingTimeline .year-month-types .pws-dot{background:var(--fliq-training-type-accent,#3a4048)}
html:root:not(#_) #trainingTimeline .year-month-types .pws-val{flex:none;color:var(--prep-text2);font-variant-numeric:tabular-nums}
html:root:not(#_) #trainingTimeline .year-month-competitions{padding:6px 12px 8px;border-top:1px solid var(--prep-line)}
html:root:not(#_) #trainingTimeline .year-month-other{padding:0 12px 8px}
html[data-theme="light"]:root:not(#_) #trainingTimeline .year-month{background:var(--prep-bg2)}
html[data-theme="light"]:root:not(#_) #trainingTimeline .year-month-open{background:var(--prep-calendar-day-heading)!important}
@media (hover:hover){html:root:not(#_) #trainingTimeline .year-month-open:hover{background-image:linear-gradient(var(--prep-hover),var(--prep-hover))!important}}
@media screen and (min-width:761px) and (min-height:501px){html:root:not(#_) #trainingTimeline.year-view{grid-template-rows:none!important;grid-auto-rows:minmax(220px,auto)!important}}
html:root:not(#_) #trainingTimeline .year-month>*{flex:none}
@media screen and (min-width:761px) and (min-height:501px){html:root:not(#_) #trainingTimeline.year-view{overflow-x:hidden!important;height:auto!important;max-height:100%;align-self:start!important}}
html:root:not(#_) #trainingTimeline .year-month{overflow:visible!important}
/* Jahr: Anteils-Balken, Kennzahlen, Erfüllung */
html:root:not(#_) #trainingTimeline .year-month-share{display:flex;gap:1px;height:6px;margin:0 12px 6px;border-radius:3px;overflow:hidden;background:var(--prep-line)}
html:root:not(#_) #trainingTimeline .year-month-share>span{flex:0 0 auto;flex-basis:0;min-width:2px;background:color-mix(in srgb,var(--fliq-training-type-tint,#888) 45%,#ffffff)}
html[data-theme="light"]:root:not(#_) #trainingTimeline .year-month-share>span{background:var(--fliq-training-type-accent,#3a4048)}
html:root:not(#_) #trainingTimeline .year-month-types .pws-val b{font-weight:600;color:var(--prep-text)}
html:root:not(#_) #trainingTimeline .year-month-stats{display:grid;gap:3px;margin:0;padding:6px 12px 8px;border-top:1px solid var(--prep-line);font-size:12px}
html:root:not(#_) #trainingTimeline .year-month-stats>div{display:flex;justify-content:space-between;gap:8px}
html:root:not(#_) #trainingTimeline .year-month-stats dt{color:var(--prep-text2)}
html:root:not(#_) #trainingTimeline .year-month-stats dd{margin:0;color:var(--prep-text);font-weight:600;font-variant-numeric:tabular-nums;text-align:right}
html:root:not(#_) #trainingTimeline .year-month-fulfil{display:inline-flex;gap:8px;align-items:center}
html:root:not(#_) #trainingTimeline .year-month-fulfil>[data-status="completed"]{color:var(--prep-mint-text)}
html:root:not(#_) #trainingTimeline .year-month-fulfil>[data-status="partially_completed"]{color:var(--prep-warn)}
html:root:not(#_) #trainingTimeline .year-month-fulfil>[data-status="not_completed"]{color:var(--prep-bad)}
html:root:not(#_) #trainingTimeline .year-month-fulfil>[data-status="open"]{color:var(--prep-text2)}
html:root:not(#_) #trainingTimeline .year-month-fulfil-pct{color:var(--prep-text)}
/* Jahr: weitere Termine aufklappbar (Lars 20.11.2026) */
html:root:not(#_) #trainingTimeline details.year-month-other{margin:0;padding:0 12px 8px;font-size:12px;color:var(--prep-text2)}
html:root:not(#_) #trainingTimeline details.year-month-other>summary{display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:0 6px;margin-left:-6px;border-radius:6px;cursor:pointer;list-style:none;font-weight:600}
html:root:not(#_) #trainingTimeline details.year-month-other>summary::-webkit-details-marker{display:none}
html:root:not(#_) #trainingTimeline details.year-month-other>summary::before{content:"▸";font-size:10px;transition:transform .12s}
html:root:not(#_) #trainingTimeline details.year-month-other[open]>summary::before{transform:rotate(90deg)}
@media (hover:hover){html:root:not(#_) #trainingTimeline details.year-month-other>summary:hover{background:var(--prep-hover)}}
html:root:not(#_) #trainingTimeline details.year-month-other>.year-month-competitions{padding:4px 0 0!important;border:0!important;color:var(--prep-text)}
/* Jahr: vier gleich breite Werte oben (Einheiten · Stunden · Tage · Wettkämpfe) */
html:root:not(#_) #trainingTimeline .year-month-facts{}
html:root:not(#_) #trainingTimeline .year-month-facts dt{}
html:root:not(#_) #trainingTimeline .year-month-facts dt{font-size:11px!important}
/* Jahr: lange Beschriftungen brechen bei schmalen Fenstern um (mit Trennung), Zahlen bleiben unten auf einer Linie */
html:root:not(#_) #trainingTimeline .year-month-facts>div{display:flex;flex-direction:column;justify-content:space-between;min-width:0}
html:root:not(#_) #trainingTimeline .year-month-facts dt{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;hyphens:auto;overflow-wrap:anywhere;line-height:1.2}
/* Jahr: Raster in eigenem Block; der Scrollbereich bleibt durchsichtig (kein grauer Streifen hinter der Scrollleiste) */
@media screen and (min-width:761px) and (min-height:501px){
  html:root:not(#_) #trainingTimeline.year-view{display:block!important;background:transparent!important;border:0!important;border-radius:0!important;overflow-y:auto!important}
  html:root:not(#_) #trainingTimeline .prep-year-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(220px,auto);gap:1px;background:var(--prep-line);border:1px solid var(--prep-line);border-radius:8px;overflow:clip}
}
@media screen and (min-width:761px) and (max-width:1099px) and (min-height:501px){html:root:not(#_) #trainingTimeline .prep-year-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media screen and (max-width:760px), screen and (max-height:500px){html:root:not(#_) #trainingTimeline .prep-year-grid{display:grid;grid-template-columns:1fr;gap:8px}}
/* Jahr: Typ-Zeile = Name · Anzahl/Zeit · Prozent, darunter eigener Balken (Lars 20.11.2026) */
html:root:not(#_) #trainingTimeline .year-month-types{gap:6px!important}
html:root:not(#_) #trainingTimeline .year-month-types li{display:grid!important;grid-template-columns:minmax(0,1fr) auto 3.2em;align-items:baseline;column-gap:8px;row-gap:3px}
html:root:not(#_) #trainingTimeline .year-month-types .pws-pct{text-align:right;font-weight:700;color:var(--prep-text);font-variant-numeric:tabular-nums}
html:root:not(#_) #trainingTimeline .year-type-bar{grid-column:1 / -1;display:block;height:4px;border-radius:2px;background:color-mix(in srgb,var(--prep-text,#fff) 8%,transparent);overflow:hidden}
html:root:not(#_) #trainingTimeline .year-type-bar>span{display:block;height:100%;min-width:2px;border-radius:2px;background:color-mix(in srgb,var(--fliq-training-type-tint,#888) 45%,#ffffff)}
html[data-theme="light"]:root:not(#_) #trainingTimeline .year-type-bar>span{background:var(--fliq-training-type-accent,#3a4048)}
/* Jahr: Wettkämpfe ganz rechts (rechtsbündig), die drei übrigen Werte gleichmäßig davor (Lars 20.11.2026) */
html:root:not(#_) #trainingTimeline .year-month-facts{column-gap:10px!important}
html:root:not(#_) #trainingTimeline .year-month-facts>div:last-child{}
/* Jahr: Scrollleiste wieder am Browserrand (Scrollbereich ist durchsichtig, kein grauer Rand mehr) */
/* Jahr: Spalte Wettkämpfe bleibt ganz rechts, Text und Zahl darin aber linksbündig (beginnen mit dem W) */
html:root:not(#_) #trainingTimeline .year-month-facts>div:last-child{}
/* Jahr: Reihenfolge Wettkämpfe · Trainingstage · Einheiten · Stunden, vier gleich breite Spalten (Lars 20.11.2026) */
html:root:not(#_) #trainingTimeline .year-month-facts{}
/* Jahr: Stunden ganz rechts (Spalte nach Inhalt), Text und Zahl darin linksbündig; die drei übrigen gleichmäßig (Lars 20.11.2026) */
html:root:not(#_) #trainingTimeline .year-month-facts{grid-template-columns:repeat(3,minmax(0,1fr)) auto!important}
html:root:not(#_) #trainingTimeline .year-month-facts>div:last-child{text-align:left!important;align-items:flex-start!important}
/* Abfrage "Uhrzeiten anpassen" beim Verschieben von Einheiten mit fester Uhrzeit */
html:root:not(#_) #prepTimeDialog{width:min(460px,calc(100vw - 32px));border-radius:12px}
html:root:not(#_) #prepTimeDialog .prep-time-rows{display:grid;gap:6px;margin:12px 0 16px}
html:root:not(#_) #prepTimeDialog .prep-time-row{display:grid;align-items:center;gap:10px;padding:6px 8px;border:1px solid var(--prep-line);border-radius:8px}


html:root:not(#_) #prepTimeDialog .prep-time-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
html:root:not(#_) #prepTimeDialog .dialog-actions{display:flex;justify-content:flex-end;gap:8px}
html:root:not(#_) #prepTimeDialog .prep-time-title small{font-weight:400;color:var(--prep-text2)}
/* Uhrzeiten-Abfrage: alte Reihenfolge, "vorher → neu", geänderte Zeilen markiert (Lars 20.11.2026) */
html:root:not(#_) #prepTimeDialog .prep-time-row{grid-template-columns:minmax(0,1fr) auto auto 110px!important}
html:root:not(#_) #prepTimeDialog .prep-time-title{order:-1}
html:root:not(#_) #prepTimeDialog .prep-time-old{color:var(--prep-text2);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
html:root:not(#_) #prepTimeDialog .prep-time-arrow{color:var(--prep-text2)}
html:root:not(#_) #prepTimeDialog .prep-time-row.is-changed{border-color:var(--prep-accent);background:color-mix(in srgb,var(--prep-accent) 8%,transparent)}
html:root:not(#_) #prepTimeDialog .prep-time-row.is-changed .prep-time-arrow{color:var(--prep-accent)}
html:root:not(#_) #prepTimeDialog .prep-time-hint{margin:8px 0 0;font-size:12.5px;color:var(--prep-text2)}
/* Session-Reihenfolge-Abfrage */
html:root:not(#_) #prepOrderDialog{width:min(520px,calc(100vw - 32px));border-radius:12px}
html:root:not(#_) #prepOrderDialog .prep-time-rows{list-style:none;padding:0}
html:root:not(#_) #prepOrderDialog .prep-order-row{grid-template-columns:minmax(0,1fr) auto auto auto auto!important}
html:root:not(#_) #prepOrderDialog .prep-order-new{font-variant-numeric:tabular-nums;white-space:nowrap}
html:root:not(#_) #prepOrderDialog .prep-order-moves{display:flex;gap:2px}
html:root:not(#_) #prepOrderDialog .prep-order-moves .icon-button{width:32px;min-width:32px;height:32px;min-height:32px}
html:root:not(#_) #prepOrderDialog .prep-order-group h3{margin:12px 0 0;font-size:13px}
/* 02.12.2026 (Lars): Trainerzuordnung aufgeräumt – Abschnitte mit Überschrift und Knopf, einheitliche Zeilen */
.prep-team{display:grid;gap:24px}
.prep-team-section>header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;min-height:var(--prep-control-h);margin-bottom:8px}
html[data-prep-ui]:root:not(#_) .prep-team-section h4{margin:0;font-size:14px;font-weight:600}
.prep-team-section>.supporting{margin:8px 0 0;font-size:12.5px}
.prep-team-list{margin:0;padding:0;border:1px solid var(--prep-line);border-radius:12px;list-style:none}
.prep-team-list>li{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 14px}
.prep-team-list>li+li{border-top:1px solid var(--prep-line)}
.prep-team-avatar{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:var(--prep-raised);color:var(--prep-text2);font-size:11px;font-weight:600}
.prep-team-text{display:grid;flex:1 1 180px;gap:1px;min-width:0;overflow-wrap:anywhere}
.prep-team-text>strong{font-size:14px;font-weight:600}
.prep-team-text>small{font-size:12.5px;color:var(--prep-text2)}
.prep-team-aside{display:flex;flex:none;flex-wrap:wrap;gap:8px;margin-inline-start:auto}
html[data-prep-ui]:root:not(#_):not(#__) .prep-consent-state[data-consent="granted"]{background:color-mix(in srgb,var(--prep-ok,#0f7a4a) 14%,transparent)!important;color:var(--prep-ok,#0f7a4a)!important}
html[data-prep-ui]:root:not(#_):not(#__) .prep-consent-state:is([data-consent="withdrawn"],[data-consent="declined"]){background:color-mix(in srgb,var(--prep-bad,#c0392b) 12%,transparent)!important;color:var(--prep-bad,#c0392b)!important}
.prep-team-section [data-open-grant]{display:inline-flex;align-items:center;gap:6px}
.prep-team .prep-access-plan .card-heading{margin:0 0 8px}
html[data-prep-ui]:root:not(#_) .prep-team .prep-access-plan .card-heading h3{margin:0;font-size:14px;font-weight:600}
#prepRecordTrainerAssignment .prep-connection-actions{margin-top:24px;padding-top:16px;border-top:1px solid var(--prep-line)}
.prep-parent-rights{display:grid;gap:2px}
html[data-prep-ui]:root:not(#_):not(#__) .prep-parent-rights .check-field{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:36px;margin:0;padding:0;text-align:start}
html[data-prep-ui]:root:not(#_):not(#__) .prep-parent-rights .check-field>input{flex:none;width:18px;height:18px;min-width:18px;min-height:0;margin:0}
html[data-prep-ui]:root:not(#_):not(#__) .prep-parent-rights .check-field small{display:inline;color:var(--prep-text3)}
@media (max-width:760px){html[data-prep-ui]:root:not(#_):not(#__) .prep-parent-rights .check-field{min-height:44px}.prep-team-aside{flex-basis:100%;margin-inline-start:44px}.prep-team-aside:has(>.status-pill){flex-basis:auto;margin-inline-start:auto}}
#blocksView .block-recommended{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 12px;font-size:13px;color:var(--prep-text2)}
