/* Composants propres à Stop clope (le reste vient de kit/kit.css). Tokens uniquement. */

/* Aujourd'hui */
.sc-date { font-size: var(--kit-text); color: var(--kit-muted); text-align: center; margin-top: var(--kit-space-1); }
.sc-ring { position: relative; width: 230px; height: 230px; margin: 0 auto; flex: none; }
.sc-ring-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sc-ring-n { font-size: 92px; }
.sc-ring-l { font-size: var(--kit-text-sm); color: var(--kit-muted); margin-top: var(--kit-space-1); }
.sc-msg { text-align: center; font-size: 17px; padding: 0 10px; }
.sc-msg b { font-weight: 600; color: var(--kit-accent); }
.sc-ctrl { display: flex; gap: var(--kit-space-3); align-items: center; }
.sc-ctrl .sc-plus { flex: 1; min-height: 72px; font-size: 19px; }
.sc-dots { display: flex; justify-content: space-between; margin-top: var(--kit-space-3); }
.sc-dots > div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: var(--kit-text-xs); color: var(--kit-muted); }
.sc-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--kit-accent-2); color: var(--kit-accent-strong); font-size: var(--kit-text-sm); font-weight: 500; }
.sc-dot .kit-ic { width: 18px; height: 18px; stroke-width: 2.4; }
.sc-dot.is-over { background: var(--kit-warn-soft); color: var(--kit-warn-fg); border: 2px dashed var(--kit-warn); }
.sc-dot.is-now { background: var(--kit-surface); border: 2px solid var(--kit-accent); color: var(--kit-accent); }
.sc-dot.is-before { background: transparent; border: 2px solid var(--kit-line); }

/* Historique */
.sc-chart-card { padding-bottom: 10px; }
.sc-chart-card svg { margin-top: var(--kit-space-2); }
.sc-day-list .kit-row em b { color: var(--kit-accent-strong); font-weight: 600; }
.sc-day-list .kit-row.is-over em b { color: var(--kit-warn-fg); }

/* Objectif */
.sc-goal { background: var(--kit-accent); color: var(--kit-accent-fg); border-radius: var(--kit-radius); padding: 18px var(--kit-space-5); display: flex; justify-content: space-between; align-items: center; gap: var(--kit-space-3); }
.sc-goal-big { font-family: var(--kit-font-display); font-size: 56px; font-weight: var(--kit-weight-light); line-height: 1; }
.sc-goal-big small { font-size: 17px; font-weight: 400; opacity: .85; }
.sc-goal-when { font-size: var(--kit-text-sm); opacity: .9; margin-top: var(--kit-space-1); }
.sc-goal p { font-size: var(--kit-text-sm); opacity: .9; max-width: 150px; text-align: right; }
.sc-plan { list-style: none; margin-top: var(--kit-space-1); }
.sc-plan li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; min-height: 42px; font-size: var(--kit-text); }
.sc-plan li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--kit-accent-2); justify-self: center; }
.sc-plan li.is-now::before { background: var(--kit-accent); box-shadow: 0 0 0 5px var(--kit-accent-2); }
.sc-plan li.is-next::before { background: var(--kit-surface); border: 2px solid var(--kit-accent-2); }
.sc-plan li span:last-child { font-weight: 600; color: var(--kit-accent-strong); }
.sc-plan li.is-next span:last-child { color: var(--kit-muted); font-weight: 500; }
.sc-saved-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--kit-space-2); }
.sc-saved-head b { font-size: 26px; font-weight: 600; color: var(--kit-accent); white-space: nowrap; }

/* Onboarding (plein écran, sans onglets) */
.sc-onb { height: 100dvh; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; background: var(--kit-bg); }
.sc-hero { height: min(290px, 36dvh); flex: none; background: var(--sc-hero-bg); overflow: hidden; border-radius: 0 0 36px 36px; }
.sc-hero img { width: 100%; height: 100%; object-fit: cover; }
.sc-onb-body { flex: 1; min-height: 0; overflow-y: auto; padding: 22px var(--kit-space-6) 0; display: flex; flex-direction: column; gap: 14px; }
.sc-onb-body h1 { font-family: var(--kit-font-display); font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.sc-onb-body > .kit-sub { font-size: var(--kit-text); }
.sc-steps { display: flex; gap: 6px; justify-content: center; }
.sc-steps i { width: 8px; height: 8px; border-radius: 4px; background: var(--kit-line); }
.sc-steps i.is-on { width: 26px; background: var(--kit-accent); }
.sc-onb-foot { display: flex; gap: 10px; padding: var(--kit-space-4) var(--kit-space-6) max(34px, env(safe-area-inset-bottom, 0px)); }
.sc-onb-foot .kit-btn-main { flex: 1; }
