:root {
  --charbon: #14171a;
  --ardoise: #1f2429;
  --ardoise-2: #283038;
  --craie: #f4f1ea;
  --pierre: #9aa0a6;
  --braise: #ff5a1f;
  --braise-press: #e64a12;
  --r: 14px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--charbon); }
body {
  color: var(--craie);
  font-family: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .big, .num { font-weight: 800; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }

#app {
  max-width: 430px;
  min-height: 100dvh;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: calc(16px + var(--safe-t)) 20px calc(20px + var(--safe-b));
  gap: 16px;
  animation: enter 0.28s ease-out;
}
.screen.with-tabs { padding-bottom: calc(96px + var(--safe-b)); }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.spacer { flex: 1; }
.muted { color: var(--pierre); }
.accent { color: var(--braise); }
.center { text-align: center; }
.small { font-size: 16px; }

/* Top bar */
.topbar { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; }
.brand span { color: var(--braise); }
.iconbtn {
  width: 48px; height: 48px; border-radius: var(--r); border: 0; background: var(--ardoise);
  display: grid; place-items: center; cursor: pointer; transition: transform 0.12s, background 0.12s; flex: none;
}
.iconbtn:active { transform: scale(0.97); background: var(--ardoise-2); }
.iconbtn svg { width: 22px; height: 22px; }
.progress { flex: 1; height: 8px; background: var(--ardoise); border-radius: var(--r); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--braise); border-radius: var(--r); transition: width 0.35s ease; }

/* Buttons */
.btn {
  min-height: 56px; width: 100%; border: 0; border-radius: var(--r); cursor: pointer;
  font-weight: 800; font-size: 21px; letter-spacing: 0.03em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px;
  transition: transform 0.12s ease, background 0.15s ease, opacity 0.15s ease;
  user-select: none;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn-primary { background: var(--braise); color: #14171a; }
.btn-primary:active:not(:disabled) { background: var(--braise-press); }
.btn-secondary { background: var(--ardoise); color: var(--craie); border: 2px solid var(--ardoise-2); }
.btn-secondary:active:not(:disabled) { background: var(--ardoise-2); }
.btn-ghost { background: transparent; color: var(--pierre); min-height: 48px; font-size: 18px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.btn-ghost:active:not(:disabled) { color: var(--craie); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn.loading { pointer-events: none; }
.btn .spin { width: 20px; height: 20px; border-radius: 50%; border: 3px solid currentColor; border-right-color: transparent; animation: rot 0.8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.btn:focus-visible, .choice:focus-visible, .iconbtn:focus-visible, .tab:focus-visible, .link:focus-visible, input:focus-visible {
  outline: 3px solid var(--craie); outline-offset: 2px;
}
.bottom { display: flex; flex-direction: column; gap: 10px; }

/* Choices */
.choices { display: flex; flex-direction: column; gap: 12px; }
.choice {
  min-height: 64px; border-radius: var(--r); border: 2px solid var(--ardoise-2); background: var(--ardoise);
  text-align: left; padding: 14px 18px; font-size: 21px; font-weight: 500; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: transform 0.12s, border-color 0.15s, background 0.15s;
}
.choice:active { transform: scale(0.97); }
.choice[aria-pressed="true"] { border-color: var(--braise); background: #2a2320; }
.choice .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--pierre); flex: none; }
.choice[aria-pressed="true"] .dot { border-color: var(--braise); background: radial-gradient(circle, var(--braise) 45%, transparent 50%); }

.q-title { font-size: 38px; line-height: 1.02; text-transform: uppercase; }
.lead { font-size: 20px; color: var(--pierre); }

/* Welcome */
.welcome { justify-content: flex-end; background:
  radial-gradient(120% 60% at 50% 0%, #20262c 0%, transparent 70%); }
.welcome .logo { font-size: clamp(46px, 15.5vw, 64px); line-height: 0.9; text-transform: uppercase; letter-spacing: 0.01em; }
.welcome .logo span { color: var(--braise); }
.welcome .tag { font-size: 30px; font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.welcome .stripe { height: 6px; width: 64px; background: var(--braise); border-radius: var(--r); }

/* Cards */
.card { background: var(--ardoise); border-radius: var(--r); padding: 16px; }
.ex { display: flex; flex-direction: column; gap: 8px; }
.ex-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ex-name { font-weight: 800; font-size: 24px; text-transform: uppercase; line-height: 1.05; }
.ex-cat { font-size: 16px; color: var(--pierre); text-transform: uppercase; letter-spacing: 0.06em; flex: none; }
.ex-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.stat { background: var(--charbon); border-radius: var(--r); padding: 6px 10px; font-size: 17px; }
.stat b { font-weight: 800; color: var(--craie); }
.tip { color: var(--pierre); font-size: 17px; }

/* Result */
.result-head { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.week { color: var(--pierre); font-size: 18px; }
.hero { text-align: center; padding: 8px 0 4px; }
.hero .num { font-size: 96px; line-height: 0.95; color: var(--braise); }
.hero .num small { font-size: 44px; }
.hero .sub { font-size: 20px; color: var(--pierre); text-transform: uppercase; letter-spacing: 0.08em; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--braise); color: #14171a; border-radius: var(--r); padding: 6px 14px; font-weight: 800; text-transform: uppercase; font-size: 18px; }
.verdict { display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--pierre); }
.progress-line { border-left: 4px solid var(--braise); padding: 4px 0 4px 12px; font-size: 19px; }
.list { display: flex; flex-direction: column; gap: 12px; }

/* Blur / locked */
.locked { position: relative; }
.blurred { filter: blur(9px); pointer-events: none; user-select: none; }
@supports not (filter: blur(1px)) { .blurred { opacity: 0.15; } }
.lock-cta {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 20px; text-align: center;
}
.skel { height: 14px; border-radius: var(--r); background: var(--ardoise-2); }

/* Scanner */
.scan-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.scanner {
  width: min(78vw, 300px); aspect-ratio: 1; background: var(--ardoise); border-radius: var(--r);
  position: relative; overflow: hidden; display: grid; place-items: center;
}
.radar { width: 82%; aspect-ratio: 1; border-radius: 50%; position: relative;
  border: 2px solid #3a434c; box-shadow: inset 0 0 0 26px transparent; }
.radar::before, .radar::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid #323a42; }
.radar::before { inset: 18%; }
.radar::after { inset: 36%; }
.radar .cross { position: absolute; inset: 0; }
.radar .cross::before, .radar .cross::after { content: ""; position: absolute; background: #323a42; }
.radar .cross::before { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-1px); }
.radar .cross::after { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-1px); }
.radar .core { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--braise); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: 0.5; } }
.sweep {
  position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--braise);
  box-shadow: 0 0 12px 2px rgba(255, 90, 31, 0.8);
  animation: sweep 1.2s linear infinite;
}
.sweep::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 70px;
  background: linear-gradient(to top, rgba(255, 90, 31, 0.35), transparent);
}
@keyframes sweep { from { transform: translateY(-4px); } to { transform: translateY(calc(min(78vw, 300px) + 4px)); } }
.scan-msg { min-height: 54px; font-size: 22px; text-align: center; transition: opacity 0.3s ease; padding: 0 8px; }
.scan-msg.fade { opacity: 0; }
.scan-icons { display: flex; gap: 18px; }
.scan-icon { width: 72px; height: 72px; border-radius: var(--r); background: var(--ardoise); display: grid; place-items: center; transition: background 0.35s; }
.scan-icon svg { width: 46px; height: 46px; color: #4a535c; transition: color 0.35s; }
.scan-icon.on { background: #2a2320; }
.scan-icon.on svg { color: var(--braise); }

/* Build checklist */
.checks { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.check { display: flex; align-items: center; gap: 14px; font-size: 24px; font-weight: 800; text-transform: uppercase; color: #4a535c; transition: color 0.3s; }
.check i { width: 34px; height: 34px; border-radius: var(--r); background: var(--ardoise); display: grid; place-items: center; flex: none; transition: background 0.3s; }
.check i svg { width: 20px; height: 20px; opacity: 0; transition: opacity 0.3s; }
.check.done { color: var(--craie); }
.check.done i { background: var(--braise); }
.check.done i svg { opacity: 1; }

/* Inputs */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 18px; color: var(--pierre); }
.input {
  min-height: 56px; border-radius: var(--r); border: 2px solid var(--ardoise-2); background: var(--ardoise);
  padding: 0 16px; font-size: 20px; outline: none; width: 100%;
}
.input:focus { border-color: var(--braise); }
.input[aria-invalid="true"] { border-color: var(--braise); }
.err { color: var(--braise); font-size: 17px; min-height: 22px; }

/* Projection */
.proj-svg { width: 100%; height: auto; display: block; }
.proj-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s ease-out 0.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Tabs */
.tabs {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px;
  display: flex; background: rgba(20, 23, 26, 0.96); border-top: 1px solid var(--ardoise-2);
  padding: 6px 8px calc(6px + var(--safe-b)); gap: 6px; z-index: 10; backdrop-filter: blur(8px);
}
.tab {
  flex: 1; min-height: 60px; border: 0; background: transparent; border-radius: var(--r); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--pierre); font-size: 16px; font-weight: 500; transition: transform 0.12s, color 0.15s, background 0.15s;
}
.tab svg { width: 24px; height: 24px; }
.tab:active { transform: scale(0.97); }
.tab[aria-current="page"] { color: var(--braise); background: var(--ardoise); font-weight: 800; }

/* Player */
.player-top { display: flex; align-items: center; gap: 12px; }
.timer { font-size: 120px; font-weight: 800; line-height: 0.9; text-align: center; color: var(--braise); font-variant-numeric: tabular-nums; }
.timer.rest { color: var(--craie); }
.phase { text-align: center; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pierre); font-size: 20px; }
.ex-big { text-align: center; font-size: 40px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.set-dots { display: flex; gap: 8px; justify-content: center; }
.set-dots i { width: 28px; height: 8px; border-radius: var(--r); background: var(--ardoise-2); }
.set-dots i.done { background: var(--braise); }
.set-dots i.cur { background: var(--craie); }
.ring { width: 220px; height: 220px; margin: 0 auto; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .t { position: absolute; inset: 0; display: grid; place-items: center; font-size: 72px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Progress tab */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi { background: var(--ardoise); border-radius: var(--r); padding: 14px; }
.kpi .num { font-size: 44px; line-height: 1; }
.kpi .lbl { color: var(--pierre); font-size: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.weekbar { display: flex; gap: 6px; }
.weekbar i { flex: 1; height: 12px; border-radius: var(--r); background: var(--ardoise-2); }
.weekbar i.done { background: var(--braise); }
.hist { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hist .d { font-size: 16px; color: var(--pierre); }
.hist .m { font-size: 30px; font-weight: 800; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bars > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars i { width: 100%; max-width: 56px; background: var(--braise); border-radius: var(--r); min-height: 4px; }
.bars span { font-size: 16px; color: var(--pierre); }

/* Profile */
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; }
.row + .row { border-top: 1px solid var(--ardoise-2); }
.row .k { color: var(--pierre); }
.row .v { text-align: right; font-weight: 800; }
.section-title { font-size: 16px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pierre); margin-top: 8px; }
.link { background: none; border: 0; color: var(--craie); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 12px 4px; min-height: 48px; font-size: 17px; }
.safety { border: 2px solid var(--ardoise-2); border-radius: var(--r); padding: 14px; color: var(--pierre); font-size: 17px; }

/* Paywall */
.close-x { position: absolute; top: calc(12px + var(--safe-t)); right: 16px; z-index: 5; }
.paywall-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.paywall-bg .blurred { filter: blur(12px); opacity: 0.55; }
.paywall { position: relative; z-index: 1; background: linear-gradient(to bottom, rgba(20, 23, 26, 0.75), var(--charbon) 30%); }
.plans { display: flex; flex-direction: column; gap: 12px; }
.plan {
  border-radius: var(--r); border: 2px solid var(--ardoise-2); background: var(--ardoise); padding: 16px; cursor: pointer;
  text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 76px;
  transition: transform 0.12s, border-color 0.15s;
}
.plan:active { transform: scale(0.97); }
.plan[aria-pressed="true"] { border-color: var(--braise); }
.plan .pname { font-size: 24px; font-weight: 800; text-transform: uppercase; }
.plan .price-slot { color: var(--pierre); font-size: 16px; }
.badge { background: var(--braise); color: #14171a; font-weight: 800; font-size: 15px; text-transform: uppercase; border-radius: var(--r); padding: 3px 8px; letter-spacing: 0.04em; }
.unlock { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.unlock li { display: flex; gap: 10px; align-items: flex-start; font-size: 19px; }
.unlock li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 3px; background: var(--braise); flex: none; }
.fine { color: var(--pierre); font-size: 16px; }
.downsell-title { font-size: 46px; line-height: 0.98; text-transform: uppercase; }

/* Toast / banners */
.toast {
  position: fixed; left: 50%; bottom: calc(100px + var(--safe-b)); transform: translateX(-50%);
  background: var(--craie); color: var(--charbon); border-radius: var(--r); padding: 12px 16px; font-size: 17px; font-weight: 500;
  max-width: calc(100% - 40px); width: max-content; z-index: 50; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: enter 0.25s ease-out;
}
.banner { background: var(--ardoise); border-left: 4px solid var(--braise); border-radius: var(--r); padding: 12px 14px; font-size: 17px; }
.legal h2 { font-size: 30px; text-transform: uppercase; }
.legal h3 { font-size: 21px; text-transform: uppercase; margin-top: 8px; }
.legal p { color: #d9d5cc; }
.state-icon { width: 72px; height: 72px; border-radius: var(--r); background: var(--ardoise); display: grid; place-items: center; }
.state-icon svg { width: 40px; height: 40px; color: var(--braise); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .sweep { animation: none; top: 50%; }
  .proj-line { stroke-dashoffset: 0; }
}

.lock-cta .btn { font-size: 19px; white-space: nowrap; }
.proj-svg text { font-family: "Barlow Condensed", sans-serif; font-weight: 500; }

/* Illustrations d'exercices */
.ex-ill { display: flex; align-items: center; gap: 12px; width: 100%; background: var(--charbon); border: 0; border-radius: var(--r); padding: 6px 12px; color: var(--braise); font: inherit; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; min-height: 56px; transition: transform 0.12s; }
.ex-ill:active { transform: scale(0.97); }
.ex-ill span::after { content: " ›"; }
.ex-ill.big { justify-content: center; background: var(--ardoise); padding: 8px; }
.ex-ill.big span { display: none; }
.howto-ill { background: var(--charbon); border-radius: var(--r); display: grid; place-items: center; padding: 8px; }
.howto-ill svg { max-width: 100%; height: auto; }
.howto-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 19px; }

/* Série et essai */
.streak { display: flex; align-items: center; gap: 8px; background: var(--ardoise); border-radius: var(--r); padding: 10px 14px; font-size: 19px; }
.streak b { color: var(--braise); font-weight: 800; }
.banner.trial { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.banner.trial .link { padding: 6px 0; min-height: 40px; }

/* Fiche coulissante */
.sheet-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 60; animation: enter 0.2s ease-out; }
.sheet { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 430px; max-height: 92dvh; overflow-y: auto; z-index: 61; background: var(--ardoise); border-radius: var(--r) var(--r) 0 0; padding: 12px 20px calc(20px + var(--safe-b)); display: flex; flex-direction: column; gap: 14px; animation: up 0.25s ease-out; }
.sheet-grip { width: 44px; height: 5px; border-radius: var(--r); background: var(--ardoise-2); margin: 0 auto 4px; }
@keyframes up { from { transform: translate(-50%, 40px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.kpis { grid-template-columns: 1fr 1fr; }

/* ---------- démonstration 3D ---------- */
.fig3d { position: relative; margin: 0 auto; max-width: 100%; border-radius: var(--r); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 20%, #262c33 0%, #1a1e22 70%); display: grid; place-items: center; }
.fig3d > svg { max-width: 92%; height: auto; transition: opacity .3s; }
.fig3d.is-3d > svg { opacity: 0; position: absolute; }
.fig3d-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; animation: fadein .5s ease; cursor: grab; }
.fig3d-canvas:active { cursor: grabbing; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.ex-ill.big { background: none; border: 0; padding: 0; }
.howto-ill .fig3d { width: 100% !important; }

/* ---------- coach vocal / réglages ---------- */
.player-top .voice-btn svg { width: 22px; height: 22px; }
.toggle-row { width: 100%; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.toggle-row[aria-pressed="true"] .v { color: var(--braise); }

/* ---------- parcours ---------- */
.path-row { padding: 10px 0; border-top: 1px solid #262c33; }
.path-row:first-of-type { border-top: 0; }
.path-head { display: flex; align-items: center; gap: 10px; }
.path-head svg { width: 26px; height: 26px; color: var(--braise); }
.path-head .small { margin-left: auto; }
.path-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0 4px; }
.path-steps i { height: 8px; border-radius: 4px; background: #262c33; }
.path-steps i.done { background: var(--braise); }
.path-steps i.next { background: repeating-linear-gradient(90deg, var(--braise) 0 6px, transparent 6px 10px); opacity: .6; }

/* ---------- paywall : confiance ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.trust span { font-size: 15px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: #1f2429; color: var(--craie); }
.plan .price-slot b { color: var(--craie); font-size: 20px; }

/* ---------- programme, tests, saisie des séries ---------- */
.rep-adjust { display: flex; align-items: center; justify-content: center; gap: 18px; }
.rep-adjust .iconbtn { width: 64px; height: 64px; font-size: 36px; font-weight: 700; border-radius: 50%; }
.rep-adjust .timer { min-width: 120px; }
.quick-add { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.chip { background: var(--ardoise); color: var(--craie); border: 0; border-radius: 999px; padding: 10px 18px; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
.goal-label { font-size: 24px; font-weight: 800; line-height: 1.1; color: var(--craie); margin: 0 0 6px; }
.goalbar { height: 10px; border-radius: 5px; background: #262c33; overflow: hidden; margin: 8px 0 6px; }
.goalbar i { display: block; height: 100%; background: var(--braise); border-radius: 5px; transition: width .6s ease; }
.weeks8 { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; margin-top: 10px; }
.weeks8 i { height: 8px; border-radius: 4px; background: #262c33; }
.weeks8 i.done { background: var(--braise); }
.weeks8 i.cur { background: var(--craie); }
.weeks8 i.light:not(.done):not(.cur) { background: repeating-linear-gradient(90deg, #3a434c 0 4px, #262c33 4px 8px); }
.test-cta { display: flex; flex-direction: column; gap: 10px; border: 2px solid var(--braise); }
.test-cta > div { flex: 1; }
.wins .wk { margin: 0 0 6px; }
.wins ul { margin: 0; padding-left: 20px; color: var(--craie); }
.wins li { margin: 4px 0; }
table.tests { width: 100%; border-collapse: collapse; font-size: 17px; }
table.tests th { color: var(--pierre); font-weight: 600; text-align: right; padding: 4px 6px; font-size: 15px; }
table.tests td { padding: 8px 6px; border-top: 1px solid #262c33; text-align: right; font-variant-numeric: tabular-nums; }
table.tests td:first-child { text-align: left; color: var(--pierre); }
.up { color: var(--braise); font-weight: 800; }
.install-card { border: 1px solid var(--braise); }
.install-card p { margin: 6px 0 10px; }

/* Connexion Google directe (bouton Google officiel) */
[hidden] { display: none !important; }
.gis-slot { display: flex; justify-content: center; min-height: 44px; }
.gis-slot.is-loading { opacity: .5; pointer-events: none; }
