/* ==========================================================================
   extranet.css — Design system unique, chargé sur TOUTES les pages
   (Hospices + Nìderwind)

   Fonts    : IBM Plex Sans (interface) / JetBrains Mono (chiffres)
   Chargé via : /includes/head_assets.php (fonts + lien vers ce fichier)

   Règle d'or : toute nouvelle page réutilise ces classes plutôt que
   d'écrire un <style> local. Si un composant manque, on l'ajoute ICI,
   pas dans la page.
   ========================================================================== */

:root {
  /* --- Fonts --- */
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* --- Neutres --- */
  --bg: #F8F8F6;
  --bg-card: #FFFFFF;
  --text: #2B2D2A;
  --text-muted: #8C8F89;
  --border: #E9E7E2;

  /* --- Header (fond volontairement fixe, ne suit pas le thème clair/sombre) --- */
  --header-bg: #2B2D2A;
  --header-text: #FFFFFF;
  --header-text-muted: #B5B7B0;
  --header-border: rgba(255,255,255,0.15);

  /* --- Accent (action principale — à utiliser avec parcimonie) --- */
  --accent: #D9663B;
  --accent-hover: #C2532C;
  --accent-light: #FBEAE1;

  /* --- Graphique suivi de fermentation (densité / température — deux séries
     distinctes, jamais confondues avec --accent qui reste réservé aux actions) --- */
  --color-densite: #2a78d6;
  --color-temperature: #eb6834;

  /* --- Identité espaces --- */
  --niderwind: #3D5A47;
  --niderwind-bg: #E8EDE9;
  --hospices: #8B6F47;
  --hospices-bg: #F5EFE6;

  /* --- Sémantique statuts --- */
  --success: #4A7C59;
  --success-bg: #E8F0EA;
  --warning: #C9A227;
  --warning-bg: #FBF4DE;
  --danger: #B54834;
  --danger-bg: #FBEAE6;
  --info: #5C7A8A;
  --info-bg: #EAF0F2;

  /* --- Rayons / ombres --- */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-modal: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Thème sombre — activé via [data-theme="dark"] sur <html>
   Toutes les valeurs ci-dessus sont redéfinies ; le reste du CSS
   (composants) n'a rien à connaître du thème, il lit juste les variables.
   ========================================================================== */

html[data-theme="dark"] {
  --bg: #1E201D;
  --bg-card: #262825;
  --text: #ECEBE7;
  --text-muted: #9A9D96;
  --border: #3A3D38;

  --accent: #E37A50;
  --accent-hover: #ED9268;
  --accent-light: #3A2620;

  --color-densite: #3987e5;
  --color-temperature: #d95926;

  --niderwind: #8FB39B;
  --niderwind-bg: #253028;
  --hospices: #C9A87D;
  --hospices-bg: #332A1E;

  --success: #7DAE8B;
  --success-bg: #22301F;
  --warning: #D8B655;
  --warning-bg: #332B18;
  --danger: #D9846F;
  --danger-bg: #33201C;
  --info: #8CAAB8;
  --info-bg: #1F2A2E;

  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-modal: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Transition douce lors du basculement clair/sombre */
body, .card, table.data, .modal, .btn-sm, header.top, .toolbar {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* ==========================================================================
   Toggle jour/nuit
   ========================================================================== */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  transition: all 0.15s ease;
}
.theme-toggle:hover { border-color: var(--accent); }
header.top .theme-toggle { border-color: var(--header-border); color: var(--header-text); }
header.top .theme-toggle:hover { border-color: var(--accent); }

/* ==========================================================================
   Reset minimal + base
   ========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* Colonnes/valeurs chiffrées : volumes, prix, quantités, % */
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Header + toolbar (communs à toutes les pages)
   ========================================================================== */

header.top {
  background: var(--header-bg);
  color: var(--header-text);
  padding: 18px 32px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

header.top .brand {
  text-decoration: none;
  color: inherit;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

header.top .user-info {
  font-size: 11px;
  color: var(--header-text-muted);
}
header.top .user-info a { color: inherit; }

/* ==========================================================================
   Navigation secondaire (menu Hospices — nav.php)
   Fond fixe, indépendant du thème, comme le header (mêmes variables --header-*)
   ========================================================================== */

.main-nav {
  background: var(--header-bg);
  padding: 0 32px;
  display: flex;
}
.nav-link {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--header-text-muted);
  text-decoration: none;
  padding: 11px 16px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--header-text); }
.nav-link.nav-active { color: var(--header-text); border-bottom-color: var(--accent); }

.toolbar {
  padding: 16px 32px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.toolbar input[type="search"],
.toolbar input[type="text"] {
  font-family: var(--font-sans);
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  min-height: 36px;
  background: var(--bg-card);
  color: var(--text);
}

/* Bandeau d'avertissement (ex : "Connexion API non configurée") */
.cfg-bar {
  background: var(--warning-bg);
  border-bottom: 1px solid var(--warning);
  padding: 10px 32px;
  font-size: 12px;
  color: var(--warning);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Ligne de statistiques au-dessus d'une liste (ex : "12 actifs / 15 au total") */
.stats-bar {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  gap: 20px;
}
.stats-bar strong { color: var(--text); }

.container { padding: 28px 32px; }

/* ==========================================================================
   Boutons
   ========================================================================== */

.btn-sm {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 36px;
}
.btn-sm:hover { border-color: var(--text-muted); }
.btn-sm.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-sm.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-sm:disabled { opacity: .4; cursor: not-allowed; }
.btn-sm:disabled:hover { border-color: var(--border); }
.btn-sm.active { background: var(--accent-light); color: var(--accent); border-color: var(--accent); font-weight: 700; }

/* Boutons "pleine taille" pour les formulaires/CTA de page */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  min-height: 44px;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg); }

/* ==========================================================================
   Cards (vue libre, hors tableau)
   ========================================================================== */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s ease;
}
.card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.card-title { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.card-meta { font-size: 13px; color: var(--text-muted); }

/* ==========================================================================
   Fiches (fiche.php et pages similaires — contenu centré en colonne)
   ========================================================================== */

.container { max-width: 800px; margin: 0 auto; padding: 32px; }

.section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.section h2 {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 600;
}

.fiche-titre { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.fiche-sous-titre { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

.infos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 8px; }
.info-item strong { display: block; font-size: 15px; }
.info-item span { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }

.inline-form { display: flex; gap: 8px; align-items: flex-end; margin-top: 12px; flex-wrap: wrap; }

/* Ligne label / valeur dans une fiche détail (ex : fiche sociétaire) */
.fiche-field { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.fiche-field:last-child { border-bottom: none; }
.fiche-field label { font-size: 11px; color: var(--text-muted); }
.fiche-field span { text-align: right; }

/* Select autonome (hors .mfield), ex: sélecteur de vin dans la toolbar */
select {
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  min-width: 280px;
  min-height: 40px;
}

/* Variante compacte : barres de filtres (plusieurs selects côte à côte) */
select.select-filter {
  min-width: 150px;
  font-size: 12px;
  padding: 7px 8px;
  min-height: 36px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}
.filter-check input { min-height: auto; cursor: pointer; }

/* ==========================================================================
   Tableaux (cuves, lots, tarifs, BL...)
   ========================================================================== */

table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
table.data th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding: 12px 14px;
}
table.data td {
  font-size: 14px;
  padding: 14px;
  border-bottom: 1px solid #f0efec;
}
table.data tr.cuve-row:hover td,
table.data tr.data-row:hover td {
  background: var(--bg);
}
table.data tr.cuve-rouge td { background: rgba(139, 0, 0, 0.22); }
table.data tr.cuve-rouge:hover td { background: rgba(139, 0, 0, 0.30); }
table.data tr.data-row.inactif td { opacity: .55; }
table.data tfoot td {
  font-size: 13px;
  padding: 12px 14px;
  border-top: 2px solid var(--border);
  border-bottom: none;
  background: var(--bg);
}

/* ==========================================================================
   Badges — statuts, espace (Hospices/Nìderwind), type de contenu
   ========================================================================== */

.badge, .type-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: .02em;
}

.badge-niderwind { background: var(--niderwind-bg); color: var(--niderwind); }
.badge-hospices  { background: var(--hospices-bg);  color: var(--hospices); }
.badge-success   { background: var(--success-bg);   color: var(--success); }
.badge-warning   { background: var(--warning-bg);   color: var(--warning); }
.badge-danger    { background: var(--danger-bg);    color: var(--danger); }
.badge-info      { background: var(--info-bg);      color: var(--info); }

/* Alias utilisés dans les vues cave.php (lot de base / assemblage) */
.type-lot        { background: var(--info-bg);      color: var(--info); }
.type-assemblage { background: var(--hospices-bg);  color: var(--hospices); }

.etat-vin { color: var(--success); font-weight: 600; }
.etat-hs  { color: var(--danger); }
.etat-eau { color: var(--warning); font-weight: 600; }

/* Tampon certification bio — volontairement plein (pas en pastille comme les autres badges) */
.bio-tag {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--success);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: .04em;
}

/* ==========================================================================
   Modals (création/édition — cuve, lot, assemblage, analyses, opérations...)
   ========================================================================== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(43, 45, 42, 0.55);
  z-index: 200;
  align-items: flex-start;
  justify-content: center;
  padding: 32px;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-card);
  width: 100%;
  max-width: 480px;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-modal);
  margin: auto;
  position: relative;
}

/* Croix de fermeture, en haut à droite de chaque modal */
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.modal-close:hover { background: var(--bg); color: var(--text); }
.modal h2 {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 600;
}

.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.modal-grid.thirds { grid-template-columns: 1fr 1fr 1fr; }
.modal-grid.quarters { grid-template-columns: 1fr 1fr 1fr 1fr; }
.modal-grid.full { grid-template-columns: 1fr; }

.modal-section {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin: 20px 0 14px;
  font-weight: 600;
}

.toolbar-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }

.radio-row { display: flex; gap: 16px; align-items: center; padding: 7px 0; }
.radio-row label { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text); cursor: pointer; }
.radio-row input[type=radio] { accent-color: var(--accent); }

.mfield { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mfield label { font-size: 11px; letter-spacing: 0.02em; color: var(--text-muted); font-weight: 500; }
.mfield input, .mfield select, .mfield textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  min-height: 40px;
  width: 100%;
  min-width: 0; /* sans ça, un <select> hérite du min-width:280px de la règle générale
                   plus bas, et un <input>/<textarea> garde la largeur minimale par
                   défaut du navigateur : dans une grille à 3-4 colonnes, ça force la
                   colonne (et donc toute la fiche) à dépasser sa largeur prévue. */
}
.mfield input[readonly] { background: var(--bg); color: var(--text-muted); }
.mfield input[disabled], .mfield select[disabled], .mfield textarea[disabled] {
  background: var(--bg); color: var(--text-muted); cursor: not-allowed;
}

/* Case "Verrouiller ce BL" */
.verrou-bloc { margin-bottom: 14px; }
.verrou-case { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; }
.verrou-case input[type=checkbox] { accent-color: var(--danger); width: 16px; height: 16px; }

/* Bloc compact "label : valeur" pour l'identification en lecture pure d'un
   BL (sociétaire, cépage, millésime, n° de lot, bio) — fixés à la génération
   du BL. Deux colonnes, chaque ligne tient sur une seule ligne de texte, pas
   de boîte type input. */
.identification-compacte {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  margin-bottom: 12px;
  font-size: 14px;
}
.identification-compacte .id-ligne { color: var(--text); }
.identification-compacte .id-label { color: var(--text-muted); font-weight: 500; }

/* Variante pour champs à valeur courte (années, chiffres, oui/non...) — évite
   l'étirement inutile sur toute la largeur de la colonne de grille. */
.mfield.narrow input, .mfield.narrow select {
  max-width: 90px;
  min-width: 0; /* la règle générale "select" impose min-width:280px, on l'annule ici */
}

.modal-actions { display: flex; gap: 8px; margin-top: 20px; justify-content: flex-end; }

.btn-save {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  cursor: pointer;
  min-height: 40px;
}
.btn-save:hover { background: var(--accent-hover); }

.btn-cancel {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  cursor: pointer;
  min-height: 40px;
}

/* ==========================================================================
   États divers
   ========================================================================== */

.empty {
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
  font-size: 14px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--header-bg);
  color: var(--header-text);
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
  pointer-events: none;
  z-index: 300;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ==========================================================================
   Suivi de fermentation (FA) — graphique fusionné densité/température,
   partagé par le modal inclus depuis cave.php et fiche.php
   ========================================================================== */

.fermentation-chart-merged { position: relative; }
.fermentation-chart-legend {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.fermentation-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.fermentation-legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* Un seul cadre visuel pour les deux courbes (même axe des temps), pas deux graphiques
   séparés : la séparation entre densité et température se lit par un simple filet, le
   curseur au survol traverse tout le cadre en une seule ligne continue. */
.fermentation-chart-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 4px 2px;
}
.fermentation-chart-panel-inner { padding: 2px 0; }
.fermentation-chart-panel-densite { border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.fermentation-chart-axis { margin-top: 2px; }
.fermentation-guide-overlay {
  display: none;
  position: absolute;
  top: 6px;
  bottom: 22px;
  width: 0;
  border-left: 1px dashed var(--text-muted);
  pointer-events: none;
  z-index: 1;
}
.fermentation-chart-empty {
  font-size: 12px;
  color: var(--text-muted);
  padding: 24px 0;
  text-align: center;
}
.fermentation-chart-tooltip {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background: var(--header-bg);
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}

/* ==========================================================================
   Accueil Hospices (index.php) — sélection de campagne + cartes outils.
   Les cartes elles-mêmes réutilisent .card/.card-title/.card-meta ; il ne
   manquait que la grille et l'état actif/inactif selon la campagne choisie.
   ========================================================================== */

.campagne-statut {
  display: none;
  font-size: 12px;
  color: var(--success);
  margin-top: 12px;
}
.campagne-statut.show { display: block; }

.outils-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.outil-card {
  text-decoration: none;
  color: inherit;
  display: block;
  opacity: 0.4;
  pointer-events: none;
}
.outil-card.actif { opacity: 1; pointer-events: auto; }

.outil-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* ==========================================================================
   Messages de retour d'action (succès / erreur), toutes pages
   ========================================================================== */

.msg {
  font-size: 13px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.msg-ok     { background: var(--success-bg); color: var(--success); }
.msg-erreur { background: var(--danger-bg);  color: var(--danger); }

/* ==========================================================================
   Pages publiques d'authentification (login.php, mot_de_passe.php)
   ========================================================================== */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.auth-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 36px 28px;
  width: 100%;
  max-width: 380px;
}
.auth-brand {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}
.auth-sub { font-size: 13px; color: var(--text-muted); margin: 4px 0 24px; }
.auth-box .mfield { margin-bottom: 16px; }
.auth-box .btn { width: 100%; margin-top: 4px; }
.auth-aide { font-size: 12px; color: var(--text-muted); margin-top: 18px; line-height: 1.6; }

/* Champ identifiant (code sociétaire à 4 lettres) */
.mfield input.input-code {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ==========================================================================
   Pages de liste larges (ex : comptes sociétaires) — la règle .container
   des fiches limite à 800px, trop étroit pour un tableau à 5 colonnes
   ========================================================================== */

.container.container-large { max-width: 1100px; }
.actions-liste { margin-bottom: 14px; }
td.cellule-adresses { font-size: 12px; color: var(--text-muted); word-break: break-word; }

/* ==========================================================================
   Accessibilité / tablette
   ========================================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
