:root {
  --bg: #121214; --panel: #1c1c20; --panel2: #24242a; --line: #33333b;
  --text: #ececf0; --muted: #9a9aa6; --red: #e41e1e; --red2: #ff4040;
  --yellow: #ffc81e; --green: #2ecc71; --radius: 10px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }
header.top { display: flex; align-items: center; gap: 16px; padding: 10px 20px; background: #0b0b0d; border-bottom: 3px solid var(--red); flex-wrap: wrap; }
header.top .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); letter-spacing: .3px; }
header.top .brand img { width: 40px; height: 40px; }
header.top nav { display: flex; gap: 14px; flex-wrap: wrap; flex: 1; }
header.top nav a { color: var(--muted); font-weight: 600; }
header.top nav a.on, header.top nav a:hover { color: var(--text); text-decoration: none; }
header.top .who { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
header.top .who img { width: 28px; height: 28px; border-radius: 50%; }
main { max-width: 1100px; margin: 0 auto; padding: 20px 16px 60px; }
h1 { font-size: 24px; margin: 6px 0 16px; }
h2 { font-size: 18px; margin: 28px 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.flash { background: var(--panel2); border-left: 4px solid var(--yellow); padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.stat { font-size: 30px; font-weight: 800; }
.hero { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; background: linear-gradient(90deg, #2a0d0d, var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 18px; }
.hero .wk { font-size: 28px; font-weight: 800; }
.hero .spacer { flex: 1; }
table { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: var(--panel2); color: var(--muted); font-weight: 600; font-size: 13px; }
tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
button, .btn { display: inline-block; background: var(--red); color: #fff; border: 0; border-radius: 8px; padding: 8px 14px; font-weight: 700; cursor: pointer; font-size: 14px; }
button:hover, .btn:hover { background: var(--red2); text-decoration: none; }
button.ghost, .btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
button.ghost:hover { border-color: var(--muted); }
button.small { padding: 4px 10px; font-size: 13px; }
button.danger { background: #5a1414; }
form.inline { display: inline; }
input, select { background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 14px; max-width: 100%; }
label { display: block; margin: 10px 0 4px; color: var(--muted); font-size: 13px; }
label.check { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.pill { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--panel2); }
.pill.ok { background: #143d24; color: #7ee2a5; }
.pill.needs_login { background: #4a3a08; color: var(--yellow); }
.pill.error { background: #4a1212; color: #ff8a8a; }
.pill.running { background: #183049; color: #8cc4ff; }
.pill.admin { background: #4a1212; color: #ffb3b3; }
.pill.pending { background: #4a3a08; color: var(--yellow); }
pre.log { background: #0b0b0d; border: 1px solid var(--line); border-radius: 8px; padding: 12px; overflow-x: auto; font-size: 12px; white-space: pre-wrap; }
.center { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.center .box { max-width: 380px; }
.center img.logo { width: 180px; height: 180px; }
.google { background: #fff; color: #222; display: inline-flex; gap: 10px; align-items: center; padding: 10px 18px; }
.google:hover { background: #eee; }
code { background: var(--panel2); padding: 1px 6px; border-radius: 5px; font-size: 13px; }
.days { display: flex; gap: 6px; flex-wrap: wrap; }
.days label { margin: 0; display: flex; gap: 4px; align-items: center; color: var(--text); }
