/* status.spoolden.com: the app's look, light and dark. Colors meet 4.5:1 on their surfaces. */
:root {
  --bg: #f2f2f7;
  --cell: #ffffff;
  --label: #000000;
  --secondary: #636366;
  --separator: rgba(60, 60, 67, 0.29);
  --ok: #1e7d34;
  --danger: #c4161c;
  --warn: #c93400;
  --tint: #0064d2;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --cell: #1c1c1e;
    --label: #ffffff;
    --secondary: #aeaeb2;
    --separator: rgba(84, 84, 88, 0.65);
    --ok: #30d158;
    --danger: #ff6961;
    --warn: #ff9f0a;
    --tint: #409cff;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font: 17px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
main { max-width: 640px; margin: 0 auto; padding: 32px 16px 48px; }
header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
header img { border-radius: 11px; }
.brand { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--secondary); }
h1 { margin: 0; font-size: 34px; line-height: 1.15; font-weight: 700; }
.summary { margin-bottom: 20px; }
.headline { margin: 0; font-size: 22px; font-weight: 600; }
body[data-state="up"] .headline { color: var(--ok); }
body[data-state="down"] .headline { color: var(--danger); }
.secondary { color: var(--secondary); }
.small { font-size: 15px; }
.footnote { font-size: 13px; margin-top: 12px; padding: 0 16px; }
.list { list-style: none; margin: 0; padding: 0; background: var(--cell); border-radius: 12px; overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 60px; }
.row + .row { border-top: 0.5px solid var(--separator); }
.row > div { flex: 1; min-width: 0; }
.row p { margin: 0; }
.name { font-weight: 500; }
.state { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 500; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--secondary); }
.up .state { color: var(--ok); } .up .dot { background: var(--ok); }
.down .state { color: var(--danger); } .down .dot { background: var(--danger); }
.late .state { color: var(--warn); } .late .dot { background: var(--warn); }
.unknown .state, .unset .state { color: var(--secondary); }
a { color: var(--tint); }
