/* Composants propres à « Prêt pour un chien ? » (le reste vient de kit/kit.css). Tokens uniquement. */

/* Surcharges du kit : abricot = fond de bouton, jamais couleur de texte */
:focus-visible { outline-color: var(--kit-fg); }
.kit-title { font-size: 32px; font-weight: 800; line-height: 1; }
.kit-top { padding-left: 20px; }
.kit-act { color: var(--kit-fg); background: var(--pc-butter); }
.kit-tabs { border-top: 0; border-radius: 28px 28px 0 0; box-shadow: 0 -6px 20px -12px rgba(74, 46, 35, .35); }
.kit-tab { font-weight: 600; }
.kit-tab.is-on { color: var(--kit-fg); font-weight: 800; }
.kit-tab-pill { width: 44px; border-radius: 14px; }
.kit-btn { font-family: var(--kit-font-display); font-weight: 800; font-size: 19px; }
.kit-btn-main { box-shadow: 0 4px 0 var(--pc-shadow); }
.kit-btn-main:active { box-shadow: 0 1px 0 var(--pc-shadow); transform: translateY(3px); }
.kit-btn-ghost { background: transparent; color: var(--kit-fg); border-color: var(--kit-accent-2); }
.kit-btn-danger { box-shadow: none; }
.kit-seg { background: var(--kit-surface); }
.kit-seg-opt { font-weight: 800; }
.kit-seg-opt[aria-checked="true"] { background: var(--kit-accent); color: var(--kit-accent-fg); }
.kit-group-title { font-family: var(--kit-font-display); font-size: 17px; font-weight: 700; color: var(--kit-muted); margin-left: 8px; }
.kit-rows { border: 0; border-radius: 24px; }
.kit-row { font-weight: 700; border-top: 2px solid var(--kit-bg); }
.kit-row .kit-ic { color: var(--kit-fg); }
.kit-toggle[aria-checked="true"] { background: var(--pc-sage); }
.kit-toggle[aria-checked="true"]::after { background: var(--kit-fg); }
.kit-sheet-title { font-weight: 800; }

/* Le chien */
.pc-dogrow { display: flex; align-items: center; gap: 6px; }
.pc-dog { flex: none; }
.pc-bub { position: relative; background: var(--kit-surface); border-radius: 22px; padding: 11px 15px; font-weight: 700; font-size: 16px; line-height: 1.3; box-shadow: 0 3px 0 var(--pc-peach); }
.pc-bub::before { content: ""; position: absolute; left: -9px; top: 50%; margin-top: -9px; width: 18px; height: 18px; background: var(--kit-surface); transform: rotate(45deg); border-radius: 4px; }

/* Aujourd'hui */
.pc-blob { background: var(--pc-peach); border-radius: 34px; padding: 14px 10px 12px; display: grid; place-items: center; }
.pc-blob svg { width: 100%; max-width: 236px; height: auto; }
.pc-ring-track { fill: none; stroke: var(--kit-surface); stroke-width: 22; }
.pc-ring-fill { fill: none; stroke: var(--kit-accent); stroke-width: 22; stroke-linecap: round; }
.pc-ring-mark { fill: var(--pc-mark); stroke: var(--pc-cocoa); stroke-width: 2.5; }
.pc-ring-paw { fill: var(--pc-cocoa); }
.pc-ring-n { font-family: var(--kit-font-display); font-weight: 800; font-size: 68px; fill: var(--kit-fg); }
.pc-ring-l { font-family: var(--kit-font-body); font-weight: 800; font-size: 16px; fill: var(--kit-muted); }
.pc-ring-s { font-family: var(--kit-font-body); font-weight: 700; font-size: 14px; fill: var(--kit-muted); }
.pc-btns { display: flex; gap: 10px; }
.pc-btns .kit-btn { flex: 1; white-space: nowrap; padding: 0 12px; }
.pc-btns .pc-small { flex: none; width: 128px; padding: 0 8px; }
.pc-list { display: flex; flex-direction: column; gap: 10px; }
.pc-item { display: flex; align-items: center; gap: 12px; background: var(--kit-surface); border-radius: 22px; padding: 10px 14px; min-height: 56px; width: 100%; text-align: left; }
.pc-item .pc-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--pc-sage); display: grid; place-items: center; flex: none; }
.pc-item .pc-ico .kit-ic { width: 20px; height: 20px; }
.pc-item b { font-weight: 800; display: block; line-height: 1.2; }
.pc-item small { font-size: 14px; color: var(--kit-muted); font-weight: 600; }
.pc-item .pc-r { margin-left: auto; font: 800 20px var(--kit-font-display); white-space: nowrap; }
.pc-item.is-sage { background: var(--pc-sage); }
.pc-item.is-sage .pc-ico, .pc-item.is-rose .pc-ico { background: var(--kit-surface); }
.pc-item.is-sage small, .pc-item.is-rose small { color: var(--kit-fg); opacity: .8; }
.pc-item.is-rose { background: var(--pc-rose); }
.pc-item.is-live .pc-ico { background: var(--pc-butter); }

/* Le défi */
.pc-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pc-chip { border-radius: 24px; padding: 8px 6px 9px; text-align: center; color: var(--kit-fg); }
.pc-chip b { display: block; font: 800 34px/1 var(--kit-font-display); }
.pc-chip span { font-size: 14px; font-weight: 700; }
.pc-chip.is-ok { background: var(--pc-sage); }
.pc-chip.is-miss { background: var(--pc-rose); }
.pc-chip.is-next { background: var(--pc-butter); }
.pc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; background: var(--kit-surface); border-radius: 28px; padding: 14px 10px; }
.pc-d { aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: 800 15px/1 var(--kit-font-display); color: var(--kit-fg); position: relative; background: transparent; }
.pc-d .kit-ic { width: 15px; height: 15px; stroke-width: 2.2; }
.pc-d.is-ok { background: var(--pc-sage); }
.pc-d.is-ok .kit-ic { fill: currentColor; stroke: none; }
.pc-d.is-miss { background: var(--pc-rose); }
.pc-d.is-today { background: var(--pc-butter); box-shadow: 0 0 0 3px var(--kit-accent); }
.pc-d.is-ok.is-now { box-shadow: 0 0 0 3px var(--kit-accent); }
.pc-d.is-future { border: 2px dashed var(--pc-dashed); color: var(--kit-muted); font-weight: 700; }
.pc-legend { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--kit-muted); font-weight: 600; }
.pc-legend i { display: inline-block; width: 13px; height: 13px; border-radius: 50%; margin-right: 5px; vertical-align: -2px; }
.pc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pc-card { background: var(--kit-surface); border-radius: 24px; padding: 11px 14px; }
.pc-card b { display: block; font: 800 30px/1 var(--kit-font-display); }
.pc-card span { font-size: 14px; color: var(--kit-muted); font-weight: 600; }
.pc-glab { font: 700 17px var(--kit-font-display); color: var(--kit-muted); margin: 2px 8px -6px; }

/* Verdict */
.pc-hero { height: 236px; border-radius: 34px; overflow: hidden; position: relative; background: var(--pc-peach); flex: none; }
.pc-hero img { width: 100%; height: 100%; object-fit: cover; }
.pc-hero svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc-title { font: 800 46px/.95 var(--kit-font-display); text-align: center; }
.pc-sub { text-align: center; font-size: 17px; font-weight: 700; color: var(--kit-muted); }
.pc-bubbles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pc-bubbles .pc-card { text-align: center; border-radius: 30px; }
.pc-bubbles .pc-card b { font-size: 38px; }

/* Conseils */
.pc-advice { background: var(--kit-surface); border-radius: 26px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.pc-advice-head { display: flex; align-items: center; gap: 12px; }
.pc-advice-head .pc-ico { width: 42px; height: 42px; border-radius: 50%; background: var(--pc-sage); display: grid; place-items: center; flex: none; }
.pc-advice h2 { font: 800 22px/1.1 var(--kit-font-display); }
.pc-advice-fig { font: 800 30px/1 var(--kit-font-display); }
.pc-advice-fig small { display: block; font: 700 14px var(--kit-font-body); color: var(--kit-muted); margin-top: 4px; }
.pc-advice ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pc-advice li { position: relative; padding-left: 20px; font-size: 16px; }
.pc-advice li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--kit-accent); }

/* Onboarding (plein écran, sans onglets) */
.pc-onb { height: 100dvh; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; background: var(--kit-bg); padding-top: env(safe-area-inset-top, 0px); }
.pc-onb-body { flex: 1; min-height: 0; overflow-y: auto; padding: 16px var(--kit-gutter) 0; display: flex; flex-direction: column; gap: 12px; }
.pc-onb-body h1 { font: 800 38px/.95 var(--kit-font-display); text-align: center; }
.pc-onb-body .pc-sub { font-size: 16px; }
.pc-rulebox { background: var(--pc-butter); border-radius: 28px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; font: 800 24px/1.1 var(--kit-font-display); }
.pc-rulebox .kit-ic { width: 34px; height: 34px; }
.pc-checks { display: flex; flex-direction: column; gap: 9px; list-style: none; }
.pc-checks li { display: flex; gap: 10px; align-items: flex-start; }
.pc-checks i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--pc-sage); display: grid; place-items: center; }
.pc-checks i .kit-ic { width: 16px; height: 16px; stroke-width: 2.6; }
.pc-dots { display: flex; gap: 8px; justify-content: center; margin-top: auto; padding-top: 8px; }
.pc-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--pc-peach); }
.pc-dots i.is-on { background: var(--kit-accent); width: 30px; border-radius: 7px; }
.pc-onb-foot { display: flex; gap: 10px; padding: var(--kit-space-3) var(--kit-gutter) max(28px, env(safe-area-inset-bottom, 0px)); }
.pc-onb-foot .kit-btn-main { flex: 1; }
.pc-onb-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--kit-surface); border-radius: 24px; padding: 8px 14px; min-height: 56px; font-weight: 700; }
.pc-onb-row .kit-input { width: 130px; min-height: 44px; font-size: 18px; }
