/* ============================================================
   Base — ce qui reste utile de l'enveloppe de l'artifact claude.ai :
   zones de sécurité de l'iPhone, [hidden], marges du body.
   ============================================================ */
:root {
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body {
  padding: 0;
  font: 14px -apple-system, BlinkMacSystemFont, sans-serif;
}
img { max-width: 100%; }
[hidden]:not([hidden=until-found i]) { display: none !important; }

:root {
  --ink: #17122B;
  --ink2: #2E2748;
  --muted: #5B5470;
  --faint: #6B6480;

  --card: #FFFFFF;
  --glass: rgba(255, 255, 255, .92);

  --ui: 'Plus Jakarta Sans', -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  --display: 'Outfit', var(--ui);
}

html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--ui); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
button { font-family: var(--ui); color: inherit; }

/* le cadre de l'app, avec deux formes floues qui flottent à la couleur du domaine en cours */
.shell {
  width: 100%; max-width: 520px; height: 100%; position: relative; overflow: hidden;
  display: flex; flex-direction: column; isolation: isolate;
  transition: background .4s ease;
}
.shell::before, .shell::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(58px); opacity: .5; z-index: -1;
}
.shell::before {
  width: 320px; height: 320px; left: -110px; top: 10%;
  background: var(--c); animation: flotte1 19s ease-in-out infinite;
}
.shell::after {
  width: 280px; height: 280px; right: -100px; top: 52%;
  background: var(--g3); animation: flotte2 24s ease-in-out infinite;
}
@keyframes flotte1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(42px, -34px) scale(1.14); }
}
@keyframes flotte2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-38px, 40px) scale(1.1); }
}

/* ---------- chrome ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0; position: relative;
}
.logo {
  font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: -.5px;
}
.logo b { font-weight: 700; }
.logo b:last-child::after { content: '®'; font-size: 10px; vertical-align: super; opacity: .7; font-weight: 500; }
.tagline {
  font-size: 11px; font-weight: 700; letter-spacing: .2px;
  border-radius: 999px; padding: 7px 13px;
}

.view { flex-grow: 1; overflow-y: auto; min-height: 0; -webkit-overflow-scrolling: touch; position: relative; }
.view::-webkit-scrollbar { width: 0; }
.pad { padding: 8px 22px 26px; min-height: 100%; display: flex; flex-direction: column; }

.nav {
   grid-template-columns: repeat(3, 1fr); flex-shrink: 0; position: relative;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.nav button {
  border: 0; background: none; cursor: pointer;
  display: flex; align-items: center;
   font-weight: 700; position: relative; letter-spacing: -.1px;
}

.nav button.on .pillbg {
  position: absolute; inset: 0; border-radius: 19px; z-index: 0;
  background: color-mix(in srgb, var(--c) 16%, #fff);
}
.nav button svg, .nav button span { position: relative; z-index: 1; }

/* ---------- type ---------- */
/* le texte dense va sur des cartes blanches */
.kicker {
  display: inline-block; align-self: flex-start;
  font-size: 11.5px; font-weight: 700; letter-spacing: .3px;
  border-radius: 999px; padding: 7px 14px;
}
h1 {
  font-family: var(--display); font-size: clamp(33px, 9.6vw, 44px); line-height: 1.02;
    margin: 14px 0 0;
}
h1.ser { font-size: clamp(33px, 9.6vw, 44px); }
h1.mid { font-size: clamp(27px, 7.8vw, 34px); letter-spacing: -1px; }
.lede { line-height: 1.38; margin-top: 12px; letter-spacing: -.3px; }
.eyebrow {
  font-family: var(--display); font-size: 22px; letter-spacing: -.7px;
  font-weight: 700; line-height: 1.12;
}
.eyebrow.soft {
  display: inline-block; align-self: flex-start; font-family: var(--ui);
  font-size: 10.5px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase;
  border-radius: 999px; padding: 6px 12px;
}
.grow { flex-grow: 1; min-height: 14px; }

.back {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; cursor: pointer;
  border-radius: 999px; padding: 9px 16px 9px 12px; margin: 4px 0 2px;
  font-size: 13px; font-weight: 700; letter-spacing: -.1px;
}

/* ---------- boutons ---------- */
.btn {
  width: 100%; min-height: 56px; border: 0; border-radius: 20px; cursor: pointer;
  background: var(--ink); color: #fff;
  font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -.3px;
  padding: 12px 18px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--sh2);
  transition: transform .14s cubic-bezier(.34,1.3,.64,1), box-shadow .14s ease;
}
.btn:active { transform: scale(.97); box-shadow: var(--sh); }
.btn:disabled { opacity: .45; }
.btn.soft { background: #fff; color: var(--ink); }
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack.tight { gap: 8px; }

/* ---------- la carte ---------- */
.mapcard { position: relative; flex-shrink: 0; margin: 6px -22px 0; }
.mapwrap { position: relative; width: 100%; aspect-ratio: 520/470; }
.plane { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 58%; height: 100%; }
.fig { width: 100%; height: 100%; display: block; }
.mapwrap { touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.plane.p3d { left: 0; width: 100%; transform: none; }
.fig3d { width: 100%; height: 100%; display: block; cursor: grab; }
.fig3d:active { cursor: grabbing; }
.mapwrap .zone { opacity: 0; transition: opacity .35s ease; }
.mapwrap.en3d .zone, .mapwrap.en2d .zone { opacity: 1; }
.zone .dot { transition: opacity .2s ease; }
.zone.dos .dot { opacity: .3; }
.zone .ln { display: none; height: 1.5px; flex-shrink: 0; background: var(--ci); opacity: .45; }
.mapwrap.en3d .zone .ln { display: block; }
.mapwrap.en3d .zone .dot { margin: 0; }
.hint3d {
  position: absolute; left: 22px; top: 2px;
  display: flex; align-items: center; gap: 6px; pointer-events: none;
  font-size: 11.5px; font-weight: 700; color: var(--muted); white-space: nowrap;
  background: rgba(255,255,255,.85); border-radius: 999px; padding: 6px 11px;
  opacity: 0; transition: opacity .4s ease;
}
.mapwrap.en3d .hint3d { opacity: 1; }
.mapwrap.en3d .hint3d.off { opacity: 0; }

.zone {
  position: absolute; transform: translateY(-50%);
  display: flex; align-items: center; gap: 0;
  border: 0; background: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.zone.left { flex-direction: row-reverse; }
.zone .dot {
  width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; margin: 0 8px;
}
.zone .lab {
   color: var(--ink);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 0; border-radius: 999px; box-shadow: var(--sh);
  padding: 9px 15px; font-size: 13px; font-weight: 700; letter-spacing: -.2px;
  white-space: nowrap; display: flex; align-items: center; gap: 7px;
  transition: transform .14s cubic-bezier(.34,1.3,.64,1);
}
.zone:active .lab { transform: scale(.94); }
.zone .lab i {
  font-style: normal; font-size: 11px; font-weight: 800; color: #fff;
  min-width: 19px; height: 19px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 5px;
}
.zone.has .lab { background: #fff; }

/* la vignette d'un domaine */
.zonefig { position: relative; height: 218px; margin: 12px -22px 6px; }
.zonefig .fig { position: absolute; inset: 0; width: 100%; height: 100%; }
.zonefig .cap {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  background: var(--glass); color: var(--ink);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 0; border-radius: 999px;
  padding: 9px 16px; font-size: 12.5px; font-weight: 700; letter-spacing: -.2px;
  display: flex; align-items: center; gap: 8px; white-space: nowrap; box-shadow: var(--sh);
}
.zonefig .cap svg { color: var(--ci); }

/* reprendre */
.resume {
  width: 100%; text-align: left; cursor: pointer; margin-top: 14px;
   border: 0; border-radius: 26px; padding: 16px;
   display: flex; align-items: center; gap: 14px;
  transition: transform .14s cubic-bezier(.34,1.3,.64,1);
}
.resume:active { transform: scale(.985); }
.resume .rd { display: flex; width: 48px; height: 48px; border-radius: 16px; flex-shrink: 0;
  align-items: center; justify-content: center; }
.resume .rt { flex-grow: 1; min-width: 0; display: block; }
.resume .re { display: block; font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .9px; }
.resume .rp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.08; letter-spacing: -.6px;
  margin-top: 5px; overflow: hidden; color: var(--ink); }
.resume .rc { display: block; font-size: 13px; font-weight: 500; margin-top: 5px; }
.resume .ch { display: flex; flex-shrink: 0; }

.link {
   cursor: pointer; width: auto; align-self: center;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 16px; padding: 11px 18px; border-radius: 999px;
   font-size: 13px; font-weight: 700; letter-spacing: -.1px;
}
.link span { border: 0; padding: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips.tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 16px -22px 0; padding: 0 22px; }
.chips.tabs::-webkit-scrollbar { display: none; }
.chips.tabs .chip { flex: 0 0 auto; }
.chip {
  border: 0; border-radius: 999px; width: fit-content; max-width: 100%;
  padding: 11px 16px; font-size: 13.5px; font-weight: 700; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  letter-spacing: -.2px;
  transition: transform .14s cubic-bezier(.34,1.3,.64,1);
}
.chip:active { transform: scale(.94); }
.chip .d { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chip.has { background: var(--ink); color: #fff; }
.chip.has .d { background: var(--c); }

/* ---------- listes ---------- */
.card {
  background: var(--card); border: 0; border-radius: 22px;
  padding: 14px 16px; display: flex; align-items: center; gap: 14px;
  cursor: pointer; width: 100%; text-align: left; box-shadow: var(--sh);
  transition: transform .14s cubic-bezier(.34,1.3,.64,1);
}
.card:active { transform: scale(.985); }
.card .bullet {
  width: 46px; height: 46px; border-radius: 15px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.card.on .bullet { background: linear-gradient(145deg, var(--ink), var(--ink2)); }
.card .tt { font-size: 16px; font-weight: 700; line-height: 1.25; flex-grow: 1; letter-spacing: -.35px; }
.card .ch { color: var(--faint); flex-shrink: 0; }
.card.on { background: color-mix(in srgb, var(--c) 10%, #fff); }

.opt {
  width: 100%; text-align: left; border: 0;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: 18px; padding: 16px 18px; font-size: 15.5px; font-weight: 600; color: var(--ink);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  box-shadow: var(--sh); letter-spacing: -.2px;
}
.opt .rad { width: 21px; height: 21px; border-radius: 50%; border: 2px solid var(--track); flex-shrink: 0; }
.opt.on { background: var(--ink); color: #fff; font-weight: 700; }
.opt.on .rad { border-color: #fff; background: #fff; box-shadow: inset 0 0 0 4px var(--ink); }
.opt .sm { font-size: 13px; color: var(--muted); font-weight: 500; display: block; margin-top: 3px; }

input[type=text] {
  width: 100%; border: 0; border-radius: 18px; background: #fff;
  padding: 16px 18px; font-family: var(--ui); font-size: 15.5px; font-weight: 600; color: var(--ink);
  box-shadow: var(--sh);
}
input[type=text]::placeholder { color: var(--faint); font-weight: 500; }
input[type=text]:focus { outline-offset: 3px; }

input[type=time] {
  border: 0; border-radius: 14px; background: #fff; box-shadow: var(--sh);
  padding: 13px 15px; font-family: var(--ui); font-size: 15px; font-weight: 700; color: var(--ink);
}
input[type=time]:focus { outline-offset: 3px; }

/* ---------- étapes ---------- */
.steps { display: flex; gap: 7px; margin-top: 16px; }
.steps .s { flex: 0 0 auto; display: flex; align-items: center;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px; padding: 8px 14px; }
.steps .s b { display: none; }
.steps .s span { font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,.8); letter-spacing: -.1px; }
.steps .s.on { background: #fff; border-color: #fff; }
.steps .s.on span { color: var(--ink); }

.plan { background: var(--card); border: 0; border-radius: 26px; padding: 18px; margin-top: 16px; box-shadow: var(--sh2); }
.plan .ph { display: flex; align-items: center; gap: 14px; }
.plan .pt { display: block; font-family: var(--display); font-size: 21px; font-weight: 700;
  line-height: 1.08; letter-spacing: -.6px; color: var(--ink); }
.plan .ps { display: block; font-size: 13px; color: var(--muted); margin-top: 5px; font-weight: 600; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.slot { background: var(--track); border-radius: 14px; padding: 11px 4px; text-align: center; }
.slot b { display: block; font-size: 13px; font-weight: 700; }
.slot span { font-size: 12px; color: var(--muted); font-weight: 500; }
.note { font-size: 13.5px; color: var(--ink); margin-top: 12px; font-weight: 600; line-height: 1.45;
  border-radius: 16px; padding: 12px 14px; }
.panel .note, .plan .note, .card .note {
  color: var(--muted); background: none; padding: 0; border-radius: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.card-prog { display: block; text-align: left; cursor: pointer; }
.card-prog .ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dotsline { display: flex; gap: 4px; margin-top: 12px; }
.dotsline i { flex: 1; height: 7px; border-radius: 4px; }
.ladder { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; }
.rung { display: flex; align-items: flex-start; gap: 13px; padding: 14px 16px; border-radius: 18px;
  box-shadow: var(--sh); }
.rung .rn {
  width: 29px; height: 29px; border-radius: 10px; flex-shrink: 0; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  background: var(--track); color: var(--muted);
}
.rung .rl { font-size: 15px; line-height: 1.32; font-weight: 700; color: var(--ink); padding-top: 4px; letter-spacing: -.2px; }

.rung.done .rl { color: var(--muted); }

.rung.now .rn { background: #fff; color: var(--ink); }
.rung.now .rl { color: #fff; }

.panel { background: var(--card); border: 0; border-radius: 26px; padding: 18px; margin-top: 16px; box-shadow: var(--sh2); }
.panel .eyebrow { color: var(--ink); }

/* ---------- notes d'occurrence ---------- */
.pips { display: flex; gap: 7px; flex-wrap: wrap; }
.pips i { width: 14px; height: 14px; border-radius: 50%; background: var(--track); }
.pips i.on { background: var(--ci); }
.entries { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.entry { background: var(--track); border-radius: 16px; padding: 13px 15px; }
.entry .et { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.entry b { font-size: 15px; font-weight: 700; letter-spacing: -.2px; }
.entry p { font-size: 14px; line-height: 1.45; color: var(--muted); font-weight: 500; margin-top: 5px; white-space: pre-wrap; }
.entry .del { background: none; border: none; padding: 0; font-size: 11px; font-weight: 800; color: var(--faint);
  cursor: pointer; flex-shrink: 0; text-transform: uppercase; letter-spacing: .7px; }
.entry .dt { font-size: 12px; color: var(--faint); font-weight: 500; margin-top: 6px; }
.saisie { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; }
.saisie label { font-size: 10.5px; font-weight: 800; color: var(--muted);
  text-transform: uppercase; letter-spacing: .9px; }
.saisie textarea {
  width: 100%; border: 0; border-radius: 16px; background: var(--track);
  padding: 14px 16px; font-family: var(--ui); font-size: 15px; font-weight: 500; color: var(--ink);
  line-height: 1.45; resize: none;
}
.saisie textarea::placeholder { color: var(--faint); }
.saisie textarea:focus, .saisie input[type=text]:focus { outline: 3px solid var(--ci); outline-offset: 2px; }
.saisie input[type=text] { background: var(--track); box-shadow: none; }
.saisie .chip { box-shadow: none; background: var(--track); -webkit-backdrop-filter: none; backdrop-filter: none; }
.saisie .chip.has { background: var(--ink); color: #fff; }
.row2 { display: flex; gap: 9px; margin-top: 6px; }
.row2 .btn { flex: 1; margin-top: 0; min-height: 50px; font-size: 16px; }
.row2 .btn.soft { background: var(--track); }
.carnet { margin-top: 20px; }

/* ---------- mes pas ---------- */
.prog { border: 0; border-radius: 26px; padding: 17px;
  transition: transform .14s cubic-bezier(.34,1.3,.64,1); }
.prog:active { transform: scale(.985); }
.prog .ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prog .pn { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.08;
  letter-spacing: -.6px; }
.prog .ch { flex-shrink: 0; }
.prog .pm { font-size: 13px; margin-top: 9px; font-weight: 600; }
.ticks { display: flex; gap: 8px; flex-wrap: wrap; }
.tick { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--track); background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff; padding: 0;
  transition: transform .14s cubic-bezier(.34,1.3,.64,1); }
.tick:active { transform: scale(.88); }
.tick.on { border-color: transparent; }

.empty { border: 0; border-radius: 26px; padding: 22px 20px;
  font-size: 15px; line-height: 1.5; color: var(--ink); font-weight: 600; box-shadow: var(--sh2); }

/* ---------- bilan ---------- */
.balance { display: flex; flex-direction: column; gap: 13px; margin-top: 18px;
  background: var(--card); border-radius: 26px; padding: 20px 18px; box-shadow: var(--sh2); }
.brow { display: flex; align-items: center; gap: 12px; }
.brow .bn { font-size: 13px; font-weight: 700; width: 104px; flex-shrink: 0; color: var(--ci);
  letter-spacing: -.2px; white-space: nowrap; }
.brow .bb { flex-grow: 1; height: 12px; border-radius: 6px; background: var(--track); overflow: hidden; }
.brow .bb i { display: block; height: 100%; border-radius: 6px;
 }
.brow .bv { font-size: 13px; font-weight: 800; color: var(--ink); width: 22px; text-align: right; }

.insight { border: 0; border-radius: 26px; padding: 20px; margin-top: 16px; box-shadow: var(--sh2);
 }
.insight .il { font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,.66); }
.insight p { margin: 9px 0 0; font-family: var(--display); font-size: 21px; font-weight: 700;
  line-height: 1.16; letter-spacing: -.6px; color: #fff; }

/* ---------- ajouter un objectif : barre de titre, lignes, réglages ---------- */
.hbar { display: flex; align-items: center; gap: 12px; margin: 2px 0 0; }
.hbar .ico {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.hbar .ht { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.5px; }
.sub { line-height: 1.45; margin-top: 8px; letter-spacing: -.1px; }
.sect {
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
   margin: 22px 2px 9px;
}
.list { display: flex; flex-direction: column; gap: 8px; }
.list .sect { margin-top: 16px; }
.row {
  width: 100%; min-height: 68px; border: 0; cursor: pointer; text-align: left;
  background: var(--card); border-radius: 20px; padding: 11px 12px 11px 11px;
  display: flex; align-items: center; gap: 13px; box-shadow: var(--sh);
  transition: transform .14s cubic-bezier(.34,1.3,.64,1);
}
.row:active { transform: scale(.985); }
.row .ic {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.row .tx { flex-grow: 1; min-width: 0; }
.row .tt { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.25; letter-spacing: -.3px; color: var(--ink); }
.row .ts { display: block; font-size: 12.5px; font-weight: 700; margin-top: 3px; }
.row .act {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

.seg { display: flex; gap: 6px; margin-top: 16px; }
.seg i { flex: 1; height: 5px; border-radius: 3px; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 7px 13px;
  font-size: 12.5px; font-weight: 700; letter-spacing: -.1px;
}
.pill .d { width: 8px; height: 8px; border-radius: 50%; }
.big {
  font-family: var(--display); font-size: clamp(30px, 8.6vw, 40px); line-height: 1.04;
  letter-spacing: -1.2px; font-weight: 700; margin-top: 18px;
}

.group { background: var(--card); border-radius: 20px; box-shadow: var(--sh); overflow: hidden; }
.gi {
  width: 100%; min-height: 56px; border: 0; background: none; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; font-size: 15.5px; font-weight: 600; color: var(--ink); letter-spacing: -.2px;
}
.gi + .gi { border-top: 1px solid var(--line); }
.gi:focus-visible { outline: 3px solid var(--ci); outline-offset: -3px; }
.gi .rad { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #D9D3E6; flex-shrink: 0; }
.gi.pick.on { font-weight: 700; }
.gi.pick.on .rad { box-shadow: inset 0 0 0 4px #fff; }
.gi.set .sl { font-weight: 700; }
.gi.set .sv { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--muted); text-align: right; }
.gi.set .sv svg { color: var(--faint); flex-shrink: 0; }
.sw { width: 46px; height: 28px; border-radius: 999px; background: #D9D3E6; position: relative; flex-shrink: 0; transition: background .2s ease; }
.sw i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(20,10,45,.25); transition: transform .2s cubic-bezier(.34,1.3,.64,1); }

.sw.on i { transform: translateX(18px); }
.group .gi-in { box-shadow: none; border-radius: 0; min-height: 56px; }
.group .gi-in:focus { outline: 3px solid var(--ci); outline-offset: -3px; }
.hint { font-size: 13px; line-height: 1.45; font-weight: 600; margin: 10px 4px 0; }
.btn.cta { margin-top: 16px; }

.sheet-bg {
  position: absolute; inset: 0; z-index: 30; background: rgba(12, 6, 28, .45);
  display: flex; align-items: flex-end; animation: sbg .2s ease both;
}
.sheet {
  width: 100%; background: #F6F4FA; border-radius: 28px 28px 0 0;
  padding: 10px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px rgba(20,10,45,.3); animation: sup .28s cubic-bezier(.2,.8,.2,1) both;
  max-height: 80%; overflow-y: auto;
}
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: #D9D3E6; margin: 0 auto 14px; }
.sheet .sh-t { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.5px; color: var(--ink); margin: 0 4px 12px; }
.sheet .sh-h { font-size: 13.5px; line-height: 1.45; color: var(--muted); font-weight: 500; margin: -4px 4px 12px; }
.sheet .group { box-shadow: none; }
.sh-time { display: flex; gap: 10px; }
.sh-time input[type=time] { flex: 1; box-shadow: none; font-size: 18px; min-height: 56px; }
.sh-time input[type=time]:focus { outline: 3px solid var(--ci); }
.sh-time .btn { width: auto; min-height: 56px; padding: 0 22px; box-shadow: none; }
@keyframes sbg { from { opacity: 0; } to { opacity: 1; } }
@keyframes sup { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- étapes débloquées, branches ---------- */
.unlock { display: flex; align-items: center; gap: 14px; margin-top: 16px; background: var(--card);
  border-radius: 22px; padding: 14px 16px; box-shadow: var(--sh); }
.unlock .un { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -1.5px;
  line-height: 1; color: var(--ci); min-width: 44px; text-align: center; }
.unlock .ut b { display: block; font-size: 15.5px; font-weight: 800; color: var(--ink); letter-spacing: -.2px; }
.unlock .ut span { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 2px; line-height: 1.4; }
.unlocked { display: flex; align-items: center; gap: 12px; margin: 12px 0 4px; background: var(--card);
  border-radius: 20px; padding: 12px 14px; box-shadow: var(--sh2); animation: pop .5s cubic-bezier(.34,1.5,.64,1) both; }
.unlocked .ui { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; }
.unlocked b { display: block; font-size: 15px; font-weight: 800; color: var(--ink); }
.unlocked span span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 2px; }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(-6px); } to { opacity: 1; transform: none; } }
.rung .rl .rlt { display: block; }
.rung.done .rl { text-decoration: none; }
.rung.done .rlt { text-decoration: line-through; }
.rung .rr { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--ci); margin-top: 4px; }
.lnote { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; margin: 4px 4px 0; }

/* ---------- compte ---------- */
.who { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.who .av { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    font-family: var(--display); font-size: 21px; font-weight: 700; box-shadow: var(--sh); }
.who b { display: block; font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.5px; line-height: 1.1; }
.who .wt span { display: block; font-size: 13px; font-weight: 600; margin-top: 3px; }
.bhead { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bhead .un { font-family: var(--display); font-size: 36px; font-weight: 700; letter-spacing: -1.4px; line-height: 1; color: var(--ci); }
.bhead b { display: block; font-size: 15px; font-weight: 800; color: var(--ink); }
.bhead span span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.gi.set.danger .sl { color: #B42318; }
.gi.set.rap .sl small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.gi.set.rap { text-align: left; }
.foot { text-align: center; font-size: 12px; font-weight: 600; margin-top: 16px; }
.sh-body { background: var(--card); border-radius: 18px; padding: 4px 16px; }
.sh-body p { font-size: 14.5px; line-height: 1.5; color: var(--ink); margin: 12px 0; }
.sh-body p.draft { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.btn.danger { background: #B42318; }
.btn.soft2 { background: var(--card); color: var(--ink); box-shadow: none; margin-top: 10px; }
.sheet .btn.cta:first-of-type { margin-top: 14px; }

.fade { animation: f .34s cubic-bezier(.2,.8,.2,1) both; }
@keyframes f { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* =====================================================================
   DA claire (21 septembre) — fond lavande très pâle, cartes blanches,
   cartes pleines en couleurs pastel par domaine, barre de navigation
   noire en pilule, pastilles rondes. La couleur code toujours le domaine.
   Le texte pose sur une couleur pastel est toujours foncé (contraste AA).
   Les déclarations plus haut que ce bloc redéfinissait (l'ancienne DA
   sombre) ont été retirées le 25 septembre, rendu vérifié identique avec
   outils/empreinte.html.
   ===================================================================== */
:root {
  --tete-c: #8B7CF6; --tete-ci: #5B45D6; --tete-s: #ECE9FE;
  --autres-c: #E58AF0; --autres-ci: #A3269F; --autres-s: #FBE6FD;
  --corps-c: #7FD8B4; --corps-ci: #0F7A55; --corps-s: #DFF6EC;
  --travail-c: #F6C56B; --travail-ci: #9A5200; --travail-s: #FDF0D6;
  --quotidien-c: #8ECFF7; --quotidien-ci: #0B6CA8; --quotidien-s: #E1F2FD;
  --tete-g1: #8B7CF6; --tete-g2: #8B7CF6; --tete-g3: #A395F8;
  --autres-g1: #E58AF0; --autres-g2: #E58AF0; --autres-g3: #EDA3F4;
  --corps-g1: #7FD8B4; --corps-g2: #7FD8B4; --corps-g3: #98E0C3;
  --travail-g1: #F6C56B; --travail-g2: #F6C56B; --travail-g3: #F8D38B;
  --quotidien-g1: #8ECFF7; --quotidien-g2: #8ECFF7; --quotidien-g3: #A6DAF9;
  --lav: #8B7CF6;
  --bg: #F5F3FC;
  --line: #ECE9F5;
  --track: #EEEBF7;
  --sh: 0 6px 20px rgba(45, 30, 110, .07);
  --sh2: 0 12px 30px rgba(45, 30, 110, .10);
}
body { background: #E8E4F8; }
.shell { background: var(--bg) !important; }
.shell::before, .shell::after { display: none; }
:focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; }

/* texte : l'encre sur fond clair */
h1, .big, .eyebrow, .hbar .ht, .who b, .logo { color: var(--ink); }
h1 { font-weight: 700; letter-spacing: -1.2px; }
h1 .l { font-weight: 400; }
.lede, .sub { color: var(--muted); font-weight: 600; font-size: 16px; }
.sect { color: var(--faint); }
.hint, .lnote, .foot, .who .wt span { color: var(--muted); }
.eyebrow.soft, .kicker, .tagline, .back, .link, .pill {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--sh);
}
.pill .d { background: var(--c); }
.hbar .ico { background: #fff; border: 1px solid var(--line); color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--sh); }
.seg i { background: #E2DEF1; }
.seg i.on { background: var(--ink); }
.note { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--sh); }
.chip { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--sh); }
.empty { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.rung { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.rung.done .rn { background: var(--c); color: var(--ink); }
.rung.now { background: var(--ink); }
.opt { background: #fff; }
input[type=text]:focus, input[type=time]:focus { outline: 3px solid var(--lav); }

/* la barre du haut : bonjour, et un bouton rond à droite */
.topbar { height: 76px; padding: 14px 22px 8px; }
.hello { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hello .av { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--lav); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 17px; }
.hello small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.hello b { display: block; font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rbtn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--sh); flex-shrink: 0; }
.rbtn.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* la barre de navigation : une pilule noire, des pastilles rondes */
.nav { background: var(--ink); border-radius: 40px; padding: 8px; margin: 0 26px calc(14px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 14px 34px rgba(23, 18, 43, .28); display: flex; justify-content: space-between; gap: 6px; }
.nav button { flex: 1; flex-direction: row; justify-content: center; gap: 8px; padding: 0; height: 52px; border-radius: 30px;
  color: #C9C3E0; font-size: 13px; }
.nav button .pillbg { display: none; }
.nav button span:not(.pillbg) { display: none; }
.nav button.on { background: var(--lav); color: var(--ink); }
.nav button.on span:not(.pillbg) { display: inline; font-weight: 800; }

/* cartes pleines, en couleur de domaine */
.resume { background: var(--c); box-shadow: var(--sh2); }
.resume .rd { background: rgba(255,255,255,.6); color: var(--ink); box-shadow: none; }
.resume .re, .resume .rc { color: rgba(23,18,43,.72); }
.resume .ch { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); align-items: center; justify-content: center; }
.prog { background: var(--c); box-shadow: var(--sh2); }
.prog .pn { color: var(--ink); }
.prog .pm { color: rgba(23,18,43,.74); }
.prog .ch { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.dotsline i { background: rgba(255,255,255,.6); }
.dotsline i.f { background: var(--ink); }
.dotsline i.c { background: rgba(23,18,43,.4); }

/* listes */
.row .ic { background: var(--c); color: var(--ink); }
.row .act { background: var(--track); color: var(--ink); }
.row.on .act { background: var(--ink); color: #fff; }
.row .ts { color: var(--ci); }
.card .bullet { background: var(--c); color: var(--ink); }
.gi.pick.on .rad { border-color: var(--ink); background: var(--ink); }
.sw.on { background: var(--ink); }
.tick.on { background: var(--c); color: var(--ink); }
.unlocked .ui { background: var(--c); color: var(--ink); }
.brow .bb i { background: var(--c); }
.zone .dot { background: var(--ci); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 40%, transparent); }
.zone .lab { background: #fff; }
.zone .lab i { background: var(--ink); }
.who .av { background: var(--lav); color: var(--ink); }
.insight { background: var(--ink); }

.panel .note, .plan .note, .card .note { box-shadow: none; }
.panel .btn.soft { background: var(--c); color: var(--ink); box-shadow: none; }
.panel .btn:not(.soft) { background: var(--ink); }

/* ---------- le calendrier ---------- */
.cal-hd { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.cal-hd b { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--ink); text-transform: capitalize; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 12px; }
.day { border: 0; background: none; cursor: pointer; border-radius: 30px; padding: 10px 0 8px;
  display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink); }
.day b { font-family: var(--display); font-size: 17px; font-weight: 700; }
.day span { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: capitalize; }
.day i { display: flex; gap: 2px; height: 6px; margin-top: 3px; }
.day i u { width: 5px; height: 5px; border-radius: 50%; }
.day.today b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.day.on { background: var(--lav); }
.day.on span { color: var(--ink); }
.tl { background: #fff; border-radius: 28px; padding: 16px 12px 16px 0; margin-top: 16px; box-shadow: var(--sh); }
.ev { display: grid; grid-template-columns: 62px 1fr; gap: 8px; align-items: start; margin-top: 10px; }
.ev:first-child { margin-top: 0; }
.ev .h { font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: right; padding-top: 16px; }
.evc { border: 0; width: 100%; text-align: left; cursor: pointer; background: var(--c); border-radius: 22px; padding: 14px 16px; color: var(--ink); }
.evc.soft { background: var(--s); }
.evc b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -.2px; line-height: 1.3; }
.evc .m { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 12.5px; font-weight: 700; color: rgba(23,18,43,.72); }
.evc .k { margin-left: auto; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px;
  background: rgba(255,255,255,.6); border-radius: 999px; padding: 3px 9px; color: var(--ink); }
.nowline { display: grid; grid-template-columns: 62px 1fr; gap: 8px; align-items: center; margin: 10px 0; }
.nowline span { justify-self: end; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 4px 8px; }
.nowline i { height: 2px; background: var(--ink); border-radius: 2px; }
.cal-empty { text-align: center; font-size: 14px; color: var(--muted); font-weight: 600; padding: 18px 16px 8px; line-height: 1.5; }

/* ---------- les leçons ----------
   Le type d'exercice se lit à l'icône et à la forme (pastille), jamais à la couleur :
   la couleur reste celle du domaine du programme (--c). */
.lecon-cta { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; border: 0; cursor: pointer;
  text-align: left; background: #fff; border-radius: 22px; padding: 14px 16px; box-shadow: var(--sh); color: var(--ink); }
.lecon-cta .li { width: 40px; height: 40px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--c); color: var(--ink); }
.lecon-cta .lt { flex: 1; min-width: 0; }
.lecon-cta small { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.lecon-cta b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -.2px; line-height: 1.3; margin-top: 2px; }
.lecon-cta > svg { color: var(--muted); flex-shrink: 0; }
.lecon-cta.faite .li, .lecon-cta.mini .li { background: var(--track); }
.lecon-cta.mini { margin-top: 10px; box-shadow: none; }

.lecon .ltype { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; margin-top: 22px;
  padding: 6px 12px 6px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 700; }
.lecon .lq { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.35; letter-spacing: -.4px;
  color: var(--ink); margin: 14px 0 0; }
.lopts { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.lopt[disabled] { cursor: default; }
.lopt .sm { font-weight: 700; }
.lopt.good { background: var(--c); color: var(--ink); box-shadow: none; }
.lopt.mine { box-shadow: inset 0 0 0 2px var(--ink); }
.lopt.dim { opacity: .5; }
.lopt .ok { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.lcard { background: #fff; border-radius: 22px; padding: 16px 18px; margin-top: 14px; box-shadow: var(--sh); }
.lcard b { display: block; font-family: var(--display); font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.lcard p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink2); font-weight: 500; }
.lcard small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); }
.lcard.soft { background: var(--track); box-shadow: none; }
.lcard.soft p { margin-top: 6px; font-weight: 600; color: var(--ink); }
.ltags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ltags span { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--track); color: var(--muted); }
.ltags .brouillon { background: #FFF1D6; color: #7A4100; }
.lecon .trou { display: inline-block; width: 8.5em; margin: 2px 6px; padding: 3px 10px; border: 0; border-radius: 12px;
  font: inherit; font-size: .9em; letter-spacing: 0; color: var(--ink); background: #fff; box-shadow: inset 0 -3px 0 var(--ci); }
.lecon .trou.good { background: var(--c); box-shadow: none; }
.lecon .trou.vu { background: var(--track); box-shadow: none; }
.lecon textarea { width: 100%; margin-top: 16px; border: 0; border-radius: 18px; padding: 14px 16px; font: inherit;
  font-size: 15px; line-height: 1.5; color: var(--ink); background: #fff; box-shadow: var(--sh); resize: vertical; }

.lecon textarea:focus, .lecon .trou:focus { outline: 3px solid var(--ci); outline-offset: 2px; }

/* ---------- les parcours écrits ---------- */
.lpasse { display: block; align-self: center; margin: 10px auto 0; padding: 8px 12px; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.pistes { background: #fff; border-radius: 20px; padding: 6px 16px; margin-top: 8px; box-shadow: var(--sh); }
.pistes p { margin: 10px 0; font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--ink2); }
.panel .consigne { margin: 8px 0 0; font-size: 15px; line-height: 1.55; font-weight: 500; color: var(--ink2); }
.panel .ltags { margin-top: 10px; }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.partage { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 16px;
  border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700;
  background: var(--c); color: var(--ink); }
.panel.apercu { margin-top: 18px; }
.panel .pas-n { font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.panel .pas-t { font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -.4px; color: var(--ink); margin: 4px 0 6px; }
.aide { margin-top: 10px; font-size: 13px; line-height: 1.5; font-weight: 600; color: var(--muted); }

/* ---------- les questions d'une étape : « Ce que tu as remarqué » ---------- */
.recap { margin-top: 12px; }
.recap ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.recap li { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; background: var(--track);
  border-radius: 16px; padding: 11px 14px; font-size: 14.5px; line-height: 1.45; font-weight: 600; color: var(--ink); }
.recap li i { font-style: normal; flex-shrink: 0; font-size: 12px; font-weight: 800; background: #fff; border-radius: 999px; padding: 3px 10px; }
.recap p { margin: 10px 0 0; font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--ink2); }
.recap p.petit { font-size: 12.5px; color: var(--muted); }
.aide.fort { background: #FFF1D6; color: #5A3000; border-radius: 16px; padding: 12px 14px; font-weight: 700; }
/* entre deux questions ou deux exercices : un léger glissement, jamais d'écran blanc */
.enchaine .lq, .enchaine .lopts { animation: enchaine .22s ease-out; }
@keyframes enchaine { from { opacity: .35; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.saisie label.note-q { display: block; text-transform: none; letter-spacing: -.2px; font-family: var(--display);
  font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink); margin-bottom: 10px; }
.saisie label.note-q small { display: block; font-family: var(--ui); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 3px; }

/* ---------- la capsule ---------- */
.capsule-carte { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 16px; border: 0; cursor: pointer; text-align: left;
  background: var(--c); color: var(--ink); border-radius: 22px; padding: 14px 16px; }
.capsule-carte .li { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.capsule-carte .lt { flex: 1; min-width: 0; }
.capsule-carte small { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.capsule-carte b { display: block; font-size: 15.5px; font-weight: 700; margin-top: 2px; }
.sh-body .cap-etape { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.sh-body .cap-texte { margin: 10px 0 0; padding: 14px 16px; background: var(--track); border-radius: 18px;
  font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--ink); white-space: pre-wrap; }
.sh-body .cap-date { margin: 10px 0 4px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- l'accueil (première ouverture) ---------- */
.accueil h1 { font-size: clamp(30px, 8.6vw, 40px); line-height: 1.05; margin-top: 10px; }
.accueil .lignes { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.accueil .lignes p { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--ink2); }
.domaines { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.dom { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; cursor: pointer; text-align: left;
  background: #fff; border-radius: 20px; padding: 10px 14px; color: var(--ink); box-shadow: var(--sh); }
.dom .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--c); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.dom b { display: block; font-size: 15.5px; font-weight: 700; }
.dom small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 1px; }

/* ---------- « Mes pas » vide : une action claire ---------- */
.vide { margin-top: 18px; display: flex; flex-direction: column; }
.vide > p { margin: 0 0 16px; font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--ink2); }
.vide .list { margin-top: 2px; }
/* sous le titre d'un objectif : son premier pas, pour choisir en sachant ce qu'on va faire */
.row .tp { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; margin-top: 3px; color: var(--muted); }
