/* Dark theme, trimmed from src/review_ui/templates/review.html. Kept
   deliberately small — real review UI styling will land with the
   review.html port (Stage 1 TODO). */

:root {
  --bg: #1e1e1e;
  --panel: #2a2a2a;
  --border: #3a3a3a;
  --text: #e5e5e5;
  --muted: #888;
  --accent: #5aa2ee;
  --accept: #2e7d32;
  --high-solid: #c62828;
  --medium-solid: #f57c00;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

header {
  padding: 14px 20px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

h1 { font-size: 18px; margin: 0 0 4px; font-weight: 500; }

main.stack {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 20px;
}

.section-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.muted { color: var(--muted); }
.small { font-size: 13px; }

.row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  flex-wrap: wrap;
}

.mode-pick {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
}

textarea {
  width: 100%;
  background: #1a1a1a;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12.5px;
  line-height: 1.4;
  resize: vertical;
}

button {
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: #333;
  color: var(--text);
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
button:hover { background: #404040; }
button.primary {
  background: var(--accept);
  border-color: var(--accept);
}
button.primary:hover { background: #3a9a3e; }

.summary {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
}

.results {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 12.5px;
}
.results th, .results td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}
.results th {
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.results td.cat {
  white-space: nowrap;
  color: #ff8a80;
}
.results td.txt {
  max-width: 320px;
  color: var(--text);
  word-break: break-word;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}
.results td.range { color: var(--muted); white-space: nowrap; }
.results td.cite { color: var(--muted); font-size: 11.5px; }

code {
  background: #1a1a1a;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 12px;
}
