:root {
  --bg: #0e0e11;
  --panel: #15151b;
  --border: #2a2a33;
  --text: #e6e6eb;
  --muted: #9a9aa6;
  --accent: #14589d;
}

* {
  box-sizing: border-box;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* OTHER ------------------------------------ */

body {
  background: var(--bg);
  color: var(--text);
  padding: 24px;
  max-width: 1020px;
  margin: auto;
}

.row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.field {
  position: relative;
  flex: 1;
}

.field input {
  width: 100%;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 10px 6px;
  border-radius: 6px;
  outline: none;
}

.field label {
  position: absolute;
  top: 50%;
  left: 10px;
  color: var(--muted);
  font-size: 13px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: 0.05s ease;
  background: var(--panel);
  padding: 0 4px;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: 0;
  font-size: 11px;
  color: var(--accent);
}

button {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0 16px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

button:hover {
  border-color: var(--accent);
}

pre {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 6px;
  height: 260px;
  overflow-y: auto;
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

sub {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}
