:root {
  --bg: #0b0d1a;
  --panel: #141829;
  --line: #2a3050;
  --text: #e8eaf6;
  --muted: #9aa3c7;
  --accent: #7c5cff;
  --accent2: #22d3ee;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.55 "Outfit", "Segoe UI", system-ui, sans-serif;
}
h1, h2, h3 { font-family: "Space Grotesk", "Outfit", sans-serif; line-height: 1.2; }
code { color: var(--accent2); }
.muted { color: var(--muted); }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.top nav a { color: var(--muted); margin-left: 18px; text-decoration: none; }
.top nav a:hover { color: var(--text); }
main { max-width: 1100px; margin: 0 auto; padding: 24px; }
.hero h1 { font-size: 2rem; margin: 12px 0 8px; }
.hero p { color: var(--muted); max-width: 760px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-top: 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
input, select {
  background: #0e1222; color: var(--text); border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 10px; font: inherit;
}
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
button {
  background: linear-gradient(90deg, var(--accent), var(--accent2)); color: #06070d;
  border: 0; border-radius: 10px; padding: 11px 20px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
button:disabled { opacity: .6; cursor: progress; }
#status { color: #fca5a5; }
.result { margin-top: 28px; }
.result h2 { font-size: 1.5rem; margin-top: 8px; }
.result h3 { margin-top: 24px; font-size: 1.1rem; }
.scroll { overflow-x: auto; margin: 10px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 500; }
footer a { color: var(--accent2); }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 30px 24px; border-top: 1px solid var(--line); margin-top: 40px; }
