/* Évaluation des AT — PEV RDC. Charte « Plateforme Performances PEV RDC » (Shiny) : indigo #1a237e → #0d47a1, or #ffd700. */
:root {
  color-scheme: light;
  --primary: #1a237e;
  --secondary: #0d47a1;
  --primary-2: #3949ab;
  --accent: #ffd700;
  --grad: linear-gradient(135deg, var(--primary), var(--secondary));
  --grad-h: linear-gradient(to right, var(--primary), var(--secondary));
  --grad-th: linear-gradient(135deg, #1a237e, #3949ab);
  --page: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8f9fa;
  --tint: #eef1fb;
  --tint-2: #dfe3fb;
  --hover-row: #e3f2fd;
  --bordure: #e4e7f2;
  --bordure-forte: #dee2e6;
  --ink: #1f2545;
  --ink-2: #4a5170;
  --ink-3: #7b819a;
  --good: #2ca02c; --good-texte: #1e7a1e; --good-fond: #e8f5e9;
  --warning: #e2a33b; --warning-texte: #8a5a00; --warning-fond: #fff6e0;
  --serious: #ff7f0e; --serious-texte: #9a4a00; --serious-fond: #fff0e3;
  --critical: #d62728; --critical-texte: #a11f1f; --critical-fond: #fdecec;
  --info: #1f77b4; --info-fond: #e3f2fd;
  --serie-1: #1a237e; --serie-2: #ff7f0e; --serie-3: #2ca02c; --serie-4: #e2a33b; --serie-5: #7b1fa2; --serie-6: #1f77b4;
  --rayon: 12px;
  --ombre: 0 4px 6px rgba(26, 35, 126, .08);
  --ombre-h: 0 6px 12px rgba(26, 35, 126, .15);
  --police: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* compatibilité */
  --bleu-pev: var(--primary); --bleu-pev-fonce: #121a5e; --accent-clair: var(--tint-2); --accent-fond: var(--tint);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 15px/1.5 var(--police); }
a { color: var(--secondary); }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête institutionnel (dégradé + liseré or) ---------- */
.entete { background: var(--grad); color: #fff; border-bottom: 3px solid var(--accent); box-shadow: 0 2px 4px rgba(0,0,0,.1); }
.entete-int { max-width: 1280px; margin: 0 auto; padding: 12px 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.pastille { background: #fff; border-radius: 10px; padding: 6px 12px; display: inline-flex; align-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.entete img { display: block; height: 42px; width: auto; max-width: 240px; object-fit: contain; }
.entete .logo-min { height: 50px; }
.entete-titre { text-align: center; text-shadow: 1px 1px 2px rgba(0,0,0,.3); }
.entete-titre .sur { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); font-weight: 600; }
.entete-titre h1 { font-size: clamp(17px, 2.2vw, 23px); color: #fff; font-weight: 700; letter-spacing: .3px; margin-top: 2px; }
.entete-titre .sous { font-size: 13.5px; color: rgba(255,255,255,.9); margin-top: 2px; }
.barre-nav { background: var(--primary); color: #fff; box-shadow: 0 2px 6px rgba(26,35,126,.25); position: sticky; top: 0; z-index: 30; }
.barre-nav-int { max-width: 1280px; margin: 0 auto; padding: 6px 16px; display: flex; align-items: center; gap: 4px; min-height: 50px; flex-wrap: wrap; }
.barre-nav a { color: #fff; text-decoration: none; padding: 8px 12px; font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; border-radius: 6px; transition: background .25s, color .25s; }
.barre-nav a:hover { background: rgba(255,255,255,.1); color: var(--accent); }
.barre-nav a[aria-current="page"] { background: rgba(255,255,255,.2); color: var(--accent); }
.barre-nav .espace { flex: 1; }
.compte { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.compte .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: 13px; letter-spacing: .02em; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.compte .nom { font-size: 13px; line-height: 1.2; font-weight: 600; }
.compte .nom small { display: block; color: rgba(255,255,255,.75); font-size: 11px; font-weight: 400; }
.compte button { background: transparent; border: 2px solid rgba(255,255,255,.75); color: #fff; border-radius: 20px; padding: 5px 12px; font-size: 12px; font-weight: 600; cursor: pointer; transition: .25s; }
.compte button:hover { background: rgba(255,255,255,.2); border-color: #fff; transform: translateY(-1px); }

/* ---------- Mise en page ---------- */
.page { max-width: 1280px; margin: 0 auto; padding: 26px 22px 64px; }
.page-etroite { max-width: 1020px; }
.carte { background: var(--surface); border: none; border-radius: var(--rayon); box-shadow: var(--ombre); transition: box-shadow .3s, transform .3s; }
.carte-corps { padding: 22px 24px; }
.section { margin-top: 24px; }
.section-titre { display: flex; align-items: center; gap: 14px; padding: 14px 22px; background: var(--grad-h); color: #fff; border-radius: var(--rayon) var(--rayon) 0 0; }
.section-titre .lettre { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.section-titre h2 { font-size: 16.5px; color: #fff; font-weight: 700; }
.section-titre h2 .badge { background: var(--accent); color: var(--primary); margin-left: 8px; vertical-align: middle; }
.section-titre p { color: rgba(255,255,255,.88); font-size: 13px; margin-top: 2px; }
.section-titre p .req { color: var(--accent) !important; }
.grille { display: grid; gap: 14px 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.champ label, .champ .lib { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.champ label .req, .req { color: var(--critical); }
.champ input, .champ select, .champ textarea { width: 100%; border: 2px solid var(--bordure-forte); border-radius: 6px; padding: 8px 12px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(26,35,126,.2); }
.champ input[readonly], .champ input:disabled, .champ select:disabled { background: var(--surface-2); color: var(--ink-2); cursor: not-allowed; }
.champ .aide { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.champ textarea { min-height: 84px; resize: vertical; }
.pleine { grid-column: 1 / -1; }
.bouton { display: inline-flex; align-items: center; gap: 8px; border: none; border-radius: 25px; padding: 11px 24px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; cursor: pointer; background: var(--grad); color: #fff; box-shadow: 0 4px 15px rgba(26,35,126,.3); transition: transform .3s, box-shadow .3s; text-decoration: none; }
.bouton:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(26,35,126,.4); color: #fff; }
.bouton:active { transform: translateY(0); }
.bouton:disabled { opacity: .6; cursor: wait; transform: none; }
.bouton-secondaire { background: #fff; color: var(--primary); border: 2px solid var(--primary); box-shadow: 0 2px 4px rgba(0,0,0,.1); }
.bouton-secondaire:hover { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(26,35,126,.3); }
.bouton-discret { background: transparent; color: var(--secondary); box-shadow: none; padding: 8px 12px; text-transform: none; letter-spacing: 0; font-size: 13.5px; }
.bouton-discret:hover { background: var(--tint); color: var(--primary); box-shadow: none; transform: none; }
.bouton-petit { padding: 8px 16px; font-size: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 20px; padding: 3px 11px; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.badge-bleu { background: var(--tint); color: var(--primary); }
.badge-good { background: var(--good-fond); color: var(--good-texte); }
.badge-warning { background: var(--warning-fond); color: var(--warning-texte); }
.badge-serious { background: var(--serious-fond); color: var(--serious-texte); }
.badge-critical { background: var(--critical-fond); color: var(--critical-texte); }
.note { background: var(--surface-2); border-left: 4px solid var(--primary); border-radius: 8px; padding: 12px 14px; font-size: 13.5px; color: #555; line-height: 1.5; }
.note strong { color: var(--primary); }
.alerte { border-radius: 8px; padding: 12px 14px; font-size: 13.5px; border-left: 4px solid; }
.alerte-erreur { background: var(--critical-fond); color: var(--critical-texte); border-color: var(--critical); }
.alerte-ok { background: var(--good-fond); color: var(--good-texte); border-color: var(--good); }
.alerte-warn { background: var(--warning-fond); color: var(--warning-texte); border-color: var(--warning); }

/* ---------- Connexion ---------- */
.connexion { max-width: 470px; margin: 40px auto; overflow: hidden; border-top: 5px solid var(--accent); }
.onglets { display: flex; background: var(--grad-h); }
.onglets button { flex: 1; background: none; border: 0; padding: 15px; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.75); border-bottom: 3px solid transparent; cursor: pointer; transition: .3s; }
.onglets button:hover { color: #fff; background: rgba(255,255,255,.08); }
.onglets button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); background: rgba(255,255,255,.15); }
.connexion .carte-corps { display: grid; gap: 14px; padding: 26px 28px; }
.connexion h2 { font-size: 20px; color: var(--primary); }
.connexion .intro { color: var(--ink-2); font-size: 14px; }
.connexion .bouton { justify-content: center; }

/* ---------- Tableau des indicateurs ---------- */
.indicateurs { width: 100%; border-collapse: separate; border-spacing: 0; }
.indicateurs th { text-align: left; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #fff; padding: 10px 12px; background: var(--grad-th); border-right: 1px solid rgba(255,255,255,.25); }
.indicateurs th:last-child { border-right: 0; }
.indicateurs td { padding: 12px; border-bottom: 1px solid var(--bordure); vertical-align: top; }
.indicateurs tbody tr:nth-child(even) td { background: var(--surface-2); }
.indicateurs tbody tr:hover td { background: var(--hover-row); }
.indicateurs tr:last-child td { border-bottom: 0; }
.indicateurs .id { font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.indicateurs .lib { font-size: 14px; color: var(--ink); }
.indicateurs .lib small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 3px; }
.indicateurs input[type="number"] { width: 104px; border: 2px solid var(--bordure-forte); border-radius: 6px; padding: 7px 10px; text-align: right; font-variant-numeric: tabular-nums; background: #fff; }
.indicateurs input[type="number"]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(26,35,126,.2); }
.indicateurs input:disabled { background: var(--surface-2); color: var(--ink-3); }
.indicateurs .cel-num { min-width: 124px; }
.indicateurs .sous-lib { display: block; font-size: 11px; color: var(--ink-3); margin-top: 4px; max-width: 150px; line-height: 1.3; }
.indicateurs .cel-na { text-align: center; white-space: nowrap; }
.indicateurs .ligne-na td { background: #f1f2f6 !important; }
.indicateurs .ligne-na .lib { color: var(--ink-3); }
.interrupteur { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--ink-2); user-select: none; }
.interrupteur input { position: absolute; opacity: 0; width: 0; height: 0; }
.interrupteur .piste { width: 40px; height: 22px; border-radius: 999px; background: #c5c9d6; position: relative; transition: background .2s; }
.interrupteur .piste::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.interrupteur input:checked + .piste { background: var(--serious); }
.interrupteur input:checked + .piste::after { left: 21px; }
.interrupteur input:focus-visible + .piste { box-shadow: 0 0 0 .2rem rgba(26,35,126,.2); }
.livrable { display: inline-flex; flex-direction: column; gap: 4px; }
.livrable .bouton-import { display: inline-flex; align-items: center; gap: 6px; border: 2px dashed var(--secondary); border-radius: 20px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--secondary); background: #fff; cursor: pointer; white-space: nowrap; transition: .3s; }
.livrable .bouton-import:hover { background: var(--tint); border-style: solid; transform: translateY(-1px); }
.livrable .fichier { font-size: 12px; color: var(--good-texte); font-weight: 600; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.livrable .fichier button { border: 0; background: none; color: var(--critical); cursor: pointer; padding: 0 4px; }
.livrable input[type="file"] { display: none; }
.justif-na { margin-top: 8px; }
.justif-na input { width: 100%; border: 2px solid var(--bordure-forte); border-radius: 6px; padding: 6px 10px; font-size: 13px; }
.auto-dhis2 { border-left: 5px solid var(--good); }
.auto-dhis2 .section-titre { background: linear-gradient(to right, #1b5e20, #2ca02c); border-radius: 0 var(--rayon) 0 0; }
.auto-dhis2 .lib { color: var(--ink-2); }
.valeur-auto { font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; font-size: 16px; }
.valeur-auto small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.msg-spec { margin: 14px 22px 0; }

/* ---------- Échelle de satisfaction ---------- */
.affirmations { display: grid; gap: 10px; }
.affirmation { display: grid; grid-template-columns: 1fr auto; gap: 12px 18px; align-items: center; padding: 14px 16px; border-left: 4px solid var(--primary); border-radius: 8px; background: var(--surface-2); transition: box-shadow .2s; }
.affirmation:hover { box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.affirmation .id { font-weight: 800; color: var(--primary); margin-right: 8px; }
.echelle { display: flex; gap: 6px; flex-wrap: wrap; }
.echelle label { border: 2px solid var(--bordure-forte); border-radius: 20px; padding: 6px 13px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; background: #fff; transition: all .2s; white-space: nowrap; }
.echelle input { position: absolute; opacity: 0; width: 0; height: 0; }
.echelle label:has(input:checked) { background: var(--grad); color: #fff; border-color: var(--primary); box-shadow: 0 2px 8px rgba(26,35,126,.3); }
.echelle label:has(input:focus-visible) { box-shadow: 0 0 0 .2rem rgba(26,35,126,.2); }
.echelle label:hover { border-color: var(--secondary); }

/* ---------- Pied de formulaire / notifications ---------- */
.pied-formulaire { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 22px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 12px 18px; border-radius: 25px; font-size: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 60; max-width: 90vw; border-left: 4px solid var(--accent); }
.toast-erreur { background: var(--critical); border-left-color: #fff; }
.voile { position: fixed; inset: 0; background: rgba(10, 16, 60, .6); display: grid; place-items: center; z-index: 70; padding: 20px; }
.succes { background: #fff; border-radius: 15px; padding: 0; max-width: 540px; width: 100%; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: pop .25s ease-out; overflow: hidden; }
.succes .coche { width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--good); display: grid; place-items: center; margin: -38px auto 12px; box-shadow: 0 4px 10px rgba(0,0,0,.15); position: relative; }
.succes h2 { font-size: 22px; color: var(--primary); margin-bottom: 8px; padding: 0 30px; }
.succes p { color: var(--ink-2); padding: 0 34px; }
.succes .actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; padding: 20px; background: linear-gradient(to right, rgba(26,35,126,.05), rgba(13,71,161,.05)); border-top: 1px solid #e0e0e0; }
.succes::before { content: ''; display: block; height: 70px; background: var(--grad); border-bottom: 4px solid var(--accent); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Panneau latéral ---------- */
.panneau-voile { position: fixed; inset: 0; background: rgba(10, 16, 60, .5); z-index: 50; }
.panneau { position: fixed; top: 0; right: 0; bottom: 0; width: min(780px, 100vw); background: var(--page); z-index: 55; overflow: auto; box-shadow: -20px 0 60px -30px rgba(0,0,0,.5); animation: glisse .22s ease-out; }
@keyframes glisse { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.panneau-entete { position: sticky; top: 0; background: var(--grad); color: #fff; border-bottom: 3px solid var(--accent); padding: 14px 20px; display: flex; align-items: center; gap: 12px; z-index: 2; flex-wrap: wrap; }
.panneau-entete h2 { font-size: 17px; color: #fff; flex: 1; text-shadow: 1px 1px 2px rgba(0,0,0,.3); }
.panneau-corps { padding: 18px 20px 40px; display: grid; gap: 16px; }
.fermer { border: 2px solid rgba(255,255,255,.8); background: transparent; color: #fff; border-radius: 50%; width: 36px; height: 36px; cursor: pointer; font-size: 20px; line-height: 1; transition: .3s; }
.fermer:hover { background: rgba(255,255,255,.2); border-color: #fff; }

/* ---------- Tableaux de synthèse ---------- */
.tableau { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tableau th { text-align: left; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #fff; padding: 10px 12px; background: var(--grad-th); border-right: 1px solid rgba(255,255,255,.25); white-space: nowrap; }
.tableau th:last-child { border-right: 0; }
.tableau td { padding: 10px 12px; border-bottom: 1px solid var(--bordure); vertical-align: middle; }
.tableau tbody tr:nth-child(even) td { background: var(--surface-2); }
.tableau tr:last-child td { border-bottom: 0; }
.tableau .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tableau th.num { text-align: right; }
.tableau tbody tr:hover td { background: var(--hover-row); }
.tableau .cliquable { cursor: pointer; }
.tableau tbody td:first-child { font-weight: 600; }
.defilement { overflow-x: auto; }
.metre { display: inline-grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; min-width: 130px; width: 100%; }
.metre .piste { height: 9px; border-radius: 5px; background: var(--tint-2); overflow: hidden; }
.metre .rempli { height: 100%; border-radius: 5px; background: var(--grad-h); }
.metre .val { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ink-2); font-weight: 600; min-width: 44px; text-align: right; }

/* ---------- Tuiles KPI (value boxes) ---------- */
.tuiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.tuile { background: var(--surface); border-left: 4px solid var(--primary); border-radius: 8px; padding: 16px 18px; box-shadow: var(--ombre); transition: transform .2s, box-shadow .2s; }
.tuile:hover { transform: translateY(-3px); box-shadow: var(--ombre-h); }
.tuile .lib { font-size: 12px; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.tuile .val { font-size: 34px; font-weight: 800; color: var(--primary); line-height: 1.1; margin-top: 6px; }
.tuile .val small { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-left: 2px; }
.tuile .sous { font-size: 12px; color: var(--ink-3); margin-top: 5px; }
.tuile-hero .val { font-size: 46px; }
.tuile-good { border-left-color: var(--good); } .tuile-good .val { color: var(--good-texte); }
.tuile-info { border-left-color: var(--info); } .tuile-info .val { color: var(--info); }
.tuile-warning { border-left-color: var(--warning); } .tuile-warning .val { color: var(--warning-texte); }
.tuile-accent { border-left-color: var(--accent); }

/* ---------- Divers ---------- */
.filtres { display: grid; gap: 10px 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; }
.filtres select, .filtres input { width: 100%; border: 2px solid var(--bordure-forte); border-radius: 6px; padding: 8px 10px; background: #fff; font-size: 13.5px; transition: .3s; }
.filtres select:focus, .filtres input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(26,35,126,.2); }
.filtres label { display: block; font-size: 11.5px; font-weight: 700; color: var(--primary); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .05em; }
.carte-filtres { border-left: 5px solid var(--primary); background: linear-gradient(180deg, #ffffff, #f8f9fa); }
.legende { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.legende span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--primary)); margin-right: 6px; vertical-align: -1px; }
.vide { text-align: center; color: var(--ink-3); padding: 34px 20px; font-size: 14px; }
.chargement { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--tint-2); border-top-color: var(--primary); border-radius: 50%; animation: tour .8s linear infinite; vertical-align: middle; }
@keyframes tour { to { transform: rotate(360deg); } }
.pied { text-align: center; color: rgba(255,255,255,.9); font-size: 12.5px; padding: 26px 20px; background: var(--grad); border-top: 4px solid var(--accent); margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.k-v { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 13.5px; }
.k-v dt { color: var(--ink-3); }
.k-v dd { margin: 0; font-weight: 600; }
.svg-graphe { width: 100%; height: auto; display: block; }
.svg-graphe text { font-family: var(--police); }
.infobulle { position: fixed; pointer-events: none; background: var(--primary); color: #fff; font-size: 12.5px; padding: 8px 10px; border-radius: 8px; z-index: 80; max-width: 280px; box-shadow: 0 6px 18px rgba(0,0,0,.25); border-left: 3px solid var(--accent); }
.infobulle b { display: block; margin-bottom: 2px; color: var(--accent); }

@media (max-width: 760px) {
  .entete-int { grid-template-columns: 1fr 1fr; }
  .entete-titre { grid-column: 1 / -1; order: 3; }
  .entete img { height: 36px; }
  .entete .logo-min { height: 44px; }
  .carte-corps { padding: 16px; }
  .indicateurs thead { display: none; }
  .indicateurs tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 12px; border-bottom: 1px solid var(--bordure); }
  .indicateurs td { border: 0; padding: 0; }
  .indicateurs td.cel-lib { grid-column: 1 / -1; }
  .indicateurs input[type="number"] { width: 100%; }
  .affirmation { grid-template-columns: 1fr; }
  .tuile .val { font-size: 28px; }
  .barre-nav { position: static; }
}
@media print {
  .barre-nav, .bouton, .filtres, .fermer { display: none !important; }
  body { background: #fff; }
  .carte { box-shadow: none; }
}
