:root {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --bg: #020617;
  --panel: rgba(2, 6, 23, 0.55);
  --panel2: rgba(15, 23, 42, 0.9);
  --border: rgba(148, 163, 184, 0.14);
  --muted: #94a3b8;
  --text: #e8eef6;
  --green: #22c55e;
  --cyan: #38bdf8;
  --blue: #2563eb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, #1e293b 0%, transparent 60%),
    radial-gradient(800px 500px at 80% 10%, #0f766e 0%, transparent 55%),
    var(--bg);
}

header {
  /* position: sticky; */
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(10px);
}

.wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 16px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-start;
}

h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
  margin-top: 12px;
}

.card {
  flex: 1;
  min-width: 260px;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.65), rgba(15, 23, 42, 0.9));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.big {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
}

.controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

select {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.15s ease, filter 0.15s ease;
}

button:hover { transform: translateY(-1px); filter: brightness(1.05); }

button.secondary {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  color: var(--text);
}

button.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);
}

button.install {
  background: linear-gradient(135deg, var(--green), #4ade80);
  color: #052e16;
  box-shadow: 0 10px 22px rgba(34, 197, 94, 0.35);
}

.badge {
  font-size: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
  background: linear-gradient(135deg, #0f766e, var(--green));
  color: #ecfeff;
  border: none;
}

.grid {
  margin-top: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(8px);
}

th, td {
  padding: 10px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.10);
  text-align: left;
  vertical-align: middle;
  font-size: 13.5px;
}

th {
  background: rgba(15, 23, 42, 0.85);
  color: #cbd5e1;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

tr:hover { background: rgba(148, 163, 184, 0.06); }

tr.today {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.22), rgba(34, 197, 94, 0.05));
  border-left: 4px solid var(--green);
  font-weight: 800;
}

.footer {
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.hint {
  color: #cbd5e1;
  font-size: 12.5px;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: #cbd5e1;
}