@font-face { font-family: Jost; src: url(/static/fonts/jost.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: Inter; src: url(/static/fonts/inter.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
/* Palette de j2dev.fr (thème clair) : anthracite, acier, neige. */
:root { --encre:#151b22; --fond:#e9edf2; --carte:#f4f6f9; --accent:#3b6593; --anthracite:#252c36; --ok:#14683a; --ko:#a13a3a; --att:#8a5a00; --trait:#c5ccd6; --titres:"Jost","Century Gothic",system-ui,sans-serif; }
* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 1rem/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--encre); background: var(--fond); }
header { background: var(--carte); border-bottom: 1px solid var(--trait); }
.entete { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; justify-content: space-between; max-width: 42rem; margin: 0 auto; padding: .75rem 1rem; }
header nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.marque { display: flex; align-items: center; gap: .6rem; color: var(--encre); text-decoration: none; }
.marque img { display: block; }
.marque .nom { font: 600 1.25rem/1 var(--titres); letter-spacing: .04em; }
.marque .sous { color: #4b5664; font-size: .9rem; }
main { max-width: 42rem; margin: 0 auto; padding: 1rem; overflow-wrap: anywhere; }
h1, h2 { font-family: var(--titres); font-weight: 600; }
h1 { font-size: 1.75rem; line-height: 1.2; margin: .5rem 0 1rem; }
h2 { font-size: 1.2rem; margin: 1rem 0 .5rem; }
.carte h2 { margin-top: 0; }
a { color: var(--accent); }
.case { display: flex; gap: .5rem; align-items: center; font-weight: 400; }
.case { align-items: flex-start; }
.case input { width: 1.4rem; height: 1.4rem; flex: none; margin: .15rem 0 0; }
.carte { background: var(--carte); border: 1px solid var(--trait); border-radius: .5rem; padding: 1rem; margin: 0 0 1rem; }
dl { margin: 0; }
dt { font-size: .85rem; color: #5b6575; margin-top: .5rem; }
dd { margin: 0; }
label { display: block; font-weight: 600; margin: .75rem 0 .25rem; }
input:not([type=hidden]):not([type=file]):not([type=checkbox]) { width: 100%; font: inherit; padding: .6rem; border: 1px solid #8b94a3; border-radius: .35rem; min-height: 2.75rem; }
textarea { width: 100%; font: inherit; padding: .6rem; border: 1px solid #8b94a3; border-radius: .35rem; resize: vertical; }
input[type=file] { width: 100%; font: inherit; }
button, .bouton { display: inline-block; font: inherit; font-weight: 600; padding: .65rem 1rem; min-height: 2.75rem; margin: .75rem .5rem 0 0; border: 0; background: var(--anthracite); color: #fff; border-radius: 1.4rem; text-decoration: none; cursor: pointer; }
button:disabled { background: #8b94a3; cursor: not-allowed; }
button.secondaire { background: transparent; color: var(--anthracite); border: 2px solid var(--anthracite); }
button.danger { background: transparent; color: var(--ko); border: 2px solid var(--ko); }
button.lien { background: none; color: var(--accent); padding: 0; margin: 0; min-height: 0; text-decoration: underline; font-weight: 400; }
header form { margin: 0; }
:focus-visible { outline: 3px solid #f0a500; outline-offset: 2px; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; }
.rompre { word-break: break-all; }
.note { color: #3d4757; }
.alerte { background: #fdecec; border: 1px solid #e3a3a2; color: var(--ko); padding: .6rem .8rem; border-radius: .35rem; }
.verdict { border-radius: .5rem; padding: 1rem; margin: 0 0 1rem; border: 2px solid; background: var(--carte); }
.verdict p { margin: 0; }
.verdict .gros { font-family: var(--titres); font-size: 1.35rem; font-weight: 700; margin-bottom: .25rem; }
.verdict-valide { border-color: var(--ok); color: var(--ok); }
.verdict-revoquee, .verdict-falsifiee { border-color: var(--ko); color: var(--ko); }
.verdict-effacee, .verdict-inconnue, .verdict-indisponible { border-color: var(--att); color: var(--att); }
.etat { display: inline-block; font-size: .8rem; font-weight: 600; padding: .1rem .5rem; border-radius: 1rem; border: 1px solid var(--trait); background: #eef0f4; vertical-align: middle; }
.etat-emise, .etat-reclamee { background: #e3f4ea; color: var(--ok); }
.etat-revoquee { background: #fdecec; color: var(--ko); }
.liste { list-style: none; padding: 0; margin: 0; }
.liste .etat { margin-left: .5rem; }
.qr { width: min(100%, 14rem); height: auto; display: block; margin: .5rem 0; }
.actions { display: flex; flex-wrap: wrap; margin-bottom: 1rem; }
.actions .bouton, .actions button { margin-bottom: .5rem; }
.actions form { margin: 0; }
details summary { cursor: pointer; font-weight: 600; min-height: 2.75rem; padding: .5rem 0; }
footer { max-width: 42rem; margin: 0 auto; padding: 1rem; font-size: .85rem; color: #3d4757; }
