/* status.solvagio.com — the page build-status.sh writes (Resources/OPS/Scripts).
   External, so the vhost CSP needs no 'unsafe-inline'. Colours follow the fleet's error
   pages (@solvagio/anvil/error-pages): slate accent, light ground. Versioned file name:
   it is cached for a year, so a change ships as status.v2.css. */
:root {
  --bg: #f5f7f9;
  --card: #ffffff;
  --fg: #1f2a37;
  --muted: #667085;
  --faint: #98a2b3;
  --accent: #0b2545;
  --border: #e8ecf0;
  --ok: #2e8b57;
  --ok-text: #1b6b43;
  --minor: #d99a00;
  --minor-text: #8a5a00;
  --major: #c0392b;
  --major-text: #a1281c;
  --none: #d6dbe1;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 40px 16px 56px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.wordmark { width: 132px; height: auto; display: block; }
h1 { font-size: 20px; font-weight: 500; margin: 0; color: var(--accent); }
.overall {
  margin: 0 0 24px; padding: 16px 20px; border-radius: 12px;
  font-weight: 500; font-size: 17px; color: #fff; background: var(--accent);
}
.overall-up { background: var(--ok-text); }
.overall-down { background: var(--major-text); }
.overall-unknown { background: #475467; }
.stale {
  margin: 0 0 24px; padding: 12px 16px; border-radius: 10px;
  background: #fff4e5; border: 1px solid #f5c26b; color: var(--minor-text); font-size: 14px;
}
.svc {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; margin-bottom: 16px;
}
.svc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
h2 { font-size: 17px; font-weight: 500; margin: 0; }
.what { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.pill { font-size: 13px; font-weight: 500; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill-up { background: #e3f3eb; color: var(--ok-text); }
.pill-down { background: #fbe9e7; color: var(--major-text); }
.pill-unknown { background: #eef1f4; color: #475467; }
.meta { margin: 8px 0 14px; font-size: 13px; color: var(--muted); }
.bar { display: flex; gap: 2px; height: 32px; }
.bar .d { flex: 1 1 0; min-width: 0; height: 100%; border-radius: 2px; }
.d { display: inline-block; background: var(--none); }
.d-ok { background: var(--ok); }
.d-minor { background: var(--minor); }
.d-major { background: var(--major); }
.d-none { background: var(--none); }
.axis { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--faint); }
.axis span:nth-child(2) { color: var(--muted); font-weight: 500; }
.foot { margin: 24px 0 8px; font-size: 13px; color: var(--muted); }
.foot a { color: var(--accent); }
.nw { white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; padding: 0; margin: 0; font-size: 12px; color: var(--muted); }
.legend .d { width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 480px) {
  .wrap { padding-top: 24px; }
  .bar { gap: 1px; height: 28px; }
}
