:root {
  --bg: #090909;
  --bg-elev: #111111;
  --bg-accent: #151515;
  --text: #f5f5f5;
  --muted: #b6b6b6;
  --line: #232323;
  --highlight: #ff3b3b;
  --link: #6ee7ff;
}

* {
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at top, #141414 0%, #0b0b0b 45%, #050505 100%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  min-height: 100vh;
}

a {
  color: var(--link);
}

.hero-shell {
  background: transparent;
}

.hero-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.nav-links {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-links a {
  color: var(--link);
}

.title,
.subtitle {
  color: var(--text);
}

.subtitle {
  opacity: 0.7;
}


.search-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.label {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.input,
.select select {
  background: #0f0f0f;
  border-color: var(--line);
  color: var(--text);
}

.input::placeholder {
  color: #6b6b6b;
}

.button.is-link {
  background: var(--highlight);
  border: none;
  color: #fff;
  font-weight: 600;
}

.button.is-dark {
  background: #1d1d1d;
  border: 1px solid #2a2a2a;
  color: var(--text);
}

.button.is-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0 1rem;
}

.result-count {
  font-size: 1rem;
  font-weight: 600;
}

.result-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.results {
  display: grid;
  gap: 1rem;
}

.result-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.result-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.result-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.result-snippet {
  color: #dedede;
  font-size: 0.9rem;
  line-height: 1.5;
}

.result-snippet mark {
  background: rgba(255, 59, 59, 0.2);
  color: #fff;
}

.result-snippet.muted {
  color: #777;
}

.result-actions {
  flex-shrink: 0;
}

.pagination-bar {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.status-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.25rem;
}

.status-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.status-value {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.status-muted {
  color: var(--muted);
  font-size: 0.85rem;
}

.status-list {
  margin-top: 2rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
}

.status-subtitle {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.table {
  background: transparent;
  color: var(--text);
}

.table thead th {
  color: var(--muted);
}

.table.is-striped tbody tr:not(.is-selected):nth-child(even) {
  background: #101010;
}

.empty-state {
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 768px) {
  .result-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-meta {
    width: 100%;
  }

  .pill {
    margin: 0.35rem 0.35rem 0 0;
  }
}
