
:root{--fond:#f6f7f9;--carte:#fff;--texte:#1d2330;--doux:#6b7280;--rouge:#b42318;--vert:#067647;--bleu:#1d4ed8}
@media (prefers-color-scheme:dark){:root{--fond:#111418;--carte:#1b2027;--texte:#e6e8eb;--doux:#9aa3ad;--rouge:#f97066;--vert:#47cd89;--bleu:#84adff}}
*{box-sizing:border-box}body{margin:0;font:16px/1.5 system-ui,sans-serif;background:var(--fond);color:var(--texte)}
header{padding:12px 16px;border-bottom:1px solid #8883}main{max-width:720px;margin:0 auto;padding:16px}
.demande{background:var(--carte);border-radius:12px;padding:16px;margin:0 0 16px;box-shadow:0 1px 3px #0002}
dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:0 0 12px}dt{color:var(--doux)}dd{margin:0;overflow-wrap:anywhere}
.texte{white-space:pre-wrap;font:inherit;background:#8881;padding:12px;border-radius:8px;overflow-wrap:anywhere}
.nouveau{color:var(--rouge);font-weight:600}.nouveau em{font-style:normal;font-size:.8em;border:1px solid;border-radius:6px;padding:0 4px}
.muted{color:var(--doux);font-size:.9em}.pieces{padding-left:0;list-style:none}
.statut{font-weight:600}.s-SENT{color:var(--vert)}.s-FAILED{color:var(--rouge)}
.actions{display:flex;gap:12px;flex-wrap:wrap}button{font:inherit;padding:12px 18px;border-radius:10px;border:0;cursor:pointer}
.valider,.inscrire{background:var(--bleu);color:#fff;font-weight:600}.refuser{background:#8882;color:var(--texte)}
#message{min-height:1.5em;font-weight:600}
.code-microsoft{font:700 2rem/1.2 ui-monospace,monospace;letter-spacing:.15em;text-align:center;background:#8881;border-radius:10px;padding:12px}
.ajouter-boite{background:var(--bleu);color:#fff;font-weight:600}
