:root {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #0f172a;
  background: radial-gradient(circle at top right, #f0f9ff, #e2e8f0 45%, #cbd5e1 100%);
}

* {
  box-sizing: border-box;
}

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

.shell {
  width: min(900px, 100%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.1rem;
}

p {
  margin: 0;
  line-height: 1.5;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  font-weight: 600;
}

input {
  width: 100%;
  border: 1px solid #94a3b8;
  border-radius: 10px;
  padding: 12px;
  font-size: 1rem;
}

button {
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #f8fafc;
  background: #0f172a;
  cursor: pointer;
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.row input {
  flex: 1;
}

.native-actions {
  border-top: 1px solid #cbd5e1;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hint {
  color: #475569;
  font-size: 0.92rem;
}

.status {
  color: #0f766e;
  font-weight: 600;
  min-height: 24px;
}

.error {
  color: #b91c1c;
  font-weight: 600;
  min-height: 24px;
}

footer {
  border-top: 1px solid #cbd5e1;
  padding-top: 12px;
  color: #334155;
  font-size: 0.92rem;
}

code {
  font-family: "JetBrains Mono", "SFMono-Regular", monospace;
  font-size: 0.85rem;
  color: #334155;
}

@media (max-width: 700px) {
  .row {
    flex-direction: column;
    align-items: stretch;
  }
}
