/* =========================================================
   Gestion micro-entreprise — styles
   Direction : registre éditorial. Papier chaud, encre marine,
   titres et montants en Newsreader, interface en Inter, accent sarcelle.
   ========================================================= */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/newsreader-latin.woff2") format("woff2");
}

:root {
  --papier: #f8f6f1;
  --papier-2: #f1ede4;
  --carte: #fffdf9;
  --trait: rgba(11, 31, 46, 0.1);
  --trait-fort: rgba(11, 31, 46, 0.2);
  --encre: #0b1f2e;
  --texte-2: #45525d;
  --texte-3: #5f6870;
  --sur-encre: #fdfbf7;
  --sur-encre-2: rgba(253, 251, 247, 0.72);
  --accent: #0f766e;
  --accent-fort: #0b5f58;
  --accent-doux: rgba(15, 118, 110, 0.1);
  --danger: #b91c1c;
  --danger-doux: rgba(185, 28, 28, 0.08);
  --attention: #92400e;
  --attention-doux: rgba(245, 158, 11, 0.14);
  --succes: #166534;
  --succes-doux: rgba(22, 101, 52, 0.1);
  --serie-1: #2a78d6;
  --serie-2: #eb6834;
  --etat-bon: #0ca30c;
  --etat-alerte: #fab219;
  --etat-critique: #d03b3b;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rayon: 14px;
  --rayon-petit: 8px;
  --ombre: 0 1px 2px rgba(11, 31, 46, 0.05), 0 8px 24px -12px rgba(11, 31, 46, 0.14);
  --rapide: 140ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 400 0.9375rem/1.55 var(--sans);
  font-feature-settings: "tnum" 1, "cv11" 1;
}
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--accent-fort); text-underline-offset: 3px; }
a:hover { color: var(--encre); }
code { background: var(--papier-2); padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.9em; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.discret { color: var(--texte-3); font-size: 0.875rem; font-weight: 400; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.positif { color: var(--succes); }
.negatif { color: var(--encre); }
.evitement { position: absolute; left: -999px; top: 8px; background: var(--encre); color: var(--sur-encre); padding: 8px 14px; border-radius: var(--rayon-petit); z-index: 10; }
.evitement:focus { left: 8px; }

/* ---------- Structure ---------- */
.app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.menu {
  background: var(--encre);
  color: var(--sur-encre);
  padding: 22px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.menu__marque { display: flex; align-items: center; gap: 10px; color: var(--sur-encre); text-decoration: none; font: 400 1.2rem/1.2 var(--serif); padding: 4px 8px 14px; }
.menu__marque:hover { color: var(--sur-encre); }
.menu__pastille { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); font: 600 1rem var(--sans); flex: none; }
.menu__groupe { font-size: 0.6875rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--sur-encre-2); padding: 14px 10px 4px; }
.menu a:not(.menu__marque) { display: block; color: var(--sur-encre-2); text-decoration: none; padding: 7px 10px; border-radius: var(--rayon-petit); border-left: 3px solid transparent; transition: background var(--rapide), color var(--rapide); }
.menu a:not(.menu__marque):hover { background: rgba(253, 251, 247, 0.08); color: var(--sur-encre); }
.menu a[aria-current="page"] { background: rgba(253, 251, 247, 0.1); color: var(--sur-encre); border-left-color: #5eead4; font-weight: 500; }
.menu :focus-visible { outline-color: #5eead4; }
.menu__sortie { margin-top: auto; padding-top: 16px; }
.menu__sortie .bouton { width: 100%; color: var(--sur-encre-2); border-color: rgba(253, 251, 247, 0.2); }
.menu__sortie .bouton:hover { color: var(--sur-encre); background: rgba(253, 251, 247, 0.08); }

.contenu { padding: 30px clamp(18px, 3.2vw, 44px) 64px; max-width: 1320px; width: 100%; }
.contenu--seul { margin: 0 auto; max-width: 860px; padding-top: 8vh; }
.entete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--trait-fort); }
.entete h1 { font: 400 clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem)/1.12 var(--serif); letter-spacing: -0.01em; }
.entete__actions, .boutons, .actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.actions { margin-top: 18px; }
.action { display: inline-flex; margin: 0; }

/* ---------- Cartes et colonnes ---------- */
.carte { background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 20px 22px; margin-bottom: 18px; }
.carte > * + * { margin-top: 12px; }
.carte h2 { font: 400 1.3rem/1.25 var(--serif); }
.carte h3 { font: 600 0.9375rem var(--sans); }
.carte--tableau { padding: 6px 0 4px; overflow: hidden; }
.carte--tableau > h2, .carte--tableau > .aide, .carte--tableau > .discret, .carte--tableau > .vide { margin-left: 22px; margin-right: 22px; }
.carte--tableau > h2 { margin-top: 14px; }
.carte__tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 22px 0; }
.carte--lien { display: block; text-decoration: none; color: inherit; transition: transform var(--rapide), box-shadow var(--rapide); }
.carte--lien:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(11, 31, 46, 0.05), 0 18px 36px -18px rgba(11, 31, 46, 0.28); color: inherit; }
details.carte > summary { cursor: pointer; list-style-position: outside; }
details.carte > summary h2 { display: inline; font-size: 1.1rem; }
.colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.colonnes--inegales { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); }
.colonnes--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aide, .champ small, .case small, .jauge small { color: var(--texte-3); font-size: 0.8125rem; line-height: 1.45; }
.puces { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.vide { text-align: center; color: var(--texte-2); padding: 28px 16px; display: grid; gap: 14px; justify-items: center; }

/* ---------- Chiffres clés ---------- */
.tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 18px; }
.tuile { background: var(--carte); border: 1px solid var(--trait); border-top: 3px solid var(--encre); border-radius: var(--rayon-petit) var(--rayon-petit) var(--rayon) var(--rayon); padding: 14px 18px 16px; box-shadow: var(--ombre); }
.tuile:nth-child(2) { border-top-color: var(--accent); }
.tuile--alerte { border-top-color: var(--etat-critique) !important; }
.tuile__libelle { font-size: 0.8125rem; color: var(--texte-2); }
.tuile__valeur { font: 400 clamp(1.6rem, 1.2rem + 1vw, 2.05rem)/1.15 var(--serif); letter-spacing: -0.01em; margin-top: 4px; white-space: nowrap; }
.tuile__detail { font-size: 0.8125rem; color: var(--texte-3); margin-top: 4px; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: 500 0.875rem/1.2 var(--sans); color: var(--encre); text-decoration: none;
  background: var(--carte); border: 1px solid var(--trait-fort); border-radius: 999px;
  padding: 9px 16px; cursor: pointer; white-space: nowrap;
  transition: background var(--rapide), border-color var(--rapide), color var(--rapide), transform var(--rapide);
}
.bouton:hover { border-color: var(--encre); color: var(--encre); }
.bouton:active { transform: translateY(1px); }
.bouton[disabled] { opacity: 0.5; cursor: not-allowed; }
.bouton--principal { background: var(--encre); border-color: var(--encre); color: var(--sur-encre); }
.bouton--principal:hover { background: var(--accent-fort); border-color: var(--accent-fort); color: var(--sur-encre); }
.bouton--discret { background: transparent; border-color: transparent; color: var(--texte-2); }
.bouton--discret:hover { border-color: var(--trait-fort); }
.bouton--danger { color: var(--danger); border-color: rgba(185, 28, 28, 0.35); }
.bouton--danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.bouton--petit { padding: 5px 11px; font-size: 0.8125rem; }
.bouton--icone { padding: 2px 9px; font-size: 1rem; line-height: 1.3; color: var(--texte-3); border-color: transparent; background: transparent; }
.bouton--icone:hover { color: var(--danger); border-color: rgba(185, 28, 28, 0.35); }
.bouton--suggestion { background: var(--accent-doux); border-color: transparent; color: var(--accent-fort); white-space: normal; text-align: left; border-radius: var(--rayon-petit); }
.bouton--suggestion:hover { border-color: var(--accent); color: var(--accent-fort); }

/* ---------- Formulaires ---------- */
.formulaire { display: grid; gap: 14px; }
.formulaire--etroit { max-width: 440px; margin-inline: auto; }
.formulaire--ligne { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 18px; }
.grille--serree { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.champ { display: grid; gap: 5px; align-content: start; min-width: 0; }
.champ--large { grid-column: 1 / -1; }
.champ label, fieldset legend { font-size: 0.8125rem; font-weight: 500; color: var(--texte-2); }
.requis { color: var(--danger); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="date"], input[type="search"], input[type="file"], select, textarea {
  width: 100%; font: inherit; color: var(--encre); background: #fff; border: 1px solid var(--trait-fort); border-radius: var(--rayon-petit); padding: 8px 10px; min-height: 38px;
  transition: border-color var(--rapide), box-shadow var(--rapide);
}
input[type="color"] { width: 64px; height: 38px; padding: 2px; border: 1px solid var(--trait-fort); border-radius: var(--rayon-petit); background: #fff; }
textarea { resize: vertical; line-height: 1.45; }
input:hover, select:hover, textarea:hover { border-color: var(--texte-3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-doux); }
input.court { width: 5.2em; }
input.montant { width: 7.5em; text-align: right; }
.case { display: flex; gap: 9px; align-items: flex-start; font-size: 0.9375rem; cursor: pointer; }
.case input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.case small { display: block; }
.cases { display: grid; gap: 10px; }
fieldset { border: 1px solid var(--trait); border-radius: var(--rayon-petit); padding: 10px 12px; margin: 0; display: grid; gap: 6px; }
.filtres { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; margin-bottom: 16px; }
.filtres .champ { flex: 0 1 200px; }
.filtres .case { padding-bottom: 9px; }

/* ---------- Messages ---------- */
.alerte { border-radius: var(--rayon-petit); padding: 11px 14px; margin-bottom: 16px; border-left: 4px solid; font-size: 0.9375rem; }
.alerte--succes { background: var(--succes-doux); border-color: var(--succes); }
.alerte--erreur { background: var(--danger-doux); border-color: var(--danger); }
.alerte--attention { background: var(--attention-doux); border-color: #d97706; }
.alerte--info { background: var(--accent-doux); border-color: var(--accent); }
.carte .alerte { margin-bottom: 0; }

/* ---------- Tableaux ---------- */
.tableau-defilant { overflow-x: auto; }
.tableau { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.tableau caption { text-align: left; color: var(--texte-3); font-size: 0.8125rem; padding: 8px 12px; }
.tableau th, .tableau td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--trait); }
.tableau .num { text-align: right; }
.tableau thead th { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--texte-3); border-bottom-color: var(--trait-fort); white-space: nowrap; }
.tableau tbody tr { transition: background var(--rapide); }
.tableau tbody tr:hover { background: rgba(11, 31, 46, 0.025); }
.tableau tbody th { font-weight: 500; }
.tableau tfoot th, .tableau tfoot td { border-bottom: 0; border-top: 2px solid var(--encre); font-weight: 600; }
.carte--tableau .tableau th:first-child, .carte--tableau .tableau td:first-child { padding-left: 22px; }
.carte--tableau .tableau th:last-child, .carte--tableau .tableau td:last-child { padding-right: 22px; }
.tableau .inactif { color: var(--texte-3); }
.actions-cellule { white-space: nowrap; text-align: right; }
.actions-cellule .action { margin-left: 4px; }
.tableau--lignes td { padding: 6px 6px; border-bottom-style: dashed; }
.tableau--lignes .ligne__designation { min-width: 240px; display: grid; gap: 4px; }
.tableau--lignes textarea { min-height: 32px; font-size: 0.8125rem; color: var(--texte-2); }
.tableau--lignes select { min-width: 7.5em; }
.tableau--saisie td { white-space: nowrap; }
.tableau--pointage td:last-child { min-width: 280px; }
.tableau--pointage td:last-child > * { margin: 0 4px 4px 0; vertical-align: middle; }
.lignes__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lignes__actions select { width: auto; max-width: 100%; }

.decompte { width: 100%; border-collapse: collapse; }
.decompte th { text-align: left; font-weight: 400; padding: 7px 0; color: var(--texte-2); }
.decompte td { text-align: right; padding: 7px 0 7px 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.decompte tr + tr th, .decompte tr + tr td { border-top: 1px solid var(--trait); }
.decompte__detail th { padding-left: 16px; font-size: 0.8125rem; color: var(--texte-3); }
.decompte__detail td { font-size: 0.8125rem; color: var(--texte-3); }
.decompte__total th, .decompte__total td { font-weight: 600; color: var(--encre); border-top: 2px solid var(--encre) !important; }
.decompte__total td { font: 400 1.25rem var(--serif); }

.totaux { margin-left: auto; width: min(340px, 100%); display: grid; gap: 2px; }
.totaux > div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; }
.totaux dt { color: var(--texte-2); }
.totaux dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.totaux__final { border-top: 2px solid var(--encre); margin-top: 4px; padding-top: 8px !important; }
.totaux__final dt { color: var(--encre); font-weight: 600; }
.totaux__final dd { font: 400 1.5rem/1.1 var(--serif); }

.liste { display: grid; }
.liste li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px; padding: 9px 0; border-bottom: 1px solid var(--trait); }
.liste li:last-child { border-bottom: 0; }
.liste li > span:last-child { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.rappel { font-size: 0.875rem; color: var(--texte-2); }

/* ---------- Étiquettes d'état (toujours un libellé, jamais la couleur seule) ---------- */
.badge { display: inline-block; font-size: 0.75rem; font-weight: 600; line-height: 1.3; padding: 3px 9px; border-radius: 999px; background: var(--papier-2); color: var(--texte-2); white-space: nowrap; vertical-align: middle; }
.badge--envoye, .badge--emise, .badge--a_declarer, .badge--declaree { background: rgba(42, 120, 214, 0.12); color: #1d4f91; }
.badge--accepte, .badge--payee { background: var(--succes-doux); color: var(--succes); }
.badge--partielle, .badge--en_cours { background: var(--attention-doux); color: var(--attention); }
.badge--en_retard, .badge--refuse, .badge--expire { background: var(--danger-doux); color: var(--danger); }
.badge--facture { background: var(--accent-doux); color: var(--accent-fort); }
.badge--annulee { text-decoration: line-through; }

/* ---------- Onglets et navigation ---------- */
.onglets { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; border-bottom: 1px solid var(--trait-fort); margin-bottom: 18px; }
.onglets a { padding: 9px 14px; text-decoration: none; color: var(--texte-2); border-bottom: 3px solid transparent; margin-bottom: -1px; font-weight: 500; }
.onglets a:hover { color: var(--encre); }
.onglets a[aria-current="page"] { color: var(--encre); border-bottom-color: var(--accent); }
.onglets__recherche { margin-left: auto; padding-bottom: 6px; }
.onglets__recherche input { min-width: 220px; }
.navigation-mois { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 18px; font: 400 1.25rem var(--serif); }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 14px 0; }
.pagination a { padding: 5px 11px; border-radius: var(--rayon-petit); text-decoration: none; border: 1px solid var(--trait-fort); }
.pagination a[aria-current="page"] { background: var(--encre); color: var(--sur-encre); border-color: var(--encre); }

/* ---------- Jauges ---------- */
.jauge { display: grid; gap: 5px; }
.jauge + .jauge { margin-top: 16px; }
.jauge__texte { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 0.875rem; color: var(--texte-2); }
.jauge__texte strong { color: var(--encre); }
.jauge__piste { height: 8px; border-radius: 999px; background: rgba(42, 120, 214, 0.16); overflow: hidden; }
.jauge__barre { height: 100%; min-width: 3px; border-radius: 999px; background: var(--serie-1); }
.jauge--alerte .jauge__piste { background: rgba(250, 178, 25, 0.22); }
.jauge--alerte .jauge__barre { background: var(--etat-alerte); }
.jauge--critique .jauge__piste { background: rgba(208, 59, 59, 0.18); }
.jauge--critique .jauge__barre { background: var(--etat-critique); }

/* ---------- Graphique ---------- */
.graphique__cadre { position: relative; overflow-x: auto; }
.graphique__svg { width: 100%; min-width: 620px; height: auto; display: block; }
.graphique__grille { stroke: var(--trait); stroke-width: 1; }
.graphique__axe { fill: var(--texte-3); font: 11px var(--sans); }
.graphique__valeur { fill: var(--encre); font: 600 11px var(--sans); }
.graphique__serie1 { fill: var(--serie-1); }
.graphique__serie2 { fill: var(--serie-2); }
.graphique__zone { fill: transparent; cursor: default; }
.graphique__zone:hover, .graphique__zone:focus { fill: rgba(11, 31, 46, 0.05); outline: none; }
.legende { display: flex; gap: 18px; font-size: 0.8125rem; color: var(--texte-2); }
.legende li { display: flex; align-items: center; gap: 6px; }
.legende__marque { width: 10px; height: 10px; border-radius: 3px; }
.legende__marque--1 { background: var(--serie-1); }
.legende__marque--2 { background: var(--serie-2); }
.bulle { position: absolute; pointer-events: none; background: var(--encre); color: var(--sur-encre); font-size: 0.8125rem; line-height: 1.45; padding: 8px 11px; border-radius: var(--rayon-petit); box-shadow: var(--ombre); white-space: nowrap; transform: translateX(-50%); z-index: 2; }
.bulle strong { display: block; font-weight: 600; }

/* ---------- Fiche d'un document ---------- */
.fiche { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 18px; align-items: start; }
.feuille { background: #fff; border: 1px solid var(--trait); border-radius: 4px; box-shadow: 0 1px 2px rgba(11, 31, 46, 0.06), 0 24px 48px -24px rgba(11, 31, 46, 0.3); padding: clamp(20px, 4vw, 44px); display: grid; gap: 22px; }
.feuille__tete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.feuille__logo { max-height: 64px; max-width: 200px; display: block; margin-bottom: 8px; }
.feuille__emetteur { font-size: 0.875rem; color: var(--texte-2); }
.feuille__emetteur strong { color: var(--encre); font-size: 1rem; }
.feuille__titre { text-align: right; display: grid; gap: 4px; align-content: start; font-size: 0.875rem; }
.feuille__type { font: 400 2rem/1 var(--serif); color: var(--accent-fort); }
.feuille__client { margin-left: auto; width: min(320px, 100%); font-size: 0.9rem; }
.feuille__etiquette { font-size: 0.6875rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--texte-3); }
.feuille__mentions { font-size: 0.8125rem; color: var(--texte-2); display: grid; gap: 6px; border-top: 1px solid var(--trait); padding-top: 14px; }
.fiche__cote .carte:last-child { margin-bottom: 0; }
.apercu-logo { max-height: 72px; }

/* ---------- Déclarations ---------- */
.declaration__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 18px; }
.declaration__montant { font: 400 1.6rem var(--serif); }
.declaration__montant .discret { font-family: var(--sans); }
.declaration__suite { display: grid; gap: 10px; justify-items: start; }
.pointage { display: inline-block; }
.pointage[open] { display: block; width: 100%; background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon-petit); padding: 10px 12px; }
.pointage > summary { list-style: none; }
.pointage > summary::-webkit-details-marker { display: none; }
.pointage[open] > summary { margin-bottom: 10px; }

/* ---------- Écrans étroits ---------- */
@media (max-width: 980px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .menu { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 12px; gap: 2px 4px; }
  .menu__marque { padding: 4px 8px; font-size: 1.05rem; }
  .menu nav { display: flex; flex-wrap: nowrap; overflow-x: auto; width: 100%; order: 3; gap: 2px; scrollbar-width: thin; }
  .menu nav ul { display: flex; gap: 2px; }
  .menu__groupe { display: none; }
  .menu a:not(.menu__marque) { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; padding: 7px 10px; }
  .menu a[aria-current="page"] { border-bottom-color: #5eead4; }
  .menu__sortie { margin: 0 0 0 auto; padding: 0; }
  .menu__sortie .bouton { width: auto; padding: 6px 12px; }
  .colonnes, .colonnes--inegales, .colonnes--trois, .fiche { grid-template-columns: 1fr; }
  .contenu { padding-top: 20px; }
  .onglets__recherche { margin-left: 0; width: 100%; }
  .onglets__recherche input { width: 100%; }
}
@media (max-width: 560px) {
  .entete { align-items: start; }
  .feuille__titre { text-align: left; }
  .tableau th, .tableau td { padding: 8px 9px; }
  .carte { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
@media print {
  .menu, .entete__actions, .fiche__cote, .filtres, .onglets { display: none !important; }
  .app { display: block; }
  body { background: #fff; }
  .carte, .feuille { box-shadow: none; border: 0; }
}
