/* Вкладка «Планы»: бюджет, цели, регулярные платежи и календарь */
.plans-seg { margin: 0 0 14px; }

.budget-total .head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.budget-total .title { font-size: 15px; color: var(--hint); }
.budget-total .big { font-size: 28px; font-weight: 700; letter-spacing: -.03em; margin: 2px 0 10px; }
.budget-total .bar { height: 8px; border-radius: 4px; }
.budget-total .bar > i { border-radius: 4px; }
.budget-total .foot { display: flex; justify-content: space-between; font-size: 13px; color: var(--hint); margin-top: 8px; }
.budget-row .bar { margin-top: 6px; height: 4px; }
.budget-row .nums { font-size: 15px; color: var(--hint); white-space: nowrap; }
.budget-row .over { color: var(--danger); font-weight: 600; }
.set-limit { color: var(--link); font-size: 13px; }

/* цели */
.goal-card { display: block; width: 100%; text-align: left; }
.goal-card .top { display: flex; align-items: center; gap: 12px; }
.goal-card .name { font-size: 17px; font-weight: 600; }
.goal-card .meta { font-size: 13px; color: var(--hint); }
.goal-card .amounts { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 6px; }
.goal-card .amounts b { font-size: 22px; letter-spacing: -.02em; }
.goal-card .bar { height: 8px; border-radius: 4px; }
.goal-card .bar > i { border-radius: 4px; }
.goal-card .foot { display: flex; justify-content: space-between; font-size: 13px; color: var(--hint); margin-top: 8px; gap: 8px; }
.goal-card:active { opacity: .75; }
.goal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 14px; }

/* календарь платежей */
.cal { padding: 10px 8px 12px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; padding: 0 8px 8px; }
.cal-head b { font-size: 17px; }
.cal-head .month-pill { margin: 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-grid .wd { font-size: 11px; font-weight: 600; color: var(--hint); text-transform: uppercase; padding: 4px 0; }
.cal-day {
  position: relative;
  height: 42px;
  border-radius: 10px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.cal-day.muted { color: var(--hint2); }
.cal-day.today span { background: var(--red); color: #fff; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; font-weight: 600; }
.cal-day.sel { background: var(--fill); }
.cal-day .dots { display: flex; gap: 2px; height: 5px; }
.cal-day .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--c); }
.cal-sum { font-size: 13px; color: var(--hint); text-align: center; margin-top: 8px; }

.rec-period { font-size: 13px; color: var(--hint); }
.paused { opacity: .5; }
