:root { color-scheme: light dark; font-family: system-ui, -apple-system, sans-serif; }
[hidden] { display: none !important; }
body { margin: 0 auto; max-width: 900px; padding: calc(env(safe-area-inset-top) + 8px) 12px calc(env(safe-area-inset-bottom) + 12px); }
header { display: flex; justify-content: space-between; align-items: center; }
h1 { font-size: 1.2rem; margin: 8px 0; }
nav { display: flex; gap: 6px; overflow-x: auto; margin: 8px 0; }
nav button { background: transparent; color: inherit; border: 1px solid #8884; }
nav button.active { background: #1f6feb; color: #fff; border-color: #1f6feb; }
input, select, button { font: inherit; padding: 10px; border-radius: 8px; border: 1px solid #8884; min-height: 44px; box-sizing: border-box; }
input, select { background: transparent; color: inherit; }
button { background: #1f6feb; color: #fff; border: 0; cursor: pointer; }
button.danger { background: #c0392b; }
button.ghost { background: transparent; color: inherit; border: 1px solid #8884; }
button.wide { width: 100%; margin-top: 8px; }
.row { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.row > * { flex: 1 1 140px; }
.card { border: 1px solid #8884; border-radius: 12px; padding: 12px; margin: 10px 0; }
.card h3 { margin: 0 0 6px; font-size: 1rem; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .85rem; }
td, th { padding: 6px; border-bottom: 1px solid #8883; text-align: left; vertical-align: top; }
.st-COMPLETE { color: #27ae60; }
.st-REJECTED, .st-ERROR, .st-CANCEL_FAILED { color: #e74c3c; }
.st-SKIPPED { color: #888; }
pre { white-space: pre-wrap; font-size: .75rem; }
.msg { min-height: 1.2em; }
#log-filter { width: 100%; margin-bottom: 8px; }
label { display: block; margin: 6px 0; }