/* The Today tab: the day at a glance. Like the meal plan, it is read at arm's length on a phone,
   so the type is large and secondary text keeps 7:1 contrast. */

.today {
  display: grid;
  gap: var(--space-md);
}

.today-card {
  padding: 14px 16px 16px;
  border-radius: var(--border-radius-lg);
  background: var(--color-bg-medium);
}

.today-heading {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* A time or a day, then what it is */
.today-rows {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.today-row {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: var(--space-sm);
  font-size: 1.0625rem;
  line-height: 1.35;
}

.today-when {
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.today-title,
.today-note {
  display: block;
}

.today-note,
.today-empty {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.today-empty {
  margin: 0;
}

.today-child + .today-child {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.today-child-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin: 0 0 4px;
}

.today-child-name {
  font-size: 1.125rem;
  font-weight: 600;
}

.today-line {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.today-line-label {
  color: var(--color-text-muted);
}

/* Dinner: one fact, so its name and the answer share a line */
.today-card-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  padding-bottom: 14px;
}

.today-card-fact .today-heading {
  margin: 0;
}

.today-fact {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: right;
}

.today-reminder {
  margin: 0;
  padding: var(--space-md);
  border: 1.5px solid rgba(20, 184, 166, 0.3);
  border-radius: var(--border-radius-md);
  background: rgba(20, 184, 166, 0.08);
  color: var(--color-primary-text);
  font-size: 1.0625rem;
}

.today-reminder a {
  display: flex;
  font-weight: 600;
}

.today-written {
  margin: 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
