:root { --bg:#0f1720; --card:#182430; --ink:#e8eef4; --muted:#9fb0c0;
        --accent:#3ba776; --err:#e2686a; --line:#2a3a4a; }
* { box-sizing:border-box; }
body { margin:0; font:15px/1.5 system-ui,sans-serif; background:var(--bg); color:var(--ink); }
.hidden { display:none !important; }
main { max-width:860px; margin:0 auto; padding:24px 16px 64px; }
header { display:flex; justify-content:space-between; align-items:center; }
h1 { font-size:22px; margin:12px 0; }
h2 { font-size:17px; margin:0 0 12px; }
h3 { font-size:14px; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); margin:20px 0 8px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:20px; margin:16px 0; }
label { display:block; margin:10px 0; }
label.check { display:flex; gap:8px; align-items:center; }
input[type=text], input[type=password], input[type=number], input[type=file] {
  width:100%; margin-top:4px; padding:9px 10px; background:#0e1620; color:var(--ink);
  border:1px solid var(--line); border-radius:8px; }
input[type=checkbox]{ width:auto; }
button { background:var(--accent); color:#04120b; border:0; border-radius:8px;
  padding:10px 16px; font-weight:600; cursor:pointer; margin-top:8px; }
button.ghost { background:transparent; color:var(--muted); border:1px solid var(--line); }
.err { color:var(--err); min-height:1em; }
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; font-size:14px; }
th, td { text-align:left; padding:7px 10px; border-bottom:1px solid var(--line); white-space:nowrap; }
th { color:var(--muted); font-weight:600; }
.review-actions { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.gate { position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:var(--bg); }
.spinner { width:26px; height:26px; border:3px solid var(--line); border-top-color:var(--accent);
  border-radius:50%; animation:spin 1s linear infinite; margin-bottom:10px; }
@keyframes spin { to { transform:rotate(360deg); } }
tr.added td { color:var(--accent); }
tr.ignored td { color:var(--muted); text-decoration:line-through; }
#neg-table td, #comp-table td { vertical-align: middle; }
