:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f4f7fb;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.shell { width: min(720px, calc(100% - 32px)); margin: 48px auto; }
.card { background: white; border: 1px solid #e4eaf2; border-radius: 18px; padding: 28px; margin-bottom: 18px; box-shadow: 0 10px 30px rgba(25, 45, 80, .06); }
.hero { background: linear-gradient(135deg, #edf5ff, #ffffff 70%); }
.eyebrow { margin: 0 0 10px; color: #3478c8; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
h1 { margin: 0; font-size: clamp(28px, 5vw, 42px); letter-spacing: -.04em; }
.intro { color: #5d6a7f; line-height: 1.7; margin: 14px 0 0; }
label { display: block; font-weight: 700; margin: 18px 0 8px; }
input, select { width: 100%; border: 1px solid #ccd6e4; border-radius: 10px; padding: 12px 13px; font: inherit; background: white; }
input:focus, select:focus { outline: 3px solid #d7eaff; border-color: #4185d4; }
.grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
button { width: 100%; border: 0; border-radius: 10px; padding: 13px 16px; margin-top: 24px; color: white; background: #1769c2; font: inherit; font-weight: 800; cursor: pointer; }
button:hover { background: #12559f; }
button:disabled { opacity: .6; cursor: wait; }
.hint { margin: 8px 0 0; color: #718097; font-size: 13px; line-height: 1.5; }
.message { min-height: 22px; margin-top: 16px; color: #526177; line-height: 1.5; }
.message.success { color: #167448; }
.message.error { color: #b42318; }
.hidden { display: none; }
.status-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 14px; color: #68768b; }
code { color: #253957; word-break: break-all; }
.progress { height: 10px; overflow: hidden; margin: 22px 0 12px; border-radius: 99px; background: #e8eef6; }
.progress > div { height: 100%; width: 0; border-radius: inherit; background: #4185d4; transition: width .4s ease; }
.progress > .done { background: #20a464; }
.progress > .failed { background: #d92d20; }
.job-status { margin: 0; font-weight: 800; }
footer { text-align: center; color: #778398; font-size: 13px; padding: 4px 0 24px; }
@media (max-width: 600px) { .shell { margin: 20px auto; } .card { padding: 22px; } .grid { grid-template-columns: 1fr; gap: 0; } }
