:root { --fg:#1f2937; --muted:#6b7280; --line:#d1d5db; --bg:#f9fafb; --accent:#1d4ed8; }
* { box-sizing: border-box; }
body { margin:0; font:16px/1.5 system-ui, sans-serif; color:var(--fg); background:var(--bg); }
header { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; padding:.6rem 1.25rem; background:#111827; color:#fff; }
header a { color:#e5e7eb; text-decoration:none; margin-right:.9rem; }
header a:hover { color:#fff; text-decoration:underline; }
header nav { flex:1; }
.brand { margin-right:.5rem; }
main { max-width:64rem; margin:0 auto; padding:1rem 1.25rem 3rem; }
a { color:var(--accent); }
h1 { font-size:1.6rem; } h2 { font-size:1.2rem; }
.muted { color:var(--muted); }
.pre { white-space:pre-line; }
form.inline { display:inline; }
button, .button { display:inline-block; padding:.35rem .8rem; border:1px solid var(--accent); border-radius:6px; background:var(--accent); color:#fff; font:inherit; text-decoration:none; cursor:pointer; }
button:hover, .button:hover { filter:brightness(1.1); }
header button { background:transparent; border-color:#6b7280; }
input, select, textarea { font:inherit; padding:.3rem .5rem; border:1px solid var(--line); border-radius:6px; max-width:100%; }
textarea { width:100%; font-family:ui-monospace, monospace; }
form label { margin-right:.75rem; }
table { border-collapse:collapse; width:100%; background:#fff; }
th, td { text-align:left; padding:.45rem .7rem; border-bottom:1px solid var(--line); vertical-align:top; }
th { background:#f3f4f6; }
pre, .box { background:#fff; border:1px solid var(--line); border-radius:6px; padding:.6rem; overflow-x:auto; }
.messages { list-style:none; padding:0; margin:.75rem auto 0; max-width:64rem; }
.message { padding:.6rem .9rem; border-radius:6px; margin:0 1.25rem .5rem; background:#dbeafe; border:1px solid #93c5fd; }
.message.success { background:#dcfce7; border-color:#86efac; }
.message.error, .errorlist li { background:#fee2e2; border-color:#fca5a5; }
.errorlist { list-style:none; padding:0; color:#991b1b; }
.cards { display:grid; grid-template-columns:repeat(auto-fill, minmax(18rem, 1fr)); gap:1rem; margin-top:1rem; }
.card { background:#fff; border:1px solid var(--line); border-radius:8px; padding:.9rem 1rem; }
.card h2 { margin:.1rem 0; }
.tag { display:inline-block; padding:0 .5rem; border-radius:999px; background:#e5e7eb; font-size:.85rem; }
.badge { display:inline-block; padding:.05rem .6rem; border-radius:999px; font-size:.85rem; font-weight:600; background:#e5e7eb; color:#374151; }
.badge-running { background:#dcfce7; color:#166534; }
.badge-queued, .badge-deploying { background:#fef3c7; color:#92400e; }
.badge-failed { background:#fee2e2; color:#991b1b; }
.badge-stopped, .badge-not_deployed { background:#e5e7eb; color:#4b5563; }
