/* Panorasso · feuille commune, chargée après Tabler : variables et composants relevés sur les maquettes
   (maquettes/*.dc.html, mesures à 1440 px). Couleurs de personnalisation : /theme.css (--pa-primaire, --pa-secondaire). */
:root {
  --pa-primaire: #2440C8;
  --pa-secondaire: #1A2F96;
  --pa-fond: #F5F5F2;
  --pa-texte: #111418;
  --pa-texte-2: #2E333A;
  --pa-gris: #5B6169;
  --pa-gris-clair: #A5ABB3;
  --pa-bordure: #E3E3DE;
  --pa-bordure-champ: #D6D7D0;
  --pa-filet: #EFEFEA;
  --pa-neutre: #F0F0EB;
  --pa-piste: #EDEDE8;
  --pa-vert: #1D7348;
  --pa-vert-fond: #E4F2EA;
  --pa-vert-fonce: #155A37;
  --pa-rouge: #B42318;
  --pa-rouge-fond: #FBE9E7;
  --pa-rouge-fonce: #8F1C13;
  --pa-orange: #B54708;
  --pa-orange-fond: #FDF1E3;
  --pa-orange-fonce: #8A5200;
  --pa-orange-vif: #C98A1B;
  --pa-alerte: #FF8A00;
  --pa-a-confirmer: #FFF3E0;
  --pa-rayon: 10px;
  --pa-rayon-petit: 6px;
  --pa-police: 'Inter', system-ui, sans-serif;
  --pa-police-titre: 'Schibsted Grotesk', 'Inter', sans-serif;
  --tblr-font-sans-serif: var(--pa-police);
  --tblr-body-font-size: 14px;
  --tblr-body-line-height: normal;
  --tblr-body-color: var(--pa-texte);
  --tblr-border-color: var(--pa-bordure);
}

/* Base : Inter, hauteur de ligne « normal » des maquettes (Tabler impose 1.43, d'où des écarts trop larges) */
body.pa { background: #fff; color: var(--pa-texte); font-family: var(--pa-police); font-size: 14px; line-height: normal; }
.pa h1, .pa h2, .pa h3, .pa h4 { line-height: normal; }
.pa a { color: var(--pa-primaire); }
.pa-titre, .pa h1 { font-family: var(--pa-police-titre); }
.pa small, .pa .small { font-size: 12px; }

/* Liseré de 3 px aux couleurs de l'association (70 % primaire, 30 % secondaire), puis en-tête de 56 px */
body.pa:has(> .pa-entete)::before { content: ""; display: block; height: 3px; max-width: 1440px; margin: 0 auto;
  background: linear-gradient(90deg, var(--pa-primaire) 70%, var(--pa-secondaire) 70%); }
/* En-tête : 56 px, organisations à gauche, utilisateur à droite */
.pa-entete { display: flex; align-items: center; gap: 20px; height: 56px; padding: 8px 24px; background: #fff;
  border-bottom: 1px solid var(--pa-bordure); max-width: 1440px; margin: 0 auto; font-size: 13px; }
.pa-org { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.pa-org + .pa-org { padding-left: 20px; border-left: 1px solid var(--pa-bordure); }
.pa-pastille { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--pa-primaire); color: #fff; font-size: 9px; font-weight: 700; }
.pa-pastille.carree { border-radius: var(--pa-rayon-petit); background: var(--pa-texte); font-size: 11px; }
.pa-utilisateur { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--pa-texte); text-decoration: none; font-weight: 500; }
.pa .pa-utilisateur { color: var(--pa-texte); }
.pa-utilisateur .pa-pastille { background: var(--pa-piste); color: var(--pa-texte); font-size: 11px; font-weight: 600; }
.pa-utilisateur small { color: var(--pa-gris); font-size: 12px; font-weight: 400; }
.pa-deconnexion { border: 0; background: none; color: var(--pa-gris); font-size: 18px; padding: 4px; line-height: 1; }

/* Cadre : 1440 px au plus, fond gris ; menu de 181 px, 24 px d'écart avec le contenu */
.pa-cadre { display: flex; gap: 24px; max-width: 1440px; margin: 0 auto; min-height: calc(100vh - 59px); background: var(--pa-fond);
  padding: 14px 24px 20px; }
.pa-menu { width: 181px; flex: none; display: flex; flex-direction: column; gap: 1px; }
.pa-groupe { display: flex; align-items: center; gap: 8px; padding: 2px 10px 6px; color: var(--pa-primaire);
  font: 700 20px/23px var(--pa-police); letter-spacing: .02em; text-transform: uppercase; }
.pa-groupe::before { content: ""; flex: none; width: 3px; height: 20px; background: var(--pa-primaire); }
.pa-menu a + .pa-groupe { margin-top: 10px; }
.pa .pa-menu a { display: flex; align-items: center; height: 36px; padding: 0 10px 0 21px; color: var(--pa-texte-2); text-decoration: none;
  border-radius: var(--pa-rayon-petit); font-size: 14px; }
.pa .pa-menu a:hover { background: rgba(0, 0, 0, .04); }
.pa .pa-menu a.actif { color: var(--pa-secondaire); font-weight: 600; background: color-mix(in srgb, var(--pa-primaire) 8%, transparent);
  box-shadow: inset 3px 0 0 var(--pa-secondaire); }

/* Contenu : colonne, 12 px entre les blocs */
.pa-contenu { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pa-contenu > * { margin-top: 0; margin-bottom: 0; }
.pa-ligne-titre, .pa-titre-ligne { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pa-titre { color: var(--pa-secondaire); font: 600 26px/normal var(--pa-police-titre); letter-spacing: -.02em; margin: 0; }
.pa-titre .ariane { color: var(--pa-secondaire); text-decoration: none; }
.pa-titre .chevron { color: var(--pa-gris-clair); margin: 0 6px; }
.pa-situation { color: var(--pa-gris); font-size: 12px; }

/* Boutons d'exercice et badge de situation */
.pa-exercices { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pa .pa-exercices a { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border: 1px solid var(--pa-bordure-champ);
  border-radius: var(--pa-rayon-petit); background: #fff; color: var(--pa-texte); text-decoration: none; font-size: 12px; }
.pa .pa-exercices a.courant { font-weight: 600; }
.pa-sit { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 12px; font-weight: 600;
  color: var(--pa-primaire); background: color-mix(in srgb, var(--pa-primaire) 8%, transparent); }

/* Onglets */
.pa-onglets { display: flex; gap: 6px; border-bottom: 1px solid var(--pa-bordure); }
.pa .pa-onglets a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; margin-bottom: -1px; color: var(--pa-gris);
  text-decoration: none; border-radius: var(--pa-rayon-petit) var(--pa-rayon-petit) 0 0; font-size: 14px; }
.pa .pa-onglets a.actif { background: var(--pa-primaire); color: #fff; font-weight: 600; }

/* Cartes */
.pa-bloc { background: #fff; border: 1px solid var(--pa-bordure); border-radius: var(--pa-rayon); padding: 12px 16px; }
.pa-bloc h2 { font: 600 13px/normal var(--pa-police); margin: 0 0 10px; }
.pa-bloc h3 { font: 600 12px/normal var(--pa-police); margin: 0 0 8px; }
.pa-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Boutons */
.pa .btn { font-size: 12px; border-radius: var(--pa-rayon-petit); line-height: normal; }
.pa .btn-primary, .pa-bouton { background: var(--pa-primaire); border-color: var(--pa-primaire); color: #fff; font-weight: 600; }
.pa .btn-primary:hover, .pa-bouton:hover { filter: brightness(.92); background: var(--pa-primaire); color: #fff; }
.pa-icone { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 32px; border-radius: var(--pa-rayon-petit);
  border: 0; background: var(--pa-primaire); color: #fff; text-decoration: none; flex: none; }
.pa .pa-icone, .pa .pa-icone:hover { color: #fff; }
.pa-icone:hover { filter: brightness(.92); }
.pa-icone.danger { background: var(--pa-rouge); }
.pa-icone[disabled], .pa-icone.inactif { opacity: .45; cursor: not-allowed; }

/* Pastilles de filtre (statuts d'une liste) */
.pa-pastilles { display: flex; gap: 4px; flex-wrap: wrap; }
.pa .pa-pastilles a { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 14px; border: 1px solid var(--pa-bordure-champ);
  color: var(--pa-texte); text-decoration: none; font-size: 12px; background: #fff; }
.pa .pa-pastilles a.actif { background: var(--pa-primaire); border-color: var(--pa-primaire); color: #fff; font-weight: 600; }
.pa-outils { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pa-outils form { display: flex; gap: 6px; width: 50%; justify-content: flex-end; }
.pa-outils .form-control, .pa-outils .form-select { height: 32px; font-size: 12px; border-color: var(--pa-bordure-champ); border-radius: var(--pa-rayon-petit); }

/* Encadré d'information (orange vif) */
.pa-alerte-info { background: var(--pa-alerte); color: #fff; font-weight: 600; border-radius: var(--pa-rayon); padding: 10px 16px; border: 0; }
.pa-alerte-info a { color: #fff; }
.pa-confidentiel { color: var(--pa-orange-fonce); font-weight: 600; }
.pa .alert { font-size: 12px; padding: 10px 16px; border-radius: var(--pa-rayon); margin: 0; }

/* Couleurs fixes : rouge = mauvais, vert = bon (docs/regles.md § 1.1) */
.vert, .txt-VERT { color: var(--pa-vert); } .rouge, .txt-ROUGE { color: var(--pa-rouge); }
.orange, .txt-ORANGE { color: var(--pa-orange-vif); } .neutre, .txt-NEUTRE { color: var(--pa-texte); }

/* Pastilles d'écart, badges de statut */
.pa-ecart, .pa-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 10px; font-size: 12px; font-weight: 600;
  white-space: nowrap; background: var(--pa-neutre); color: var(--pa-texte); }
.pa-badge { padding: 0 8px; }
.pa-ecart.VERT, .pa-badge.VERT { background: var(--pa-vert-fond); color: var(--pa-vert); }
.pa-ecart.ROUGE, .pa-badge.ROUGE { background: var(--pa-rouge-fond); color: var(--pa-rouge); }
.pa-ecart.ORANGE, .pa-badge.ORANGE { background: var(--pa-orange-fond); color: var(--pa-orange); }
.pa-badge.GRIS { color: var(--pa-gris); }
.pa-badge.BLEU { background: color-mix(in srgb, var(--pa-primaire) 8%, transparent); color: var(--pa-primaire); }
.pa-auto { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 9px; background: color-mix(in srgb, var(--pa-primaire) 10%, transparent); color: var(--pa-primaire);
  font-size: 10px; font-weight: 600; }
.pa-statut { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11px; font-weight: 600; color: #fff; }
.pa-statut.ACTIF { background: var(--pa-vert); } .pa-statut.BLOQUE { background: var(--pa-rouge); }
.pa-statut.VERROU { background: var(--pa-orange); } .pa-statut.INACTIF { background: var(--pa-gris); } .pa-statut.DRAFT { background: #8A8F98; }
.pa-age { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11px; font-weight: 600; }
.pa-age.VERT { background: var(--pa-vert-fond); color: var(--pa-vert); } .pa-age.ORANGE { background: var(--pa-orange-fond); color: var(--pa-orange); }
.pa-age.ROUGE, .pa-age.INIT { background: var(--pa-rouge-fond); color: var(--pa-rouge); }

/* Tuiles d'indicateur : la couleur de fond (fond-*) l'emporte sur le blanc par défaut */
.pa-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pa-kpis.trois { grid-template-columns: repeat(3, 1fr); }
.pa-kpi, .pa-tuile { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--pa-bordure); border-radius: var(--pa-rayon);
  padding: 12px 16px; color: var(--pa-texte); text-decoration: none; background: #fff; min-width: 0; }
.pa a.pa-kpi, .pa a.pa-tuile { color: var(--pa-texte); }
/* bloc cliquable : ni soulignement ni surlignage, au repos comme au survol ; seul le curseur indique le lien */
.pa a.pa-kpi, .pa a.pa-kpi:hover, .pa a.pa-kpi:focus, .pa a.pa-tuile, .pa a.pa-tuile:hover { text-decoration: none; cursor: pointer; }
.pa a.pa-kpi *, .pa a.pa-tuile * { text-decoration: none; }
.pa-kpi .lbl, .pa-tuile span { font-size: 12px; font-weight: 500; color: var(--pa-gris); }
.pa-kpi .big, .pa-tuile strong { display: block; font: 600 26px/1 var(--pa-police-titre); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pa-kpi .big small { font-size: 15px; color: var(--pa-gris); font-weight: 500; letter-spacing: 0; }
.pa-kpi .sous { font-size: 12px; color: var(--pa-gris); }
.pa .pa-kpi.fond-VERT { background: var(--pa-vert-fond); border-color: var(--pa-vert-fond); color: var(--pa-vert-fonce); }
.pa .pa-kpi.fond-ROUGE { background: var(--pa-rouge-fond); border-color: var(--pa-rouge-fond); color: var(--pa-rouge-fonce); }
.pa .pa-kpi.fond-ORANGE { background: var(--pa-orange-fond); border-color: var(--pa-orange-fond); color: var(--pa-orange-fonce); }
.pa .pa-kpi.fond-VERT .lbl, .pa .pa-kpi.fond-VERT .sous, .pa .pa-kpi.fond-VERT .big, .pa .pa-kpi.fond-VERT small,
.pa .pa-kpi.fond-ROUGE .lbl, .pa .pa-kpi.fond-ROUGE .sous, .pa .pa-kpi.fond-ROUGE .big, .pa .pa-kpi.fond-ROUGE small,
.pa .pa-kpi.fond-ORANGE .lbl, .pa .pa-kpi.fond-ORANGE .sous, .pa .pa-kpi.fond-ORANGE .big, .pa .pa-kpi.fond-ORANGE small { color: inherit; }
.pa .pa-kpi.pa-alerte-info { background: var(--pa-alerte); border-color: var(--pa-alerte); color: #fff; }
.pa .pa-kpi.pa-alerte-info .lbl, .pa .pa-kpi.pa-alerte-info .sous { color: #fff; }
.pa-tuiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

/* Tableaux et listes : gabarit « Mes commandes » (lignes de 33 px, 12 px, filet #EFEFEA) */
.pa-liste, .pa-tableau { width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; }
.pa-liste { table-layout: fixed; }
.pa-liste th, .pa-tableau th { text-align: left; font-size: 11px; font-weight: 500; color: var(--pa-gris); padding: 6px 8px;
  border-bottom: 1px solid var(--pa-bordure); white-space: nowrap; }
.pa-liste td, .pa-tableau td { padding: 6px 8px; border-bottom: 1px solid var(--pa-filet); }
.pa-liste td { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pa-liste tbody tr, .pa-tableau tbody tr { height: 33px; }
.pa-liste tbody tr:hover, .pa-tableau tbody tr:hover { background: rgba(0, 0, 0, .03); }
.pa-liste .nombre, .pa-tableau .nombre { text-align: right; font-variant-numeric: tabular-nums; }
/* Tableau compact (légende d'un graphique) : lignes de 21 px sans filet, nombres en gras */
.pa-tableau.compact tbody tr { height: auto; }
.pa-tableau.compact th { border-bottom: 0; padding: 0 8px 4px; }
.pa-tableau.compact td { border-bottom: 0; padding: 3px 8px; }
.pa-tableau.compact td.nombre { font-weight: 600; }
.pa-tableau.compact tbody tr:hover { background: none; }
.pa-liste .centre, .pa-tableau .centre { text-align: center; }
.pa-liste th a { color: inherit; text-decoration: none; }
.pa-liste tfoot td, .pa-tableau tfoot td { font-weight: 700; border-top: 1px solid var(--pa-texte); border-bottom: 0; padding: 8px 8px 6px; }
.pa-liste tr.a-confirmer, .pa-tableau tr.a-confirmer { background: var(--pa-a-confirmer); }
.pa-liste input[type=checkbox] { width: 13px; height: 13px; }
.col-50 { width: 50%; } .col-40 { width: 40%; } .col-20 { width: 20%; } .col-15 { width: 15%; } .col-12 { width: 12%; } .col-10 { width: 10%; } .col-5 { width: 5%; }
.col-35 { width: 35%; } .col-30 { width: 30%; } .col-25 { width: 25%; } .col-22 { width: 22%; } .col-18 { width: 18%; } .col-13 { width: 13%; } .col-11 { width: 11%; }
.col-9 { width: 9%; } .col-8 { width: 8%; } .col-7 { width: 7%; } .col-6 { width: 6%; }
.pa-ordre { color: var(--pa-gris); font-size: 12px; font-weight: 400; }

/* Pagination : « Lignes 1 à N sur N » puis un bouton par sens */
.pa-pagination { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; }
.pa-pages { display: flex; gap: 6px; }
.pa .pa-pages > a, .pa-pages > span { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border: 1px solid var(--pa-bordure-champ);
  border-radius: var(--pa-rayon-petit); text-decoration: none; color: var(--pa-texte); background: #fff; font-size: 12px; }
.pa-pages > span.inactif { color: var(--pa-gris-clair); }

/* Contrôle segmenté */
.pa-segments { display: inline-flex; background: var(--pa-neutre); border-radius: var(--pa-rayon-petit); padding: 2px; gap: 2px; }
.pa .pa-segments a { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 4px; color: var(--pa-gris);
  text-decoration: none; font-size: 12px; }
.pa .pa-segments a.actif { background: #fff; color: var(--pa-texte); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }

/* Jauge */
.pa-barre { position: relative; height: 6px; background: var(--pa-piste); border-radius: 3px; overflow: hidden; }
.pa-barre > span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--pa-primaire); border-radius: 3px; }
.pa-barre.VERT > span { background: var(--pa-vert); } .pa-barre.ROUGE > span { background: var(--pa-rouge); }
.pa-barre.ORANGE > span { background: var(--pa-orange-vif); } .pa-barre.NEUTRE > span { background: var(--pa-texte); } .pa-barre.SOMBRE > span { background: var(--pa-texte); }

/* Formulaires */
.pa .form-control, .pa .form-select { font-size: 12px; border-color: var(--pa-bordure-champ); border-radius: var(--pa-rayon-petit); }
.pa .form-label { font-size: 12px; font-weight: 500; color: var(--pa-gris); }

/* Pages d'accès (connexion, mot de passe) */
/* 01 · Pages d'accès « Plan de ville » (maquette Login, 23/11/2026) : fond en dégradé clair et trame de points, plan à gauche, carte du formulaire à droite ;
   terre cuite (--pa-terre) sur le cadre Association, l'icône Mairie et le bouton du formulaire ; flèches animées entre les lieux */
.pa-acces { --pa-terre: #B84E28; --pa-terre-fonce: #9A3F1F; min-height: 100vh; box-sizing: border-box; padding: 40px 64px 48px; display: flex; flex-direction: column; gap: 32px; color: var(--pa-texte);
  background-color: var(--pa-fond);
  background-image: radial-gradient(rgba(36, 64, 200, .14) 1px, transparent 1px), linear-gradient(135deg, #F7F6F1 0%, #EEF0F8 45%, #DCE3FB 100%);
  background-size: 24px 24px, 100% 100%; background-attachment: fixed; }
.pa-acces-entete { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.pa-marque { font: 700 22px var(--pa-police-titre); display: flex; align-items: center; gap: 12px; color: var(--pa-texte); }
.pa-accroche-sur { color: var(--pa-gris); letter-spacing: .12em; font-size: 13px; }
.pa-acces-corps { flex-grow: 1; display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.pa-acces-gauche { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pa-accroche { font: 600 52px/1.04 var(--pa-police-titre); letter-spacing: -.025em; margin: 0; max-width: 780px; color: var(--pa-texte); }
@keyframes pa-marche { to { stroke-dashoffset: -24; } }
.pa-plan { margin: 0; position: relative; flex-grow: 1; min-height: 440px; }
.pa-plan-rues { position: absolute; inset: 0; width: 100%; height: 100%; }
.pa-plan-rues .rue { fill: none; stroke: var(--pa-primaire); stroke-width: 2; stroke-dasharray: 1 7; stroke-linecap: round; vector-effect: non-scaling-stroke;
  animation: pa-marche 3s linear infinite; }
.pa-plan-rues .rue.calme { stroke: #9AA1AB; animation: none; }
@keyframes pa-flux { to { stroke-dashoffset: -36; } }
@keyframes pa-pointille { to { stroke-dashoffset: -16; } }
.pa-plan-fleches { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pa-plan-fleches .fleche { fill: none; stroke: var(--pa-primaire); stroke-width: 3; stroke-dasharray: 10 8; stroke-linecap: round; stroke-linejoin: round;
  animation: pa-flux 1.4s linear infinite; }
.pa-plan-fleches .fleche.mairie { stroke: var(--pa-texte); stroke-width: 2.4; stroke-dasharray: 2 6; animation: pa-pointille 1.2s linear infinite; }
.pa-plan-fleches .fleche.vie { stroke-width: 2.4; stroke-dasharray: 6 6; animation-duration: 2s; }
.pa-plan-fleches .pointe-bleue { fill: var(--pa-primaire); }
.pa-plan-fleches .pointe-sombre { fill: var(--pa-texte); }
@media (prefers-reduced-motion: reduce) { .pa-plan-rues .rue, .pa-plan-fleches .fleche { animation: none; } }
.pa-lieu { position: absolute; width: 26%; min-width: 180px; padding: 14px 16px; box-sizing: border-box; background: #FFFFFF; border: 1px solid var(--pa-bordure);
  border-radius: 14px; display: flex; flex-direction: column; gap: 10px; }
.pa-lieu .nom { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.pa-lieu .detail { font-size: 13px; color: var(--pa-gris); }
.pa-lieu .pastille { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.pa-lieu .pastille.terre { background: var(--pa-terre); color: #FFFFFF; }
.pa-lieu .pastille.claire { background: #FFFFFF; color: var(--pa-terre); }
.pa-lieu .pastille.bleutee { background: #EEF1FD; color: var(--pa-primaire); }
.pa-lieu.mairie { left: 0; top: 8%; }
.pa-lieu.association { left: 42%; top: 40%; width: 30%; min-width: 200px; background: var(--pa-terre); border-color: var(--pa-terre); color: #FFFFFF; }
.pa-lieu.association .nom { font-size: 17px; }
.pa-lieu.association .detail { color: #FBE3D6; }
.pa-lieu.adherents { left: 4%; top: 72%; }
.pa-lieu.vie { left: 64%; top: 2%; width: 36%; min-width: 200px; border: 1px dashed #9AA1AB; }
.pa-lieu .surtitre { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--pa-gris); }
.pa-lieu .etiquettes { display: flex; flex-wrap: wrap; gap: 6px; }
.pa-lieu .etiquettes span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--pa-fond); border: 1px solid var(--pa-bordure); }
.pa-ici { position: absolute; left: 78%; top: 70%; display: flex; align-items: center; gap: 8px; padding: 6px 12px; background: #FFFFFF;
  border: 1px solid var(--pa-bordure); border-radius: 999px; font-size: 13px; white-space: nowrap; }
.pa-acces-droite { flex: 1 1 380px; min-width: 0; display: flex; align-items: center; }
.pa-acces-carte { width: 100%; max-width: 440px; padding: 36px; box-sizing: border-box; background: #FFFFFF; border: 1px solid var(--pa-bordure); border-radius: 18px; }
.pa-formulaire { width: 100%; }
.pa-formulaire h1, .pa-formulaire h2 { font: 600 30px/normal var(--pa-police-titre); letter-spacing: -.02em; color: var(--pa-texte); margin-bottom: 18px; }
.pa .pa-formulaire .form-label { font-size: 14px; font-weight: 500; color: var(--pa-texte); }
.pa .pa-formulaire .form-control { height: 48px; font-size: 15px; padding: 0 14px; border-color: #C9CBC4; border-radius: 10px; }
.pa .pa-formulaire .btn { height: 52px; width: 100%; font-size: 16px; font-weight: 600; border-radius: 10px; }
.pa .pa-acces .btn-primary { background: var(--pa-terre); border-color: var(--pa-terre); }
.pa .pa-acces .btn-primary:hover, .pa .pa-acces .btn-primary:focus { filter: none; background: var(--pa-terre-fonce); border-color: var(--pa-terre-fonce); }
.pa-formulaire a { font-size: 14px; }

/* Pied de page des pages d'accès et d'information (regles socle § 2.6 sexies) */
.pa-pied { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 18px;
  border-top: 1px solid rgba(17, 20, 24, .10); font-size: 13px; color: var(--pa-gris); }
.pa-pied-marque { font-family: var(--pa-police-titre); color: var(--pa-texte); }
.pa-pied-editeur { color: var(--pa-texte); }
.pa-pied-liens { display: flex; gap: 20px; flex-wrap: wrap; }
/* Pages d'information (Support, Mentions légales, RGPD) : contenu dans une carte de 760 px (maquettes Support, MentionsLegales, Rgpd) */
.pa-info .pa-marque { text-decoration: none; color: var(--pa-texte); }
.pa-info-retour { font-size: 14px; }
.pa-info-corps { flex-grow: 1; display: flex; justify-content: center; align-items: flex-start; }
.pa-info-carte { width: 100%; max-width: 760px; padding: 40px 44px; box-sizing: border-box; background: #FFFFFF; border: 1px solid var(--pa-bordure);
  border-radius: 18px; display: flex; flex-direction: column; gap: 16px; }
.pa-info-carte h1 { font: 600 34px/1.15 var(--pa-police-titre); letter-spacing: -.02em; margin: 0 0 4px; color: var(--pa-texte); }
.pa-info-carte h2 { font: 600 19px/1.3 var(--pa-police-titre); margin: 8px 0 0; color: var(--pa-texte); }
.pa-info-carte p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--pa-texte-2); }
.pa-info-carte .pa-info-note { font-size: 13px; color: var(--pa-gris); }
.pa-info-fiche { margin: 0; display: grid; grid-template-columns: 200px 1fr; gap: 8px 16px; font-size: 15px; color: var(--pa-texte-2); }
.pa-info-fiche dt { font-weight: 400; color: var(--pa-gris); }
.pa-info-fiche dd { margin: 0; }
.pa-info-tableau { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--pa-texte-2); }
.pa-info-tableau th { padding: 8px 12px; font-weight: 500; font-size: 13px; color: var(--pa-gris); text-align: left; }
.pa-info-tableau td { padding: 10px 12px; border-top: 1px solid var(--pa-filet); vertical-align: top; }
.pa-info-tableau td:first-child { font-weight: 500; }
.pa-info-ligne { display: flex; gap: 16px; flex-wrap: wrap; }
.pa-info-ligne > .mb-3 { flex: 1 1 260px; }
.pa .pa-info-carte .form-select { height: 48px; font-size: 15px; border-color: #C9CBC4; border-radius: 10px; }
.pa .pa-info-carte textarea.form-control { height: auto; padding: 12px 14px; }
.pa-info-antirobot { max-width: 320px; }
.pa-info-envoi { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--pa-gris); }
.pa .pa-info-carte .pa-info-envoi .btn { width: auto; padding: 0 32px; }
/* Support · détail d'une demande (super admin) */
.pa-support-detail { display: flex; flex-direction: column; gap: 16px; }
.pa-support-message { white-space: pre-wrap; margin: 0; padding: 16px; background: var(--pa-fond); border-radius: var(--pa-rayon); font-size: 14px; }

/* Tablette paysage (≤ 1180 px, maquette Tab_Main_paysage) : même mise en page, menu de 170 px et liens de 44 px (doigt) */
@media (max-width: 1180px) {
  .pa-acces { padding: 32px 40px; }
  .pa-acces-corps { gap: 32px; }
  .pa-acces-gauche { flex-basis: 480px; }
  .pa-acces-droite { flex-basis: 340px; }
  .pa-accroche { font-size: 44px; }
  .pa-plan { min-height: 400px; }
  .pa-lieu { width: 30%; min-width: 0; padding: 10px 12px; gap: 6px; border-radius: 12px; }
  .pa-lieu .nom, .pa-lieu.association .nom { font-size: 14px; gap: 8px; }
  .pa-lieu .pastille { width: 30px; height: 30px; border-radius: 8px; }
  .pa-lieu .detail { font-size: 12px; }
  .pa-lieu.association { left: 36%; width: 36%; min-width: 0; }
  .pa-lieu.vie { left: 56%; width: 44%; min-width: 0; }
  .pa-lieu .etiquettes { gap: 4px; }
  .pa-lieu .etiquettes span { font-size: 12px; padding: 3px 8px; }
  .pa-ici { left: auto; right: 0; }
  .pa-cadre { padding: 14px 16px 20px; gap: 16px; }
  .pa-entete { padding: 8px 16px; }
  .pa-menu { width: 170px; }
  .pa .pa-menu a { height: 44px; }
  .pa-tuiles { grid-template-columns: repeat(3, 1fr); }
}
/* Tablette portrait (≤ 860 px, maquette Tab_Main_portrait) : menu en bandeau horizontal sans titres de groupe, tuiles par deux */
@media (max-width: 860px) {
  .pa-cadre { flex-direction: column; padding: 14px 16px 20px; gap: 16px; }
  .pa-menu { width: auto; flex-direction: row; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; border-bottom: 1px solid var(--pa-bordure); }
  .pa-groupe { display: none; }
  .pa .pa-menu a { flex: none; white-space: nowrap; height: 44px; padding: 0 10px; font-size: 13px; }
  .pa .pa-menu a.actif { box-shadow: inset 0 -3px 0 var(--pa-secondaire); }
  .pa-titre { font-size: 22px; }
  .pa-grille { grid-template-columns: 1fr; }
  .pa-acces { padding: 24px 16px; }
  .pa-acces-corps { flex-grow: 0; align-content: flex-start; gap: 24px; }
  .pa-info-carte { padding: 24px 20px; }
  .pa-info-fiche { grid-template-columns: 1fr; gap: 2px; }
  .pa-info-fiche dd { margin-bottom: 8px; }
  .pa-info-tableau thead { display: none; }
  .pa-info-tableau tr { display: block; border-top: 1px solid var(--pa-filet); padding: 8px 0; }
  .pa-info-tableau td { display: block; border: 0; padding: 2px 0; }
  .pa-tuiles, .pa-kpis, .pa-kpis.trois { grid-template-columns: 1fr 1fr; }
  .pa-plan { display: none; }
  .pa-accroche { font-size: 32px; }
  .pa-liste th, .pa-liste td { padding-left: 4px; padding-right: 4px; }
}

/* Variantes relevées sur les maquettes : onglets segmentés de page (Comparatif) et tableau large (lignes sur deux niveaux) */
.pa-segments { align-self: flex-start; }
.pa-segments.grand { background: #ECECE7; padding: 3px; gap: 4px; border-radius: 8px; }
.pa .pa-segments.grand a { height: 30px; padding: 0 14px; font-size: 13px; border-radius: var(--pa-rayon-petit); color: var(--pa-texte-2); }
.pa .pa-segments.grand a.actif { color: var(--pa-texte); box-shadow: 0 1px 2px rgba(17, 20, 24, .12); }
.pa-tableau.large td { font-size: 13px; padding: 7px 8px; }
.pa-tableau .courant { background: var(--pa-fond); }

/* Encadré de question secrète (fond #F7F7F4) et barre de recherche d'une liste (carte de 48 px) */
.pa-secret { display: flex; flex-direction: column; gap: 6px; background: #F7F7F4; border-radius: 8px; padding: 12px 14px; }
.pa-secret .pa-confidentiel { font-size: 12px; display: flex; align-items: center; gap: 6px; }
.pa-secret-form { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.pa-secret-form label { font-size: 13px; font-weight: 600; }
.pa-secret-saisie { display: flex; gap: 6px; }
.pa .pa-secret-saisie .form-control { height: 34px; }
.pa-secret-saisie .btn { height: 34px; }
.pa-barre-recherche { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; background: #fff;
  border: 1px solid var(--pa-bordure); border-radius: var(--pa-rayon); padding: 8px 14px; font-size: 12px; }
.pa-barre-recherche form { display: flex; align-items: center; gap: 6px; width: 50%; margin: 0; }
.pa-barre-recherche label { color: var(--pa-gris); }
.pa .pa-barre-recherche .form-control { height: 30px; padding: 0 10px; border-color: #C9CBC4; }
.pa-barre-recherche .compte { color: var(--pa-gris); }

.pa-kpis.grand .big { font-size: 28px; }

/* Carte de filtres d'une page (Suivi des sorties) : 46 px, listes de 28 px */
.pa-filtres { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; background: #fff; border: 1px solid var(--pa-bordure);
  border-radius: var(--pa-rayon); padding: 8px 14px; font-size: 12px; margin: 0; }
.pa-filtres strong { font-weight: 600; }
.pa-filtres label { display: flex; align-items: center; gap: 8px; color: var(--pa-gris); margin: 0; }
.pa .pa-filtres .form-select { width: auto; min-width: 125px; height: 28px; padding: 0 28px 0 8px; font-size: 12px; color: var(--pa-texte); background-position: right 6px center; }
.pa-filtres .compte { margin-left: auto; color: var(--pa-gris); }
.pa .pa-exercices a.pa-icone { width: 30px; height: 30px; padding: 0; justify-content: center; border: 0; background: var(--pa-primaire); color: #fff; }
.pa-badge-avoir { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 9px; background: #FBF0DC; color: var(--pa-orange-fonce);
  font-size: 10px; font-weight: 600; white-space: nowrap; }
/* Carte de question secrète seule (Constitution du COMDIR, Utilisateurs) : 520 px, sans fond gris intérieur */
.pa-encadre-secret { width: 100%; max-width: 520px; align-self: flex-start; }
.pa-encadre-secret > .pa-secret { background: none; padding: 0; }

/* Liste vide : une ligne « Aucun élément pour le moment » sur toute la largeur, en gris */
.pa-liste tr.pa-liste-vide td, .pa-tableau tr.pa-liste-vide td { color: var(--pa-gris); white-space: normal; }
.pa-liste tbody tr.pa-liste-vide:hover, .pa-tableau tbody tr.pa-liste-vide:hover { background: none; }

/* Blocs indicateurs : un écart calculé s'affiche en petit, dans la couleur de son texte, sans fond (pas de pastille) */
.pa .pa-kpi .pa-ecart { height: auto; padding: 0; border-radius: 0; background: none; font-size: 12px; font-weight: 600; }

/* Listes : ligne Total collée à la dernière ligne (filet noir, la bordure claire de la ligne précédente ne l'efface plus),
   pagination 8 px sous la liste comme sur la maquette « Mes commandes » */
.pa-liste tfoot td, .pa-tableau tfoot td { border-top: 0; box-shadow: inset 0 1px 0 var(--pa-texte); }
.pa-liste:has(tfoot) tbody tr:last-child td { border-bottom: 0; }
.pa-liste + .pa-pagination, .pa-tableau + .pa-pagination { margin-top: 8px; }

/* Couleur fixe d'un chiffre dans un bloc indicateur (pourcentage d'une barre, écart) : prime sur le gris de .lbl / .sous */
.pa .pa-kpi .txt-VERT, .pa .pa-kpi .vert { color: var(--pa-vert); }
.pa .pa-kpi .txt-ROUGE, .pa .pa-kpi .rouge { color: var(--pa-rouge); }
.pa .pa-kpi .txt-ORANGE, .pa .pa-kpi .orange { color: var(--pa-orange-vif); }
.pa .pa-kpi .txt-NEUTRE, .pa .pa-kpi .neutre { color: var(--pa-texte); }

/* Ligne des filtres (pastilles, recherche) au-dessus d'un tableau : espace avant la ligne des titres de colonnes */
.pa-bloc > .pa-outils { margin-bottom: 10px; }

/* Formulaire d'administration (Créer un utilisateur, maquette 06j) : sections, champs sur deux colonnes, choix en cartes */
.pa-formulaire-admin, .pa-largeur-formulaire { max-width: 1032px; }
.pa-formulaire-admin h2 { margin: 4px 0 10px; }
.pa-formulaire-admin .champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.pa-formulaire-admin .champs label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 500; color: var(--pa-gris); margin: 0; }
.pa .pa-formulaire-admin .form-control, .pa .pa-formulaire-admin .form-select { height: 34px; font-size: 13px; color: var(--pa-texte); }
.pa .pa-formulaire-admin .form-select { padding-top: 0; padding-bottom: 0; }
.pa .pa-formulaire-admin .form-control[readonly] { background: var(--pa-neutre); }
.pa-choix { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.pa-choix legend { width: 100%; font-size: 12px; font-weight: 500; color: var(--pa-gris); margin-bottom: 6px; }
.pa-choix .option { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--pa-bordure-champ);
  border-radius: var(--pa-rayon-petit); font-size: 12px; font-weight: 600; cursor: pointer; margin: 0; }
.pa-choix .option:has(input:checked) { border-color: var(--pa-primaire); box-shadow: inset 0 0 0 1px var(--pa-primaire); }
.pa-choix .option .form-check-input { margin: 0; float: none; }
.pa-actions-formulaire { display: flex; justify-content: flex-end; gap: 8px; padding-top: 12px; border-top: 1px solid var(--pa-filet); }
.pa .pa-actions-formulaire .btn:not(.btn-primary) { border: 1px solid var(--pa-bordure-champ); background: #fff; color: var(--pa-texte); }

/* Ligne à confirmer (fond orange clair) : liseré orange vif de 4 px sur le bord gauche, toutes listes (maquette Les impayés) */
.pa-liste tr.a-confirmer > td:first-child, .pa-tableau tr.a-confirmer > td:first-child { box-shadow: inset 4px 0 0 var(--pa-alerte); }
.pa-formulaire-admin .champs.trois { grid-template-columns: repeat(4, 1fr); }
.pa-formulaire-admin .champs .double { grid-column: span 2; }
.pa-formulaire-admin .champs .triple { grid-column: span 3; }
/* Mon association · Personnalisation : dépôt du logo et du bandeau, trois couleurs */
.pa-formulaire-admin .pa-depots { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; }
.pa-depot .libelle { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.pa-depot-cadre { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px; border: 1px dashed #C9CBC4; border-radius: 8px; }
.pa-depot-cadre img.logo { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; }
.pa-depot-cadre img.bandeau { max-height: 38px; max-width: 160px; object-fit: contain; }
.pa-depot-cadre .aide { flex: 1 1 140px; font-size: 12px; color: var(--pa-texte-doux, #5B6169); }
.pa-depot-cadre form { display: flex; align-items: center; gap: 6px; margin: 0; }
.pa-depot-cadre input[type=file] { max-width: 220px; }
.pa-formulaire-admin .pa-couleurs-asso { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 14px; }
.pa-couleur-champ { display: flex; flex-direction: column; gap: 4px; }
.pa-couleur-champ > label:first-child { font-size: 12px; font-weight: 500; color: var(--pa-gris); }
.pa-couleur-saisie { display: flex; gap: 6px; }
.pa-couleur-saisie input[type=color] { width: 40px; height: 36px; padding: 2px; border: 1px solid #C9CBC4; border-radius: 6px; background: #FFFFFF; flex: none; }
.pa-couleur-saisie input[type=text] { font-variant-numeric: tabular-nums; text-transform: uppercase; height: 36px; }
.pa-couleur-champ .pa-erreur-champ { font-size: 11px; color: var(--pa-rouge); }
.pa-couleur-champ .pa-conseil-contraste { display: block; font-size: 11px; line-height: 1.35; color: #8A5200; }
.pa-formulaire-admin .champs .pa-couleur-champ label.pa-case { flex-direction: row; display: inline-flex; align-items: center; gap: 6px; font-weight: 400; font-size: 12px; }

/* 01b · Mon compte (maquette MonCompte) */
.pa-compte { display: flex; flex-direction: column; gap: 14px; }
.pa-compte .pa-compte-titre { align-items: baseline; }
.pa-compte .fl { font-size: 12px; color: var(--pa-gris); }
.pa-compte .fl.petit { font-size: 11px; }
.pa-compte .fl.bloc { display: block; }
.pa-compte .gras { font-weight: 600; }
.pa-compte-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.pa-carte { background: #FFFFFF; border: 1px solid var(--pa-bordure); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column;
    gap: 12px; min-width: 0; }
.pa-carte h2 { margin: 0; font-size: 15px; font-weight: 600; }
.pa-carte-etroite { max-width: 640px; }
.pa-carte-large { max-width: 860px; }
.pa-carte-deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pa-carte-cp { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; }
.pa-carte-formulaire { display: flex; flex-direction: column; gap: 8px; }
.pa-carte-pied { border-top: 1px solid #EFEFEA; padding-top: 8px; }
.pa-champ { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.pa-compte .ro { height: 34px; display: flex; align-items: center; padding: 0 10px; border-radius: 6px; background: #F5F5F2; font-size: 13px; color: #2E333A; }
.pa-compte .ro.entre, .pa-ligne-saisie.entre { justify-content: space-between; }
.pa-compte .ro .ti { color: #7A8089; }
.pa-ligne-saisie { display: flex; gap: 6px; }
.pa-ligne-saisie.centre { align-items: center; gap: 10px; flex-wrap: wrap; }
.pa-rattachement { border: 1px solid #EFEFEA; border-radius: 8px; padding: 8px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; }
.pa-rattachement strong { margin-right: auto; }
.pa-etiquette-profil { flex: none; font-size: 11px; font-weight: 600; border-radius: 10px; padding: 2px 8px; white-space: nowrap;
    background: color-mix(in srgb, var(--pa-primaire) 8%, transparent); color: var(--pa-primaire); }
.pa-confidentiel { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: #8A5200; background: #FBF0DC; border-radius: 10px; padding: 2px 8px; }
.pa-kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 10px; font-size: 13px; align-items: center; }
.pa-kv .k { font-size: 12px; color: var(--pa-gris); }
.pa-kv .masque { font-variant-numeric: tabular-nums; letter-spacing: .02em; color: #2E333A; }
.pa-rubrique { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--pa-gris); }
.pa-case-texte { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; cursor: pointer; margin: 0; }
.pa-case-texte input { margin-top: 3px; accent-color: var(--pa-primaire); }
.pa-appareils { display: flex; flex-direction: column; border: 1px solid #EFEFEA; border-radius: 8px; overflow: hidden; }
.pa-appareil { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid #EFEFEA; font-size: 13px; }
.pa-appareil:last-child { border-bottom: 0; }
.pa-appareil strong { flex: 1; min-width: 0; }
.pa .pa-compte .pa-carte .btn { height: 34px; min-height: 0; padding: 0 14px; font-size: 13px; }
.pa .pa-compte .pa-carte .btn-link { height: auto; padding: 0; text-decoration: underline; }
.pa .pa-compte .pa-appareil .btn { height: 30px; min-height: 0; padding: 0 10px; font-size: 12px; color: #111418; border-color: #D6D7D0; background: #FFFFFF; }
.pa-compte .lien { font-size: 13px; color: var(--pa-primaire); text-decoration: none; }
.pa-compte .noir { color: #111418; }
.pa-compte .pa-liste th.gauche { text-align: left; }
.pa-compte .pa-liste .centre { text-align: center; }
.pa-compte-oblige { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 8px; background: #FBE9E7; color: #B42318; font-size: 13px; }
.pa-compte-oblige > span { flex: 1; }
.pa-compte-message { padding: 10px 14px; border-radius: 8px; font-size: 13px; font-weight: 500; }
.pa-compte-message.ok { background: #E4F2EA; color: #1D7348; }
.pa-compte-message.ko { background: #FBE9E7; color: #B42318; }
@media (max-width: 860px) {
  .pa-compte-grille, .pa-carte-deux { grid-template-columns: 1fr; }
}

/* 06a · Mon tableau admin (maquette AdmTableau) : tuiles avec jauge, courbes et histogrammes SVG, variations */
.pa-tableau-admin { display: flex; flex-direction: column; gap: 14px; }
.pa-tuiles-comptes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pa .pa-tuile-compte { text-decoration: none; background: #FFFFFF; border: 1px solid var(--pa-bordure); border-radius: 10px; padding: 14px 16px;
    display: flex; flex-direction: column; gap: 6px; min-width: 0; color: inherit; }
.pa-tuile-compte .lbl { font-size: 12px; color: var(--pa-gris); }
.pa-tuile-compte strong { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: 30px; line-height: 1; color: #111418; }
.pa-tuile-compte strong.pa-chiffre-ACTIF { color: #1D7348; }
.pa-tuile-compte strong.pa-chiffre-INACTIF { color: #5B6169; }
.pa-tuile-compte.alerte strong.pa-chiffre-BLOQUE { color: #B42318; }
.pa-tuile-compte.alerte strong.pa-chiffre-VERROU { color: #C27C0E; }
.pa-jauge { width: 100%; height: 6px; display: block; }
.pa-jauge .fond { fill: #EDEDE8; }
.pa-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.pa-carte-tableau { background: #FFFFFF; border: 1px solid var(--pa-bordure); border-radius: 10px; padding: 12px 16px; display: flex;
    flex-direction: column; gap: 10px; min-width: 0; }
.pa-carte-tableau h2 { margin: 0; font-size: 14px; font-weight: 600; }
.pa-carte-entete { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pa-carte-entete .courant { font-size: 13px; font-weight: 600; }
.pa-legende { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: #2E333A; }
.pa-legende span { display: inline-flex; align-items: center; gap: 6px; }
.pa-legende i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.pa-courbes, .pa-histogramme { width: 100%; height: auto; display: block; }
.pa-courbes .axe { stroke: #E3E3DE; stroke-width: 1; }
.pa-courbes .trait { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.pa-courbes text, .pa-histogramme text { font-size: 17px; fill: var(--pa-gris); text-anchor: middle; }
.pa-histogramme text.valeur { font-weight: 600; fill: #111418; }
.pa-histogramme .barre { fill-opacity: .55; }
.pa-histogramme .barre.en-cours { fill-opacity: .38; }
/* couleur par série : remplissage (barres, légende, jauges) et trait (courbes) */
.pa-serie-TOUS { fill: #9AA0A8; background: #9AA0A8; stroke: #9AA0A8; }
.pa-serie-ACTIF { fill: #1D7348; background: #1D7348; stroke: #1D7348; }
.pa-serie-INACTIF { fill: #9AA0A8; background: #9AA0A8; stroke: #9AA0A8; }
.pa-serie-BLOQUE { fill: #B42318; background: #B42318; stroke: #B42318; }
.pa-serie-VERROU, .pa-serie-DEM_MDP { fill: #C27C0E; background: #C27C0E; stroke: #C27C0E; }
.pa-serie-ADHERENT, .pa-serie-AGENT { fill: var(--pa-primaire); background: var(--pa-primaire); stroke: var(--pa-primaire); }
.pa-serie-COMDIR, .pa-serie-DIRECTION { fill: #7C8FE6; background: #7C8FE6; stroke: #7C8FE6; }
.pa-serie-ADMIN { fill: #D8B26E; background: #D8B26E; stroke: #D8B26E; }
.courant.pa-chiffre-ACTIF { color: #1D7348; } .courant.pa-chiffre-INACTIF { color: #5B6169; } .courant.pa-chiffre-BLOQUE { color: #B42318; }
.courant.pa-chiffre-VERROU, .courant.pa-chiffre-DEM_MDP { color: #C27C0E; } .courant.pa-chiffre-ADHERENT, .courant.pa-chiffre-AGENT { color: var(--pa-primaire); }
.courant.pa-chiffre-COMDIR, .courant.pa-chiffre-DIRECTION { color: #7C8FE6; } .courant.pa-chiffre-ADMIN { color: #A47B2E; }
.pa-variation { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11px; font-weight: 600; }
.pa-variation.VERT { background: #E4F2EA; color: #1D7348; } .pa-variation.ROUGE { background: #FBE9E7; color: #B42318; }
.pa-variation.GRIS { background: #F0F0EB; color: #5B6169; }
.pa-tableau-admin .pa-liste th.gauche { text-align: left; }
.pa-note-mois { font-size: 11px; color: var(--pa-gris); }
@media (max-width: 860px) {
  .pa-tuiles-comptes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pa-duo { grid-template-columns: 1fr; }
}

/* Menu : compteur rouge à droite d'une entrée (Comptes bloqués des profils admin, maquettes 06) */
.pa-compteur-menu { margin-left: auto; font-size: 11px; font-weight: 700; color: #B42318; }
/* Menu : pastille fournie par un module (EntreeMenu.pastille) ; NEUTRE = couleur du menu, ECHEANCE = « J-4 », ALERTE = rouge */
.pa-pastille-menu { margin-left: auto; padding-left: 6px; font-size: 11px; font-weight: 700; }
.pa-pastille-menu.ECHEANCE { font-weight: 600; color: #9A5B00; } .pa-pastille-menu.ALERTE { color: #B42318; }

/* Interrupteur On / Off (activation des modules) : un seul bouton, vert = actif, gris = inactif (socle/liste :: interrupteur) */
.pa .pa-interrupteur { position: relative; display: inline-flex; align-items: center; width: 52px; height: 22px; padding: 0 8px; border: 0;
  border-radius: 11px; background: var(--pa-gris-clair); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em;
  cursor: pointer; justify-content: flex-end; transition: background-color .15s; vertical-align: middle; }
.pa .pa-interrupteur::before { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: left .15s; }
.pa .pa-interrupteur.actif { background: var(--pa-vert); justify-content: flex-start; }
.pa .pa-interrupteur.actif::before { left: 33px; }
.pa .pa-interrupteur:focus-visible { outline: 2px solid var(--pa-primaire); outline-offset: 2px; }

/* RG_SEC_FIN_MASQUAGE (general.md § 1.9) : montants masqués, encadré de déverrouillage au-dessus du contenu */
.pa-colonne { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pa-colonne > .pa-contenu { flex: 1; }
.pa-financier { margin-top: 18px; }
.pa-financier-titre { font-weight: 700; }
.pa-financier-erreur { font-weight: 600; margin-top: 4px; }
.pa-financier .pa-secret-form { margin-top: 8px; }
.pa-financier .pa-secret-form label { color: #fff; }
