* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, "Segoe UI", Arial, sans-serif;
  background: #0f1226;
  color: #1b1f3b;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}
.card {
  background: #fff;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
h1 { margin: 0 0 4px; font-size: 22px; }
.sub { margin: 0 0 20px; color: #6b7080; font-size: 13px; }
label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
input, select {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #d3d7e3;
  border-radius: 9px;
  font: inherit;
  font-weight: 400;
}
.hint { display: block; margin-top: 6px; font-weight: 400; color: #6b7080; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.consent input { width: auto; margin-top: 3px; }
button {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 9px;
  background: #3b46f1;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: #2c36d4; }
.result { margin-top: 16px; padding: 12px 14px; border-radius: 9px; font-size: 14px; }
.result.ok { background: #e7f7ec; color: #15683a; }
.result.error { background: #fdecec; color: #a3261f; }
.debug { margin-top: 16px; font-size: 12px; color: #6b7080; }
.debug pre { background: #f4f5fb; padding: 10px; border-radius: 8px; overflow: auto; }
