/* Стили раздела «Мой день» и «Привычки» (блок A) — только токенами из app.css (тест SectionCssTest). */
.day-body { display: flex; flex-direction: column; gap: 14px; }
.day-title { font-size: 16px; }
.day-food { flex-direction: row; align-items: center; gap: 16px; }
.days .chip.counted { box-shadow: inset 0 -3px 0 var(--leaf); }
.days .chip.today.counted { box-shadow: inset 0 0 0 1.5px var(--accent-text), inset 0 -3px 0 var(--leaf); }
.day-bar { height: 8px; border-radius: 4px; background: var(--sage-soft); overflow: hidden; }
.day-bar > div { height: 8px; background: var(--sage); border-radius: 4px; transition: width 0.4s ease; }
.ghost-chip { background: none; border: 1px solid var(--line); color: var(--muted); }
.day-plan { display: flex; flex-direction: column; gap: 10px; }
.day-slot { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.day-slot:last-of-type { border-bottom: 0; }
.day-slot img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex-shrink: 0; background: var(--placeholder); }
.day-slot .dish-text { flex-grow: 1; }
.day-done { width: 32px; height: 32px; border-radius: 50%; background: var(--sage); color: var(--on-accent); display: flex; align-items: center;
  justify-content: center; font-weight: 800; flex-shrink: 0; }
.day-result { font-size: 14px; padding: 4px 0; }
.day-portion { font-size: 22px; font-weight: 800; color: var(--accent-text); min-width: 140px; text-align: center; }
.day-count { color: var(--accent-text); }
.day-habit { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; font: inherit; color: inherit;
  text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 12px 0; min-height: 56px; cursor: pointer; }
.day-habit[disabled] { cursor: default; }
.day-check { width: 30px; height: 30px; border-radius: 9px; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-weight: 800; color: var(--on-accent); }
.day-habit[aria-pressed="true"] .day-check { background: var(--sage); border-color: var(--sage); }
.day-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 6px 0; }
.day-dot { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.day-dot i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); }
.day-dot.on i { background: var(--sage); border-color: var(--sage); }
.day-dot.today span { color: var(--accent-text); font-weight: 700; }
.day-badge { opacity: 0.7; }
.day-badge.got { opacity: 1; box-shadow: inset 0 0 0 1.5px var(--leaf); }
.day-badge-state { font-size: 12px; font-weight: 700; color: var(--accent-text); }
.day-missed { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.day-target { align-items: center; }
.day-target input { max-width: 140px; }
@media (prefers-reduced-motion: reduce) { .day-bar > div { transition: none; } }
