:root{
  --bg:#080b10;
  --panel:#0d1219;
  --panel2:#101720;
  --line:#1b2530;
  --text:#edf3f8;
  --muted:#71808e;
  --muted2:#4e5b68;
  --accent:#65e6a4;
  --accent2:#42c98a;
  --blue:#6da8ff;
}

*{box-sizing:border-box}
html{background:var(--bg)}
body{
  margin:0;
  background:
    radial-gradient(circle at 75% -10%,rgba(74,125,110,.12),transparent 30%),
    radial-gradient(circle at 10% 20%,rgba(55,100,150,.06),transparent 28%),
    var(--bg);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  min-height:100vh;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:50px 50px;
  mask-image:linear-gradient(to bottom,black,transparent 80%);
}
.noise{display:none}

.topbar{
  height:74px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 42px;
  background:rgba(8,11,16,.78);
  backdrop-filter:blur(16px);
}
.brand{display:flex;align-items:center;gap:13px}
.brand-mark{width:30px;height:30px;display:flex;align-items:flex-end;gap:3px}
.brand-mark span{display:block;width:7px;border-radius:2px 2px 0 0;background:var(--accent)}
.brand-mark span:nth-child(1){height:13px;opacity:.55}
.brand-mark span:nth-child(2){height:22px;opacity:.78}
.brand-mark span:nth-child(3){height:30px}
.brand strong{display:block;font-size:14px;letter-spacing:.12em}
.brand strong span{font-weight:400;color:#83919e}
.brand small{display:block;margin-top:3px;color:var(--muted2);font-size:8px;letter-spacing:.18em}
.top-status{font-size:10px;letter-spacing:.12em;color:#91a0ac;display:flex;align-items:center;gap:9px}
.top-status i,.live i,.health-ok i,.service-state i,.pop-bottom i{
  width:7px;height:7px;border-radius:50%;background:var(--accent);display:inline-block;
  box-shadow:0 0 12px rgba(101,230,164,.55)
}

main{max-width:1420px;margin:auto;padding:58px 42px 40px}
.hero{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:42px}
.eyebrow{font-size:10px;letter-spacing:.18em;color:var(--accent);font-weight:700;margin-bottom:16px}
.eyebrow span{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;margin-right:8px;vertical-align:1px}
h1{font-size:52px;line-height:1.03;letter-spacing:-.045em;margin:0;font-weight:700}
h1 em{font-style:normal;color:#7f8d99}
.hero p{color:var(--muted);margin:18px 0 0;font-size:14px}
.hero-meta{text-align:right}
.hero-meta span,.label{font-size:9px;letter-spacing:.16em;color:var(--muted2);font-weight:700}
.hero-meta strong{display:block;font-size:20px;margin-top:6px;letter-spacing:.05em}
.hero-meta small{display:block;color:var(--muted2);font-size:10px;margin-top:5px}

.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:12px}
.metric,.panel{background:linear-gradient(145deg,rgba(18,25,34,.96),rgba(10,15,21,.96));border:1px solid var(--line);border-radius:7px}
.metric{height:156px;padding:20px 21px;position:relative;overflow:hidden}
.metric-head{display:flex;justify-content:space-between;color:var(--muted);font-size:9px;letter-spacing:.13em;font-weight:700}
.metric-head b{font-size:8px;letter-spacing:.08em}
.up{color:var(--accent)}
.neutral{color:#6d7b87}
.metric>strong{font-size:31px;display:block;margin-top:18px;letter-spacing:-.035em}
.metric>strong small{font-size:12px;color:var(--muted);font-weight:500;margin-left:3px;letter-spacing:0}
.mini-bars{height:34px;display:flex;align-items:flex-end;gap:3px;margin-top:13px}
.mini-bars span{flex:1;background:#274d3d;border-radius:1px;min-height:5px}
.spark{height:39px;margin-top:8px}
.spark svg{width:100%;height:100%}
.spark polyline{fill:none;stroke:var(--accent);stroke-width:1.6}
.progress{height:4px;background:#172129;border-radius:3px;margin-top:25px;overflow:hidden}
.progress span{display:block;height:100%;width:96.8%;background:var(--accent);box-shadow:0 0 12px rgba(101,230,164,.3)}
.connection-line{height:22px;display:flex;align-items:flex-end;gap:4px;margin-top:13px}
.connection-line i{width:10px;background:#2b4b3d;border-radius:1px}
.connection-line i:nth-child(1){height:8px}.connection-line i:nth-child(2){height:14px}.connection-line i:nth-child(3){height:11px}.connection-line i:nth-child(4){height:19px}.connection-line i:nth-child(5){height:13px}.connection-line i:nth-child(6){height:17px}.connection-line i:nth-child(7){height:10px}

.dashboard{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-bottom:12px}
.panel{padding:22px}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between}
.panel h2{font-size:15px;margin:7px 0 0;letter-spacing:-.01em}
.legend{font-size:9px;color:var(--muted);display:flex;align-items:center;gap:6px}
.legend i{width:6px;height:6px;border-radius:50%;background:var(--accent)}
.legend span{margin-left:12px;color:var(--muted2)}
.big-value{margin-top:18px}
.big-value strong{font-size:29px;letter-spacing:-.04em}.big-value span{font-size:11px;color:var(--muted)}
.graph{height:238px;margin-top:7px;position:relative}
.graph svg{width:100%;height:100%;position:absolute;inset:0;overflow:visible}
.graph polyline{stroke:var(--accent);stroke-width:2;filter:drop-shadow(0 0 5px rgba(101,230,164,.22))}
.graph path{fill:url(#area)}
.grid-lines{position:absolute;inset:15px 0 0 38px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 59px,rgba(255,255,255,.045) 60px)}
.graph-labels{position:absolute;left:0;top:7px;bottom:0;display:flex;flex-direction:column;justify-content:space-between;color:#45515d;font-size:8px}
.graph-time{display:flex;justify-content:space-between;color:#46535f;font-size:8px;padding-left:39px;margin-top:-4px}
.health-panel{display:flex;flex-direction:column}
.health-ok{font-size:9px;color:var(--accent);display:flex;align-items:center;gap:7px}
.service{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}
.service-icon{width:30px;height:30px;border:1px solid #26343f;border-radius:6px;display:grid;place-items:center;color:#74818c;font-size:9px}
.service-info{flex:1}.service-info strong{display:block;font-size:11px}.service-info span{display:block;color:var(--muted2);font-size:9px;margin-top:3px}
.service-state{font-size:9px;color:var(--muted);display:flex;align-items:center;gap:6px}
.origin-footer{display:flex;justify-content:space-between;margin-top:auto;padding-top:20px;color:var(--muted);font-size:9px}
.origin-footer strong{color:var(--text);font-size:13px}

.pops-panel{margin-bottom:12px}
.pop-count{font-size:9px;color:var(--muted)}.pop-count strong{font-size:16px;color:var(--text);margin-right:4px}
.pop-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:20px}
.pop{border:1px solid var(--line);background:rgba(7,11,15,.55);border-radius:5px;padding:13px}
.pop-top{display:flex;justify-content:space-between;font-size:10px}.pop-top span{color:var(--muted2);font-size:8px}
.pop-bottom{display:flex;align-items:center;gap:6px;margin-top:15px}.pop-bottom i{width:5px;height:5px}.pop-bottom span{font-size:10px;color:#c4ced6}.pop-bottom small{margin-left:auto;color:var(--muted2);font-size:8px}

.requests-panel{margin-bottom:12px}
.live{font-size:8px;color:var(--accent);letter-spacing:.12em;display:flex;align-items:center;gap:7px}
.table{margin-top:20px}
.table-head,.row{display:grid;grid-template-columns:1.3fr 1fr .8fr .8fr 1.2fr;align-items:center}
.table-head{padding:0 14px 9px;color:#485661;font-size:8px;letter-spacing:.13em}
.row{padding:12px 14px;border-top:1px solid rgba(255,255,255,.035);font-size:10px}
.row:hover{background:rgba(255,255,255,.015)}
.client{font-family:ui-monospace,monospace;color:#aebac4}
.edge{color:#8796a2}.latency{color:#bdc7cf}
.status{color:var(--accent);font-size:9px}.status i{display:inline-block;width:5px;height:5px;background:var(--accent);border-radius:50%;margin-right:6px}
.reqid{color:#52616c;font-family:ui-monospace,monospace;font-size:8px}

footer{display:flex;justify-content:space-between;color:#3f4c57;font-size:8px;letter-spacing:.13em;padding:17px 3px 0}
footer span{margin:0 7px;color:#26333d}footer strong{color:#61706d}

@media(max-width:1000px){
  main{padding:40px 22px}
  .topbar{padding:0 22px}
  .metrics{grid-template-columns:repeat(2,1fr)}
  .dashboard{grid-template-columns:1fr}
  .pop-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:650px){
  .top-status{display:none}
  .hero{display:block}.hero-meta{text-align:left;margin-top:25px}
  h1{font-size:38px}
  .metrics{grid-template-columns:1fr}
  .pop-grid{grid-template-columns:repeat(2,1fr)}
  .table-head{display:none}
  .row{grid-template-columns:1fr 1fr;padding:13px}
  .row .status,.row .reqid{display:none}
  footer{display:block;line-height:2}
}
