@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/manrope-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/manrope-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { color-scheme: dark; font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, sans-serif; background: #070b14; color: #eef2ff; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 15% -10%, #183460 0, transparent 32%), #070b14; }
button, input, textarea { font: inherit; } a { color: #8db9ff; }
.brand { font-weight: 900; letter-spacing: .08em; font-size: 15px; }.brand span { color: #69a6ff; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card, .panel { border: 1px solid #202b42; background: #0d1423e8; box-shadow: 0 30px 90px #0008; border-radius: 18px; }
.auth-card { width: min(440px, 100%); padding: 38px; }.auth-card h1 { margin: 34px 0 8px; font-size: 32px; }
.muted { color: #8d9ab2; line-height: 1.55; }.stack { display: grid; gap: 18px; margin-top: 28px; }
label { display: grid; gap: 8px; color: #bac5d8; font-size: 14px; font-weight: 650; }
input, textarea { width: 100%; border: 1px solid #293650; border-radius: 10px; padding: 12px 13px; background: #090f1c; color: #f7f9ff; outline: none; }
input:focus, textarea:focus { border-color: #5d9df8; box-shadow: 0 0 0 3px #3b82f622; } textarea { resize: vertical; min-height: 110px; }
button { border: 0; border-radius: 10px; padding: 12px 16px; background: #377fe8; color: white; font-weight: 750; cursor: pointer; }
button:hover { background: #4991fa; }.button-ghost { background: transparent; border: 1px solid #2d3a53; padding: 8px 12px; }
.topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1240px)/2)); border-bottom: 1px solid #1c2639; background: #080d17cc; backdrop-filter: blur(16px); }
.user-menu { display: flex; align-items: center; gap: 16px; color: #aeb9cc; }.user-menu form { margin: 0; }
.page { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0; }.hero { display: flex; justify-content: space-between; margin-bottom: 28px; }
.hero h1 { margin: 4px 0 8px; font-size: clamp(32px, 4vw, 48px); }.eyebrow { margin: 0; color: #68a5ff; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; }
.grid { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 20px; align-items: start; }.panel { padding: 24px; }.panel h2 { margin: 0; font-size: 19px; }.panel-wide { min-width: 0; }
.panel-title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }.counter { background: #202b42; border-radius: 99px; padding: 3px 8px; color: #aeb9cc; font-size: 12px; }
.alert { padding: 12px 14px; border-radius: 10px; margin: 18px 0; }.alert-error { background: #431923; color: #ffb2bf; border: 1px solid #6a2433; }.alert-success { background: #123a2c; color: #8ee4bd; border: 1px solid #1e6048; }
.empty { padding: 42px 20px; text-align: center; color: #7f8ba1; border: 1px dashed #293650; border-radius: 12px; }
.table-wrap { overflow-x: auto; } table { border-collapse: collapse; width: 100%; } th, td { padding: 13px 12px; text-align: left; border-bottom: 1px solid #1c273b; white-space: nowrap; } th { color: #77849b; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; } td { color: #b7c2d6; font-size: 14px; } code, .badge { background: #19243a; color: #9fc5ff; padding: 4px 7px; border-radius: 6px; }
.brand-link, .batch-link { color: inherit; text-decoration: none; }.batch-link:hover { color: #8db9ff; }.breadcrumb { display: flex; gap: 10px; color: #718099; font-size: 13px; margin-bottom: 24px; }.breadcrumb a { text-decoration: none; }.hero-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }.batch-grid { grid-template-columns: minmax(320px, 420px) 1fr; }.small { font-size: 13px; }.separator { display: flex; align-items: center; gap: 10px; color: #68758d; font-size: 12px; }.separator::before, .separator::after { content: ''; height: 1px; background: #253149; flex: 1; }.prompt-cell { max-width: 480px; overflow: hidden; text-overflow: ellipsis; }.panel input[type=file] { padding: 9px; color: #8d9ab2; }
.source-panel, .template-panel, .jobs-panel { margin-bottom: 20px; }.step { margin: 0 0 5px; color: #68a5ff; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }.upload-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; margin-bottom: 22px; }.source-preview { max-height: 360px; border: 1px solid #202b42; border-radius: 12px; }.source-preview th { vertical-align: top; background: #10192a; position: sticky; top: 0; z-index: 1; }.column-label { display: block; margin-top: 7px; color: #d1d9e8; font-size: 12px; text-transform: none; letter-spacing: 0; }.variable-chip { width: auto; padding: 6px 9px; border: 1px solid #31568b; background: #142a49; color: #9fc5ff; font-size: 12px; }.variable-chip:hover { background: #1b3a64; }.variables { display: flex; flex-wrap: wrap; gap: 8px; }.variables .variable-chip { display: inline-flex; align-items: center; gap: 8px; }.variables .variable-chip span { color: #a5b0c4; font-weight: 500; }.template-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 24px; }.button-row { display: flex; flex-wrap: wrap; gap: 10px; }.button-secondary { background: #26334b; }.button-generate { background: #1b8c5a; }.button-generate:hover { background: #24a96c; }.test-preview { border-left: 1px solid #263149; padding-left: 24px; }.test-preview h3 { margin: 0 0 16px; }.test-preview article { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid #202b42; }.test-preview article > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #1b2a43; color: #8db9ff; font-size: 11px; }.test-preview article p { margin: 2px 0 0; color: #c2ccdc; line-height: 1.5; white-space: normal; }.jobs-panel { margin-top: 20px; }
.source-toggle { width: 100%; padding: 0; background: transparent; text-align: left; color: inherit; }.source-toggle:hover { background: transparent; }.source-toggle:focus-visible { outline: 2px solid #5d9df8; outline-offset: 8px; }.panel-title-side { display: inline-flex; align-items: center; gap: 12px; }.chevron { display: inline-block; color: #72819b; font-size: 22px; transition: transform .18s ease; }.source-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }.source-panel.is-collapsed .source-toggle { margin-bottom: 0; }.collapsible-body { animation: reveal .18s ease; }.queue-panel { margin-top: 20px; }.queue-panel form { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }.queue-panel .inline-message { flex: 1; } @keyframes reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.inline-message { min-height: 22px; font-size: 13px; color: #8d9ab2; }.inline-message.success { color: #78ddb0; }.inline-message.error { color: #ff9aaa; }.inline-message.loading { color: #8db9ff; } button:disabled { opacity: .55; cursor: wait; }
@media (max-width: 840px) { .grid { grid-template-columns: 1fr; }.topbar { padding: 0 20px; }.user-menu > span { display: none; }.auth-card { padding: 28px; } }
@media (max-width: 840px) { .template-layout, .upload-row { grid-template-columns: 1fr; }.test-preview { border-left: 0; border-top: 1px solid #263149; padding: 20px 0 0; } }
