/* Pensé pour un téléphone Android d'entrée de gamme, en plein soleil : gros boutons, fort contraste. */
:root { --bleu: #1a3a6b; --vert: #0a7d32; --orange: #b45f00; --rouge: #b3261e; --gris: #55606e; --fond: #f4f6fa; }
* { box-sizing: border-box; }
body { margin: 0; font: 18px/1.4 system-ui, sans-serif; color: #111; background: var(--fond); padding-bottom: env(safe-area-inset-bottom); }
#barre { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--bleu); color: #fff; padding-top: calc(12px + env(safe-area-inset-top)); }
.pastille { font-size: 14px; padding: 4px 10px; border-radius: 14px; background: #fff; color: var(--vert); font-weight: 600; }
.pastille.hors { color: var(--rouge); }
.bandeau { background: #fff3cd; color: #5c4400; padding: 10px 16px; font-weight: 600; }
main { padding: 16px; max-width: 520px; margin: 0 auto; }
h1 { font-size: 24px; margin: 8px 0 12px; }
h2 { font-size: 20px; margin: 16px 0 8px; }
.carte { background: #fff; border-radius: 12px; padding: 14px 16px; margin: 12px 0; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.carte small { color: var(--gris); display: block; }
button, .bouton { display: block; width: 100%; min-height: 56px; padding: 12px 16px; margin: 10px 0; font: inherit; font-weight: 700; border: 0; border-radius: 12px; background: var(--bleu); color: #fff; text-align: center; text-decoration: none; }
button.vert { background: var(--vert); font-size: 22px; min-height: 72px; }
button.rouge { background: var(--rouge); }
button.clair { background: #fff; color: var(--bleu); border: 2px solid var(--bleu); }
button:disabled { opacity: .5; }
label { display: block; font-weight: 600; margin-top: 12px; }
input, select, textarea { width: 100%; min-height: 52px; padding: 10px 12px; font: inherit; border: 2px solid #9aa5b5; border-radius: 10px; background: #fff; }
input[type=checkbox] { width: 26px; min-height: 26px; }
.ligne { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; }
.erreur { background: #fde7e5; color: var(--rouge); padding: 10px 12px; border-radius: 10px; margin: 10px 0; font-weight: 600; }
.info { background: #e6f0ff; padding: 10px 12px; border-radius: 10px; margin: 10px 0; }
.alerte { background: #fff3cd; color: #5c4400; padding: 10px 12px; border-radius: 10px; margin: 10px 0; }
.coche { font-size: 96px; text-align: center; color: var(--vert); line-height: 1.1; }
.centre { text-align: center; }
video { width: 100%; border-radius: 12px; background: #000; max-height: 60vh; object-fit: cover; }
.gps { font-weight: 700; padding: 8px 12px; border-radius: 10px; margin: 8px 0; text-align: center; }
.gps.BONNE { background: #d6f5df; color: var(--vert); }
.gps.MOYENNE { background: #ffe9c7; color: var(--orange); }
.gps.FAIBLE, .gps.ABSENTE { background: #fde7e5; color: var(--rouge); }
ol { padding-left: 22px; }
ol li { margin: 8px 0; }
.etat-att { color: var(--orange); font-weight: 700; }
.etat-ok { color: var(--vert); font-weight: 700; }
.etat-ko { color: var(--rouge); font-weight: 700; }
