/* VERIF'SP V2 — refonte uniquement visuelle. Aucune logique métier modifiée. */
:root{--ui-radius:18px;--ui-shadow:0 9px 26px rgba(0,0,0,.13);--ui-blue:#17384f;--ui-red:#e51d3e;--ui-green:#19b976;--ui-orange:#eeb75e}
body{background:radial-gradient(ellipse at 50% -12%,#14334b 0%,#071b2b 37%,#04121f 100%);letter-spacing:.005em}
.hero-brand{box-shadow:0 4px 18px #0003}.intro{margin-top:7px;padding-bottom:19px}.section-heading{font-size:clamp(21px,4vw,28px);letter-spacing:-.035em;margin-top:20px;margin-bottom:20px}
.vehicle-card{border-radius:22px;border-color:#3a5970;box-shadow:var(--ui-shadow);transition:border-color .18s,transform .18s}.vehicle-card:active{transform:scale(.993)}.vehicle-link{min-height:116px}.vehicle-info strong{letter-spacing:-.03em}.vehicle-badge{font-size:12px;box-shadow:inset 0 0 0 1px #ffffff0d}.vehicle-badge.done{background:#073e2c;color:#61f0ac;border-color:#138f5a}.vehicle-badge.pending{background:#314457;color:#f4d08c;border-color:#8a7960}
.admin-tiles{gap:12px!important}.admin-tiles button{border-radius:18px!important;background:linear-gradient(135deg,#1b3b51,#10293d)!important;border:1px solid #3b5c74!important;box-shadow:var(--ui-shadow);min-height:115px;transition:transform .15s,border-color .15s}.admin-tiles button:active{transform:scale(.98)}.admin-tiles button.active,.admin-tiles button[aria-pressed="true"]{background:linear-gradient(120deg,#70253b,#372438)!important;border-color:#ec3756!important;box-shadow:inset 5px 0 0 #ed2948,0 8px 22px #0002}
#tab-anomalies{border-color:#a44659!important}#tab-maintenance{border-color:#546b83!important}
.stats{gap:10px!important}.stats>div{border:1px solid #35576d!important;background:linear-gradient(145deg,#1b3c52,#102b40)!important;border-radius:18px!important;padding:18px 9px!important;box-shadow:0 5px 16px #0002;min-width:0}.stats strong{font-weight:900;letter-spacing:-.045em;font-size:clamp(29px,6vw,42px)!important;line-height:1.15}.stats small{line-height:1.3;display:block;margin-top:9px}
#overview .stats>div:nth-child(2) strong{color:#4fe0a0!important}#overview .stats>div:nth-child(3){border-color:#a5445a!important;background:linear-gradient(140deg,#4a2034,#1b293c)!important}#overview .stats>div:nth-child(3) strong{color:#ff667d!important}
#history article,#anomalies article,.history-card,.anomaly-card,.maint-card,.weekly-row,.pdf-export{border-radius:19px!important;box-shadow:0 6px 20px #0002}
#anomalies article,.anomaly-card{border:1px solid #d13d56!important;background:linear-gradient(140deg,#19384c,#1b2539)!important}
.weekly-row{border:1px solid #35576c!important;background:linear-gradient(130deg,#19394f,#102a3f)!important;margin-bottom:11px!important}.weekly-ok{color:#4fe0a0!important;font-weight:800}.weekly-pending{color:#f0c77e!important;font-weight:800}
.maint-card{border:1px solid #3c5c73!important;background:linear-gradient(140deg,#19394f,#10283d)!important}.maint-badge{border-radius:100px!important}.maint-add,#export-week-pdf,#export-month-pdf{background:linear-gradient(115deg,#ee2447,#c91433)!important;border-color:#f0445d!important;box-shadow:0 6px 18px #e51d3e25;font-weight:800}
button:focus-visible,a:focus-visible{outline:3px solid #ffd45a!important;outline-offset:3px}
/* Respect absolu du comportement validé des choix de contrôle : aucun changement sur #locations .choice */
/* Le mode clair reste clair, sans réintroduire de fonds bleu marine dans les panneaux. */
html[data-theme="light"] body{background:linear-gradient(180deg,#f7f9fc,#eaf0f5)}
html[data-theme="light"] .vehicle-card,html[data-theme="light"] .weekly-row,html[data-theme="light"] .maint-card,html[data-theme="light"] #history article,html[data-theme="light"] #anomalies article{background:#fff!important;border-color:#cbd7e1!important;box-shadow:0 6px 20px #233b5010;color:#192d3e!important}
html[data-theme="light"] .admin-tiles button{background:#f4f7fa!important;color:#20384b!important;border-color:#cbd7e1!important}
html[data-theme="light"] .admin-tiles button.active,html[data-theme="light"] .admin-tiles button[aria-pressed="true"]{background:#ffe8ed!important;border-color:#e64a64!important;color:#92243a!important}
html[data-theme="light"] .stats>div{background:#fff!important;border-color:#cbd7e1!important;color:#1b3448!important}
html[data-theme="light"] #overview .stats>div:nth-child(3){background:#fff0f3!important;border-color:#e8a5b2!important}
html[data-theme="light"] #overview .stats>div:nth-child(2) strong{color:#087e52!important}
html[data-theme="light"] #overview .stats>div:nth-child(3) strong{color:#b92241!important}
html[data-theme="light"] .weekly-ok{color:#087e52!important}html[data-theme="light"] .weekly-pending{color:#9b6614!important}
@media(prefers-color-scheme:light){html[data-theme="auto"] body{background:linear-gradient(180deg,#f7f9fc,#eaf0f5)}html[data-theme="auto"] .vehicle-card,html[data-theme="auto"] .weekly-row,html[data-theme="auto"] .maint-card,html[data-theme="auto"] #history article,html[data-theme="auto"] #anomalies article{background:#fff!important;border-color:#cbd7e1!important;color:#192d3e!important}html[data-theme="auto"] .admin-tiles button{background:#f4f7fa!important;color:#20384b!important;border-color:#cbd7e1!important}html[data-theme="auto"] .stats>div{background:#fff!important;border-color:#cbd7e1!important;color:#1b3448!important}}
@media(max-width:450px){.stats>div{padding:14px 6px!important}.stats small{font-size:11px!important}.admin-tiles button{min-height:104px}}
