/* ── Tab „Heute“ (partials/screens/heute.php) ─────────────────────────────
   Auch Hintergrund von dailycheck.php und rpe.php, daher unter allen drei Screens verankert.
   Bausteine vf-dc-rings / vf-dc-legend (Daily-Check-Ringe) nutzt auch dailycheck.css. */

/* Fehlende Tokens aus lib/core/constants/app_colors.dart */
.vf-phone {
  --a-dc2: #82B7FF; --a-dc3: #AFD1FF;           /* form_rings.dart _tints(): primary → Weiß 30 % / 55 % */
  --a-warning: #FF9B5A; --a-yellow-fill: #F0D441;
  --a-on-green: #06210F; --a-on-red: #2B0711; --a-on-warning: #0A0B0E;
}
[data-theme="light"] .vf-phone {
  --a-dc2: #629FE1; --a-dc3: #A9CAEF;           /* primary → Kartenweiß 38 % / 66 % */
  --a-warning: #CD6505; --a-yellow-fill: #EFD127;
  --a-on-green: #fff; --a-on-red: #fff; --a-on-warning: #fff;
}

/* Daily-Check-Ringe + Legende (form_rings.dart) */
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-rings { display: block; width: 100%; height: 100%; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-rings circle { fill: none; stroke-width: 7.5; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-rings .t { stroke: var(--a-field); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-rings .a { stroke-linecap: round; stroke-dasharray: 100 100; transition: stroke-dashoffset .45s cubic-bezier(.215,.61,.355,1), opacity .15s; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-rings .a0 { stroke: var(--a-blue-t); stroke-dashoffset: calc(100 - var(--f0, 0)); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-rings .a1 { stroke: var(--a-dc2); stroke-dashoffset: calc(100 - var(--f1, 0)); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-rings .a2 { stroke: var(--a-dc3); stroke-dashoffset: calc(100 - var(--f2, 0)); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-rings.is-empty .a { opacity: 0; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-legend { display: flex; justify-content: center; gap: 10px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-legend--v { flex-direction: column; gap: 8px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-legend > span { display: flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 800; line-height: 15px; font-variant-numeric: tabular-nums; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-legend .hi { width: 13px; height: 13px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-legend .i0 .hi { color: var(--a-blue-t); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-legend .i1 .hi { color: var(--a-dc2); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-legend .i2 .hi { color: var(--a-dc3); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-dc-legend .is-then { display: none; }

/* „Deine Form heute“ (dashboard_gauges.dart): ohne Karte, zwei Spalten */
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-form { margin-top: 16px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-form__head { display: flex; align-items: center; height: 44px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-form__head b { flex: 1; font-size: 18px; font-weight: 800; letter-spacing: -.3px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-form__head span { padding: 0 12px; font-size: 13px; font-weight: 700; color: var(--a-blue-t); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-dc,
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-acwr { display: flex; flex-direction: column; align-items: center; border-radius: 14px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-dc__top { display: flex; align-items: center; gap: 12px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-ring { position: relative; width: 104px; height: 104px; flex-shrink: 0; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; font-weight: 800; letter-spacing: -.6px; font-variant-numeric: tabular-nums; transition: opacity .3s; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-num--l { font-size: 24px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-num.is-muted { color: var(--a-muted); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-num.is-then { opacity: 0; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-cta { margin-top: 6px; padding: 5px 12px; border-radius: 999px; background: var(--a-blue-t); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 16px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-status { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12.5px; font-weight: 700; line-height: 16px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-status small { margin-left: 1px; font-size: 12px; color: var(--a-muted); font-variant-numeric: tabular-nums; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-status--ok { color: var(--a-green); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-dc.is-empty .vf-heute-status { display: none; }
/* ACWR-Ring (form_rings.dart, _AcwrRingPainter): unten offen 270°, grüner Bereich 0,8–1,3, Punkt = heute */
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-acwr svg { display: block; width: 104px; height: 104px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-acwr path { fill: none; stroke-width: 10.4; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-acwr .t { stroke: var(--a-field); stroke-linecap: round; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-acwr .band { stroke: var(--a-green); stroke-opacity: .25; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-acwr .dot-b { fill: var(--a-bg); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-acwr .dot { fill: var(--a-green); }

/* „Nächster Termin“ (next_event_card.dart): Akzentfläche, Antworten auf weißer 10-%-Fläche */
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next { margin-top: 12px; padding: 20px; border-radius: 28px; background: var(--a-blue); color: #fff; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__top { display: flex; align-items: center; justify-content: space-between; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__top small { font-size: 12px; font-weight: 800; letter-spacing: .84px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__top span { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 700; line-height: 15px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__title { display: block; margin-top: 16px; font-size: 25px; font-weight: 800; letter-spacing: -.5px; line-height: 1.15; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 18px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__meta span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__meta .hi { width: 16px; height: 16px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__meta .is-bold { font-weight: 800; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 16px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__btns span { display: flex; align-items: center; justify-content: center; gap: 5px; height: 44px; border-radius: 13px; background: rgba(255,255,255,.1); font-size: 13px; font-weight: 700; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__btns .hi { width: 15px; height: 15px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__sum { display: flex; align-items: center; min-height: 44px; margin-top: 6px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__sum > .hi { width: 15px; height: 15px; margin-right: 4px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__sum b { margin-right: 10px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__avs { display: flex; margin-right: 10px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__avs i { width: 26px; height: 26px; margin-left: -8px; border-radius: 50%; border: 2px solid var(--a-blue); background: color-mix(in srgb, #fff 10%, var(--a-blue)); display: grid; place-items: center; font-size: 9px; font-weight: 800; font-style: normal; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-next__avs i:first-child { margin-left: 0; }

/* „Meine Teams“ (dashboard_page.dart, _GroupsRow) */
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-teams { margin-top: 12px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-sec { display: flex; align-items: center; height: 44px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-sec b { flex: 1; font-size: 18px; font-weight: 800; letter-spacing: -.2px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-sec span { padding: 0 4px; font-size: 14px; font-weight: 700; color: var(--a-blue-t); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-teams__row { display: flex; gap: 12px; height: 88px; margin-top: 4px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-team { width: 64px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-team i { width: 60px; height: 60px; border-radius: 22px; border: 1px solid var(--a-divider); display: grid; place-items: center; font-style: normal; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-team i:not(.team-pic) { background: var(--a-card); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-team small { font-size: 12px; font-weight: 600; white-space: nowrap; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-team--new i { border: 0; background: var(--a-field); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-team--new .hi { width: 22px; height: 22px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-team--new small { color: var(--a-muted); }

/* „Letzte 7 Tage“ (weekly_activity_widget.dart) – liegt schon unter der Tab-Leiste */
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-week { display: flex; align-items: flex-start; margin-top: 12px; padding: 18px; border-radius: 24px; background: var(--a-card); border: 1px solid var(--a-divider); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-week div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-week small { font-size: 14px; font-weight: 600; color: var(--a-muted); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-week b { font-size: 30px; font-weight: 800; letter-spacing: -.9px; font-variant-numeric: tabular-nums; }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-week em { font-style: normal; font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--a-muted); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-week > span { padding: 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--a-blue-t) 14%, transparent); color: var(--a-blue-t); font-size: 12px; font-weight: 700; }

/* FAB Schmerzbericht (dashboard_page.dart): 56 pt, Radius 20, über der Tab-Leiste (98 pt) + 16 */
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-fab { position: absolute; right: 16px; bottom: 114px; width: 56px; height: 56px; border-radius: 20px; background: var(--a-blue); color: #fff; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 2px 6px rgba(0,0,0,.15); }
:is(.vf-screen--heute, .vf-screen--dailycheck, .vf-screen--rpe) .vf-heute-fab .hi { width: 28px; height: 28px; }
