/* Console du Binaire FileSane — feuille de style construite d'après specs/maquettes-console-binaire.pptx. */
:root { --bleu: #1d75c4; --bleu-fort: #1763a8; --marine: #12284c; --ciel: #5db4e8; --encre: #1a2433; --texte: #2a3648; --gris: #5d6b82; --trait: #dde3ec; --panneau: #f4f7fb; --champ: #eef1f6; --teinte: #e4eefa; --vert: #188a5a; --vert-fond: #e2f3ea; --rouge: #b3261e; --rouge-fond: #fbe6e4; --ambre: #b26a00; --ambre-fond: #fcf0dc; --mono: Consolas, 'Liberation Mono', 'Courier New', monospace; --titre: Arial, 'Liberation Sans', Helvetica, sans-serif; --accent: #1d75c4; --accent-fg: #ffffff; --fg: #1a2433; --muted: #5d6b82; --line: #dde3ec; --bg: #ffffff; --card: #ffffff; --cible-min: 44px; }
* { box-sizing: border-box; }
html, body { margin: 0; background: #ffffff; color: var(--texte); overflow-x: hidden; font: 14px/1.5 Lato, 'Segoe UI', system-ui, -apple-system, sans-serif; }
h1, h2, h3, p { margin: 0; }
h1 { font: 700 36px/1.15 var(--titre); color: var(--encre); letter-spacing: -0.2px; }
h2 { font-size: 17px; font-weight: 700; color: var(--encre); line-height: 1.3; }
h3 { font-size: 14px; font-weight: 700; color: var(--encre); margin: 14px 0 8px 0; }
p { margin: 0 0 10px 0; }
ul { margin: 0 0 10px 0; padding-left: 20px; }
img.ic { width: 18px; height: 18px; flex: none; display: block; }
.muted, .aide { color: var(--gris); font-size: 12px; }
.aide { margin: 6px 0 0 0; font-size: 11.5px; line-height: 1.35; }
.mono { font-family: var(--mono); }
strong { color: var(--encre); }

/* ---- Coque: barre latérale et zone principale ---- */
.coque { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
/* Pages d'un workflow (portail, sous-App): tout l'écran, sans menu latéral; leur design vient du workflow. */
.coque.portail { grid-template-columns: minmax(0, 1fr); }
.coque.portail .principal { padding: 0; }
/* Espace arrêté: la page qui remplace celles d'une sous-App à l'arrêt. */
.arret { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; background: linear-gradient(160deg, #ffffff 0%, #f6f6f7 45%, #e2e3e6 100%); }
.arret .carte { width: 100%; max-width: 560px; margin: 0; }
.arret .succes { margin: 0; }
.arret .boutons { justify-content: center; margin-top: 22px; }
.arret .copyright { color: var(--gris); font-size: 12px; margin: 0; }
img.fne-marque { height: 1em; width: auto; vertical-align: -0.12em; display: inline-block; }
.lateral { background: var(--panneau); padding: 60px 14px 22px 14px; display: flex; flex-direction: column; position: relative; min-width: 0; }
.principal { padding: 36px 46px 40px 46px; min-width: 0; }
button.langue { position: absolute; top: 14px; left: 14px; z-index: 5; height: 22px; min-height: 22px; min-width: 36px; padding: 0 8px; margin: 0; background: #ffffff; color: var(--bleu); border: 1.5px solid var(--bleu); border-radius: 6px; font-size: 10px; font-weight: 700; line-height: 1; }
button.langue:hover { background: var(--teinte); }
button.repli { position: absolute; top: 12px; right: 12px; width: 32px; height: 26px; min-height: 26px; min-width: 32px; padding: 0; margin: 0; background: #ffffff; border: 1px solid var(--trait); border-radius: 6px; color: var(--gris); font-size: 15px; line-height: 1; font-weight: 700; }
button.repli:hover { background: var(--champ); border-color: var(--trait); }
.marque { display: flex; align-items: center; gap: 12px; padding: 0 0 0 14px; margin: 0 0 28px 0; }
.marque img { height: 56px; width: auto; display: block; }
.marque span { font-size: 18px; letter-spacing: 0.14em; color: var(--marine); font-weight: 400; }
.marque.centre { flex-direction: column; gap: 8px; padding: 22px 0 0 0; margin: 0 0 14px 0; }
.marque.centre img { height: 92px; }
.marque.centre span { font-size: 16px; letter-spacing: 0.22em; color: var(--gris); }
.bienvenue { text-align: center; font-size: 12px; line-height: 1.45; color: var(--gris); margin: 0 8px; }
.sous-nom { text-align: center; font-size: 12px; color: var(--gris); margin: -14px 0 18px 0; overflow-wrap: anywhere; }
.titre-vertical { writing-mode: vertical-rl; transform: rotate(180deg); align-self: center; margin: auto 0; font: 400 44px/1 var(--titre); color: #9aa8bd; white-space: nowrap; }
.menu { display: flex; flex-direction: column; gap: 6px; }
.nav { display: flex; align-items: center; justify-content: flex-start; gap: 13px; width: 100%; height: 37px; min-height: 37px; padding: 0 14px; margin: 0; background: transparent; border: 0; border-radius: 8px; color: var(--encre); font-size: 14.5px; font-weight: 400; text-align: left; position: relative; }
.nav img { width: 19px; height: 19px; flex: none; }
.nav:hover { background: #e9eef6; border: 0; }
.nav.actif { background: var(--teinte); color: var(--bleu); font-weight: 700; }
.nav .badge { margin-left: 2px; background: #e6ebf2; color: var(--gris); border-radius: 999px; padding: 2px 16px; font-size: 11px; font-weight: 700; }
.pied { margin-top: auto; padding-top: 18px; text-align: center; }
.pied.suite { margin-top: 18px; }
.nom-binaire { font-size: 8.5px; letter-spacing: 0.02em; color: var(--gris); text-transform: uppercase; overflow-wrap: anywhere; margin: 0 0 6px 0; }
.copyright { font-size: 10.5px; color: var(--gris); }
.coque.reduit { grid-template-columns: 72px minmax(0, 1fr); }
.coque.reduit .lateral { padding: 96px 12px 18px 12px; align-items: center; }
.coque.reduit button.repli { top: 44px; left: 20px; right: auto; }
.coque.reduit .marque { padding: 0; margin: 0 0 18px 0; }
.coque.reduit .marque img { height: 38px; }
.coque.reduit .marque span, .coque.reduit .nav .badge, .coque.reduit .nom-binaire { display: none; }
.coque.reduit .menu { width: 100%; }
.coque.reduit .nav { justify-content: center; padding: 0; font-size: 0; gap: 0; }
.coque.reduit .nav:hover::after { content: attr(data-nom); position: absolute; left: 100%; top: 50%; transform: translateY(-50%); margin-left: 14px; background: var(--marine); color: #ffffff; font-size: 12px; font-weight: 700; padding: 8px 22px; border-radius: 6px; white-space: nowrap; z-index: 60; box-shadow: 0 4px 12px rgba(18, 40, 76, 0.25); }
.coque.reduit .copyright { font-size: 8px; line-height: 1.3; }

/* ---- En-tête de page ---- */
.entete-page { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 28px 0; min-height: 44px; }
.entete-page .titre { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.actions-page { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---- Boutons ---- */
button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 40px; min-height: 40px; padding: 0 24px; margin: 0; background: var(--bleu); color: #ffffff; border: 1.5px solid var(--bleu); border-radius: 7px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
button:hover { background: var(--bleu-fort); border-color: var(--bleu-fort); }
button img { width: 17px; height: 17px; flex: none; }
button.contour, button.secondaire { background: #ffffff; color: var(--bleu); border-color: var(--bleu); }
button.contour:hover, button.secondaire:hover { background: var(--teinte); }
button.danger { background: var(--rouge); border-color: var(--rouge); color: #ffffff; }
button.danger:hover { background: #961f18; border-color: #961f18; }
button.contour-danger { background: #ffffff; color: var(--rouge); border-color: var(--rouge); }
button.contour-danger:hover { background: var(--rouge-fond); }
button.petit { height: 32px; min-height: 32px; padding: 0 18px; font-size: 12px; border-radius: 6px; }
button.large { min-width: 226px; }
button.pleine { display: flex; width: 100%; }
button.haut { height: 44px; min-height: 44px; font-size: 14.5px; }

/* ---- Cartes ---- */
.carte { background: #ffffff; border: 1px solid var(--trait); border-radius: 10px; padding: 20px 24px 22px 24px; margin: 0 0 20px 0; min-width: 0; }
.carte-tete { display: flex; align-items: center; gap: 12px; margin: 0 0 20px 0; min-height: 34px; }
.carte-tete h2 { flex: 1; min-width: 0; }
.carte.rouge { border-color: var(--rouge); }
.carte.rouge.fin { border-width: 1.5px; }
.rond { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teinte); flex: none; }
.rond img { width: 18px; height: 18px; }
.rond.grand { width: 70px; height: 70px; } .rond.grand img { width: 30px; height: 30px; }
.rond.moyen { width: 64px; height: 64px; } .rond.moyen img { width: 28px; height: 28px; }
.rond.vert { background: var(--vert-fond); }
.rond.marine { background: var(--marine); color: #ffffff; font: 700 14px/1 var(--titre); }
.colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.colonnes.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.colonnes.g { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.colonnes.d { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.colonnes.etire { align-items: stretch; }
.colonnes > .carte, .colonnes .pile > .carte:last-child { margin-bottom: 0; }
.colonnes { margin: 0 0 20px 0; }
.pile { display: flex; flex-direction: column; min-width: 0; }
.etroit { max-width: 770px; margin-left: auto; margin-right: auto; }
.carte.centre { padding: 32px 38px 34px 38px; }

/* ---- Champs ---- */
div.form > div, .champ { margin: 0 0 18px 0; }
div.form > div:last-child { margin-bottom: 0; }
label { display: block; font-size: 13px; font-weight: 700; color: var(--encre); margin: 0 0 7px 0; }
input, select { display: block; width: 100%; height: 38px; padding: 0 13px; background: var(--champ); color: var(--encre); border: 1.5px solid transparent; border-radius: 6px; font: inherit; font-size: 13.5px; }
input::placeholder { color: var(--gris); }
input:focus, select:focus { outline: 0; border-color: var(--bleu); box-shadow: 0 0 0 1px var(--bleu); }
input.mono { font-family: var(--mono); letter-spacing: 0.02em; }
input.invalide { border-color: var(--rouge); box-shadow: 0 0 0 1px var(--rouge); }
.depot.invalide .zone { border-color: var(--rouge); border-style: solid; }
.champ-mdp, .champ-choix { position: relative; margin: 0; }
.champ-mdp input, .champ-choix input, .champ-choix select { padding-right: 42px; }
select { appearance: none; -webkit-appearance: none; cursor: pointer; }
select.invalide { border-color: var(--rouge); box-shadow: 0 0 0 1px var(--rouge); }
.champ-choix::after { content: ''; position: absolute; right: 13px; top: 11px; width: 16px; height: 16px; background: url(/i/chevron-n.svg) center / contain no-repeat; pointer-events: none; }
button.oeil { position: absolute; right: 4px; top: 4px; width: 34px; height: 30px; min-height: 30px; padding: 0; margin: 0; background: transparent; border: 0; }
button.oeil:hover { background: transparent; }
button.oeil img { width: 19px; height: 19px; }
.fixe { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 38px; padding: 0 13px; background: #ffffff; border: 1.5px solid var(--trait); border-radius: 6px; color: var(--encre); font-size: 13.5px; margin: 0; }
.fixe img { width: 17px; height: 17px; }
.paire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.paire > div { margin: 0; min-width: 0; }
.boite { display: flex; align-items: flex-start; gap: 12px; border-radius: 8px; padding: 14px 16px; font-size: 13px; line-height: 1.45; color: var(--encre); margin: 0 0 18px 0; }
.boite img { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.boite.ambre { background: var(--ambre-fond); padding: 16px 18px; }
.boite.bleu { background: var(--teinte); }
.boite.vert { background: var(--vert-fond); align-items: center; }
.boite p { margin: 0; }
.bloc-mono { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--champ); border-radius: 7px; padding: 12px 18px; margin: 0 0 18px 0; min-height: 40px; }
.bloc-mono code { background: transparent; padding: 0; font: 700 13.5px/2.15 var(--mono); color: var(--encre); letter-spacing: 0.04em; overflow-wrap: anywhere; white-space: pre-wrap; }
.bloc-mono.simple code { line-height: 1.4; }
code { background: var(--champ); color: var(--encre); padding: 1px 6px; border-radius: 5px; font: 12.5px var(--mono); overflow-wrap: anywhere; }
pre { margin: 0; background: #0f1b2d; color: #d6e2f3; padding: 18px 20px; border-radius: 8px; font: 12.5px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
pre.doc { margin: 0; border-radius: 0; padding: 2px 20px; }
.sombre { background: #0f1b2d; border-radius: 8px; padding: 16px 0; min-height: 330px; }
.sombre.cle { min-height: 0; padding: 18px 18px; color: #ffffff; font: 700 13px/1.6 var(--mono); letter-spacing: 0.05em; overflow-wrap: anywhere; margin: 0 0 8px 0; }
.sep { border: 0; border-top: 1px solid var(--trait); margin: 26px 0; height: 0; }

/* ---- Dépôt de fichier ---- */
.depot { margin: 0 0 14px 0; }
.depot .zone { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; min-height: 82px; padding: 16px; background: #eef5fc; border: 1.5px dashed var(--ciel); border-radius: 9px; color: var(--gris); font-size: 13px; }
.depot .zone img { width: 22px; height: 22px; }
.depot .zone button { margin-left: 46px; }
.depot.survol .zone { background: #dcebfa; border-color: var(--bleu); }
.depot .cache { display: none; }
.depot .fichier { display: flex; align-items: center; gap: 10px; background: var(--vert-fond); border-radius: 6px; padding: 9px 13px; margin: 10px 0 0 0; font: 12.5px var(--mono); color: var(--encre); overflow-wrap: anywhere; }
.depot .fichier::before { content: ''; width: 17px; height: 17px; flex: none; background: url(/i/coche-rond-v.svg) center / contain no-repeat; }
.depot .fichier:empty { display: none; }
.depot button.zone { width: 100%; height: auto; font-weight: 400; font-size: 13px; color: var(--gris); white-space: normal; text-align: left; }
.depot button.zone:hover { background: #dcebfa; border-color: var(--bleu); }
.depot.compact .zone { min-height: 56px; justify-content: flex-start; padding: 10px 14px; }
.depot.compact .zone button { margin-left: auto; }
.depot.mini .zone { min-height: 42px; justify-content: flex-start; padding: 6px 12px; gap: 9px; }
.depot.mini .zone img { width: 19px; height: 19px; }
.depot.mini .zone button { margin-left: auto; height: 26px; min-height: 26px; padding: 0 10px; font-size: 11px; }

/* ---- Pastilles ---- */
.pastille { display: inline-flex; align-items: center; gap: 12px; border-radius: 999px; padding: 4px 16px 4px 12px; font-size: 11.5px; font-weight: 700; line-height: 1.4; white-space: nowrap; background: var(--vert-fond); color: var(--vert); }
.pastille::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pastille.rouge { background: var(--rouge-fond); color: var(--rouge); }
.pastille.ambre { background: var(--ambre-fond); color: var(--ambre); }
.pastille.bleu { background: var(--teinte); color: var(--bleu); padding: 4px 14px; }
.pastille.bleu::before, .pastille.gris::before, .pastille.plat::before { display: none; }
.pastille.gris { background: #e6ebf2; color: var(--gris); padding: 4px 14px; }
.pastille.plat { padding: 4px 16px; }
.pastille.large { padding: 5px 34px; }

/* ---- Installation: étapes ---- */
.entete-etape { display: flex; align-items: center; gap: 46px; margin: 0 0 40px 0; min-height: 40px; flex-wrap: wrap; }
.entete-etape .actions-page { margin-left: auto; }
.etape { color: var(--gris); font-size: 13px; }
.suivi { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--gris); }
.suivi .p { display: inline-flex; align-items: center; gap: 9px; }
.suivi .n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #ffffff; border: 1.5px solid var(--trait); color: var(--gris); font-size: 11px; font-weight: 700; }
.suivi .n img { width: 14px; height: 14px; }
.suivi .p.fait { color: var(--encre); }
.suivi .p.fait .n { background: var(--vert); border-color: var(--vert); }
.suivi .p.courant { color: var(--encre); font-weight: 700; }
.suivi .p.courant .n { background: var(--bleu); border-color: var(--bleu); color: #ffffff; }
.suivi .trait { width: 34px; height: 2px; background: var(--trait); margin: 0 14px; }
.suivi .trait.fait { background: var(--vert); }
.succes { text-align: center; margin: 0 0 30px 0; }
.succes .rond { margin: 0 0 22px 0; }
.succes h1 { font-size: 26px; margin: 0 0 12px 0; }
.succes .mono { font-size: 14px; letter-spacing: 0.06em; color: var(--gris); }
.tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 28px 0 0 0; }
.tuile { background: var(--panneau); border-radius: 8px; padding: 20px 20px 24px 20px; min-height: 180px; }
.tuile .haut { display: flex; align-items: center; justify-content: space-between; margin: 0 0 22px 0; }
.tuile .haut img { width: 22px; height: 22px; }
.tuile h3 { margin: 0 0 6px 0; font-size: 14px; }
.tuile p { color: var(--gris); font-size: 12.5px; margin: 0; }
.tete-grande { display: flex; align-items: center; gap: 20px; margin: 0 0 36px 0; }
.tete-grande h1 { font-size: 22px; margin: 0 0 6px 0; }
.tete-grande p { margin: 0; color: var(--gris); font-size: 13px; }
.ligne-refus { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--gris); font-size: 13px; }
.element { display: flex; align-items: flex-start; gap: 14px; background: var(--panneau); border-radius: 8px; padding: 12px 16px 14px 16px; margin: 0 0 16px 0; }
.element:last-child { margin-bottom: 0; }
.element > img { width: 22px; height: 22px; margin-top: 4px; }
.element .corps { flex: 1; }
.element h3 { margin: 0 0 4px 0; font-size: 14px; }
.element p { margin: 0; color: var(--gris); font-size: 12px; line-height: 1.9; }

/* ---- Connexion ---- */
.connexion { width: 456px; max-width: 100%; margin: 62px auto 0 auto; border: 1px solid var(--trait); border-radius: 12px; padding: 38px 45px 48px 45px; }
.connexion .haut { text-align: center; margin: 0 0 30px 0; }
.connexion .rond { margin: 0 0 24px 0; }
.connexion h1 { font-size: 34px; margin: 0 0 14px 0; }
.connexion .sous { color: var(--gris); font-size: 14px; margin: 0; }
.connexion button.pleine { margin-top: 26px; }
.session-info { display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--gris); font-size: 12.5px; margin: 26px 0 0 0; }
.session-info img { width: 16px; height: 16px; }

/* ---- Tableau de bord ---- */
.grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 0 20px 0; }
.kpi { position: relative; background: #ffffff; border: 1px solid var(--trait); border-radius: 10px; padding: 18px 20px 16px 20px; min-height: 102px; }
.kpi .valeur { font: 700 31px/1.2 var(--titre); color: var(--encre); margin: 0 0 12px 0; }
.kpi .libelle { color: var(--gris); font-size: 12.5px; }
.kpi .rond { position: absolute; right: 20px; top: 18px; width: 42px; height: 42px; }
.kpi .rond img { width: 21px; height: 21px; }
.kpi.plat { min-height: 124px; padding: 16px 18px; }
.kpi.plat .libelle { display: flex; align-items: center; gap: 9px; margin: 0 0 24px 0; }
.kpi.plat .libelle img { width: 19px; height: 19px; }
.kpi.plat .valeur { margin: 0; }
.nom-fort { font: 700 14.5px/1.4 var(--mono); color: var(--encre); letter-spacing: 0.05em; overflow-wrap: anywhere; margin: 0 0 8px 0; }
.ligne-pastilles { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 12px 0; }
.sous-titre { font-size: 17px; font-weight: 700; color: var(--encre); margin: 6px 0 14px 0; }

/* ---- Listes et tableaux ---- */
.liste { background: #ffffff; border: 1px solid var(--trait); border-radius: 10px; padding: 0 16px; margin: 0 0 20px 0; }
.ligne { display: flex; align-items: center; gap: 16px; min-height: 45px; padding: 8px 12px; border-top: 1px solid var(--trait); flex-wrap: wrap; }
.ligne:first-child { border-top: 0; }
/* Au survol, la ligne visée se détache (fond teinté, barre bleue à gauche): on sait toujours sur quelle ligne on agit. */
.ligne:not(.entete) { border-radius: 6px; transition: background-color .12s ease, box-shadow .12s ease; }
.ligne:not(.entete):hover, .ligne:not(.entete):focus-within { background: var(--teinte); box-shadow: inset 3px 0 0 var(--bleu); }
.ligne:not(.entete):hover + .ligne, .ligne:not(.entete):focus-within + .ligne { border-top-color: transparent; }
tbody tr { transition: background-color .12s ease; }
tbody tr:hover, tbody tr:focus-within { background: var(--teinte); box-shadow: inset 3px 0 0 var(--bleu); }
.ligne > img { width: 17px; height: 17px; flex: none; }
.ligne .nom { font-size: 13.5px; font-weight: 700; color: var(--encre); flex: 1; min-width: 140px; overflow-wrap: anywhere; }
.ligne .meta { color: var(--gris); font-size: 12.5px; overflow-wrap: anywhere; }
.activite .ligne .nom { width: 172px; flex: none; min-width: 0; }
.activite .ligne .meta { flex: 1; min-width: 100px; }
.ligne.tuile-l .meta { flex: 1; min-width: 100px; }
.statut { display: inline-flex; border-radius: 999px; padding: 4px 14px; font-size: 11.5px; font-weight: 700; background: var(--vert-fond); color: var(--vert); }
.statut.arret { background: var(--ambre-fond); color: var(--ambre); }
.ligne .meta.fixe-l { flex: none; width: 170px; }
.ligne .heure { font: 700 12px var(--mono); color: var(--bleu); letter-spacing: 0.04em; white-space: nowrap; margin-left: auto; }
.ligne.grave .nom { color: var(--rouge); }
.ligne .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.ligne.entete { min-height: 38px; color: var(--gris); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ligne.entete .nom, .ligne.entete .meta, .ligne.entete .heure { font: inherit; color: inherit; letter-spacing: inherit; }
.activite .ligne.entete .nom { width: 205px; padding-left: 33px; }
.activite .ligne .meta.fixe-l { flex: none; width: 170px; }
.activite .ligne .heure { width: 150px; text-align: right; flex: none; }
.ligne.app { min-height: 75px; }
.ligne.app .tuile-ic { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 7px; background: var(--teinte); flex: none; }
.ligne.app .tuile-ic img { width: 19px; height: 19px; }
.ligne.app .qui { flex: 1; min-width: 180px; }
.ligne.app .qui strong { display: block; font-size: 14.5px; }
.ligne.app .qui span { display: block; color: var(--gris); font-size: 12px; margin-top: 4px; }
.ligne.app .qui em { font-style: normal; }
.ligne.app .qui em.suite::before { content: ' · '; }
.ligne.app .port { width: 84px; flex: none; font: 13.5px var(--mono); color: var(--encre); }
.ligne.app .etat-col { width: 150px; flex: none; }
.ligne.app .actions { min-width: 250px; justify-content: flex-end; }
.ligne.entete.app { min-height: 38px; }
.ligne.entete.app .qui { padding-left: 52px; }
.ligne.entete.app .actions { text-align: right; display: block; }
.ligne.tuile-l { background: var(--panneau); border: 0; border-radius: 7px; padding: 8px 14px; margin: 0 0 10px 0; min-height: 44px; }
.ligne.tuile-l:last-child { margin-bottom: 0; }
.ligne.tuile-l .nom { flex: none; width: auto; min-width: 70px; }
.note { color: var(--gris); font-size: 12.5px; margin: 0 0 20px 0; }
.recherche { position: relative; margin: 0 0 20px 0; }
.recherche img { position: absolute; left: 16px; top: 12px; width: 18px; height: 18px; }
.recherche input { height: 42px; padding-left: 44px; font-size: 14px; }
.bandeau-ok { display: flex; align-items: center; gap: 12px; background: var(--vert-fond); border-radius: 8px; padding: 12px 20px 12px 16px; margin: 0 0 20px 0; color: var(--vert); font-weight: 700; font-size: 14px; min-height: 46px; }
.bandeau-ok.rouge { background: var(--rouge-fond); color: var(--rouge); }
.bandeau-ok img { width: 20px; height: 20px; }
.bandeau-ok .droite { margin-left: auto; color: var(--gris); font-weight: 400; font-size: 12.5px; }
table { border-collapse: collapse; width: 100%; }
th { color: var(--gris); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
th, td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--trait); font-size: 13.5px; }
thead th { border-top: 0; }
td:first-child { font-weight: 700; color: var(--encre); }

/* ---- Cascade ---- */
.arbre { margin: 0 0 22px 0; }
.arbre .racine { display: flex; justify-content: center; }
.noeud-maitre { background: var(--marine); color: #ffffff; border-radius: 8px; padding: 16px 20px 16px 22px; width: 430px; max-width: 100%; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; row-gap: 8px; align-items: center; }
.noeud-maitre img { width: 21px; height: 21px; }
.noeud-maitre .n { font: 700 13.5px var(--mono); letter-spacing: 0.05em; overflow-wrap: anywhere; }
.noeud-maitre .bas { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11.5px; color: #c5d2e6; }
.arbre .tronc { width: 2px; height: 26px; background: var(--trait); margin: 0 auto; }
.branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 18px; row-gap: 18px; }
.branches.un { grid-template-columns: minmax(0, 420px); justify-content: center; }
.branches.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.branche { position: relative; padding-top: 26px; min-width: 0; }
.branche::before { content: ''; position: absolute; top: 0; left: -9px; right: -9px; border-top: 2px solid var(--trait); }
.branche::after { content: ''; position: absolute; top: 0; left: 50%; width: 2px; height: 26px; background: var(--trait); margin-left: -1px; }
.branche.debut::before { left: 50%; }
.branche.fin::before { right: 50%; }
.branche.debut.fin::before { display: none; }
.noeud { background: #ffffff; border: 1px solid var(--trait); border-radius: 9px; padding: 16px 18px 16px 18px; min-height: 92px; }
.noeud.hors { border: 1.5px solid var(--rouge); }
.noeud .n { font: 700 13.5px var(--mono); color: var(--encre); letter-spacing: 0.05em; margin: 0 0 20px 0; overflow-wrap: anywhere; }
.noeud .bas { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--gris); font-size: 11.5px; }
.rfne-ligne { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.rfne-ligne .bloc-mono { flex: 1; min-width: 300px; margin: 0; }

/* ---- Système ---- */
.systeme { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: 20px; align-items: start; }
.systeme > #zone-systeme { display: contents; }
.systeme .gauche { grid-column: 1; grid-row: 1 / span 2; min-width: 0; }
.systeme .seuils { grid-column: 2; grid-row: 1; }
.systeme .utilise { grid-column: 2; grid-row: 2; }
.mesure { margin: 0 0 22px 0; }
.mesure:last-child { margin-bottom: 0; }
.mesure .haut { display: flex; align-items: center; gap: 26px; margin: 0 0 12px 0; font-size: 14.5px; font-weight: 700; color: var(--encre); }
.mesure .haut .pct { margin-left: auto; }
.barre { position: relative; height: 12px; background: var(--champ); border-radius: 999px; margin: 0 0 12px 0; }
.barre .plein { display: block; height: 100%; background: var(--bleu); border-radius: 999px; min-width: 8px; }
.barre.clair .plein { background: var(--ciel); }
.barre .repere { position: absolute; top: -7px; width: 2px; height: 26px; background: var(--rouge); margin-left: -1px; }
.mesure .bas { display: flex; justify-content: space-between; gap: 10px; color: var(--gris); font-size: 11.5px; }
.mesure .bas .seuil { color: var(--rouge); }
.gros { font: 700 30px/1.2 var(--titre); color: var(--encre); margin: 6px 0 14px 0; }

/* ---- Base de données ---- */
.segments { display: inline-flex; background: var(--champ); border-radius: 999px; padding: 4px; margin: 0; }
.segments button { height: 30px; min-height: 30px; padding: 0 34px; border-radius: 999px; background: transparent; border: 0; color: var(--gris); font-weight: 400; font-size: 13px; }
.segments button:hover { background: #e3e8f0; }
.segments button.actif { background: #ffffff; color: var(--bleu); font-weight: 700; box-shadow: 0 1px 2px rgba(18, 40, 76, 0.12); }
.sous-entete { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px 0; }
.resultat-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 0 20px 0; }
.resultat-tete span { color: var(--gris); font-size: 12.5px; }

/* ---- Paramètres ---- */
.cv { padding: 0 0 14px 0; margin: 0 0 14px 0; border-bottom: 1px solid var(--trait); }
.cv:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.cv .c { color: var(--gris); font-size: 12px; margin: 0 0 10px 0; }
.cv .v .pastille { font-family: Lato, 'Segoe UI', sans-serif; letter-spacing: 0; }
.aide + .boutons, .paire + .boutons { margin-top: 14px; }
.cv .v { font: 700 12.5px var(--mono); color: var(--encre); letter-spacing: 0.04em; overflow-wrap: anywhere; }
.carte .bas-carte { margin-top: auto; padding-top: 22px; }
.carte.colonne { display: flex; flex-direction: column; }
.carte.suite { margin-top: 18px; }
/* Liste longue dans une carte: hauteur fixe, elle défile sur place (les cartes voisines ne s'allongent pas). */
.liste-bornee { max-height: 204px; overflow-y: auto; padding-right: 4px; }
.liste-bornee > .ligne:last-child { margin-bottom: 0; }
.carte.suite > .colonnes { margin-bottom: 0; }

/* ---- Pages d'App (profils, modules) ---- */
.onglets { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px 0; }
.doc { margin: 0 0 8px 0; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bleu); color: #ffffff; font-weight: 700; font-size: 12px; }
.boutons { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---- Mise en page fixe: le menu et l'en-tête ne bougent pas, seul le contenu défile ---- */
html, body { height: 100%; overflow: hidden; }
.coque { height: 100vh; min-height: 0; }
.lateral { height: 100vh; overflow: hidden; }
/* Menu réduit: l'infobulle d'une entrée sort du menu et passe au-dessus de l'espace de travail. */
.coque.reduit .lateral { overflow: visible; z-index: 20; }
.principal { height: 100vh; overflow-y: auto; }
.principal.console { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.haut-fixe { flex: none; padding: 36px 46px 0 46px; background: #ffffff; position: relative; z-index: 2; }
.haut-fixe.ombre { box-shadow: 0 6px 14px -8px rgba(18, 40, 76, 0.28); }
.haut-fixe .entete-page { margin-bottom: 24px; }
.haut-fixe .recherche, .haut-fixe .sous-entete { margin-bottom: 0; }
.defile { flex: 1; min-height: 0; overflow-y: auto; padding: 22px 46px 40px 46px; }
.fil { color: var(--gris); font-size: 12.5px; margin: -14px 0 18px 0; }
.fil em { font-style: normal; }
.fil em.suite::before, em.suite::before { content: ' · '; }
.onglets-app { display: flex; gap: 4px; border-bottom: 1px solid var(--trait); flex-wrap: wrap; }
.onglets-app button { background: transparent; border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--gris); font-weight: 400; height: 44px; min-height: 44px; padding: 0 20px; font-size: 14px; }
.onglets-app button:hover { background: var(--panneau); }
.onglets-app button.actif { color: var(--bleu); font-weight: 700; border-bottom-color: var(--bleu); }
.sous-onglets { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 0 0; flex-wrap: wrap; }
.sous-onglets .segments button { padding: 0 20px; gap: 8px; }
.sous-onglets .nb { background: #e6ebf2; color: var(--gris); border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 700; }
.sous-onglets button.actif .nb { background: var(--teinte); color: var(--bleu); }
.sous-onglets .boutons { margin-left: auto; }
.ligne.app .col-l { width: 180px; flex: none; color: var(--gris); font-size: 12.5px; }
.ligne.app .col-m { width: 110px; flex: none; color: var(--gris); font-size: 12.5px; }
.ligne.entete.app .col-l, .ligne.entete.app .col-m { color: inherit; font-size: inherit; }

/* ---- Écrans étroits ---- */
@media (max-width: 899px) {
  html, body { height: auto; overflow: visible; overflow-x: hidden; }
  .coque, .lateral, .principal { height: auto; }
  .principal, .principal.console { display: block; overflow: visible; }
  .principal.console { padding: 0; }
  .haut-fixe { padding: 22px 16px 0 16px; }
  .defile { overflow: visible; padding: 18px 16px 30px 16px; }
  .coque, .coque.reduit { display: block; }
  .lateral { padding: 52px 14px 14px 14px; }
  .titre-vertical { display: none; }
  .menu { flex-direction: row; flex-wrap: wrap; }
  .nav { width: auto; }
  button.repli { display: none; }
  .principal { padding: 22px 16px 30px 16px; }
  h1 { font-size: 28px; }
  .colonnes, .colonnes.trois, .colonnes.g, .colonnes.d, .grille, .systeme, .branches, .branches.deux, .tuiles, .paire { grid-template-columns: minmax(0, 1fr); }
  .systeme .gauche, .systeme .seuils, .systeme .utilise { grid-column: 1; grid-row: auto; }
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branche::before { display: none; }
  .connexion { padding: 28px 22px 34px 22px; margin-top: 24px; }
  .ligne .nom { width: auto; flex: 1; }
}

/* ---- Fenêtre de confirmation d'une suppression: partout sur la plateforme ---- */
.fs-textes { display: none; }
.fs-voile { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(20, 24, 33, 0.45); }
.fs-fenetre { width: 100%; max-width: 440px; background: #ffffff; border-radius: 16px; padding: 26px 26px 22px; box-shadow: 0 24px 60px rgba(20, 24, 33, 0.3); font: 14px/1.5 Lato, 'Segoe UI', system-ui, sans-serif; color: #1a2433; }
.fs-fenetre h3.fs-fenetre-titre { margin: 0 0 12px; font-size: 19px; font-weight: 700; color: #1a2433; letter-spacing: normal; text-transform: none; }
.fs-fenetre p.fs-fenetre-objet { margin: 0 0 8px; padding: 10px 14px; border-radius: 10px; background: #fbe6e4; color: #b3261e; font-weight: 700; }
.fs-fenetre p.fs-fenetre-texte { margin: 0 0 20px; color: #5d6b82; }
.fs-fenetre-boutons { display: flex; justify-content: flex-end; gap: 10px; }
.fs-fenetre-boutons button { width: auto; min-width: 0; height: 42px; min-height: 42px; margin: 0; padding: 0 20px; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: none; }
.fs-fenetre-boutons button.fs-non { background: #ffffff; color: #1a2433; border: 1.5px solid #dde3ec; }
.fs-fenetre-boutons button.fs-oui { background: #b3261e; color: #ffffff; border: 1.5px solid #b3261e; }
.fs-fenetre-boutons button.fs-oui:hover { background: #8f1e18; border-color: #8f1e18; }

/* ---- Aperçu du logo et du favicon courants d'une sous-App ---- */
.apercu-image { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--trait); border-radius: 10px; background: #ffffff; margin-bottom: 12px; }
.apercu-image span { font-weight: 700; font-size: 13px; color: var(--encre); flex: 1; }
.apercu-image img { height: 44px; width: auto; max-width: 160px; border-radius: 8px; }
/* Adresse propre d'une sous-App: le sous-domaine, un point, le domaine déclaré (liste). */
.adresse-propre { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: end; }
.adresse-propre > div { margin: 0; min-width: 0; }
.adresse-propre .point { font-size: 22px; font-weight: 700; padding-bottom: 8px; }
/* Code de chiffres (root d'une sous-App): les cases, la confirmation, puis le clavier. */
.codes > .code { margin: 0 0 6px; }
.codes .fs-chiffres { flex-wrap: wrap; }
.codes .fs-chiffres input.fs-chiffre { width: 38px; height: 46px; font-size: 20px; }
/* Contrôleur du certificat d'une adresse propre: un bilan, puis chaque condition avec sa puce de couleur. */
.controleur .etapes-c { margin: 12px 0 8px; display: grid; gap: 10px; }
.controleur .etape-c { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: start; }
.controleur .etape-c .puce { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; background: #c3cad6; }
.controleur .etape-c.vert .puce { background: var(--vert, #1f8a4c); }
.controleur .etape-c.ambre .puce { background: var(--ambre); }
.controleur .etape-c.rouge .puce { background: var(--rouge); }
.controleur .etape-c .t { margin: 0; font-weight: 600; font-family: inherit; }
.controleur .etape-c .aide { margin: 2px 0 0; }
.controleur .boutons { margin-top: 10px; }

.cv .v.bloc{font:inherit;letter-spacing:0}
.point-acces{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;margin:0 0 6px}
.point-acces .url{font:700 12.5px var(--mono);color:var(--encre);letter-spacing:0.04em;overflow-wrap:anywhere}
.point-acces .ou{font-size:12px;color:var(--gris)}
.carte.incoherences td:first-child{white-space:nowrap;width:1%}.carte.incoherences td{vertical-align:top}
.schema{display:grid;grid-template-columns:1fr 1.25fr 1.25fr;gap:18px;align-items:start}
.schema-col{display:flex;flex-direction:column;gap:10px}.schema-col h3{margin:0 0 2px;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--doux,#64748b)}
.schema-noeud{border:1px solid var(--trait,#e2e8f0);border-radius:10px;padding:12px 14px;background:#fff;display:flex;flex-direction:column;gap:4px}
.schema-noeud strong{font-size:14.5px}.schema-noeud>span{font-size:12.5px;color:var(--doux,#64748b);line-height:1.45}
.schema-noeud.adresse{background:#f8fafc}.schema-pied{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:6px}
.schema-groupe{border:1px dashed var(--trait,#cbd5e1);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px}
.schema-groupe-titre{margin:0;font-size:12.5px;font-weight:600;color:var(--doux,#64748b)}
@media (max-width:1100px){.schema{grid-template-columns:1fr}}
/* Schémas et circuits (App › Schémas) */
.circuits{display:flex;flex-direction:column;gap:14px}
.circuit{border:1px solid var(--trait,#e2e8f0);border-radius:14px;padding:14px 16px;background:#fff;display:flex;flex-direction:column;gap:10px}
.circuit.arrete{background:#f8fafc}
.circuit-tete{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.circuit-tete strong{font-size:15px}.circuit-tete .actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.chaine{display:flex;align-items:stretch;gap:6px;flex-wrap:wrap}
.chaine .maillon{border:1px solid var(--trait,#e2e8f0);border-radius:10px;padding:8px 11px;background:#fff;display:flex;flex-direction:column;gap:2px;min-width:110px}
.chaine .maillon small{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--gris,#64748b)}
.chaine .maillon b{font-size:13.5px;color:var(--encre,#1a2433)}.chaine .maillon em{font-style:normal;font-size:12px;color:var(--gris,#64748b)}
.chaine .maillon.entree{background:#eef4fb}.chaine .maillon.anonyme{border-color:#9cc2f2}.chaine .maillon.connectee{border-color:#1d75c4;background:#eaf2fe}.chaine .maillon.maint{border-color:#f0b35a;background:#fff6e8}
.chaine .fleche{align-self:center;font-size:12px;color:var(--gris,#64748b);white-space:nowrap}
.chaine.maintenance{padding-left:18px;border-left:2px dashed #f0b35a}
.choix-boutons{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.versions .ligne{padding:6px 0}
.ligne.app .parcours{flex:1.3;min-width:200px;font:12.5px var(--mono);color:var(--encre);overflow-wrap:anywhere}
.ligne.app .parcours small{font:11.5px var(--police,inherit);color:var(--gris)}
.ligne.entete.app .parcours{font:inherit;color:inherit}
.carte .sous-onglets{margin:0 0 14px}
.carte .form h3{font-size:14px;margin:0 0 10px;color:var(--encre)}
.ce{display:flex;flex-direction:column;gap:18px}
.ce label{display:block;font-size:13px;font-weight:600;margin:0 0 6px;color:var(--encre)}
.ce-entree{display:grid;grid-template-columns:auto auto minmax(140px,1fr) 14px minmax(170px,1fr);gap:14px;align-items:end}
.ce-entree > div{margin:0;min-width:0}.ce-entree .choix-boutons{margin:0;flex-wrap:nowrap}
.ce-entree .point{font-size:22px;font-weight:700;padding-bottom:8px;text-align:center}
.ce-ligne{display:grid;grid-template-columns:170px repeat(3,minmax(0,1fr));gap:14px;align-items:end}
.ce-ligne > div{margin:0;min-width:0}
.ce-fleche{display:flex;align-items:center;justify-content:center;height:44px;padding:0 26px 0 14px;font-weight:600;font-size:14px;color:#fff;clip-path:polygon(0 18%,78% 18%,78% 0,100% 50%,78% 100%,78% 82%,0 82%)}
.ce-fleche.prod{background:#16a34a}.ce-fleche.maint{background:#334155}
@media (max-width:1100px){.ce-entree{grid-template-columns:1fr 1fr}.ce-entree .point{display:none}.ce-ligne{grid-template-columns:1fr}.ce-fleche{justify-content:flex-start}}
.ligne.app .port + .port{min-width:90px}
.groupe-sch{border:1px solid #e2e8f0;border-radius:12px;margin:0 0 14px;background:#fff}
.groupe-sch > button.groupe-titre{display:flex;align-items:center;gap:10px;width:100%;padding:12px 16px;background:transparent;border:0;color:var(--encre);font-size:15px;font-weight:600;justify-content:flex-start;text-align:left}
.groupe-sch > button.groupe-titre img{width:18px;height:18px}
.groupe-sch > .liste{margin:0 16px 12px}
.ligne.app .tuile-ic.wss{background:#fff1e6}
.ligne.app .date-etat{display:block;margin-top:4px;font-size:11.5px;color:var(--gris);line-height:1.35}
.barre .l0 { width: 0%; } .barre .s0 { left: 0%; }
.barre .l1 { width: 1%; } .barre .s1 { left: 1%; }
.barre .l2 { width: 2%; } .barre .s2 { left: 2%; }
.barre .l3 { width: 3%; } .barre .s3 { left: 3%; }
.barre .l4 { width: 4%; } .barre .s4 { left: 4%; }
.barre .l5 { width: 5%; } .barre .s5 { left: 5%; }
.barre .l6 { width: 6%; } .barre .s6 { left: 6%; }
.barre .l7 { width: 7%; } .barre .s7 { left: 7%; }
.barre .l8 { width: 8%; } .barre .s8 { left: 8%; }
.barre .l9 { width: 9%; } .barre .s9 { left: 9%; }
.barre .l10 { width: 10%; } .barre .s10 { left: 10%; }
.barre .l11 { width: 11%; } .barre .s11 { left: 11%; }
.barre .l12 { width: 12%; } .barre .s12 { left: 12%; }
.barre .l13 { width: 13%; } .barre .s13 { left: 13%; }
.barre .l14 { width: 14%; } .barre .s14 { left: 14%; }
.barre .l15 { width: 15%; } .barre .s15 { left: 15%; }
.barre .l16 { width: 16%; } .barre .s16 { left: 16%; }
.barre .l17 { width: 17%; } .barre .s17 { left: 17%; }
.barre .l18 { width: 18%; } .barre .s18 { left: 18%; }
.barre .l19 { width: 19%; } .barre .s19 { left: 19%; }
.barre .l20 { width: 20%; } .barre .s20 { left: 20%; }
.barre .l21 { width: 21%; } .barre .s21 { left: 21%; }
.barre .l22 { width: 22%; } .barre .s22 { left: 22%; }
.barre .l23 { width: 23%; } .barre .s23 { left: 23%; }
.barre .l24 { width: 24%; } .barre .s24 { left: 24%; }
.barre .l25 { width: 25%; } .barre .s25 { left: 25%; }
.barre .l26 { width: 26%; } .barre .s26 { left: 26%; }
.barre .l27 { width: 27%; } .barre .s27 { left: 27%; }
.barre .l28 { width: 28%; } .barre .s28 { left: 28%; }
.barre .l29 { width: 29%; } .barre .s29 { left: 29%; }
.barre .l30 { width: 30%; } .barre .s30 { left: 30%; }
.barre .l31 { width: 31%; } .barre .s31 { left: 31%; }
.barre .l32 { width: 32%; } .barre .s32 { left: 32%; }
.barre .l33 { width: 33%; } .barre .s33 { left: 33%; }
.barre .l34 { width: 34%; } .barre .s34 { left: 34%; }
.barre .l35 { width: 35%; } .barre .s35 { left: 35%; }
.barre .l36 { width: 36%; } .barre .s36 { left: 36%; }
.barre .l37 { width: 37%; } .barre .s37 { left: 37%; }
.barre .l38 { width: 38%; } .barre .s38 { left: 38%; }
.barre .l39 { width: 39%; } .barre .s39 { left: 39%; }
.barre .l40 { width: 40%; } .barre .s40 { left: 40%; }
.barre .l41 { width: 41%; } .barre .s41 { left: 41%; }
.barre .l42 { width: 42%; } .barre .s42 { left: 42%; }
.barre .l43 { width: 43%; } .barre .s43 { left: 43%; }
.barre .l44 { width: 44%; } .barre .s44 { left: 44%; }
.barre .l45 { width: 45%; } .barre .s45 { left: 45%; }
.barre .l46 { width: 46%; } .barre .s46 { left: 46%; }
.barre .l47 { width: 47%; } .barre .s47 { left: 47%; }
.barre .l48 { width: 48%; } .barre .s48 { left: 48%; }
.barre .l49 { width: 49%; } .barre .s49 { left: 49%; }
.barre .l50 { width: 50%; } .barre .s50 { left: 50%; }
.barre .l51 { width: 51%; } .barre .s51 { left: 51%; }
.barre .l52 { width: 52%; } .barre .s52 { left: 52%; }
.barre .l53 { width: 53%; } .barre .s53 { left: 53%; }
.barre .l54 { width: 54%; } .barre .s54 { left: 54%; }
.barre .l55 { width: 55%; } .barre .s55 { left: 55%; }
.barre .l56 { width: 56%; } .barre .s56 { left: 56%; }
.barre .l57 { width: 57%; } .barre .s57 { left: 57%; }
.barre .l58 { width: 58%; } .barre .s58 { left: 58%; }
.barre .l59 { width: 59%; } .barre .s59 { left: 59%; }
.barre .l60 { width: 60%; } .barre .s60 { left: 60%; }
.barre .l61 { width: 61%; } .barre .s61 { left: 61%; }
.barre .l62 { width: 62%; } .barre .s62 { left: 62%; }
.barre .l63 { width: 63%; } .barre .s63 { left: 63%; }
.barre .l64 { width: 64%; } .barre .s64 { left: 64%; }
.barre .l65 { width: 65%; } .barre .s65 { left: 65%; }
.barre .l66 { width: 66%; } .barre .s66 { left: 66%; }
.barre .l67 { width: 67%; } .barre .s67 { left: 67%; }
.barre .l68 { width: 68%; } .barre .s68 { left: 68%; }
.barre .l69 { width: 69%; } .barre .s69 { left: 69%; }
.barre .l70 { width: 70%; } .barre .s70 { left: 70%; }
.barre .l71 { width: 71%; } .barre .s71 { left: 71%; }
.barre .l72 { width: 72%; } .barre .s72 { left: 72%; }
.barre .l73 { width: 73%; } .barre .s73 { left: 73%; }
.barre .l74 { width: 74%; } .barre .s74 { left: 74%; }
.barre .l75 { width: 75%; } .barre .s75 { left: 75%; }
.barre .l76 { width: 76%; } .barre .s76 { left: 76%; }
.barre .l77 { width: 77%; } .barre .s77 { left: 77%; }
.barre .l78 { width: 78%; } .barre .s78 { left: 78%; }
.barre .l79 { width: 79%; } .barre .s79 { left: 79%; }
.barre .l80 { width: 80%; } .barre .s80 { left: 80%; }
.barre .l81 { width: 81%; } .barre .s81 { left: 81%; }
.barre .l82 { width: 82%; } .barre .s82 { left: 82%; }
.barre .l83 { width: 83%; } .barre .s83 { left: 83%; }
.barre .l84 { width: 84%; } .barre .s84 { left: 84%; }
.barre .l85 { width: 85%; } .barre .s85 { left: 85%; }
.barre .l86 { width: 86%; } .barre .s86 { left: 86%; }
.barre .l87 { width: 87%; } .barre .s87 { left: 87%; }
.barre .l88 { width: 88%; } .barre .s88 { left: 88%; }
.barre .l89 { width: 89%; } .barre .s89 { left: 89%; }
.barre .l90 { width: 90%; } .barre .s90 { left: 90%; }
.barre .l91 { width: 91%; } .barre .s91 { left: 91%; }
.barre .l92 { width: 92%; } .barre .s92 { left: 92%; }
.barre .l93 { width: 93%; } .barre .s93 { left: 93%; }
.barre .l94 { width: 94%; } .barre .s94 { left: 94%; }
.barre .l95 { width: 95%; } .barre .s95 { left: 95%; }
.barre .l96 { width: 96%; } .barre .s96 { left: 96%; }
.barre .l97 { width: 97%; } .barre .s97 { left: 97%; }
.barre .l98 { width: 98%; } .barre .s98 { left: 98%; }
.barre .l99 { width: 99%; } .barre .s99 { left: 99%; }
.barre .l100 { width: 100%; } .barre .s100 { left: 100%; }

/* Règles communes à la console et aux pages d'App: avis, alertes, notifications, attente. */
/* ---- Alertes, notifications, attente ---- */
.avis, .telechargement, .auto { display: none; }
#alertes, #notifs { position: fixed; right: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; width: 360px; max-width: calc(100vw - 40px); }
#alertes { top: 18px; }
#notifs { bottom: 22px; }
.alerte, .notif { display: flex; align-items: center; gap: 12px; background: #ffffff; border: 1.5px solid var(--bleu); border-radius: 9px; padding: 13px 14px 13px 13px; box-shadow: 0 8px 24px rgba(18, 40, 76, 0.16); color: var(--encre); font-size: 12.5px; overflow-wrap: anywhere; }
.alerte::before, .notif::before { content: ''; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--teinte) url(/i/coche-a.svg) center / 18px no-repeat; }
.alerte .texte, .notif .texte { flex: 1; min-width: 0; }
.alerte .texte[data-titre]::before, .notif .texte[data-titre]::before { content: attr(data-titre); display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bleu); margin: 0 0 5px 0; }
.alerte.erreur { border-color: var(--rouge); }
.alerte.erreur::before { background: var(--rouge-fond) url(/i/croix-rond-r.svg) center / 18px no-repeat; }
.alerte.erreur .texte::before { color: var(--rouge); }
.alerte.ok { border-color: var(--vert); }
.alerte.ok::before { background: var(--vert-fond) url(/i/coche-rond-v.svg) center / 18px no-repeat; }
.alerte.ok .texte::before { color: var(--vert); }
button.fermer { width: 26px; height: 26px; min-height: 26px; padding: 0; margin: 0; background: transparent; border: 0; color: var(--gris); font-size: 22px; font-weight: 400; line-height: 1; align-self: flex-start; }
button.fermer:hover { background: var(--champ); }
div.erreur:not(.alerte) { display: flex; align-items: center; gap: 10px; background: var(--rouge-fond); color: var(--rouge); border-radius: 8px; padding: 12px 16px; margin: 0 0 20px 0; font-weight: 700; font-size: 13px; }
#patience { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 2000; background: rgba(18, 40, 76, 0.42); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; font-size: 16px; font-weight: 700; color: var(--encre); }
#patience::before { content: ''; position: absolute; top: 50%; left: 50%; width: 376px; height: 164px; margin: -82px 0 0 -188px; background: #ffffff; border-radius: 12px; box-shadow: 0 12px 36px rgba(18, 40, 76, 0.28); }
#patience .roue { position: relative; width: 62px; height: 62px; border-radius: 50%; background: var(--teinte) url(/i/rotation-a.svg) center / 30px no-repeat; animation: tourne 1.4s linear infinite; }
#patience span { position: relative; }
#fs-reseau { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2100; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 24px); background: #fff7e6; color: #7a4b00; border: 1px solid #f0c36d; border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 700; box-shadow: 0 6px 18px rgba(18, 40, 76, 0.18); }
#fs-reseau::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #e09a1a; animation: fs-pouls 1.2s ease-in-out infinite; }
@keyframes fs-pouls { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes tourne { to { transform: rotate(360deg); } }
/* Code à chiffres: une case par chiffre (input.fne-chiffres). */
.fs-chiffres { display: flex; gap: 8px; margin: 8px 0 4px; }
.fs-chiffres input.fs-chiffre { width: 46px; height: 54px; padding: 0; text-align: center; font-size: 24px; font-weight: 700; border-radius: 12px; border: 1px solid rgba(16, 33, 63, 0.18); background: #f3f3f4; color: inherit; caret-color: transparent; }
.fs-chiffres input.fs-chiffre:focus { outline: none; border-color: #e8641b; box-shadow: 0 0 0 3px rgba(232, 100, 27, 0.18); background: #ffffff; }
.fs-chiffres.complet input.fs-chiffre { border-color: #1f8a4c; }
@media (max-width: 420px) { .fs-chiffres { gap: 6px; } .fs-chiffres input.fs-chiffre { width: 40px; height: 50px; font-size: 22px; } }
/* Capture du visage: la caméra dans son cadre, l'ovale où placer le visage, la jauge des vues retenues, la consigne. */
.fs-visage { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 16px 0; }
.fs-visage-cadre { position: relative; width: 100%; max-width: 260px; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #10213f; }
.fs-visage-cadre video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.fs-visage-ovale { position: absolute; top: 9%; bottom: 9%; left: 16%; right: 16%; border: 3px solid #ffffff; border-radius: 50%; box-shadow: 0 0 0 999px rgba(16, 33, 63, 0.45); pointer-events: none; }
.fs-visage.fait .fs-visage-ovale { border-color: #1f8a4c; }
.fs-visage-barre { width: 100%; max-width: 260px; height: 6px; border-radius: 3px; background: rgba(16, 33, 63, 0.14); overflow: hidden; }
.fs-visage-jauge { display: block; height: 100%; width: 0; background: #1f8a4c; transition: width 0.25s; }
.fs-visage-consigne { margin: 0; min-height: 1.4em; text-align: center; font-weight: 600; }

/* Image choisie (input.fne-image): le champ de fichier reste caché, le bouton « Choisir une image » l’ouvre. */
.fs-image-fichier { display: none !important; }
/* Clavier de chiffres à l'écran (data-clavier): 10 touches dans un ordre tiré au hasard, effacer, tout effacer. */
.fs-etape-cachee { display: none !important; }
.fs-etapes-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; margin: 0 0 6px; }
.fs-etapes-tete .fs-etape-n { margin-left: auto; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.fs-etapes-tete button.fs-etape-retour { background: transparent; border: 0; padding: 4px 0; min-height: 0; height: auto; color: inherit; font: inherit; font-weight: 700; cursor: pointer; box-shadow: none; }
.fs-clavier { display: grid; grid-template-columns: repeat(3, 64px); gap: 8px; margin: 10px 0 18px; }
.fs-clavier button.fs-touche { display: flex; align-items: center; justify-content: center; width: 64px; height: 52px; min-height: 52px; margin: 0; padding: 0; border-radius: 12px; border: 1px solid rgba(16, 33, 63, 0.18); background: #ffffff; color: inherit; font: inherit; font-size: 22px; font-weight: 700; cursor: pointer; box-shadow: none; }
.fs-clavier button.fs-touche:hover { background: #f3f3f4; }
.fs-clavier button.fs-touche:active { background: #ffe9dc; border-color: #e8641b; }
.fs-clavier button.fs-touche-effacer, .fs-clavier button.fs-touche-vider { font-size: 15px; font-weight: 600; }
@media (max-width: 420px) { .fs-clavier { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; } .fs-clavier button.fs-touche { width: 100%; } }
/* ---- Chat des sous-Apps: la bulle (bas droite), le panneau, la liste, la conversation. */
.fs-chat-bulle { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; min-height: 58px; padding: 0; margin: 0; border: 0; border-radius: 50%; background: #e8641b; color: #fff; box-shadow: 0 8px 24px rgba(16, 33, 63, 0.25); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fs-chat-bulle:hover { filter: brightness(1.06); }
.fs-chat-bulle .fs-chat-icone { width: 28px; height: 28px; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E"); }
.fs-chat-bulle.fs-chat-actif .fs-chat-icone { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.fs-chat-badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #d92d20; color: #fff; font: 700 12px/22px system-ui, sans-serif; display: none; }
.fs-chat-bulle.fs-chat-alerte .fs-chat-badge { display: block; }
.fs-chat-panneau { position: fixed; right: 22px; bottom: 92px; z-index: 900; width: 380px; max-width: calc(100vw - 24px); height: 580px; max-height: calc(100vh - 120px); display: none; flex-direction: column; overflow: hidden; border-radius: 18px; background: #f4f1ec; color: #10213f; box-shadow: 0 18px 48px rgba(16, 33, 63, 0.28); font: 15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; text-align: left; }
.fs-chat-panneau.fs-chat-ouvert { display: flex; }
/* Sur téléphone, la bulle est incrustée dans la barre du haut fixe (`.f-m-haut`), et le panneau s'ouvre sous elle. */
.fs-chat-bulle.fs-chat-incruste { position: relative; right: auto; bottom: auto; flex: none; width: 44px; height: 44px; min-height: 44px; margin-left: auto; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22); }
.fs-chat-bulle.fs-chat-incruste .fs-chat-icone { width: 22px; height: 22px; }
.fs-chat-bulle.fs-chat-incruste .fs-chat-badge { top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; font-size: 11px; line-height: 18px; border-radius: 9px; }
.fs-chat-panneau.fs-chat-sous-barre { top: calc(76px + env(safe-area-inset-top)); bottom: auto; right: 10px; left: 10px; width: auto; max-width: none; height: calc(100vh - 170px); max-height: none; }
.fs-chat-panneau button { box-shadow: none; text-transform: none; letter-spacing: 0; }
.fs-chat-entete { display: flex; align-items: center; gap: 8px; padding: 12px 12px 12px 16px; background: #10213f; color: #fff; }
.fs-chat-titre { flex: 1; margin: 0; font-size: 16px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-chat-entete button { width: 34px; height: 34px; min-height: 34px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.fs-chat-corps { flex: 1; overflow-y: auto; padding: 12px; }
.fs-chat-aide { margin: 8px 4px; color: #5b6475; font-size: 13px; }
.fs-chat-champ { width: 100%; box-sizing: border-box; margin: 0 0 8px; padding: 10px 14px; border: 1px solid rgba(16, 33, 63, 0.18); border-radius: 22px; background: #fff; color: inherit; font: inherit; }
.fs-chat-principal { width: 100%; min-height: 42px; margin: 4px 0; border: 0; border-radius: 22px; background: #e8641b; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.fs-chat-ligne { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 0; margin: 0 0 4px; padding: 10px; border: 0; border-radius: 12px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.fs-chat-ligne:hover, .fs-chat-ligne:focus-visible { background: #fff6ef; outline: 2px solid rgba(232, 100, 27, 0.35); }
.fs-chat-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #dfe5ee; color: #10213f; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fs-chat-avatar-support { background: #e8641b; color: #fff; }
.fs-chat-ligne-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fs-chat-ligne-titre { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-chat-ligne-apercu { color: #5b6475; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-chat-non-lu .fs-chat-ligne-apercu { color: #10213f; font-weight: 600; }
.fs-chat-ligne-cote { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.fs-chat-compte { min-width: 20px; padding: 1px 6px; border-radius: 10px; background: #1f8a4c; color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.fs-chat-a-prendre { padding: 1px 8px; border-radius: 10px; background: #e8641b; color: #fff; font-size: 11px; font-weight: 700; }
.fs-chat-heure { color: #7a8394; font-size: 11px; }
.fs-chat-recherche { margin-bottom: 10px; }
.fs-chat-fil { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.fs-chat-message { align-self: flex-start; max-width: 82%; padding: 7px 10px 5px; border-radius: 4px 14px 14px 14px; background: #fff; box-shadow: 0 1px 1px rgba(16, 33, 63, 0.08); }
.fs-chat-message.fs-chat-moi { align-self: flex-end; border-radius: 14px 4px 14px 14px; background: #ffe2cf; }
.fs-chat-auteur { display: block; color: #e8641b; font-size: 12px; font-weight: 700; }
.fs-chat-texte { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.fs-chat-lien { color: #1d5fbf; text-decoration: underline; }
.fs-chat-message .fs-chat-heure { display: block; text-align: right; }
.fs-chat-media img, .fs-chat-media video { display: block; max-width: 100%; max-height: 260px; border-radius: 10px; }
.fs-chat-media audio { display: block; width: 240px; max-width: 100%; }
.fs-chat-chargement { display: inline-block; padding: 18px 26px; border-radius: 10px; background: rgba(16, 33, 63, 0.06); font-size: 22px; }
.fs-chat-saisie { display: flex; align-items: flex-end; gap: 6px; padding: 8px; background: #fff; border-top: 1px solid rgba(16, 33, 63, 0.08); }
.fs-chat-outils { display: flex; gap: 2px; }
.fs-chat-outil, .fs-chat-envoyer { flex: none; width: 38px; height: 38px; min-height: 38px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: center / 22px no-repeat; cursor: pointer; }
.fs-chat-outil:hover { background-color: #f3f3f4; }
.fs-chat-o-photo { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6475' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E"); }
.fs-chat-o-video { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6475' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 7l-7 5 7 5V7z'/%3E%3Crect x='1' y='5' width='15' height='14' rx='2'/%3E%3C/svg%3E"); }
.fs-chat-o-micro { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6475' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z'/%3E%3Cpath d='M19 10v2a7 7 0 0 1-14 0v-2M12 19v4M8 23h8'/%3E%3C/svg%3E"); }
.fs-chat-envoyer { background-color: #e8641b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z'/%3E%3C/svg%3E"); background-size: 18px; }
.fs-chat-message-champ { flex: 1; min-height: 38px; max-height: 120px; margin: 0; padding: 9px 14px; box-sizing: border-box; border: 1px solid rgba(16, 33, 63, 0.18); border-radius: 20px; background: #f7f7f8; color: inherit; font: inherit; resize: none; }
.fs-chat-enregistre { justify-content: space-between; align-items: center; }
.fs-chat-rec { color: #d92d20; font-weight: 700; padding-left: 8px; }
.fs-chat-rec::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: #d92d20; }
.fs-chat-enregistre .fs-chat-principal { width: auto; padding: 0 18px; }
@media (max-width: 520px) {
  .fs-chat-panneau { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100%; max-height: 100%; border-radius: 0; }
  .fs-chat-bulle { right: 16px; bottom: 16px; }
  .fs-chat-bulle.fs-chat-actif { display: none; }
}

/* Variantes d'une sous-App web: les boutons « Version mobile » / « Version ordinateur » ne se montrent que si la variante existe. */
body:not([data-mobile]) [data-version="mobile"], body:not([data-ordinateur]) [data-version="ordinateur"] { display: none !important; }
/* Pavé en bande (data-clavier=bande): deux rangées de six touches, 1 2 3 4 5 ⌫ / 6 7 8 9 0 ✓, collé au champ. */
.fs-clavier.fs-bande { grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; gap: 6px; margin: 8px 0 14px; }
.fs-clavier.fs-bande button.fs-touche { width: 100%; height: 44px; min-height: 44px; border-radius: 10px; font-size: 19px; }
.fs-clavier.fs-bande button.fs-touche-effacer { font-size: 18px; }
.fs-clavier.fs-bande button.fs-touche-valider { background: #1f2a33; border-color: #1f2a33; color: #ffffff; font-size: 18px; }
/* Bibliothèque de fichiers d'une App (console et pages d'administration des sous-Apps). */
.fs-bib { display: grid; gap: 12px; margin-top: 16px; }
.fs-bib h3 { margin: 8px 0 0; font-size: 1rem; }
.fs-bib-table { overflow-x: auto; }
.fs-bib table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.fs-bib th, .fs-bib td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(127,127,127,.25); vertical-align: middle; }
.fs-bib th { font-weight: 600; opacity: .8; }
.fs-bib .mono { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; }
.fs-bib-actions { white-space: nowrap; }
.fs-bib-actions button + button { margin-left: 6px; }
.fs-bib .fs-bib-lien { display: flex; flex-direction: row; gap: 6px; align-items: center; margin: 0; }
.fs-bib .fs-bib-lien select { width: auto; min-width: 12em; flex: 1; margin: 0; }
.fs-bib .fs-bib-lien button { flex: none; margin: 0; }
.fs-bib-ajout { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.fs-bib-ajout label { display: grid; gap: 4px; font-weight: 600; }
.fs-bib-ajout input { min-width: 16em; padding: 8px 10px; }
.fs-bib-ajout .aide { flex-basis: 100%; }
.fs-bib-ok { color: #1a7f37; font-weight: 600; }
.fs-bib-absente { color: #b42318; font-weight: 600; }
.fs-depot-etat:empty { display: none; }
.fs-depot-etat { font-weight: 600; }
