/* Écrans du registre : usage sur poste de bureau. Aucune ressource extérieure. */
:root { --encre: #1c2530; --trait: #c9d1da; --fond: #f6f7f9; --accent: #1f4e79; --alerte: #9b1c1c; --bon: #1e6b3a; --attention: #8a5a00; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.45 "Segoe UI", Arial, sans-serif; color: var(--encre); background: var(--fond); }
.bandeau { display: flex; justify-content: space-between; padding: .7rem 1.5rem; background: var(--accent); color: #fff; }
.bandeau a { color: #fff; font-weight: 600; text-decoration: none; }
main { max-width: 1280px; margin: 0 auto; padding: 1rem 1.5rem 3rem; }
h1 { font-size: 1.5rem; margin: .6rem 0; }
h2 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
h2 small { font-weight: 400; color: #55606c; }
a { color: var(--accent); }
.fil { color: #55606c; margin: 0; }
table { border-collapse: collapse; width: 100%; background: #fff; }
th, td { border: 1px solid var(--trait); padding: .35rem .5rem; text-align: left; vertical-align: top; }
th { background: #e9edf2; font-weight: 600; }
.nombre { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
input[type="text"], input[type="date"], select { font: inherit; padding: .25rem .4rem; border: 1px solid #8894a1; border-radius: 3px; width: 100%; }
.grille input[type="text"] { text-align: right; min-width: 7rem; }
.grille td:first-child input[type="text"] { text-align: left; }
.ligne-formulaire { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin: .5rem 0; }
.ligne-formulaire input, .ligne-formulaire select { width: auto; }
button, .bouton { font: inherit; padding: .4rem .9rem; border: 1px solid var(--accent); border-radius: 3px; background: var(--accent); color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
.bouton.secondaire { background: #fff; color: var(--accent); }
.actions { display: flex; gap: 1.2rem; align-items: center; margin-top: 1.5rem; }
.messages { list-style: none; padding: 0; margin: .8rem 0; }
.message { padding: .55rem .8rem; margin: .4rem 0; border-left: 5px solid var(--accent); background: #fff; }
.message.success { border-color: var(--bon); }
.message.warning { border-color: var(--attention); }
.message.error { border-color: var(--alerte); color: var(--alerte); }
tr.en-erreur td { background: #fdf0f0; }
tr.erreur td { border-top: 0; color: var(--alerte); background: #fdf0f0; }
tr.echec td { background: #fdf0f0; }
tr.echec strong { color: var(--alerte); }
tr.ok strong { color: var(--bon); }
tr.non-evalue strong { color: var(--attention); }
.verdict { padding: .2rem 1rem 1rem; border-left: 6px solid var(--alerte); background: #fff; margin: 1rem 0; }
.verdict.ok { border-color: var(--bon); }
.contrat { margin-bottom: 2rem; }
.liste { background: #fff; border: 1px solid var(--trait); padding: .8rem 2rem; columns: 3; }
.grille td:first-child { white-space: nowrap; }
.bandeau .menu { font-weight: 400; margin-left: 1.5rem; }
textarea { font: 13px/1.4 Consolas, "Courier New", monospace; width: 100%; padding: .4rem; border: 1px solid #8894a1; border-radius: 3px; }
textarea.prose { font: inherit; }
.source { background: #fff; border: 1px solid var(--trait); border-left: 6px solid var(--bon); padding: .2rem 1rem 1rem; margin: 1rem 0; }
.source.périmée, .source.absente { border-left-color: var(--attention); }
.etat { font-weight: 600; }
.anomalies { color: var(--alerte); }
