/* SXT Ops status page: plain, light, square, system fonts (no external fonts or scripts). */
:root {
  --bg: #f7f7f5;
  --panel: #ffffff;
  --ink: #16181d;
  --muted: #5b616e;
  --line: #d9dbe0;
  --ok: #1f7a3d;
  --warn: #9a6200;
  --bad: #b3261e;
  --info: #2c5aa0;
  --off: #8a8f99;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.top, main, .foot { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; align-items: center; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.where { color: var(--muted); }
h1 { font-size: 1.75rem; margin: 32px 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 1.05rem; margin: 32px 0 12px; }
.overall { font-size: 1.15rem; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; min-height: 44px; }
.manual { background: var(--panel); border: 1px solid var(--bad); border-left-width: 6px; padding: 12px 16px; margin: 16px 0; }
.manual h2 { margin: 0 0 4px; }
.manual p { margin: 0; white-space: pre-wrap; }
.components { list-style: none; margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--line); }
.components li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; border-top: 1px solid var(--line); }
.components li:first-child { border-top: 0; }
.state { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--muted); }
.dot { width: 10px; height: 10px; flex: none; background: var(--off); }
.s-operational .dot { background: var(--ok); }
.s-degraded .dot, .s-unknown .dot { background: var(--warn); }
.s-down .dot { background: var(--bad); }
.s-maintenance .dot { background: var(--info); }
.uptime { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; background: var(--panel); border: 1px solid var(--line); }
.uptime div { padding: 12px 16px; border-left: 1px solid var(--line); }
.uptime div:first-child { border-left: 0; }
.uptime dt { color: var(--muted); font-size: 0.9rem; }
.uptime dd { margin: 0; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.note { background: var(--panel); border: 1px solid var(--line); padding: 12px 16px; margin: 0 0 12px; }
.note h3 { font-size: 1rem; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.note p { margin: 4px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.note .meta { color: var(--muted); font-size: 0.9rem; }
.note ol { margin: 8px 0 0; padding-left: 20px; }
.empty { color: var(--muted); }
.checked { color: var(--muted); margin: 24px 0; }
.foot { color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 12px; padding-bottom: 32px; }
a { color: var(--info); }
a:focus-visible { outline: 3px solid var(--info); outline-offset: 2px; }
@media (max-width: 480px) {
  .uptime { grid-template-columns: 1fr; }
  .uptime div { border-left: 0; border-top: 1px solid var(--line); }
  .uptime div:first-child { border-top: 0; }
}
