/* CARTO RGPH-4 — feuille de style commune */
:root {
  --fond: #f4f6f9; --panneau: #ffffff; --texte: #1c2433; --doux: #5d6778; --bord: #e1e5ec;
  --accent: #1f5fae; --accent-fonce: #12407a; --erreur: #b3261e; --ok: #1e7b46;
  --rayon: 10px; --ombre: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--fond); color: var(--texte); font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--accent); }
h1, h2 { margin: 0; }
h2 { font-size: 16px; }

/* Barre de navigation — même dessin que le RGA (bleu #0b3d91, 42 px, Déconnexion en rouge) */
.navbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1200; height: 42px; display: flex; align-items: center; gap: 2px;
  padding: 0 14px; background: var(--accent); color: #fff; overflow-x: auto; }
.navbar .brand { display: flex; flex-direction: column; justify-content: center; line-height: 1.05; margin-right: 16px;
  white-space: nowrap; color: #fff; text-decoration: none; }
.navbar .brand-titre { font-weight: 800; font-size: 15px; }
.navbar .brand-titre span { font-weight: 700; color: #9fc0ff; font-size: 12px; margin-left: 3px; }
.navbar .brand small { font-size: 9px; font-weight: 600; color: #9fc0ff; letter-spacing: .4px; margin-top: 1px; }
.menu { display: flex; gap: 2px; }
.menu a { color: #cfe0ff; text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 6px 11px; border-radius: 6px; white-space: nowrap; }
.menu a:hover { background: rgba(255,255,255,.12); color: #fff; }
.menu a.actif { background: rgba(255,255,255,.18); color: #fff; }
.navbar .sp { flex: 1; }
.navbar .qui { color: #cfe0ff; font-size: 12px; font-style: italic; margin-right: 12px; white-space: nowrap; }
.navbar .logout { background: #c62828; color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 6px; white-space: nowrap; }
.navbar .logout:hover { background: #a81e1e; }
.bandeau-demo { background: var(--erreur); color: #fff; text-align: center; font-weight: 700; padding: 8px 16px; }

/* Carte plein écran (page d'accueil) — barre d'outils comme la barre de recherche du RGA */
/* Pages carte : colonne pleine hauteur (barre de menu, barre d'outils, carte qui prend le reste). La barre
   d'outils passe à la ligne au lieu d'écraser ses champs quand l'écran est étroit. */
body[data-page="carte"], body[data-page="batiments"] { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
body[data-page="carte"] .contenu, body[data-page="batiments"] .contenu { max-width: none; padding: 0; margin: 0; flex: 1; min-height: 0;
  display: flex; flex-direction: column; }
body[data-page="carte"] .titre-page, body[data-page="carte"] .pied,
body[data-page="batiments"] .titre-page, body[data-page="batiments"] .pied { display: none; }
.barre-outils { position: relative; z-index: 1100; flex: none; min-height: 48px; display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 8px; padding: 6px 14px; background: #fff; border-bottom: 1px solid #dbe1ec; box-shadow: 0 2px 7px rgba(0,0,0,.1); }
.barre-outils > * { flex-shrink: 0; }
.barre-outils input:not([type]), .barre-outils input[type="text"] { padding: 7px 10px; border: 1px solid #d0d7e2; border-radius: 8px; width: 190px; font-size: 14px; }
.barre-outils input:focus, .barre-outils select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(11,61,145,.2); }
.barre-outils button { padding: 6px 13px; border: 1px solid #bfd3fb; border-radius: 8px; background: #fff; color: #1d4ed8; font-weight: 600;
  box-shadow: 0 1px 2px rgba(16,24,40,.06); cursor: pointer; }
.barre-outils button:hover:not(:disabled) { background: #2563eb; border-color: #2563eb; color: #fff; }
.barre-outils button:disabled { border-color: #e4e7ec; color: #a0a6b1; background: #f6f7f9; box-shadow: none; cursor: not-allowed; }
.barre-outils button.discret { border-color: #c3cad6; color: #475467; }
.barre-outils button[aria-pressed="true"] { background: #2563eb; border-color: #2563eb; color: #fff; }
.barre-outils .zdinfo, .barre-outils .recap, .barre-outils .msg { flex-shrink: 1; white-space: normal; }
.barre-outils .reglage { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #344054; }
.barre-outils .reglage input[type="range"] { width: 88px; }
.barre-outils .reglage select { padding: 5px 6px; border: 1px solid #d0d7e2; border-radius: 8px; font-size: 13px; background: #fff; }
.barre-outils .reglage.inactif { opacity: .45; }
#carte-pleine { flex: 1; min-height: 320px; }
.msg { font-size: 13px; color: #556; } .msg.err { color: #c00; }
.zdinfo { font-size: 13px; color: var(--accent); font-weight: 600; }
.zdinfo .lz { background: var(--accent); color: #fff; border-radius: 6px; padding: 2px 7px; margin-right: 6px; }
.zdinfo .chef { background: #0a7d34; color: #fff; border-radius: 6px; padding: 2px 7px; margin-right: 6px; }
.zdinfo .sep, .recap .sep { color: #99a; font-weight: 400; margin: 0 5px; }
.recap { font-size: 13px; font-weight: 700; }
.recap .g { color: #00a000; } .recap .r { color: #d00; } .recap .o { color: #e67e00; } .recap .b { color: var(--accent); } .recap .n { color: #6a6a6a; font-weight: 600; }
.etiquette-ordre { background: rgba(255,255,255,.72); border: 0 !important; box-shadow: none !important; padding: 0 2px; font: 700 10px system-ui, sans-serif; color: #10233f; }
.etiquette-ordre::before { display: none !important; }
.leaflet-popup-content b { color: var(--accent); }
.popup-ligne { margin: 2px 0; }

/* Récapitulatif compact (pages Avancement…) : une ligne de texte, comme le RGA, au lieu de grosses cartes */
.recap-ligne { background: #fff; border: 1px solid var(--bord); border-radius: 8px; padding: 9px 14px; margin-bottom: 12px; font-size: 13.5px; line-height: 1.7; }
.recap-ligne b { font-variant-numeric: tabular-nums; }
.recap-ligne .sep { color: #99a; margin: 0 6px; }
.pastille { display: inline-block; padding: 1px 8px; border-radius: 6px; font-weight: 700; font-size: 12.5px; color: #fff; background: #9aa0a6; }
.pastille.vert { background: #0a7d34; } .pastille.rouge { background: #c62828; } .pastille.gris { background: #7a8290; }
.mini-barre { display: inline-block; width: 70px; height: 7px; background: #e6e9ef; border-radius: 4px; overflow: hidden; vertical-align: middle; margin-left: 6px; }
.mini-barre i { display: block; height: 100%; background: #0a7d34; }

.contenu { max-width: 1480px; margin: 0 auto; padding: 18px 16px 40px; }
.titre-page { font-size: 22px; margin-bottom: 14px; }
.pied { text-align: center; color: var(--doux); font-size: 12px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
.aide { color: var(--doux); font-size: 13px; margin: 10px 2px 0; }

/* Panneaux, filtres, boutons */
.panneau { background: var(--panneau); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 16px; margin-bottom: 16px; }
.panneau-tete { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.barre-filtres { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; background: var(--panneau); border: 1px solid var(--bord);
  border-radius: var(--rayon); padding: 12px 14px; margin-bottom: 14px; box-shadow: var(--ombre); }
.barre-filtres label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--doux); }
.barre-filtres label.case, label.case { flex-direction: row; align-items: center; gap: 6px; font-size: 14px; color: var(--texte); }
select, input { font: inherit; padding: 7px 9px; border: 1px solid #cdd3dd; border-radius: 7px; background: #fff; color: var(--texte); min-width: 0; }
select { max-width: 260px; }
select:disabled { background: #f1f3f6; color: #9aa2ae; }
.bouton, button { font: inherit; cursor: pointer; border: 1px solid var(--accent); background: var(--accent); color: #fff; border-radius: 7px;
  padding: 7px 12px; text-decoration: none; display: inline-block; }
.bouton:hover, button:hover { background: var(--accent-fonce); }
.bouton.discret { background: #fff; color: var(--accent); }
.bouton.inactif { opacity: .45; pointer-events: none; }
.bouton.danger { background: #fff; color: var(--erreur); border-color: var(--erreur); }
.barre-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 10px; }
.espace { flex: 1; }
.compte { color: var(--doux); }
.puce { display: inline-flex; gap: 6px; align-items: center; background: #e8f0fb; color: var(--accent-fonce); border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.puce button { padding: 0 6px; background: none; border: none; color: inherit; font-size: 15px; }

/* Indicateurs */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--panneau); border: 1px solid var(--bord); border-left: 5px solid var(--c, var(--accent)); border-radius: var(--rayon); padding: 12px 14px; box-shadow: var(--ombre); }
.kpi-titre { font-size: 12px; color: var(--doux); text-transform: uppercase; letter-spacing: .3px; }
.kpi-valeur { font-size: 26px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kpi-sous { font-size: 12px; color: var(--doux); }

/* Barres d'avancement par statut */
.barre-statuts { display: flex; height: 12px; width: 100%; min-width: 120px; border-radius: 6px; overflow: hidden; background: #edf0f4; }
.barre-statuts span { display: block; height: 100%; }
.repartition { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--doux); }
.repartition i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* Tableaux */
.defile { overflow-x: auto; border-radius: var(--rayon); }
.table { width: 100%; border-collapse: collapse; background: var(--panneau); font-variant-numeric: tabular-nums; }
.table th, .table td { padding: 8px 10px; border-bottom: 1px solid var(--bord); text-align: left; white-space: nowrap; }
.table th { position: sticky; top: 0; background: #f7f9fb; font-size: 12px; color: var(--doux); text-transform: uppercase; letter-spacing: .2px; }
.table th.tri { cursor: pointer; user-select: none; }
.table th.tri:hover { color: var(--accent); }
.table td.n, .table th.n { text-align: right; }
.table tbody tr:hover { background: #f5f9ff; }
.table tbody tr.cliquable { cursor: pointer; }
.table .lien { background: none; border: none; color: var(--accent); padding: 0; font-weight: 600; text-decoration: underline; }
.table-listing td:first-child { font-family: ui-monospace, Consolas, monospace; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 2px 9px 2px 7px; border-radius: 999px;
  background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); white-space: nowrap; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin-top: 12px; }
.pagination button[aria-current] { background: var(--accent-fonce); }
.vide { text-align: center; color: var(--doux); padding: 30px 10px; }

/* Carte */
.zone-carte { display: grid; grid-template-columns: 1fr 230px; gap: 12px; }
.carte { height: calc(100vh - 290px); min-height: 420px; border-radius: var(--rayon); border: 1px solid var(--bord); box-shadow: var(--ombre); z-index: 0; }
.legende { background: var(--panneau); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 12px; box-shadow: var(--ombre); font-size: 13px; }
.legende h3 { margin: 0 0 8px; font-size: 13px; }
.legende div { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.legende i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #fff; box-shadow: 0 0 0 1px #c9ced6; }
.legende b { margin-left: auto; font-variant-numeric: tabular-nums; }
.popup h4 { margin: 0 0 4px; font-family: ui-monospace, Consolas, monospace; }
.popup p { margin: 2px 0; }

/* Fiche pré-ZD */
.retour { display: inline-block; margin-bottom: 10px; }
.fiche-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.carte-fiche { height: 520px; min-height: 320px; }
.fiche section { background: var(--panneau); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 14px 16px; margin-bottom: 12px; box-shadow: var(--ombre); }
.fiche h2 { margin-bottom: 8px; }
.fiche .tete { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fiche .tete h2 { font-family: ui-monospace, Consolas, monospace; font-size: 22px; margin: 0; }
.infos { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.infos dt { color: var(--doux); }
.infos dd { margin: 0; }
.erreur { color: var(--erreur); }
.ok { color: var(--ok); }

/* Administration */
.form-ligne { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 12px; }
.form-ligne label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--doux); }
.mdp-genere { margin-top: 12px; padding: 12px; border: 1px dashed var(--accent); border-radius: var(--rayon); background: #f3f8ff; }
.mdp-genere code { font-size: 16px; user-select: all; }

/* Connexion */
.page-login { min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 24px 16px; background: #eef1f6; color: #101828; }
.connexion { width: min(400px, 100%); }
.connexion-entete { margin: 0 2px 14px; }
.connexion-entete .marque { font-size: 22px; font-weight: 700; color: var(--accent); line-height: 1.2; }
.connexion-entete .marque span { color: #475467; font-weight: 500; }
.connexion-entete .sous-titre { margin: 3px 0 0; color: #475467; font-size: 14px; }
.boite-login { background: #fff; border: 1px solid #d0d5dd; border-radius: 8px; padding: 22px 22px 20px; display: grid; gap: 6px; }
.boite-login h1 { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: #101828; }
.boite-login label { margin-top: 8px; font-size: 14px; font-weight: 600; color: #344054; }
.boite-login input { width: 100%; height: 44px; padding: 0 12px; font-size: 16px; color: #101828; background: #fff;
  border: 1px solid #98a2b3; border-radius: 6px; }
.boite-login input:focus { outline: 3px solid rgba(11,61,145,.25); outline-offset: 0; border-color: var(--accent); }
.champ-mdp { position: relative; }
.champ-mdp input { padding-right: 90px; }
.champ-mdp .voir { position: absolute; top: 6px; right: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 4px;
  background: transparent; color: var(--accent); font-size: 13px; font-weight: 600; cursor: pointer; }
.champ-mdp .voir:hover { background: #eef2fa; }
.champ-calcul { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.champ-calcul label { margin: 0; flex: 1; }
.champ-calcul input { width: 84px; flex: none; text-align: center; }
.boite-login .message { margin: 10px 0 0; padding: 9px 11px; border-radius: 6px; background: #fef3f2; border: 1px solid #fecdca;
  color: #b42318; font-size: 14px; line-height: 1.4; }
.boite-login .principal { margin-top: 14px; height: 44px; border: 0; border-radius: 6px; background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 600; cursor: pointer; }
.boite-login .principal:hover { background: var(--accent-fonce); }
.boite-login .principal:disabled { opacity: .75; cursor: wait; }
.boite-login .principal:focus-visible, .champ-mdp .voir:focus-visible { outline: 3px solid rgba(11,61,145,.35); outline-offset: 2px; }
.pied-connexion { margin: 12px 2px 0; font-size: 12.5px; color: #475467; }

/* Paramètres de l'opération : onglets et formulaires */
.intro { margin: -6px 2px 14px; }
.onglets { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--bord); margin-bottom: 14px; }
.onglet { background: none; color: var(--doux); border: none; border-bottom: 3px solid transparent; border-radius: 0; padding: 9px 14px; margin-bottom: -2px; }
.onglet:hover { background: none; color: var(--accent); }
.onglet[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.volet h2 { margin-bottom: 12px; }
.form-parametres { display: grid; gap: 14px; }
.groupe { border: 1px solid var(--bord); border-radius: var(--rayon); padding: 12px 14px 14px; margin: 0; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 18px; }
.groupe legend { font-weight: 600; padding: 0 6px; color: var(--accent-fonce); }
.champ { display: flex; flex-direction: column; gap: 5px; }
.champ .libelle { font-size: 13px; color: var(--doux); }
.champ select, .champ input:not([type=checkbox]):not([type=color]) { width: 100%; max-width: 100%; }
.aide-champ { color: var(--doux); font-size: 12px; }
.cases { display: flex; flex-wrap: wrap; gap: 6px 12px; padding-top: 4px; }
.plage { display: flex; align-items: center; gap: 8px; }
.plage input { width: auto !important; }
.grille-vocab { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px 12px; align-items: center; }
.grille-vocab .entete-col { font-size: 12px; color: var(--doux); text-transform: uppercase; }
.niveaux { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.niveaux li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.niveaux .rang { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 4px; }
.code-niveau { color: var(--doux); font-size: 12px; padding-bottom: 9px; }
.apercu-entete { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; color: #fff; padding: 12px 16px; border-radius: 8px; grid-column: 1 / -1; }
.apercu-entete .marque { font-size: 18px; }
.faux-menu { color: #dbe6f5; font-size: 13px; }
input[type=color] { width: 64px; height: 36px; padding: 2px; }
.message-form { margin: 0; color: var(--doux); }
.message-form.ok { color: var(--ok); }
.message-form.erreur { color: var(--erreur); }
.avertissement { margin: 0; padding: 8px 12px; border-radius: 8px; background: #fff4e5; color: #8a4b00; grid-column: 1 / -1; }

@media (max-width: 900px) {
  .grille-vocab { grid-template-columns: 1fr 1fr; }
  .grille-vocab .terme { grid-column: 1 / -1; font-weight: 600; margin-top: 6px; }
  .grille-vocab .entete-col:first-child { display: none; }
  .zone-carte, .fiche-grille { grid-template-columns: 1fr; }
  .carte { height: 60vh; }
  .moi { width: 100%; justify-content: flex-end; }
}

/* Bâti non piqué (scan du bâti) — panneau à gauche, carte à droite ; empilés sur petit écran */
body[data-page="carte"] .navbar, body[data-page="batiments"] .navbar { flex: none; }
.bandeau-info { flex: none; margin: 0; padding: 4px 14px; background: #fff8e1; border-bottom: 1px solid #f0e0a8; color: #7a5c00; font-size: 12.5px; }
.scan { flex: 1; min-height: 0; display: flex; }
.scan-panneau { width: 390px; flex: none; overflow-y: auto; background: #fff; border-right: 1px solid #dbe1ec; padding: 12px 14px 24px; }
.scan-panneau h2 { margin: 4px 0 2px; font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.scan-panneau .aide { margin-top: 4px; }
#carte-scan { flex: 1; min-width: 0; }
/* Chiffres : liste compacte « valeur libellé » sur deux colonnes (pas d'encadrés façon cartes KPI) */
.chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 14px; margin: 10px 0; padding: 8px 0;
  border-top: 1px solid #eef0f3; border-bottom: 1px solid #eef0f3; }
.chiffre { display: flex; align-items: baseline; gap: 6px; font-size: 13px; min-width: 0; }
.chiffre b { font-size: 14px; font-variant-numeric: tabular-nums; min-width: 3.5ch; text-align: right; flex: none; }
.chiffre span { color: #475467; }
/* Synthèse : une phrase, comme le RGA */
.reco { border-left: 4px solid #98a2b3; background: #f8fafc; border-radius: 6px; padding: 8px 12px; margin: 10px 0; }
.reco.vert { border-color: #1a7a30; } .reco.orange { border-color: #e65100; } .reco.rouge { border-color: #c62828; }
.reco-titre { display: block; font-size: 14.5px; line-height: 1.35; color: #344054; }
.reco p { margin: 4px 0 0; font-size: 12.5px; color: #475467; line-height: 1.45; }
.scan-section { border-top: 1px solid #eef0f3; padding: 6px 0; }
.scan-section summary { cursor: pointer; font-weight: 600; padding: 3px 0; }
.liste-scan { list-style: none; margin: 4px 0 0; padding: 0; max-height: 260px; overflow-y: auto; font-size: 13px; }
.liste-scan li { padding: 4px 6px; border-radius: 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.liste-scan li.cliquable { cursor: pointer; } .liste-scan li.cliquable:hover { background: #f0f5ff; }
i.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex: none; border: 1px solid rgba(0,0,0,.25); }
i.sw.rond { border-radius: 50%; }
.legende-scan { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 12.5px; color: #475467; }
.legende-scan span { display: inline-flex; align-items: center; gap: 5px; }
.table.compacte th, .table.compacte td { padding: 5px 7px; }
.table.compacte td i.sw { margin-right: 6px; vertical-align: -1px; }
button.lien.retour { background: none; border: none; color: var(--accent); font-weight: 600; padding: 0; cursor: pointer; }
@media (max-width: 820px) {
  body[data-page="batiments"] { height: auto; overflow: visible; }
  .scan { flex-direction: column; }
  .scan-panneau { width: auto; border-right: none; border-bottom: 1px solid #dbe1ec; max-height: none; }
  #carte-scan { height: 70vh; flex: none; }
}

/* Qualité GPS */
.seuils { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 12px; font-size: 13px; color: #344054; }
.seuils input { width: 64px; padding: 4px 6px; border: 1px solid #d0d7e2; border-radius: 6px; margin: 0 3px; }
.table td.alerte { color: #b42318; font-weight: 600; }
.table tbody tr.actif { background: #eaf2ff; }

/* Supervision */
.alertes { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.alertes li { padding: 5px 2px; border-bottom: 1px solid #f0f2f5; display: flex; align-items: center; gap: 6px; }
td.services { white-space: normal; }
.service { display: inline-flex; align-items: center; gap: 4px; margin: 0 10px 2px 0; font-size: 12.5px; }
.note-recaptcha { margin: 2px 0 4px; font-size: 12px; color: var(--doux); }
.note-recaptcha a { color: inherit; }
