:root { --fg: #111; --muted: #555; --border: #ddd; --accent: #1d4ed8; --error: #b91c1c; --ok: #16a34a; }
* { box-sizing: border-box; }
body { font-family: -apple-system, system-ui, Segoe UI, sans-serif; color: var(--fg); margin: 0; line-height: 1.5; }
header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; border-bottom: 1px solid var(--border); }
header .brand { font-weight: 700; color: var(--fg); text-decoration: none; }
nav a { margin-left: 1rem; color: var(--accent); text-decoration: none; }
main { max-width: 800px; margin: 2rem auto; padding: 0 1rem; }
h1 { font-size: 1.6rem; margin-top: 0; }
h2 { font-size: 1.2rem; margin-top: 2rem; }
form label { display: block; margin: 1rem 0; }
form input[type="text"], form input[type="password"], form input[type="file"] { display: block; margin-top: 0.25rem; padding: 0.5rem; width: 100%; max-width: 400px; border: 1px solid var(--border); border-radius: 4px; }
button, .button { display: inline-block; padding: 0.6rem 1.1rem; background: var(--accent); color: #fff; border: 0; border-radius: 4px; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { opacity: 0.9; }
table.jobs { width: 100%; border-collapse: collapse; }
table.jobs th, table.jobs td { padding: 0.5rem; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.95rem; }
.status { padding: 0.1rem 0.5rem; border-radius: 4px; font-size: 0.85rem; }
.status-queued { background: #fef3c7; }
.status-running { background: #dbeafe; }
.status-done { background: #dcfce7; }
.status-failed { background: #fee2e2; }
.error { color: var(--error); }
.copyable { background: #f8fafc; border: 1px solid var(--border); border-radius: 4px; padding: 0.6rem; cursor: pointer; }
.copyable.copied::after { content: " ✓ copied"; color: var(--ok); }
.pager { margin-top: 1rem; }
.pager a { margin-right: 1rem; }
