/* Les parcours de l'agent (déclaration, check-in, enrôlement, récépissé) : une seule feuille. */
main.agent { max-width: 580px; margin: 0 auto; padding: 16px 16px 60px; }
  .ecran { padding: 24px 22px; margin-top: 12px; animation: monter .35s cubic-bezier(.2,.8,.2,1); }
  .ecran h1 { font-size: 22px; margin: 2px 0 8px; letter-spacing: -.2px; }
  .surtitre { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--vert); }
  .stepper { margin-top: 8px; } .stepper-txt { font-size: 13px; color: var(--doux); margin-bottom: 6px; }
  .stepper .barre-h { height: 6px; } .stepper .barre-h span { transition: width .5s cubic-bezier(.2,.8,.2,1); }
  label.champ { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 14px 0 6px; font-weight: 600; font-size: 14px; }
  .avant { width: 100%; color: var(--doux); font-weight: 400; font-size: 12.5px; }
  .modifie { font-size: 11px; font-weight: 700; color: var(--vert); background: var(--vert-doux); padding: 1px 7px; border-radius: 999px; }
  fieldset.bloc-champs { border: 1px solid var(--trait); border-radius: 14px; padding: 6px 16px 16px; margin: 14px 0 0; }
  fieldset.bloc-champs legend { font-weight: 800; padding: 0 6px; }
  dl.fiche-id { display: grid; grid-template-columns: 110px 1fr; gap: 10px 14px; margin: 18px 0; padding: 16px; background: var(--fond); border-radius: 12px; }
  dl.fiche-id dt { color: var(--doux); font-size: 13.5px; } dl.fiche-id dd { margin: 0; font-weight: 700; }
  .encart { padding: 12px 14px; border-radius: 12px; background: var(--bleu-doux); color: var(--bleu); font-size: 14px; margin: 10px 0; }
  .encart.vert { background: var(--vert-doux); color: var(--vert-fonce); } .encart.orange { background: var(--orange-doux); color: var(--orange); } .encart.rouge { background: var(--rouge-doux); color: var(--rouge); }
  .encart.rouge div { margin-top: 4px; }
  .boutons-agent { display: flex; gap: 10px; margin-top: 22px; } .boutons-agent .bouton { flex: 1; height: 50px; font-size: 15.5px; }
  .bouton.grand { height: 52px; font-size: 16px; }
  .note { color: var(--doux); font-size: 12.5px; margin-top: 16px; }
  .liste-pieces { display: grid; gap: 8px; }
  .cadre-photo { position: relative; border-radius: 16px; overflow: hidden; background: #101828; aspect-ratio: 4 / 3; margin: 14px 0 10px; }
  .camera { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
  .ovale { position: absolute; left: 50%; top: 50%; width: 46%; height: 72%; transform: translate(-50%, -50%); border: 3px dashed rgba(255,255,255,.8); border-radius: 50%; box-shadow: 0 0 0 999px rgba(16,24,40,.35); pointer-events: none; }
  .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .ligne-recu { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--trait-leger); font-size: 14.5px; }
  .recu { text-align: center; } .recu .num { font-size: 28px; font-weight: 800; letter-spacing: 1px; margin: 4px 0 8px; }
  .coche { width: 72px; height: 72px; border-radius: 50%; background: var(--vert); color: #fff; display: grid; place-items: center; font-size: 36px; margin: 6px auto 12px; animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
  @keyframes pop { from { transform: scale(.3); opacity: 0; } }
  .ro input, input[readonly] { background: var(--fond); color: var(--doux); }
  .groupe-ro { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 12px 14px; background: var(--fond); border-radius: 12px; margin: 10px 0 2px; font-size: 13.5px; }
  .groupe-ro div span { display: block; color: var(--doux); font-size: 12px; }
  .groupe-ro div b { font-weight: 650; }
  details.theme { border: 1px solid var(--trait); border-radius: 14px; padding: 0 16px; margin: 12px 0 0; background: #fff; }
  details.theme > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 52px; font-weight: 750; }
  details.theme > summary::-webkit-details-marker { display: none; }
  details.theme > summary .compte { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--doux); }
  details.theme > summary .compte.a-completer { color: var(--orange); }
  details.theme > summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--doux); border-bottom: 2px solid var(--doux); transform: rotate(45deg); transition: transform .2s; margin-left: 6px; }
  details.theme[open] > summary::after { transform: rotate(-135deg); }
  details.theme[open] { padding-bottom: 14px; }
  .bandeau-assiste { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #f4f3ff; color: #5925dc; font-size: 13.5px; font-weight: 600; }
  .saisie-code { letter-spacing: 8px; font-size: 22px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
  .recepisse { text-align: left; }
  .recepisse .entete-recu { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--trait-leger); }
  .recepisse .entete-recu .coche { width: 52px; height: 52px; font-size: 26px; margin: 0; flex: none; }
  .recepisse h1 { margin: 0; }
  .recepisse .corps-recu { display: grid; grid-template-columns: 1fr 148px; gap: 18px; align-items: start; margin-top: 14px; }
  .recepisse .qr { width: 148px; height: 148px; border: 1px solid var(--trait); border-radius: 10px; padding: 6px; background: #fff; }
  .recepisse .qr svg { width: 100%; height: 100%; display: block; }
  .recepisse .qr-legende { font-size: 11.5px; color: var(--doux); text-align: center; margin-top: 6px; }
  .recepisse .num { text-align: left; font-size: 24px; }
  .recepisse .actions-recu { display: flex; gap: 10px; margin-top: 18px; }
  .recepisse .actions-recu .bouton { flex: 1; height: 48px; }
  .verifie { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--vert-doux); color: var(--vert-fonce); font-weight: 650; }
  .verifie.non { background: var(--rouge-doux); color: var(--rouge); }
  @media (max-width: 480px) { .recepisse .corps-recu { grid-template-columns: 1fr; } .recepisse .qr { margin: 0 auto; } .groupe-ro { grid-template-columns: 1fr; } }
  @media print {
    @page { size: A5; margin: 12mm; }
    body { background: #fff; }
    .tete, .tricolore, .stepper, button, .actions-recu, .note-ecran { display: none !important; }
    main.agent { padding: 0; max-width: none; }
    .ecran { box-shadow: none; border: 1px solid #d0d5dd; animation: none; }
    .recepisse .entete-recu .coche { animation: none; }
  }
.separe { height: 1px; background: var(--trait-leger); margin: 24px 0 4px; }
.champ-recu { display: flex; flex-direction: column; gap: 1px; padding: 9px 0; border-top: 1px solid var(--trait-leger); }
.champ-recu span { font-size: 12px; color: var(--doux); } .champ-recu b { font-weight: 650; font-size: 14.5px; }
@media (max-width: 560px) { .recepisse .corps-recu { grid-template-columns: 1fr; } .recepisse .qr { margin: 4px auto 0; } }
.recu .num, .recepisse .num { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .02em; white-space: nowrap; overflow-wrap: normal; }
.surtitre code.donnee { font-size: 1em; letter-spacing: .04em; color: inherit; background: var(--vert-doux); border-color: transparent; }
h1 code.donnee { font-size: .86em; vertical-align: 1px; }
