/* ch.709 — Téléphonie : modal « Réglages de la téléphonie » (⚙️), bandeau rouge « sans annonce », lecteur ⊕ code entendu. Charte claire (R119) : actif #34D399 / texte #0F172A,
   rouge SEULEMENT pour l'avertissement légal et le bandeau ; grilles par CLASSE (R120) ; ⛔ aucune variable CSS ; ⛔ aucun bouton sombre. */
.rt709-ov { position: fixed; inset: 0; z-index: 9400; background: rgba(15, 23, 42, .45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.rt709-boite { background: #FFFFFF; border-radius: 16px; width: min(860px, 96vw); max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(15, 23, 42, .28); }
.rt709-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #E2E8F0; flex-shrink: 0; }
.rt709-tete h2 { margin: 0; font-size: 17px; font-weight: 800; color: #0F172A; }
.rt709-x { min-width: 44px; min-height: 44px; border: none; border-radius: 10px; background: #F1F5F9; color: #0F172A; font-size: 22px; cursor: pointer; }
.rt709-corps { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 14px 18px; }
.rt709-pied { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid #E2E8F0; background: #F8FAFC; flex-shrink: 0; }
.rt709-vide { padding: 30px; text-align: center; color: #94A3B8; font-size: 13px; }
.rt709-groupe { margin-bottom: 14px; }
.rt709-groupe h3 { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #64748B; }
.rt709-ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid #E2E8F0; border-radius: 12px; margin-bottom: 6px; background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05), inset 0 1px 0 #FFFFFF; }
.rt709-ligne.legal { border-left: 4px solid #F59E0B; }
.rt709-titre { font-size: 14px; font-weight: 700; color: #0F172A; }
.rt709-expl { font-size: 12.5px; color: #475569; margin-top: 2px; line-height: 1.45; }
.rt709-meta { font-size: 11.5px; color: #64748B; margin-top: 3px; line-height: 1.45; }
.rt709-inter { position: relative; width: 52px; height: 30px; min-height: 30px; border-radius: 999px; border: 1px solid #CBD5E1; background: #E2E8F0; cursor: pointer; padding: 0; flex-shrink: 0; }
.rt709-inter span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(15, 23, 42, .25); transition: left .15s; }
.rt709-inter.on { background: #34D399; border-color: #10B981; } .rt709-inter.on span { left: 25px; }
.rt709-inter:disabled { opacity: .5; cursor: not-allowed; }
.rt709-inter::after { content: ''; position: absolute; inset: -8px; }   /* zone tactile ≥ 44 px */
.rt709-case { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 700; color: #0F172A; white-space: nowrap; }
.rt709-case input { width: 22px; height: 22px; accent-color: #34D399; }
.rt709-rouge { border: 2px solid #DC2626; background: #FEF2F2; color: #7F1D1D; border-radius: 12px; padding: 12px 14px; margin: 8px 0 12px; font-size: 13px; line-height: 1.5; }
.rt709-rouge b { color: #991B1B; } .rt709-rouge ul { margin: 6px 0; padding-left: 18px; }
.rt709-grille2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin: 8px 0; }
.rt709-lab { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #7F1D1D; margin: 6px 0 4px; }
.rt709-radio { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 13px; color: #0F172A; }
.rt709-radio input { width: 20px; height: 20px; accent-color: #DC2626; }
.rt709-champ { width: 100%; box-sizing: border-box; min-height: 44px; border: 1px solid #FCA5A5; border-radius: 10px; padding: 0 12px; font-size: 14px; font-family: inherit; background: #FFFFFF; color: #0F172A; }
.rt709-boutons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.rt709-btn { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid #CBD5E1; background: #FFFFFF; color: #0F172A; font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit; }
.rt709-btn.prim { background: #34D399; border-color: #34D399; color: #0F172A; }
.rt709-btn.rouge { background: #DC2626; border-color: #DC2626; color: #FFFFFF; }
.rt709-msg { flex: 1; font-size: 12.5px; } .rt709-msg.ok { color: #047857; } .rt709-msg.ko { color: #B91C1C; }
/* bandeau rouge sur le poste et la console (tant que la dérogation est active) */
.cc709-bandeau { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #DC2626; color: #FFFFFF; border-radius: 12px; padding: 10px 14px; margin: 0 0 10px; font-size: 13.5px; font-weight: 800;
  box-shadow: 0 6px 18px rgba(220, 38, 38, .35); }
.cc709-bandeau span { font-weight: 600; font-size: 12.5px; opacity: .95; }
.cc709-bandeau button { margin-left: auto; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid #FFFFFF; background: #FFFFFF; color: #991B1B; font-weight: 800; cursor: pointer; font-family: inherit; }
/* lecteur ⊕ code entendu (fenêtre « Transcription et enregistrement ») */
.tr709-code { border: 2px solid #34D399; background: #ECFDF5; border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.tr709-code .valeur { font-size: 30px; font-weight: 900; letter-spacing: .14em; color: #0F172A; font-family: ui-monospace, Menlo, Consolas, monospace; word-break: break-all; }
.tr709-code .note { font-size: 12px; color: #92400E; }
.tr709-boutons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tr709-boutons button { min-height: 44px; min-width: 56px; border-radius: 10px; border: 1px solid #E2E8F0; background: #FFFFFF; color: #0F172A; font-weight: 700; cursor: pointer; font-family: inherit; }
.tr709-boutons button.on { background: #34D399; border-color: #34D399; }
@media (max-width: 760px) {
  .rt709-ov { padding: 0; } .rt709-boite { width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; }
  .rt709-grille2 { grid-template-columns: minmax(0, 1fr); }
  .rt709-ligne { grid-template-columns: minmax(0, 1fr) auto; }
  .tr709-code .valeur { font-size: 24px; }
}
