:root {
  --bg: #111827;
  --card: #1f2937;
  --field: #111827;
  --border: #4b5563;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --link: #93c5fd;
  --error: #fca5a5;
}
* { box-sizing: border-box; }
body {
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  max-width: 720px;
  margin: 4vh auto;
  padding: 0 16px;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--link); }
header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.brand {
  display: inline-flex;
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  line-height: 0;
}
.brand img { height: 48px; width: auto; max-width: 200px; object-fit: contain; }
.title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.card { padding: 20px; background: var(--card); border-radius: 12px; }
label { display: block; margin-bottom: 6px; }
textarea, input, button { font: inherit; border-radius: 8px; padding: 11px; }
textarea, input {
  width: 100%;
  background: var(--field);
  color: #fff;
  border: 1px solid var(--border);
}
textarea { min-height: 240px; resize: vertical; }
button {
  background: var(--accent);
  color: #fff;
  border: 0;
  cursor: pointer;
  margin-top: 12px;
}
button:hover:not(:disabled) { background: var(--accent-hover); }
button:disabled { opacity: .6; cursor: default; }
.muted { color: var(--muted); font-size: .92rem; }
.error { color: var(--error); }
.secret {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #030712;
  border-radius: 8px;
  padding: 16px;
  font: 15px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  margin: 0;
}
code { background: var(--field); padding: 1px 5px; border-radius: 4px; }
footer { margin-top: 16px; color: var(--muted); }
[hidden] { display: none !important; }
select {
  font: inherit;
  border-radius: 8px;
  padding: 11px;
  background: var(--field);
  color: #fff;
  border: 1px solid var(--border);
}
.row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; align-items: flex-end; }
.row .grow { flex: 1 1 220px; }
