/* ════════════════════════════════════════════════════════════════════════
   LANCEUR-PLEIN-ECRAN (2026-11-03) — `applications.html`, l'ecran d'accueil
   d'un espace SANS Assistant (`Workspace.perimetre` vaut « applications »).

   Maquette validee par Manu le 2026-11-03 (revue de charte v4, section
   « B. Lanceur plein ecran », planches B1 a B6) : le lanceur n'est plus une
   carte de 520 px posee au milieu d'un fond, c'est la MEME COQUE que les
   applications — rail d'icones a gauche, contenu en panneau arrondi, bandeau
   integre au panneau.

   LA COQUE N'EST PAS REECRITE ICI. Le rail, les menus teleportes, le voile et
   la barre du bas viennent de `css/maitriser-ia-fenetre.css` (classes
   `mia-f-*`), que cette page charge : c'est la premiere feuille de coque
   d'application de la charte v4, et la recopier en aurait fait une seconde a
   tenir. Seul le CONTENU du lanceur est ici, prefixe `lan-`.
   Dette assumee et signalee au pilote : le prefixe `mia-f-` devrait devenir
   `coque-` le jour ou une troisieme page la charge.

   AUCUNE COULEUR EN DUR, AUCUNE VALEUR DE PALETTE RECOPIEE : tous les jetons
   viennent de `shell-2026.css` (`body.ux-shell`) et de `shared.css`. Le texte
   pose sur un fond d'accent utilise `--accent-fg` ; un texte d'accent sur fond
   de surface utilise `--accent-ink` (jamais `--accent`, qui ne passe pas AA en
   theme clair).

   AUCUNE CLASSE TAILWIND : la feuille est precompilee, et une classe nouvelle
   serait silencieusement absente. Cette page n'en charge donc aucune.
   ════════════════════════════════════════════════════════════════════════ */

/* ═══ 1. Le panneau ═══════════════════════════════════════════════════════
   Memes quatre bords que `.mia-ecran` (meme calcul, meme variable de rail) :
   les deux pages doivent poser leur panneau au meme endroit au pixel pres,
   sinon passer de l'une a l'autre ferait sauter le cadre. */
.lan-panneau {
  position: fixed;
  top: calc(var(--ux-safe-top, 0px) + var(--panel-gap, 10px));
  left: var(--mia-f-panneau-gauche);
  right: calc(var(--panel-gap, 10px) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--panel-gap, 10px) + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--frame);
  border: 1px solid var(--border);
  border-radius: var(--panel-radius, 18px);
  box-shadow: var(--elev-2);
  overflow: hidden;            /* c'est `.lan-defile` qui defile */
}

/* ═══ 2. Le bandeau, INTEGRE au panneau ═══════════════════════════════════
   Il fait partie du panneau (meme rayon, meme filet du bas), et non une barre
   posee sur le fond : c'est le defaut « bandeau mal integre » releve sur le
   Studio audio et corrige par la charte v4.
   AUCUN INDICATEUR DE CREDITS ICI (decision de Manu du 2026-11-03) : les
   credits se lisent tuile par tuile, parce qu'un espace a autant de forfaits
   que d'applications et qu'un seul compteur en haut n'en designerait aucun. */
.lan-bandeau {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 20px 0 18px;
  border-bottom: 1px solid var(--border);
}

.lan-pastille {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent-ink);
}
.lan-pastille svg { width: 18px; height: 18px; }

.lan-titres { display: grid; gap: 1px; min-width: 0; }
.lan-titres .lan-app {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}
.lan-titres .lan-ecr {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ═══ 3. Le contenu qui defile ════════════════════════════════════════════ */
.lan-defile { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.lan-corps {
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px 40px 48px;
}

.lan-salut { margin: 0 0 4px; }
.lan-salut h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--text-1);
  text-wrap: balance;
}
.lan-salut p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}

/* Le titre d'une section et son commentaire, sur la meme ligne de base. */
.lan-sect {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 28px 0 12px;
}
.lan-sect h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.012em;
  color: var(--text-1);
}
.lan-sect span { font-size: 13px; color: var(--text-3); }

/* ═══ 4. Les tuiles ══════════════════════════════════════════════════════ */
.lan-grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1100px) { .lan-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lan-tuile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 150px;
  padding: 18px;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--elev-1);
}
.lan-tuile-tete { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.lan-tuile-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--border);
  color: var(--text-2);
}
.lan-tuile-ico svg { width: 21px; height: 21px; }
.lan-tuile-textes { min-width: 0; }
.lan-tuile h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text-1);
  overflow-wrap: anywhere;
}
.lan-tuile-desc {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-2);
}
.lan-tuile-pied {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* LE FORFAIT DE L'APPLICATION, EN NOMBRE (decision de Manu du 2026-11-03) :
   « 12 400 sur 20 000 », pas un pourcentage. Un pourcentage ne dit pas combien
   il reste, et la jauge seule ne se lit pas a voix haute. */
.lan-credits { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--text-3); }
.lan-credits-val { color: var(--text-2); }
.lan-credits-val b { color: var(--text-1); font-weight: 600; font-variant-numeric: tabular-nums; }
.lan-piste {
  display: block;
  width: 130px;
  max-width: 100%;
  height: 4px;
  border-radius: 4px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--border);
  overflow: hidden;
}
.lan-piste i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
/* Moins de 20 % : la couleur change, ET le nombre reste la. La couleur seule ne
   suffit jamais (daltonisme, impression). */
.lan-credits.est-bas .lan-credits-val b { color: var(--warning-ink); }
.lan-credits.est-bas .lan-piste i { background: var(--warning); }
.lan-credits.est-epuise .lan-credits-val b { color: var(--danger-ink); }
.lan-credits.est-epuise .lan-piste i { background: var(--danger); }

.lan-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--success-dim);
  color: var(--success-ink);
}

/* Le prix : le nombre d'abord, la mention apres. Le prix est VISIBLE AVANT LE
   CLIC (decision de Manu du 2026-11-03) : un prix qui n'apparait qu'une fois la
   fenetre ouverte se lit comme un prix cache. */
.lan-prix { font-size: 13px; color: var(--text-2); line-height: 1.3; }
.lan-prix-avant { display: block; font-size: 12px; color: var(--text-3); }
.lan-prix b {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
}
.lan-prix-apres { font-size: 12px; color: var(--text-3); }
.lan-prix.est-a-fixer b { font-size: 14px; color: var(--text-2); }

/* ═══ 5. Les boutons ═════════════════════════════════════════════════════ */
.lan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 14px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid var(--border-field);
  background: var(--surface);
  color: var(--text-1);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.lan-btn:hover { border-color: var(--border-field-hover); background: var(--surface-hover); }
.lan-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lan-btn svg { width: 16px; height: 16px; flex: none; }
.lan-btn.est-primaire {
  border-color: var(--cta);
  background: var(--cta);
  color: var(--cta-fg);
}
.lan-btn.est-primaire:hover { border-color: var(--cta-hover); background: var(--cta-hover); }
.lan-btn.est-discrete { border-color: transparent; background: none; color: var(--text-2); }
.lan-btn.est-discrete:hover { background: var(--surface-hover); color: var(--text-1); }
.lan-btn:disabled { opacity: .55; cursor: default; }

/* ═══ 6. Aucune application ══════════════════════════════════════════════
   Un encart qui EXPLIQUE, et qui porte une sortie. Une page vide ferait croire
   a une panne, un titre seul serait une promesse creuse. */
.lan-vide {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 24px;
  background: var(--surface-2);
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
}
.lan-vide-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
  color: var(--text-2);
}
.lan-vide-ico svg { width: 21px; height: 21px; }
.lan-vide-textes { flex: 1 1 260px; min-width: 0; }
.lan-vide-textes b { display: block; font-size: 15px; font-weight: 600; color: var(--text-1); }
.lan-vide-textes span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }

/* ═══ 7. Bientot ═════════════════════════════════════════════════════════
   Des cartes au trait tirete, SANS bouton et SANS date (decision du
   2026-10-26) : il n'y a rien a demander, et un bouton inerte se lirait comme
   une panne. */
.lan-bientot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 1100px) { .lan-bientot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lan-bientot-carte {
  padding: 12px 14px;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-2);
}
.lan-bientot-carte b { display: block; margin-bottom: 2px; font-size: 13.5px; font-weight: 600; color: var(--text-1); }

/* ═══ 8. Vos collegues ═══════════════════════════════════════════════════ */
.lan-equipe {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.lan-equipe-liste { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--text-2); overflow-wrap: anywhere; }
.lan-champ { display: block; margin: 0 0 6px; font-size: 13px; color: var(--text-2); }
.lan-ligne { display: flex; gap: 8px; flex-wrap: wrap; }
.lan-ligne input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 40px;
  padding: 8px 12px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid var(--border-field);
  background: var(--surface-2);
  color: var(--text-1);
  font: inherit;
  font-size: 14px;
}
.lan-ligne input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.lan-etat { margin: 10px 0 0; font-size: 13px; color: var(--text-2); }
.lan-etat:empty { display: none; }

/* ═══ 9. L'attente et la panne ═══════════════════════════════════════════
   L'ATTENTE SE DIT, et elle dit l'etape reelle (regle du depot) : jamais un
   faux pourcentage, jamais un ecran muet. */
.lan-ecran-message {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}
.lan-attente { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; }
.lan-rond {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent-ink);
  animation: lan-tourne .7s linear infinite;
}
@keyframes lan-tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lan-rond { animation-duration: 2.4s; } }
.lan-carte-message { max-width: 420px; display: grid; gap: 12px; justify-items: center; }
.lan-carte-message h1 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--text-1); }
.lan-carte-message p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }

.lan-pied { margin: 28px 0 0; font-size: 12.5px; color: var(--text-3); }
.lan-pied a { color: var(--accent-ink); }

/* ═══ 10. La fenetre de souscription ═════════════════════════════════════
   Elle porte LE PRIX, LES CREDITS INCLUS et LE MOT « prorata » : un debit
   immediat ne doit jamais etre une surprise. Un seul bouton d'engagement.
   Sur telephone, elle devient une feuille collee en bas. */
/* L'ECHELLE DE `shared.css`, JAMAIS UN NOMBRE EN DUR (DESIGN_SYSTEM.md) :
   `--z-modal` est le jeton des modales ET de leur voile ; la fenetre prend un
   seul cran au-dessus de son voile, et reste donc sous les menus teleportes
   (`--z-menu`) comme sous les toasts. */
.lan-voile {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, .45);
}
.lan-dialogue {
  position: fixed;
  z-index: calc(var(--z-modal) + 1);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(480px, calc(100vw - 32px));
  max-height: min(86vh, 720px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 22px;
  background: var(--frame);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--elev-3);
}
.lan-dialogue-tete { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.lan-dialogue-tete h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--text-1);
  min-width: 0;
  overflow-wrap: anywhere;
}
.lan-fermer {
  margin-left: auto;
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: none;
  color: var(--text-2);
  cursor: pointer;
}
.lan-fermer:hover { background: var(--surface-hover); color: var(--text-1); }
.lan-fermer:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lan-fermer svg { width: 18px; height: 18px; }
.lan-dialogue-aide { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }

.lan-formules { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.lan-formule {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  box-sizing: border-box;
  text-align: left;
  border: 1px solid var(--border-field);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-1);
  font: inherit;
  cursor: pointer;
}
.lan-formule:hover { background: var(--surface-hover); }
.lan-formule:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lan-formule.est-choisie { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
/* LA PUCE N'EST PAS LE SEUL SIGNE : la bordure d'accent ET la puce pleine ET
   `aria-checked` disent la meme chose. Un halo seul se perd en impression. */
.lan-radio {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border-field);
  display: grid;
  place-items: center;
}
.lan-formule.est-choisie .lan-radio { border-color: var(--accent-ink); }
.lan-formule.est-choisie .lan-radio::after {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-ink);
}
.lan-formule-textes { flex: 1 1 auto; min-width: 0; }
.lan-formule-textes b { display: block; font-size: 14px; font-weight: 600; }
.lan-formule-textes small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--text-3); }
.lan-formule-prix { flex: none; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

.lan-recap {
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.lan-recap-ligne { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--text-1); }
.lan-recap-ligne + .lan-recap-ligne { margin-top: 6px; color: var(--text-2); }
.lan-recap-ligne b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lan-mention {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-2);
}
.lan-mention svg { width: 16px; height: 16px; flex: none; color: var(--text-3); margin-top: 1px; }
/* LES CGV ET LE SIREN de la souscription a l'Assistant (2026-11-03), demandes
   seulement quand la souscription CREE un abonnement. Aucune couleur en dur :
   les jetons de `shared.css`, comme le reste de la fenetre. */
.lan-conditions { display: grid; gap: 10px; margin-top: 14px; }
.lan-case { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.lan-case input { margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.lan-case a { color: var(--accent-ink); }
.lan-siren { display: grid; gap: 5px; }
.lan-siren > label { font-size: 13px; color: var(--text-2); }
.lan-siren input[type="text"] {
  min-height: 40px;
  padding: 8px 12px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid var(--border-field);
  background: var(--surface-2);
  color: var(--text-1);
  font: inherit;
  font-size: 14px;
}
.lan-siren input[type="text"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.lan-siren input[type="text"]:disabled { opacity: .55; }
.lan-siren small { font-size: 12px; color: var(--text-3); }
.lan-dialogue-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.lan-dialogue-message { margin: 12px 0 0; font-size: 13px; color: var(--text-2); }
.lan-dialogue-message:empty { display: none; }

/* ═══ 10 bis. LE PANIER et LES DEMANDES (2026-11-03, lots 2 et 3) ═════════
   AUCUNE COULEUR EN DUR : uniquement les jetons de `shared.css`, pour que les
   deux themes suivent (regle du depot, defaut « fond sombre en dur »). */

/* La case « Ajouter au panier » vit SOUS le pied de la tuile, pas dedans : le
   pied porte deja le prix et l'action, et une troisieme chose sur la meme ligne
   la faisait passer a la ligne de facon aleatoire selon la longueur du prix. */
.lan-case-panier { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.lan-tuile-refus { margin: 8px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--danger-ink); }

.lan-panier {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.lan-panier-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lan-panier-tete h3 { margin: 0; font-size: 14.5px; font-weight: 650; color: var(--text-1); }
.lan-panier-lignes { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.lan-panier-lignes li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--text-2); }
.lan-panier-lignes li b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text-1); }
.lan-panier-lignes li.est-sieges { color: var(--text-3); }
.lan-panier-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-1);
}
.lan-panier-total b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lan-panier-actions { display: flex; justify-content: flex-end; margin-top: 14px; }
/* Le total du recapitulatif d'une tuile : meme traitement que celui du panier,
   pour que les deux ecrans ne se lisent pas differemment. */
.lan-recap-ligne.est-total { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); color: var(--text-1); }

.lan-demandes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lan-demande {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  /* `--surface` ET PAS `--surface-1` : ce dernier n'est defini NULLE PART
     (constat inscrit dans `app.css`), et un jeton inconnu ne rend aucun fond —
     la carte aurait ete transparente sur les deux themes. */
  background: var(--surface);
  flex-wrap: wrap;
}
.lan-demande-textes { display: grid; gap: 3px; min-width: 0; flex: 1 1 240px; }
.lan-demande-textes b { font-size: 14px; font-weight: 650; color: var(--text-1); }
.lan-demande-textes small { font-size: 12.5px; color: var(--text-3); }
/* Le mot libre du demandeur : du texte d'une personne, donc jamais tronque en
   une ligne — on le laisse se replier. */
.lan-demande-mot { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.lan-demande-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.lan-demande-boutons { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ═══ 11. Telephone (390 px de reference) ════════════════════════════════
   Le rail disparait sous 768 px (`maitriser-ia-fenetre.css`), la barre du bas
   le remplace : le panneau prend alors toute la largeur, et « Ouvrir » remonte
   sur la ligne du nom pour gagner de la hauteur (planche B5). */
@media (max-width: 767.98px) {
  .lan-panneau {
    top: var(--ux-safe-top, 0px);
    left: 0;
    right: 0;
    bottom: calc(var(--mia-f-barre-h) + env(safe-area-inset-bottom, 0px));
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    box-shadow: none;
  }
  .lan-bandeau { min-height: 56px; padding: 0 14px; }
  .lan-corps { padding: 18px 14px 28px; }
  .lan-salut h1 { font-size: 20px; }
  .lan-sect { margin: 22px 0 10px; }
  .lan-grille, .lan-bientot { grid-template-columns: minmax(0, 1fr); }
  .lan-tuile { min-height: 0; padding: 14px; gap: 10px; }
  .lan-tuile-pied { gap: 8px; }
  .lan-vide { padding: 18px; }
  .lan-dialogue {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    width: auto;
    max-height: 88vh;
    border-radius: 18px 18px 0 0;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  }
  .lan-dialogue-actions .lan-btn { flex: 1 1 140px; }
}
