:root{
  color-scheme:dark;
  --bg:#070a11;
  --panel:rgba(17,24,39,.74);
  --panel-2:rgba(13,18,31,.86);
  --border:rgba(148,163,184,.15);
  --border-strong:rgba(148,163,184,.28);
  --text:#f8fafc;
  --muted:#94a3b8;
  --muted-2:#64748b;
  --green:#22c55e;
  --green-soft:rgba(34,197,94,.14);
  --red:#fb7185;
  --red-soft:rgba(251,113,133,.14);
  --yellow:#f59e0b;
  --yellow-soft:rgba(245,158,11,.14);
  --blue:#38bdf8;
  --shadow:0 22px 70px rgba(0,0,0,.34);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 10% -10%, rgba(56,189,248,.20), transparent 34rem),
    radial-gradient(circle at 90% 10%, rgba(34,197,94,.13), transparent 30rem),
    linear-gradient(180deg,#070a11 0%,#0b1020 52%,#070a11 100%);
  color:var(--text);
}
a{color:inherit}
.bg-orb{position:fixed;border-radius:999px;filter:blur(40px);opacity:.55;pointer-events:none}
.bg-orb-one{width:22rem;height:22rem;background:rgba(56,189,248,.18);left:-9rem;top:12rem}
.bg-orb-two{width:20rem;height:20rem;background:rgba(34,197,94,.12);right:-8rem;bottom:8rem}
.shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:32px 0 40px;position:relative;z-index:1}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:28px}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none}
.brand-mark{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#22c55e,#38bdf8);display:grid;place-items:center;font-size:1.35rem;font-weight:900;box-shadow:0 14px 40px rgba(34,197,94,.18)}
.brand strong{display:block;font-size:1.05rem;letter-spacing:.01em}
.brand small{display:block;color:var(--muted);margin-top:2px}
.top-actions{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;justify-content:flex-end}
.ghost-btn{border:1px solid var(--border);background:rgba(255,255,255,.04);color:var(--text);border-radius:999px;padding:.64rem 1rem;font-weight:800;cursor:pointer;transition:.18s ease}
.ghost-btn:hover{background:rgba(255,255,255,.08);transform:translateY(-1px)}
.live-pill{display:inline-flex;align-items:center;gap:.55rem;border:1px solid var(--border);background:rgba(255,255,255,.04);border-radius:999px;padding:.62rem .9rem;color:var(--muted);font-size:.86rem;white-space:nowrap}
.live-pill i{width:9px;height:9px;border-radius:999px;background:var(--yellow);box-shadow:0 0 0 6px rgba(245,158,11,.11)}
.live-pill.ok i{background:var(--green);box-shadow:0 0 0 6px rgba(34,197,94,.11)}
.live-pill.bad i{background:var(--red);box-shadow:0 0 0 6px rgba(251,113,133,.11)}
.hero{border:1px solid var(--border);background:linear-gradient(135deg,rgba(17,24,39,.86),rgba(15,23,42,.58));border-radius:28px;padding:32px;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:var(--shadow);overflow:hidden;position:relative}
.hero:before{content:"";position:absolute;inset:-1px;opacity:.9;pointer-events:none;background:radial-gradient(circle at 78% 12%, rgba(56,189,248,.11), transparent 23rem)}
.hero>*{position:relative;z-index:1}
.hero.operational{border-color:rgba(34,197,94,.32);background:linear-gradient(135deg,rgba(34,197,94,.12),rgba(15,23,42,.62))}
.hero.partial-outage{border-color:rgba(245,158,11,.32);background:linear-gradient(135deg,rgba(245,158,11,.12),rgba(15,23,42,.62))}
.hero.major-outage,.hero.down{border-color:rgba(251,113,133,.32);background:linear-gradient(135deg,rgba(251,113,133,.12),rgba(15,23,42,.62))}
.eyebrow{display:inline-flex;color:#bae6fd;background:rgba(56,189,248,.1);border:1px solid rgba(56,189,248,.16);border-radius:999px;padding:.32rem .72rem;font-weight:800;font-size:.78rem;margin-bottom:16px}
h1{font-size:clamp(1.75rem,3vw,3rem);line-height:1.02;margin:0 0 12px;letter-spacing:-.04em}
.hero p{margin:0;color:var(--muted);max-width:62ch;font-size:1rem;line-height:1.65}
.hero-metric{min-width:180px;text-align:right}
.hero-metric strong{display:block;font-size:clamp(2rem,5vw,4.6rem);line-height:1;font-weight:900;letter-spacing:-.06em}
.hero-metric span{display:block;color:var(--muted);font-size:.86rem;margin-top:8px}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}
.stat-card{border:1px solid var(--border);background:var(--panel);border-radius:20px;padding:18px;box-shadow:0 12px 36px rgba(0,0,0,.18)}
.stat-card span{display:block;color:var(--muted);font-size:.82rem;font-weight:700}
.stat-card strong{display:block;margin-top:8px;font-size:2rem;letter-spacing:-.04em}
.stat-card.good strong{color:var(--green)}.stat-card.warn strong{color:var(--yellow)}.stat-card.danger strong{color:var(--red)}
.panel{border:1px solid var(--border);background:var(--panel);backdrop-filter:blur(14px);border-radius:26px;padding:22px;margin-top:18px;box-shadow:0 14px 42px rgba(0,0,0,.18)}
.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.section-head h2{margin:0;font-size:1.22rem;letter-spacing:-.02em}
.section-head p{margin:6px 0 0;color:var(--muted);font-size:.9rem}
.search{position:relative;min-width:min(360px,100%)}
.search span{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted-2);font-weight:900}
.search input{width:100%;border:1px solid var(--border);background:rgba(2,6,23,.52);border-radius:16px;padding:1rem 1rem 1rem 4.1rem;color:var(--text);outline:none;font:inherit;transition:.18s ease}
.search input:focus{border-color:rgba(56,189,248,.55);box-shadow:0 0 0 4px rgba(56,189,248,.09)}
.service-groups{display:flex;flex-direction:column;gap:18px}
.group{border:1px solid var(--border);background:rgba(2,6,23,.28);border-radius:22px;padding:16px}
.group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.group-head h3{margin:0;font-size:1rem;color:#dbeafe}.group-head span{color:var(--muted);font-size:.82rem;border:1px solid var(--border);border-radius:999px;padding:.28rem .62rem;background:rgba(255,255,255,.03)}
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.card{border:1px solid var(--border);background:linear-gradient(180deg,rgba(15,23,42,.86),rgba(2,6,23,.45));border-radius:18px;padding:16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;transition:.18s ease}
.card:hover{border-color:var(--border-strong);transform:translateY(-1px)}
.card-main{min-width:0}.card-title{display:flex;align-items:center;gap:10px;margin-bottom:8px;min-width:0}.service-dot{width:10px;height:10px;border-radius:99px;background:var(--muted-2);flex:0 0 auto}.service-dot.operational{background:var(--green);box-shadow:0 0 0 5px rgba(34,197,94,.10)}.service-dot.degraded{background:var(--yellow);box-shadow:0 0 0 5px rgba(245,158,11,.10)}.service-dot.down{background:var(--red);box-shadow:0 0 0 5px rgba(251,113,133,.10)}
.card-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.target{color:var(--muted);font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:12px}.meta-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tag{display:inline-flex;align-items:center;border:1px solid var(--border);background:rgba(255,255,255,.035);color:var(--muted);border-radius:999px;padding:.34rem .62rem;font-size:.78rem;font-weight:800}.tag.ok{color:#bbf7d0;background:var(--green-soft);border-color:rgba(34,197,94,.18)}.tag.warn{color:#fde68a;background:var(--yellow-soft);border-color:rgba(245,158,11,.18)}.tag.bad{color:#fecdd3;background:var(--red-soft);border-color:rgba(251,113,133,.18)}
.card-side{text-align:right}.uptime{display:block;font-size:1.35rem;font-weight:900;letter-spacing:-.04em}.latency{display:block;color:var(--muted);font-size:.78rem;margin-top:4px}
.history{grid-column:1/-1;display:flex;gap:3px;height:34px;align-items:end;margin-top:4px}.bar{flex:1;min-width:3px;border-radius:5px;background:rgba(100,116,139,.25);height:22px;position:relative}.bar.operational{background:linear-gradient(180deg,#4ade80,#16a34a);height:30px}.bar.degraded{background:linear-gradient(180deg,#fbbf24,#d97706);height:22px}.bar.down{background:linear-gradient(180deg,#fb7185,#be123c);height:16px}.bar.unknown{background:rgba(100,116,139,.20);height:12px}.bar:hover:after{content:attr(data-tip);position:absolute;left:50%;bottom:38px;transform:translateX(-50%);white-space:nowrap;background:#020617;color:#e2e8f0;border:1px solid var(--border);border-radius:10px;padding:.45rem .6rem;font-size:.74rem;z-index:10;box-shadow:0 10px 28px rgba(0,0,0,.35)}
.history-caption{grid-column:1/-1;display:flex;justify-content:space-between;color:var(--muted-2);font-size:.74rem;margin-top:-4px}
.incidents{display:flex;flex-direction:column;gap:10px}.incident{border:1px solid var(--border);background:rgba(2,6,23,.35);border-radius:18px;padding:15px}.incident.open{border-color:rgba(251,113,133,.25);background:rgba(251,113,133,.06)}.incident.resolved{border-color:rgba(34,197,94,.18)}.incident-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.incident h3{margin:0;font-size:.98rem}.incident p{margin:8px 0 0;color:var(--muted);font-size:.88rem;line-height:1.55}.incident time{display:block;margin-top:8px;color:var(--muted-2);font-size:.78rem}.incident .tag{flex:0 0 auto}.empty{border:1px dashed var(--border);border-radius:18px;padding:20px;color:var(--muted);text-align:center;background:rgba(255,255,255,.025)}
.skeleton{height:96px;border-radius:18px;background:linear-gradient(90deg,rgba(255,255,255,.04),rgba(255,255,255,.08),rgba(255,255,255,.04));background-size:200% 100%;animation:sk 1.2s linear infinite}@keyframes sk{to{background-position:-200% 0}}
.footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;color:var(--muted-2);font-size:.86rem;padding:22px 4px 0;flex-wrap:wrap}
@media (max-width:860px){.hero,.section-head,.topbar{flex-direction:column;align-items:stretch}.hero-metric{text-align:left}.stats-grid{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:1fr}.search{min-width:100%}.top-actions{justify-content:flex-start}}
@media (max-width:520px){.shell{width:min(100% - 22px,1180px);padding-top:18px}.hero,.panel{border-radius:20px;padding:18px}.stats-grid{grid-template-columns:1fr}.card{grid-template-columns:1fr}.card-side{text-align:left}.top-actions>*{width:100%;justify-content:center}.live-pill{justify-content:center}}
