/* Devanturo Bureau — style repris de devanturo-gestion, pensé mobile d'abord. */
:root {
  --bg: #f5f4f0; --surface: #ffffff; --surface-2: #efede7; --texte: #141414; --doux: #6b6862;
  --ligne: #e2dfd8; --accent: #141414; --sur-accent: #ffffff;
  --vert: #1f7a4a; --vert-fond: #e3f2e9; --orange: #a35a00; --orange-fond: #fbeedb;
  --rouge: #b3261e; --rouge-fond: #fbe4e2; --bleu: #2455a4; --bleu-fond: #e3ebf8; --gris-fond: #ecebe6;
  --ombre: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.05);
  --r: 16px;
  --barre-bas: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="clair"]) {
    --bg: #0e0e0e; --surface: #181818; --surface-2: #222; --texte: #f3f2ee; --doux: #9c9a94;
    --ligne: #2c2c2c; --accent: #f3f2ee; --sur-accent: #111;
    --vert: #6fd39b; --vert-fond: #173524; --orange: #f0b35e; --orange-fond: #3a2a12;
    --rouge: #ff8a80; --rouge-fond: #3d1a18; --bleu: #8fb3ff; --bleu-fond: #1b2740; --gris-fond: #262626;
    --ombre: none; color-scheme: dark;
  }
}
:root[data-theme="sombre"] {
  --bg: #0e0e0e; --surface: #181818; --surface-2: #222; --texte: #f3f2ee; --doux: #9c9a94;
  --ligne: #2c2c2c; --accent: #f3f2ee; --sur-accent: #111;
  --vert: #6fd39b; --vert-fond: #173524; --orange: #f0b35e; --orange-fond: #3a2a12;
  --rouge: #ff8a80; --rouge-fond: #3d1a18; --bleu: #8fb3ff; --bleu-fond: #1b2740; --gris-fond: #262626;
  --ombre: none; color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--texte);
  font: 15px/1.45 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
h1 { font-size: 24px; font-weight: 700; }
h2 { font-size: 17px; font-weight: 650; }
h3 { font-size: 12px; font-weight: 600; color: var(--doux); text-transform: uppercase; letter-spacing: .05em; }
p { margin: 0 0 8px; }
.num { font-variant-numeric: tabular-nums; }
.cache { display: none !important; }
[hidden] { display: none !important; }

/* ---------- Coquille ---------- */
.barre {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--ligne);
}
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.marque img { flex: none; }
.marque div { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.marque strong { font-size: 15px; }
.marque span { font-size: 12px; color: var(--doux); }
.outils { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.rond { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ligne); background: var(--surface); cursor: pointer; display: grid; place-items: center; font-size: 17px; padding: 0; }
.rond .pastille-nb { position: absolute; top: -2px; right: -2px; }
.pastille-nb { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--rouge); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; line-height: 1; }

main { max-width: 1180px; margin: 0 auto; padding: 18px 16px calc(var(--barre-bas) + 96px); outline: none; }
.coquille-cachee .barre, .coquille-cachee #nav, .coquille-cachee #fab { display: none !important; }
.coquille-cachee main { padding-bottom: 40px; }

/* Barre du bas (mobile) */
#nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--surface); border-top: 1px solid var(--ligne);
  padding-bottom: env(safe-area-inset-bottom);
}
#nav a, #nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: var(--barre-bas);
  text-decoration: none; color: var(--doux); font-size: 11px; font-weight: 600; background: none; border: 0; cursor: pointer; padding: 6px 2px; }
#nav .ico { font-size: 20px; line-height: 1; }
#nav .actif { color: var(--texte); }
#nav .actif .ico { transform: scale(1.08); }
#nav .pastille-nb { position: absolute; top: 6px; left: calc(50% + 6px); }
#nav .seulement-large { display: none; }
#nav .sep { display: none; }

body.avec-ecrire #fab { bottom: calc(var(--barre-bas) + 84px + env(safe-area-inset-bottom)); }
#fab {
  position: fixed; right: 16px; bottom: calc(var(--barre-bas) + 16px + env(safe-area-inset-bottom)); z-index: 25;
  border: 0; border-radius: 999px; padding: 0 20px; height: 54px; background: var(--accent); color: var(--sur-accent);
  font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.25); cursor: pointer;
}

@media (min-width: 900px) {
  body { padding-left: 232px; }
  .barre { padding-left: 24px; }
  #nav {
    top: 0; bottom: 0; right: auto; width: 232px; display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    border-top: 0; border-right: 1px solid var(--ligne); padding: 14px 12px; overflow-y: auto;
  }
  #nav .marque-nav { display: flex !important; margin: 4px 8px 16px; }
  #nav a, #nav button { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; font-size: 14px; font-weight: 550; }
  #nav a:hover, #nav button:hover { background: var(--surface-2); color: var(--texte); }
  #nav .actif { background: var(--accent); color: var(--sur-accent); }
  #nav .ico { font-size: 17px; width: 22px; text-align: center; }
  #nav .pastille-nb { position: static; margin-left: auto; }
  #nav .seulement-large { display: flex; }
  #nav .seulement-mobile { display: none; }
  #nav .sep { display: block; height: 1px; background: var(--ligne); margin: 10px 8px; }
  .barre .marque { display: none; }
  main { padding: 26px 28px 60px; }
  #fab { bottom: 28px; right: 28px; }
}
.marque-nav { display: none !important; }

/* ---------- Mise en page ---------- */
.entete { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.entete p { margin: 4px 0 0; color: var(--doux); }
.grille { display: grid; gap: 12px; }
.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3, .g2 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.carte { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r); padding: 16px; box-shadow: var(--ombre); min-width: 0; }
.bloc { margin-top: 18px; }
.bloc > h2, .bloc-titre { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.bloc-titre .filtres { max-width: 100%; }
.chiffre { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.sous { color: var(--doux); font-size: 13px; margin-top: 2px; }
.pile > * + * { margin-top: 10px; }
.ligne-flex { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.espace { flex: 1; }
.vide { text-align: center; color: var(--doux); padding: 26px 10px; }
.petit { font-size: 12px; color: var(--doux); }
.fort { font-weight: 700; }
.m { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.avatar { width: 32px; height: 32px; flex: none; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--surface-2); color: var(--texte); }
.avatar.patron { background: var(--accent); color: var(--sur-accent); }
.avatar.mini { width: 24px; height: 24px; font-size: 11px; }
.avatars { display: inline-flex; }
.avatars .avatar { border: 2px solid var(--surface); margin-left: -6px; }
.avatars .avatar:first-child { margin-left: 0; }
.pastille { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--sur-accent); font-weight: 600; white-space: nowrap; }
.jauge { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.jauge i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.jauge.verte i { background: var(--vert); }

/* ---------- Badges ---------- */
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: var(--gris-fond); color: var(--doux); }
.b-prospection { background: var(--gris-fond); color: var(--doux); }
.b-a_valider { background: var(--orange-fond); color: var(--orange); }
.b-a_construire, .b-production { background: var(--bleu-fond); color: var(--bleu); }
.b-livre, .b-paye { background: var(--vert-fond); color: var(--vert); }
.b-perdu, .b-annule { background: var(--rouge-fond); color: var(--rouge); }
.b-vert { background: var(--vert-fond); color: var(--vert); }
.b-orange { background: var(--orange-fond); color: var(--orange); }
.b-rouge { background: var(--rouge-fond); color: var(--rouge); }
.b-bleu { background: var(--bleu-fond); color: var(--bleu); }
.b-noir { background: var(--accent); color: var(--sur-accent); }

/* ---------- Boutons, champs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--ligne); background: var(--surface); padding: 10px 16px; min-height: 44px; border-radius: 999px; cursor: pointer; font-weight: 600; white-space: nowrap; text-decoration: none; }
.btn:hover { background: var(--surface-2); }
.btn.plein { background: var(--accent); color: var(--sur-accent); border-color: var(--accent); }
.btn.plein:hover { opacity: .88; }
.btn.danger { color: var(--rouge); }
.btn.mini { padding: 6px 12px; min-height: 36px; font-size: 13px; }
.btn.large { width: 100%; }
.btn:disabled { opacity: .45; cursor: default; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
:focus-visible { outline: 2px solid var(--bleu); outline-offset: 2px; }
.lien { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font-weight: 600; }

.filtres { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filtres::-webkit-scrollbar { display: none; }
.filtres.wrap { flex-wrap: wrap; overflow: visible; }
.chip { flex: none; border: 1px solid var(--ligne); background: var(--surface); border-radius: 999px; padding: 8px 14px; min-height: 40px; cursor: pointer; font-size: 13px; font-weight: 550; white-space: nowrap; }
.chip.actif { background: var(--accent); color: var(--sur-accent); border-color: var(--accent); }

.champ { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.champ > label, .champ > span.lab { font-size: 13px; font-weight: 600; color: var(--doux); }
input[type=text], input[type=number], input[type=date], input[type=datetime-local], input[type=month], input[type=tel], input[type=email], input[type=search], input[type=password], input[type=url], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--ligne); border-radius: 12px; background: var(--surface); min-height: 44px; font-size: 16px;
}
textarea { min-height: 80px; resize: vertical; }
.case { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; min-height: 44px; }
.case input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.form-grille { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .form-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grille .large { grid-column: 1 / -1; } .form-grille.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.aide { font-size: 12px; color: var(--doux); }
.alerte { padding: 10px 14px; border-radius: 12px; background: var(--orange-fond); color: var(--orange); font-size: 14px; font-weight: 500; }
.alerte.rouge { background: var(--rouge-fond); color: var(--rouge); }
.info { padding: 10px 14px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.erreur-form { color: var(--rouge); font-weight: 600; font-size: 14px; min-height: 0; }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 600; color: var(--doux); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 8px; border-bottom: 1px solid var(--ligne); white-space: nowrap; }
td { padding: 10px 8px; border-bottom: 1px solid var(--ligne); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.m, th.m { text-align: right; }
tfoot td { font-weight: 700; border-top: 2px solid var(--ligne); border-bottom: 0; }

/* ---------- Cartes dossier ---------- */
.liste-cartes { display: grid; gap: 10px; }
@media (min-width: 700px) { .liste-cartes.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.carte-dossier { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r); padding: 14px; box-shadow: var(--ombre); cursor: pointer; min-width: 0; }
.carte-dossier:hover { border-color: var(--doux); }
.carte-dossier .haut { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; }
.carte-dossier .nom { font-weight: 650; font-size: 16px; overflow-wrap: anywhere; }
.carte-dossier .meta { color: var(--doux); font-size: 13px; margin-top: 2px; }
.carte-dossier .bas { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.carte-dossier .action { margin-top: 10px; font-size: 13px; font-weight: 600; }
.colonnes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 82vw); gap: 12px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
@media (min-width: 900px) { .colonnes { grid-auto-columns: minmax(250px, 1fr); margin: 0; padding-left: 0; padding-right: 0; } }
.colonne { background: var(--surface-2); border-radius: var(--r); padding: 10px; scroll-snap-align: start; min-width: 0; }
.colonne > h3 { display: flex; justify-content: space-between; margin: 4px 4px 10px; }
.colonne .liste-cartes { gap: 8px; }

/* ---------- Fiche ---------- */
.fiche-tete h1 { overflow-wrap: anywhere; }
.fiche-tete .meta { color: var(--doux); margin-top: 4px; }
.carte-noire { background: var(--accent); color: var(--sur-accent); border-radius: var(--r); padding: 16px; margin-top: 14px; }
.carte-noire h3 { color: color-mix(in srgb, var(--sur-accent) 65%, transparent); }
.carte-noire .btn.plein { background: var(--sur-accent); color: var(--accent); border-color: var(--sur-accent); }
.carte-noire .btn { background: transparent; color: var(--sur-accent); border-color: color-mix(in srgb, var(--sur-accent) 35%, transparent); }
.carte-noire .texte-attente { font-size: 17px; font-weight: 650; margin-top: 6px; }
.chaise { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--ligne); flex-wrap: wrap; }
.chaise:last-child { border-bottom: 0; }
.chaise .role { width: 84px; font-weight: 600; color: var(--doux); font-size: 13px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.photos figure { margin: 0; position: relative; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; background: var(--surface-2); }
.photos figcaption { font-size: 11px; color: var(--doux); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photos .suppr { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
.activite { list-style: none; margin: 0; padding: 0; }
.activite li { padding: 10px 0; border-bottom: 1px solid var(--ligne); }
.activite li:last-child { border-bottom: 0; }
.activite .qui { font-weight: 650; }
.activite .quand { color: var(--doux); font-size: 12px; }
.activite .journal { color: var(--doux); font-size: 13px; }
.activite .com { background: var(--surface-2); border-radius: 12px; padding: 8px 12px; margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.activite .com.client { background: var(--bleu-fond); }
.mention { font-weight: 700; color: var(--bleu); }
.ecrire { position: sticky; bottom: calc(var(--barre-bas) + env(safe-area-inset-bottom)); background: var(--bg); padding: 10px 0; display: flex; gap: 8px; z-index: 5; }
@media (min-width: 900px) { .ecrire { bottom: 0; } }
.ecrire textarea { min-height: 44px; height: 44px; }
.parts td { padding: 7px 8px; }
.pied-patron { margin-top: 22px; border-top: 1px dashed var(--ligne); padding-top: 16px; }
details.section { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r); box-shadow: var(--ombre); margin-top: 12px; }
details.section > summary { list-style: none; cursor: pointer; padding: 14px 16px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 650; font-size: 16px; }
details.section > summary::-webkit-details-marker { display: none; }
details.section > summary::after { content: '▾'; color: var(--doux); transition: transform .15s; }
details.section[open] > summary::after { transform: rotate(180deg); }
details.section > .contenu { padding: 0 16px 16px; }
.cle-valeur { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 6px 12px; font-size: 14px; }
.cle-valeur > :nth-child(odd) { color: var(--doux); }
.cle-valeur > * { overflow-wrap: anywhere; min-width: 0; }

/* ---------- Agenda ---------- */
.jour-agenda { margin-top: 16px; }
.jour-agenda > h3 { margin-bottom: 8px; }
.visite { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.visite .heure { font-weight: 700; font-size: 18px; min-width: 56px; font-variant-numeric: tabular-nums; }
.visite.passee { border-color: var(--orange); background: var(--orange-fond); }
.semaine { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.semaine .col { background: var(--surface-2); border-radius: 12px; padding: 8px; min-height: 120px; }
.semaine .col h3 { margin-bottom: 6px; }
.semaine .ev { display: block; background: var(--surface); border-radius: 8px; padding: 6px; font-size: 12px; margin-bottom: 6px; text-decoration: none; }

/* ---------- Modale ---------- */
dialog { border: 0; padding: 0; border-radius: 22px; background: var(--surface); color: var(--texte); width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 40px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(0,0,0,.45); backdrop-filter: blur(3px); }
#modale-form { display: flex; flex-direction: column; max-height: calc(100vh - 40px); margin: 0; }
.modale-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--ligne); }
.modale-corps { padding: 16px 20px; overflow-y: auto; min-height: 0; flex: 1 1 auto; }
.modale-pied { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 20px; padding-bottom: max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--ligne); flex-wrap: wrap; }
@media (max-width: 699px) {
  dialog { width: 100vw; max-width: 100vw; height: 100%; max-height: 100%; border-radius: 0; margin: 0; }
  #modale-form { height: 100%; max-height: 100%; }
  .modale-corps { flex: 1; }
  .modale-pied .btn { flex: 1; }
}
.gros-champ { font-size: 20px !important; font-weight: 650; min-height: 52px !important; }
.chips-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-choix input { position: absolute; opacity: 0; pointer-events: none; }
.chips-choix label { border: 1px solid var(--ligne); border-radius: 999px; padding: 8px 14px; min-height: 40px; display: inline-flex; align-items: center; cursor: pointer; font-size: 14px; font-weight: 550; background: var(--surface); }
.chips-choix input:checked + label { background: var(--accent); color: var(--sur-accent); border-color: var(--accent); }
.chips-choix input:focus-visible + label { outline: 2px solid var(--bleu); outline-offset: 2px; }
.secret { font-family: ui-monospace, Consolas, monospace; font-size: 22px; font-weight: 700; letter-spacing: .06em; background: var(--surface-2); padding: 12px 16px; border-radius: 12px; text-align: center; user-select: all; }

#toast { position: fixed; bottom: calc(var(--barre-bas) + 84px); left: 50%; transform: translateX(-50%) translateY(20px); background: var(--accent); color: var(--sur-accent); padding: 12px 18px; border-radius: 999px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 60; max-width: calc(100vw - 32px); text-align: center; }
#toast.voir { opacity: 1; transform: translateX(-50%); }
#toast.erreur { background: var(--rouge); color: #fff; }
@media (min-width: 900px) { #toast { bottom: 28px; left: calc(50% + 116px); } }

/* ---------- Connexion, pages publiques ---------- */
.ecran-centre { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.boite { width: min(420px, 100%); }
.boite .logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.boite .logo strong { font-size: 20px; display: block; }
.publique { max-width: 560px; margin: 0 auto; padding: 32px 18px 40px; }
.publique h1 { font-size: 26px; margin: 16px 0 10px; }
.publique .btn { min-height: 52px; font-size: 16px; }
.page-publique { padding-left: 0 !important; }

/* ---------- Relevé imprimable ---------- */
.releve { background: #fff; color: #141414; border-radius: var(--r); padding: 24px; border: 1px solid var(--ligne); overflow-x: auto; }
.releve .tete-releve { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.releve table td, .releve table th { border-color: #e2dfd8; color: #141414; }
.releve .petit { color: #6b6862; }

@media print {
  .barre, #nav, #fab, .no-print, #toast { display: none !important; }
  body { background: #fff; padding: 0 !important; }
  main { padding: 0; max-width: none; }
  .releve { border: 0; padding: 0; }
}
