/* Charte CGT Bricolage 34 — site Commission exécutive (maquette validée par Ben le 07/11/2026). Polices hébergées sur le site (SIL OFL). */
@font-face { font-family: "Inter"; font-weight: 400 800; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Archivo Black"; font-weight: 400; font-display: swap; src: url("fonts/archivo-black-latin.woff2") format("woff2"); }
:root {
  --rouge: #d7141a; --rouge-fonce: #9b1520; --rouge-clair: #fde0e1;
  --jaune: #ffd500; --jaune-clair: #fff1b8; --jaune-texte: #5c4500;
  --noir: #15171c; --noir-2: #33373f; --gris: #4a4f58; --gris-2: #c7cad1; --trait: #d6d9df;
  --fond: #f3f1ee; --fond-2: #f7f6f4; --blanc: #fff;
  --vert: #14633a; --vert-clair: #d9f2e3; --bleu: #174a96; --bleu-clair: #dce8fb;
  --ombre: 0 6px 18px rgba(21,23,28,.10); --ombre-forte: 0 10px 24px rgba(21,23,28,.20);
  --r: 16px; --titre: "Archivo Black", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--noir); background: var(--fond); }
h1, h2, h3 { margin: 0; }
button { font: inherit; }
.muted { color: var(--gris); } .small { font-size: 13px; }

/* Structure */
.app { display: flex; min-height: 100vh; }
.side { flex: 0 0 248px; background: var(--noir); color: #fff; padding: 22px 14px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; }
.brand img { width: 40px; height: 43px; border-radius: 4px; }
.brand b { display: block; font-family: var(--titre); font-weight: 400; font-size: 14px; line-height: 1.2; }
.brand small { display: block; font-size: 12px; color: var(--jaune); font-weight: 600; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: #e4e6eb; font-weight: 500; font-size: 14px; cursor: pointer; text-align: left; }
.nav button:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav button.on { background: var(--rouge); color: #fff; font-weight: 700; }
.rappel { background: var(--jaune); color: var(--noir); border-radius: 12px; padding: 14px; font-size: 13px; line-height: 1.4; }
.rappel b { display: block; font-weight: 800; margin-bottom: 4px; }
.me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px 0; border-top: 1px solid var(--noir-2); font-size: 13px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--jaune); color: var(--noir); display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.me span span { display: block; color: var(--gris-2); font-size: 12px; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hero { background: var(--rouge); color: #fff; padding: 26px 36px 80px; }
.hero-in { max-width: 1280px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.hero-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--jaune); color: var(--noir); padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.hero h1 { font-family: var(--titre); font-weight: 400; font-size: 32px; line-height: 1.12; }
.hero p { margin: 6px 0 0; color: #ffe7e8; font-size: 14px; }
.content { max-width: 1280px; width: 100%; margin-top: -54px; padding: 0 36px 32px; }
.foot { text-align: center; color: var(--gris); font-size: 12px; padding: 28px 16px; }
.maquette { background: var(--jaune-clair); color: var(--jaune-texte); border: 1px solid #ecd27a; border-radius: 12px; padding: 10px 14px; font-size: 13px; margin-bottom: 18px; }
.maquette b { font-weight: 800; }

/* Cartes */
.card { background: #fff; border-radius: var(--r); box-shadow: var(--ombre); padding: 22px; }
.card + .card { margin-top: 18px; }
.step { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--noir); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.step-n.ok { background: var(--vert); }
.step h2 { font-size: 17px; font-weight: 800; }
.step .hint { margin-left: auto; font-size: 13px; color: var(--gris); }

.grid { display: grid; grid-template-columns: minmax(380px, 470px) 1fr; gap: 22px; align-items: start; }
.col-form { min-width: 0; }
.col-prev { position: sticky; top: 18px; min-width: 0; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; font-size: 15px; font-weight: 800; cursor: pointer; background: var(--rouge); color: #fff; }
.btn:hover { background: var(--rouge-fonce); }
.btn.noir { background: var(--noir); } .btn.noir:hover { background: var(--noir-2); }
.btn.clair { background: #fff; color: var(--noir); box-shadow: inset 0 0 0 1.5px var(--trait); }
.btn.clair:hover { box-shadow: inset 0 0 0 1.5px var(--noir); }
.btn.jaune { background: var(--jaune); color: var(--noir); } .btn.jaune:hover { background: #f0c800; }
.btn[disabled] { background: #b9bcc3; color: #fff; cursor: not-allowed; box-shadow: none; }
.btn.petit { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.lien { background: none; border: 0; color: var(--rouge-fonce); font-weight: 700; cursor: pointer; padding: 4px; text-decoration: underline; font-size: 13px; }

/* Calendrier */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { font-size: 16px; font-weight: 800; text-transform: capitalize; }
.cal-nav { width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--fond-2); cursor: pointer; font-size: 18px; font-weight: 800; }
.cal-nav:hover { background: var(--trait); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--gris); padding: 4px 0; text-transform: uppercase; }
.cal button { aspect-ratio: 1 / 1; min-height: 38px; border: 0; border-radius: 10px; background: var(--fond-2); font-weight: 600; font-size: 14px; cursor: pointer; position: relative; color: var(--noir); }
.cal button:hover { background: var(--rouge-clair); }
.cal button.out { visibility: hidden; }
.cal button.past { color: #a8acb4; background: transparent; cursor: default; }
.cal button.we { color: var(--gris); }
.cal button.today { box-shadow: inset 0 0 0 2px var(--noir); }
.cal button.sel { background: var(--rouge); color: #fff; font-weight: 800; }
.cal button.ce::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--jaune); box-shadow: 0 0 0 1px var(--noir); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--gris); }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; margin-right: 5px; }
.choix { margin-top: 12px; background: var(--fond-2); border-radius: 12px; padding: 10px 14px; font-weight: 700; }
.choix span { color: var(--rouge-fonce); }

/* Horaires */
.heures { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.heure-bloc label { display: block; font-size: 13px; font-weight: 700; color: var(--gris); margin-bottom: 6px; }
.reglage { display: flex; align-items: center; gap: 6px; }
.reglage button { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--fond-2); font-size: 20px; font-weight: 800; cursor: pointer; }
.reglage button:hover { background: var(--trait); }
.reglage output { flex: 1; text-align: center; font-family: var(--titre); font-size: 24px; line-height: 44px; background: var(--noir); color: #fff; border-radius: 10px; min-width: 0; }
.reglage output.vide { color: #7d828c; font-family: "Inter"; font-size: 15px; font-weight: 600; }
.puces { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.puce { min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--fond-2); font-weight: 700; font-size: 13px; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--trait); }
.puce:hover { box-shadow: inset 0 0 0 1.5px var(--noir); }
.puce.on { background: var(--noir); color: #fff; box-shadow: none; }
.puces-titre { font-size: 12px; font-weight: 700; color: var(--gris); margin-top: 12px; text-transform: uppercase; letter-spacing: .04em; }
.duree { margin-top: 10px; font-size: 13px; color: var(--gris); }

/* Champs */
.champ { display: block; margin-bottom: 12px; }
.champ span { display: block; font-size: 13px; font-weight: 700; color: var(--gris); margin-bottom: 4px; }
input[type=text], input[type=email], input[type=date], textarea { width: 100%; font: inherit; font-size: 15px; border: 1.5px solid var(--trait); border-radius: 10px; padding: 10px 12px; background: #fff; color: var(--noir); }
input:focus, textarea:focus, button:focus-visible { outline: 3px solid var(--jaune); outline-offset: 1px; border-color: var(--noir); }
.lieu-fixe { display: flex; gap: 12px; align-items: flex-start; background: var(--fond-2); border-radius: 12px; padding: 12px 14px; }
.lieu-fixe svg { flex: none; color: var(--rouge); margin-top: 2px; }
.lieu-fixe div { flex: 1; } .lieu-fixe b { display: block; }
textarea#odj { min-height: 260px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; line-height: 1.6; resize: vertical; }
.aide { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 13px; color: var(--gris); margin-top: 10px; background: var(--fond-2); border-radius: 10px; padding: 10px 12px; }
.aide code { align-self: start; background: #fff; border: 1px solid var(--trait); border-radius: 6px; padding: 0 6px; color: var(--noir); font-size: 12px; white-space: nowrap; }
.btns-odj { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* Aperçu */
.prev-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.onglets { display: inline-flex; background: #fff; border-radius: 12px; padding: 4px; box-shadow: var(--ombre); }
.onglets button { border: 0; background: transparent; min-height: 38px; padding: 0 14px; border-radius: 9px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--gris); }
.onglets button.on { background: var(--noir); color: #fff; }
.alerte { font-size: 13px; font-weight: 700; color: var(--rouge-fonce); background: var(--rouge-clair); border-radius: 999px; padding: 4px 12px; display: none; }
.alerte.vis { display: inline-block; }
.page-wrap { width: 100%; background: #e2e0dc; border-radius: var(--r); padding: 18px; overflow: hidden; }
.page-scale { transform-origin: top left; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.actions .btn { width: 100%; }
.actions .large { grid-column: 1 / -1; }

/* ===== Page A4 fidèle aux modèles (unités en points PDF) ===== */
.a4 { position: relative; width: 595pt; height: 842pt; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.18); overflow: hidden; color: #000; font-family: "Times New Roman", "Liberation Serif", Times, serif; }
.a4 > * { position: absolute; margin: 0; }
.a4 .poing { left: 36pt; top: 118pt; width: 523pt; height: 626pt; }
.a4 .logo { left: 58pt; top: 31pt; width: 106pt; height: 115pt; }
.a4 .ville { left: 200pt; width: 342pt; top: 57pt; text-align: center; font: bold 12pt Arial, "Liberation Sans", sans-serif; }
.a4 .cadre { left: 199pt; top: 81pt; width: 343pt; height: 43pt; border: .5pt solid #000; background: #fff; display: flex; align-items: center; justify-content: center; font: 28pt "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif; font-stretch: condensed; letter-spacing: -.3pt; }
.a4 .objet { left: 150pt; width: 400pt; top: 146pt; text-align: center; font: bold 13.9pt "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif; font-stretch: condensed; }
.a4 .corps { left: 44pt; top: 190pt; width: 470pt; font-size: 12pt; line-height: 18pt; }
.a4 .corps > * { position: static; }
.a4 .corps p { margin: 0 0 18pt; }
.a4 .infos { padding-left: 17pt; margin: 10pt 0 26pt !important; }
.a4 .infos div { position: static; margin-bottom: 8pt; }
.a4 .vide { background: #fff3a6; padding: 0 2pt; color: #6b5500; }
.a4 .titre-odj { left: 61pt; top: 184pt; font: bold 19.9pt "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif; font-stretch: condensed; text-decoration: underline; text-decoration-thickness: 1.5pt; text-underline-offset: 3pt; }
.a4 .liste { left: 43pt; top: 256pt; width: 465pt; font-size: 12pt; line-height: 13.8pt; }
.a4 .liste > * { position: static; }
.a4 .pt { margin: 0 0 14pt; }
.a4 .pt b { font-weight: bold; }
.a4 .pt ul { position: static; list-style: none; padding: 0; margin: 14pt 0 0; }
.a4 .pt li { position: relative; padding-left: 36pt; margin: 0 0 .5pt; }
.a4 .pt li::before { content: "•"; position: absolute; left: 18pt; top: 0; font-family: Arial, sans-serif; font-size: 10pt; }
.a4 .pt ul + * { margin-top: 0; }
.a4 .liste.serre .pt { margin-bottom: 9pt; }
.a4 .liste.serre .pt ul { margin-top: 8pt; }
.a4 .signe { left: 342pt; width: 240pt; white-space: nowrap; text-align: center; font: 11pt/13pt "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif; font-stretch: condensed; }
.a4 .signe span { position: static; display: block; }
.a4 .signature { left: 387pt; top: 648pt; width: 150pt; height: 79pt; }
.a4 .trait { left: 27pt; top: 749pt; width: 540pt; border-top: 1pt solid #f7a1a1; }
.a4 .pied { left: 0; width: 595pt; top: 764pt; text-align: center; font: 11pt/16pt Arial, "Liberation Sans", sans-serif; color: #202124; }
.a4 .pied > * { position: static; display: block; }
.a4 .pied b.s { color: #c00000; }

/* Historique / membres */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--gris); padding: 10px; border-bottom: 2px solid var(--noir); }
td { padding: 12px 10px; border-bottom: 1px solid var(--trait); vertical-align: middle; }
.badge { display: inline-block; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; }
.badge.vert { background: var(--vert-clair); color: var(--vert); }
.badge.jaune { background: var(--jaune-clair); color: var(--jaune-texte); }
.badge.gris { background: var(--fond-2); color: var(--gris); box-shadow: inset 0 0 0 1px var(--trait); }
.table-wrap { overflow-x: auto; }
.import { border: 2px dashed var(--gris-2); border-radius: 14px; padding: 20px; text-align: center; background: var(--fond-2); }
.import code { display: block; margin: 10px auto 0; max-width: 520px; text-align: left; background: #fff; border: 1px solid var(--trait); border-radius: 8px; padding: 8px 10px; font-size: 12px; white-space: pre; overflow-x: auto; }
.vue { display: none; } .vue.on { display: block; }

/* Fenêtre d'envoi */
.voile { position: fixed; inset: 0; background: rgba(21,23,28,.55); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.voile.vis { display: flex; }
.modal { background: #fff; border-radius: 18px; box-shadow: var(--ombre-forte); width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow: auto; }
.modal-h { background: var(--noir); color: #fff; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; }
.modal-h h2 { font-family: var(--titre); font-weight: 400; font-size: 18px; }
.modal-h button { background: transparent; border: 0; color: #fff; font-size: 24px; width: 40px; height: 40px; cursor: pointer; border-radius: 10px; }
.modal-b { padding: 18px 20px; }
.dests { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-height: 210px; overflow: auto; padding: 4px; }
.dest { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--fond-2); font-size: 13px; cursor: pointer; }
.dest input { width: 18px; height: 18px; accent-color: var(--rouge); flex: none; }
.dest small { display: block; color: var(--gris); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.dest span { min-width: 0; }
.pj { display: flex; flex-wrap: wrap; gap: 8px; }
.pj span { background: var(--rouge-clair); color: var(--rouge-fonce); font-weight: 700; font-size: 13px; border-radius: 8px; padding: 6px 10px; }
.modal-f { padding: 14px 20px 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--trait); }
.etat { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: 14px; display: none; }
.etat.vis { display: block; }
.etat.ok { background: var(--vert-clair); color: var(--vert); }
.etat.att { background: var(--jaune-clair); color: var(--jaune-texte); }
.etat ul { margin: 6px 0 0; padding-left: 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(120px); background: var(--noir); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; box-shadow: var(--ombre-forte); transition: transform .25s; z-index: 60; max-width: calc(100% - 32px); }
.toast.vis { transform: translateX(-50%) translateY(0); }

/* Barre mobile */
.topbar { display: none; }
@media (max-width: 1100px) {
  .grid { grid-template-columns: 1fr; }
  .col-prev { position: static; }
}
@media (max-width: 820px) {
  .side { display: none; }
  .topbar { display: flex; align-items: center; gap: 10px; background: var(--noir); color: #fff; padding: 10px 16px; position: sticky; top: 0; z-index: 20; }
  .topbar img { width: 32px; height: 34px; border-radius: 4px; }
  .topbar b { font-family: var(--titre); font-weight: 400; font-size: 13px; line-height: 1.1; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: var(--noir); z-index: 20; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar button { flex: 1; background: transparent; border: 0; color: #c7cad1; font-size: 11px; font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 48px; border-radius: 10px; cursor: pointer; }
  .tabbar button.on { color: #fff; background: var(--rouge); }
  .hero { padding: 20px 16px 70px; }
  .hero h1 { font-size: 24px; }
  .content { padding: 0 16px 90px; }
  .card { padding: 16px; }
  .dests { grid-template-columns: 1fr; }
  .actions { grid-template-columns: 1fr; }
  .page-wrap { padding: 10px; }
}
@media (min-width: 821px) { .tabbar { display: none; } }
@media (max-width: 420px) { .heures { grid-template-columns: 1fr; } }
@media print {
  body * { visibility: hidden; }
  #impression, #impression * { visibility: visible; }
  #impression { position: absolute; left: 0; top: 0; }
  #impression .a4 { box-shadow: none; }
  @page { size: A4; margin: 0; }
}

/* ---------- Compléments du site réel ---------- */
a { color: var(--rouge-fonce); }
.nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: #e4e6eb; font-weight: 500; font-size: 14px; text-decoration: none; }
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav a.on { background: var(--rouge); color: #fff; font-weight: 700; }
.me form { margin-left: auto; }
.icon-btn { width: 40px; height: 40px; border: 0; background: transparent; color: var(--gris-2); border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
a.btn { text-decoration: none; }
a.btn:hover { color: #fff; }
a.btn.clair:hover, a.btn.jaune:hover { color: var(--noir); }
.alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; }
.alert-ok { background: var(--vert-clair); color: var(--vert); }
.alert-danger { background: var(--rouge-clair); color: var(--rouge-fonce); }
.alert-info { background: var(--jaune-clair); color: var(--jaune-texte); }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.login-page { min-height: 100vh; display: flex; flex-direction: column; }
.login-page .hero { padding-bottom: 110px; }
.login-page .hero-in { justify-content: center; text-align: center; }
.login-page .hero img { display: block; margin: 0 auto 10px; border-radius: 6px; }
.login-page .content { margin: -80px auto 0; max-width: 480px; }
.fields { display: flex; flex-direction: column; gap: 14px; }
.fields label { font-size: 13px; font-weight: 700; color: var(--gris); }
.fields label input, .fields label select { margin-top: 4px; }
select { width: 100%; font: inherit; font-size: 15px; border: 1.5px solid var(--trait); border-radius: 10px; padding: 10px 12px; background: #fff; }
.m0 { margin: 0; }
.mt { margin-top: 14px; }
.rangee { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fiche { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; margin: 0; }
.fiche dt { color: var(--gris); font-weight: 700; font-size: 13px; padding-top: 2px; }
.fiche dd { margin: 0; }
.fichiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.fichier { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--fond-2); text-decoration: none; color: var(--noir); font-weight: 700; font-size: 14px; box-shadow: inset 0 0 0 1.5px var(--trait); }
.fichier:hover { box-shadow: inset 0 0 0 1.5px var(--noir); color: var(--noir); }
.fichier .ext { flex: none; width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--rouge); }
.fichier .ext.docx { background: var(--bleu); }
.fichier small { display: block; font-weight: 500; color: var(--gris); font-size: 12px; }
.odj-lu { white-space: pre-wrap; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; background: var(--fond-2); border-radius: 10px; padding: 12px; margin: 0; }
.dests.grand { max-height: none; }
.actions-ligne { display: flex; gap: 6px; justify-content: flex-end; }
td.inactif, tr.inactif td { color: #9a9ea6; }
.import-zone { border: 2px dashed var(--gris-2); border-radius: 14px; padding: 20px; background: var(--fond-2); }
.import-zone code { display: block; margin-top: 10px; background: #fff; border: 1px solid var(--trait); border-radius: 8px; padding: 8px 10px; font-size: 12px; white-space: pre; overflow-x: auto; }
.cache { display: none !important; }
.travail { position: fixed; inset: 0; background: rgba(21,23,28,.55); display: none; align-items: center; justify-content: center; z-index: 70; color: #fff; font-weight: 800; font-size: 18px; text-align: center; padding: 16px; }
.travail.vis { display: flex; }
.travail span { background: var(--noir); padding: 18px 24px; border-radius: 14px; box-shadow: var(--ombre-forte); }
.topbar a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.topbar small { display: block; color: var(--jaune); font-family: "Inter"; font-size: 11px; font-weight: 600; }
.tabbar a { flex: 1; color: #c7cad1; font-size: 11px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 48px; border-radius: 10px; text-decoration: none; }
.tabbar a.on { color: #fff; background: var(--rouge); }
.legende-ce { background: var(--jaune); box-shadow: 0 0 0 1px var(--noir); }
.legende-sel { background: var(--rouge); }
.legende-auj { box-shadow: inset 0 0 0 2px var(--noir); }
.step-n.info { background: var(--rouge); }
@media (max-width: 820px) { .fiche { grid-template-columns: 1fr; gap: 2px; } .fiche dd { margin-bottom: 8px; } }
/* Aperçu A4 : positions reprises des modèles (sans attribut style, interdit par la CSP) */
.a4 .corps p:nth-child(2) { margin-top: 20pt; }
.a4 .corps p.frat { margin-top: 36pt; }
.a4 .signe-convoc { top: 601pt; }
.a4 .signe-odj { top: 681pt; }
.a4 .pied > span:last-child { margin-top: 3pt; }
.brand { color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
