/* Première fois sur un téléphone (lot L, point 2 ; maquette labo/maquettes-lot-l/P02-Telephone) : « Ce téléphone sera
   votre scanner », « Préparer ce téléphone » et la feuille de l'icône. js/intro-telephone.js. */
.intro-pt { justify-content: flex-start; align-items: stretch; text-align: left; padding: max(28px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); }
.pt-ecran { flex-grow: 1; width: min(30rem, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.pt-dessin { display: flex; gap: 10px; align-items: flex-end; justify-content: center; margin: 8px 0 4px; }
.pt-titre { margin: 0; font: 700 24px / 1.25 var(--police-titre); text-wrap: balance; }
.pt-texte { margin: 0; font-size: 15.5px; line-height: 1.5; color: #3A3A44; }
.pt-boutons { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.pt-boutons .btn, .pt-continuer { width: 100%; justify-content: center; min-height: 52px; font-size: 16px; }
.pt-envoi { margin: 0; min-height: 1.4em; font-size: 14px; line-height: 1.4; color: var(--vert); }
.pt-envoi:empty { display: none; }
.pt-sans-ordi { margin-top: auto; font-size: 14.5px; line-height: 1.5; color: #3A3A44; }
.pt-sans-ordi summary { -webkit-tap-highlight-color: transparent; user-select: none; cursor: pointer; text-align: center; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: flex; align-items: center; justify-content: center; list-style: none; }
.pt-sans-ordi summary::-webkit-details-marker { display: none; }
.pt-sans-ordi[open] { padding: 12px 14px; background: var(--ardoise-claire); border-radius: var(--rayon); }
.pt-sans-ordi[open] summary { font-weight: 600; text-decoration: none; justify-content: flex-start; min-height: 0; margin-bottom: 6px; }
.pt-sans-ordi p { margin: 0 0 8px; }
.pt-sans-ordi .btn-lien { padding-left: 0; font-size: 14.5px; }

/* Les trois préparatifs : l'étape active entourée de jaune, les autres sobres. */
.pt-etapes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pt-etape { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid #E4E4EA; border-radius: var(--rayon); background: #FFFFFF; }
.pt-etape[data-etat="active"] { border: 2px solid var(--jaune); background: #FFFBEA; padding: 11px; }
.pt-etape[data-etat="a-venir"] { color: var(--texte-doux); }
.pt-pastille {
  flex: none; width: 24px; height: 24px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--encre);
  display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700;
}
.pt-etape[data-etat="active"] .pt-pastille { background: var(--encre); color: #FFFFFF; }
.pt-etape[data-etat="fait"] .pt-pastille { background: var(--vert); border-color: var(--vert); color: #FFFFFF; }
.pt-etape[data-etat="refusee"] .pt-pastille, .pt-etape[data-etat="plus-tard"] .pt-pastille { border-color: var(--bordure); color: var(--texte-doux); }
.pt-corps { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 14.5px; line-height: 1.45; }
.pt-etape-titre { font-size: 15.5px; color: var(--encre); }
.pt-etape-texte { color: var(--texte-doux); }
.pt-adresse { color: var(--encre); font-family: var(--police-chiffres); font-size: 13.5px; white-space: nowrap; }
.pt-lien-message { font-size: 13.5px; color: var(--vert); }
.pt-lien-message:empty { display: none; }
.pt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 6px; }
.pt-actions:empty { display: none; }
.pt-actions .btn { min-height: 44px; }
.pt-actions .btn-lien { padding-inline: 0; }
.pt-continuer { margin-top: auto; }

/* La feuille de l'icône : en bas de l'écran, la carte du bon navigateur. */
.pt-feuille {
  position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; max-height: 92dvh; box-sizing: border-box;
  padding: 18px 16px max(18px, env(safe-area-inset-bottom)); border: 0; border-top: 1.5px solid var(--encre); border-radius: 0;
  background: #FFFFFF; color: var(--encre); overflow: auto;
}
.pt-feuille[open] { display: flex; flex-direction: column; gap: 12px; }
.pt-feuille::backdrop { background: rgba(17, 17, 20, 0.35); }
.pt-feuille-titre { margin: 0; font: 700 19px / 1.25 var(--police-titre); }
.pt-feuille-pied { display: flex; gap: 10px; }
.pt-feuille-pied .btn { flex: 1 1 0; justify-content: center; min-height: 48px; }
