:root {
  --accent: #39ff14;
  --accent-ink: #041004;
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 35%, transparent);

  --bg: #07090a;
  --surface: rgba(255, 255, 255, .028);
  --surface-2: rgba(255, 255, 255, .05);
  --surface-solid: #0e1211;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #ecf2ee;
  --text-2: #b9c3bd;
  --muted: #7f8a84;

  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --info: #60a5fa;
  --ok-soft: rgba(52, 211, 153, .12);
  --warn-soft: rgba(251, 191, 36, .12);
  --bad-soft: rgba(248, 113, 113, .12);
  --info-soft: rgba(96, 165, 250, .12);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
  font-family: "Inter", "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01";
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 50% -220px, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent-soft); color: var(--text); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1 { font-size: 1.75rem; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; margin: 0 0 1rem; display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
h2 { font-size: 1.02rem; letter-spacing: -.01em; font-weight: 650; margin: 0 0 .85rem; }
h3 { font-size: 1rem; font-weight: 650; margin: 0 0 .35rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
code, pre { font-family: ui-monospace, "JetBrains Mono", "Cascadia Code", Consolas, monospace; font-size: .84rem; }
code { background: var(--surface-2); border: 1px solid var(--line); padding: .08rem .35rem; border-radius: 6px; }
pre { background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; overflow-x: auto; white-space: pre-wrap; word-break: break-all; color: var(--text-2); }
pre code, .copy code { background: none; border: 0; padding: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.bad { color: var(--bad); }
.accent { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 2rem 16px 5rem; }
.container.narrow { max-width: 780px; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  padding: .7rem max(16px, calc((100vw - 1120px) / 2 + 16px));
  background: rgba(7, 9, 10, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 750; font-size: 1.05rem; letter-spacing: -.02em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  color: var(--accent-ink);
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 100%, white 25%), var(--accent));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 6px 20px -6px var(--accent-line);
}
.topbar nav { display: flex; gap: .15rem; flex: 1; }
.topbar nav a { color: var(--muted); padding: .42rem .8rem; border-radius: 999px; font-weight: 500; font-size: .92rem; transition: color .15s, background .15s; }
.topbar nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.topbar nav a.active { color: var(--text); background: var(--surface-2); box-shadow: 0 0 0 1px var(--line) inset; }
@media (max-width: 680px) {
  .topbar { gap: .5rem; padding: .6rem 16px 0; }
  .topbar form.inline { margin-left: auto; }
  .topbar nav { order: 3; flex: 1 0 100%; overflow-x: auto; margin: 0 -16px; padding: .35rem 12px .55rem; scrollbar-width: none; }
  .topbar nav a { white-space: nowrap; }
}

.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.page-head h1, .page-head h2 { margin-bottom: .3rem; }
.page-head p { margin: 0; }
.back { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.back:hover { color: var(--text); text-decoration: none; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1rem; }
.row { display: flex; gap: .85rem; align-items: flex-end; flex-wrap: wrap; }
.row > label { flex: 0 1 auto; }
.row .grow { flex: 1 1 200px; }

/* ---------- Surfaces ---------- */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .018));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow-x: auto;
}
.card > :last-child { margin-bottom: 0; }
.card.danger { border-color: rgba(248, 113, 113, .22); background: linear-gradient(180deg, rgba(248, 113, 113, .05), rgba(248, 113, 113, .015)); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75rem; margin-bottom: 1.25rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; box-shadow: var(--shadow); }
.stat span { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; margin-bottom: .2rem; }
.stat strong { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.empty { text-align: center; padding: 3.5rem 1.5rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.empty-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem; }
.empty strong { display: block; color: var(--text); font-size: 1.1rem; margin-bottom: .25rem; }
.empty p { color: var(--muted); }

/* ---------- Forms ---------- */
label { display: block; margin-bottom: 1rem; font-size: .85rem; font-weight: 500; color: var(--text-2); }
label.check { display: flex; align-items: center; gap: .6rem; font-weight: 400; color: var(--text); margin-bottom: .65rem; flex-wrap: wrap; }
.hint { display: block; margin-top: .4rem; color: var(--muted); font-size: .8rem; font-weight: 400; }
input, select, textarea {
  display: block; width: 100%; margin-top: .4rem; padding: .65rem .8rem;
  background: rgba(0, 0, 0, .3); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  color: var(--text); font: inherit; transition: border-color .15s, box-shadow .15s, background .15s;
}
input::placeholder, textarea::placeholder { color: #5b655f; }
input:hover, select:hover, textarea:hover { border-color: rgba(255, 255, 255, .22); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); background: rgba(0, 0, 0, .4); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237f8a84' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.2rem; }
select option { background: var(--surface-solid); }
input[type=checkbox] { appearance: none; width: 18px; height: 18px; margin: 0; padding: 0; flex: none; border-radius: 6px; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, .3); display: inline-grid; place-items: center; cursor: pointer; }
input[type=checkbox]:checked { background: var(--accent); border-color: var(--accent); }
input[type=checkbox]:checked::after { content: ""; width: 10px; height: 10px; background: var(--accent-ink); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 24%, 86% 10%, 38% 72%); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem .5rem; margin: .25rem 0 1.1rem; background: rgba(0, 0, 0, .15); }
legend { padding: 0 .45rem; color: var(--text); font-weight: 600; font-size: .88rem; }
details { margin-bottom: 1rem; }
summary { cursor: pointer; color: var(--text-2); font-size: .9rem; font-weight: 500; margin-bottom: .85rem; list-style: none; display: inline-flex; align-items: center; gap: .4rem; }
summary::-webkit-details-marker { display: none; }
summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
details[open] summary::before { transform: rotate(45deg); }
form.inline { display: inline-flex; gap: .4rem; align-items: center; margin: 0; }
form.inline input { margin: 0; width: auto; }
.input-prefix { display: flex; align-items: stretch; margin-top: .4rem; }
.input-prefix span { display: flex; align-items: center; padding: 0 .7rem; background: var(--surface-2); border: 1px solid var(--line-strong); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); color: var(--muted); white-space: nowrap; font-size: .85rem; }
.input-prefix input { margin: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; min-width: 0; }
.form-actions { display: flex; gap: .5rem; margin-top: .5rem; }
.copy { display: flex; gap: .6rem; align-items: center; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .45rem .45rem .45rem .85rem; margin-bottom: 1rem; }
.copy code { flex: 1; overflow-wrap: anywhere; color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .6rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .92rem; white-space: nowrap; cursor: pointer;
  color: var(--accent-ink);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 100%, white 18%), var(--accent));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 24px -10px var(--accent-line);
  transition: transform .12s, box-shadow .15s, filter .15s, background .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 30px -8px var(--accent-line); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: .36rem .7rem; font-size: .84rem; border-radius: 8px; }
.btn-lg { padding: .85rem 1.5rem; font-size: 1rem; border-radius: 12px; }
.btn-block { display: flex; width: 100%; }
.btn-ghost { color: var(--text); background: var(--surface-2); border-color: var(--line-strong); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); box-shadow: none; filter: none; }
.btn-danger { color: var(--bad); background: transparent; border-color: rgba(248, 113, 113, .3); box-shadow: none; }
.btn-danger:hover { background: var(--bad-soft); box-shadow: none; filter: none; }

/* ---------- Alerts ---------- */
.alert { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1px solid; margin-bottom: 1.25rem; font-size: .92rem; }
.alert::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .45rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.alert-ok { background: var(--ok-soft); border-color: rgba(52, 211, 153, .25); color: #a7f3d0; }
.alert-bad { background: var(--bad-soft); border-color: rgba(248, 113, 113, .25); color: #fecaca; }
.alert-warn { background: var(--warn-soft); border-color: rgba(251, 191, 36, .25); color: #fde68a; }
p.alert { margin-bottom: 1rem; }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-weight: 500; color: var(--muted); font-size: .78rem; padding-top: 0; }
.table th, .table td { padding: .7rem .55rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table td:first-child, .table th:first-child { padding-left: 0; }
.table td:last-child, .table th:last-child { padding-right: 0; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .12s; }

/* ---------- Status chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .18rem .6rem .18rem .5rem; border-radius: 999px;
  font-size: .74rem; font-weight: 600; letter-spacing: .01em; line-height: 1.4;
  color: var(--muted); background: var(--surface-2); border: 1px solid var(--line);
  vertical-align: middle; text-transform: capitalize;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-up { color: var(--ok); background: var(--ok-soft); border-color: rgba(52, 211, 153, .22); }
.pill-down, .pill-incident { color: var(--bad); background: var(--bad-soft); border-color: rgba(248, 113, 113, .22); }
.pill-down::before { box-shadow: 0 0 0 3px rgba(248, 113, 113, .25); animation: pulse 1.6s infinite; }
.pill-maintenance { color: var(--warn); background: var(--warn-soft); border-color: rgba(251, 191, 36, .22); }
.pill-info { color: var(--info); background: var(--info-soft); border-color: rgba(96, 165, 250, .22); }
h1 .pill { font-size: .78rem; letter-spacing: 0; }

.dot { position: relative; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #4b5450; flex: none; }
.dot-up { background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .14); }
.dot-down { background: var(--bad); box-shadow: 0 0 0 4px rgba(248, 113, 113, .18); }
.dot-down::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--bad); animation: ring 1.6s infinite; }
.dot-paused { background: #4b5450; }
@keyframes pulse { 50% { opacity: .4; } }
@keyframes ring { from { transform: scale(.6); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dot-down::after, .pill-down::before { animation: none; } }

/* ---------- Monitor list ---------- */
.monitor-list { display: grid; gap: .5rem; }
.monitor-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) 170px 76px 96px; gap: 1.1rem; align-items: center;
  padding: .95rem 1.15rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  transition: background .15s, border-color .15s, transform .15s;
}
.monitor-row:hover { background: var(--surface-2); border-color: var(--line-strong); text-decoration: none; transform: translateY(-1px); }
.monitor-row.is-down { border-color: rgba(248, 113, 113, .3); background: linear-gradient(90deg, rgba(248, 113, 113, .07), var(--surface) 40%); }
.monitor-main { min-width: 0; }
.monitor-main strong { font-weight: 600; }
.monitor-main strong, .monitor-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.monitor-main small { font-size: .82rem; margin-top: .1rem; }
.monitor-uptime { text-align: right; font-variant-numeric: tabular-nums; }
.monitor-uptime strong { font-weight: 650; }
.monitor-uptime small { display: block; font-size: .72rem; }
.monitor-status { text-align: right; }
@media (max-width: 720px) {
  .monitor-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .monitor-spark, .monitor-uptime { display: none; }
}

/* ---------- Charts ---------- */
.chart { width: 100%; height: 180px; display: block; overflow: visible; }
.chart-small { height: 34px; }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.chart-stop-top { stop-color: var(--accent); stop-opacity: .28; }
.chart-stop-bottom { stop-color: var(--accent); stop-opacity: 0; }
.chart-fail { stroke: var(--bad); stroke-width: 2; opacity: .55; vector-effect: non-scaling-stroke; }
.chart-axis { stroke: var(--line); vector-effect: non-scaling-stroke; }
.chart-grid { stroke: var(--line); stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.chart-label { fill: var(--muted); font-size: 11px; }
.chart-meta { display: flex; gap: 1.25rem; flex-wrap: wrap; color: var(--muted); font-size: .8rem; margin-bottom: .75rem; }
.chart-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.chart-x { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; margin-top: .5rem; }
.key { display: inline-block; width: 14px; height: 3px; border-radius: 2px; }
.key-line { background: var(--accent); }
.key-fail { background: var(--bad); width: 3px; height: 12px; }
.chart-empty { display: grid; place-items: center; min-height: 120px; color: var(--muted); font-size: .88rem; border: 1px dashed var(--line); border-radius: var(--radius-sm); }
.monitor-spark .chart-empty { min-height: 0; border: 0; font-size: .74rem; place-items: center end; }

/* ---------- Auth ---------- */
.auth { max-width: 420px; margin: 3rem auto; padding: 2rem; }
.auth h1 { margin-bottom: .4rem; }
.auth .btn-block { margin-top: .5rem; }
.auth-foot { margin: 1.25rem 0 0; color: var(--muted); text-align: center; font-size: .9rem; }

/* ---------- Marketing ---------- */
.hero { text-align: center; padding: 4.5rem 0 3rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem .3rem .45rem; border-radius: 999px; font-size: .82rem; font-weight: 500; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line-strong); margin-bottom: 1.5rem; }
.eyebrow .pill { padding: .05rem .5rem .05rem .4rem; }
.hero h1 { display: block; font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 800; margin: 0 auto 1.25rem; max-width: 820px; }
.gradient-text { background: linear-gradient(100deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #22d3ee)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 600px; margin: 0 auto 2rem; }
.hero-cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.preview {
  position: relative; max-width: 860px; margin: 0 auto; text-align: left;
  padding: 1rem; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  border: 1px solid var(--line-strong); box-shadow: 0 40px 120px -40px var(--accent-line), var(--shadow);
}
.preview::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(180deg, var(--accent-line), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.preview-bar { display: flex; gap: .4rem; padding: .1rem .3rem .9rem; }
.preview-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.preview .monitor-row:hover { transform: none; }
.section-title { text-align: center; margin: 5rem 0 2rem; }
.section-title h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.03em; font-weight: 750; margin-bottom: .5rem; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.feature { margin: 0; transition: border-color .15s, transform .15s; }
.feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem; box-shadow: 0 0 0 1px var(--accent-line) inset; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; }
.cta-band { margin-top: 5rem; text-align: center; padding: 3rem 1.5rem; border-radius: 22px; border: 1px solid var(--line-strong); background: radial-gradient(600px 200px at 50% 0, var(--accent-soft), transparent), var(--surface); }
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.03em; font-weight: 750; }
.cta-band p { color: var(--text-2); }

/* ---------- Public status page ---------- */
.status-page .container { padding-top: 3.5rem; }
.sp-head { text-align: center; margin-bottom: 2.25rem; }
.sp-head h1 { justify-content: center; font-size: 1.9rem; margin-bottom: .35rem; }
.sp-logo { max-height: 56px; max-width: 220px; margin-bottom: 1.1rem; }
.sp-banner { display: flex; align-items: center; gap: .9rem; padding: 1.15rem 1.3rem; border-radius: var(--radius); font-weight: 650; font-size: 1.08rem; margin-bottom: 1.25rem; border: 1px solid; box-shadow: var(--shadow); }
.sp-banner small { display: block; font-weight: 400; font-size: .82rem; opacity: .75; }
.sp-banner-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none; }
.sp-ok { color: #d1fae5; background: linear-gradient(100deg, rgba(52, 211, 153, .18), rgba(52, 211, 153, .06)); border-color: rgba(52, 211, 153, .3); }
.sp-ok .sp-banner-icon { background: var(--ok); color: #052e1c; }
.sp-warn { color: #fef3c7; background: linear-gradient(100deg, rgba(251, 191, 36, .18), rgba(251, 191, 36, .06)); border-color: rgba(251, 191, 36, .3); }
.sp-warn .sp-banner-icon { background: var(--warn); color: #3a2702; }
.sp-bad { color: #fee2e2; background: linear-gradient(100deg, rgba(248, 113, 113, .2), rgba(248, 113, 113, .06)); border-color: rgba(248, 113, 113, .32); }
.sp-bad .sp-banner-icon { background: var(--bad); color: #3b0909; }
.sp-none { color: var(--text-2); background: var(--surface); border-color: var(--line); }
.sp-none .sp-banner-icon { background: var(--surface-2); color: var(--muted); }
.sp-monitor { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.sp-monitor:first-child { padding-top: 0; }
.sp-monitor:last-child { border-bottom: 0; padding-bottom: 0; }
.sp-monitor-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .65rem; }
.sp-monitor-head strong { font-weight: 600; }
.sp-state { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--muted); }
.sp-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sp-state-up { color: var(--ok); }
.sp-state-down { color: var(--bad); }
.sp-legend { display: flex; justify-content: space-between; font-size: .75rem; margin-top: .45rem; }
.bars { display: flex; gap: 3px; height: 34px; }
.bar { flex: 1; border-radius: 3px; background: rgba(255, 255, 255, .07); min-width: 1px; transition: transform .12s, filter .12s; }
.bar:hover { transform: scaleY(1.12); filter: brightness(1.2); }
.bar-ok { background: linear-gradient(180deg, #4ade80, #22c55e); }
.bar-warn { background: linear-gradient(180deg, #fcd34d, #f59e0b); }
.bar-bad { background: linear-gradient(180deg, #fca5a5, #ef4444); }
@media (max-width: 560px) { .bars { gap: 2px; } .bars .bar:nth-child(-n+60) { display: none; } .sp-legend span:first-child { visibility: hidden; } }
.sp-incidents { list-style: none; margin: 0; padding: 0; }
.sp-incidents li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.sp-incidents li:first-child { padding-top: 0; }
.sp-incidents li:last-child { border-bottom: 0; padding-bottom: 0; }
.status-page h2 { margin-top: 2rem; }
.notice-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .4rem; }
.notice p { margin: .4rem 0; color: var(--text-2); }
.notice.resolved { opacity: .65; }
.notice-incident { border-color: rgba(248, 113, 113, .3); }
.notice-maintenance { border-color: rgba(251, 191, 36, .3); }
.sp-foot { text-align: center; margin-top: 2.5rem; font-size: .84rem; }
.sp-foot a { color: var(--muted); display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.sp-foot a:hover { color: var(--text); text-decoration: none; border-color: var(--line-strong); }
