/* AEON · Training clean. Aufgeräumte Training-Ansicht (Scene-Look): alte Auswahl/Linkliste weg,
   Unterbereiche in der Shell-Leiste, Coach-Schalter als eigene Karte, lange Texte eingeklappt.
   Abschalten: localStorage "aeon.trainclean" = "0". */
html.tclean .training-stack > .training-nav { display: none; }
html.tclean .training-progress { margin: 0 0 14px; font-size: 12.5px; letter-spacing: .01em; }
html.tclean .training-progress progress { width: clamp(64px, 22vw, 200px); height: 3px; border-radius: 3px; }

/* Ausdauer: kleine Umschaltung Laufen / Schwimmen & Rad */
.tc-seg { display: inline-flex; gap: 2px; padding: 3px; margin: 0 0 14px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.tc-seg a { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: -.01em; color: var(--text-2, #A1A1A6); text-decoration: none; transition: background .25s cubic-bezier(.23,1,.32,1), color .25s; }
.tc-seg a[aria-current="page"] { background: var(--accent, #E9A35B); color: #000; }
.tc-seg a:active { transform: scale(.97); }

/* Coach-Schalter */
.tc-switch { display: grid; gap: 12px; margin: 0 0 16px; padding: 16px 18px; border-radius: 22px; background: rgba(16,16,18,.52); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 18px 50px rgba(0,0,0,.28); }
.tc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.tc-title { display: grid; gap: 2px; min-width: 0; }
.tc-title b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--text, #F5F5F7); }
.tc-title small { font-size: 12.5px; color: var(--text-2, #A1A1A6); }
.tc-toggle { position: relative; flex: none; width: 56px; height: 32px; border: 0; border-radius: 999px; background: rgba(255,255,255,.16); cursor: pointer; transition: background .3s cubic-bezier(.23,1,.32,1); }
.tc-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .3s cubic-bezier(.23,1,.32,1); }
.tc-toggle[aria-checked="true"] { background: var(--accent, #E9A35B); }
.tc-toggle[aria-checked="true"]::after { transform: translateX(24px); }
.tc-toggle:focus-visible { outline: 2px solid var(--accent, #E9A35B); outline-offset: 3px; }
.tc-toggle[disabled] { opacity: .5; cursor: progress; }
.tc-hours { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tc-hours > span { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2, #A1A1A6); margin-right: 4px; }
.tc-hours button { min-width: 44px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; color: var(--text-2, #A1A1A6); background: rgba(255,255,255,.06); cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.tc-hours button[aria-pressed="true"] { background: var(--accent, #E9A35B); color: #000; }
.tc-hours button:active { transform: scale(.96); }
.tc-goals { margin: 0; font-size: 12.5px; color: var(--text-2, #A1A1A6); }
.tc-msg { margin: 0; min-height: 1em; font-size: 12.5px; color: var(--text-2, #A1A1A6); }

/* Lange Erklärtexte: zwei Zeilen, Tippen klappt auf */

@media (max-width: 760px) {
  .tc-switch { padding: 14px 16px; border-radius: 20px; }
  .tc-hours button { min-width: 40px; padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce), html.reduce { .tc-toggle, .tc-toggle::after, .tc-seg a, .tc-hours button { transition: none; } }
