html, body {
  height: 100%;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #0b0d10;
  color: #e8eef6;
}

.topbar {
  position: sticky;
  top: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #0f1318;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.title { font-weight: 700; }
.status { opacity: 0.8; font-size: 12px; }

.container {
  padding: 14px;
}

a { color: #9ad1ff; text-decoration: none; }
a:hover { text-decoration: underline; }

.grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 14px;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
}

.card {
  background: #0f1318;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

button {
  background: #1a2430;
  color: #e8eef6;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
button:hover { background: #223044; }
button:disabled { opacity: 0.5; cursor: default; }

input, select {
  background: #0b0d10;
  color: #e8eef6;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 8px 10px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table th, .table td {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 8px 8px;
  vertical-align: top;
}
.table th {
  text-align: left;
  position: sticky;
  top: 0;
  background: #0f1318;
  z-index: 3;
}
.table thead tr:nth-child(2) td {
  position: sticky;
  top: 34px;
  background: #0f1318;
  z-index: 2;
}
.muted { opacity: 0.75; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.chart {
  width: 100%;
  height: 420px;
}
