:root{
  --bg:#0b1220;
  --panel:#111a2e;
  --panel2:#0f1730;
  --text:#eaf0ff;
  --muted:#a8b3d6;
  --chip:#1b2750;
  --chip2:#162042;
  --border:#24335f;
  --good:#2dd4bf;
  --warn:#fbbf24;
  --bad:#fb7185;
  --btn:#22326a;
  --shadow: 0 12px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 20% 0%, #142152 0%, var(--bg) 55%) fixed;
  color:var(--text);
}

a{color:inherit;text-decoration:none}
.muted{color:var(--muted)}
.container{max-width:1200px;margin:0 auto;padding:18px}
.topbar{
  position:sticky;top:0;z-index:20;
  background: linear-gradient(180deg, rgba(11,18,32,.92) 0%, rgba(11,18,32,.65) 100%);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(36,51,95,.6);
  padding:14px 18px;
  display:flex;gap:14px;align-items:center;justify-content:space-between;
}
.brand{display:flex;gap:12px;align-items:center}
.logo{
  width:44px;height:44px;border-radius:14px;
  background: linear-gradient(180deg, #1d2e6a 0%, #152556 100%);
  border:1px solid rgba(255,255,255,.08);
  display:grid;place-items:center;
  box-shadow: var(--shadow);
  font-size:22px;
}
.titles h1{margin:0;font-size:18px;letter-spacing:.2px}
.titles p{margin:2px 0 0 0;font-size:12px}

.actions{display:flex;gap:10px;align-items:center}
#search{
  width:min(380px, 55vw);
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(36,51,95,.8);
  background: rgba(17,26,46,.8);
  color:var(--text);
  outline:none;
}
#search::placeholder{color:rgba(168,179,214,.75)}
.btn{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(36,51,95,.9);
  background: linear-gradient(180deg, #25347a 0%, #1d2a63 100%);
  color:var(--text);
  cursor:pointer;
}
.btn:hover{filter:brightness(1.05)}

.panel{
  background: linear-gradient(180deg, rgba(17,26,46,.86) 0%, rgba(15,23,48,.82) 100%);
  border:1px solid rgba(36,51,95,.75);
  border-radius:18px;
  box-shadow: var(--shadow);
  padding:16px;
  margin-top:16px;
}
.panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.panel-head h2{margin:0;font-size:16px}
.panel-head p{margin:0;font-size:12px}

.status-row{
  margin-top:12px;
  display:flex;flex-wrap:wrap;gap:10px;
}
.status{
  display:flex;gap:10px;align-items:center;
  padding:10px 12px;border-radius:14px;
  background: rgba(27,39,80,.6);
  border:1px solid rgba(36,51,95,.7);
}
.dot{width:10px;height:10px;border-radius:50%}
.dot.good{background:var(--good)}
.dot.warn{background:var(--warn)}
.dot.bad{background:var(--bad)}
.dot.unk{background:#94a3b8}
.status .name{font-weight:600;font-size:13px}
.status .meta{font-size:12px;color:var(--muted)}

.hint{margin:10px 2px 0 2px;font-size:12px}

.toolbar{
  margin-top:12px;
  display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;
}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  padding:7px 10px;border-radius:999px;
  background: rgba(27,39,80,.55);
  border:1px solid rgba(36,51,95,.7);
  font-size:12px;cursor:pointer;
}
.chip.active{
  background: rgba(34,50,106,.8);
  border-color: rgba(45,212,191,.65);
}
.toggle{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}
.toggle input{transform:scale(1.05)}

.grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat( auto-fill, minmax(220px, 1fr) );
  gap:12px;
}
.card{
  padding:14px;
  border-radius:18px;
  background: rgba(17,26,46,.55);
  border:1px solid rgba(36,51,95,.75);
  transition: transform .08s ease, filter .08s ease, border-color .08s ease;
  min-height:120px;
}
.card:hover{transform: translateY(-1px); filter:brightness(1.03); border-color: rgba(45,212,191,.35)}
.card .top{
  display:flex;align-items:flex-start;justify-content:space-between;gap:10px;
}
.badge{
  font-size:11px;
  padding:5px 8px;
  border-radius:999px;
  background: rgba(22,32,66,.8);
  border:1px solid rgba(36,51,95,.8);
  color:var(--muted);
}
.card h3{margin:8px 0 6px 0;font-size:14px}
.card p{margin:0;color:var(--muted);font-size:12px;line-height:1.35}
.tags{margin-top:10px;display:flex;flex-wrap:wrap;gap:6px}
.tag{
  font-size:11px;
  padding:4px 7px;border-radius:999px;
  background: rgba(27,39,80,.55);
  border:1px solid rgba(36,51,95,.55);
  color:rgba(168,179,214,.9);
}
.footer{margin:18px 2px 30px 2px;font-size:12px}
