:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f4f6;
  color: #1f2937;
}

* { box-sizing: border-box; }

body {
  display: grid;
  min-height: 100vh;
  margin: 0;
  place-items: center;
  padding: 20px;
}

.phone {
  width: min(100%, 420px);
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgb(15 23 42 / 10%);
}

.eyebrow {
  margin: 0 0 8px;
  color: #6b7280;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 { margin: 0 0 8px; font-size: 28px; }
.note, .hint { color: #6b7280; font-size: 14px; line-height: 1.45; }
.hint { margin-bottom: 0; font-size: 12px; }

.status-line { display: flex; align-items: center; gap: 8px; margin: 20px 0; font-size: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #9ca3af; }
.dot-ok { background: #16a34a; }
.dot-busy { background: #f59e0b; }
.dot-error { background: #dc2626; }

label { display: block; margin-bottom: 7px; color: #4b5563; font-size: 13px; font-weight: 600; }
input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 18px;
  outline: none;
}
input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgb(37 99 235 / 15%); }

.actions { display: flex; gap: 10px; margin-top: 14px; }
button {
  flex: 1;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
button:disabled { cursor: not-allowed; opacity: .5; }
.primary { background: #2563eb; color: #fff; }
.secondary { background: #e5e7eb; color: #374151; }
.error { min-height: 20px; margin-bottom: 0; color: #b91c1c; font-size: 13px; }
