﻿:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #132238;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: linear-gradient(180deg, #f5f7fb 0%, #edf2f7 100%); }
.shell { max-width: 1080px; margin: 0 auto; padding: 24px; display: grid; gap: 20px; }
.hero { display: grid; gap: 16px; grid-template-columns: 1.6fr 1fr; align-items: stretch; }
.eyebrow { margin: 0 0 8px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: #5b6b7c; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.05; }
.lede { margin: 12px 0 0; max-width: 58ch; color: #405264; font-size: 1.02rem; line-height: 1.6; }
.status-card, .panel, .preview { background: rgba(255,255,255,0.82); backdrop-filter: blur(10px); border: 1px solid rgba(19,34,56,0.08); border-radius: 20px; box-shadow: 0 18px 40px rgba(31,52,86,0.08); }
.status-card { padding: 20px; display: grid; gap: 10px; align-content: center; }
.status-label { color: #5b6b7c; font-size: 0.9rem; }
.status-value { font-size: 1.2rem; font-weight: 700; }
.status-value.ready { color: #0f7a3c; }
.status-value.pending { color: #a06200; }
.status-value.error { color: #b42318; }
.status-help { margin: 0; color: #56677a; line-height: 1.5; }
.panel { padding: 20px; display: grid; gap: 18px; }
.tabs { display: inline-flex; gap: 8px; background: #e8eef6; padding: 6px; border-radius: 14px; width: fit-content; }
.tab { border: 0; background: transparent; padding: 10px 16px; border-radius: 10px; font-weight: 700; color: #4e6278; cursor: pointer; }
.tab.active { background: white; color: #0f172a; box-shadow: 0 6px 18px rgba(15,23,42,0.08); }
.form { display: grid; gap: 18px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: grid; gap: 8px; font-weight: 600; color: #26384d; }
input, select { width: 100%; border: 1px solid #cdd8e5; border-radius: 14px; padding: 13px 14px; font: inherit; background: white; color: #102033; }
input[readonly] { background: #f7f9fc; }
input:focus, select:focus, button:focus { outline: 3px solid rgba(59,130,246,0.22); outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
button { border: 0; border-radius: 14px; padding: 13px 18px; font: inherit; font-weight: 700; cursor: pointer; background: #1148ff; color: white; }
button.secondary { background: #dbe4f0; color: #18324d; }
.preview { padding: 18px 20px; }
.preview h2 { margin: 0 0 10px; font-size: 1rem; }
pre { margin: 0; overflow: auto; background: #0f172a; color: #dbeafe; padding: 14px; border-radius: 14px; min-height: 110px; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 780px) {
  .hero, .grid { grid-template-columns: 1fr; }
  .shell { padding: 16px; }
}
