/* ── Daily-Check-Dialog über „Heute“ (partials/screens/dailycheck.php) ─────
   daily_check_input_sheet.dart: Dialog 16 pt Rand, max. 85 % Höhe (724 pt, Inhalt scrollt), Radius 28, Fläche bg. */
.vf-screen--dailycheck .vf-status { position: relative; z-index: 7; }   /* Statusleiste bleibt über dem Schleier */
.vf-screen--dailycheck .vf-dailycheck-scrim { position: absolute; inset: 0; z-index: 5; background: rgba(0,0,0,.6); transition: opacity .2s; }
.vf-screen--dailycheck .vf-dailycheck-dlg { position: absolute; z-index: 6; left: 16px; right: 16px; top: 64px; height: 724px; display: flex; flex-direction: column; padding: 20px; border-radius: 28px; background: var(--a-bg); box-shadow: 0 10px 20px rgba(0,0,0,.3); transition: opacity .2s; }

.vf-screen--dailycheck .vf-dailycheck-head { display: flex; align-items: center; gap: 12px; }
.vf-screen--dailycheck .vf-dailycheck-head__ic { padding: 10px; border-radius: 14px; background: color-mix(in srgb, var(--a-blue-t) 10%, transparent); color: var(--a-blue-t); display: grid; }
.vf-screen--dailycheck .vf-dailycheck-head__ic .hi { width: 20px; height: 20px; }
.vf-screen--dailycheck .vf-dailycheck-head b { flex: 1; font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.vf-screen--dailycheck .vf-dailycheck-head__x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--a-card); border: 1px solid var(--a-divider); }

.vf-screen--dailycheck .vf-dailycheck-body { flex: 1; min-height: 0; overflow: hidden; margin-top: 16px; }
.vf-screen--dailycheck .vf-dailycheck-live { display: flex; flex-direction: column; align-items: center; }
.vf-screen--dailycheck .vf-dailycheck-rings { position: relative; width: 96px; height: 96px; }
.vf-screen--dailycheck .vf-dailycheck-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; }
.vf-screen--dailycheck .vf-dailycheck-num.is-now { color: var(--a-muted); }
.vf-screen--dailycheck .vf-dailycheck-num.is-then { opacity: 0; }
.vf-screen--dailycheck .vf-dailycheck-state { position: relative; height: 16px; margin: 6px 0 4px; font-size: 12.5px; font-weight: 700; line-height: 16px; }
.vf-screen--dailycheck .vf-dailycheck-state .is-now { color: var(--a-muted); transition: opacity .2s; }
.vf-screen--dailycheck .vf-dailycheck-state .is-then { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 5px; color: var(--a-green); opacity: 0; transition: opacity .2s; }
.vf-screen--dailycheck .vf-dailycheck-state .is-then i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.vf-screen--dailycheck .vf-dailycheck-last { display: block; margin-top: 12px; text-align: center; font-size: 11px; font-weight: 500; color: var(--a-dim); }

.vf-screen--dailycheck .vf-dailycheck-dim { margin-top: 12px; }
.vf-screen--dailycheck .vf-dailycheck-dim--physical { margin-top: 16px; }
.vf-screen--dailycheck .vf-dailycheck-dim__t { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; line-height: 19px; }
.vf-screen--dailycheck .vf-dailycheck-lv { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.vf-screen--dailycheck .vf-dailycheck-btn { position: relative; height: 68px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); border: 1px solid color-mix(in srgb, var(--c) 25%, transparent); transition: background-color .18s, border-color .18s, color .18s, transform .15s; }
.vf-screen--dailycheck .vf-dailycheck-btn--r { --c: var(--a-red); --on: var(--a-on-red); }
.vf-screen--dailycheck .vf-dailycheck-btn--o { --c: var(--a-warning); --on: var(--a-on-warning); }
.vf-screen--dailycheck .vf-dailycheck-btn--g { --c: var(--a-green); --on: var(--a-on-green); }
.vf-screen--dailycheck .vf-dailycheck-btn .hi { width: 24px; height: 24px; }
.vf-screen--dailycheck .vf-dailycheck-btn small { font-size: 11.5px; font-weight: 700; line-height: 14px; white-space: nowrap; }
.vf-screen--dailycheck .vf-dailycheck-last-dot { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.vf-screen--dailycheck .vf-dailycheck-note { display: flex; align-items: center; height: 80px; margin-top: 16px; padding: 0 20px; border-radius: 14px; background: var(--a-card); border: 1px solid var(--a-divider); font-size: 16px; color: var(--a-dim); }
/* Speichern (AppButton.primary): gesperrt = Akzent 45 %, Schrift 60 % */
.vf-screen--dailycheck .vf-dailycheck-save { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 16px; border-radius: 14px; background: color-mix(in srgb, var(--a-blue) 45%, transparent); color: rgba(255,255,255,.6); font-size: 16px; font-weight: 700; transition: background-color .2s, color .2s, transform .15s; }

/* Ablauf „werte“ (s1–s3 je eine Stufe, s4 Speichern) */
.s1 .vf-screen--dailycheck .vf-dailycheck-dim--physical .is-pick,
.s2 .vf-screen--dailycheck .vf-dailycheck-dim--emotional .is-pick,
.s3 .vf-screen--dailycheck .vf-dailycheck-dim--sleep .is-pick { background: var(--c); border-color: var(--c); color: var(--on); }
@media (prefers-reduced-motion: no-preference) {
  .s1 .vf-screen--dailycheck .vf-dailycheck-dim--physical .is-pick .hi,
  .s2 .vf-screen--dailycheck .vf-dailycheck-dim--emotional .is-pick .hi,
  .s3 .vf-screen--dailycheck .vf-dailycheck-dim--sleep .is-pick .hi { animation: vfDailycheckJump .75s; }
}
/* Fröhliche Gesichter springen (nur verschieben + gleichmäßig skalieren) */
@keyframes vfDailycheckJump {
  0% { transform: none; }
  20% { transform: translateY(-8px) scale(1.1); animation-timing-function: cubic-bezier(.5,0,.75,0); }
  45% { transform: none; }
  55% { transform: translateY(-2px); }
  65%, 100% { transform: none; }
}
.s1 .vf-screen--dailycheck .vf-dailycheck-live .vf-dc-rings .a0 { stroke-dashoffset: 20; opacity: 1; }
.s2 .vf-screen--dailycheck .vf-dailycheck-live .vf-dc-rings .a1 { stroke-dashoffset: 20; opacity: 1; }
.s3 .vf-screen--dailycheck .vf-dailycheck-live .vf-dc-rings .a2 { stroke-dashoffset: 0; opacity: 1; }
.s1 .vf-screen--dailycheck .vf-dailycheck-live .i0 .is-now,
.s2 .vf-screen--dailycheck .vf-dailycheck-live .i1 .is-now,
.s3 .vf-screen--dailycheck .vf-dailycheck-live .i2 .is-now { display: none; }
.s1 .vf-screen--dailycheck .vf-dailycheck-live .i0 .is-then,
.s2 .vf-screen--dailycheck .vf-dailycheck-live .i1 .is-then,
.s3 .vf-screen--dailycheck .vf-dailycheck-live .i2 .is-then { display: inline; }
.s3 .vf-screen--dailycheck .vf-dailycheck-num.is-now,
.s3 .vf-screen--dailycheck .vf-dailycheck-state .is-now { opacity: 0; }
.s3 .vf-screen--dailycheck .vf-dailycheck-num.is-then,
.s3 .vf-screen--dailycheck .vf-dailycheck-state .is-then { opacity: 1; }
.s3 .vf-screen--dailycheck .vf-dailycheck-save { background: var(--a-blue); color: #fff; }
/* s4: Dialog blendet aus, „Heute“ zeigt die Ringe mit Ø 8,7 */
.s4 .vf-screen--dailycheck .vf-dailycheck-scrim,
.s4 .vf-screen--dailycheck .vf-dailycheck-dlg { opacity: 0; }
.s4 .vf-screen--dailycheck .vf-heute-dc .vf-dc-rings .a { opacity: 1; }
.s4 .vf-screen--dailycheck .vf-heute-dc .vf-dc-rings .a0,
.s4 .vf-screen--dailycheck .vf-heute-dc .vf-dc-rings .a1 { stroke-dashoffset: 20; }
.s4 .vf-screen--dailycheck .vf-heute-dc .vf-dc-rings .a2 { stroke-dashoffset: 0; }
.s4 .vf-screen--dailycheck .vf-heute-dc .is-now { display: none; }
.s4 .vf-screen--dailycheck .vf-heute-dc .vf-dc-legend .is-then { display: inline; }
.s4 .vf-screen--dailycheck .vf-heute-num.is-then { opacity: 1; }
.s4 .vf-screen--dailycheck .vf-heute-cta { display: none; }
.s4 .vf-screen--dailycheck .vf-heute-dc.is-empty .vf-heute-status { display: flex; }
