:root {
  --bg: #0d1117;
  --panel: #161b22;
  --panel-2: #1f2630;
  --border: #2a3340;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #58a6ff;
  --active: #3fb950;
  --idle: #d29922;
  --dormant: #8b949e;
  --blocked: #f85149;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
}
.wrap { max-width: 1280px; margin: 0 auto; padding: 24px; }
header { border-bottom: 1px solid var(--border); background: var(--panel); }
header h1 { font-size: 20px; margin: 0 0 8px; }
header .muted { color: var(--muted); font-weight: 400; }
.counts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pill {
  background: var(--panel-2); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 999px; font-size: 12px; color: var(--muted);
}
.pill.active { color: var(--active); border-color: rgba(63,185,80,.35); }
.pill.idle { color: var(--idle); border-color: rgba(210,153,34,.35); }
.pill.dormant { color: var(--muted); }
.now { margin-left: auto; font-size: 11px; }
.muted { color: var(--muted); }
.small { font-size: 12px; font-weight: 400; }

main { padding-top: 12px; }
.cat { margin: 24px 0; }
.cat h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; font-weight: 600; }
.grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  display: block; text-decoration: none; color: inherit;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 14px 12px;
  transition: border-color .12s ease, transform .12s ease, background .12s ease;
}
.card:hover { border-color: var(--accent); background: var(--panel-2); transform: translateY(-1px); }
.card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.card-head h3 { font-size: 15px; margin: 0; flex: 1; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dormant); flex-shrink: 0; }
.status-active .status-dot { background: var(--active); box-shadow: 0 0 6px rgba(63,185,80,.5); }
.status-idle .status-dot { background: var(--idle); }
.status-dormant .status-dot { background: var(--dormant); }
.status-blocked .status-dot { background: var(--blocked); }
.desc { font-size: 13px; color: var(--muted); margin: 0 0 10px; line-height: 1.45; }
.card-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.card-meta .kind { background: var(--panel-2); padding: 2px 8px; border-radius: 4px; }
.card-meta .owner { color: var(--accent); }
.card-meta .touched { margin-left: auto; }
footer { border-top: 1px solid var(--border); margin-top: 32px; }
footer p { margin: 0; }
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }
code { background: var(--panel-2); padding: 1px 6px; border-radius: 3px; font-size: 12px; }
