/* SolPay — page d'état publique. Charte : noir, rouge, or. */
:root { --ink: #0F1E3D; --muted: #4A5670; --line: #DCE0E8; --bg: #FAFAF7; --paper: #fff; --nuit: #0F2A5F;
  --ok: #1E7F4F; --ok-soft: #e7f5ec; --warn: #9a6a00; --warn-soft: #FFF4D6; --bad: #C0392B; --bad-soft: #fdecec; --wait: #55565f; --wait-soft: #efeff1; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.5; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.top { background: #0F2A5F; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.top img { display: block; }
.env { color: #FFF4D6; border: 1px solid #8A5A00; border-radius: 999px; padding: 3px 10px; font-size: 13px; }
.hidden { display: none !important; }
main { padding: 32px 16px 8px; }
h2 { font-size: 17px; margin: 34px 0 12px; }
.summary { border-radius: 16px; padding: 22px 22px; display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); }
.summary .ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.summary .ic svg { width: 22px; height: 22px; }
.summary h1 { font-size: 21px; margin: 0; line-height: 1.25; }
.summary p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.s-operational .ic { background: var(--ok-soft); color: var(--ok); }
.s-degraded .ic, .s-maintenance .ic { background: var(--warn-soft); color: var(--warn); }
.s-down .ic { background: var(--bad-soft); color: var(--bad); }
.list, .incidents { list-style: none; padding: 0; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 15px 18px; border-top: 1px solid var(--line); align-items: flex-start; }
.list li:first-child, .incidents li:first-child { border-top: 0; }
.list .name { font-weight: 600; }
.list .msg { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.tag { flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.t-operational { color: var(--ok); } .t-degraded, .t-maintenance { color: var(--warn); } .t-down { color: var(--bad); } .t-pending { color: var(--wait); }
.t-pending::before { background: transparent; border: 2px solid currentColor; width: 9px; height: 9px; box-sizing: border-box; }
.incidents li { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14.5px; }
.incidents time { color: var(--muted); font-size: 13px; display: block; }
.incidents .empty { color: var(--muted); }
.muted { color: var(--muted); } .small { font-size: 13px; }
.foot { padding: 28px 16px 40px; }
.sk { height: 44px; border-radius: 10px; background: linear-gradient(90deg, #eee 0, #f6f6f6 50%, #eee 100%); width: 100%; }
@media (max-width: 520px) { .list li { flex-direction: column; gap: 4px; } }
main.wrap { padding-top: 32px; padding-bottom: 8px; }
