@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('/static/fonts/inter.woff2') format('woff2')}

:root{
  --green:#10B981; --green-ink:#047857; --green-soft:#ECFDF5;
  --amber:#F59E0B; --amber-ink:#B45309; --amber-soft:#FFFBEB;
  --orange:#F97316; --orange-ink:#C2410C; --orange-soft:#FFF7ED;
  --red:#EF4444; --red-ink:#B91C1C; --red-soft:#FEF2F2;
  --blue:#2563EB; --ink:#0F172A; --muted:#64748B; --soft:#94A3B8;
  --line:#E2E8F0; --line-soft:#F1F5F9; --canvas:#FAFAFA; --paper:#fff;
}

*{box-sizing:border-box}
html{-webkit-font-smoothing:antialiased}
body.status-page{
  margin:0;background:var(--canvas);color:var(--ink);
  font-family:'Inter',ui-sans-serif,system-ui,-apple-system,sans-serif;
  font-size:13.5px;line-height:1.55;
}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em;background:#fff;border:1px solid var(--line);padding:1px 5px;border-radius:5px}
.st-wrap{width:100%;max-width:920px;margin:0 auto;padding:0 22px}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}

.st-header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.st-header-inner{height:62px;display:flex;align-items:center;gap:18px}
.st-brand{display:flex;align-items:center;gap:10px;min-width:0}
.st-brand img{height:34px;width:auto;display:block}
.st-brand-name{font-weight:700;font-size:14.5px;letter-spacing:-.02em;white-space:nowrap}
.st-brand-name b{color:var(--blue);font-weight:700}
.st-nav{margin-left:auto;display:flex;align-items:center;gap:18px;font-size:12.5px;color:var(--muted)}
.st-nav a:hover{color:var(--blue)}
.st-nav .mono{font-size:11px;background:#F8FAFC;border:1px solid var(--line);padding:4px 8px;border-radius:6px}

.st-hero{
  margin:28px 0 14px;padding:22px 24px;border-radius:16px;border:1px solid;
  display:flex;align-items:center;gap:18px;flex-wrap:wrap;
}
.st-hero[data-overall="operational"]{background:var(--green-soft);border-color:#A7F3D0;color:var(--green-ink)}
.st-hero[data-overall="degraded"]{background:var(--amber-soft);border-color:#FDE68A;color:var(--amber-ink)}
.st-hero[data-overall="partial_outage"]{background:var(--orange-soft);border-color:#FED7AA;color:var(--orange-ink)}
.st-hero[data-overall="major_outage"]{background:var(--red-soft);border-color:#FECACA;color:var(--red-ink)}
.st-hero[data-overall="unknown"]{background:#F8FAFC;border-color:var(--line);color:var(--muted)}
.st-hero-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;flex:0 0 46px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.06)}
.st-hero-icon svg{width:24px;height:24px}
.st-hero-txt{min-width:0;flex:1}
.st-hero h1{font-size:24px;line-height:1.15;letter-spacing:-.03em;font-weight:750}
.st-hero p{margin-top:5px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.live-dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px rgba(16,185,129,.18);animation:pulse 2s ease infinite;flex:0 0 7px}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.45}}
.st-counts{display:flex;gap:14px;font-size:11.5px;color:var(--muted);flex-wrap:wrap}
.st-counts b{color:var(--ink);font-weight:700}

.st-legend{display:flex;align-items:center;gap:15px;font-size:11px;color:var(--muted);padding:4px 2px 16px;flex-wrap:wrap}
.st-legend span{display:inline-flex;align-items:center;gap:6px}
.st-legend-note{margin-left:auto}
.lg{width:9px;height:9px;border-radius:3px;display:inline-block}
.lg-operational{background:var(--green)}
.lg-degraded{background:var(--amber)}
.lg-major_outage{background:var(--red)}
.lg-partial_outage{background:var(--orange)}
.lg-no_data{background:#E2E8F0}

.st-group{margin-bottom:18px}
.st-group-head{display:flex;align-items:center;gap:10px;margin:0 2px 8px}
.st-group-head h2{font-size:13px;font-weight:700;letter-spacing:.01em}
.st-group-head .st-badge{margin-left:auto}
.st-components{background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.st-component{display:block;padding:16px 18px;border-bottom:1px solid var(--line-soft)}
.st-component:last-child{border-bottom:0}
.st-component:hover{background:#FCFDFE}
.st-comp-title{display:flex;align-items:center;gap:8px}
.st-comp-title h3{font-size:13px;font-weight:650;letter-spacing:-.01em}
.st-dot{width:8px;height:8px;border-radius:50%;flex:0 0 8px;background:#CBD5E1}
.st-dot.st-operational{background:var(--green)}
.st-dot.st-degraded{background:var(--amber)}
.st-dot.st-major_outage,.st-dot.st-partial_outage{background:var(--red)}
.st-dot.st-unknown{background:#CBD5E1}
.st-comp-desc{margin-top:3px;font-size:11.5px;color:var(--muted)}
.st-comp-detail{margin-top:2px;font-size:10.5px;color:var(--soft)}
.st-comp-head{display:flex;align-items:flex-start;gap:20px}
.st-comp-status{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex:0 0 auto}
.st-bars{display:flex;align-items:flex-end;gap:2px;width:100%;height:26px;margin-top:11px}
.bar{flex:1 1 0;min-width:4px;height:100%;border-radius:2px;background:#E9EEF5;transition:transform .12s ease,opacity .12s ease}
.bar:hover{transform:scaleY(1.12);opacity:.85}
.bar-operational{background:var(--green)}
.bar-degraded{background:var(--amber)}
.bar-major_outage,.bar-partial_outage{background:var(--red)}
.bar-maintenance{background:#60A5FA}
.bar-no_data{background:#E9EEF5}
.st-uptime{display:flex;gap:14px;font-size:10px;color:var(--soft);white-space:nowrap}
.st-uptime span{display:inline-flex;align-items:baseline;gap:4px}
.st-uptime i{font-style:normal;color:var(--soft)}
.st-uptime b{color:var(--muted);font-weight:600;font-variant-numeric:tabular-nums}

.st-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:650;padding:3px 8px;border-radius:5px;border:1px solid;white-space:nowrap}
.st-operational{background:var(--green-soft);border-color:#A7F3D0;color:var(--green-ink)}
.st-degraded{background:var(--amber-soft);border-color:#FDE68A;color:var(--amber-ink)}
.st-partial_outage{background:var(--orange-soft);border-color:#FED7AA;color:var(--orange-ink)}
.st-major_outage{background:var(--red-soft);border-color:#FECACA;color:var(--red-ink)}
.st-maintenance{background:#EFF6FF;border-color:#BFDBFE;color:#1D4ED8}
.st-unknown,.st-no_data{background:#F8FAFC;border-color:var(--line);color:var(--muted)}

.st-incidents{margin:26px 0 0}
.st-timeline{display:flex;flex-direction:column;gap:10px}
.st-incident{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:15px 18px}
.st-incident-head{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted);flex-wrap:wrap}
.st-incident-head time{font-variant-numeric:tabular-nums}
.st-impact{margin-left:auto;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--soft)}
.st-incident h3{font-size:13.5px;margin-top:7px;font-weight:650}
.st-incident .st-muted{font-size:11.5px;margin-top:2px}
.st-updates{list-style:none;margin:10px 0 0;padding:10px 0 0;border-top:1px dashed var(--line);display:flex;flex-direction:column;gap:5px}
.st-updates li{font-size:11.5px;color:var(--muted);display:flex;gap:10px}
.st-updates li span{flex:0 0 132px;color:var(--soft);font-variant-numeric:tabular-nums}
.st-empty{display:flex;align-items:flex-start;gap:12px;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:18px}
.st-empty svg{width:20px;height:20px;color:var(--soft);flex:0 0 20px;margin-top:2px}
.st-empty b{font-size:12.5px}
.st-empty p{font-size:11.5px;color:var(--muted);margin-top:2px}
.st-muted{color:var(--muted)}

.st-subscribe{margin:26px 0 10px;background:linear-gradient(135deg,#EFF6FF,#FFFFFF);border:1px solid #DBEAFE;border-radius:16px;padding:20px 22px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.st-subscribe h2{font-size:16px;letter-spacing:-.02em}
.st-subscribe p{font-size:11.5px;color:var(--muted);margin-top:3px}
.st-sub-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.st-btn{display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 14px;border-radius:8px;background:var(--blue);color:#fff;font-size:12px;font-weight:600}
.st-btn:hover{background:#1D4ED8}
.st-btn-ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
.st-btn-ghost:hover{background:#F8FAFC}

.st-footer{border-top:1px solid var(--line);margin-top:28px;padding:18px 0 30px;font-size:11px;color:var(--soft)}
.st-footer-inner{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.st-footer-inner a{margin-left:auto;color:var(--muted)}
.st-footer-inner a:hover{color:var(--blue)}

@media(max-width:760px){
  .st-comp-head{flex-direction:column;gap:8px}
  .st-comp-status{flex-direction:row;align-items:center;width:100%;justify-content:space-between}
  .st-uptime{justify-content:space-between}
  .st-header-inner{height:auto;padding:10px 0;flex-wrap:wrap}
  .st-nav{gap:12px;flex-wrap:wrap}
  .st-hero h1{font-size:19px}
  .st-counts{width:100%}
  .st-legend-note{display:none}
}
@media(prefers-reduced-motion:reduce){
  .live-dot{animation:none}
  .bar{transition:none}
}
