/* Вкладка «Обзор» */
.today-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}
.today-card .label { font-size: 15px; color: var(--hint); }
.today-card .big { font-size: 40px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; margin: 2px 0 4px; }
.today-card .big small { font-size: 22px; font-weight: 600; color: var(--hint); margin-left: 2px; }
.today-card .status { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.today-card .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ring { width: 64px; height: 64px; flex-shrink: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dasharray .6s ease; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.tile {
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px 14px;
  text-align: left;
  box-shadow: var(--shadow);
  min-width: 0;
}
.tile:active { opacity: .7; }
.tile .label { font-size: 13px; color: var(--hint); display: flex; align-items: center; gap: 6px; }
.tile .label i { font-style: normal; font-size: 14px; }
.tile .value { font-size: 20px; font-weight: 700; letter-spacing: -.025em; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .foot { font-size: 12px; color: var(--hint); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.month-progress { margin-top: 12px; }
.month-progress .track { position: relative; height: 6px; border-radius: 3px; background: var(--fill); overflow: visible; }
.month-progress .spent { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--c); }
.month-progress .now { position: absolute; top: -3px; width: 2px; height: 12px; border-radius: 1px; background: var(--text); opacity: .5; }
.month-progress .legend { display: flex; justify-content: space-between; font-size: 12px; color: var(--hint); margin-top: 6px; }

.actions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 4px 0 6px; }
.action { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--text); }
.action .ico { width: 50px; height: 50px; border-radius: 14px; font-size: 22px; background: var(--card); color: var(--blue); box-shadow: var(--shadow); }
.action .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.action:active .ico { opacity: .6; }

.goal-mini .bar { margin-top: 6px; height: 5px; }
.due { font-size: 13px; }
.due.today { color: var(--orange); font-weight: 600; }
.due.late { color: var(--red); font-weight: 600; }
