:root {
  --bg: #070a12;
  --panel: #101827;
  --panel-2: #152036;
  --line: #263653;
  --text: #eef3ff;
  --muted: #9aa8c7;
  --accent: #ffb86b;
  --accent-2: #6ee7c7;
  --danger: #ff7387;
  --ok: #6ee7b7;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(142,167,255,.16), transparent 60%),
    radial-gradient(700px 500px at -10% 20%, rgba(110,231,199,.09), transparent 60%),
    linear-gradient(180deg, #070a12, #0c1120);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
}
a { color: var(--accent-2); }
.shell { max-width: 1120px; margin: 0 auto; padding: 42px 20px 70px; }
.hero { max-width: 780px; margin-bottom: 28px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 10px; }
h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.08; margin: 0 0 12px; letter-spacing: -.03em; }
h2 { font-size: 17px; margin: 0 0 14px; }
.lead { color: var(--muted); font-size: 15px; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.card { background: linear-gradient(180deg, rgba(21,32,54,.94), rgba(16,24,39,.96)); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35); min-width: 0; }
label { display: block; color: #cbd5ea; font-size: 12px; font-weight: 700; margin-bottom: 12px; }
input, select, button { font: inherit; width: 100%; }
input, select { margin-top: 6px; background: #0b111d; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
button { margin-top: 4px; border: 0; border-radius: 10px; padding: 11px 14px; background: linear-gradient(120deg, var(--accent), #ffcf96); color: #221606; font-size: 13px; font-weight: 800; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
.hint { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.result { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(7,10,18,.45); font-size: 12.5px; overflow-wrap: anywhere; }
.result strong { color: var(--accent-2); }
.result code { background: #070a12; padding: 2px 5px; border-radius: 5px; }
.result .row { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px solid rgba(38,54,83,.45); }
.result .row:last-child { border-bottom: 0; }
.result .key { color: var(--accent); font-weight: 800; }
.notes { margin-top: 16px; }
.notes ol { margin: 0 0 12px 18px; padding: 0; color: var(--muted); }
.notes li { margin-bottom: 6px; }
.error { color: var(--danger); }
.ok { color: var(--ok); }
.hidden { display: none !important; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }
