:root {
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  color: #0b1220;
  background-color: #f6f7fb;
}

body {
  margin: 20px;
  line-height: 1.45;
  background: var(--body-bg, #f6f7fb);
  color: var(--body-fg, #0b1220);
}

.card {
  background: white;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(11, 18, 32, 0.06);
  max-width: 920px;
  margin: auto;
}

h1 {
  margin: 0 0 10px;
  font-size: 20px;
}

input[type="file"] {
  display: block;
  margin: 8px 0 16px;
}

.muted {
  color: #64748b;
  font-size: 13px;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #0b4bff;
  margin-right: 8px;
  font-weight: 600;
}

.warning {
  color: #7a2b00;
  background: #fff3cd;
  padding: 8px;
  border-radius: 6px;
}

.ok {
  color: green;
  font-weight: 700;
}

.error {
  color: #c92a2a;
  font-weight: 700;
}

.inline {
  display: inline-block;
}

#progress {
  height: 8px;
  background: #e6eef8;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 8px;
}

#progress > i {
  display: block;
  background: #0b4bff;
  height: 100%;
  width: 0%;
}

.small {
  font-size: 13px;
  color: #334155;
}

.nav-header {
  margin-bottom: 16px;
}
.nav-header a {
  text-decoration: none;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-header a:hover {
  color: #0b4bff;
  text-decoration: underline;
}
