:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #070b12; color: #f5f7fb; display: grid; place-items: center; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 20% 0%, rgba(69, 120, 255, .16), transparent 34%), radial-gradient(circle at 88% 22%, rgba(0, 230, 194, .10), transparent 28%); }
.shell { width: min(980px, calc(100% - 32px)); padding: 54px 0 38px; position: relative; }
header { margin-bottom: 28px; }
.eyebrow, .label { color: #8ea0ba; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
h1 { font-size: clamp(36px, 6vw, 62px); line-height: .98; margin: 10px 0 14px; letter-spacing: -.045em; }
header p, footer { color: #9da9bc; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card, .panel { border: 1px solid #1f2a3a; background: rgba(12, 18, 28, .82); box-shadow: 0 22px 60px rgba(0,0,0,.28); }
.card { border-radius: 18px; padding: 22px; min-height: 150px; }
.card.accent { background: linear-gradient(145deg, rgba(35, 69, 142, .32), rgba(12, 18, 28, .84)); }
.metric { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.metric span { font-size: clamp(38px, 5vw, 56px); font-weight: 760; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.metric small { color: #93a4bd; font-size: 14px; }
.sub { margin-top: 8px; color: #75849a; font-size: 13px; }
.panel { border-radius: 22px; margin-top: 14px; padding: 22px; }
.panel-head, .status-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.panel-head strong { display: block; margin-top: 5px; font-size: 18px; }
button { border: 1px solid #334158; color: #eaf0fb; background: #131c29; border-radius: 10px; padding: 10px 14px; font: inherit; cursor: pointer; }
button:hover { background: #192538; }
button:disabled { opacity: .45; cursor: default; }
.samples { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; height: 115px; align-items: end; margin: 28px 0 16px; }
.sample { min-height: 4px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #65e6d0, #4f7dff); transition: height .2s ease; position: relative; }
.sample::after { content: attr(data-value); position: absolute; bottom: calc(100% + 5px); left: 50%; transform: translateX(-50%); font-size: 9px; color: #788aa3; opacity: 0; transition: opacity .15s; }
.sample:hover::after { opacity: 1; }
.progress { height: 7px; background: #101722; border-radius: 999px; overflow: hidden; }
.progress div { width: 0; height: 100%; background: linear-gradient(90deg, #4f7dff, #65e6d0); transition: width .25s ease; }
.status-row { margin-top: 10px; color: #8190a7; font-size: 12px; }
footer { margin-top: 18px; font-size: 12px; text-align: center; }
@media (max-width: 700px) { .cards { grid-template-columns: 1fr; } .card { min-height: 126px; } .samples { gap: 3px; } }

.js-errors { margin-top: 16px; border: 1px solid #713c48; background: #241319; border-radius: 14px; padding: 14px; color: #ffd9df; }
.js-errors[hidden] { display: none; }
.js-errors-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.js-errors-head strong { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.js-errors-head button { padding: 6px 10px; border-color: #75404c; background: #321820; }
.js-error-list { display: grid; gap: 8px; }
.js-error-item { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: rgba(0,0,0,.2); border-radius: 8px; padding: 9px 10px; }
