:root {
  --bg: #0b1020;
  --panel: rgba(13, 18, 37, 0.92);
  --text: #f8fafc;
  --muted: #b8c1d9;
  --border: rgba(255, 255, 255, 0.12);
  font-family: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { min-height: 100vh; }

.shell { min-height: 100vh; padding: 1.25rem; display: grid; gap: 1rem; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 1.25rem; padding: 1rem; }
.hero, .login-panel, .grid, .stats { display: flex; gap: 0.75rem; }
.hero, .stats { justify-content: space-between; align-items: center; }
.grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); }
.side-panel { display: grid; gap: 1rem; align-content: start; }
.map { width: 100%; min-height: 60vh; border-radius: 1rem; overflow: hidden; }
.list { display: grid; gap: 0.75rem; max-height: 60vh; overflow: auto; }
.item, .empty-state { border: 1px solid rgba(255,255,255,0.08); border-radius: 1rem; padding: 1rem; background: rgba(255,255,255,0.03); }
.eyebrow { margin: 0 0 0.35rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; }
.muted { color: var(--muted); }
input, button { border: 1px solid var(--border); border-radius: 0.9rem; padding: 0.8rem 0.9rem; background: rgba(255,255,255,0.06); color: var(--text); }
.ghost-button { border-radius: 999px; }
[data-state='error'] { color: #fca5a5; }
[data-state='success'] { color: #86efac; }

@media (max-width: 700px) {
  .shell { padding: 1rem; }
  .grid { grid-template-columns: 1fr; }
  .hero, .login-panel { flex-direction: column; align-items: stretch; }
}
