[hidden] { display: none !important; }
.ecran { max-width: var(--largeur-app); margin: 0 auto; padding: var(--espace-4) var(--espace-4) var(--espace-8); display: grid; gap: var(--espace-4); }
.bandeau .gauche, .bandeau .droite { display: flex; align-items: center; gap: var(--espace-4); min-width: 0; }
.bandeau .marque { gap: 0.3em; }
.bandeau .marque:hover { text-decoration: none; }
.bandeau .marque img { width: auto; height: 28px; margin-right: 0.2rem; }
.bandeau .fil { font-size: 0.875rem; color: var(--gris); }
.bandeau .fil a { font-weight: 500; }
.bandeau .fil .sep { color: var(--gris-clair); }
.bandeau .fil .courant { font-weight: 600; color: var(--encre); }
.selecteur-fil, .bouton-profil { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 34px; padding: 0 0.7rem; font: inherit; font-weight: 600; color: var(--encre); background: transparent; border: none; border-radius: var(--rayon-pilule); cursor: pointer; white-space: nowrap; }
.selecteur-fil:hover, .bouton-profil:hover { background: var(--survol); }
.selecteur-fil .chevron, .bouton-profil .chevron { width: 12px; height: 12px; fill: none; stroke: var(--gris); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.bouton-profil { padding-left: 0.25rem; font-size: 0.8125rem; font-weight: 500; }
.bouton-profil .initiales { display: grid; place-items: center; width: 26px; height: 26px; font-size: 0.6875rem; font-weight: 650; color: var(--lien); background: var(--bleu-pale); border-radius: 50%; }
.fil .ancre > .menu { right: auto; left: 0; }
.menu button .nb { font-size: 0.75rem; color: var(--gris); }

.coque { display: flex; align-items: flex-start; }
.corps { flex: 1; min-width: 0; }
.coque > .lateral { position: sticky; top: var(--hauteur-bandeau); flex: none; height: calc(100vh - var(--hauteur-bandeau)); overflow-y: auto; }
.lateral .groupe-lateral { display: flex; flex-direction: column; margin-top: 0.75rem; }
.lateral .rubrique { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin: 0 0 2px; padding: 0.4rem 0.5rem; font: inherit; font-size: 0.875rem; font-weight: 650; letter-spacing: 0; text-transform: none; text-align: left; color: var(--encre); background: transparent; border: none; border-radius: var(--rayon-moyen); cursor: pointer; }
.lateral .rubrique:hover { background: var(--survol); }
.lateral .rubrique .chevron { width: 12px; height: 12px; flex: none; fill: none; stroke: var(--gris); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--duree-couleur); }
.lateral .rubrique[aria-expanded="false"] .chevron { transform: rotate(-90deg); }
.lateral .liste-laterale { display: flex; flex-direction: column; gap: 2px; }
.lateral .interne { margin-left: auto; padding: 0 0.45rem; font-size: 0.6875rem; font-weight: 500; color: var(--gris); background: var(--remplissage); border-radius: var(--rayon-pilule); }
.maison { display: grid; place-items: center; width: 30px; height: 30px; color: var(--gris); border-radius: var(--rayon-pilule); }
.maison:hover { color: var(--encre); background: var(--survol); }
.maison svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.menu.menu-portee { min-width: 0; padding: 0; overflow: hidden; }
.portee { display: grid; grid-template-columns: 260px 250px; }
.liste-portee { max-height: min(480px, 70vh); padding: 0.375rem; overflow-y: auto; }
.recherche-portee { width: 100%; min-height: 32px; margin-bottom: 0.25rem; padding: 0 0.6rem; font: inherit; font-size: 0.8125rem; color: var(--encre); background: var(--surface); border: 1px solid var(--trait-fort); border-radius: var(--rayon-moyen); box-sizing: border-box; }
.recherche-portee:focus { border-color: var(--bleu); outline: none; box-shadow: 0 0 0 3px var(--bleu-halo); }
.fiche-portee { padding: 0.9rem 1rem; border-left: 1px solid var(--trait); }
.fiche-portee h3 { margin: 0 0 0.6rem; font-size: 0.9375rem; font-weight: 650; }
.fiche-portee .termes { display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1rem; font-size: 0.8125rem; }
.fiche-portee .termes .t { color: var(--gris); }
.fiche-portee .termes .v { font-weight: 600; text-align: right; }
.fiche-portee .detail { margin: 0.6rem 0 0; font-size: 0.8125rem; color: var(--gris); }
.bouton-menu { display: none; place-items: center; width: 34px; height: 34px; padding: 0; background: transparent; border: none; border-radius: var(--rayon-pilule); cursor: pointer; }
.bouton-menu:hover { background: var(--survol); }
.bouton-menu svg { width: 18px; height: 18px; fill: none; stroke: var(--encre); stroke-width: 1.75; stroke-linecap: round; }
body[data-espace="connexion"] .commandes, body[data-espace="connexion"] .etiquette-periode { display: none; }

.bande { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--espace-4) var(--espace-6); }
.bande h1 { display: grid; gap: 0.15rem; margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.bande h1 span { font-size: 0.8125rem; font-weight: 400; letter-spacing: 0; color: var(--gris); }
.indicateurs { display: flex; flex-wrap: wrap; gap: var(--espace-4) var(--espace-6); }
.indicateur { display: grid; gap: 0.25rem; align-content: start; }
.titre-indicateur { justify-self: start; padding: 0; font: inherit; font-size: 0.75rem; font-weight: 500; color: var(--gris); text-align: left; background: none; border: none; cursor: pointer; text-decoration: underline dotted var(--trait-fort); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.titre-indicateur:hover { color: var(--encre); }
.valeur-indicateur { display: flex; align-items: center; gap: 0.45rem; font-size: 1.0625rem; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.valeur-indicateur .spark { width: 52px; height: 20px; }
.note-indicateur { font-size: 0.6875rem; color: var(--gris); }
.tableau-marques .spark { width: 110px; height: 26px; }
.tableau .sous { display: block; font-size: 0.6875rem; font-weight: 400; color: var(--gris); }
.pied-export { display: flex; align-items: center; justify-content: space-between; gap: var(--espace-3); margin-top: 0.5rem; }
.pied-export .compte { margin: 0; }
.pilule.exporter { min-height: 28px; padding: 0.1rem 0.65rem; font-size: 0.75rem; }
.pilule:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--bleu-halo); }
.raccourcis { display: flex; flex-wrap: wrap; gap: var(--espace-2); }
.raccourci { text-decoration: none; }
.raccourci .nb { padding: 0 0.45rem; font-size: 0.75rem; font-weight: 600; background: var(--remplissage); border-radius: var(--rayon-pilule); }
.entete-section { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--espace-3); }
.entete-section .surtitre { margin: 0; }
.lecture-section { margin: calc(-1 * var(--espace-2)) 0 0; font-size: 0.8125rem; color: var(--gris); }

.spark { display: block; width: 100%; }
.spark .trace { fill: none; stroke: var(--serie); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark .trace-cmp { fill: none; stroke: var(--serie-comparaison); stroke-width: 2; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.tableau tr.eteinte td { color: var(--gris-clair); }

.connexion { display: grid; gap: var(--espace-4); max-width: 1040px; width: 100%; margin: 0 auto; }
.chapeau-connexion { margin: 0; max-width: 640px; font-size: 0.875rem; line-height: 1.5; color: var(--gris); }
.groupe-profils { display: grid; gap: var(--espace-2); }
.groupe-profils .surtitre { display: flex; align-items: baseline; gap: 0.5rem; }
.groupe-profils .surtitre .nb { font-weight: 500; color: var(--gris-clair); }
.groupe-profils .detail { margin: 0; }
.form-acces { display: flex; flex-wrap: wrap; gap: var(--espace-2); align-items: center; }
.form-acces .saisie { flex: 1 1 220px; width: auto; }
body[data-espace="acces"] .bandeau, body[data-espace="acces"] .commandes { display: none; }
body[data-espace="acces"] .ecran { display: grid; place-items: center; min-height: 100dvh; padding: var(--espace-6) 16px; }
.page-connexion { display: grid; gap: var(--espace-6); width: 100%; max-width: 340px; text-align: center; }
.page-connexion [hidden] { display: none; }
.symbole-connexion { justify-self: center; width: 44px; height: 44px; }
.entete-connexion { display: grid; gap: var(--espace-2); }
.entete-connexion h1 { margin: 0; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
.sous-titre { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--gris); overflow-wrap: anywhere; }
.pile-connexion { display: grid; gap: 12px; }
.pile-connexion .saisie { width: 100%; min-height: 42px; padding: 0 1rem; font-size: 1rem; text-align: left; border-radius: var(--rayon-pilule); }
.pile-connexion .button { box-sizing: border-box; justify-content: center; width: 100%; min-height: 42px; padding: 0 12px; font-size: 14px; font-weight: 500; }
.connexion-google { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 0 12px; font-size: 14px; font-weight: 500; line-height: 20px; color: #1f1f1f; text-decoration: none; background: #fff; border: 1px solid #747775; border-radius: var(--rayon-pilule); }
.connexion-google:hover { background: #f8f9fa; }
.separateur-connexion { display: flex; align-items: center; gap: 12px; font-size: 0.8125rem; color: var(--gris); }
.separateur-connexion::before, .separateur-connexion::after { content: ""; flex: 1; height: 1px; background: var(--trait-fort); }
.lien-connexion { padding: 0; font: inherit; font-size: 0.8125rem; color: var(--gris); background: none; border: none; cursor: pointer; }
.lien-connexion:hover { color: var(--encre); }
.note-connexion { margin: 0; font-size: 0.8125rem; color: var(--gris); }
.page-connexion .message-acces { margin: 0; line-height: 1.5; }
.message-acces { margin: 0.4rem 0 0; font-size: 0.8125rem; color: var(--rouge); }
.message-acces:empty { display: none; }
.retirer { min-height: 28px; padding: 0 0.7rem; font: inherit; font-size: 0.75rem; color: var(--gris); background: transparent; border: 1px solid var(--trait-fort); border-radius: var(--rayon-pilule); cursor: pointer; }
.retirer:hover { color: var(--encre); background: var(--survol); }
.retirer.arme { color: var(--rouge); border-color: var(--rouge); }
.lie.eteint { opacity: 0.55; cursor: default; }
.lie.eteint:hover { box-shadow: none; border-color: var(--trait); }
.etiquette-periode { font-size: 0.8125rem; color: var(--gris); }
.commandes { max-width: var(--largeur-app); margin: 0 auto; padding: var(--espace-4) var(--espace-4) 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--espace-3); }
.periode { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-2); }
.periode.inactive > :not(.exporter-page) { opacity: 0.5; pointer-events: none; }
.ancre { position: relative; }
.ancre > .menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: var(--plan-menu); }
.menu button:disabled { color: var(--gris-clair); cursor: default; background: transparent; }
.menu .groupe-titre { padding: 0.4rem 0.75rem 0.2rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gris); }
.pilule.fixe { cursor: default; color: var(--gris); }
.pilule.fixe:hover { background: var(--surface); }

.logo-marque { height: 32px; display: flex; align-items: center; gap: var(--espace-4); }
.logo-marque img { max-height: 32px; max-width: 150px; object-fit: contain; }
.titre-ecran { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--espace-3); margin: 0; }
.titre-ecran h1 { margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.titre-ecran span { font-size: 0.8125rem; color: var(--gris); }
.surtitre { margin: var(--espace-2) 0 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gris); }

.carte.chiffre-cle .valeur { margin-bottom: 0.25rem; }
.detail { font-size: 0.75rem; color: var(--gris); }
.detail b { color: var(--encre); font-weight: 600; }
.absent { font-size: 0.875rem; font-weight: 500; color: var(--gris-clair); }

.graphique { position: relative; margin-top: 0.5rem; border-radius: var(--rayon-fin); outline: none; }
.graphique:focus-visible { box-shadow: 0 0 0 3px var(--bleu-halo); }
.graphique .info-bulle { position: absolute; top: 0; z-index: var(--plan-menu); pointer-events: none; }
.graphique .info-bulle[hidden] { display: none; }
.legende-courbe { display: flex; flex-wrap: wrap; gap: var(--espace-4); font-size: 0.75rem; color: var(--gris); }
.legende-courbe i { display: inline-block; width: 14px; height: 0; margin-right: 0.35rem; vertical-align: middle; border-top: 2px solid var(--serie); }
.legende-courbe i.cmp { border-top: 2px dashed var(--serie-comparaison); }

.parts-ligne { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 0.6rem; margin-top: 0.6rem; font-size: 0.75rem; color: var(--gris); }
.parts span.propre { box-shadow: inset 0 0 0 2px var(--encre); }
.legende-parts button.chiffre { font-size: 0.75rem; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--espace-4); margin-top: 0.5rem; }
.duo .v { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.01em; }
.liste .rang .nom { color: var(--encre); }

.multiples .multiple { display: grid; gap: 0.2rem; }
.multiple .echelle { height: 6px; margin-top: 0.35rem; border-radius: 2px; background: var(--remplissage); overflow: hidden; }
.multiple .echelle i { display: block; height: 100%; background: var(--serie); }
.multiple.hachure .echelle i { background: var(--orange); }

.defile-x { overflow-x: auto; }
.tableau td.manque-cel { color: var(--orange); }
.tableau td.gris { color: var(--gris); }
.tableau span.gris { color: var(--gris); }
.tableau td.texte { white-space: normal; min-width: 220px; }
.tableau tr.rupture td:first-child { font-weight: 600; }

.calendrier { grid-template-columns: 120px repeat(var(--cols), minmax(0, 1fr)); gap: 2px; }
.calendrier .lib { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calendrier .cell { cursor: default; }
.calendrier .cell[role="button"] { cursor: pointer; }
.calendrier > * { min-width: 0; }

.barre-filtres { gap: 0.5rem; }
.barre-filtres label { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; color: var(--gris); }
.barre-filtres input[type=number] { flex: 0 0 64px; width: 64px; }
.barre-filtres select { max-width: 220px; }
.barre-filtres .reinit { min-height: 30px; padding: 0 0.7rem; font: inherit; font-size: 0.75rem; color: var(--lien); background: transparent; border: none; cursor: pointer; }

.carte-geo { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--espace-4); align-items: start; }
.carte-geo .fond-carte { isolation: isolate; height: calc(100vh - 250px); min-height: 460px; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre-carte); background: var(--surface); }
.legende-carte { display: grid; gap: 0.35rem; font-size: 0.75rem; }
.legende-carte div { display: flex; align-items: center; gap: 0.5rem; }
.legende-carte i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.legende-carte b { margin-left: auto; font-weight: 600; }
.legende-carte button { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; }
.leaflet-container { font-family: var(--font-systeme); }
.leaflet-tile-pane { filter: grayscale(1) brightness(1.06) contrast(0.88); }
.leaflet-popup-content { font-size: 0.8125rem; line-height: 1.45; }
.leaflet-popup-content b { font-weight: 600; }
.leaflet-popup-content a { color: var(--lien); text-decoration: none; font-weight: 500; }

.ecran-c3 { display: grid; gap: var(--espace-4); }
.resultats { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--espace-2); }
.resultats .lie { text-align: left; font: inherit; cursor: pointer; width: 100%; box-sizing: border-box; min-width: 0; align-items: flex-start; }
.lie .meta b { color: var(--encre); font-weight: 600; }
.lie .puces { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.35rem; }
.lie .puces:empty { display: none; }
.liste-crm { display: flex; flex-direction: column; gap: var(--espace-3); min-width: 0; }
.entete + .liste-crm { margin-top: var(--espace-3); }
.liste-crm > :empty { display: none; }
.carte-liste { scroll-margin-top: calc(var(--hauteur-bandeau) + var(--espace-3)); }
.onglets-vues { display: flex; gap: 0.25rem; margin: -0.25rem 0 0; overflow-x: auto; border-bottom: 1px solid var(--trait); scrollbar-width: none; }
.onglets-vues button { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: -1px; padding: 0.55rem 0.7rem; font: inherit; font-size: 0.8125rem; font-weight: 500; color: var(--gris); white-space: nowrap; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; }
.onglets-vues button:hover { color: var(--encre); }
.onglets-vues button.actif { font-weight: 600; color: var(--encre); border-bottom-color: var(--bleu); }
.onglets-vues .nb { padding: 0 0.4rem; font-size: 0.6875rem; font-weight: 600; color: var(--gris); background: var(--remplissage); border-radius: var(--rayon-pilule); font-variant-numeric: tabular-nums; }
.outils-liste { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-2); }
.outils-liste .ancre { position: static; }
.recherche-liste { flex: 1 1 260px; min-height: 34px; padding: 0 0.9rem; font: inherit; font-size: 0.8125rem; color: var(--encre); background: var(--surface); border: 1px solid var(--trait-fort); border-radius: var(--rayon-pilule); box-sizing: border-box; }
.recherche-liste:focus { border-color: var(--bleu); outline: none; box-shadow: 0 0 0 3px var(--bleu-halo); }
.pilule .nb:empty { display: none; }
.pilule .nb { min-width: 18px; padding: 0 0.35rem; font-size: 0.6875rem; font-weight: 650; line-height: 18px; text-align: center; color: #fff; background: var(--bleu); border-radius: var(--rayon-pilule); }
.pastilles { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.pastilles .effacer { font-size: 0.75rem; }
.regle-vue { margin: 0; font-size: 0.75rem; color: var(--gris); }
.menu.menu-filtres { display: grid; gap: var(--espace-3); width: min(440px, calc(100vw - 2rem)); padding: var(--espace-3); box-sizing: border-box; }
.champs-filtres { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.champ-filtre { display: grid; gap: 0.25rem; min-width: 0; font-size: 0.75rem; color: var(--gris); }
.champ-filtre .saisie { min-height: 32px; font-size: 0.8125rem; }
.cases-filtres { display: grid; gap: 0.4rem; font-size: 0.8125rem; }
.tableau-liste th { min-width: 64px; white-space: normal; vertical-align: bottom; }
.tableau-liste .nom-ligne { display: grid; max-width: 340px; }
.tableau-liste .nom { overflow: hidden; font-weight: 600; text-overflow: ellipsis; }
.tableau-liste .sous { font-size: 0.75rem; color: var(--gris); }
.tableau-liste .retard { color: var(--orange); }
.tableau-liste .barre-cellule { display: block; min-width: 64px; height: 3px; margin-top: 0.3rem; background: var(--remplissage); border-radius: 2px; }
.tableau-liste .barre-cellule i { display: block; height: 100%; background: var(--serie); border-radius: 2px; }
.regle-vue .chiffre { font-size: inherit; }
.tableau-liste tr.cliquable:focus-visible td { background: var(--survol); outline: none; }
.liste-crm .pied-export .compte { display: flex; align-items: center; gap: var(--espace-3); font-size: 0.75rem; color: var(--gris); }
.vide-liste { display: grid; justify-items: center; gap: 0.25rem; padding: var(--espace-8) var(--espace-4); font-size: 0.8125rem; color: var(--gris); }
.vide-liste strong { color: var(--encre); }
.liens-fiche { display: flex; flex-wrap: wrap; gap: var(--espace-3); }
.fiche-prepa.en-panneau { padding-top: var(--espace-3); }
.panneau header h2 { flex: 1; min-width: 0; }
.panneau header .retour-panneau { flex: none; font-size: 1.125rem; }
.fiche-commercial { display: grid; gap: var(--espace-4); }
.filtres button .nb { margin-left: 0.35rem; color: var(--gris); font-weight: 500; }

.fiche-prepa { display: grid; gap: var(--espace-4); }
.fiche-prepa .tete { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.fiche-prepa .tete h1 { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.fiche-prepa .tete .sous { margin-top: 0.25rem; font-size: 0.8125rem; color: var(--gris); }
.fiche-prepa .badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }
.deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--espace-4); align-items: start; }
.bulle { padding: 0.75rem 0.9rem; font-size: 0.875rem; line-height: 1.5; white-space: pre-line; background: var(--fond); border-radius: var(--rayon-moyen); }
.bulle.vide { color: var(--gris-clair); }
.bulle .qui { display: block; margin-top: 0.4rem; font-size: 0.75rem; color: var(--gris); }
.bloc h3 { margin: 0 0 0.5rem; font-size: 0.8125rem; font-weight: 600; }
.tiroirs { display: grid; gap: var(--espace-2); }
.tiroirs details { background: var(--surface); border-radius: var(--rayon-moyen); box-shadow: var(--ombre-carte); }
.tiroirs summary { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.9rem; font-size: 0.875rem; font-weight: 600; cursor: pointer; list-style: none; }
.tiroirs summary::-webkit-details-marker { display: none; }
.tiroirs summary::after { content: "›"; color: var(--gris); font-size: 1rem; transition: transform var(--duree-couleur); }
.tiroirs details[open] summary::after { transform: rotate(90deg); }
.tiroirs summary .nb { margin-left: auto; font-size: 0.75rem; font-weight: 500; color: var(--gris); }
.tiroirs .contenu { padding: 0 0.9rem 0.9rem; }
.journal .evt-j { cursor: pointer; border-radius: var(--rayon-moyen); }
.journal .evt-j:hover { background: var(--survol); }
.journal .tete-j { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.journal .tete-j b { font-weight: 600; }

.voile { position: fixed; inset: 0; z-index: var(--plan-voile); background: var(--voile); }
.tiroir { position: fixed; top: 0; right: 0; bottom: 0; width: min(720px, 100%); overflow-y: auto; }
.marche .liste-q { margin: 0.4rem 0 0; padding-left: 1.1rem; font-size: 0.8125rem; }
.marche .compte { font-size: 0.75rem; color: var(--gris); margin: 0.25rem 0 0.5rem; }

@media (max-width: 1100px) {
  .bouton-menu { display: grid; }
  .coque > .lateral { position: fixed; top: 0; left: 0; bottom: 0; z-index: var(--plan-panneau); width: min(300px, 85%); height: auto; background: var(--surface); box-shadow: var(--ombre-panneau); transform: translateX(-100%); visibility: hidden; transition: transform var(--duree-panneau), visibility 0s var(--duree-panneau); }
  body.menu-ouvert .coque > .lateral { transform: none; visibility: visible; transition: transform var(--duree-panneau); }
  .etiquette-periode { display: none; }
  .carte-geo, .deux { grid-template-columns: 1fr; }
  .champs-filtres { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .calendrier { grid-template-columns: 80px repeat(var(--cols), minmax(0, 1fr)); gap: 1px; }
  .calendrier .cell, .calendrier .col { font-size: 0; }
  .bouton-profil .nom-profil, .bandeau .marque span { display: none; }
  .portee { grid-template-columns: min(260px, calc(100vw - 2rem)); }
  .fiche-portee { display: none; }
  .indicateurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .valeur-indicateur .spark { display: none; }
  .bandeau { padding: 0.5rem 1rem; }
  .bandeau .gauche { gap: var(--espace-2); }
  .bandeau { flex-wrap: wrap; }
}
.graphique .repere-jour { stroke: var(--trait-fort); stroke-width: 1; stroke-dasharray: 2 3; }
.legende-graphique i.prevu { width: 14px; height: 0; border-radius: 0; background: transparent; border-top: 2px dashed var(--gris-clair); vertical-align: middle; }
.heatmap .cell.planifie { box-shadow: inset 0 0 0 2px var(--serie); }
.heatmap .cell.planifie.seul { color: var(--bleu); background: var(--surface); box-shadow: none; outline: 2px dotted var(--serie); outline-offset: -2px; }
.heatmap .cell.restee { box-shadow: inset 0 0 0 1px var(--orange); }
.jauge { position: relative; height: 10px; margin: 1rem 0 0.4rem; border-radius: 5px; background: var(--remplissage); }
.jauge i { position: absolute; inset: 0 auto 0 0; border-radius: 5px; background: var(--serie); }
.jauge b { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--encre); }
.jauge-legende { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 12px; color: var(--gris); }
.coque > .lateral { display: flex; flex-direction: column; }
.lateral .reglages-bas { margin-top: auto; padding-top: 0.75rem; }
.barre-filtres label.ligne-case { font-size: 0.75rem; white-space: nowrap; }
.barre-filtres label.ligne-case input { margin: 0; }
.vu-comme { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin: 0 0 0.75rem; padding: 0.6rem 0.9rem; font-size: 0.8125rem; background: var(--bleu-pale); border-radius: var(--rayon-moyen); }
.liste-vu-comme { display: flex; flex-direction: column; gap: 2px; margin-top: 0.75rem; }
.choix-vu-comme { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; padding: 0.45rem 0.6rem; font: inherit; text-align: left; background: none; border: none; border-radius: var(--rayon-fin); cursor: pointer; }
.choix-vu-comme:hover, .choix-vu-comme:focus-visible { background: var(--survol); }
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  body { background: #fff; }
  .bandeau, .coque > .lateral, .commandes, .vu-comme, .panneau, .voile, .pied-export, .sans-impression, .raccourcis { display: none !important; }
  .coque, .corps, .ecran { display: block; margin: 0; padding: 0; max-width: none; }
  .carte { box-shadow: none; border: 1px solid #e5e5ea; break-inside: avoid; }
  .defile-x { overflow: visible; }
  .defile-suite { max-height: none !important; overflow: visible !important; mask-image: none !important; -webkit-mask-image: none !important; }
  .pilule.exporter { display: none !important; }
  .chiffre, .titre-indicateur { text-decoration: none; }
}
.tableau th button.tri { padding: 0; font: inherit; color: inherit; text-align: inherit; background: none; border: none; cursor: pointer; }
.liste .rang .barres { grid-column: 1 / -1; }
.liste .barres .piste { position: relative; background: var(--remplissage); border-radius: 2px; overflow: hidden; }
.liste .piste .repere { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--encre); opacity: 0.55; }
.liste .barre { min-width: 2px; transform-origin: left center; animation: pousse 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.liste .rang.cliquable { margin: -0.2rem -0.4rem; padding: 0.2rem 0.4rem; border-radius: var(--rayon-fin); cursor: pointer; transition: background-color var(--duree-couleur); }
.liste .rang.cliquable:hover { background-color: var(--survol); }
.liste .rang.cliquable:hover .barre:not(.cmp) { background: var(--bleu); }
.axe-barres { display: flex; justify-content: space-between; margin-top: 0.1rem; padding-top: 0.25rem; font-size: 0.6875rem; color: var(--gris-clair); border-top: 1px solid var(--remplissage); }
.pilule.choisie { color: var(--bleu); background-color: var(--bleu-pale); border-color: transparent; }
@keyframes pousse { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media print { .liste .barre { animation: none; } }
.axe-barres .legende-repere { display: inline-flex; align-items: center; gap: 0.3rem; }
.axe-barres .legende-repere i { display: block; width: 2px; height: 8px; background: var(--encre); opacity: 0.55; }
.liste .nombres .delta { font-size: 0.6875rem; }
.delta { white-space: nowrap; }
.carte .entete .titres { display: grid; gap: 0.15rem; min-width: 0; }
.carte .entete .titres .titre { margin: 0; }
.carte .entete > .pilule { flex: none; }
.pied-liste { display: flex; justify-content: center; margin-top: var(--espace-3); }
.tableau-liste td.num .delta { min-width: 4.4rem; justify-content: flex-end; }
.resume-choix { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; padding: 0; font: inherit; font-size: 0.8125rem; color: var(--encre); text-align: left; background: none; border: none; cursor: pointer; }
.resume-choix:hover b { color: var(--bleu); }
.tableau-place td:nth-child(4) { width: 34%; min-width: 180px; }
.positions { margin-top: 1rem; font-size: 0.8125rem; }
.positions summary { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; font-weight: 600; cursor: pointer; }
.carte-marque { display: flex; flex-direction: column; gap: var(--espace-3); }
.carte-marque .tete-marque { display: flex; align-items: center; gap: 0.6rem; min-height: 28px; font-size: 0.9375rem; font-weight: 650; color: var(--encre); text-decoration: none; }
.carte-marque .tete-marque img { max-height: 22px; max-width: 96px; object-fit: contain; }
.carte-marque .tete-marque .fleche { margin-left: auto; color: var(--gris-clair); transition: transform var(--duree-couleur), color var(--duree-couleur); }
.carte-marque .tete-marque:hover .fleche { color: var(--bleu); transform: translateX(2px); }
.carte-marque .chiffre-marque { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--espace-4); }
.carte-marque .chiffre-marque .valeur { margin: 0; }
.carte-marque .chiffre-marque .spark { flex: 0 1 140px; width: 140px; height: 36px; }
.carte-marque .ligne-suivi { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; font-size: 0.8125rem; }
.jauge.fine { height: 6px; margin: 0.35rem 0 0; border-radius: 3px; }
.jauge.fine i { border-radius: 3px; }
.carte-marque .pied-marque { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; font-size: 0.8125rem; }
.carte-marque .raccourcis { margin-top: auto; }
.carte-marque .raccourci { min-height: 28px; padding: 0 0.7rem 0 0.3rem; font-size: 0.75rem; gap: 0.4rem; }
.carte-marque.eteinte .tete-marque { color: var(--gris); }
.resume-equipe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--espace-3) var(--espace-6); padding: var(--espace-2) 0; }
.choix-marque .pilule { text-decoration: none; gap: 0.4rem; }
.choix-marque .compte-pilule { font-size: 0.75rem; font-weight: 400; color: var(--gris); }
.choix-marque .pilule.choisie .compte-pilule { color: inherit; opacity: 0.75; }
.graphique .bande-survol { fill: var(--survol); }
.graphique .pile.incomplete { opacity: 0.45; }
.liste .rangs { display: flex; flex-direction: column; gap: 0.55rem; }
.defile-suite { overflow-y: auto; overscroll-behavior: contain; }
.liste .rangs.defile-suite { max-height: calc(var(--lignes) * 2.275rem - 0.55rem + 1.1rem); padding-right: 0.25rem; }
.defile-table { max-height: calc(2.1rem + var(--lignes) * 2.38rem + 1.2rem); }
.defile-table thead th { position: sticky; top: 0; z-index: 1; background: var(--surface); }
.defile-suite:not(.fin) { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 2rem), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 2rem), transparent); }
.vignettes { display: flex; flex-direction: column; gap: var(--espace-3); margin-top: 0.5rem; }
.grille-vignettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--espace-4) var(--espace-6); }
.vignette { display: flex; flex-direction: column; min-width: 0; }
.tete-vignette { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; font-size: 0.75rem; }
.tete-vignette .nom-vignette { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8125rem; font-weight: 600; color: var(--encre); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tete-vignette .nom-vignette i { flex: none; width: 8px; height: 8px; border-radius: 2px; }
.tete-vignette .detail { white-space: nowrap; font-variant-numeric: tabular-nums; }
.vignette .graphique { height: 110px; margin-top: 0.25rem; }
.vignette .graphique svg { width: 100%; height: 100%; overflow: visible; }
.graphique .moyenne { stroke: var(--gris); stroke-width: 1; stroke-dasharray: 3 3; }
.note-vignettes { margin: 0; font-size: 0.75rem; }
