* { box-sizing: border-box; }
body { font-family: -apple-system, system-ui, sans-serif; margin: 0; background: #f4f6f8; color: #1f2933; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; background: #1f2933; color: #fff; }
.topbar a { color: #fff; text-decoration: none; margin-right: 16px; }
.topbar .user { margin-right: 12px; opacity: 0.8; }
.topbar button.link { background: none; border: none; color: #fff; cursor: pointer; font-size: 1em; }
.container { max-width: 1100px; margin: 24px auto; padding: 0 24px; }
.card { background: #fff; border: 1px solid #e1e5ea; border-radius: 6px; padding: 16px; margin-bottom: 16px; }
.card h2, .card h3 { margin-top: 0; }
form label { display: block; margin: 8px 0; }
form input[type=text], form input[type=email], form input[type=password], form input[type=number], form select, form textarea {
  display: block; width: 100%; padding: 8px; border: 1px solid #cbd2d9; border-radius: 4px; font-size: 1em;
}
form button { padding: 8px 16px; background: #2563eb; color: #fff; border: none; border-radius: 4px; cursor: pointer; }
form button:hover { background: #1d4ed8; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.inline-form input, .inline-form select { width: auto; flex: 1; min-width: 120px; }
table.data { width: 100%; border-collapse: collapse; background: #fff; }
table.data th, table.data td { padding: 8px 12px; text-align: left; border-bottom: 1px solid #e1e5ea; }
.stats { display: flex; gap: 16px; margin-bottom: 24px; }
.stat { flex: 1; text-align: center; }
.stat-num { font-size: 2.5em; font-weight: bold; }
.stat-label { color: #66757f; }
.flash { padding: 12px; border-radius: 4px; margin-bottom: 16px; }
.flash-success { background: #d1fae5; color: #065f46; }
.flash-error { background: #fee2e2; color: #991b1b; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 0.85em; background: #e1e5ea; }
.badge-completed, .badge-low { background: #d1fae5; color: #065f46; }
.badge-running, .badge-medium { background: #fef3c7; color: #92400e; }
.badge-failed, .badge-high, .badge-critical { background: #fee2e2; color: #991b1b; }
.badge-queued, .badge-info { background: #dbeafe; color: #1e40af; }
.btn { display: inline-block; padding: 8px 16px; background: #2563eb; color: #fff; text-decoration: none; border-radius: 4px; }
