:root {
  --bg: #04050c;
  --panel: rgba(255,255,255,.045);
  --stroke: rgba(255,255,255,.11);
  --text: #eef1fa;
  --muted: #9aa3bd;
  --blue: #38bdf8;
  --violet: #8b6bff;
  --gold: #f2b84b;
  --green: #34d399;
  --red: #ff8f8f;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 70% 10%, rgba(139,107,255,.18), transparent 34%), var(--bg);
  color: var(--text);
  font-family: Inter, Segoe UI, system-ui, sans-serif;
}
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0; }
.hero { max-width: 760px; margin-bottom: 36px; }
.kicker { color: var(--blue); font: 700 12px/1.4 Consolas, monospace; letter-spacing: .22em; }
h1 { margin: 0; font-size: clamp(2.3rem, 7vw, 4.8rem); line-height: 1; }
.hero p:last-of-type { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
button {
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-weight: 700;
  cursor: pointer;
}
button.secondary {
  color: var(--text);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--stroke);
}
.tool-input {
  display: block;
  width: min(680px, 100%);
  min-height: 205px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255,255,255,.04);
  font: 600 13px/1.6 Consolas, monospace;
  resize: vertical;
}
.helper-note {
  width: min(680px, 100%);
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: .95rem;
}
.helper-note strong { color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.machine {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(16px);
}
.panel, .pipeline {
  opacity: .3;
  transform: translateY(12px);
  transition: .45s ease;
}
.panel.active, .pipeline.active { opacity: 1; transform: none; }
.panel {
  padding: 18px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: var(--panel);
}
.error {
  grid-column: 1 / -1;
  padding: 16px 18px;
  border: 1px solid rgba(255,143,143,.3);
  border-radius: 18px;
  color: #ffd0d0;
  background: rgba(255,143,143,.08);
  font-weight: 700;
}
.label { display: block; margin-bottom: 14px; color: var(--gold); font: 700 11px/1.3 Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.field { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.field span, .hero p { color: var(--muted); }
.field strong { text-align: right; }
.pipeline {
  display: grid;
  grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(56,189,248,.2);
  border-radius: 18px;
  background: rgba(56,189,248,.06);
  font: 700 11px/1.3 Consolas, monospace;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.pipeline i { height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); }
.checks p { margin: 8px 0; color: var(--green); }
.checks .warn { color: var(--gold); }
.check-summary {
  display: block;
  margin-top: 14px;
  color: var(--text);
}
.copy-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 700;
}
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 9px; border-bottom: 1px solid rgba(255,255,255,.09); text-align: left; }
th { color: var(--muted); }
@media (max-width: 760px) {
  .machine { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; gap: 7px; }
  .pipeline i { width: 1px; height: 14px; justify-self: center; }
}
