.onboarding, .install { display: flex; flex-direction: column; }

.ob-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.ob-step { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.ob-body { flex: 1; }
.ob-body .lead { margin-bottom: 28px; }
.kicker { margin-bottom: 12px; color: var(--muted); }
.ob-foot { display: grid; gap: 4px; justify-items: center; margin-top: 28px; }

.time-field input {
  width: 100%; min-height: 96px; padding: 20px 24px;
  border: 0; border-radius: 20px; background: var(--card); color: var(--text);
  font: 600 44px/1 'Inter', sans-serif; text-align: center;
  -webkit-appearance: none; appearance: none;
}
.time-field input::-webkit-date-and-time-value { text-align: center; }

.fav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fav { position: relative; display: block; width: 100%; border-radius: 14px; transition: transform .15s ease; }
.fav:active { transform: scale(.97); }
.fav.is-on .tcard { box-shadow: 0 0 0 3px var(--ciel), 0 6px 16px rgba(77, 163, 255, .3); }
.fav-check {
  position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; background: var(--ciel); color: var(--navy); opacity: 0; transform: scale(.6);
  transition: opacity .15s ease, transform .15s ease;
}
.fav-check .icon { width: 15px; height: 15px; stroke-width: 3; }
.fav.is-on .fav-check { opacity: 1; transform: none; }
/* Petit écran : deux colonnes, sinon les titres des petites cartes tombent sous 9 px. */
@media (max-width: 359px) { .fav-grid { grid-template-columns: repeat(2, 1fr); } }
.count { margin-top: 14px; color: var(--muted); font-size: 14px; text-align: center; }

.packs { display: grid; gap: 10px; }
.pack {
  display: flex; justify-content: space-between; align-items: center; min-height: 72px; padding: 20px;
  border-radius: 18px; background: var(--card); text-align: left;
  transition: background .15s ease, box-shadow .15s ease;
}
.pack strong { font-size: 17px; font-weight: 600; }
.pack span { color: var(--muted); font-size: 15px; }
.pack.is-on { background: var(--field); box-shadow: inset 0 0 0 2px var(--line); }

.install .app-icon { margin: 48px 0 28px; border-radius: 22px; }
.install-other { margin-top: 16px; }
.steps { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: flex; gap: 12px; align-items: center; counter-increment: step; }
.steps li::before {
  content: counter(step); flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--card); font-size: 14px; font-weight: 600;
}
.install-actions { display: grid; gap: 6px; justify-items: center; width: 100%; margin-top: auto; padding-top: 32px; }
