:root {
  --bg: #f4f6f8;
  --card: #fff;
  --ink: #1c2430;
  --mut: #667085;
  --line: #e4e7ec;
  --acc: #1d4ed8;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.45 "Segoe UI", system-ui, sans-serif; background: var(--bg); color: var(--ink); }
.top { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; background: #111827; color: #fff; }
.brand { color: #fff; text-decoration: none; font-weight: 700; }
nav a { color: #dbeafe; text-decoration: none; margin-left: 16px; }
main { max-width: 1200px; margin: 0 auto; padding: 24px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
input, select, button { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
button { background: var(--acc); color: #fff; border: 0; cursor: pointer; font-weight: 600; }
button:disabled { opacity: .45; cursor: not-allowed; }
.grid { width: 100%; border-collapse: collapse; background: var(--card); }
.grid th, .grid td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.grid tbody tr:hover { background: #eef4ff; }
.grid th.check, .grid td.check { width: 36px; }
.bulk { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 16px; }
.bulk-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag { display: inline-block; background: #e0e7ff; color: #1e3a8a; border-radius: 999px; padding: 2px 8px; font-size: 12px; text-decoration: none; }
.tag-form { display: inline-flex; align-items: center; gap: 0; }
.tag-x { background: transparent; color: #1e3a8a; padding: 0 6px; border: 0; font-size: 16px; }
button.secondary { background: #fff; color: var(--acc); border: 1px solid var(--acc); }
.button-link { display: inline-block; padding: 8px 10px; border-radius: 8px; background: #111827; color: #fff; text-decoration: none; font-weight: 600; }
.plain { list-style: none; padding: 0; }
.plain li { display: flex; gap: 10px; align-items: center; margin: 6px 0; }
.muted { color: var(--mut); }
.flash { background: #ecfdf3; border: 1px solid #bbf7d0; padding: 10px 12px; border-radius: 8px; margin-bottom: 16px; }
.candidate { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.headshot { float: right; width: 120px; height: 120px; object-fit: cover; border-radius: 10px; margin: 0 0 12px 16px; background: #e5e7eb; }
.lede { color: var(--mut); margin-top: 0; }
.facts { display: grid; gap: 14px; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--mut); }
.facts dd { margin: 2px 0 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 16px 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 12px 0; }
.row { display: flex; gap: 8px; }
.inline { display: flex; gap: 8px; align-items: center; margin: 12px 0; }
.pager { margin-top: 16px; display: flex; gap: 12px; align-items: center; }
.capbar { height: 10px; width: 120px; border-radius: 6px; background: #e5e7eb; overflow: hidden; display: inline-block; vertical-align: middle; margin-right: 8px; }
.capbar.wide { width: 160px; display: block; margin: 0 0 6px; }
.capbar > span { display: block; height: 100%; background: #1d4ed8; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 16px 0 20px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.stat strong { display: block; font-size: 22px; }
.stat span { color: var(--mut); font-size: 12px; }
.stat.warn strong { color: #b42318; }
.pill { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 600; background: #e5e7eb; }
.pill.complete { background: #d1fae5; color: #065f46; }
.pill.partial { background: #fef3c7; color: #92400e; }
.pill.queued, .pill.running { background: #dbeafe; color: #1e3a8a; }
.pill.empty { background: #fee2e2; color: #991b1b; }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.issue { max-width: 280px; font-size: 13px; color: #9a3412; }
.checkline { display: inline-flex; align-items: center; gap: 6px; color: var(--mut); }
.grid.sticky thead th { position: sticky; top: 0; background: #fff; z-index: 1; }
a { color: var(--acc); }
.login-wrap { max-width: 420px; margin: 12vh auto; }
.stack { display: grid; gap: 10px; margin-top: 16px; }
.stack label { display: grid; gap: 4px; }
.cmd { white-space: pre-wrap; background: #111827; color: #e5e7eb; padding: 10px; border-radius: 8px; overflow-x: auto; }
