:root {
  --ink: #1a1a2e;
  --muted: #6b7280;
  --accent: #0f766e;
  --warn: #b45309;
  --border: #e5e7eb;
  --bg: #f9fafb;
}
* { box-sizing: border-box; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  margin: 0;
  padding: 24px;
}
.wrap { max-width: 760px; margin: 0 auto; }
h1 { font-size: 22px; margin-bottom: 4px; }
p.sub { color: var(--muted); margin-top: 0; }
input, select, button {
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
input, select { width: 100%; margin-bottom: 10px; background: white; }
button {
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
button:hover { opacity: 0.9; }
button.secondary { background: white; color: var(--ink); border: 1px solid var(--border); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}
.filters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.result {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.result:last-child { border-bottom: none; }
.result .name { font-weight: 600; }
.result .meta { color: var(--muted); font-size: 13px; }
.result a { color: var(--accent); text-decoration: none; }
.badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #fef3c7;
  color: var(--warn);
  margin-left: 6px;
}
.warning-row { font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.error { color: #b91c1c; font-size: 14px; margin: 8px 0; }
.stat { display: inline-block; margin-right: 18px; font-size: 14px; }
.stat b { font-size: 20px; display: block; }
