:root {
  --blue: #407bff;
  --blue-dark: #235fdf;
  --blue-soft: #eaf2ff;
  --ink: #0f1b2d;
  --muted: #68758a;
  --line: #dfe6ef;
  --card: #ffffff;
  --bg: #f4f7fb;
  --danger: #cc3a3a;
  --success: #128a55;
  --shadow: 0 18px 48px rgba(28, 61, 109, 0.09);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(64, 123, 255, 0.10), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

button, input, textarea { font: inherit; }
button { cursor: pointer; }

.app-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 56px;
}

.topbar {
  display: grid;
  grid-template-columns: auto auto minmax(220px, 420px);
  align-items: center;
  gap: 28px;
  margin-bottom: 22px;
  padding: 12px 4px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  box-shadow: 0 10px 28px rgba(64, 123, 255, 0.22);
}
.brand-name { font-size: 18px; font-weight: 850; letter-spacing: .05em; }
.brand-subtitle { color: var(--muted); font-size: 13px; margin-top: 1px; }

.progress-wrap { min-width: 0; }
.progress-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.progress-track { height: 8px; background: #dce6f6; border-radius: 999px; overflow: hidden; }
.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #6fa3ff);
  border-radius: inherit;
  transition: width .28s ease;
}

.step { display: none; animation: stepIn .28s ease; }
.step.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-card {
  background: linear-gradient(135deg, #172b50 0%, #234a8e 54%, #407bff 100%);
  color: #fff;
  border-radius: 32px;
  padding: 38px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  overflow: hidden;
  position: relative;
}
.hero-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
}
.eyebrow {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.hero-card h1 { max-width: 720px; font-size: clamp(29px, 5vw, 48px); line-height: 1.05; margin: 18px 0 16px; letter-spacing: -.03em; }
.hero-card p { max-width: 700px; margin: 0; color: rgba(255,255,255,.86); font-size: 16px; }
.hero-info { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-info span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.13); padding: 8px 10px; border-radius: 999px; font-size: 12px; }

.section-heading { display: flex; gap: 14px; align-items: flex-start; margin: 6px 0 18px; }
.section-kicker {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 850;
  font-size: 13px;
}
.section-heading h2 { margin: 0; font-size: clamp(25px, 4vw, 34px); letter-spacing: -.025em; }
.section-heading p { margin: 4px 0 0; color: var(--muted); }

.grid { display: grid; gap: 14px; }
.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.field-card, .question-card, .block-banner, .submit-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(22, 51, 92, 0.045);
}
.field-card { padding: 18px; }
.question-card { padding: 22px; margin-bottom: 14px; }
.question-card.invalid { border-color: rgba(204,58,58,.55); box-shadow: 0 0 0 3px rgba(204,58,58,.07); }
.question-card:focus-within { border-color: rgba(64,123,255,.52); box-shadow: 0 0 0 3px rgba(64,123,255,.08); }

label { font-weight: 650; }
.optional { font-weight: 500; color: var(--muted); }
.required { color: var(--blue); }
.question-number { color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 5px; }
.question-title { display: block; font-size: 18px; font-weight: 780; letter-spacing: -.01em; }
.question-help { color: var(--muted); font-size: 13px; margin-top: 5px; }

.appreciation-field { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.appreciation-field label { display: block; font-size: 15px; color: var(--ink); }

input[type="text"], input[type="number"], textarea {
  width: 100%;
  margin-top: 9px;
  border: 1px solid #d6deea;
  background: #fbfdff;
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  outline: none;
  transition: .18s ease;
}
textarea { resize: vertical; min-height: 92px; }
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(64,123,255,.10); background: #fff; }

.choice-grid, .tri-choice, .quad-choice {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-grid.compact { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.tri-choice { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quad-choice { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.choice-pill { display: block; position: relative; }
.choice-pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice-pill span {
  min-height: 50px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid #d8e1ee;
  background: #fbfdff;
  border-radius: 14px;
  padding: 11px 13px;
  color: #314159;
  font-weight: 720;
  transition: .18s ease;
}
.choice-pill:hover span { border-color: #b9c9e3; background: #fff; }
.choice-pill input:checked + span { background: var(--blue-soft); border-color: var(--blue); color: #194da7; box-shadow: inset 0 0 0 1px rgba(64,123,255,.16); }

.choice-list { display: grid; gap: 9px; margin-top: 14px; }
.choice-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid #dce4ef;
  background: #fcfdff;
  border-radius: 14px;
  font-weight: 610;
  transition: .15s ease;
}
.choice-list label:hover { border-color: #b9c9e3; background: #fff; }
.choice-list input { margin-top: 3px; accent-color: var(--blue); }
.choice-list label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: #174b9f; }

.conditional-detail {
  display: none;
  margin-top: 14px;
  padding: 14px;
  background: #f8fbff;
  border: 1px dashed #bfd2ef;
  border-radius: 14px;
}
.conditional-detail.visible { display: block; animation: stepIn .2s ease; }
.conditional-detail label { font-size: 14px; }

.inline-extra { margin-top: 12px; }
.hidden { display: none !important; }

.block-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px;
  margin: 22px 0 14px;
  background: linear-gradient(135deg, #eef5ff, #f9fbff);
}
.block-banner > span { font-size: 26px; }
.block-banner strong { font-size: 16px; }
.block-banner p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }

.scale-wrap { margin-top: 16px; }
.scale-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px; }
.scale-grid label { position: relative; }
.scale-grid input { position: absolute; opacity: 0; }
.scale-grid span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid #d8e2ef;
  background: #fbfdff;
  color: #42526a;
  font-weight: 800;
  transition: .15s ease;
}
.scale-grid input:checked + span { background: var(--blue); border-color: var(--blue); color: white; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(64,123,255,.24); }
.scale-caption { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.scale-caption.right { text-align: right; margin: 8px 0 0; }

.submit-note { padding: 17px 18px; background: #fff9e9; border-color: #f0dfac; margin-top: 18px; }
.submit-note p { margin: 4px 0 0; color: #6e6040; font-size: 13px; }

.form-footer {
  position: sticky;
  bottom: 14px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  padding: 13px;
  border: 1px solid rgba(213,223,237,.92);
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 35px rgba(30,52,82,.12);
}
.btn {
  border: 0;
  border-radius: 14px;
  padding: 13px 19px;
  font-weight: 800;
  min-width: 112px;
  transition: .18s ease;
}
.btn.primary { background: var(--blue); color: white; box-shadow: 0 8px 20px rgba(64,123,255,.22); }
.btn.primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn.secondary { background: #edf2f8; color: #32435b; }
.btn.secondary:hover { background: #e4ebf4; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }
.step-error { color: var(--danger); text-align: center; font-size: 13px; font-weight: 650; min-height: 18px; }

.success-screen { padding: 44px 0; }
.success-card {
  max-width: 650px;
  margin: 60px auto;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 42px;
  box-shadow: var(--shadow);
}
.success-logo { width: 72px; height: 72px; border-radius: 20px; margin-bottom: 20px; }
.success-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; background: #e9f8f1; color: var(--success); font-size: 30px; font-weight: 900; }
.success-card h2 { font-size: 30px; margin: 8px 0; }
.success-card p { color: var(--muted); }

@media (max-width: 760px) {
  .app-shell { width: min(100% - 20px, 760px); padding-top: 12px; }
  .topbar { grid-template-columns: 1fr; gap: 14px; }
  .brand-logo { width: 50px; height: 50px; border-radius: 15px; }
  .hero-card { padding: 26px 22px; border-radius: 24px; }
  .hero-card h1 { font-size: 32px; }
  .hero-info { gap: 7px; }
  .two-cols, .choice-grid, .tri-choice, .quad-choice { grid-template-columns: 1fr; }
  .question-card { padding: 18px; border-radius: 20px; }
  .scale-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .form-footer { grid-template-columns: auto auto; }
  .step-error { grid-column: 1 / -1; grid-row: 1; }
  .form-footer .btn { grid-row: 2; }
  .form-footer .btn:last-child { justify-self: end; }
}

@media (max-width: 420px) {
  .app-shell { width: min(100% - 14px, 420px); }
  .hero-card { padding: 23px 18px; }
  .hero-card h1 { font-size: 28px; }
  .section-heading h2 { font-size: 27px; }
  .question-title { font-size: 17px; }
  .form-footer { bottom: 8px; padding: 10px; border-radius: 17px; }
  .btn { min-width: 96px; padding: 12px 14px; }
}

/* --- Ajustements V2 : profil, montre, ACE HER et mobile --- */
.source-card {
  padding: 14px;
}
.source-choice-grid {
  margin-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.small-title {
  font-size: 15px;
  margin-bottom: 2px;
}

.plan-choice {
  background: linear-gradient(135deg, #f3f7ff, #fbfdff);
  border-style: solid;
}

.compact-comment-card textarea {
  min-height: 72px;
}

.skip-card {
  background: linear-gradient(135deg, #eef5ff 0%, #f9fbff 100%);
  border: 1px solid #cbdcf5;
  border-radius: var(--radius-lg);
  padding: 12px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(22, 51, 92, 0.04);
}
.skip-card.invalid {
  border-color: rgba(204,58,58,.55);
  box-shadow: 0 0 0 3px rgba(204,58,58,.07);
}
.skip-choice {
  display: block;
  position: relative;
  cursor: pointer;
}
.skip-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.skip-choice > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 58px;
  justify-content: center;
  padding: 12px 14px 12px 48px;
  border-radius: 17px;
  border: 1px solid transparent;
  position: relative;
  transition: .18s ease;
}
.skip-choice > span::before {
  content: "";
  width: 22px;
  height: 22px;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 7px;
  border: 2px solid #9db6dd;
  background: #fff;
  transition: .18s ease;
}
.skip-choice > span::after {
  content: "✓";
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-55%) scale(.7);
  color: #fff;
  font-weight: 900;
  opacity: 0;
  transition: .18s ease;
}
.skip-choice small {
  color: var(--muted);
  font-weight: 520;
}
.skip-choice input:checked + span {
  background: #e8f1ff;
  border-color: var(--blue);
  color: #174b9f;
}
.skip-choice input:checked + span::before {
  border-color: var(--blue);
  background: var(--blue);
}
.skip-choice input:checked + span::after {
  opacity: 1;
  transform: translateY(-55%) scale(1);
}

.watch-banner {
  border-color: #cbdcf5;
}

@media (max-width: 760px) {
  body {
    -webkit-text-size-adjust: 100%;
  }

  .app-shell {
    width: min(100% - 16px, 760px);
    padding-top: 0;
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    margin: 0 -8px 14px;
    padding: 10px 12px 12px;
    background: rgba(248, 251, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(215, 225, 238, .85);
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-subtitle {
    font-size: 12px;
  }

  .hero-card {
    padding: 24px 19px;
    margin-bottom: 22px;
  }

  .hero-card h1 {
    font-size: clamp(27px, 8.5vw, 34px);
    line-height: 1.08;
  }

  .hero-card p {
    font-size: 15px;
  }

  .hero-info span {
    font-size: 11px;
    padding: 7px 9px;
  }

  .section-heading {
    margin-top: 2px;
  }

  .question-card,
  .field-card,
  .skip-card {
    border-radius: 19px;
  }

  .question-card {
    padding: 17px;
  }

  .choice-pill span {
    min-height: 54px;
    padding: 12px 13px;
  }

  .choice-list label {
    min-height: 52px;
    align-items: center;
  }

  input[type="text"],
  input[type="number"],
  textarea {
    font-size: 16px; /* évite le zoom automatique iOS */
    padding: 14px;
  }

  textarea {
    min-height: 88px;
  }

  .source-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-footer {
    bottom: calc(8px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding: 10px;
  }

  .form-footer .btn {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 420px) {
  .source-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .source-choice-grid .choice-pill span {
    padding-left: 8px;
    padding-right: 8px;
  }

  .skip-choice > span {
    padding-right: 10px;
  }
}

/* --- V3 : version de test, autosauvegarde et confirmation --- */
.test-version-note {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 15px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  line-height: 1.45;
}
.test-version-note strong { color: #fff; }
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}
.success-small {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #2f7157 !important;
}
@media (max-width: 760px) {
  .test-version-note { font-size: 12px; padding: 11px 12px; }
}

/* --- V4 : chronologie, réponses libres et page montre --- */
.standalone-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 13px;
  border: 1px solid #dce4ef;
  background: #fcfdff;
  border-radius: 14px;
  cursor: pointer;
  color: #34445b;
  font-weight: 650;
}
.standalone-check input {
  margin-top: 3px;
  accent-color: var(--blue);
  flex: 0 0 auto;
}
.standalone-check:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: #174b9f;
}
.text-or-check textarea:disabled {
  background: #f1f4f8;
  color: #93a0b2;
  cursor: not-allowed;
}
.field-card-like input { margin-top: 12px; }
.conditional-block.hidden + .submit-note { margin-top: 0; }

@media (max-width: 760px) {
  .question-number { margin-bottom: 7px; }
  .question-help { line-height: 1.45; }
  .standalone-check { min-height: 54px; align-items: center; }
  .success-card { margin: 28px auto; padding: 28px 20px; border-radius: 24px; }
  .success-card h2 { font-size: 28px; }
}

/* --- V7 : durée du test, lisibilité programme et commentaires de page --- */
.test-duration-card .question-title { margin-bottom: 2px; }
.duration-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 260px;
  margin-top: 10px;
}
.duration-input-wrap input[type="number"] {
  margin-top: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.duration-input-wrap > span {
  flex: 0 0 auto;
  font-weight: 750;
  color: var(--muted);
}
.page-comment-card {
  margin-top: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border-style: dashed;
}
.page-comment-card textarea { min-height: 96px; }

@media (max-width: 760px) {
  .duration-input-wrap { max-width: 100%; }
  .page-comment-card { margin-top: 18px; }
}


/* --- V8 : déclaration de bug --- */
.bug-report-trigger {
  justify-self: center;
  border: 1px solid #cfdcf0;
  background: #fff;
  color: #284b80;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 13px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(30, 54, 85, .06);
  transition: .18s ease;
}
.bug-report-trigger:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-1px); }

body.modal-open { overflow: hidden; }
.bug-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
}
.bug-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, .60);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.bug-modal-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(820px, calc(100vh - 36px));
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 26px 70px rgba(8, 25, 50, .26);
}
.bug-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.bug-modal-head h2 { margin: 10px 0 6px; font-size: 28px; letter-spacing: -.025em; }
.bug-modal-head p { margin: 0; color: var(--muted); font-size: 14px; }
.bug-eyebrow { color: var(--blue); border-color: #bcd0ef; background: var(--blue-soft); }
.bug-modal-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7faff;
  color: #526176;
  font-size: 24px;
  line-height: 1;
}
.bug-modal-card form { display: grid; gap: 10px; }
.bug-modal-card textarea { min-height: 120px; }
.bug-file-label { margin-top: 6px; }
.bug-modal-card input[type="file"] {
  width: 100%;
  border: 1px dashed #bfd0e7;
  border-radius: 14px;
  padding: 12px;
  background: #f8fbff;
}
.bug-file-help { color: var(--muted); font-size: 12px; }
.bug-preview { margin-top: 4px; border: 1px solid var(--line); border-radius: 15px; padding: 8px; background: #f7f9fc; }
.bug-preview img { display: block; width: 100%; max-height: 260px; object-fit: contain; border-radius: 10px; background: #fff; }
.bug-form-status { min-height: 20px; font-size: 13px; font-weight: 700; }
.bug-form-status.success { color: var(--success); }
.bug-form-status.error { color: var(--danger); }
.bug-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }

@media (max-width: 760px) {
  .bug-report-trigger { justify-self: stretch; width: 100%; }
  .bug-modal { padding: 10px; align-items: end; }
  .bug-modal-card { max-height: calc(100vh - 20px); border-radius: 22px; padding: 19px; }
  .bug-modal-head h2 { font-size: 24px; }
  .bug-modal-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .bug-modal-actions .btn { width: 100%; min-width: 0; }
}

/* --- V10 : bouton bug dans l'en-tête de chaque page --- */
.section-heading-copy {
  flex: 1 1 280px;
  min-width: 0;
}
.section-bug-report-trigger {
  margin-left: auto;
  flex: 0 0 auto;
  align-self: center;
  justify-self: auto;
  width: auto;
  min-height: 38px;
  padding: 8px 12px;
  font-size: 12px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .section-heading {
    align-items: center;
    gap: 10px;
  }
  .section-heading-copy {
    flex-basis: 150px;
  }
  .section-heading .section-bug-report-trigger {
    width: auto;
    justify-self: auto;
    margin-left: auto;
    padding: 8px 10px;
    min-height: 36px;
  }
}
@media (max-width: 430px) {
  .section-heading {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }
  .section-heading-copy { flex-basis: auto; }
  .section-heading .section-bug-report-trigger {
    grid-column: 2 / 4;
    justify-self: end;
    margin-top: 2px;
  }
}

/* V11 — contexte participant lié à /home */
.participant-context-card{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:center;margin:0 0 16px;padding:16px 18px;border:1px solid #d9e4f1;border-radius:18px;background:linear-gradient(135deg,#f5f9ff,#fbfdff)}
.participant-context-card>div{display:flex;flex-direction:column;gap:3px}.participant-context-card span{font-size:12px;color:#7d8da2;font-weight:700}.participant-context-card strong{color:#17345f;font-size:16px}.participant-change-link{font-size:12px;font-weight:800;color:#407bff;text-decoration:none;white-space:nowrap}.profile-age-grid{grid-template-columns:minmax(0,1fr)}
@media(max-width:700px){.participant-context-card{grid-template-columns:1fr 1fr}.participant-change-link{grid-column:1/-1}.profile-age-grid{grid-template-columns:1fr}}

.success-edit-btn{margin-top:14px;width:auto;min-width:210px}.success-card .success-edit-btn{display:inline-flex;justify-content:center}
