:root { --fond:#f4f6f8; --carte:#fff; --texte:#1c2530; --doux:#5d6b7a; --trait:#dde3ea; --accent:#1f6feb;
        --vert:#1a7f37; --orange:#b35900; --rouge:#c62828; --gris:#6b7682; }
* { box-sizing: border-box; }
body { margin:0; font:15px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; background:var(--fond); color:var(--texte); }
header { display:flex; align-items:center; justify-content:space-between; padding:14px 24px; background:#16202b; }
header .marque { color:#fff; font-weight:700; font-size:18px; text-decoration:none; }
header nav a { color:#c9d4df; text-decoration:none; margin-left:20px; }
header nav a:hover { color:#fff; }
main { max-width:1100px; margin:24px auto; padding:0 16px; }
footer { text-align:center; color:var(--doux); font-size:13px; padding:24px; }
h1 { font-size:22px; margin:0 0 16px; }
h2 { font-size:17px; margin:24px 0 10px; }
.carte { background:var(--carte); border:1px solid var(--trait); border-radius:8px; padding:18px; margin-bottom:18px; }
table { width:100%; border-collapse:collapse; background:var(--carte); border:1px solid var(--trait); border-radius:8px; overflow:hidden; }
th, td { text-align:left; padding:10px 12px; border-bottom:1px solid var(--trait); vertical-align:top; }
th { background:#eef2f6; font-size:13px; color:var(--doux); font-weight:600; }
tr:last-child td { border-bottom:none; }
td a { color:var(--accent); text-decoration:none; font-weight:600; }
.pastille { display:inline-block; padding:2px 10px; border-radius:999px; font-size:13px; font-weight:600; color:#fff; white-space:nowrap; }
.vert { background:var(--vert); } .orange { background:var(--orange); } .rouge { background:var(--rouge); } .gris { background:var(--gris); }
.compteurs { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.compteur { background:var(--carte); border:1px solid var(--trait); border-radius:8px; padding:12px 18px; min-width:130px; }
.compteur b { display:block; font-size:24px; }
.compteur span { color:var(--doux); font-size:13px; }
label { display:block; font-weight:600; margin:12px 0 4px; }
input[type=text], input[type=password], select, textarea { width:100%; max-width:520px; padding:8px 10px; border:1px solid #b9c3ce; border-radius:6px; font:inherit; }
textarea { min-height:90px; font-family:ui-monospace,Consolas,monospace; font-size:13px; }
button { margin-top:14px; padding:9px 16px; border:0; border-radius:6px; background:var(--accent); color:#fff; font:inherit; font-weight:600; cursor:pointer; }
button.secondaire { background:#5d6b7a; } button.danger { background:var(--rouge); }
.actions form { display:inline-block; margin-right:8px; }
.message { padding:10px 14px; border-radius:6px; margin-bottom:16px; background:#e7f3ff; border:1px solid #b6d4fe; }
.erreur { background:#fdecea; border-color:#f5c2c0; }
code, pre { font-family:ui-monospace,Consolas,monospace; font-size:13px; background:#eef2f6; padding:2px 6px; border-radius:4px; }
pre { padding:12px; overflow:auto; }
dl { display:grid; grid-template-columns:200px 1fr; gap:6px 12px; margin:0; }
dt { color:var(--doux); } dd { margin:0; }
.aide { color:var(--doux); font-size:13px; margin:4px 0 0; }
@media (max-width:700px) { dl { grid-template-columns:1fr; } th:nth-child(n+5), td:nth-child(n+5) { display:none; } }
