:root{
  --bg0:#070A12;
  --bg1:#0B1020;

  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.12);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted2: rgba(255,255,255,.52);

  --accent:#5865F2;
  --accent2:#7c86ff;

  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 18px;
}

*{ 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";
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(88,101,242,.28), transparent 55%),
    radial-gradient(900px 500px at 85% 30%, rgba(124,134,255,.22), transparent 55%),
    radial-gradient(900px 700px at 50% 100%, rgba(0, 255, 200, .08), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 18px 40px;
}

.hr{
  height:1px;
  background: var(--border);
  margin: 14px 0;
}

/* ===== Topbar ===== */
.topbar{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10,14,28,.55);
  border-bottom: 1px solid var(--border);
}

.topbar-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .2px;
}

.brand-badge{
  width: 36px;
  height: 36px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: rgba(88,101,242,.18);
  border: 1px solid rgba(88,101,242,.35);
}

.brand-title{ font-size: 15px; line-height: 1.1; }
.brand-sub{ font-size: 12px; color: var(--muted2); font-weight: 700; margin-top: 2px; }

.userbox{ display:flex; align-items:center; gap: 12px; }
.userinfo{ text-align:right; line-height: 1.15; }
.userinfo strong{ display:block; font-size: 14px; letter-spacing: .2px; }
.userinfo small{ color: var(--muted2); font-size: 12px; }

.avatar{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

/* links */
.link{
  color: var(--muted);
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.link:hover{
  background: rgba(255,255,255,.06);
  border-color: var(--border);
  color: rgba(255,255,255,.86);
}

/* ===== Panels ===== */
.panel{
  background: linear-gradient(180deg, var(--card2), rgba(255,255,255,.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  padding: 16px;
  overflow:hidden;
}

.panel-head{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 14px;
}

.panel-title{
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .2px;
}
.panel-sub{
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.pill{
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(255,255,255,.9);
  background: rgba(0,255,200,.10);
  border: 1px solid rgba(0,255,200,.18);
}

/* two column grid on top */
.grid-2{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  margin-bottom: 14px;
}

@media (max-width: 900px){
  .grid-2{ grid-template-columns: 1fr; }
}

/* ===== Stats ===== */
.stats-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 520px){
  .stats-grid{ grid-template-columns: 1fr; }
}

.stat{
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.stat-k{ font-size: 12px; color: var(--muted2); font-weight: 800; }
.stat-v{ font-size: 18px; font-weight: 950; margin-top: 6px; letter-spacing: .2px; }
.stat-h{ font-size: 12px; color: var(--muted); margin-top: 4px; font-weight: 700; }

/* meter */
.meter{ margin-top: 10px; }
.meter-row{ display:flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.meter-label{ font-size: 12px; color: var(--muted2); font-weight: 900; }
.meter-value{ font-size: 12px; color: var(--muted); font-weight: 800; }

.bar{
  margin-top: 10px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
}
.bar-fill{
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 30px rgba(88,101,242,.35);
}

.meter-foot{
  display:flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.warn{
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 200, 0, .08);
  border: 1px solid rgba(255, 200, 0, .18);
  color: rgba(255,255,255,.86);
  font-weight: 800;
  font-size: 12px;
}

/* Quick actions */
.quick-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 520px){
  .quick-grid{ grid-template-columns: 1fr; }
}

.quick{
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.quick:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
}
.quick-t{ font-weight: 950; letter-spacing: .2px; }
.quick-s{ margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 700; }

.note{
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

/* ===== Subdomain tiles ===== */
.search{
  min-width: 320px;
}
@media (max-width: 640px){
  .search{ min-width: 0; width: 100%; }
}

.search input{
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  outline: none;
  font-weight: 800;
}
.search input::placeholder{ color: rgba(255,255,255,.45); font-weight: 800; }
.search input:focus{
  border-color: rgba(88,101,242,.55);
  box-shadow: 0 0 0 4px rgba(88,101,242,.12);
}

.tiles{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.tile{
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 28px rgba(0,0,0,.24);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
  position:relative;
  overflow:hidden;
}
.tile:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04));
}

.tile-top{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.til
