:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f6f8;
  color: #1b1d22;
}
body { margin: 0; }
a { color: #0f5f8f; text-decoration: none; }
.topbar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #d9dee6;
  display: flex;
  height: 56px;
  justify-content: space-between;
  padding: 0 24px;
}
.brand { color: #15171a; font-weight: 700; }
nav { align-items: center; display: flex; gap: 18px; }
nav form { margin: 0; }
.container { margin: 0 auto; max-width: 1180px; padding: 24px; }
.grid { align-items: start; display: grid; gap: 20px; grid-template-columns: 360px 1fr; }
.panel {
  background: #fff;
  border: 1px solid #d9dee6;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(20, 26, 35, 0.05);
  padding: 18px;
}
.auth { margin: 60px auto; max-width: 420px; }
h1 { font-size: 22px; margin: 0 0 16px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
input, select {
  border: 1px solid #b8c0cc;
  border-radius: 6px;
  box-sizing: border-box;
  display: block;
  font: inherit;
  margin-top: 6px;
  padding: 9px 10px;
  width: 100%;
}
button, .downloads a {
  background: #17324d;
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  font-weight: 700;
  padding: 9px 13px;
}
.row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
table { border-collapse: collapse; font-size: 14px; width: 100%; }
th, td { border-bottom: 1px solid #e3e7ee; padding: 10px 8px; text-align: left; }
th { color: #4d5765; font-size: 12px; text-transform: uppercase; }
.status { border-radius: 999px; display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 8px; }
.pending { background: #edf1f7; color: #475467; }
.running { background: #fff4d6; color: #7a4b00; }
.completed { background: #e1f7ea; color: #17633a; }
.failed { background: #fde4e2; color: #9b1c1c; }
.log, .error-block {
  background: #111827;
  border-radius: 6px;
  color: #e5e7eb;
  max-height: 460px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
}
.error, .error-block { color: #b42318; }
.notice { background: #e8f3ff; border-radius: 6px; padding: 10px; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .topbar { align-items: flex-start; height: auto; padding: 14px; }
  nav { flex-wrap: wrap; justify-content: flex-end; }
}
