
@font-face { font-family: "Oduda"; font-weight: 400; font-display: swap; src: url("/marque/Oduda-Regular.otf") format("opentype"); }
@font-face { font-family: "Oduda"; font-weight: 600; font-display: swap; src: url("/marque/Oduda-SemiBold.otf") format("opentype"); }
:root { color-scheme: light dark; --navy: #003349; --bleu-clair: #9adbe8; --fond: #f4f4f5; --texte: #1f2a30; --doux: #5f6b72; --bord: #e2e2e4; --carte: #fff; --accent: #003349; --sur-accent: #fff; --lien: #00618a; }
@media (prefers-color-scheme: dark) { :root { --fond: #0d1b22; --texte: #e8eef1; --doux: #9fb0b8; --bord: #24363f; --carte: #13252e; --accent: #9adbe8; --sur-accent: #003349; --lien: #9adbe8; } }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--fond); color: var(--texte); font: 16px/1.5 "Oduda", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--lien); }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--navy); color: var(--bleu-clair); }
header .marques { display: flex; align-items: center; gap: 12px; line-height: 0; text-decoration: none; }
header .marques > img { height: 28px; width: auto; }
/* Logo Evoriel (bleu) sur fond blanc : lisible sur la barre bleu marine comme sur la carte en mode sombre. */
.partenaire { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 6px; background: #fff; line-height: 0; }
.partenaire img { height: 20px; width: auto; }
.partenaire.grand { margin: 0 0 20px; padding: 10px 16px; border-radius: 8px; box-shadow: 0 0 0 1px var(--bord); }
.partenaire.grand img { height: 40px; }
@media (max-width: 480px) { header .marques > img { height: 22px; } .partenaire img { height: 16px; } }
.espace { font-weight: 600; font-size: 0.95rem; }
main { flex: 1; width: 100%; max-width: 960px; margin: 0 auto; padding: 24px 16px 48px; }
footer { padding: 16px; border-top: 1px solid var(--bord); color: var(--doux); font-size: 0.85rem; text-align: center; }
.accueil { max-width: 560px; margin: 40px auto 0; padding: 32px 24px; background: var(--carte); border: 1px solid var(--bord); border-radius: 12px; }
.accueil h1 { font-size: 1.8rem; }
.accueil .bouton { font-weight: 600; }
.note { color: var(--doux); font-size: 0.9rem; margin-top: 24px; }
@media (max-width: 480px) { .accueil { margin-top: 16px; padding: 24px 16px; } .accueil .bouton { display: block; text-align: center; } }
h1 { font-size: 1.6rem; margin: 0 0 8px; }
h2 { font-size: 1.1rem; margin: 32px 0 8px; }
table { width: 100%; border-collapse: collapse; background: var(--carte); border: 1px solid var(--bord); }
th, td { text-align: left; vertical-align: top; padding: 8px 12px; border-top: 1px solid var(--bord); overflow-wrap: anywhere; }
th { width: 35%; font-weight: 600; }
th small { display: block; font-weight: 400; color: var(--doux); font-size: 0.8rem; }
.vide { color: var(--doux); }
button, .bouton { display: inline-block; margin-top: 24px; padding: 12px 18px; border: 0; border-radius: 8px; background: var(--accent); color: var(--sur-accent); font: inherit; text-decoration: none; cursor: pointer; }
button:hover, .bouton:hover { filter: brightness(1.15); }
button.secondaire { background: transparent; color: var(--texte); border: 1px solid var(--bord); }
button.test { display: block; margin: 16px 0 0 auto; padding: 2px 8px; background: transparent; color: var(--doux); border: 1px solid var(--bord); border-radius: 4px; font-size: 0.7rem; letter-spacing: 0.05em; }
[popover].modale { width: min(420px, calc(100vw - 32px)); padding: 24px; border: 1px solid var(--bord); border-radius: 12px; background: var(--carte); color: var(--texte); }
[popover].modale::backdrop { background: rgb(0 0 0 / 0.45); }
.modale h2 { margin-top: 0; }
.modale label { display: block; margin-top: 16px; font-weight: 600; font-size: 0.9rem; }
.modale input { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--bord); border-radius: 8px; background: var(--fond); color: var(--texte); font: inherit; }
.modale .actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.modale .actions button { margin-top: 0; }
.bandeau-test { padding: 8px 12px; border-radius: 8px; background: #f2ce4a; color: #1f2a30; font-weight: 600; }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 16px; }
nav a, nav button.lien { color: var(--bleu-clair); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
nav a:hover, nav button.lien:hover { text-decoration: underline; }
nav form { margin: 0; }
button.lien { margin: 0; padding: 0; background: none; border: 0; border-radius: 0; font: inherit; cursor: pointer; }
.defile { overflow-x: auto; }
table.liste th[scope="col"] { width: auto; white-space: nowrap; font-size: 0.85rem; color: var(--doux); }
table.liste td { white-space: nowrap; }
table.liste td:nth-child(2), table.liste td:nth-child(3) { white-space: normal; min-width: 10em; }
.nombre { text-align: right; }
.centre { text-align: center; }
.etiquette { display: inline-block; min-width: 1.8em; padding: 0 6px; border-radius: 4px; text-align: center; font-weight: 600; }
.e-A { background: #1f9d57; color: #fff; } .e-B { background: #63b23c; color: #003349; } .e-C { background: #a8c83c; color: #003349; }
.e-D { background: #f2d90c; color: #003349; } .e-E { background: #efab12; color: #003349; } .e-F { background: #e87b1a; color: #fff; } .e-G { background: #e01f1f; color: #fff; }
.admin { min-width: 760px; background: var(--carte); border: 1px solid var(--bord); }
.admin-entete, .admin-ligne > summary { display: grid; grid-template-columns: 1.1fr 1fr 2.2fr 0.8fr 0.8fr 1.2fr; gap: 12px; padding: 8px 12px; }
.admin-entete { border-bottom: 1px solid var(--bord); font-size: 0.85rem; }
.admin-entete a { color: var(--doux); text-decoration: none; font-weight: 600; }
.admin-entete a[aria-current] { color: var(--texte); }
.admin-entete a:nth-child(4), .admin-entete a:nth-child(5) { text-align: right; }
.admin-entete a:hover { text-decoration: underline; }
.admin-ligne { border-top: 1px solid var(--bord); }
.admin-ligne:first-of-type { border-top: 0; }
.admin-ligne > summary { cursor: pointer; list-style: none; overflow-wrap: anywhere; }
.admin-ligne > summary::-webkit-details-marker { display: none; }
.admin-ligne > summary:hover, .admin-ligne[open] > summary { background: var(--fond); }
.admin-ligne .ids span { display: block; font-size: 0.9rem; }
.admin-ligne .ids .badge { display: inline-block; margin-top: 2px; padding: 0 6px; border-radius: 4px; background: #f2ce4a; color: #1f2a30; font-size: 0.75rem; font-weight: 600; }
.panneau { padding: 4px 12px 12px 24px; }
.panneau ul { margin: 0; padding: 0; list-style: none; }
.panneau li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 4px 0; border-top: 1px dashed var(--bord); }
.panneau li:first-child { border-top: 0; }
.panneau .numero { font-weight: 600; min-width: 9em; }
.panneau .consulte { color: #1f9d57; }

@font-face { font-family: "Oduda"; font-weight: 700; font-display: swap; src: url("/marque/Oduda-Bold.otf") format("opentype"); }
.fiche { width: 277mm; max-width: 100%; margin: 0 auto; padding: 4mm 5mm; background: #fff; color: #003349; font: 11px/normal "Oduda", Arial, Helvetica, sans-serif; border-radius: 6px; }
.fiche th small { display: inline; color: inherit; font-size: inherit; font-weight: inherit; }
.fiche h1 { font-size: 18px; margin: 0; }
.fiche .hd { display: flex; justify-content: space-between; align-items: flex-start; }
.fiche .logo-fiche { height: 28px; width: auto; display: block; }
.fiche .by { color: #777; font-size: 10px; }
.fiche .bar { background: #003349; color: #fff; text-align: center; font-weight: 700; font-size: 12px; padding: 3px; border-radius: 4px; margin: 5px 0; }
.fiche .sit { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 6px; }
.fiche .sit .txt div { color: #555; font-size: 10.5px; margin-top: 2px; }
.fiche .sm { font-size: 9.5px !important; color: #777 !important; }
.fiche .valeur { font-size: 10px !important; color: #333 !important; margin-top: 4px !important; }
.fiche .alerte { border-radius: 4px; padding: 7px 10px; font-size: 11px; margin: 4px 0 2px; font-weight: 600; }
.fiche .alerte.rouge { background: #F8CBAD; color: #7a0000; } .fiche .alerte.orange { background: #FCE4D6; color: #843C0C; }
.fiche .decnote { font-size: 9px; color: #C00000; margin-top: 3px; }
.fiche .vvnote { font-size: 8px; color: #888; margin-top: 2px; }
.fiche .rappel { font-size: 10px !important; color: #003349 !important; margin-top: 6px !important; padding: 4px 6px; background: #eef8fb; border-radius: 4px; display: inline-block; }
.fiche .cur { text-align: right; flex-shrink: 0; } .fiche .gesbox { font-size: 10px; color: #555; margin-top: 4px; }
.fiche .gl { display: inline-block; padding: 0 6px; border-radius: 3px; font-weight: 700; color: #fff; }
.fiche .arr { display: inline-flex; align-items: stretch; height: 34px; font-weight: 800; }
.fiche .arr .val { background: #fff; border: 2px solid #003349; border-right: 0; padding: 0 6px; font-size: 20px; display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.fiche .arr .val small { font-size: 7px; font-weight: 400; }
.fiche .arr .lab { position: relative; padding: 0 26px 0 10px; font-size: 22px; display: flex; align-items: center; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.fiche .arr .bounds { display: flex; flex-direction: column; font-size: 8px; font-weight: 600; margin-left: 8px; line-height: 1.1; }
.fiche .arr.big { height: 42px; } .fiche .arr.big .val { font-size: 30px; } .fiche .arr.big .lab { font-size: 32px; padding-right: 34px; } .fiche .arr.big .bounds { font-size: 9px; }
.fiche table.sc3 { width: 100%; border-collapse: collapse; margin-top: 2px; background: #fff; border: 0; }
.fiche table.sc3 th, .fiche table.sc3 td { border: 1px solid #e3e3e3; padding: 2px 8px; text-align: center; font-size: 10.5px; width: auto; vertical-align: middle; overflow-wrap: normal; }
.fiche table.sc3 td.lbl { text-align: left; font-weight: 600; width: 19%; background: #fafafa; }
.fiche table.sc3 th.lbl { border: 0; background: #fff; }
.fiche table.sc3 tbody tr:nth-child(even) td:not(.lbl) { background: #f0f9fc; }
.fiche table.sc3 tr.soft td { color: #888; font-size: 9.5px; font-weight: 400; } .fiche table.sc3 tr.soft td.lbl { font-weight: 500; color: #777; }
.fiche .sc { display: inline-block; width: 100%; padding: 3px; border-radius: 4px; font-weight: 700; font-size: 12px; } .fiche .sc small { font-weight: 600; font-size: 10px; color: inherit; }
.fiche .gesl { font-size: 9px; color: #555; margin-top: 2px; }
.fiche .dejad { background: #E2EFDA; border-radius: 4px; padding: 8px 10px; font-size: 11px; margin: 4px 0 8px; }
.fiche .na { color: #999; font-weight: 400; font-size: 10px; }
.fiche .vv { color: #1F9D57; }
.fiche .det { margin-top: 4px; font-size: 9px; color: #444; line-height: 1.25; } .fiche .calc { color: #777; font-size: 8.5px; } .fiche .dg { margin: 2px 0; } .fiche .dg i { color: #777; }
.fiche .aides { margin-top: 4px; padding: 3px 8px; border: 1px solid #9ADBE8; border-radius: 4px; background: #eef8fb; font-size: 9px; color: #003349; } .fiche .aides a { color: #00A9E0; font-weight: 600; }
.fiche .foot { margin-top: 4px; font-size: 7.3px; color: #777; line-height: 1.25; }
.page-fiche main { max-width: 1120px; }
.actions-fiche { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.actions-fiche button { margin-top: 0; }
.attente { padding: 24px; border: 1px dashed var(--bord); border-radius: 8px; text-align: center; }
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  body { background: #fff; display: block; min-height: 0; }
  header, footer, .bandeau-test, .actions-fiche, .ecran { display: none !important; }
  main { max-width: none; padding: 0; margin: 0; }
  .fiche { width: 277mm; height: 190mm; overflow: hidden; padding: 1mm 3mm; border-radius: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
