body {
  font-family: Inter, -apple-system, "Segoe UI", sans-serif;
  margin: 0;
  padding: 20px;
  color: #eee9df;
  background: #0c100f;
}

header, .actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.eyebrow, .state {
  font: 600 9px/1.2 ui-monospace, "SFMono-Regular", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow { color: #bfc99b; }
.state { color: #e28c78; }
.state.connected { color: #87d59f; }

h1 {
  font-size: 30px;
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 500;
  margin: 24px 0 12px;
}

.lede {
  font-size: 13px;
  line-height: 1.55;
  color: #aeb5af;
  margin: 0 0 22px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 7px;
}

label span { color: #7e8780; font-weight: 400; }

textarea, input[type="url"], input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 13px;
  color: #eee9df;
  background: #151a18;
  padding: 10px;
  border: 1px solid #303833;
  border-radius: 2px;
}

textarea {
  resize: vertical;
}

textarea:focus, input:focus {
  outline: 1px solid #bfc99b;
  border-color: #bfc99b;
}

details {
  border: 1px solid #303833;
  border-radius: 2px;
  padding: 10px 12px 14px;
  margin-bottom: 20px;
  background: #111613;
}

summary {
  cursor: pointer;
  color: #bfc99b;
  font-size: 12px;
  font-weight: 600;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aeb5af;
  font-weight: 400;
  font-size: 12px;
}

button {
  margin-top: 8px;
  padding: 8px 16px;
  border: 1px solid #bfc99b;
  border-radius: 2px;
  background: #bfc99b;
  color: #0c100f;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

button.secondary { background: transparent; color: #eee9df; border-color: #3b443f; }

button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

#status {
  font-size: 12px;
  color: #aeb5af;
  margin-top: 8px;
  min-height: 16px;
}

#status.error {
  color: #e28c78;
}

#answer {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 13px;
  background: #151a18;
  border: 1px solid #303833;
  border-radius: 2px;
  padding: 12px;
  margin-top: 8px;
  max-height: 240px;
  overflow-y: auto;
}
