/* JYL Cyber : feuille de style de l'appli.
   Design sobre et rassurant, gros caractères (texte de base 18 px), contrastes élevés.
   Thème clair par défaut ; sombre si le téléphone l'est (ou au choix dans Réglages). */

:root {
  --bg: #F5F7FA;
  --carte: #FFFFFF;
  --texte: #16202B;
  --doux: #4D5B6A;
  --bord: #DCE2E9;
  --principal: #1D5BA6;
  --principal-fonce: #164A88;
  --principal-pale: #E6EEF8;
  --sur-principal: #FFFFFF;   /* texte posé sur la couleur principale */
  --vert: #23774A;  --vert-pale: #E3F2EA;
  --orange: #B35A00; --orange-pale: #FCEFDF;
  --rouge: #C0262D; --rouge-pale: #FBE6E7;
  --ombre: 0 1px 2px rgba(22, 32, 43, .06), 0 2px 8px rgba(22, 32, 43, .05);
  --rayon: 14px;
  --barre: 68px;
  --haut: env(safe-area-inset-top, 0px);
  --bas: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14181D; --carte: #1D232A; --texte: #EEF2F6; --doux: #A9B4C0; --bord: #2E3741;
    --principal: #6FA8EE; --principal-fonce: #8DBAF2; --principal-pale: #1F2F44; --sur-principal: #0E1A2A;
    --vert: #5CC48D; --vert-pale: #183326; --orange: #F0A24E; --orange-pale: #3A2A16; --rouge: #F07278; --rouge-pale: #3D1D20;
    --ombre: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14181D; --carte: #1D232A; --texte: #EEF2F6; --doux: #A9B4C0; --bord: #2E3741;
  --principal: #6FA8EE; --principal-fonce: #8DBAF2; --principal-pale: #1F2F44; --sur-principal: #0E1A2A;
  --vert: #5CC48D; --vert-pale: #183326; --orange: #F0A24E; --orange-pale: #3A2A16; --rouge: #F07278; --rouge-pale: #3D1D20;
  --ombre: none; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--texte);
  font: 18px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
/* Bandeau opaque derrière la barre d'état du téléphone : le contenu qui défile ne passe plus dessous */
body::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: var(--haut);
  background: var(--bg); z-index: 50; pointer-events: none;
}
#view {
  max-width: 680px; margin: 0 auto; outline: none;
  padding: calc(var(--haut) + 20px) 16px calc(var(--barre) + var(--bas) + 28px);
}
h1 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 .4rem; }
h2 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 .8rem; }
p { margin: 0 0 .6rem; }
svg { width: 24px; height: 24px; flex: none; }

/* --- Blocs --- */
.entete { margin-bottom: 16px; }
.chapo { color: var(--doux); font-size: 1.05rem; }
.carte {
  background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon);
  box-shadow: var(--ombre); padding: 16px; margin: 0 0 14px;
}
.rassurance, .avertissement { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.rassurance { background: var(--principal-pale); border-color: transparent; color: var(--texte); }
.rassurance svg { color: var(--principal); }
.avertissement { background: var(--orange-pale); border-color: transparent; }
.avertissement svg { color: var(--orange); }
.compteur { font-weight: 600; color: var(--principal); margin: 18px 4px 10px; }
.note { color: var(--doux); text-align: center; font-size: .95rem; margin-top: 8px; }

/* --- Questionnaire --- */
.choix { display: flex; flex-direction: column; gap: 8px; }
.ligne-choix {
  display: flex; align-items: center; gap: 14px; min-height: 60px;
  padding: 10px 12px; border: 1.5px solid var(--bord); border-radius: 12px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.ligne-choix .libelle { flex: 1; font-size: 1.05rem; }
.ligne-choix.coche { border-color: var(--principal); background: var(--principal-pale); }
.case {
  appearance: none; -webkit-appearance: none; flex: none; margin: 0;
  width: 30px; height: 30px; border: 2px solid var(--doux); border-radius: 8px; background: var(--carte);
  display: grid; place-content: center; cursor: pointer;
}
.case::after {
  content: ""; width: 16px; height: 9px; border: solid var(--sur-principal); border-width: 0 0 3px 3px;
  transform: rotate(-45deg) translate(1px, -2px); opacity: 0;
}
.case:checked { background: var(--principal); border-color: var(--principal); }
.case:checked::after { opacity: 1; }
.case:focus-visible { outline: 3px solid var(--principal); outline-offset: 2px; }

.logo {
  width: 42px; height: 42px; flex: none; border-radius: 10px; overflow: hidden;
  display: grid; place-content: center; background: #fff; border: 1px solid var(--bord);
}
.logo img { width: 34px; height: 34px; object-fit: contain; }
.logo.initiales { font-weight: 700; font-size: .95rem; letter-spacing: .02em; color: #fff; border: none; }
.teinte-0 { background: #3E6EA8; } .teinte-1 { background: #3D8A6B; } .teinte-2 { background: #8A5A9E; }
.teinte-3 { background: #B0683A; } .teinte-4 { background: #4C7F95; } .teinte-5 { background: #6E7A3B; } .teinte-6 { background: #9E4A5A; }

.aide { background: transparent; box-shadow: none; border-style: dashed; }
.aide p { color: var(--doux); }

/* --- Mes alertes --- */
.pastille {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 10px; border-radius: 999px;
  font-size: .9rem; font-weight: 700;
}
.pastille::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.pastille.g-urgent { color: var(--rouge); background: var(--rouge-pale); }
.pastille.g-a_planifier { color: var(--orange); background: var(--orange-pale); }
.pastille.g-info { color: var(--vert); background: var(--vert-pale); }
.groupe { margin-top: 20px; }
.groupe h2, .groupe summary { font-size: 1.05rem; color: var(--doux); margin: 0 4px 10px; }
.groupe summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.fiche-ligne {
  display: block; text-decoration: none; color: inherit; border-left-width: 6px; padding: 14px 16px;
}
.fiche-ligne.g-urgent { border-left-color: var(--rouge); }
.fiche-ligne.g-a_planifier { border-left-color: var(--orange); }
.fiche-ligne.g-info { border-left-color: var(--vert); }
.fiche-ligne:active { background: var(--principal-pale); }
.fiche-ligne.faite { opacity: .75; }
.fiche-haut { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.fiche-titre { font-size: 1.1rem; font-weight: 600; line-height: 1.35; margin: 0 0 4px; }
.fiche-meta { color: var(--doux); font-size: .95rem; margin: 0; }
.badge-fait, .badge-alerte, .badge-maj {
  display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 700; padding: 2px 10px; border-radius: 999px;
}
.badge-fait { color: var(--vert); border: 1.5px solid var(--vert); }
.badge-fait svg { width: 16px; height: 16px; }
.badge-alerte { color: var(--rouge); border: 1.5px solid var(--rouge); }
.badge-maj { color: var(--doux); border: 1.5px solid var(--bord); }
.resume-urgent { background: var(--rouge-pale); border-color: transparent; color: var(--rouge); text-align: center; }
.tout-bon { display: flex; gap: 12px; align-items: center; background: var(--vert-pale); border-color: transparent; }
.tout-bon svg { color: var(--vert); width: 32px; height: 32px; }
.lien-parc { text-decoration: none; align-items: center; }
.lien-parc-texte { flex: 1; display: flex; flex-direction: column; }
.lien-parc-texte strong { color: var(--principal); }
.lien-parc-texte small { color: var(--doux); font-size: .95rem; }
.lien-parc > svg:last-child { color: var(--principal); }
.depart div p { margin: 0 0 6px; }
.lien-historique { color: var(--principal); font-weight: 600; }
.lien-maj { background: none; border: none; color: var(--principal); font: inherit; font-weight: 600; text-decoration: underline; padding: 8px 4px; cursor: pointer; }

/* --- Bilan --- */
.mois { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 14px; }
.mois h2 { margin: 0; font-size: 1.25rem; text-transform: capitalize; }
.mois-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--bord); background: var(--carte);
  color: var(--principal); display: grid; place-content: center; cursor: pointer;
}
.mois-btn.suivant svg { transform: scaleX(-1); }
.mois-btn:disabled { opacity: .35; cursor: default; }
.tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.tuile {
  background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre);
  padding: 14px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px;
}
.tuile strong { font-size: 1.9rem; line-height: 1.1; color: var(--principal); }
.tuile.vert strong { color: var(--vert); }
.tuile span { color: var(--doux); font-size: .9rem; }

/* --- Réglages --- */
.reglage h2 { color: var(--doux); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.ligne-reglage { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-size: 1.05rem; cursor: pointer; }
.lien-ligne { color: var(--texte); text-decoration: none; }
.lien-ligne svg { color: var(--principal); }
.aide-reglage { color: var(--doux); font-size: .95rem; margin-top: 8px; }
.interrupteur {
  appearance: none; -webkit-appearance: none; flex: none; margin: 0; position: relative; cursor: pointer;
  width: 56px; height: 32px; border-radius: 999px; background: var(--bord); transition: background .2s;
}
.interrupteur::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s;
}
.interrupteur:checked { background: var(--principal); }
.interrupteur:checked::after { transform: translateX(24px); }
.interrupteur:focus-visible { outline: 3px solid var(--principal); outline-offset: 2px; }
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--bg); padding: 4px; border-radius: 12px; }
.segment {
  min-height: 48px; border: none; border-radius: 9px; background: none; color: var(--texte);
  font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; padding: 6px;
}
.segment[aria-checked="true"] { background: var(--carte); color: var(--principal); box-shadow: var(--ombre); outline: 1.5px solid var(--principal); }
.confidentialite { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.confidentialite svg { color: var(--principal); }
.liste-garanties { margin: 4px 0 16px; padding-left: 22px; color: var(--doux); }
.liste-garanties li { margin-bottom: 6px; }
.diag { color: var(--doux); font-size: .75rem; opacity: .8; margin: 6px 0 0; word-break: break-word; }
.lien-diag { background: none; border: none; padding: 4px 0; color: var(--doux); font: inherit; font-size: .75rem; text-decoration: underline; }
.btn.danger { width: 100%; border-color: var(--rouge); color: var(--rouge); }

/* --- Détail d'une fiche --- */
.retour {
  display: inline-flex; align-items: center; gap: 4px; background: none; border: none; color: var(--principal);
  font: inherit; font-weight: 600; padding: 8px 4px 8px 0; margin-bottom: 8px; cursor: pointer;
}
.fiche-entete h1 { font-size: 1.55rem; }
.attention-rouge { display: flex; gap: 12px; align-items: center; background: var(--rouge-pale); border-color: transparent; color: var(--rouge); font-weight: 600; }
.bloc + .bloc { border-top: 1px solid var(--bord); padding-top: 14px; margin-top: 14px; }
.bloc h2 { font-size: 1rem; color: var(--doux); margin-bottom: 4px; }
.bloc p { margin: 0; font-size: 1.05rem; }
.bloc.action p { font-weight: 600; }
.actions-fiche { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.fait-confirme { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--vert-pale); color: var(--vert); border-radius: 12px; padding: 12px 16px; font-weight: 700; }
.fait-confirme p { display: flex; align-items: center; gap: 8px; margin: 0; }
.lien { background: none; border: none; color: var(--doux); font: inherit; text-decoration: underline; cursor: pointer; }
.lien-officiel { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--principal); font-weight: 600; text-align: center; padding: 8px; }

/* --- Abonnement --- */
.invitation-abo { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; border: 1.5px solid var(--principal); }
.invitation-abo > svg { color: var(--principal); }
.abo-entete { text-align: center; }
.abo-icone svg { width: 56px; height: 56px; color: var(--principal); }
.abo-points { list-style: none; padding: 0; margin: 0 0 18px; }
.abo-points li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 1.05rem; }
.abo-points svg { color: var(--vert); margin-top: 2px; }
.zone-abo { display: flex; flex-direction: column; gap: 12px; }
.offres { display: grid; gap: 10px; }
.offre {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; text-align: left;
  min-height: 64px; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--bord); background: var(--carte);
  color: var(--texte); font: inherit; cursor: pointer;
}
.offre[aria-pressed="true"] { border-color: var(--principal); background: var(--principal-pale); }
.offre-nom { font-weight: 700; }
.offre-prix { font-weight: 600; }
.offre-badge { width: 100%; color: var(--vert); font-size: .9rem; font-weight: 700; }
/* Bouton « S'abonner » collé en bas de l'écran, au-dessus du menu */
.abo-action {
  position: sticky; bottom: calc(var(--barre) + var(--bas) + 8px); z-index: 5;
  display: flex; flex-direction: column; gap: 8px; padding: 10px 0 4px; background: var(--bg);
}
.abo-action .note { margin: 0; font-size: .9rem; }
.mentions { color: var(--doux); font-size: .85rem; }
.mentions a { color: var(--principal); }

/* --- Boutons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 20px; border-radius: 12px; border: 1.5px solid var(--principal);
  background: var(--carte); color: var(--principal); font: inherit; font-weight: 600; cursor: pointer;
}
.btn.principal { background: var(--principal); color: var(--sur-principal); width: 100%; }
.btn.principal:active { background: var(--principal-fonce); }
.btn.secondaire { width: 100%; }
a.btn { text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--principal); outline-offset: 2px; }
.barre-action {
  position: sticky; bottom: calc(var(--barre) + var(--bas) + 10px); margin-top: 18px;
}
.barre-action .btn { box-shadow: 0 4px 16px rgba(22, 32, 43, .18); }

/* --- États --- */
.etat { text-align: center; padding: 48px 16px; color: var(--doux); }
.etat svg { width: 48px; height: 48px; color: var(--principal); margin-bottom: 12px; }
.etat-titre { font-size: 1.15rem; font-weight: 600; color: var(--texte); }
.etat .btn { margin-top: 12px; }
.roue {
  display: inline-block; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%;
  border: 3px solid var(--bord); border-top-color: var(--principal); animation: tourne .9s linear infinite;
}
@keyframes tourne { to { transform: rotate(360deg); } }

/* --- Menu du bas --- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; justify-content: space-around; background: var(--carte); border-top: 1px solid var(--bord);
  padding: 6px 4px calc(6px + var(--bas)); height: calc(var(--barre) + var(--bas));
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--doux); text-decoration: none; font-size: .8rem; font-weight: 500; border-radius: 10px;
}
.tabbar a[aria-current="page"] { color: var(--principal); font-weight: 700; }
.tabbar svg { width: 26px; height: 26px; }

/* --- Bandeau temporaire --- */
.bandeau {
  position: fixed; left: 16px; right: 16px; bottom: calc(var(--barre) + var(--bas) + 12px); z-index: 20;
  max-width: 640px; margin: 0 auto; display: flex; gap: 12px; align-items: center; justify-content: space-between;
  background: var(--texte); color: var(--bg); padding: 14px 16px; border-radius: 12px; font-size: 1rem;
}
.bandeau-btn { background: none; border: none; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; }
.bandeau-texte { flex: 1; }
.bandeau.urgent { background: var(--rouge); color: #fff; font-weight: 600; }
.bandeau-fermer { background: none; border: none; color: inherit; font-size: 1.6rem; line-height: 1; padding: 0 4px; min-width: 44px; min-height: 44px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation-duration: .01ms !important; } }

/* --- Titre d'écran avec bouton d'aide « ? » --- */
/* Bande bleue pleine largeur (même dégradé que le site), sous la barre d'état du téléphone */
.titre-ligne {
  display: flex; align-items: center; gap: 12px;
  margin: 0 -16px 16px; padding: 12px 16px;
  background: linear-gradient(180deg, #1D5AA5 0%, #10346B 100%); color: #fff;
}
/* Premier élément de l'écran : la bande remonte jusqu'en haut (on annule la marge haute de l'écran) */
#view > .entete:first-child > .titre-ligne:first-child { margin-top: -20px; }
.titre-logo { width: 36px; height: 36px; border-radius: 9px; flex: none; display: block; }
.titre-ligne h1 { flex: 1; min-width: 0; margin: 0; font-size: 1.4rem; color: #fff; }
.btn-aide {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff; text-decoration: none;
}
.btn-aide svg { width: 26px; height: 26px; }
.btn-aide:active { background: rgba(255,255,255,.18); }

/* --- Écran d'aide --- */
.rubrique-aide h2 { margin-top: 0; }
.question-aide { border-top: 1px solid var(--bord); }
.question-aide:first-of-type { border-top: none; }
.question-aide summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.question-aide p { margin: 0 0 14px; color: var(--doux); }
.rubrique-aide .btn { display: inline-flex; text-decoration: none; }

/* --- Titre d'alerte flouté (sans abonnement) --- */
.texte-floute { filter: blur(5px); user-select: none; -webkit-user-select: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Aide : rubrique À propos --- */
.apropos { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.apropos dt { color: var(--doux); }
.apropos dd { margin: 0; font-weight: 600; }

/* --- Message « pas de notification sans abonnement » dans les écrans sans alerte --- */
.sans-notif { margin: 10px 0 0; font-size: .95rem; color: var(--doux); }
.sans-notif a { color: var(--principal); font-weight: 600; }

/* Bande bleue : titre toujours aligné à gauche, « Retour » à gauche sous la bande */
.abo-entete .titre-ligne { text-align: left; }
.abo-entete > .retour { display: flex; margin-right: auto; }
/* Fiche : le titre de l'alerte est long, on le réduit un peu dans la bande */
.fiche-entete .titre-ligne h1 { font-size: 1.2rem; line-height: 1.3; }

/* --- Version PC : grand écran (à partir de 900 px de large) ---
   Le menu du bas devient un menu fixe à gauche, avec le logo ; le contenu s'élargit. */
.tabbar-marque { display: none; }
@media (min-width: 900px) {
  :root { --menu: 240px; }
  .tabbar {
    top: 0; right: auto; width: var(--menu); height: auto;
    flex-direction: column; justify-content: flex-start; gap: 4px;
    border-top: none; border-right: 1px solid var(--bord); padding: 16px 12px;
  }
  .tabbar-marque {
    display: flex; align-items: center; gap: 10px; padding: 4px 8px 20px;
    font-weight: 700; font-size: 1.15rem; color: var(--texte);
  }
  .tabbar-marque img { border-radius: 10px; }
  .tabbar a {
    flex: none; flex-direction: row; justify-content: flex-start; gap: 12px;
    padding: 12px; font-size: 1rem;
  }
  .tabbar a:hover { background: var(--principal-pale); }
  .tabbar a[aria-current="page"] { background: var(--principal-pale); }
  #view {
    max-width: 920px; margin-left: calc(var(--menu) + max(0px, (100vw - var(--menu) - 920px) / 2));
    padding: 20px 32px 48px;
  }
  .titre-ligne { margin-left: -32px; margin-right: -32px; padding-left: 32px; padding-right: 32px; }
  .titre-logo { display: none; }   /* le logo est déjà dans le menu de gauche */
  .bandeau { left: calc(var(--menu) + 24px); right: 24px; bottom: 24px; }
}


/* --- Version ordinateur : activation (QR code), activer un ordinateur, vos ordinateurs --- */
body.sans-menu .tabbar { display: none; }
body.sans-menu #view { margin-left: auto; padding-bottom: 32px; }
body.sans-menu .titre-logo { display: block; }   /* pas de menu à gauche : le logo revient dans la bande */
.pc-activation { display: grid; gap: 20px; align-items: center; }
.pc-etapes ol, .pc-etapes-liste { margin: 0 0 8px; padding-left: 1.3em; display: grid; gap: 10px; }
.pc-qr-bloc { text-align: center; }
.pc-qr { min-height: 264px; display: flex; align-items: center; justify-content: center; }
.pc-qr img { width: 264px; height: 264px; image-rendering: pixelated; border-radius: 12px; background: #fff; }
.pc-code { font: 700 1.6rem/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .12em; margin: 12px 0 4px; color: var(--texte); }
.pc-reste { margin-top: 0; }
.pc-erreur .btn { margin-top: 8px; }
.attention-orange { background: var(--orange-pale); color: var(--orange); font-weight: 600; }
.pc-confirmation { text-align: center; display: grid; gap: 10px; }
.pc-icone svg { width: 56px; height: 56px; color: var(--principal); }
.pc-question { font-size: 1.3rem; font-weight: 700; margin: 0; }
.champ-code {
  width: 100%; font: 700 1.5rem/1.2 ui-monospace, Consolas, monospace; letter-spacing: .12em; text-align: center; text-transform: uppercase;
  padding: 14px; margin: 8px 0; border: 2px solid var(--bord); border-radius: 12px; background: var(--carte); color: var(--texte);
}
.champ-code:focus { outline: none; border-color: var(--principal); }
.erreur-champ { color: var(--rouge); font-weight: 600; }
.pc-liste { list-style: none; margin: 0 0 12px; padding: 0; }
.pc-ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bord); }
.pc-ligne:last-child { border-bottom: none; }
.pc-ligne-texte { display: grid; gap: 2px; min-width: 0; }
.pc-ligne-texte .aide-reglage { margin: 0; }
.btn.danger-petit { border-color: var(--rouge); color: var(--rouge); flex: none; }
@media (min-width: 900px) {
  .pc-activation { grid-template-columns: 1fr auto; }
}
