/* MagManager – démonstration en ligne
   Reproduction de l'apparence FlatLaf de l'application (thèmes Clair et Sombre, réglages de ui/Theme.java
   et couleurs de ui/Couleurs.java). */

:root {
  --police: "Segoe UI", system-ui, -apple-system, "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --taille: 14px;

  /* FlatLaf Light + accent #1565C0 */
  --fond: #f2f2f2;
  --fond-composant: #ffffff;
  --texte: #000000;
  --texte-desactive: #8c8c8c;
  --texte-secondaire: #5f6670;
  --bordure: #c2c2c2;
  --filet: #e1e1e1;
  --accent: #1565c0;
  --selection: #1565c0;
  --selection-texte: #ffffff;
  --survol: #e0e0e0;
  --titre-accent: #1f4e79;
  --ligne-alt: #f3f6fa;
  --entete-tableau: #ffffff;
  --indic-choisi: #d6e4f5;
  --indic-choisi-texte: #0d3c78;
  --pastille-alerte: #f2a900;
  --rupture-fond: #9b1c1c;
  --rupture-texte: #ffffff;
  --bas-fond: #ffecc8;
  --bas-texte: #000000;
  --erreur: #b00020;
  --succes: #2e7d32;
  --manque-fond: #ffe1e1;
  --excedent-fond: #fff0cd;
  --teinte-texte: #000000;
  --barre-defil: #c4c4c4;
  --ombre: 0 8px 30px rgba(0, 0, 0, .18);

  /* page autour de la fenêtre (site AutoDevSoftware) */
  --page-fond: #e9eef5;
  --page-texte: #1b2430;
  --page-bandeau: #ffffff;
  --page-action: #c4511b;
}

:root[data-magtheme="sombre"] {
  /* FlatLaf Dark + accent #4A90D9 */
  --fond: #3c3f41;
  --fond-composant: #46494b;
  --texte: #bbbbbb;
  --texte-desactive: #777777;
  --texte-secondaire: #c0c6cd;
  --bordure: #5e6164;
  --filet: #515456;
  --accent: #4a90d9;
  --selection: #3570b5;
  --selection-texte: #ffffff;
  --survol: #4c5052;
  --titre-accent: #8cbcf2;
  --ligne-alt: #434648;
  --entete-tableau: #46494b;
  --indic-choisi: #2c4a6b;
  --indic-choisi-texte: #ffffff;
  --pastille-alerte: #f2b866;
  --bas-fond: #5c4a12;
  --bas-texte: #ffe9b3;
  --erreur: #ff8a80;
  --succes: #81c784;
  --manque-fond: #5a2c2c;
  --excedent-fond: #54461c;
  --teinte-texte: #f0f0f0;
  --barre-defil: #6b6e70;
  --ombre: 0 8px 30px rgba(0, 0, 0, .5);

  --page-fond: #1d2127;
  --page-texte: #dfe5ec;
  --page-bandeau: #262b32;
}

:root[data-taille="GRANDE"] { --taille: 16px; }
:root[data-taille="TRES_GRANDE"] { --taille: 18px; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page-fond);
  color: var(--page-texte);
  font: var(--taille)/1.35 var(--police);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
img { display: inline-block; }

/* ---------- bandeau du site au-dessus de la simulation ---------- */
.demo-entete {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  padding: 10px 16px; background: var(--page-bandeau); border-bottom: 1px solid rgba(127,127,127,.25);
  font-size: 14px;
}
.demo-entete-texte { display: flex; flex-direction: column; }
.demo-entete-texte span { opacity: .8; font-size: 13px; }
.demo-entete-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.demo-lien { background: none; border: 1px solid rgba(127,127,127,.5); border-radius: 6px; padding: 6px 12px; cursor: pointer; }
.demo-lien:hover { background: rgba(127,127,127,.12); }
.demo-telecharger {
  background: var(--page-action); color: #fff; text-decoration: none; font-weight: 600;
  padding: 7px 14px; border-radius: 6px;
}
.demo-telecharger:hover { filter: brightness(1.08); }
.sans-js { padding: 16px; }

/* ---------- bureau et fenêtres ---------- */
.bureau {
  flex: 1; display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 16px; overflow: auto;
}
.fenetre {
  background: var(--fond); color: var(--texte);
  border: 1px solid var(--bordure); box-shadow: var(--ombre);
  display: flex; flex-direction: column;
  font-size: var(--taille);
}
.barre-titre {
  display: flex; align-items: center; gap: 8px; height: 32px; padding-left: 8px;
  background: var(--fond); user-select: none; flex: none;
}
.barre-titre-texte { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-titre-boutons { display: flex; height: 100%; }
.barre-titre-boutons > * {
  width: 46px; height: 100%; display: grid; place-items: center; border: 0; background: none;
  font-size: 13px; cursor: default; color: var(--texte);
}
.barre-titre-boutons button:hover { background: var(--survol); }
.barre-titre-boutons .bt-fermer:hover { background: #e81123; color: #fff; }

/* ---------- connexion ---------- */
.fenetre-connexion { width: 740px; max-width: 100%; margin-top: 40px; }
.connexion { display: flex; min-height: 300px; }
.connexion-marque {
  min-width: 320px; flex: none; padding: 28px; color: #fff;
  background: linear-gradient(#1f4e79, #1565c0);
}
.connexion-marque img { margin-bottom: 10px; }
.connexion-logiciel { font-size: 1.6em; font-weight: 700; margin-bottom: 4px; }
.connexion-entreprise { font-size: 1.1em; font-weight: 700; color: #dce9f7; margin-bottom: 18px; }
.connexion-slogan { color: #dce9f7; margin: 0; white-space: nowrap; }
.connexion-demo {
  margin: 18px 0 0; background: #fff4ce; color: #3d3000; padding: 6px 8px; font-size: .92em;
}
.connexion-form { flex: 1; display: flex; flex-direction: column; padding: 28px 30px 22px; }
.connexion-titre { font-size: 1.5em; color: var(--titre-accent); margin: 0 0 14px; }
.connexion-form label { margin-bottom: 4px; }
.connexion-form .champ { margin-bottom: 12px; }
.connexion-message { color: var(--erreur); margin: -4px 0 10px; min-height: 1.35em; }
.connexion-bouton { padding: 9px; font-weight: 700; display: flex; justify-content: center; gap: 6px; align-items: center; }
.connexion-editeur { margin: auto 0 0; padding-top: 18px; font-size: .85em; color: var(--texte-secondaire); }

/* ---------- composants façon FlatLaf ---------- */
.champ {
  display: flex; align-items: center; gap: 6px; background: var(--fond-composant);
  border: 1px solid var(--bordure); border-radius: 6px; padding: 0 6px; min-height: 30px;
}
.champ:focus-within { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.champ input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 4px 0; }
.champ input::placeholder { color: var(--texte-desactive); }
.champ input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }

.bouton {
  background: var(--fond-composant); border: 1px solid var(--bordure); border-radius: 8px;
  padding: 5px 14px; cursor: default;
}
.bouton:hover { background: var(--survol); }
.bouton:focus-visible { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.bouton-defaut { background: var(--accent); border-color: var(--accent); color: #fff; }
:root[data-magtheme="sombre"] .bouton-defaut { background: #3570b5; }
.bouton-defaut:hover { background: #1258a8; }

.liste {
  appearance: none; -webkit-appearance: none;
  background: var(--fond-composant) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid var(--bordure); border-radius: 8px; padding: 4px 30px 4px 6px; cursor: default;
}
.liste:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.liste option { background: var(--fond-composant); color: var(--texte); }
.case { display: inline-flex; align-items: center; gap: 6px; }
.case input { width: 15px; height: 15px; accent-color: var(--accent); margin: 0; }

/* ---------- écran principal ---------- */
.fenetre-principale {
  width: 1366px; max-width: 100%; height: 768px; max-height: calc(100vh - 110px); min-height: 520px;
}
.fenetre-principale.agrandie {
  position: fixed; inset: 0; width: auto; height: auto; max-width: none; max-height: none; z-index: 20; border: 0;
}

.barre-menus { display: flex; padding: 0 2px; flex: none; }
.barre-menus > button {
  background: none; border: 0; padding: 4px 8px; cursor: default; border-radius: 0;
}
.barre-menus > button:hover, .barre-menus > button.ouvert { background: var(--selection); color: var(--selection-texte); }
.barre-menus > button:focus-visible { outline: 1px dotted var(--accent); }

.menu-deroulant {
  position: fixed; z-index: 50; min-width: 190px; padding: 3px 0;
  background: var(--fond-composant); color: var(--texte); border: 1px solid var(--bordure);
  box-shadow: 0 4px 14px rgba(0,0,0,.2); font-size: var(--taille);
}
.menu-deroulant .element, .menu-tel .element {
  display: grid; grid-template-columns: 22px 1fr auto 14px; align-items: center; gap: 4px;
  width: 100%; padding: 3px 10px 3px 6px; background: none; border: 0; text-align: left; cursor: default; white-space: nowrap;
}
.menu-deroulant .element:hover:not(:disabled), .menu-tel .element:hover:not(:disabled), .menu-deroulant .element:focus, .menu-tel .element:focus { background: var(--selection); color: var(--selection-texte); outline: 0; }
.menu-deroulant .element:disabled, .menu-tel .element:disabled { color: var(--texte-desactive); }
.menu-deroulant .element:disabled img, .menu-tel .element:disabled img { filter: grayscale(1); opacity: .45; }
.menu-deroulant .raccourci, .menu-tel .raccourci { color: var(--texte-secondaire); padding-left: 24px; font-size: .95em; }
.menu-deroulant .element:hover:not(:disabled) .raccourci, .menu-tel .element:hover:not(:disabled) .raccourci, .menu-deroulant .element:focus .raccourci, .menu-tel .element:focus .raccourci { color: inherit; }
.menu-deroulant .coche, .menu-tel .coche { color: var(--accent); text-align: center; }
.menu-deroulant .element:hover .coche, .menu-tel .element:hover .coche, .menu-deroulant .element:focus .coche, .menu-tel .element:focus .coche { color: inherit; }
.menu-deroulant .fleche, .menu-tel .fleche { opacity: .7; }
.menu-deroulant hr, .menu-tel hr { border: 0; border-top: 1px solid var(--filet); margin: 3px 0; }
.menu-deroulant .radio, .menu-tel .radio { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.barre-outils {
  display: flex; align-items: stretch; padding: 2px 6px; gap: 1px;
  border-bottom: 1px solid var(--bordure); flex: none; overflow: hidden;
}
.barre-outils .outil {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: none; border: 1px solid transparent; border-radius: 6px; padding: 1px 3px; cursor: default;
  font-size: .92em; white-space: nowrap; min-width: 40px; flex: none;
}
.barre-outils.petites .outil { flex-direction: row; gap: 4px; padding: 2px 3px; }
.barre-outils .outil:hover:not(:disabled) { background: var(--survol); }
.barre-outils .outil:disabled { color: var(--texte-desactive); }
.barre-outils .outil:disabled img { filter: grayscale(1); opacity: .45; }
.barre-outils.sans-texte .outil span { display: none; }
.barre-outils .separateur { width: 1px; background: var(--filet); margin: 4px 5px; flex: none; }
.barre-outils .ressort { flex: 1; }

.entete-etat {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 10px 12px 0; flex: none;
}
.indicateurs { display: flex; gap: 8px; flex-wrap: wrap; }
.indic {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 12px; border-radius: 999px;
  background: var(--fond-composant); border: 1px solid var(--bordure); cursor: default;
}
.indic:hover { background: var(--survol); }
.indic.choisi { background: var(--indic-choisi); color: var(--indic-choisi-texte); }
.pastille { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--bordure); display: inline-block; }
.pastille-alerte { background: var(--pastille-alerte); }
.pastille-rupture { background: var(--rupture-fond); }
.titre-etat { margin: 0; font-size: 1.5em; color: var(--titre-accent); text-align: center; white-space: nowrap; }
.utilisateur-connecte { justify-self: end; display: flex; align-items: center; gap: 5px; white-space: nowrap; }

.barre-filtres {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px 8px; flex: none;
  font-size: 1.1em;
}
.barre-filtres .champ-recherche { width: 300px; min-height: 36px; }
.barre-filtres .liste { width: 220px; height: 36px; }
.barre-filtres #bouton-reinit { width: 130px; height: 36px; }

.zone-tableau {
  flex: 1; overflow: auto; background: var(--fond-composant);
  border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); position: relative;
  scrollbar-color: var(--barre-defil) transparent;
}
.tableau { width: 100%; border-collapse: collapse; background: var(--fond-composant); }
.tableau th {
  position: sticky; top: 0; z-index: 1; height: 28px; padding: 0 4px; font-weight: 700; text-align: center;
  background: var(--entete-tableau); border-bottom: 1px solid var(--filet); border-right: 1px solid var(--filet);
  cursor: default; user-select: none; white-space: nowrap;
}
.tableau th:last-child { border-right: 0; }
.tableau th .tri { font-size: .75em; margin-left: 4px; opacity: .7; }
.tableau td { height: 34px; padding: 0 3px; border-bottom: 1px solid var(--filet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 0; }
.tableau td.nombre { text-align: right; }
.tableau tbody tr:nth-child(even) { background: var(--ligne-alt); }
.tableau tbody tr.bas { background: var(--bas-fond); color: var(--bas-texte); }
.tableau tbody tr.rupture { background: var(--rupture-fond); color: var(--rupture-texte); }
.tableau tbody tr.archive { color: var(--texte-secondaire); }
.tableau tbody tr.choisi { background: var(--selection); color: var(--selection-texte); }
.tableau:focus { outline: 0; }
.tableau:not(:focus-within) tbody tr.choisi { background: #c9dcf2; color: #0d1b2a; }
:root[data-magtheme="sombre"] .tableau:not(:focus-within) tbody tr.choisi { background: #2f5f8f; color: #fff; }

.pied {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 4px 12px; border-top: 1px solid var(--bordure); flex: none; white-space: nowrap;
}
.pied #resume { overflow: hidden; text-overflow: ellipsis; }
.horloge { display: flex; align-items: center; gap: 4px; }

/* ---------- boîte de message (JOptionPane) ---------- */
.voile { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.08); }
.boite {
  position: fixed; z-index: 45; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(460px, calc(100vw - 32px)); background: var(--fond); color: var(--texte);
  border: 1px solid var(--bordure); box-shadow: var(--ombre); font-size: var(--taille);
}
.boite-corps { display: flex; gap: 14px; padding: 16px 18px 10px; align-items: flex-start; }
.boite-corps p { margin: 0 0 6px; }
.boite-boutons { display: flex; justify-content: flex-end; gap: 8px; padding: 8px 14px 14px; }
.boite-boutons .bouton { min-width: 90px; }

/* ---------- petits écrans : version adaptée prévue à l'étape SIM6 ---------- */
@media (max-width: 760px) {
  .connexion { flex-direction: column; }
  .connexion-marque { width: auto; }
  .fenetre-connexion { margin-top: 0; }
  .bureau { padding: 12px 0; }
  .fenetre-principale { height: calc(100vh - 140px); }
  .entete-etat { grid-template-columns: 1fr; justify-items: start; }
  .titre-etat { text-align: left; }
  .utilisateur-connecte { justify-self: start; }
  .barre-outils, .barre-menus { overflow-x: auto; scrollbar-width: none; }
  .barre-menus > button { flex: none; }
  .connexion-slogan { white-space: normal; }
  .barre-filtres .champ-recherche, .barre-filtres .liste { width: 100%; }
  .tableau td, .tableau th { font-size: .92em; }
  .tableau .col-cat, .tableau .col-unite { display: none; }
}

/* ======================================================================== étape SIM2 : fenêtres secondaires */
:root {
  --fond-carte: #ffffff;
  --serie-r: #2a78d6;
  --serie-s: #eb6834;
  --grille: #e6e8eb;
  --axe: #b9bfc7;
  --survol-graph: #eef3fa;
  --avertissement: #8a5300;
  --fond-pages: #8a94a0;
  --onglet-trait: #1565c0;
}
:root[data-magtheme="sombre"] {
  --fond-carte: #2e3134;
  --serie-r: #3987e5;
  --serie-s: #d95926;
  --grille: #41454a;
  --axe: #6a7078;
  --survol-graph: #3a3f45;
  --avertissement: #f2b866;
  --fond-pages: #25272a;
  --onglet-trait: #4a90d9;
}

.voile-fenetre { position: fixed; inset: 0; z-index: 30; background: rgba(0, 0, 0, .12); }
.fenetre.dialogue {
  position: fixed; z-index: 35; left: 50%; top: 50%; transform: translate(-50%, -50%);
  max-width: calc(100vw - 16px); max-height: calc(100vh - 16px);
}
.dialogue-corps { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 8px 8px 10px; overflow: auto; }
.dialogue-pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 0; flex: none; flex-wrap: wrap; }
.dialogue-statut { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dialogue-boutons { display: flex; gap: 10px; flex-wrap: wrap; }
.dialogue .bouton { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; min-height: 32px; text-decoration: none; color: var(--texte); white-space: nowrap; }
.dialogue .bouton-defaut, .dialogue .bouton-defaut span { color: #fff; font-weight: 700; }
.dialogue .bouton:disabled { color: var(--texte-desactive); }
.dialogue .bouton:disabled img { filter: grayscale(1); opacity: .45; }
.dialogue .bouton-accent { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.dialogue .zone-tableau { border: 1px solid var(--bordure); min-height: 90px; }
.dialogue .liste { height: 32px; }
.paire { display: inline-flex; align-items: center; gap: 8px; }
.paire-pleine { display: flex; }
.paire-pleine .champ { flex: 1; min-width: 0; }
.ligne-options, .ligne-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: none; }
.texte-secondaire { color: var(--texte-secondaire); }
.texte-erreur { color: var(--erreur); }
.texte-avertissement { color: var(--avertissement); }
.tableau tr.choisi td.texte-erreur, .tableau tr.choisi td.texte-avertissement, .tableau tr.choisi td.texte-secondaire { color: inherit; }
.note { color: var(--texte); min-height: 1.35em; flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-avertissement { color: var(--avertissement); }
.note-demo { margin: 0; padding: 6px 10px; background: #fff4ce; color: #3d3000; border: 1px solid #e0b42f; }
:root[data-magtheme="sombre"] .note-demo { background: #4a3f1a; color: #f6e7b5; border-color: #8a6d1a; }
.tableau th { line-height: 1.15; padding: 3px 4px; height: auto; min-height: 28px; }
.tableau th.trie-asc::after { content: " ▲"; font-size: .7em; opacity: .7; }
.tableau th.trie-desc::after { content: " ▼"; font-size: .7em; opacity: .7; }
.dialogue .tableau td { height: 30px; }
.tableau tr.ligne-vide td { color: var(--texte-secondaire); text-align: center; height: 40px; }
.avec-barre { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.tableau td.avec-barre { display: table-cell; }
.barre-cellule { display: inline-block; height: 12px; background: var(--serie-s); vertical-align: middle; margin-right: 6px; border-radius: 2px; }

/* onglets (JTabbedPane) */
.onglets { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.onglets-barre { display: flex; gap: 0; border-bottom: 1px solid var(--bordure); flex: none; overflow-x: auto; scrollbar-width: none; }
.onglet {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; background: none; border: 0;
  border-bottom: 2px solid transparent; cursor: default; white-space: nowrap; position: relative;
}
.onglet + .onglet::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; border-left: 1px solid var(--filet); }
.onglet:hover { background: var(--survol); }
.onglet.actif { border-bottom-color: var(--onglet-trait); }
.onglet:focus-visible { outline: 1px dotted var(--accent); }
.onglets-pages { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.onglet-page { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }

/* cartes d'indicateurs */
.cartes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; flex: none; }
.carte-kpi { background: var(--fond-carte); border: 1px solid var(--bordure); padding: 10px 8px; text-align: center; min-width: 0; }
.carte-valeur { font-size: 2em; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.carte-libelle { color: var(--texte-secondaire); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.section { display: flex; flex-direction: column; gap: 6px; min-height: 0; flex: 1; }
.section-entete { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; }
.section-titre { margin: 0; font-size: 1em; font-weight: 700; }
.section-conteneur { flex: 1; min-height: 0; display: flex; flex-direction: column; }

/* graphiques */
.zone-graphique { background: var(--fond-carte); border: 1px solid var(--bordure); flex: none; height: 180px; overflow: hidden; }
.zone-graphique svg { display: block; }
.g-texte { fill: var(--texte); font: 12.5px var(--police); }
.g-secondaire { fill: var(--texte-secondaire); }
.g-grille { stroke: var(--grille); stroke-width: 1; }
.g-axe { stroke: var(--axe); stroke-width: 1; }
.g-survol { fill: transparent; }
.g-survol:hover { fill: var(--survol-graph); fill-opacity: .55; }
.serie-r { fill: var(--serie-r); }
.serie-s { fill: var(--serie-s); }

/* Statistiques */
.fen-stats .stats-filtres { display: grid; grid-template-columns: auto 1fr auto auto auto auto auto 1fr auto 1fr; gap: 8px 10px; align-items: center; padding: 6px 12px 4px; flex: none; }
.fen-stats .stats-filtres { display: flex; flex-wrap: wrap; }
.fen-stats .stats-filtres .liste { min-width: 150px; }
.fen-stats .champ-date { width: 110px; height: 32px; border: 1px solid var(--bordure); border-radius: 6px; background: var(--fond-composant); padding: 0 6px; }
.fen-stats .champ-date:disabled { color: var(--texte-desactive); background: var(--fond); }
.stats-evolution .section-conteneur .zone-tableau { min-height: 110px; }
.zone-classement { height: auto; max-height: 190px; overflow: auto; }
.stats-produits .section .zone-tableau { flex: 1; }
.stats-utilisateurs > .section { flex: 1.1; }
.stats-utilisateurs-bas { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; flex: 1; min-height: 0; }
.stats-repartition { display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.zone-repartition { flex: 1; height: auto; min-height: 150px; }

/* Synthèse */
.synthese-vue .section, .synthese-activite .section { flex: 1; }

/* Sauvegarde */
.texte-explication p { margin: 0; }
.texte-explication p.vide { height: 1em; }
.fen-sauvegarde .texte-explication { flex: 1; }
.cadre { border: 1px solid var(--bordure); padding: 4px 10px 10px; margin: 0; }
.cadre legend { padding: 0 4px; }
.cadre p { margin: 2px 0 8px; }

/* formulaires (Entreprise, Mot de passe) */
.formulaire { display: grid; grid-template-columns: 150px 1fr; gap: 8px 12px; align-items: start; }
.formulaire label { padding-top: 5px; }
.champ-texte {
  width: 100%; background: var(--fond-composant); border: 1px solid var(--bordure); border-radius: 6px; padding: 5px 7px; color: var(--texte);
  font: inherit; resize: vertical;
}
.champ-texte:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.zone-logo { display: flex; gap: 10px; align-items: flex-start; }
.cadre-logo { width: 200px; height: 98px; display: grid; place-items: center; background: var(--fond-composant); border: 1px solid var(--bordure); overflow: hidden; }
.cadre-logo img { max-width: 100%; max-height: 100%; }
.colonne-boutons { display: flex; flex-direction: column; gap: 8px; }
.apercu-entete { flex: 1; min-height: 140px; }
.feuille-entete { background: #fff; color: #000; padding: 12px 16px; display: flex; justify-content: space-between; gap: 16px; min-height: 130px; }
.entete-gauche { display: flex; gap: 10px; }
.entete-logo { max-height: 48px; max-width: 90px; }
.entete-nom { font-weight: 700; font-size: 1.2em; }
.entete-ligne { font-size: .62em; color: #333; }
.entete-droite { text-align: right; }
.entete-titre { font-weight: 700; font-size: 1.2em; }
.message-erreur { margin: 0; min-height: 1.2em; }
.regle { margin: 0; }

/* À propos, Aide */
.fen-apropos .dialogue-corps { align-items: center; text-align: center; gap: 4px; padding: 16px 20px 18px; }
.logo-apropos { width: 260px; max-width: 100%; margin-bottom: 14px; }
:root[data-magtheme="sombre"] .logo-apropos, :root[data-magtheme="sombre"] .logo-aide { background: #fff; border-radius: 10px; padding: 8px; }
.apropos-produit { font-size: 1.45em; font-weight: 700; color: var(--titre-accent); margin-top: 6px; }
.apropos-bloc { margin-top: 10px; }
.apropos-copyright { font-weight: 700; margin-top: 8px; }
.apropos-fermer { margin-top: 14px; }
.aide-corps { display: flex; gap: 16px; align-items: flex-start; padding: 6px 8px; }
.logo-aide { flex: none; }
.aide-texte h3 { margin: 0 0 8px; }
.aide-texte p { margin: 0 0 6px; }
.aide-raccourcis { border-collapse: collapse; margin: 6px 0; }
.aide-raccourcis td { padding: 2px 6px 2px 0; vertical-align: top; }
.aide-raccourcis .touche { font-weight: 700; white-space: nowrap; padding-right: 14px; }
.aide-texte hr { border: 0; border-top: 1px solid var(--filet); }

/* Manuel */
.manuel-barre .champ-page { width: 64px; text-align: center; }
.manuel-corps { flex: 1; min-height: 0; display: grid; grid-template-columns: 290px 1fr; gap: 6px; }
.manuel-gauche { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.manuel-sommaire { flex: 1; overflow: auto; border: 1px solid var(--bordure); background: var(--fond-composant); }
.manuel-entree { display: flex; width: 100%; gap: 8px; justify-content: space-between; background: none; border: 0; text-align: left; padding: 3px 8px; cursor: default; }
.manuel-entree:hover { background: var(--survol); }
.manuel-entree.actif { background: var(--selection); color: var(--selection-texte); }
.manuel-entree.niveau-0 { font-weight: 700; color: var(--titre-accent); padding-top: 6px; }
.manuel-entree.niveau-0.actif { color: var(--selection-texte); }
.manuel-entree.niveau-1 { padding-left: 24px; }
.manuel-titre { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.manuel-numero { flex: none; }
.manuel-vue { overflow: auto; background: var(--fond-pages); padding: 12px; text-align: center; }
.manuel-page { box-shadow: 0 2px 8px rgba(0, 0, 0, .35); background: #fff; max-width: none; }
.manuel-vue:focus { outline: 0; }

@media (max-width: 760px) {
  .fenetre.dialogue { left: 0; top: 0; transform: none; width: 100vw !important; height: 100vh !important; max-width: 100vw; max-height: 100vh; border: 0; }
  .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-utilisateurs-bas, .manuel-corps { grid-template-columns: 1fr; }
  .manuel-gauche { max-height: 30vh; }
  .formulaire { grid-template-columns: 1fr; }
  .note, .dialogue-statut { white-space: normal; }
  .zone-logo { flex-wrap: wrap; }
  .dialogue-corps > *, .dialogue .onglets, .dialogue .onglets-pages, .dialogue .onglet-page, .dialogue .section,
  .dialogue .section-conteneur, .stats-utilisateurs-bas, .stats-repartition { flex: none; }
  .dialogue .zone-tableau { max-height: 55vh; min-height: 120px; }
  .dialogue .tableau { min-width: 640px; }
  .zone-repartition { height: 220px; }
}

/* SIM3 : fiche produit (ProduitDialog) et historique (HistoriqueProduitDialog) */
.texte-succes { color: var(--succes); }
.formulaire-produit { grid-template-columns: 130px 1fr; }
.champ-nombre { width: 120px; justify-self: start; text-align: right; }
.champ-texte:disabled { opacity: .65; cursor: not-allowed; }
.dialogue-pied-droite { justify-content: flex-end; }
.fen-historique .dialogue-corps { display: flex; flex-direction: column; gap: 6px; }
.historique-entete { flex: none; display: grid; gap: 2px; padding: 4px 4px 2px; }
.historique-entete p { margin: 0; }
.historique-titre { margin: 0; font-size: 1.3em; font-weight: 600; }
.historique-controle { min-height: 1.2em; }
.fen-historique .historique-tableau { flex: 1 1 auto; min-height: 0; }
@media (max-width: 760px) {
  .formulaire-produit { grid-template-columns: 1fr; }
  .fen-historique .historique-tableau table { min-width: 1080px; }
}

/* SIM4 : réceptions, sorties, journal, inventaires, employés, fournisseurs */
.separateur-vertical { width: 1px; align-self: stretch; background: var(--bordure); margin: 2px 2px; }
.champ-recherche-dialogue { width: 230px; }
.tableau tbody tr.annule { color: var(--texte-secondaire); }
.tableau tbody tr.manque { background: var(--manque-fond); color: var(--teinte-texte); }
.tableau tbody tr.excedent { background: var(--excedent-fond); color: var(--teinte-texte); }
.tableau tbody tr.choisi.manque, .tableau tbody tr.choisi.excedent { background: var(--selection); color: var(--selection-texte); }
.fen-saisie .dialogue-corps { gap: 6px; }
.cadre { border: 1px solid var(--bordure); border-radius: 6px; margin: 0; padding: 4px 10px 8px; min-width: 0; }
.cadre legend { padding: 0 4px; color: var(--texte-secondaire); }
.cadre-entete { flex: none; }
.grille-entete { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 6px 12px; align-items: center; }
.cadre-catalogue, .cadre-lignes { flex: 1 1 0; min-height: 150px; display: flex; flex-direction: column; gap: 6px; }
.cadre-catalogue .zone-tableau, .cadre-lignes .zone-tableau { flex: 1; min-height: 0; }
.champ-date { max-width: 180px; }
.cellule-saisie { padding: 1px 4px !important; }
.champ-cellule { width: 110px; padding: 2px 6px; text-align: right; }
.totaux { white-space: nowrap; color: var(--texte-secondaire); margin-right: 6px; }
.fen-saisie-texte .saisie-ligne { margin: 0; }
.fen-document .dialogue-corps { gap: 8px; }
.document-texte { flex: 1; min-height: 0; overflow: auto; margin: 0; padding: 10px 12px; background: var(--fond-composant);
  border: 1px solid var(--bordure); border-radius: 6px; font: 13.5px/1.35 ui-monospace, "Cascadia Mono", Consolas, "DejaVu Sans Mono", monospace; white-space: pre; }
.fen-journal .tableau-large table { min-width: 1385px; }
.fen-inventaire .zone-tableau { flex: 1; min-height: 0; }
@media (max-width: 760px) {
  .grille-entete { grid-template-columns: 1fr; }
  .champ-date { max-width: none; }
  .champ-recherche-dialogue { width: 100%; }
  .cadre-catalogue, .cadre-lignes { flex: none; min-height: 0; }
  .cadre-catalogue .zone-tableau, .cadre-lignes .zone-tableau { max-height: 300px; }
  .document-texte { font-size: 11.5px; }
}

/* SIM5 : bons A4 (BonA4Dialog), export PDF des listes et impression */
.fen-apercu .dialogue-corps { gap: 6px; padding: 0 0 8px; }
.fond-pages { flex: 1; min-height: 0; overflow: auto; background: #8c939c; padding: 20px; outline: 0; }
.feuille-a4 {
  position: relative; overflow: hidden; box-sizing: border-box; width: 794px; max-width: 100%; min-height: 1123px; margin: 0 auto;
  padding: 57px; background: #fff; color: #000; box-shadow: 3px 3px 0 rgba(0,0,0,.28);
  font: 10pt/1.35 Arial, "Helvetica Neue", "Liberation Sans", sans-serif;
}
.feuille-paysage { width: 1123px; min-height: 794px; padding: 38px 37px; }
.feuille-a4 * { color: #000; }
.a4-entete { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.a4-entete-gauche { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.a4-logo { max-height: 64px; max-width: 160px; width: auto; height: auto; }
.a4-nom { font-size: 18pt; font-weight: 700; line-height: 1.15; }
.a4-petit { font-size: 8pt; }
.a4-entete-droite { text-align: right; white-space: nowrap; }
.a4-titre { font-size: 18pt; font-weight: 700; }
.a4-numero { font-size: 14pt; }
.a4-filet { border: 0; border-top: 1px solid #000; margin: 8px 0 10px; }
.a4-annule { text-align: center; font-size: 18pt; font-weight: 700; margin: 6px 0 10px; }
.a4-infos { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.a4-infos th { width: 19%; text-align: left; vertical-align: top; white-space: nowrap; padding: 2px 6px 2px 0; }
.a4-infos td { width: 31%; vertical-align: top; padding: 2px 8px 2px 0; }
.a4-grille, .a4-liste { width: 100%; border-collapse: collapse; }
.a4-grille th, .a4-grille td { border: 1px solid #000; padding: 4px 5px; text-align: left; vertical-align: top; }
.a4-grille .centre { text-align: center; }
.a4-grille .nombre, .a4-liste .nombre { text-align: right; }
.a4-total td { font-weight: 700; }
.a4-texte { margin: 10px 0 0; }
.a4-signatures { display: flex; justify-content: space-between; gap: 8%; margin-top: 26px; break-inside: avoid; }
.a4-signature { flex: 1; }
.a4-ligne-signature { border-bottom: 1px solid #000; height: 64px; }
.a4-edite { text-align: right; font-size: 8pt; margin: 22px 0 0; }
.a4-mention { font-size: 7.5pt; color: #555 !important; margin: 6px 0 0; text-align: right; }
.a4-filigrane {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-30deg); pointer-events: none;
  font-size: 72pt; font-weight: 700; letter-spacing: 6px; color: rgba(0,0,0,.05) !important; white-space: nowrap;
}
.a4-titre-liste { font-size: 14pt; margin: 0 0 2px; }
.a4-meta { font-size: 8.5pt; color: #333 !important; margin: 0 0 8px; }
.a4-liste { font-size: 8.5pt; }
.a4-liste th { background: #e1e1e1; border: 1px solid #888; padding: 4px; text-align: left; }
.a4-liste td { border: 1px solid #888; padding: 3px 4px; vertical-align: top; }
.a4-liste tr, .a4-grille tr { break-inside: avoid; }
.a4-liste td.court { white-space: nowrap; }
.feuille-texte { min-height: 0; }
.a4-pre { margin: 0; font: 11pt/1.35 ui-monospace, "Cascadia Mono", Consolas, "DejaVu Sans Mono", monospace; white-space: pre; }
#zone-impression { display: none; }
@page {
  size: A4 portrait; margin: 15mm;
  @bottom-left { content: "Démonstration en ligne MagManager — données fictives, document sans valeur"; font: 7pt sans-serif; color: #555; }
  @bottom-right { content: "Page " counter(page); font: 8pt sans-serif; color: #444; }
}
@page paysage { size: A4 landscape; }
#zone-impression.paysage { page: paysage; }
@media (max-width: 760px) {
  .fond-pages { padding: 8px; }
  .feuille-a4 { padding: 18px; min-height: 0; font-size: 8.5pt; }
  .feuille-paysage { width: 100%; }
  .a4-nom, .a4-titre { font-size: 13pt; }
  .a4-numero { font-size: 11pt; }
  .a4-entete { flex-wrap: wrap; }
  .a4-filigrane { font-size: 40pt; }
}
@media print {
  html, body { background: #fff !important; margin: 0 !important; padding: 0 !important; }
  body > *:not(#zone-impression) { display: none !important; }
  #zone-impression { display: block !important; }
  #zone-impression:empty::before { content: "Utilisez les boutons « Imprimer » de MagManager pour imprimer un bon ou une liste."; font: 11pt sans-serif; }
  .feuille-imprimee { width: auto !important; max-width: none !important; min-height: 0 !important; padding: 0 !important;
    box-shadow: none !important; margin: 0 !important; overflow: visible !important; position: static !important; }
  .feuille-imprimee .a4-filigrane { position: fixed; font-size: 54pt; }
  .feuille-imprimee thead { display: table-header-group; }
}
@media (max-width: 760px) { .fen-apercu .dialogue-pied .dialogue-statut { display: none; } }


/* ======================================================================== étape SIM6 : téléphone, visite guidée */
.barre-tel, .barre-selection { display: none; }
.lecteur-seul { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* menu repliable (téléphone) */
.voile-menu-tel { position: fixed; inset: 0; z-index: 47; background: rgba(0, 0, 0, .35); }
.menu-tel {
  position: fixed; z-index: 48; left: 0; top: 0; bottom: 0; width: min(330px, 86vw); overflow-y: auto;
  background: var(--fond-composant); color: var(--texte); box-shadow: var(--ombre); font-size: var(--taille);
  padding-bottom: 16px;
}
.menu-tel-tete { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 16px;
  border-bottom: 1px solid var(--bordure); position: sticky; top: 0; background: var(--fond-composant); z-index: 1; }
.menu-tel-fermer { width: 44px; height: 44px; border: 0; background: none; font-size: 18px; border-radius: 8px; }
.section-tel {
  display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 48px; padding: 0 16px;
  border: 0; border-bottom: 1px solid var(--filet); background: none; text-align: left; font-weight: 600;
}
.section-tel::after { content: "›"; font-size: 1.3em; transition: transform .15s; opacity: .7; }
.section-tel[aria-expanded="true"] { color: var(--titre-accent); }
.section-tel[aria-expanded="true"]::after { transform: rotate(90deg); }
.contenu-tel { padding: 4px 0 8px; background: var(--fond); border-bottom: 1px solid var(--filet); }
.menu-tel .element { min-height: 44px; padding: 4px 16px 4px 14px; white-space: normal; }
.menu-tel .raccourci { display: none; }
.menu-tel .element:disabled { color: var(--texte-secondaire); opacity: .75; }

/* visite guidée */
.visite-voile { position: fixed; inset: 0; z-index: 60; background: transparent; }
.visite-voile-sombre { background: rgba(0, 0, 0, .55); }
.visite-cadre {
  position: fixed; z-index: 61; pointer-events: none; border-radius: 8px;
  box-shadow: 0 0 0 3px #ffb300, 0 0 0 200vmax rgba(0, 0, 0, .55); transition: all .2s ease;
}
.visite-bulle {
  position: fixed; z-index: 62; width: min(380px, calc(100vw - 32px)); padding: 14px 16px 12px;
  background: var(--fond-composant); color: var(--texte); border: 1px solid var(--bordure); border-radius: 12px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .35); font: 14px/1.45 var(--police);
}
.visite-bulle-centre { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); width: min(440px, calc(100vw - 32px)); }
.visite-compteur { margin: 0 0 2px; font-size: 12.5px; color: var(--texte-secondaire); }
.visite-titre { margin: 0 0 6px; font-size: 17px; color: var(--titre-accent); }
.visite-texte p { margin: 0 0 8px; }
.visite-lien { color: var(--accent); font-weight: 600; }
:root[data-magtheme="sombre"] .visite-lien { color: var(--titre-accent); }
.visite-pied { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.visite-navigation { display: flex; gap: 8px; }
.visite-bulle .bouton { min-height: 36px; padding: 5px 14px; }
.visite-bulle .bouton-defaut { color: #fff; font-weight: 700; }
.visite-bulle .bouton:disabled { color: var(--texte-desactive); }
.visite-quitter { background: none !important; border-color: transparent !important; color: var(--texte-secondaire); padding-left: 0 !important; text-decoration: underline; }

/* téléphone (moins de 640 px) : pas de fausse fenêtre, menu repliable, produits en cartes */
@media (max-width: 640px) {
  .bureau { padding: 0; display: block; }
  .fenetre-connexion, .fenetre-principale { border: 0; box-shadow: none; width: 100%; }
  .fenetre-connexion > .barre-titre, .fenetre-principale > .barre-titre, .barre-menus { display: none; }
  .connexion-form { padding-left: 16px; padding-right: 16px; }
  .fenetre-principale { height: auto; max-height: none; min-height: 0; }
  .barre-tel {
    display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 8px; min-height: 52px;
    border-bottom: 1px solid var(--bordure); background: var(--fond-composant); position: sticky; top: 0; z-index: 15;
  }
  .bt-menu-tel {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 8px;
    border: 1px solid var(--bordure); background: var(--fond); font-weight: 600;
  }
  .hamburger, .hamburger::before, .hamburger::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; position: relative; }
  .hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; }
  .hamburger::before { top: -6px; }
  .hamburger::after { top: 6px; }
  .barre-tel-titre { font-weight: 700; }
  .barre-tel-utilisateur { margin-left: auto; color: var(--texte-secondaire); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .barre-outils { padding: 4px 8px; }
  .barre-outils .outil { min-height: 44px; min-width: 64px; }
  .entete-etat { padding: 10px 16px 0; gap: 8px; }
  .indic { min-height: 36px; }
  .utilisateur-connecte { display: none; }
  .barre-filtres { padding: 10px 16px 8px; }
  .barre-filtres .champ-recherche, .barre-filtres .liste, .barre-filtres #bouton-reinit { height: 44px; }
  .barre-filtres #bouton-reinit { width: auto; }
  .case { min-height: 36px; }
  .horloge { display: none; }
  .pied { padding: 8px 16px; white-space: normal; border-bottom: 0; }

  /* tableau des produits en cartes */
  .fenetre-principale .zone-tableau { overflow: visible; flex: none; background: transparent; border: 0; }
  #table-produits, #table-produits tbody { display: block; background: transparent; }
  #table-produits thead, #table-produits colgroup { display: none; }
  #table-produits tbody { display: grid; gap: 10px; padding: 4px 16px 12px; }
  #table-produits tbody tr {
    display: grid; grid-template-columns: auto auto 1fr auto; column-gap: 6px; row-gap: 3px;
    grid-template-areas: "ref ref ref etat" "des des des des" "cat cat cat cat" "stock unite . seuil";
    padding: 10px 12px; border: 1px solid var(--bordure); border-radius: 10px; background: var(--fond-composant);
    cursor: pointer;
  }
  #table-produits tbody tr:nth-child(even) { background: var(--fond-composant); }
  #table-produits tbody tr.bas { background: var(--bas-fond); }
  #table-produits tbody tr.rupture { background: var(--rupture-fond); }
  #table-produits tbody tr.choisi { background: var(--selection); color: var(--selection-texte); box-shadow: 0 0 0 2px var(--selection); }
  #table-produits td { display: block; height: auto; max-width: none; padding: 0; border: 0; white-space: normal; overflow: visible; font-size: 1em; }
  #table-produits td[data-col="reference"] { grid-area: ref; font-size: .92em; }
  #table-produits td[data-col="designation"] { grid-area: des; font-weight: 600; font-size: 1.07em; }
  #table-produits td[data-col="categorie"] { grid-area: cat; font-size: .92em; font-style: italic; }
  #table-produits td[data-col="categorie"]:empty { display: none; }
  #table-produits td[data-col="unite"] { grid-area: unite; display: block !important; }
  #table-produits td[data-col="quantite"] { grid-area: stock; font-weight: 700; }
  #table-produits td[data-col="quantite"]::before { content: "Stock : "; font-weight: 400; }
  #table-produits td[data-col="seuilAlerte"] { grid-area: seuil; }
  #table-produits td[data-col="seuilAlerte"]::before { content: "Seuil : "; }
  #table-produits td[data-col="etat"] { grid-area: etat; justify-self: end; padding: 0 8px; border: 1px solid currentColor; border-radius: 999px; font-size: .85em; }

  /* barre d'actions du produit touché */
  .barre-selection {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; flex-direction: column; gap: 6px; padding: 8px 16px 10px;
    background: var(--fond-composant); border-top: 1px solid var(--bordure); box-shadow: 0 -4px 14px rgba(0, 0, 0, .12);
  }
  .barre-selection[hidden] { display: none !important; }
  .fenetre-principale:has(.barre-selection:not([hidden])) { padding-bottom: 104px; }
  .barre-selection-nom { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .barre-selection-boutons { display: flex; gap: 8px; }
  .barre-selection .bouton { flex: 1; min-height: 44px; padding: 0 6px; }

  /* visite : bulle en bas de l'écran */
  .visite-bulle:not(.visite-bulle-centre) { left: 16px !important; right: 16px; bottom: 16px; top: auto !important; width: auto; }
  .visite-bulle.visite-bulle-haut:not(.visite-bulle-centre) { top: 16px !important; bottom: auto; }
  .visite-bulle .bouton { min-height: 44px; }
}
