/* Optimus Web. Pensé pour tablette d'abord (cibles tactiles ≥ 40px). */
:root {
  --fond: #f4f5f2;
  --carte: #ffffff;
  --texte: #1d2320;
  --doux: #5f6b65;
  --ligne: #dde2dc;
  --accent: #3AAA35;        /* couleur principale : boutons, éléments actifs (thème vert par défaut) */
  --accent-fonce: #277A24;  /* vert foncé lisible : bandeau, liens, survol */
  --accent-clair: #e6f4e5;  /* fonds légers */
  --danger: #a3332b;
  --attention: #9a6a00;
  --rayon: 8px;
  font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--fond); color: var(--texte); line-height: 1.45; }
a { color: var(--accent-fonce); }
h1 { font-size: 1.5rem; margin: 0 0 .25rem; }
h2 { font-size: 1.15rem; margin: 0 0 .75rem; }
h3 { font-size: 1rem; margin: 1rem 0 .5rem; }
small, .aide, .sous-titre { color: var(--doux); }
.sous-titre { margin: 0; }
.inline { display: inline; }
.cache { display: none; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9rem; }
.vide { color: var(--doux); font-style: italic; text-align: center; }

/* Barre de navigation */
.barre { display: flex; align-items: center; gap: 1rem; background: var(--accent-fonce); color: #fff; padding: .5rem 1rem; position: sticky; top: 0; z-index: 10; flex-wrap: wrap; }
.marque { color: #fff; font-weight: 700; text-decoration: none; }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; margin-left: auto; min-height: 44px; }
.nav { display: flex; gap: .25rem; align-items: center; flex: 1; flex-wrap: wrap; }
.nav a, .nav .lien { color: #f0f8ef; text-decoration: none; padding: .55rem .75rem; border-radius: 6px; }
.nav a.actif, .nav a:hover { background: rgba(255,255,255,.15); color: #fff; }
.nav-util { margin-left: auto; display: flex; gap: .25rem; align-items: center; }
.lien { background: none; border: 0; cursor: pointer; font: inherit; }

.page { max-width: 1200px; margin: 0 auto; padding: 1rem; }
.entete-page { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.boutons { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.carte { background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1rem; margin-bottom: 1rem; }
details.carte > summary { cursor: pointer; list-style: revert; }
.grille-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grille-2 > .carte { margin-bottom: 0; }
.grille-2 > * { min-width: 0; }
.grille-2 + .carte { margin-top: 1rem; }
.large { grid-column: 1 / -1; }
.defile { overflow-x: auto; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .35rem; min-height: 42px; padding: .5rem .9rem; border: 1px solid var(--ligne); background: #fff; color: var(--texte); border-radius: 6px; font: inherit; cursor: pointer; text-decoration: none; }
.btn:hover { border-color: var(--accent); }
.btn-primaire { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primaire:hover { background: var(--accent-fonce); }
.btn-danger { color: var(--danger); border-color: #e5c4c1; }
.btn-grand { min-height: 52px; font-size: 1.05rem; padding: .7rem 1.2rem; }
.btn-petit { min-height: 36px; padding: .3rem .6rem; font-size: .9rem; }
.compteur { background: var(--danger); color: #fff; border-radius: 999px; padding: 0 .5rem; font-size: .85rem; }
.actions-rapides { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1rem 0; }
.barre-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: flex-end; padding: .75rem 0 2rem; }

/* Formulaires */
input, select, textarea { font: inherit; padding: .55rem .6rem; border: 1px solid #c8cfc8; border-radius: 6px; background: #fff; min-height: 42px; width: 100%; }
textarea { min-height: auto; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
label { display: flex; flex-direction: column; gap: .25rem; font-size: .92rem; color: var(--doux); }
label.case { flex-direction: row; align-items: center; gap: .5rem; color: var(--texte); }
label.case input { width: auto; min-height: auto; transform: scale(1.3); }
.inline-label { display: inline-flex; flex-direction: row; align-items: center; gap: .35rem; margin: 0 1rem .5rem 0; }
.form-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; }
.form-col { display: flex; flex-direction: column; gap: .9rem; }
.filtres { display: flex; gap: .5rem; flex-wrap: wrap; align-items: flex-end; margin-bottom: 1rem; }
.filtres input[type=search] { flex: 1 1 260px; width: auto; }
.filtres select, .filtres input:not([type=search]) { width: auto; }
.filtres label:not(.case) { flex-direction: row; align-items: center; }
.saisie-num { width: 6.5rem; text-align: right; display: inline-block; }
.saisie-num.petit { width: 4.5rem; }
.large-input { width: 100%; margin-top: .5rem; }

/* Tableaux */
.liste { width: 100%; border-collapse: collapse; background: #fff; }
.liste th { text-align: left; font-size: .85rem; color: var(--doux); font-weight: 600; border-bottom: 2px solid var(--ligne); padding: .5rem; white-space: nowrap; }
.liste td { border-bottom: 1px solid var(--ligne); padding: .55rem .5rem; vertical-align: top; }
.liste.compacte td { padding: .3rem .5rem; }
.liste tr.cliquable { cursor: pointer; }
.liste tr.cliquable:hover td { background: var(--accent-clair); }
.liste tr.inactif td { color: #9aa29d; }
.liste tfoot td { font-weight: 600; border-top: 2px solid var(--ligne); }
.num { text-align: right; white-space: nowrap; }
.lignes td { vertical-align: middle; }
.actions-ligne { white-space: nowrap; }
.options-ligne td { background: #fafbf9; }
.options-ligne label.case { display: inline-flex; margin-right: 1rem; }
.remarque-ligne { color: var(--attention); }

/* Badges */
.badge { display: inline-block; white-space: nowrap; font-size: .78rem; padding: .1rem .5rem; border-radius: 999px; background: #eceeea; color: var(--doux); font-weight: 600; vertical-align: middle; }
.b-saisie { background: #fff2cc; color: var(--attention); }
.b-validee { background: var(--accent-clair); color: var(--accent-fonce); }
.b-prete { background: #dbe9ff; color: #1d4a8f; }
.mode-enlevement { background: #efe3ff; color: #5b2a8c; }
.mode-transporteur { background: #e3f4f4; color: #1f5f5f; }
.b-annulee { background: #f6dedb; color: var(--danger); }
.b-adr { background: #ffe1cc; color: #8a3c00; }
.e-a_exporter { background: #dbe8ff; color: #1d4a99; }
.e-exportee { background: #e7e7e7; color: #444; }
.e-historique { background: #f0f0f0; color: #777; }

/* Flash */
.flash { padding: .75rem 1rem; border-radius: var(--rayon); margin-bottom: 1rem; border: 1px solid; }
.flash-ok { background: var(--accent-clair); border-color: #bfe0bc; color: var(--accent-fonce); }
.flash-err { background: #f9e5e3; border-color: #e7bdb8; color: var(--danger); }

/* Fiche client */
.fiche { display: grid; grid-template-columns: 9rem 1fr; gap: .35rem .75rem; margin: 0; }
.fiche dt { color: var(--doux); }
.fiche dd { margin: 0; }
.remarque { background: #fffbea; border: 1px solid #f0e3b0; padding: .6rem; border-radius: 6px; margin-top: .75rem; }
.adresse { border-bottom: 1px dashed var(--ligne); padding: .5rem 0; position: relative; }
.lien-petit { font-size: .85rem; margin-left: .5rem; }
.suivi { border-left: 3px solid var(--ligne); padding: .25rem .75rem; margin-bottom: .75rem; }

/* Saisie de commande */
.recherche-article { display: flex; gap: .5rem; }
.recherche-article input[type=search] { flex: 1; font-size: 1.05rem; min-height: 50px; }
.resultats { list-style: none; margin: .5rem 0 0; padding: 0; max-height: 22rem; overflow-y: auto; }
.resultats li { display: flex; align-items: center; gap: .6rem; padding: .45rem .25rem; border-bottom: 1px solid var(--ligne); }
.resultats li .prix { margin-left: auto; white-space: nowrap; font-weight: 600; }
.resultats li .prix.client { color: var(--accent); }
.totaux { margin-left: auto; max-width: 360px; margin-top: 1rem; }
.totaux > div { display: flex; justify-content: space-between; padding: .25rem 0; }
.totaux .total-ht { border-top: 2px solid var(--texte); margin-top: .25rem; padding-top: .5rem; font-size: 1.15rem; }
.totaux .indicatif { color: var(--doux); font-size: .9rem; }
.chargement { opacity: .5; pointer-events: none; }

.logo-param { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.apercu-logo { max-height: 90px; max-width: 220px; border: 1px solid var(--ligne); border-radius: 6px; padding: 6px; background: #fff; }

/* Pagination, onglets */
.pagination { display: flex; gap: 1rem; justify-content: center; align-items: center; margin: 1rem 0; }
.onglets { display: flex; gap: .25rem; margin-bottom: 1rem; border-bottom: 1px solid var(--ligne); }
.onglets a { padding: .6rem 1rem; text-decoration: none; border-bottom: 3px solid transparent; }
.onglets a.actif { border-color: var(--accent); font-weight: 600; }

/* Écran de connexion */
body.simple { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 1rem; }
.boite { background: #fff; border: 1px solid var(--ligne); border-radius: 12px; padding: 2rem; width: 100%; max-width: 440px; }
.marque-grande { font-size: 1.3rem; color: var(--accent-fonce); }


/* Statistiques — couleurs validées (palette de référence) : année en cours = accent bleu, année précédente = gris de mise en retrait */
:root { --s-n: #2a78d6; --s-n1: #8c958f; --hausse: #1a7f37; --baisse: #b42318; }
.tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.tuile { background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: .85rem 1rem; display: flex; flex-direction: column; gap: .2rem; }
.tuile-lib { font-size: .85rem; color: var(--doux); }
.tuile-val { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.tuile-cmp { font-size: .85rem; color: var(--doux); }
.var { font-weight: 600; font-size: .85rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.var-hausse { color: var(--hausse); }
.var-baisse { color: var(--baisse); }
.var-nd { color: var(--doux); }
.titre-section { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.legende { display: flex; gap: 1.25rem; font-size: .9rem; color: var(--doux); margin: .25rem 0 .5rem; }
.pastille { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: .4rem; vertical-align: -1px; }
.pastille.s-n { background: var(--s-n); } .pastille.s-n1 { background: var(--s-n1); }
svg .s-n { fill: var(--s-n); } svg .s-n1 { fill: var(--s-n1); }
.graph { width: 100%; height: auto; display: block; }
.graph .grille { stroke: #e7eae6; stroke-width: 1; }
.graph .base { stroke: #9aa39d; stroke-width: 1; }
.graph .axe { fill: var(--doux); font-size: 12px; font-variant-numeric: tabular-nums; }
.graph .zone { fill: transparent; }
.graph .cible:hover path { opacity: .8; }
.mini { width: 160px; height: 10px; display: block; }
.liste td.num { font-variant-numeric: tabular-nums; }
.infobulle { position: fixed; z-index: 50; pointer-events: none; background: #1d2320; color: #fff; padding: .35rem .6rem; border-radius: 6px; font-size: .85rem; white-space: nowrap; }


/* Grille des prix */
.barre-grille { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: .5rem 0; }
.grille-prix td { vertical-align: middle; }
.grille-prix tr.modifie td { background: #fff8e1; }
.grille-prix input.modifie { border-color: var(--attention); background: #fffdf3; font-weight: 600; }
.grille-prix input.invalide { border-color: var(--danger); background: #fdecea; }
.encadre-attention { border-color: #f0d58a; background: #fffcf2; }
.hauteur-limitee { max-height: 26rem; overflow-y: auto; margin-bottom: .75rem; }


/* Incohérences */
.niv-corriger { background: #f6dedb; color: var(--danger); }
.niv-verifier { background: #fff2cc; color: var(--attention); }
.controles td.compte { width: 4rem; font-size: 1.1rem; }
.controles tr.ok-controle td { color: var(--doux); }
.controles tr.ok-controle td.compte { color: var(--accent-fonce); }
.aide-bloc { background: #fffcf2; border: 1px solid #f0e3b0; border-radius: 6px; padding: .6rem .8rem; }
.tuiles-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }


/* Agenda — couleurs des types : palette catégorielle de référence, ordre fixe (+ libellé texte, jamais la couleur seule) */
:root { --t-visite: #2a78d6; --t-appel: #eb6834; --t-relance: #1baf7a; --t-livraison: #eda100; --t-autre: #e87ba4; }
.semaine { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; margin-bottom: .5rem; }
.jour { background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: .5rem; min-height: 9rem; display: flex; flex-direction: column; gap: .35rem; }
.jour.weekend { background: #fafbf9; }
.jour.aujourdhui { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
.jour-titre { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; font-weight: 600; color: var(--doux); }
.ajout-jour { text-decoration: none; font-size: 1.1rem; padding: 0 .35rem; border-radius: 4px; }
.ajout-jour:hover { background: var(--accent-clair); }
.jour-vide { color: #c3c8c3; font-size: .85rem; }
.evt { display: flex; flex-direction: column; text-decoration: none; color: var(--texte); background: #f6f7f5; border-left: 4px solid var(--t-autre); border-radius: 4px; padding: .35rem .45rem; font-size: .85rem; line-height: 1.3; }
.evt:hover { background: var(--accent-clair); }
.evt-heure { font-weight: 600; font-variant-numeric: tabular-nums; }
.evt-lieu { color: var(--doux); font-size: .78rem; }
.evt.s-fait { opacity: .7; }
.evt.s-fait .evt-titre { text-decoration: line-through; text-decoration-color: #9aa39d; }
.t-visite { border-left-color: var(--t-visite); } .t-appel { border-left-color: var(--t-appel); } .t-relance { border-left-color: var(--t-relance); }
.t-livraison { border-left-color: var(--t-livraison); } .t-autre { border-left-color: var(--t-autre); }
.pastille.t-visite { background: var(--t-visite); } .pastille.t-appel { background: var(--t-appel); } .pastille.t-relance { background: var(--t-relance); }
.pastille.t-livraison { background: var(--t-livraison); } .pastille.t-autre { background: var(--t-autre); }
.type-agenda { display: inline-block; font-size: .75rem; font-weight: 600; padding: .05rem .45rem; border-radius: 999px; border: 1px solid var(--ligne); border-left-width: 4px; background: #fff; white-space: nowrap; }
.legende-agenda { flex-wrap: wrap; margin-bottom: 1rem; }
.liste-agenda { list-style: none; margin: 0; padding: 0; }
.liste-agenda li a { display: block; padding: .45rem .25rem; border-bottom: 1px solid var(--ligne); text-decoration: none; color: var(--texte); }
.liste-agenda li a:hover { background: var(--accent-clair); }
.actions-relance { white-space: nowrap; }
.actions-relance input[type=date], .actions-relance select { width: auto; min-height: 36px; padding: .25rem .4rem; }
.lien-bloc { display: block; text-decoration: none; color: var(--texte); }
.lien-bloc:hover { background: var(--accent-clair); }
.suivi .cr { color: var(--doux); }


/* Stock */
.negatif { color: var(--danger); }
.cf-brouillon { background: #eceeea; } .cf-envoyee { background: #dbe8ff; color: #1d4a99; } .cf-recue { background: var(--accent-clair); color: var(--accent-fonce); } .cf-annulee { background: #f6dedb; color: var(--danger); }
a.tuile { color: var(--texte); display: flex; }
a.tuile:hover { border-color: var(--accent); }

/* Mobile / tablette portrait */
@media (min-width: 761px) and (max-width: 1100px) {
  .semaine { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; flex-direction: column; align-items: stretch; width: 100%; }
  .nav.ouvert { display: flex; }
  .nav-util { margin-left: 0; flex-direction: column; align-items: stretch; }
  .grille-2 { grid-template-columns: 1fr; }
  .masque-mobile { display: none; }
  .liste:not(.lignes) { display: block; overflow-x: auto; max-width: 100%; }
  .mini { width: 80px; }
  .graph .axe { font-size: 24px; }
  .semaine { grid-template-columns: 1fr; }
  .jour { min-height: auto; }
  .jour-vide { display: none; }
  .actions-relance { white-space: normal; }
  .actions-relance form { display: flex; gap: .3rem; margin-bottom: .3rem; }
  .tuiles { grid-template-columns: 1fr 1fr; }
  .tuile-val { font-size: 1.2rem; }
  .titre-section { flex-wrap: wrap; }
  .page { overflow-x: hidden; }
  .fiche { grid-template-columns: 1fr; }
  .fiche dt { font-weight: 600; margin-top: .4rem; }
  .saisie-num { width: 5rem; }
  .saisie-num.petit { width: 4rem; }
  /* Lignes de commande en cartes sur téléphone */
  .lignes thead { display: none; }
  .lignes, .lignes tbody, .lignes tr, .lignes td { display: block; width: 100%; }
  .lignes tr[data-ligne] { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .75rem; border-bottom: 2px solid var(--ligne); padding: .6rem 0; }
  .lignes tr[data-ligne] td { border: 0; padding: 0; text-align: left; }
  .lignes tr[data-ligne] td:first-child, .lignes td.actions-ligne { grid-column: 1 / -1; }
  .lignes td.num[data-label]::before { content: attr(data-label); display: block; font-size: .75rem; color: var(--doux); }
  .lignes tr.options-ligne.cache { display: none; }
  .lignes td[data-label] > small { display: none; }
  .lignes .masque-mobile { display: none !important; }
  .lignes .saisie-num, .lignes .saisie-num.petit { width: 100%; }
}
/* Fusion : liste des doublons */
.en-ligne { display: inline; margin-left: .5rem; }
.doublons .groupe-entete td { background: var(--fond, #f4f4f2); padding-top: .9rem; }
.doublons tbody.groupe-doublon { border-top: 2px solid #d9dfdb; }

/* Signature sur écran tactile */
.signature-page { max-width: 900px; margin: 0 auto; }
.signature-cadre { position: relative; margin: .8rem 0; border: 2px dashed #9aa59d; border-radius: 10px; background: #fff; }
.signature-cadre canvas { display: block; width: 100%; aspect-ratio: 3 / 1; touch-action: none; cursor: crosshair; }
.signature-indication { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #6b746e; font-size: 1.1rem; pointer-events: none; }
.signature-indication[hidden] { display: none; }
.engagement { font-size: 1.05rem; }
.signature-apercu { height: 48px; width: auto; border: 1px solid #d9dfdb; border-radius: 6px; background: #fff; vertical-align: middle; }

/* Images des articles */
.vignette { width: 40px; height: 40px; object-fit: contain; background: #fff; border: 1px solid #e3e7e4; border-radius: 6px; vertical-align: middle; margin-right: .4rem; }
.image-article { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.image-article img { width: 220px; max-width: 100%; height: auto; background: #fff; border: 1px solid #e3e7e4; border-radius: 10px; }
.journal-lot { list-style: none; padding: 0; margin: .5rem 0 0; max-height: 260px; overflow: auto; font-size: .85rem; }
.journal-lot li { padding: .15rem 0; border-bottom: 1px solid #eef1ef; }
.journal-lot .lot-ok { color: #277A24; } .journal-lot .lot-erreur { color: #a3281f; }
[hidden] { display: none !important; }
.lien-boutique { font-size: .8rem; white-space: nowrap; margin-left: .3rem; }

/* Mode client : informations internes masquées à l'écran */
.bandeau-mode-client, .cache-mode-client { display: none; }
body.mode-client .sensible { display: none !important; }
body.mode-client .bandeau-mode-client { display: block; margin-bottom: 1rem; padding: .6rem .9rem; border-radius: 8px; background: #fff7e0; border: 1px solid #f0d9a0; font-size: .9rem; }
body.mode-client[data-page-interne] .page > *:not(.cache-mode-client):not(.bandeau-mode-client) { display: none !important; }
body.mode-client[data-page-interne] .cache-mode-client { display: block; text-align: center; padding: 3rem 1rem; }
body.mode-client .bouton-mode-client { font-weight: 700; }
/* Onglets (Stock, Administration…) : passent à la ligne au lieu de déborder, sur téléphone comme sur ordinateur */
.onglets { flex-wrap: wrap; row-gap: 0; }
.onglets a { white-space: nowrap; }
@media (max-width: 760px) {
  .onglets { gap: 0 .1rem; }
  .onglets a { padding: .55rem .6rem; font-size: .95rem; }
}

.ligne-signature { padding: .5rem 0; border-top: 1px solid var(--ligne); }
.ligne-signature .boutons { margin-top: .35rem; }

/* Comptabilité */
.compta-lignes td { padding: .25rem .3rem; vertical-align: middle; }
.compta-lignes input, .compta-lignes select { width: 100%; box-sizing: border-box; }
.compta-lignes .c-compte { width: 7.5rem; }
.compta-lignes .c-montant { width: 8.5rem; }
.compta-lignes .c-tva { width: 6.5rem; }
.compta-lignes .nom-compte, .compta-lignes .info-tva { display: block; font-size: .78rem; color: var(--doux); min-height: 1em; }
.compta-lignes tfoot td { font-weight: 600; }
.ecart-ok { color: var(--accent-fonce); }
.ecart-ko { color: var(--danger); }
.liste tr.ligne-tva td { color: var(--doux); font-size: .9em; }
.liste tr.sous-total td { font-weight: 600; border-top: 1px solid var(--texte); }
.liste tr.total td { font-weight: 700; border-top: 2px solid var(--texte); }
.liste tr.titre-classe td { background: var(--accent-clair); font-weight: 600; }
.etats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.b-contre { background: #f3e8e7; color: var(--danger); }
.figures-tva td.chiffre { width: 3.5rem; font-weight: 600; }
@media (max-width: 800px) { .etats { grid-template-columns: 1fr; } }
@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff; font-size: 10pt; }
  .barre, .sans-impression, .flash, .bandeau-mode-client, .cache-mode-client { display: none !important; }
  .page { padding: 0; max-width: none; }
  .carte { border: 0; box-shadow: none; padding: 0; margin: 0 0 6mm; }
  .liste tr { break-inside: avoid; }
  .etats { grid-template-columns: 1fr 1fr; }
  a { color: inherit; text-decoration: none; }
}

/* Thèmes de couleur ('theme' dans app/config.php) */
body.theme-bleu { --accent: #2f7fd1; --accent-fonce: #1c5a9c; --accent-clair: #e4eefa; }
body.theme-rouge { --accent: #c8433a; --accent-fonce: #9c2d26; --accent-clair: #fbe9e7; }
body.theme-gris { --accent: #5b6770; --accent-fonce: #37424a; --accent-clair: #e9edf0; }
