@font-face { font-family: InterCV; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: InterCV; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #fff; --card: #fff; --surface: rgb(247 247 248); --border: rgb(228 228 231); --border-soft: rgb(238 238 240); --border-strong: rgb(214 214 218);
  --text: rgb(22 22 24); --muted: rgb(120 120 130); --muted2: rgb(149 149 157);
  --ok: rgb(36 193 154); --degraded: rgb(251 191 36); --partial: rgb(245 120 92); --full: rgb(248 113 113); --maint: rgb(60 130 246);
  --none: rgb(228 228 231); --none-icon: rgb(175 175 182); --brand: #0a2540; --dot: #06b6d4;
  --btn-dark: rgb(41 41 47); --btn-dark-hover: rgb(22 22 24); --btn-dark-text: #fff;
  --tip-bg: #fff; --shadow: 0 1px 2px rgb(0 0 0 / .04);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: rgb(22 22 24); --card: rgb(28 28 31); --surface: rgb(36 36 40); --border: rgb(50 50 56); --border-soft: rgb(42 42 47); --border-strong: rgb(64 64 71);
    --text: rgb(240 240 242); --muted: rgb(149 149 157); --muted2: rgb(120 120 130);
    --none: rgb(57 57 63); --none-icon: rgb(95 95 104); --brand: #fff;
    --btn-dark: rgb(240 240 242); --btn-dark-hover: #fff; --btn-dark-text: rgb(22 22 24);
    --tip-bg: rgb(36 36 40); --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.43 InterCV, Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; letter-spacing: -.07px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
svg { display: block; }
.page { max-width: 672px; margin: 0 auto; padding: 24px 16px 40px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 0 22px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--brand); }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.wordmark { font-weight: 800; font-size: 20px; letter-spacing: -.02em; line-height: 1; }
.dot { color: var(--dot); }
.actions { display: flex; gap: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 6px; font: 500 13px/1 InterCV, Inter, system-ui, sans-serif; letter-spacing: -.07px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease; }
.btn svg { width: 14px; height: 14px; }
.btn-outline { background: var(--card); color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.btn-outline:hover { background: var(--surface); }
.btn-dark { background: var(--btn-dark); color: var(--btn-dark-text); border: 1px solid var(--btn-dark); }
.btn-dark:hover { background: var(--btn-dark-hover); border-color: var(--btn-dark-hover); }
.btn:focus-visible, .bar:focus-visible, summary:focus-visible, .info:focus-visible, a:focus-visible { outline: 2px solid var(--maint); outline-offset: 2px; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 16px; box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border-soft); }
.card-head h1, .card-head h2 { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: -.15px; }
.banner.ok .card-head { border-bottom: 0; padding-bottom: 4px; }
.banner-text { margin: 0; padding: 0 16px 14px 42px; color: var(--muted); }
.warn { display: inline-flex; color: var(--text); }
.warn svg { width: 18px; height: 18px; }
.banner-item, .hist-item { display: flex; gap: 10px; padding: 12px 16px 14px; color: inherit; text-decoration: none; }
.banner-item + .banner-item, .hist-item { border-top: 1px solid var(--border-soft); }
.card-head + .hist-item { border-top: 0; }
.banner-item:hover, .hist-item:hover { background: var(--surface); }
.card > :last-child, .card > .banner-list > :last-child { border-bottom-left-radius: 7px; border-bottom-right-radius: 7px; }
.idot { width: 6px; height: 6px; border-radius: 50%; margin-top: 7px; flex: none; }
.i-full { background: var(--full); } .i-partial { background: var(--partial); } .i-degraded { background: var(--degraded); } .i-maintenance { background: var(--maint); }
.bi-title { font-weight: 500; }
.bi-body { margin-top: 6px; }
.bi-meta { margin-top: 6px; color: var(--muted); font-size: 13px; }

.status-head { gap: 14px; }
.range { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.arrow { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 4px; color: var(--muted); }
.arrow:hover { background: var(--surface); color: var(--text); }
.arrow svg { width: 14px; height: 14px; }
.arrow.off { opacity: .35; }
.row { border-top: 1px solid var(--border-soft); }
.card-head + .row { border-top: 0; }
.row-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; }
.comp > .row-head { padding-bottom: 8px; }
summary { list-style: none; cursor: pointer; border-radius: 0; }
summary::-webkit-details-marker { display: none; }
summary:hover .name { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
.sicon { display: inline-flex; width: 16px; height: 16px; flex: none; }
.sicon svg { width: 16px; height: 16px; }
.s-up { color: var(--ok); } .s-slow { color: var(--degraded); } .s-down { color: var(--full); } .s-unknown { color: var(--none-icon); }
.name { font-weight: 500; }
.info { display: inline-flex; width: 14px; height: 14px; color: var(--muted2); cursor: help; border-radius: 50%; }
.info svg { width: 14px; height: 14px; }
.uptime { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
.count { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; color: var(--muted); font-size: 13px; }
.count svg { width: 14px; height: 14px; transition: transform .15s ease; }
details[open] > summary .count svg { transform: rotate(90deg); }
.group-body { border-top: 1px solid var(--border-soft); background: var(--card); padding-left: 24px; }
.group-body .row:first-child { border-top: 0; }
.bars { display: flex; gap: 3px; padding: 0 16px 14px; }
.bar { flex: 1 1 0; min-width: 0; height: 14px; border-radius: 2px; background: var(--ok); }
.bar:hover { opacity: .72; }
.l-ok { background: var(--ok); } .l-degraded { background: var(--degraded); } .l-partial { background: var(--partial); } .l-full { background: var(--full); } .l-maintenance { background: var(--maint); } .l-none { background: var(--none); }

.center { display: flex; justify-content: center; gap: 8px; margin: 20px 0; }
.foot { margin-top: 72px; text-align: center; color: var(--muted); font-size: 12px; }
.foot p { margin: 6px 0; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.powered { color: var(--muted2); }

.tip { position: absolute; left: 0; top: 0; z-index: 50; max-width: 260px; padding: 8px 10px; border-radius: 6px; background: var(--tip-bg); border: 1px solid var(--border); box-shadow: 0 6px 20px rgb(0 0 0 / .1); font-size: 12px; line-height: 1.45; opacity: 0; pointer-events: none; transition: opacity .12s ease; }
.tip.on { opacity: 1; }
.tip-title { font-weight: 600; margin-bottom: 2px; }

dialog { width: min(440px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--border); border-radius: 10px; background: var(--card); color: var(--text); box-shadow: 0 16px 48px rgb(0 0 0 / .18); }
dialog::backdrop { background: rgb(0 0 0 / .35); }
.dlg { padding: 20px; }
.dlg h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.dlg p { margin: 0 0 14px; color: var(--muted); }
.feeds { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.feeds li { display: grid; gap: 2px; }
.feeds a { font-weight: 500; }
.feeds code { font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); word-break: break-all; }

.crumb { margin: 0 0 8px; }
.crumb a { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-size: 13px; }
.crumb a:hover { color: var(--text); }
.crumb svg { width: 14px; height: 14px; }
.page-title { margin: 4px 0 16px; font-size: 20px; font-weight: 600; letter-spacing: -.3px; }
.empty { margin: 0; padding: 12px 16px; color: var(--muted); }
.inc-head h1 { font-size: 16px; font-weight: 600; }
.inc-head .idot { margin-top: 0; }
.inc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px 0; color: var(--muted); font-size: 13px; }
.badge { padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.b-full { background: rgb(254 226 225); color: rgb(185 28 27); }
.b-partial { background: rgb(253 223 217); color: rgb(168 40 11); }
.b-degraded { background: rgb(254 243 199); color: rgb(146 64 14); }
.b-maintenance { background: rgb(219 233 254); color: rgb(29 64 176); }
.inc-comps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 16px 0; }
.label { width: 100%; color: var(--muted); font-size: 12px; font-weight: 500; }
.chip { padding: 2px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 12px; }
.upd-label { padding: 18px 16px 2px; }
.timeline { list-style: none; margin: 0; padding: 0 16px 6px; }
.upd { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border-soft); }
.upd:first-child { border-top: 0; }
.upd-status { font-weight: 600; }
.upd p { margin: 0 0 4px; }
.upd time { color: var(--muted); font-size: 12px; }

@media (max-width: 520px) {
  .bars, .uptime { display: none; }
  .count { font-size: 0; margin-left: 0; }
  .comp > .row-head { padding-bottom: 14px; }
  .group-body { padding-left: 16px; }
  .upd { grid-template-columns: 1fr; gap: 4px; }
  .btn { height: 30px; padding: 0 10px; font-size: 12px; }
  .actions { width: 100%; }
  .actions .btn { flex: 1 1 0; }
}
.uptime[data-tip] { cursor: help; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
