/* ============================================================
   css/geostudio-decisions.css — Lémap : les DÉCISIONS (verdicts, Rentabilité, vues d'aide à la décision) — 20/10/2026
   Les blocs de js/geostudio-decisions.js réutilisent les composants du socle (css/geostudio.css : gs-verdict, gs-kpi, gs-table,
   gs-defile…) et ceux des écrans d'analyse (css/geostudio-analyses.css : gs-an-…). Ici, seulement ce qui leur est propre,
   préfixé gs-an et SANS ancêtre .gs (les Fenêtres du Deck recopient les blocs hors de la page). Couleurs du HUB seulement.
   ============================================================ */

/* un écran sans verdict (une donnée manque : la règle n'en donne pas) ne garde pas de place vide */
.gs-an [data-mon-verdict]:empty { display: none; }

/* lot 2b — un Kiabi « en face » : une ligne de « Ce que perd chaque Kiabi voisin » se clique (le bouton garde la mise en page de gs-barre) */
button.gs-an-barre-clic { width: 100%; background: none; border: 0; padding: 2px 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: var(--radius-sm, 6px); }
button.gs-an-barre-clic:hover, button.gs-an-barre-clic:focus-visible { background: var(--primary-soft-2, #f6f5ff); outline: none; }
.gs-an-perte-txt { color: var(--gs-risque-encre, #b13650); }
.gs-an-gain-txt { color: var(--gs-ok-encre, #12784a); }
/* lot 2c — ouvrir et fermer en même temps : les cases « Fermer aussi », la ligne du gain du réseau en évidence */
.gs-an-combine-choix { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 8px 0; }
.gs-an-combine th[scope="row"], .gs-an-combine thead th { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--text, #1d2033); }
.gs-an-combine { table-layout: fixed; width: 100%; }   /* les colonnes se partagent la largeur : rien ne sort du cadre (Mika : « c'est coupé ») */
.gs-an-combine th[scope="row"] { text-align: left; font-weight: 600; width: 19%; }
table.gs-table.gs-an-combine thead th, table.gs-table.gs-an-combine td { white-space: normal; overflow-wrap: anywhere; vertical-align: bottom; }
.gs-an-combine thead th { font-weight: 700; }
.gs-an-combine tr.gs-an-total td, .gs-an-combine tr.gs-an-total th { background: var(--primary-soft-2, #f6f5ff); }
/* « Ouvrir un Kiabi ici » : la ligne posée sous la carte après un clic sur un lieu (commune, GSA, concurrent…) */
.gs-an-ici { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 8px 0; padding: 8px 12px; border-radius: var(--radius-sm, 6px); background: var(--primary-soft-2, #f6f5ff); border: 1px solid var(--border-2, #e1e2ec); }
.gs-an-ici .gs-aide { flex: 1 1 200px; }
/* lot 22 — les règles de Kiabi, une ligne chacune */
.gs-an-regles { list-style: none; margin: 6px 0 0; padding: 0; }
.gs-an-regles li { margin: 4px 0; line-height: 1.45; }
