:root {
  --brand-900: #0a2547;
  --brand-800: #0f3a6e;
  --brand-700: #1a56a6;
  --brand-500: #3b7de0;
  --brand-100: #e5eefb;
  --brand-50: #f2f6fd;
  --ok: #1f8a55;
  --fond: #f4f6f9;
  --carte: #ffffff;
  --bord: #e3e8f0;
  --texte: #14203a;
  --texte-2: #5b667a;
  --rouge: #d64545;
  --rouge-100: #fdecec;
  --orange: #d9822b;
  --orange-100: #fdf1e3;
  --bleu: #7c4dd6;
  --bleu-100: #f1ebfc;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(15, 30, 60, .05), 0 4px 16px rgba(15, 30, 60, .04);
  --sidebar: #0f3a6e;
  --nav-actif: #1a56a6;
  --primaire: #0f3a6e;
  --primaire-hover: #1a56a6;
  --accent: #1a56a6;
  --lien: #1a56a6;
  --champ: #ffffff;
  --bord-fort: #c9d4e5;
  --ok-100: #e5f5ec;
  --ok-txt: #1f8a55;
  --rouge-txt: #9c2b2b;
  --rouge-bord: #f2d4d4;
  --gris-100: #eef0f3;
  --gris-txt: #7a8390;
  --violet-100: #f3e8fd;
  --violet-txt: #7a3fc1;
  color-scheme: light;
}

/* ── Mode sombre ─────────────────────────────────
   Automatique selon le réglage du téléphone / ordinateur,
   ou forcé par le bouton (data-theme="dark" / "light"). */
:root[data-theme="dark"] {
  --fond: #0c1320;
  --carte: #141e30;
  --champ: #1a263c;
  --bord: #25334b;
  --bord-fort: #36486a;
  --texte: #e5ebf4;
  --texte-2: #93a0b6;
  --brand-50: rgba(96, 150, 240, .07);
  --brand-100: rgba(96, 150, 240, .16);
  --brand-500: #6ea4f2;
  --brand-700: #4d8ae6;
  --brand-800: #2a64c0;
  --brand-900: #0a1426;
  --sidebar: #0a1426;
  --nav-actif: #1d4f91;
  --primaire: #2563c4;
  --primaire-hover: #3474d8;
  --accent: #8ab6f5;
  --lien: #8ab6f5;
  --ok: #3fbf7f;
  --ok-100: rgba(63, 191, 127, .15);
  --ok-txt: #62d49a;
  --rouge: #f07272;
  --rouge-100: rgba(240, 114, 114, .14);
  --rouge-txt: #ff9d9d;
  --rouge-bord: rgba(240, 114, 114, .35);
  --orange: #f0a24b;
  --orange-100: rgba(240, 162, 75, .15);
  --bleu: #ad8ff2;
  --bleu-100: rgba(173, 143, 242, .16);
  --gris-100: rgba(255, 255, 255, .07);
  --gris-txt: #98a3b5;
  --violet-100: rgba(173, 143, 242, .16);
  --violet-txt: #c7b2ff;
  --ombre: 0 1px 2px rgba(0, 0, 0, .35), 0 4px 18px rgba(0, 0, 0, .25);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --fond: #0c1320;
  --carte: #141e30;
  --champ: #1a263c;
  --bord: #25334b;
  --bord-fort: #36486a;
  --texte: #e5ebf4;
  --texte-2: #93a0b6;
  --brand-50: rgba(96, 150, 240, .07);
  --brand-100: rgba(96, 150, 240, .16);
  --brand-500: #6ea4f2;
  --brand-700: #4d8ae6;
  --brand-800: #2a64c0;
  --brand-900: #0a1426;
  --sidebar: #0a1426;
  --nav-actif: #1d4f91;
  --primaire: #2563c4;
  --primaire-hover: #3474d8;
  --accent: #8ab6f5;
  --lien: #8ab6f5;
  --ok: #3fbf7f;
  --ok-100: rgba(63, 191, 127, .15);
  --ok-txt: #62d49a;
  --rouge: #f07272;
  --rouge-100: rgba(240, 114, 114, .14);
  --rouge-txt: #ff9d9d;
  --rouge-bord: rgba(240, 114, 114, .35);
  --orange: #f0a24b;
  --orange-100: rgba(240, 162, 75, .15);
  --bleu: #ad8ff2;
  --bleu-100: rgba(173, 143, 242, .16);
  --gris-100: rgba(255, 255, 255, .07);
  --gris-txt: #98a3b5;
  --violet-100: rgba(173, 143, 242, .16);
  --violet-txt: #c7b2ff;
  --ombre: 0 1px 2px rgba(0, 0, 0, .35), 0 4px 18px rgba(0, 0, 0, .25);
  color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--fond); color: var(--texte); font-size: 14px; line-height: 1.45;
}
a { color: var(--lien); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -.01em; }
[data-lucide] { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0; }

/* ── Mise en page ─────────────────────────────── */
.app { display: flex; min-height: 100vh; }
.sidebar {
  width: 250px; flex-shrink: 0; background: var(--sidebar); color: #e7f1ec;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
  background-image: radial-gradient(circle at 20% 110%, rgba(255,255,255,.07) 0, transparent 45%);
}
.brand { padding: 26px 22px 22px; text-align: center; }
.brand-logo { color: #c9a96e; }
.brand-logo [data-lucide] { width: 34px; height: 34px; }
.brand-nom { font-weight: 700; letter-spacing: .12em; font-size: 17px; margin-top: 6px; }
.brand-sous { font-size: 12.5px; opacity: .8; }
.nav { padding: 6px 12px; flex: 1; overflow-y: auto; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px;
  color: #e7f1ec; font-weight: 500; margin-bottom: 4px; text-decoration: none;
}
.nav a:hover { background: rgba(255,255,255,.06); }
.nav a.actif { background: var(--nav-actif); }
.nav .pastille {
  margin-left: auto; background: #f0b44c; color: #3a2a06; font-size: 11px; font-weight: 700;
  border-radius: 99px; padding: 1px 8px;
}
.nav .pastille.rouge { background: #f26b6b; color: #fff; }
.nav-sep { height: 1px; background: rgba(255,255,255,.1); margin: 12px 8px; }
.slogan { padding: 18px 22px 24px; font-size: 10.5px; letter-spacing: .18em; opacity: .7; line-height: 1.8; }
.slogan:after { content: ""; display: block; width: 40px; height: 2px; background: #c9a96e; margin-top: 8px; }

.main { flex: 1; min-width: 0; padding: 22px 26px 40px; }
.topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.topbar .titre { display: flex; gap: 14px; align-items: center; flex: 1; min-width: 240px; }
.icone-titre {
  width: 46px; height: 46px; border-radius: 12px; background: var(--carte); border: 1px solid var(--bord);
  display: grid; place-items: center; color: var(--accent);
}
.icone-titre [data-lucide] { width: 22px; height: 22px; }
.topbar h1 { font-size: 24px; }
.topbar .sous-titre { color: var(--texte-2); font-size: 13px; }
.user-chip { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--brand-100); color: var(--accent);
  display: grid; place-items: center; font-weight: 700;
}
.user-chip small { display: block; color: var(--texte-2); font-size: 11.5px; }
.burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--texte); }

/* ── Cartes & grilles ─────────────────────────── */
.carte { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 18px; }
.carte-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.carte-tete h2 { font-size: 16px; display: flex; gap: 8px; align-items: center; }
.carte-tete .droite { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.grille { display: grid; gap: 16px; margin-bottom: 16px; }
.grille > * { min-width: 0; }
.main > * { max-width: 100%; }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 2.6fr) minmax(260px, 1fr); }
.g-dash { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(240px, 1fr); }

.kpi { display: flex; gap: 16px; align-items: center; }
.kpi .ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; }
.kpi .ic [data-lucide] { width: 24px; height: 24px; }
.kpi .lbl { font-weight: 600; font-size: 13.5px; }
.kpi .val { font-size: 26px; font-weight: 700; line-height: 1.15; }
.kpi .val small { font-size: 15px; }
.kpi .det { color: var(--texte-2); font-size: 12px; }
.ic.vert { background: var(--brand-100); color: var(--accent); }
.ic.rouge { background: var(--rouge-100); color: var(--rouge); }
.ic.bleu { background: var(--bleu-100); color: var(--bleu); }
.ic.orange { background: var(--orange-100); color: var(--orange); }

/* ── Boutons, onglets, formulaires ────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; padding: 9px 16px;
  font: inherit; font-weight: 600; cursor: pointer; border: 1px solid var(--bord); background: var(--carte);
  color: var(--texte); text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; border-color: var(--bord-fort); }
.btn-primaire { background: var(--primaire); color: #fff; border-color: var(--primaire); }
.btn-primaire:hover { background: var(--primaire-hover); border-color: var(--primaire-hover); }
.btn-danger { color: var(--rouge); }
.btn-petit { padding: 6px 11px; font-size: 13px; }
.btn-grand { padding: 14px 22px; font-size: 16px; width: 100%; justify-content: center; }
.barre-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.onglets { display: flex; gap: 8px; flex-wrap: wrap; }
.onglet { padding: 8px 16px; border-radius: 10px; background: var(--carte); border: 1px solid var(--bord); color: var(--texte); font-weight: 500; }
.onglet:hover { text-decoration: none; }
.onglet.actif { background: var(--primaire); color: #fff; border-color: var(--primaire); }
.espace { flex: 1; }

input[type=text], input[type=number], input[type=email], input[type=password], input[type=date], input[type=tel], select, textarea {
  font: inherit; padding: 9px 12px; border: 1px solid var(--bord); border-radius: 10px; background: var(--champ); width: 100%;
  color: var(--texte);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-100); border-color: var(--brand-500); }
.champ { margin-bottom: 14px; }
.champ label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 13px; }
.champ .aide { color: var(--texte-2); font-size: 12px; margin-top: 4px; }
.champ .erreur { color: var(--rouge); font-size: 12.5px; margin-top: 4px; }
.champ input[type=checkbox] { width: 18px; height: 18px; }
.filtres { display: flex; gap: 8px; flex-wrap: wrap; }
.filtres select, .filtres input { width: auto; padding: 7px 10px; font-size: 13px; }

/* ── Tableaux ─────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12px; font-weight: 600; color: var(--texte-2); background: var(--brand-50); padding: 10px 12px; white-space: nowrap; }
th:first-child { border-radius: 8px 0 0 8px; }
th:last-child { border-radius: 0 8px 8px 0; }
td { padding: 11px 12px; border-bottom: 1px solid var(--bord); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
td.fort { font-weight: 600; }
.muted { color: var(--texte-2); }
td.ref { white-space: nowrap; }
.rouge-txt { color: var(--rouge); font-weight: 700; }
.orange-txt { color: var(--orange); font-weight: 700; }
.vert-txt { color: var(--ok); font-weight: 700; }
.vide { text-align: center; color: var(--texte-2); padding: 28px 10px; }
.cell-nom { display: flex; align-items: center; min-width: 180px; }
td.num a [data-lucide] { margin-left: 6px; }
td.num:last-child { white-space: nowrap; }
.vignette {
  width: 34px; height: 34px; border-radius: 8px; display: inline-grid; place-items: center;
  background: var(--brand-100); color: var(--accent); vertical-align: middle; margin-right: 8px;
}
.vignette [data-lucide] { width: 16px; height: 16px; }

/* ── Badges ───────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; padding: 3px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.b-ok, .b-recue { background: var(--ok-100); color: var(--ok-txt); }
.b-alerte, .b-partielle { background: var(--orange-100); color: var(--orange); }
.b-critique { background: var(--rouge-100); color: var(--rouge); }
.b-en_transit { background: var(--bleu-100); color: var(--bleu); }
.b-annulee { background: var(--gris-100); color: var(--gris-txt); }

/* ── Listes ───────────────────────────────────── */
.actions-rapides a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--bord);
  border-radius: 10px; margin-bottom: 8px; color: var(--texte); font-weight: 500;
}
.actions-rapides a:hover { text-decoration: none; border-color: var(--brand-500); }
.actions-rapides a:first-child { background: var(--primaire); color: #fff; border-color: var(--primaire); }
.actions-rapides a:after { content: "›"; margin-left: auto; font-size: 18px; opacity: .6; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: 12px; padding: 8px 0; align-items: flex-start; }
.timeline .pt { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.timeline .q { margin-left: auto; font-weight: 700; white-space: nowrap; }
.timeline small { display: block; color: var(--texte-2); font-size: 12px; }
.legende { list-style: none; margin: 0; padding: 0; }
.legende li { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.legende .c { width: 10px; height: 10px; border-radius: 50%; }
.legende .p { margin-left: auto; font-weight: 700; }
.barre-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.barre-h .n { width: 130px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barre-h .piste { display: block; flex: 1; height: 10px; background: var(--brand-50); border-radius: 99px; overflow: hidden; }
.barre-h .remp { display: block; height: 100%; background: var(--brand-500); border-radius: 99px; }
.barre-h .v { width: 50px; text-align: right; font-weight: 600; }
.chart-box { position: relative; height: 260px; }
.chart-box.petit { height: 190px; }

/* ── Messages ─────────────────────────────────── */
.messages { margin-bottom: 16px; }
.msg { padding: 12px 16px; border-radius: 10px; margin-bottom: 8px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.msg-success { background: var(--ok-100); color: var(--ok-txt); }
.msg-error { background: var(--rouge-100); color: var(--rouge-txt); }
.msg-info, .msg-warning { background: var(--brand-100); color: var(--accent); }

/* ── Réception (pensé pour le téléphone) ──────── */
.ligne-recep {
  display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--bord);
  border-radius: 12px; margin-bottom: 10px; background: var(--carte);
}
.ligne-recep.decoche { background: var(--rouge-100); border-color: var(--rouge-bord); }
.ligne-recep input[type=checkbox] { width: 26px; height: 26px; accent-color: var(--brand-500); flex-shrink: 0; }
.ligne-recep .info { flex: 1; min-width: 0; }
.ligne-recep .info strong { display: block; }
.ligne-recep .qte { width: 92px; text-align: center; font-size: 16px; font-weight: 700; }
.carte-livraison { display: block; color: inherit; margin-bottom: 12px; }
.carte-livraison:hover { text-decoration: none; border-color: var(--brand-500); }

/* ── Connexion ────────────────────────────────── */
.login-page { min-height: 100vh; display: grid; place-items: center; background: var(--sidebar); padding: 20px;
  background-image: radial-gradient(circle at 15% 85%, rgba(255,255,255,.08) 0, transparent 40%); }
.login-carte { width: 100%; max-width: 400px; background: var(--carte); border-radius: 18px; padding: 32px; }
.login-carte .brand { color: var(--accent); padding: 0 0 18px; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1200px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-main { grid-template-columns: minmax(0, 1fr); }
  .g-dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-dash > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .g-3, .g-2, .g-dash { grid-template-columns: minmax(0, 1fr); }
  .chart-box { height: 230px; }
  .carte-tete .droite { margin-left: 0; }
  .sidebar { position: fixed; left: -260px; z-index: 50; transition: left .2s; }
  .sidebar.ouvert { left: 0; box-shadow: 0 0 0 100vmax rgba(0,0,0,.35); }
  .burger { display: block; }
  .main { padding: 16px 14px 32px; }
  .topbar h1 { font-size: 20px; }
}
@media (max-width: 560px) {
  .g-4 { grid-template-columns: minmax(0, 1fr); }
  .user-chip { display: none; }
  .topbar .titre { min-width: 0; flex: 1 1 calc(100% - 100px); }
  .kpi .val { font-size: 22px; }
}

/* ── Stock du site / utilisations ─────────────── */
.ligne-util { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--bord);
  border-radius: 12px; margin-bottom: 10px; background: var(--carte); }
.ligne-util .info { flex: 1; min-width: 0; }
.ligne-util .info strong { display: block; }
.ligne-util .qte { width: 86px; text-align: center; font-size: 16px; font-weight: 700; }
.ligne-util.focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100); }
.jauge { height: 6px; background: var(--brand-50); border-radius: 99px; overflow: hidden; margin-top: 6px; max-width: 220px; }
.jauge span { display: block; height: 100%; border-radius: 99px; }
.input-seuil { width: 80px !important; padding: 5px 8px !important; text-align: center; }
.choix-sites { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cases label { display: flex; gap: 8px; align-items: center; font-weight: 500; margin-bottom: 4px; }
.cases ul { list-style: none; padding: 0; margin: 0; columns: 2; }
.b-ouvert { background: var(--rouge-100); color: var(--rouge); }
.b-traite { background: var(--ok-100); color: var(--ok-txt); }
.role-chip { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.role-super_admin { background: var(--violet-100); color: var(--violet-txt); }
.role-magasinier { background: var(--bleu-100); color: var(--bleu); }
.role-controleur { background: var(--brand-100); color: var(--accent); }
.role-controleur_general { background: var(--ok-100); color: var(--ok-txt); }

/* Champ téléphone avec indicatif */
.champ-tel { display: flex; align-items: stretch; border: 1px solid var(--bord); border-radius: 10px; background: var(--champ); overflow: hidden; }
.champ-tel:focus-within { outline: 2px solid var(--brand-100); border-color: var(--brand-500); }
.champ-tel .indicatif { display: flex; align-items: center; padding: 0 12px; background: var(--brand-50); color: var(--texte-2);
  font-weight: 600; border-right: 1px solid var(--bord); white-space: nowrap; }
.champ-tel input { border: 0 !important; outline: none !important; border-radius: 0; }
.login-carte input { padding: 12px 14px; font-size: 15px; }

/* Bouton de thème */
.btn-theme { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
.login-theme { position: fixed; top: 16px; right: 16px; background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.login-theme:hover { border-color: rgba(255,255,255,.5); }
body, .carte, .btn, input, select, textarea { transition: background-color .2s, border-color .2s, color .2s; }

/* Demande d'approvisionnement : une ligne par produit */
.ligne-demande { display: grid; grid-template-columns: minmax(0, 1fr) 96px auto; gap: 8px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--bord); }
.ligne-demande:last-child { border-bottom: 0; }
.ligne-demande .qte { text-align: center; font-weight: 700; font-size: 15px; }
.ligne-demande .info-ligne { grid-column: 1 / -1; font-size: 12px; margin-top: -2px; }
.ligne-demande .info-ligne:empty { display: none; }

/* Bon d'entrée : une ligne par produit, à l'unité ou par lot */
.ligne-entree { padding: 12px 0; border-bottom: 1px solid var(--bord); display: grid; gap: 8px; }
.ligne-entree .le-haut { display: grid; grid-template-columns: minmax(0, 1fr) 200px auto; gap: 8px; align-items: center; }
.ligne-entree label { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; font-size: 11.5px; font-weight: 600;
  color: var(--texte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ligne-entree .le-unite, .ligne-entree .le-lot { align-items: end; }
.ligne-entree .le-unite { display: grid; grid-template-columns: 120px 160px; gap: 8px; }
.ligne-entree .le-lot { display: none; grid-template-columns: 110px minmax(0, 1fr) 120px 140px; gap: 8px; }
.ligne-entree.par-lot .le-unite { display: none; }
.ligne-entree.par-lot .le-lot { display: grid; }
.ligne-entree .qte { text-align: center; font-weight: 700; }
.ligne-entree .le-calcul { font-size: 13px; }
.ligne-entree .le-calcul:empty { display: none; }
.ligne-entree .nouveau-produit { display: none; grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px;
  background: var(--brand-50); border: 1px dashed var(--brand-500); border-radius: 10px; padding: 10px; }
.ligne-entree.est-nouveau .nouveau-produit { display: grid; }
.ligne-entree.est-nouveau .le-produit { border-color: var(--brand-500); font-weight: 600; }
.ligne-entree.par-lot .le-mode { border-color: var(--orange); }
@media (max-width: 640px) {
  .ligne-entree .le-haut { grid-template-columns: minmax(0, 1fr) auto; }
  .ligne-entree .le-mode { grid-column: 1 / -1; grid-row: 2; }
  .ligne-entree .le-unite { grid-template-columns: 1fr 1fr; }
  .ligne-entree .le-lot { grid-template-columns: 1fr 1fr; }
  .ligne-entree .nouveau-produit { grid-template-columns: 1fr 1fr; }
  .ligne-entree .nouveau-produit [name=n_nom] { grid-column: 1 / -1; }
}

/* Filtres de la page Mouvements */
.filtres-mvt { display: grid; grid-template-columns: 160px 145px 145px 160px minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.filtres-mvt .champ { margin: 0; }
@media (max-width: 900px) { .filtres-mvt { grid-template-columns: 1fr 1fr; } }
.filtres-mvt input, .filtres-mvt select { height: 40px; }
