:root {
  --bg: #f4f5f9;
  --surface: #ffffff;
  --border: #e8eaf1;
  --text: #1f2430;
  --text-muted: #6b7280;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-hover: 0 4px 14px rgba(16, 24, 40, 0.1);

  --blue: #2f6fed;
  --blue-bg: #eaf1ff;
  --purple: #7c4dff;
  --purple-bg: #f2eeff;
  --green: #12b76a;
  --green-bg: #e7f9ef;
  --orange: #f59e0b;
  --orange-bg: #fef3e2;
  --pink: #ef5da8;
  --pink-bg: #fdeaf3;
  --red: #d92d20;
  --red-bg: #fdeeee;
}

* { box-sizing: border-box; }

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

header {
  background: var(--surface);
  border-bottom: 1px solid #1f2430;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

header nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

header nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

header nav a.brand {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}

.brand-logo {
  height: 62px;
  width: auto;
  display: block;
}

header nav a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-accueil, .nav-avec-badge { display: inline-flex; align-items: center; gap: 0.35rem; }

.badge-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.3rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  vertical-align: middle;
}

.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.nav-dropdown-trigger:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.75rem;
  z-index: 10;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow-hover);
  padding: 0.9rem 1.1rem;
  min-width: 170px;
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.4rem 0;
  text-transform: none;
  font-weight: 500;
  letter-spacing: normal;
  white-space: nowrap;
  color: var(--text);
}

.nav-dropdown-panel a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

header .profil {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.avatar-trigger {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.avatar-dropdown-menu { left: auto; right: 0; }

.avatar-nom {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  padding-bottom: 0.6rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.avatar-deconnexion {
  background: none;
  border: none;
  padding: 0.3rem 0;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.avatar-deconnexion:hover { text-decoration: underline; }

main {
  padding: 2rem 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

h1 { font-size: 1.5rem; margin-bottom: 0.25rem; }
h2 { font-size: 1.1rem; margin-top: 2.25rem; }

table {
  border-collapse: collapse;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table-scroll { overflow-x: auto; border-radius: var(--radius); }

.colonne-echeance { white-space: nowrap; min-width: 130px; }

th, td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.92rem;
}

th {
  background: #fafbfd;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafbfd; }

a { color: var(--blue); }

th a { text-decoration: none; }
th a:hover { text-decoration: underline; text-underline-offset: 3px; }

.entete-triable { display: inline-flex; align-items: center; gap: 0.3rem; }
.tri-icone { display: inline-flex; color: var(--text-muted); opacity: 0.45; }
.tri-icone-actif { color: var(--blue); opacity: 1; }

.actions-icones { display: flex; gap: 0.4rem; white-space: nowrap; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
}

.icon-btn:hover { background: var(--blue-bg); color: var(--blue); border-color: var(--blue-bg); }
.icon-btn-danger:hover { background: var(--red-bg); color: var(--red); border-color: var(--red-bg); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}

.filtres {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: end;
  margin-bottom: 1.25rem;
}

.filtres label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

/* Variante avec icone devant le libelle, pour les champs de filtre
   principaux (Annee, Echeance, Agence...) - ne s'applique pas aux labels
   imbriques (options de menu Agence/Colonnes) qui restent sur .filtres label. */
.filtres label.label-titre {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Meme decalage que .champ-icone-svg / .champ-pill-icone, pour que l'icone
   du libelle tombe exactement au-dessus de celle du champ en dessous. */
.label-icone { display: inline-flex; margin-left: 0.85rem; color: var(--text-muted); flex-shrink: 0; }

.filtres select, .filtres input {
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

/* Filtres "segments" : cases a cocher stylees en tuiles arrondies */
/* flex-basis:100% ne joue que lorsque .slicers est lui-meme un item flex
   (imbrique dans .filtres, comme sur Prestations/Contractuels/Statistiques) :
   force alors un retour a la ligne et une largeur pleine, au lieu de se
   contenter de la largeur intrinseque de son contenu. Sans effet quand
   .slicers est un bloc autonome (Tableau de bord, Copropriétés). */
.slicers { display: flex; flex-wrap: wrap; flex: 1 1 100%; gap: 0.9rem; margin-bottom: 1.25rem; }

.slicer {
  flex: 1 1 220px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slicer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0.85rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}

.slicer-titre { display: flex; align-items: center; gap: 0.5rem; }
.slicer-icone { display: inline-flex; color: var(--text-muted); }

.slicer-clear {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
}

.slicer-clear:hover { background: var(--bg); color: var(--text); }

.slicer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 0.85rem;
}

.slicer-tile { min-width: 0; }
.slicer-tile input { display: none; }

.slicer-tile span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.1s ease, border-color 0.1s ease;
}

.slicer-tile span:hover { border-color: var(--blue); }

.slicer-tile span .slicer-coche {
  display: none;
  color: #fff;
  flex-shrink: 0;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

.slicer-tile input:checked + span {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 600;
}

.slicer-tile input:checked + span .slicer-coche { display: inline-flex; }

.entete-tableau {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.menu-colonnes { position: relative; }

.menu-colonnes summary.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.menu-colonnes summary.btn::-webkit-details-marker { display: none; }

.menu-colonnes-panneau {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 20;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.15rem 1rem;
  min-width: 380px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Variante a une seule colonne (liste empilee), pour les menus a peu
   d'options comme le choix de l'agence. */
.menu-colonnes-panneau-liste {
  grid-template-columns: 1fr;
  min-width: 200px;
  gap: 0.1rem;
}

.menu-colonnes-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  white-space: nowrap;
  cursor: pointer;
}

.menu-colonnes-item:hover { background: var(--blue-bg); }

.menu-colonnes-item input { width: auto; accent-color: var(--blue); }
.menu-colonnes-item input[type="checkbox"] { width: 1rem; height: 1rem; }

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.05s ease;
}

.btn:hover { background: #2159c4; }
.btn:active { transform: translateY(1px); }

.btn-secondary { background: #eef0f4; color: var(--text); }
.btn-secondary:hover { background: #e2e5eb; }

.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #b8241c; }

form.inline { display: inline; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem;
}

.form-grid label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  color: var(--text-muted);
}

.form-grid input, .form-grid select {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.input-discret {
  border: 1px solid transparent;
  background: transparent;
  padding: 0.3rem 0.4rem;
  font-size: 0.85rem;
  border-radius: 4px;
  width: 100%;
  color: var(--text);
  font-family: inherit;
}

.input-discret:hover { border-color: var(--border); }
.input-discret:focus { border-color: var(--blue); background: var(--surface); outline: none; }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
}

.badge-grande {
  padding: 0.3rem 0.85rem;
  font-size: 0.95rem;
  vertical-align: middle;
}

.badge-en_retard { background: var(--red); }
.badge-a_venir { background: #94a0b3; }
.badge-termine { background: var(--green); }
.badge-aucun_exercice, .badge-inconnu { background: var(--orange); }
.badge-attente_comptes { background: var(--orange); }
.badge-a_verifier { background: var(--purple); }
.badge-a_convoquer { background: var(--red); }
.badge-convoquee { background: var(--blue); }
.badge-pv_a_diffuser { background: var(--pink); }

.flash {
  padding: 0.7rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.flash-ok { background: var(--green-bg); color: #0a6b41; }
.flash-error { background: var(--red-bg); color: #9c2626; }

.muted { color: var(--text-muted); font-size: 0.85rem; }

.camembert-conteneur {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}

.camembert {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  flex-shrink: 0;
}

.camembert-legende {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.camembert-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.camembert-puce {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.camembert-nom { font-weight: 600; min-width: 160px; }

.accueil-titre {
  font-size: 1.6rem;
  margin-bottom: 0.1rem;
}

.compteur-lien { color: var(--blue); }

.cell-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--blue-bg);
  color: var(--blue);
  margin-right: 0.5rem;
  vertical-align: middle;
}

.cell-icone-muette {
  background: transparent;
  color: var(--text-muted);
  width: auto;
  margin-right: 0.4rem;
}

.badge-jours {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.badge-jours-rouge { background: var(--red); }
.badge-jours-orange { background: var(--orange); }
.badge-jours-vert { background: var(--green); }
.badge-jours-critique { background: #7f1d1d; }

.filtre-accueil {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.filtre-accueil select {
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.case-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
}

.case-inline input { width: auto; }

.toggle-switch { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; }
.toggle-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.toggle-slider {
  position: absolute; inset: 0;
  background: #d3d3d3;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.toggle-slider::before {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.25);
  transition: transform 0.15s ease;
}
.toggle-switch input:checked + .toggle-slider { background: var(--blue); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); }
.toggle-switch input:focus-visible + .toggle-slider { outline: 2px solid var(--blue); outline-offset: 2px; }

tr.ligne-urgente td { background: var(--red-bg); }
tr.ligne-urgente:hover td { background: #fbdfdd; }

tr.ligne-critique td { background: #fbe4e4; }
tr.ligne-critique:hover td { background: #f7d0d0; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.pagination-pages { display: flex; align-items: center; gap: 0.3rem; }

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  cursor: pointer;
}

.page-btn:hover { background: var(--blue-bg); color: var(--blue); border-color: var(--blue-bg); }
.page-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.page-btn.disabled { color: var(--border); cursor: default; }
.page-btn.disabled:hover { background: var(--surface); border-color: var(--border); }

.page-ellipsis { color: var(--text-muted); padding: 0 0.2rem; }

.pagination-taille {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pagination-taille select {
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

table input[type="date"] {
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text);
  font-family: inherit;
}

table input[type="date"]:focus { border-color: var(--blue); outline: none; }

.table-centree th, .table-centree td { text-align: center; }

.montant-negatif { color: var(--red); font-weight: 600; }

.cellule-chiffre { text-align: center; white-space: nowrap; }

.ligne-total td { border-top: 2px solid var(--border); background: var(--bg); }

@media print {
  header, .no-print { display: none !important; }

  @page { size: A4 landscape; margin: 1.2cm; }

  /* main a un max-width pense pour l'ecran (1200px) : sans cette
     reinitialisation, un tableau imprime resterait cantonne a cette largeur
     au lieu d'occuper toute la largeur d'une page A4 paysage. */
  main { max-width: none; margin: 0; padding: 0; }

  .table-scroll { overflow: visible; }
  table { width: 100%; font-size: 0.72rem; }
  th, td { padding: 0.3rem 0.4rem; }

  /* Les liens (N° de copropriete) n'ont aucun interet sur papier : on les
     neutralise pour qu'ils se lisent comme du texte normal. */
  table a { color: inherit; text-decoration: none; }

  tr { page-break-inside: avoid; }

  /* Le camembert est un simple background conic-gradient : sans cette
     regle, la plupart des navigateurs l'omettent a l'impression (meme si
     "Imprimer les graphiques d'arriere-plan" reste a activer manuellement
     dans certains navigateurs, cote reglages de la boite de dialogue). */
  .camembert {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* Tableau de bord : variante arrondie des filtres, avec icones integrees */
.filtres-modernes { align-items: center; }

/* Non scope a .filtres-modernes : la barre de recherche (.champ-recherche)
   reutilise ce meme motif d'icone integree en dehors du formulaire de filtres. */
.champ-icone { position: relative; display: flex; align-items: center; }

.champ-icone-svg,
.champ-icone-svg-droite {
  position: absolute;
  display: flex;
  color: var(--text-muted);
  pointer-events: none;
}

.champ-icone-svg { left: 0.85rem; }
.champ-icone-svg-droite { right: 0.85rem; }

.filtres-modernes input,
.filtres-modernes select {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.55rem 2.2rem;
  font-size: 0.9rem;
  min-width: 140px;
}

.filtres-modernes select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Le champ Annee garde les fleches natives d'increment/decrement : pas de
   appearance:none ici, sinon Chrome/Firefox les masquent. */
.filtres-modernes input[type="number"] { padding-right: 0.6rem; min-width: 110px; }

.btn-pill {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* Menu deroulant (multi-selection) qui reprend l'apparence d'un champ pilule
   comme Echeance, plutot que le bouton grisé habituel du menu colonnes. */
.champ-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  font-size: 0.9rem;
  min-width: 140px;
  cursor: pointer;
  color: var(--text);
  list-style: none;
}

.champ-pill::-webkit-details-marker { display: none; }
.champ-pill svg { color: var(--text-muted); flex-shrink: 0; }
.champ-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.champ-pill-groupe { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; }
.champ-pill span.champ-pill-icone {
  display: inline-flex;
  flex-shrink: 0;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
}

.label-fantome { visibility: hidden; }

.champ-recherche input {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.4rem 0.8rem 0.4rem 2rem;
  font-size: 0.85rem;
  width: 180px;
}

.stats-icones {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.stats-icones .stats-icone { display: inline-flex; align-items: center; gap: 0.4rem; }
.stats-icones .stats-sep { color: var(--border); }

.date-clic {
  display: inline-block;
  padding: 0.3rem 0.4rem;
  border-radius: 4px;
  cursor: pointer;
  color: var(--text);
}

.date-clic:hover { background: var(--border); }

.date-cachee { display: none; }

.champ-remise {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.champ-remise-texte { width: 85px; }

.icon-btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 4px;
  flex-shrink: 0;
}

.icon-btn-mini:hover { background: var(--blue-bg); color: var(--blue); }

.champ-remise-aide {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  border: none;
  pointer-events: none;
}
