:root {
  color-scheme: dark;
  --bg: #000; --panel: #0d0d0d; --line: #33251d; --text: #fff;
  --muted: #aaa6a3; --accent: #ff6a00; --good: #39ff14; --bad: #ff5555;
  --wait: #ff9400; --maint: #b394ff; --unknown: #969696; --empty: #383838;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.page { max-width: 1020px; padding: 0 38px; margin: auto; }
header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font-size: 15px; letter-spacing: 2px; line-height: 1.2; }
.brand b { font-weight: 750; }
.brand small { display: block; color: var(--muted); font-size: 8px; letter-spacing: 3px; margin-top: 7px; }
.brand-mark { color: var(--accent); width: 42px; height: 45px; }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.header-note { display: flex; gap: 9px; align-items: center; font-size: 11px; color: var(--muted); }
.header-note > span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
main { padding-top: 40px; }
.eyebrow { font-size: 9px; font-weight: 650; letter-spacing: 1.8px; margin: 0; color: var(--muted); }
.intro { margin-bottom: 28px; }
.intro > .eyebrow { color: var(--accent); margin-bottom: 10px; }
h1 { font-size: clamp(35px, 5vw, 48px); font-weight: 600; line-height: 1.15; letter-spacing: -1.8px; margin: 0; }
h1 span { color: var(--accent); }
.overview { background: linear-gradient(110deg, #171006, #0d0d0d 72%); border: 1px solid #693107; border-radius: 12px; padding: 23px 25px 0; }
.overview-top { display: flex; gap: 15px; align-items: center; }
.overall-icon { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--unknown); font-size: 23px; }
h2 { margin: 5px 0 0; font-size: 22px; letter-spacing: -.5px; font-weight: 600; }
.snapshot-tag { margin-left: auto; border: 1px solid currentColor; border-radius: 20px; color: var(--unknown); font-size: 9px; font-weight: 650; letter-spacing: 1.2px; padding: 7px 11px; }
.overview-bottom { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 21px; padding: 11px 0; font-size: 11px; color: var(--muted); }
button { background: transparent; border: 0; color: var(--text); font: inherit; font-size: 11px; cursor: pointer; padding: 7px 0 7px 12px; flex-shrink: 0; }
button span { margin-left: 6px; color: var(--accent); font-size: 16px; }
button:disabled { opacity: .45; cursor: wait; }
.history-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 29px 0 12px; color: var(--text); font-size: 13px; font-weight: 600; }
.history-caption span { font-weight: 400; font-size: 11px; color: var(--muted); }
.services { display: grid; gap: 12px; }
.service { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px 23px 16px; }
.service-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
h3 { font-size: 16px; font-weight: 600; letter-spacing: -.2px; margin: 0; }
.state { font-size: 12px; color: var(--unknown); display: flex; align-items: center; gap: 7px; }
.state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.observation { font-size: 10px; color: var(--muted); margin-top: 7px; line-height: 1.7; }
.history-dots { display: grid; grid-template-columns: repeat(60, minmax(0, 1fr)); gap: 5px; margin: 17px 0 10px; }
.history-dot, .history-legend i { display: block; width: 100%; max-width: 9px; height: 11px; border-radius: 5px; background: var(--unknown); }
.history-dot { margin: auto; }
.history-count { text-align: right; color: var(--muted); font-size: 9px; }
.history-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px 20px; margin-top: 22px; color: var(--muted); font-size: 10px; }
.history-legend span { display: flex; align-items: center; gap: 6px; }
.history-legend i { width: 7px; height: 8px; }
[data-state="1"] { --state-color: var(--good); }
[data-state="0"] { --state-color: var(--bad); }
[data-state="2"] { --state-color: var(--wait); }
[data-state="3"] { --state-color: var(--maint); }
[data-state="unknown"] { --state-color: var(--unknown); }
[data-state="empty"] { --state-color: var(--empty); }
.state { color: var(--state-color); }
.history-dot, .history-legend i { background: var(--state-color); }
.overview .overall-icon, .overview .snapshot-tag { color: var(--state-color); }
.history-note { font-size: 10px; line-height: 1.7; text-align: center; color: var(--muted); margin: 14px 0 26px; }
footer { border-top: 1px solid var(--line); padding: 20px 0 28px; color: var(--muted); font-size: 10px; text-align: center; }
.noscript { padding: 20px; border: 1px solid var(--line); font-size: 14px; }
@media (max-width: 800px) {
  .page { padding: 0 20px; }
  header { min-height: 89px; }
  .header-note { font-size: 9px; }
  .header-note > span { display: none; }
  .brand { font-size: 12px; letter-spacing: 1px; gap: 9px; }
  .brand small { font-size: 7px; letter-spacing: 2px; }
  .brand-mark { width: 35px; height: 38px; }
  main { padding-top: 29px; }
  .intro { margin-bottom: 23px; }
  .overview { padding: 20px 18px 0; }
  .overview-top { gap: 12px; }
  h2 { font-size: 18px; }
  .overall-icon { width: 34px; height: 34px; font-size: 20px; }
  .snapshot-tag { display: none; }
  .overview-bottom { font-size: 10px; }
  .history-caption { display: block; font-size: 12px; }
  .history-caption span { display: block; margin-top: 6px; font-size: 10px; }
  .service { padding: 18px 16px 14px; }
  h3 { font-size: 14px; }
  .state { font-size: 11px; }
  .history-dots { grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 7px 4px; }
  .history-dot { height: 10px; max-width: 8px; }
  .history-legend { gap: 11px 16px; }
}
