
@font-face { font-family: "Bodoni Moda"; src: url("/statique/polices/bodoni-moda-opsz-wght-2.005.ttf") format("truetype"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/statique/polices/lato-regular-2.015.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/statique/polices/lato-bold-2.015.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --violet: #241a33; --violet-doux: #3b2e4d; --lilas: #d9cfe5; --dore: #d5b77e; --laiton: #80602a;
  --encre: #251d32; --encre2: #4A4750; --appoint: #706976; --desactive: #8A8690;
  --fond: #f7f5ef; --surface: #fffefa; --filet: #e3dfd8; --voile: #ede9f0; --voile-chaud: #f0eadc;
  --destructive: #B3261E;
  --r-carte: 14px; --r1: 10px; --r-petit: 8px;
  --titres: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --ui: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --marge: 32px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--fond); }
body { margin: 0; font-family: var(--ui); font-size: 14px; line-height: 21px; color: var(--encre); background: var(--fond); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
a { color: var(--laiton); text-underline-offset: 2px; }
.evitement { position: absolute; left: -9999px; top: 0; background: var(--surface); color: var(--encre); padding: 8px 12px; z-index: 10; }
.evitement:focus { left: 8px; top: 8px; }
.lecteur-seul { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Le gabarit « L'atelier » : la colonne violette, l'espace de travail */
.atelier { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.colonne { background: var(--violet); color: var(--lilas); }
.colonne-fixe { position: sticky; top: 0; max-height: 100vh; overflow-y: auto; padding: 28px 14px 24px; }
.colonne :focus-visible, .barre-mobile :focus-visible, .barre-marque :focus-visible { outline-color: var(--dore); }
.marque { padding: 0 8px; }
.logo { display: block; width: 168px; height: auto; aspect-ratio: 390 / 67; color: var(--surface); }
.sous-marque { display: block; margin: 8px 0 26px; font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--dore); }
.espace { min-width: 0; display: flex; flex-direction: column; }
.barre-mobile { display: none; }

/* La navigation : huit catégories au plus, second niveau en <details> natifs */
nav.navigation details.categorie { margin: 0 0 2px; }
nav.navigation summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; border-radius: var(--r-petit); color: var(--lilas); font-size: 14px; cursor: pointer; }
nav.navigation summary::-webkit-details-marker { display: none; }
nav.navigation summary::after { content: ""; width: 7px; height: 7px; margin: -4px 2px 0 auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
nav.navigation details[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
nav.navigation summary:hover, nav.navigation details[open] > summary { background: var(--violet-doux); color: var(--surface); }
nav.navigation ul { list-style: none; margin: 4px 0 10px; padding: 0; }
nav.navigation a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px 10px 32px; border-radius: var(--r-petit); color: var(--lilas); text-decoration: none; font-size: 13.5px; }
nav.navigation a:hover { background: var(--violet-doux); color: var(--surface); }
nav.navigation a[aria-current="page"] { color: var(--dore); font-weight: 700; }
nav.navigation a[aria-current="page"]::before { content: ""; flex: none; width: 5px; height: 5px; margin: 0 9px 0 -14px; border-radius: 50%; background: var(--dore); }

/* La barre du haut : fil d'Ariane ; zone, rôle, fin de session */
.haut { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; min-height: 66px; padding: 12px var(--marge); border-bottom: 1px solid var(--filet); }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; font-size: 12.5px; color: var(--encre2); }
.fil li + li::before { content: "/"; content: "/" / ""; margin-right: 8px; color: var(--appoint); }
.fil a { color: var(--encre2); display: inline-block; min-height: 24px; line-height: 24px; }
.fil [aria-current="page"] { color: var(--encre); font-weight: 700; }
.outils { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.identite { color: var(--encre2); font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.zone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.zone label { font-weight: 700; font-size: 13px; }
.zone select { width: auto; max-width: 100%; min-height: 40px; padding: 6px 10px; }
.zone select.choisie { border: 2px solid var(--encre); }
.zone select:disabled { color: var(--desactive); }
.zone .aide { color: var(--encre2); font-size: 12.5px; }
.lien-bouton { font: inherit; font-size: 13px; font-weight: 400; color: var(--laiton); background: none; border: none; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; padding: 0; min-height: 24px; }
.lien-bouton:hover { background: none; color: var(--encre); }

/* Le contenu */
main { padding: 28px var(--marge) 48px; min-width: 0; overflow-wrap: break-word; }
.surtitre { margin: 0 0 6px; font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--laiton); }
h1 { font-family: var(--titres); font-weight: 400; font-size: 34px; line-height: 1.2; letter-spacing: -0.4px; margin: 0 0 8px; }
h2 { font-family: var(--titres); font-weight: 400; font-size: 22px; line-height: 1.3; margin: 28px 0 10px; }
h3 { font-size: 14px; margin: 18px 0 6px; }
.portee { margin: 0 0 14px; color: var(--encre2); }
p { max-width: 760px; }
.legende { font-size: 12.5px; color: var(--encre2); }
.mono { font-family: var(--mono); font-size: 13px; text-transform: none; }

/* Les cartes : surfaces crème, filet clair, arrondi de la maquette */
.annonce { background: var(--surface); border: 1px solid var(--filet); border-left: 4px solid var(--violet); border-radius: var(--r1); padding: 10px 14px; margin: 0 0 16px; max-width: 760px; }
.bandeau { background: var(--voile); border: 1px solid var(--filet); border-radius: var(--r-carte); padding: 12px 16px; margin: 0 0 16px; max-width: 760px; }
.etat-vide { background: var(--surface); border: 1px solid var(--filet); border-radius: var(--r-carte); padding: 24px; max-width: 640px; }
.citation { background: var(--voile-chaud); border-left: 3px solid var(--laiton); border-radius: 0 var(--r-petit) var(--r-petit) 0; padding: 8px 12px; margin: 6px 0; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 760px; }
main section { background: var(--surface); border: 1px solid var(--filet); border-radius: var(--r-carte); padding: 4px 22px 18px; margin: 0 0 18px; max-width: 980px; }
main section > h2:first-child { margin-top: 16px; }
fieldset { border: 1px solid var(--filet); border-radius: var(--r1); padding: 10px 14px; margin: 8px 0; max-width: 760px; min-width: 0; }
legend { font-weight: 700; padding: 0 4px; }

/* Tables denses (§7.2), posées sur une carte */
table { width: 100%; max-width: 980px; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--r-carte); margin: 0 0 18px; }
th { text-align: left; font-size: 12.5px; font-weight: 400; color: var(--encre2); padding: 12px 14px; border-bottom: 1px solid var(--filet); vertical-align: top; }
th[scope="row"] { font-size: 14px; color: var(--encre); }
/* Lot BO-6 (BO-NAV-04) : un en-tête de LIGNE porte une valeur (un libellé, un identifiant) et
   s'affiche tel quel ; un identifiant (.mono) ne change jamais de casse. Depuis LOOK-1, aucun
   en-tête de tableau n'est en capitales (maquette « L'atelier ») ; seuls les surtitres décoratifs le sont. */
th[scope="row"] { text-transform: none; }
td { padding: 11px 14px; border-bottom: 1px solid var(--filet); height: 44px; vertical-align: top; }
tr:last-child > td, tr:last-child > th { border-bottom: 0; }
thead tr:last-child > th { border-bottom: 1px solid var(--filet); }

/* Boutons : deux réponses de poids égal ; violet pour le SEUL bouton primaire */
button, .bouton { font: inherit; font-weight: 700; min-height: 48px; padding: 8px 16px; border: 1.5px solid var(--encre); border-radius: var(--r1); background: var(--surface); color: var(--encre); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
button:hover, .bouton:hover { background: var(--voile); }
button.primaire { background: var(--violet); border-color: var(--violet); color: var(--surface); }
button.primaire:hover { background: var(--violet-doux); border-color: var(--violet-doux); }
button.destructif { border-color: var(--destructive); color: var(--destructive); }
button:disabled { color: var(--desactive); border-color: var(--desactive); cursor: not-allowed; background: var(--surface); }
td button, td .bouton { min-height: 40px; padding: 6px 12px; }
.gestes { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.verdicts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; max-width: 760px; }
.verdicts form { margin: 0; }
.verdicts button { width: 100%; min-height: 56px; font-size: 15px; justify-content: center; flex-direction: column; }
.verdicts small { display: block; font-weight: 400; font-size: 12px; color: var(--encre2); }

/* Formulaires : le contour reste sombre (contraste des champs) */
form.pile { display: grid; gap: 8px; max-width: 520px; margin: 8px 0 16px; }
label { font-weight: 700; }
input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; margin: 0 8px 0 0; accent-color: var(--violet); vertical-align: middle; }
input[type="text"], input[type="tel"], input[type="date"], input[type="number"], textarea, select { font: inherit; min-height: 44px; padding: 8px 10px; border: 1px solid var(--encre2); border-radius: var(--r-petit); background: var(--surface); color: var(--encre); width: 100%; max-width: 100%; }
textarea { min-height: 72px; }
.aide-champ { font-size: 12.5px; color: var(--encre2); margin: 0; }
/* ★ Lot CHAMP-NUMERO (2026-10-09) — le champ du numéro (design du champ du numéro §5.2) : la liste
   des indicatifs et la saisie côte à côte ; quand la place manque (téléphone étroit, zoom à 200 %),
   la liste passe au-dessus, sur toute la largeur (la saisie prend presque tout l'espace restant).
   Hauteur 48 pour les deux ; contour sombre de la règle générale ; exemple grisé en --appoint,
   opacité explicite (certains navigateurs atténuent le texte d'exemple). */
.champ-numero { display: flex; flex-wrap: wrap; gap: 8px; }
.champ-numero select { flex: 1 1 9em; width: auto; min-width: 0; min-height: 48px; }
.champ-numero input[type="tel"] { flex: 999 1 12em; width: auto; min-width: 0; min-height: 48px; }
.champ-numero input::placeholder { color: var(--appoint); opacity: 1; }
main details { margin: 8px 0; max-width: 760px; }
main details > summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; color: var(--encre); }
main details[open] { border: 1px solid var(--filet); border-radius: var(--r1); padding: 4px 14px 12px; background: var(--surface); }

/* La revue des photos (ADM-21) */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; align-items: start; }
.critere { margin: 0 0 12px; }
.critere small { display: block; margin-top: 4px; color: var(--encre2); font-size: 12.5px; }
.cadre { background: var(--filet); border-radius: var(--r-carte); padding: 10px; display: flex; justify-content: center; align-items: center; min-height: 260px; max-width: 760px; }
.cadre img { max-width: 100%; max-height: 60vh; height: auto; display: block; border-radius: 6px; }
.cadre.grand img { max-height: none; }
.lateral { border-left: 1px solid var(--filet); padding-left: 20px; }
.lateral h2 { font-family: var(--ui); font-weight: 700; font-size: 13px; margin: 0 0 4px; }
.lateral .bloc { margin-bottom: 18px; }
.nombre { font-family: var(--mono); font-size: 16px; }
kbd { font-family: var(--mono); font-size: 12px; border: 1px solid var(--encre2); border-radius: 4px; padding: 0 5px; background: var(--surface); }

/* Lecteurs de médias : lecture dans la page seulement */
audio, video { display: block; margin: 8px 0; max-width: 100%; }
video { max-height: 60vh; background: var(--encre); }

/* Portée d'un réglage (§12.14.2) : toujours en mots, jamais une couleur seule */
.badge { display: inline-block; padding: 2px 10px; border: 1px solid var(--encre2); border-radius: 999px; font-size: 12.5px; color: var(--encre2); }
.badge.exception { background: var(--voile); border: 1px solid var(--encre); border-left: 3px solid var(--encre); color: var(--encre); font-weight: 700; }
.badge.unique { border-style: dashed; }

/* ★★ Le tableau de bord « tel que la maquette » (lot LOOK-2) : bande de filtres, cartes à gros
   chiffres, anneau et barres en SVG (couleurs posées ICI, sur des classes : les formes n'ont que
   des attributs de présentation), écarts entre villes, bandeau « À traiter ». Aucune couleur
   de performance : le violet est la seule couleur des graphiques, le dernier jour seul est plus
   foncé (il est en cours). */
.lien-titre { margin: -4px 0 8px; text-align: right; max-width: none; }
.filtres { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; gap: 12px 14px; align-items: end; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--r-carte); padding: 16px 18px; margin: 16px 0 10px; }
.filtre { display: grid; gap: 6px; min-width: 0; }
.filtre label { font-weight: 400; font-size: 12.5px; color: var(--encre2); }
.filtre-action button { width: 100%; justify-content: center; }
.filtre-aide { grid-column: 1 / -1; margin: 0; }
.resume { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin: 0 0 14px; }
.resume p { margin: 0; }
.resume .bouton { min-height: 40px; font-weight: 400; font-size: 13px; padding: 6px 14px; border-color: var(--filet); }
main section.carte-chiffre, main section.carte-large { max-width: none; margin: 0; }
.cartes-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 16px; }
main section.carte-chiffre { padding: 16px 18px 14px; }
main section.carte-chiffre > h2:first-child { font-family: var(--ui); font-weight: 400; font-size: 13px; line-height: 1.4; color: var(--encre2); margin: 0 0 6px; }
.chiffre { font-family: var(--titres); font-weight: 400; font-size: 46px; line-height: 1.1; letter-spacing: -0.5px; margin: 0 0 8px; font-variant-numeric: lining-nums; }
.chiffre-moyen { font-size: 34px; margin: 0 0 2px; }
.chiffre.chiffre-absent { font-family: var(--ui); font-size: 15px; line-height: 1.4; letter-spacing: 0; color: var(--encre2); margin: 10px 0; }
main section.carte-chiffre .legende { margin: 0; }
.grille-deux { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; margin: 0 0 16px; align-items: start; }
main section.carte-large { padding: 6px 22px 16px; }
main section.carte-pleine { margin: 0 0 16px; }
.carte-tete { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; justify-content: space-between; }
.carte-tete h2 { margin: 16px 0 6px; }
.carte-tete a { font-size: 13px; }
.place { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; margin: 8px 0 4px; }
.place p { margin: 0 0 4px; }
.anneau { width: 132px; height: 132px; flex: none; }
.anneau-fond { stroke: var(--voile-chaud); }
.anneau-part { stroke: var(--violet); }
.anneau-texte { font-family: var(--titres); font-size: 21px; fill: var(--encre); }
.barres { display: block; width: 100%; height: auto; max-height: 220px; margin: 18px 0 0; }
.barre { fill: #cdc2dc; }
.barre-courante { fill: var(--violet); }
.barre-valeur { font-family: var(--ui); font-size: 11px; fill: var(--encre2); }
.barres-base { stroke: var(--filet); stroke-width: 1; }
.barres-axe { display: flex; justify-content: space-between; font-size: 12px; color: var(--encre2); margin: 6px 0 10px; }
table.ecarts td, table.ecarts th { vertical-align: middle; }
table.ecarts tr[aria-current="true"] > th { font-weight: 700; }
.a-traiter { background: var(--voile-chaud); border: 1px solid var(--filet); border-radius: var(--r-carte); padding: 14px 18px; margin: 0 0 24px; }
.a-traiter p { margin: 0; max-width: none; }
.titre-detail { margin-top: 36px; }

/* ★ Lot PANNEAU — le panneau des droits (fiche d'un compte, ADM-08) et la phrase « Tu vois ». */
.portee-du-compte { margin: 0 0 14px; color: var(--encre2); }
table.fiche { max-width: 760px; }
table.fiche th[scope="row"] { width: 180px; font-size: 13px; color: var(--encre2); }
form.panneau { max-width: 980px; }
fieldset.categorie-panneau { max-width: 980px; background: var(--surface); border-radius: var(--r-carte); padding: 12px 18px 14px; margin: 0 0 14px; }
fieldset.categorie-panneau > legend { font-family: var(--titres); font-weight: 400; font-size: 19px; padding: 0 6px; }
ul.fonctions { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; }
li.fonction { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 0; padding: 6px 0; border-bottom: 1px solid var(--filet); }
li.fonction > input { margin-top: 1px; }
li.fonction > .aide-champ { grid-column: 2; }
li.fonction.reservee { grid-template-columns: minmax(0, 1fr); color: var(--encre2); }
li.fonction.reservee > .aide-champ { grid-column: 1; }
li.fonction .intitule { font-weight: 700; }
.tout-cocher { margin: 4px 0 8px; }
.limite { margin: 14px 0 0; padding: 10px 14px 12px; background: var(--voile); border-radius: var(--r1); }
.limite h3 { margin: 4px 0 6px; }
ul.limites { list-style: none; margin: 0 0 8px; padding: 0; }
ul.limites li { padding: 4px 0; }
.avis { font-size: 12.5px; color: var(--laiton); font-weight: 700; margin-left: 6px; }
.ajouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 8px; }
.ajout { display: grid; gap: 4px; min-width: 0; }

/* La page de connexion et les pages simples : une barre violette, un bloc centré (§12.4) */
.barre-marque { background: var(--violet); padding: 18px 24px; }
.barre-marque .logo { width: 150px; }
.connexion { max-width: 440px; margin: 40px auto; padding: 24px 28px; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--r-carte); }
.connexion h1 { font-size: 28px; margin-bottom: 12px; }
.connexion .rappel { border-left: 3px solid var(--laiton); padding: 6px 12px; color: var(--encre2); margin: 16px 0; }
.connexion .cle { font-family: var(--mono); font-size: 16px; letter-spacing: 0.08em; word-break: break-all; background: var(--fond); border: 1px solid var(--filet); padding: 10px; border-radius: var(--r-petit); }

/* ★ Lot BO-ATELIER-1 — la pastille du territoire (barre du haut) et sa croix ; la barre commune
   (territoire, période, Valeurs / %) ; la carte schématique des territoires (SVG, aucune tuile) ;
   le dénominateur écrit sous chaque part. Aucune couleur de performance. */
.pastille-territoire { display: inline-flex; align-items: center; gap: 6px; background: var(--voile); border-radius: 999px; padding: 4px 10px; font-size: 14px; }
.pastille-territoire .croix { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--violet); }
.pastille-territoire .croix:hover { background: var(--lilas); }
.barre-commune { margin: 8px 0 16px; }
.barre-territoire { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
.barre-periode { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
.bascule-mode { display: flex; gap: 10px; align-items: center; margin: 6px 0 12px; }
.bascule-mode .mode { padding: 4px 12px; border: 1px solid var(--filet); border-radius: var(--r-petit); text-decoration: none; color: var(--encre2); }
.bascule-mode .mode-actif { background: var(--violet); border-color: var(--violet); color: var(--surface); }
.denominateur { font-size: 13px; color: var(--encre2); font-weight: 400; }
.carte-territoires { width: 100%; max-width: 720px; height: auto; display: block; }
.carte-fond { fill: var(--voile); }
.carte-disque { fill: var(--violet); fill-opacity: 0.55; stroke: var(--violet); stroke-width: 1; }
.carte-territoires a:hover .carte-disque, .carte-territoires a:focus .carte-disque { fill-opacity: 0.85; }
.liste-prioritaires { margin: 8px 0 0; padding-left: 20px; }

/* ★ Le téléphone (consulter ET modérer) : sous 900 px, la colonne laisse place à une barre et
   à un menu <details> ; aucun défilement horizontal de la page (une table trop large défile
   dans son propre cadre). */
@media (max-width: 899.98px) {
  :root { --marge: 16px; }
  .atelier { display: block; min-height: 0; }
  .colonne { display: none; }
  .barre-mobile { display: block; position: relative; background: var(--violet); color: var(--lilas); padding: 14px 16px; min-height: 64px; }
  .barre-mobile .marque { padding: 4px 0 0; }
  .barre-mobile .logo { width: 140px; }
  .menu > summary { position: absolute; top: 10px; right: 12px; list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: var(--r-petit); background: var(--violet-doux); color: var(--lilas); font-weight: 700; cursor: pointer; }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu > summary::before { content: ""; width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  .menu[open] > summary { color: var(--surface); }
  .navigation-menu { margin-top: 16px; }
  .haut { padding: 10px var(--marge); min-height: 0; }
  main { padding: 20px var(--marge) 40px; }
  h1 { font-size: 28px; }
  .duo { grid-template-columns: 1fr; }
  .lateral { border-left: 0; padding-left: 0; border-top: 1px solid var(--filet); padding-top: 14px; }
  table { display: block; overflow-x: auto; }
  .cadre { min-height: 200px; }
  .cadre img { max-height: 42vh; }
  main section { padding: 4px 16px 14px; }
  .connexion { margin: 24px 16px; padding: 20px; }
  .filtres { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
  .filtre-action { grid-column: 1 / -1; }
  .barre-territoire, .barre-periode { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cartes-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .chiffre { font-size: 34px; }
  .grille-deux { grid-template-columns: 1fr; }
  main section.carte-large { padding: 4px 16px 14px; }
  ul.fonctions, .ajouts { grid-template-columns: 1fr; }
  fieldset.categorie-panneau { padding: 10px 12px 12px; }
}
@media (max-width: 1199.98px) and (min-width: 900px) {
  .filtres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grille-deux { grid-template-columns: 1fr; }
}
@media (max-width: 339.98px) {
  .cartes-chiffres { grid-template-columns: 1fr; }
  .filtres { grid-template-columns: 1fr; }
}
@media (pointer: coarse) {
  .lien-bouton, .fil a { min-height: 44px; line-height: 44px; }
  input[type="text"], input[type="tel"], input[type="date"], input[type="number"], textarea, select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
