/* quik Sites: Feinabstimmung in Feedback-Runden (docs/BAUPLAN.md Abschnitt 35).
   Auswahl einzelner Elemente im Editor (public/js/feedback-start.js, Präfix fs-), Anmerken mit Werkzeug, Art, Textvorschlag,
   Ersatzbild und Anhang auf der Seite des Kunden (public/js/feedback-anmerken.js, Präfix fa-), Anmerkungen am Element im
   Editor (public/js/editor/abstimmung-fein.js, Präfix fz-). Farben nur über Variablen (docs/GESTALTUNG.md Abschnitt 15). */

/* ====================================================================== Auswahl im Editor: Baum Seite → Abschnitt → Element */
.fs-ab { border-radius: 12px; }
.fs-ab > .fs-row { padding-right: 6px; }
.fs-ab.teil > .fs-row { box-shadow: inset 0 0 0 1px var(--line); }
.fs-ab-auf { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 2px; width: auto; min-width: 32px; padding: 0 6px; color: var(--ink-faint); }
.fs-ab-auf .ic { transition: transform .2s var(--ease); }
.fs-ab.auf .fs-ab-auf .ic { transform: rotate(90deg); }
.fs-ab-auf:hover { color: var(--fg); }
.fs-ab-n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--fg); color: var(--on-fg); font-size: 11px; font-weight: 650; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.fs-ab-n[hidden] { display: none; }
/* Elemente: eingerückt an einer feinen Linie, kleiner als der Abschnitt */
.fs-els { position: relative; display: flex; flex-direction: column; gap: 1px; margin: 2px 0 8px 22px; padding-left: 12px; animation: fs-els-auf .2s var(--ease) both; }
.fs-els::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 12px; width: 1px; background: var(--line); }
@keyframes fs-els-auf { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fs-el { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px; border-radius: 10px; cursor: pointer; transition: background-color .15s, box-shadow .2s; }
.fs-el:hover { background: var(--hover); }
.fs-el.on { background: var(--surface-2); }
.fs-el.ganz { cursor: default; background: transparent; }
.fs-el.tief { margin-left: 16px; }
.fs-el > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fs-el:has(> input:focus-visible) { box-shadow: inset 0 0 0 2px var(--accent); }
.fs-el .fs-check { width: 18px; height: 18px; border-radius: 5px; }
.fs-el.on .fs-check { background: var(--fg); box-shadow: none; }
.fs-el.on .fs-check .ic { opacity: 1; transform: none; }
.fs-el.ganz .fs-check { background: var(--surface-3); color: var(--ink-soft); }
.fs-el .fs-row-t b { font-size: var(--fs-xs); }
.fs-el .fs-row-t span { font-size: var(--fs-2xs); }
.fs-eth { flex: none; display: grid; place-items: center; width: 40px; height: 30px; border-radius: 6px; background: var(--surface-2); color: var(--ink-soft); box-shadow: 0 0 0 1px var(--line-soft); overflow: hidden; }
.fs-eth.is-bild { background: var(--paper); }
.fs-eth.is-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-eth.is-ueberschrift .ic { stroke-width: 2.4; }

/* Schnellwahl */
.fs-schnell { display: flex; flex-direction: column; gap: 10px; margin: 0 0 6px; }
.fs-schnell-r { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fs-schnell-t { flex-basis: 100%; font-size: var(--fs-2xs); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-sw { gap: 6px; }
.fs-sw .ic { flex: none; }
.fs-schnell .fs-vorschlag { margin: 0; }

/* Tipp auf der Bühne: drei kurze Handgriffe */
.fs-tip-s { color: color-mix(in srgb, var(--on-fg) 62%, transparent); font-weight: 450; padding-left: 10px; border-left: 1px solid color-mix(in srgb, var(--on-fg) 22%, transparent); }
@media (max-width: 860px) { .fs-tip-s { display: none; } }

/* ====================================================================== Seite des Kunden: Werkzeuge und Formular */
.fa-werk { display: flex; flex-direction: column; gap: 8px; animation: fg-auf .22s var(--ease) both; }
/* Eine Reihe Symbolknöpfe (Name im Tooltip): Punkt, Textstück, Bereich, Bild, dann „Ohne bestimmte Stelle“ */
.fa-werk-r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fa-tools { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--surface-2); }
.fa-tool { display: grid; place-items: center; width: 42px; height: 38px; padding: 0; border-radius: 9px; color: var(--ink-soft); transition: background-color .15s, color .15s, box-shadow .2s; }
.fa-werk-r > .fa-ohne { background: var(--surface-2); border-radius: 12px; width: 44px; height: 44px; }
.fa-werk-r > .fa-ohne:hover { background: var(--surface-3); }
.fa-ersatz-k { margin-left: auto; }
.fa-tool:hover { color: var(--fg); }
.fa-tool.on { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .1), 0 0 0 1px var(--line-soft); }
.fa-tool:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.fa-tool span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fa-werk-h { margin: 0; display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.45; }
.fa-werk-h::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 99px; background: var(--accent); }
.fa-ohne { align-self: flex-start; font-size: var(--fs-xs); }

.fa-form { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-strong); animation: fg-auf .25s var(--ease) both; }
.fa-form.weitere { box-shadow: 0 0 0 1px var(--line-strong), inset 3px 0 0 var(--ink-faint); }
.fa-form-h { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: var(--fs-xs); font-weight: 550; color: var(--ink-soft); }
.fa-ort-ic { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 99px; background: var(--accent); color: var(--on-accent); }
.fa-form-f { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 8px; }
.fa-form-f > .grow { flex: 1 1 0; min-width: 0; }
/* Art als kleine Pille mit Menü; Gestaltung (nur ein Hinweis) mit Linie statt Fläche */
.fa-art-k { display: inline-flex; align-items: center; gap: 6px; height: 32px; max-width: 100%; padding: 0 10px 0 11px; border-radius: 99px; background: var(--surface-2); color: var(--ink); font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; transition: background-color .15s; }
.fa-art-k:hover { background: var(--surface-3); }
.fa-art-k span { overflow: hidden; text-overflow: ellipsis; }
.fa-art-k > .ic:last-child { color: var(--ink-faint); }
.fa-art-k.is-hinweis { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.fa-art-k:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fa-form-h > .grow { flex: 1 1 auto; min-width: 0; }
.fa-form-h > .fa-art-k { flex: none; height: 28px; margin: -2px 0; }
.fa-ta { min-height: 76px; }
.fa-arten { display: flex; flex-wrap: wrap; gap: 6px; }
.fa-art { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; background: var(--surface-2); color: var(--ink-soft); font-size: var(--fs-xs); font-weight: 600; transition: background-color .15s, color .15s; }
.fa-art:hover { color: var(--fg); background: var(--surface-3); }
.fa-art.on { background: var(--fg); color: var(--on-fg); }
.fa-art:focus-visible, .fa-u:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fa-unter { display: flex; gap: 0; align-self: flex-start; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); }
.fa-unter[hidden] { display: none; }
.fa-u { height: 28px; padding: 0 12px; border-radius: 99px; font-size: var(--fs-xs); color: var(--ink-soft); font-weight: 550; }
.fa-u.on { background: var(--surface-3); color: var(--fg); }
.fa-art-h { margin: -2px 0 0; font-size: var(--fs-xs); color: var(--ink-faint); line-height: 1.45; }
.fa-art-h[hidden] { display: none; }

/* Textvorschlag wie auf einem Korrekturabzug: bisher durchgestrichen, darunter der neue Wortlaut */
.fa-proof { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.fa-proof-k { font-size: var(--fs-2xs); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); }
.fa-proof label.fa-proof-k { margin-top: 6px; }
.fa-proof del { color: var(--ink-soft); text-decoration-line: line-through; text-decoration-color: var(--red-dot); text-decoration-thickness: 1.5px; overflow-wrap: anywhere; line-height: 1.5; }
.fa-proof ins { text-decoration: none; color: var(--fg); font-weight: 550; overflow-wrap: anywhere; line-height: 1.5; box-shadow: inset 0 -0.42em 0 color-mix(in srgb, var(--accent) 18%, transparent); }
.fa-proof .fa-vor { background: var(--surface); }
.fa-proof.klein { padding: 6px 10px; margin-top: 4px; gap: 2px; font-size: var(--fs-sm); }

/* Ersatzbild: jetzt → neu */
.fa-ersatz { display: flex; align-items: center; gap: 10px; min-height: 84px; }
.fa-ersatz.is-busy { opacity: .6; pointer-events: none; }
.fa-ersatz figure { position: relative; margin: 0; flex: none; width: 96px; }
.fa-ersatz figure img { display: block; width: 96px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.fa-ersatz figcaption { margin-top: 4px; font-size: var(--fs-2xs); color: var(--ink-faint); font-weight: 550; }
.fa-ersatz .fa-bild-neu img { box-shadow: 0 0 0 2px var(--accent); }
.fa-ersatz .fa-x { position: absolute; right: -6px; top: -6px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); border-radius: 99px; }
.fa-pfeil { color: var(--ink-faint); flex: none; }
.fa-drop { flex: 1; min-width: 0; display: grid; justify-items: center; gap: 2px; padding: 12px; border-radius: 10px; border: 1.5px dashed var(--line-strong); color: var(--ink-soft); text-align: center; transition: border-color .15s, background-color .15s; }
.fa-drop:hover { border-color: var(--fg); background: var(--hover); color: var(--fg); }
.fa-drop b { font-size: var(--fs-sm); font-weight: 600; }
.fa-drop span { font-size: var(--fs-2xs); color: var(--ink-faint); }

/* Anhänge */
.fa-anh { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fa-clip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); }
.fa-datei { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 32px; padding: 0 4px 0 4px; border-radius: 8px; background: var(--surface-2); font-size: var(--fs-xs); color: var(--ink); text-decoration: none; }
.fa-datei img { flex: none; width: 24px; height: 24px; border-radius: 5px; object-fit: cover; background: var(--paper); }
.fa-datei i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; color: var(--ink-soft); }
.fa-datei .ellip { max-width: 160px; }
.fa-datei small { color: var(--ink-faint); font-size: var(--fs-2xs); white-space: nowrap; }
a.fa-datei { padding-right: 10px; }
a.fa-datei:hover { background: var(--surface-3); }
a.fa-datei.ersatz img { box-shadow: 0 0 0 1.5px var(--accent); }

/* Anmerkung als Karte */
.fa-p-h { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.fa-art-m { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 99px; background: var(--surface-2); color: var(--ink-soft); font-size: var(--fs-2xs); font-weight: 600; white-space: nowrap; }
.fa-art-m.is-gestaltung { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.fa-p.is-hinweis { border-style: dashed; }
.fa-p-dateien { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.fg-p .fg-p-ant.team { border-left-color: var(--accent); }
.fa-reply-f { display: flex; align-items: flex-end; gap: 6px; margin-top: 8px; }
.fa-reply { min-height: 36px; resize: vertical; font-size: var(--fs-sm); }
.fa-mehr > .fg-k { margin-bottom: -2px; }
.fa-weitere { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); }
/* „Weitere Anmerkung“ aktiv: eine Zeile mit Info-Symbol (Erklärung im Popover) und „Abbrechen“ */
.fa-weitere-h { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 12px 4px 14px; border-radius: 12px; background: var(--surface-2); }
.fa-weitere-h b { font-size: var(--fs-sm); }
.fa-weitere-h .grow { flex: 1; }
.fa-weitere-h .link-btn { font-size: var(--fs-xs); }
.fg-s-weitere { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: var(--fs-sm); color: var(--ink-soft); }

/* Werkzeug auf der Bühne: Der Hinweis unten nennt den Handgriff des gewählten Werkzeugs (feedback-gefuehrt.js tipSetzen);
   er fängt keine Klicks ab, das Ziehen eines Rahmens geht durch ihn hindurch */

/* ====================================================================== Editor: Anmerkungen am Element (abstimmung-fein.js) */
.fz-el { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; font-size: var(--fs-2xs); color: var(--ink-faint); font-weight: 550; }
.fz-el .ic { flex: none; }
.fz-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fz-acts .btn { height: 30px; padding: 0 10px; font-size: var(--fs-xs); gap: 6px; }
.fz-ok { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-xs); color: var(--green); font-weight: 600; }
.fz-ok .ic { color: var(--green-dot); }
.fz-els { display: flex; flex-direction: column; gap: 2px; margin: 0 0 4px; }
.fz-elz { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 8px; border-radius: 8px; font-size: var(--fs-xs); color: var(--ink-soft); text-align: left; width: 100%; }
.fz-elz:hover { background: var(--hover); color: var(--fg); }
.fz-elz b { flex: 1; min-width: 0; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fz-elz .fe-dot { flex: none; }
.fz-elz small { flex: none; font-variant-numeric: tabular-nums; color: var(--ink-faint); }

@media (prefers-reduced-motion: reduce) {
  .fs-els, .fa-werk, .fa-form { animation: none; }
  .fs-ab-auf .ic { transition: none; }
}

/* Nachträge nach den Fotos: Fußzeile der Werkzeuge, Textvorschlag eng am Text, Textknöpfe ohne Überlauf */
.fa-werk-f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.fa-proof del, .fa-proof ins { justify-self: start; }
.fa-weitere { padding: 4px 2px; }

/* ---------- Korrekturschleifen (docs/BAUPLAN.md Abschnitt 37): Status je Anmerkung, Schleife „1 von 3“, Sperre, Kundenseite ---------- */
/* Status einer Anmerkung: ein Punkt in der Farbe des Sachverhalts, Schrift bleibt Tinte (GESTALTUNG 13) */
.fa-st { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 99px; background: var(--surface-2); color: var(--ink-soft); font-size: var(--fs-2xs); font-weight: 600; white-space: nowrap; flex: none; }
.fa-st i { width: 6px; height: 6px; border-radius: 99px; background: var(--line-strong); }
.fa-st.is-erledigt i { background: var(--green-dot); }
.fa-st.is-rueckfrage { background: var(--orange-tint); color: var(--ink); }
.fa-st.is-rueckfrage i { background: var(--orange-dot); }
.fa-st.is-abgelehnt i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.fa-st.is-offen i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.fa-grund { margin: 6px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--surface-2); font-size: var(--fs-xs); color: var(--ink); overflow-wrap: anywhere; }
.fa-grund b { font-weight: 600; }
.fa-p.is-rf { border-color: var(--orange-line); }
.fg-p-ant.rf b::after { content: " fragt"; font-weight: 500; color: var(--ink-soft); }

/* Schleife „1 von 3“ auf der Seite des Kunden */
.fg-sl { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: var(--fs-sm); color: var(--ink-soft); text-align: left; }
.fg-sl-n { flex: none; display: inline-flex; align-items: baseline; gap: 3px; padding: 4px 10px; border-radius: 99px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-soft); color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fg-sl-n b { font-size: 17px; font-weight: 650; color: var(--fg); }
.fg-sl.is-klein { justify-content: center; margin-top: 4px; background: transparent; padding: 0; }
.fg-vorige { margin: 0; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--surface); text-align: left; }
.fg-vorige summary { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; list-style: none; font-size: var(--fs-sm); }
.fg-vorige summary::-webkit-details-marker { display: none; }
.fg-vorige summary b { flex: 1; min-width: 0; font-weight: 600; }
.fg-vorige-z { color: var(--ink-soft); font-size: var(--fs-xs); white-space: nowrap; }
.fg-vorige ul, .fg-ergebnis ul { list-style: none; margin: 0; padding: 0 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.fg-vorige li, .fg-ergebnis li { display: flex; align-items: flex-start; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.fg-vorige li p, .fg-ergebnis li p { margin: 0; font-size: var(--fs-sm); overflow-wrap: anywhere; }
.fg-login, .fg-sperre { margin-top: 12px; text-align: left; }
.fg-login .btn { flex: none; align-self: center; }
.fg-danke-p { display: flex; flex-direction: column; gap: 8px; margin: 22px 0 0; text-align: left; }
.fg-danke-p-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.fg-danke-p-h b { font-weight: 600; }
.fg-danke-p-h span { color: var(--ink-soft); font-size: var(--fs-xs); }
.fg-ergebnis { width: min(560px, 100%); margin: 6px auto 0; text-align: left; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--surface); }
.fg-ergebnis > b { display: block; padding: 10px 12px 2px; font-weight: 600; font-size: var(--fs-sm); }

/* Start der Runde im Editor: Hinweis zur Schleife */
.fs-sl { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.fs-sl-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 99px; background: var(--fg); color: var(--on-fg); font-weight: 650; font-variant-numeric: tabular-nums; }
.fs-sl b { display: block; font-weight: 600; font-size: var(--fs-sm); }
.fs-sl span:not(.fs-sl-n) { display: block; color: var(--ink-soft); font-size: var(--fs-xs); }
.fs-sl-wahl { cursor: pointer; }
.fs-sl-wahl input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--fg); }

/* Team: Schleife über der Liste der Anmerkungen */
.fb-sl { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.fb-sl-n { flex: none; display: inline-flex; align-items: baseline; gap: 3px; padding: 3px 9px; border-radius: 99px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-soft); color: var(--ink-soft); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb-sl-n b { font-size: var(--fs-sm); font-weight: 650; color: var(--fg); }
.fb-sl .grow b { display: block; font-weight: 600; font-size: var(--fs-sm); }
.fb-sl .grow .fb-meta { display: block; }

/* Kundenseite: Karte „Korrekturschleifen“ (public/js/schleifen-verlauf.js) */
.sv-web + .sv-web { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.sv-web-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; min-width: 0; }
.sv-web-h b { font-weight: 600; min-width: 0; }
.sv-strecke { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.sv-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; padding: 8px 10px 9px; border-radius: 10px; background: var(--surface-2); text-align: left; transition: background-color .15s, box-shadow .15s; }
.sv-step:hover { background: var(--surface-3); }
.sv-step.on { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--fg); }
.sv-step b { font-size: var(--fs-sm); font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-step > span:last-child { font-size: var(--fs-2xs); color: var(--ink-soft); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-dot { width: 8px; height: 8px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--line-strong); margin-bottom: 2px; }
.sv-step.is-kunde .sv-dot { box-shadow: none; background: var(--orange-dot); }
.sv-step.is-wir .sv-dot { box-shadow: none; background: var(--fg); }
.sv-step.is-fertig .sv-dot { box-shadow: none; background: var(--green-dot); }
.sv-detail { margin-top: 12px; }
.sv-s-h { display: flex; align-items: center; gap: 10px; }
.sv-s-h b { display: block; font-weight: 600; font-size: var(--fs-sm); }
.sv-zeit { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.sv-zeit li { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: var(--fs-2xs); color: var(--ink-soft); }
.sv-zeit li b { font-weight: 600; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-zeit li.da b { color: var(--fg); }
.sv-zeit-d { width: 100%; height: 3px; border-radius: 99px; background: var(--surface-3); margin-bottom: 5px; }
.sv-zeit li.da .sv-zeit-d { background: var(--fg); }
.sv-zahlen { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; font-size: var(--fs-xs); color: var(--ink-soft); }
.sv-zahlen b { color: var(--fg); font-weight: 650; font-variant-numeric: tabular-nums; }
.sv-punkte, .sv-frei { margin-top: 10px; }
.sv-punkte summary, .sv-frei summary { cursor: pointer; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-soft); padding: 4px 0; }
.sv-punkte ul, .sv-frei ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; }
.sv-punkte li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.sv-punkte li p { margin: 0; font-size: var(--fs-sm); overflow-wrap: anywhere; }
.sv-frei li a { display: flex; flex-direction: column; gap: 1px; padding: 6px 0; border-top: 1px solid var(--line-soft); color: inherit; text-decoration: none; }
.sv-frei li a:hover b { text-decoration: underline; }
.sv-frei li b { font-weight: 600; font-size: var(--fs-sm); }
.sv-leer { margin: 8px 0 0; font-size: var(--fs-sm); }
@media (max-width: 640px) {
  .sv-strecke { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-zeit { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; }
  .fg-sl { align-items: flex-start; }
  /* Ergebnis der vorigen Schleife: Zahlen und Status unter den Text statt daneben */
  .fg-vorige summary { flex-wrap: wrap; row-gap: 2px; }
  .fg-vorige-z { flex-basis: 100%; padding-left: 23px; white-space: normal; }
  .fg-vorige li, .fg-ergebnis li, .sv-punkte li { flex-wrap: wrap; row-gap: 6px; }
  .fg-vorige li > .grow, .fg-ergebnis li > .grow, .sv-punkte li > .grow { flex: 1 1 calc(100% - 40px); min-width: 0; }
  .fg-vorige li > .fa-st, .fg-ergebnis li > .fa-st, .sv-punkte li > .fa-st { margin-left: 34px; }
}
