/* Coach-Durchgang (02.11.2026): ruhigere Hierarchie auf „Heute“.
   Eine Sache groß (was als Nächstes dran ist), Kennzahlen darunter, Coach als knappe Liste, alles Lange zugeklappt.
   Bewegung: eine Kurve (ease-out), Druck 120 ms, Aufklappen 260 ms, Staffel 40 ms; reduced-motion = nur Überblenden. */


/* Überschrift: eng gesetzt, wie ein Titel in Apple Fitness */
.hero-line { font-size: clamp(27px, 7.4vw, 32px); line-height: 1.08; letter-spacing: -.028em; margin-bottom: 20px; }

/* Kennzahlen: Erholung leiser (nur Anzeige) */
.metric.quiet .m-v { color: var(--text-3); font-size: 24px; }
.metric.quiet .m-l { color: var(--text-3); }
.metric.quiet .m-bar i { opacity: .45; }
.metric { transition: transform 120ms var(--ease), background-color 160ms var(--ease); }
.metric:active { transform: scale(.97); }

/* Als Nächstes: ein klarer Block mit Art, Uhrzeit, Dauer und dem Rest des Tages als Linie */
.nx { padding: 4px 0 8px; }
.nx-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nx-kind { font: 600 11.5px/1 var(--f); letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); padding: 5px 8px; border-radius: 999px; background: color-mix(in srgb, var(--text) 8%, transparent); }
.nx-kind.k-run { color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); }
.nx-kind.k-fencing { color: var(--orange); background: color-mix(in srgb, var(--orange) 14%, transparent); }
.nx-kind.k-gym { color: var(--yellow); background: color-mix(in srgb, var(--yellow) 14%, transparent); }
.nx-main { margin-top: 10px; gap: 14px; }
.nx-t { font-size: 44px; letter-spacing: -.035em; }
.nx-w { font-size: 20px; line-height: 1.2; }
.nx-w small { font: 500 15px/1 var(--f); color: var(--text-3); letter-spacing: 0; }
.nx-s { font-size: 13.5px; max-width: 34em; }
.nx-line { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.nx-line::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.nx-line li { position: relative; display: grid; grid-template-columns: 58px 1fr; align-items: baseline; gap: 8px; padding: 6px 0 6px 18px; font-size: 14.5px; color: var(--text-2); }
.nx-line li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--panel, #111); box-shadow: inset 0 0 0 1.5px var(--text-3); }
.nx-line li.k-run::before { box-shadow: inset 0 0 0 1.5px var(--green); }
.nx-line li.k-fencing::before { box-shadow: inset 0 0 0 1.5px var(--orange); }
.nx-line li.k-gym::before { box-shadow: inset 0 0 0 1.5px var(--yellow); }
.nx-line li.k-sleep::before { box-shadow: inset 0 0 0 1.5px var(--sleep); }
.nx-line b { color: var(--text); font-weight: 600; font-size: 14px; }
.nx-line span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Coach: Liste mit Haarlinien, eine Zeile pro Punkt, Aktion auf Tipp */
.coach-sec .sec-t span { font-size: 12.5px; color: var(--text-3); }
.cl { display: flex; flex-direction: column; }
.cl-r { box-shadow: inset 0 -1px 0 var(--line); }
.cl-r:last-child { box-shadow: none; }
.cl-r > summary, .cl-s { display: grid; grid-template-columns: 10px auto 1fr 14px; align-items: center; gap: 10px; padding: 13px 0; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.cl-s { grid-template-columns: 10px auto 1fr; cursor: default; }
.cl-r > summary::-webkit-details-marker { display: none; }
.cl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.cl-r.high .cl-dot { background: var(--red); }
.cl-k { font: 640 15px/1.2 var(--f); letter-spacing: -.01em; }
.cl-t { font-size: 14px; color: var(--text-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-t.wrap { white-space: normal; }
.cl-r .chev { justify-self: end; transition: transform 220ms var(--ease); }
.cl-r[open] .chev { transform: rotate(180deg); }
.cl-r[open] .cl-t { white-space: normal; }
.cl-a { margin: -4px 0 14px 20px; font-size: 14px; line-height: 1.5; color: var(--text); }
.cl-r[open] .cl-a { animation: cl-in 260ms var(--ease) both; }
@keyframes cl-in { from { opacity: 0; transform: translateY(-4px); } }
.cl-r > summary:active { opacity: .7; }

/* Folds: Druckrückmeldung sofort, Inhalt fließt rein */
details.fold > summary { transition: background-color 160ms var(--ease); }
details.fold > summary:active { background: color-mix(in srgb, var(--text) 5%, transparent); }
details.fold[open] > .fold-body { animation: cl-in 260ms var(--ease) both; }

/* Mehrere Erklärungen hintereinander: nur eine Zeile Abstand */
details.more + details.more { margin-top: 2px !important; }

@media (prefers-reduced-motion: reduce) {
  .metric, .cl-r .chev { transition: none; }
  .cl-r[open] .cl-a, details.fold[open] > .fold-body { animation: none; }
  .metric:active { transform: none; }
}
.wk-list.fb { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; font-size: 14px; line-height: 1.4; }
.wk-list.fb b { font-weight: 600; margin-right: 2px; }
.wk-list.fb .fb-o { color: var(--muted, #9a9a9a); }
