:root {
  --bg: #0f1419;
  --card: #1a1f29;
  --fg: #e6edf3;
  --muted: #8b949e;
  --accent: #2ea043;
  --danger: #f85149;
  --warn: #d29922;
  --border: #30363d;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
}
header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}
header h1 { margin: 0; font-size: 28px; }
header h1 small { color: var(--muted); font-weight: 400; font-size: 16px; }
.tagline { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 32px;
  display: grid;
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
}
.card h2 { margin-top: 0; font-size: 18px; }
form { display: grid; gap: 12px; max-width: 520px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
input, select, textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 1px solid var(--accent); }
button, .btn-primary {
  background: var(--accent);
  color: white;
  border: none;
  padding: 9px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  width: fit-content;
}
button:hover, .btn-primary:hover { filter: brightness(1.1); }
button.danger { background: var(--danger); }
table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 13px;
}
th, td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}
th { color: var(--muted); font-weight: 500; }
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.badge-DANGER { background: var(--danger); color: white; }
.badge-SUSPICIOUS { background: var(--warn); color: white; }
.badge-LABEL_VERT { background: var(--accent); color: white; }
.badge-SAFE { background: #2a5d8f; color: white; }
.badge-UNKNOWN { background: #444c56; color: white; }
.badge-mod-pending { background: var(--warn); color: white; }
.badge-mod-approved { background: var(--accent); color: white; }
.badge-mod-rejected { background: #444c56; color: white; }
pre {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  overflow-x: auto;
  font-size: 12px;
}
.hint { color: var(--muted); font-size: 12px; margin-top: 8px; }
#add-feedback { color: var(--accent); font-size: 13px; }
#add-feedback.error { color: var(--danger); }
footer { padding: 16px 32px; color: var(--muted); font-size: 12px; text-align: center; }
code { background: var(--bg); padding: 1px 5px; border-radius: 3px; font-size: 12px; }
