body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  padding: 16px;
  color: #242424;
  background: #faf9f8;
}

h1 {
  font-size: 18px;
  margin: 0 0 12px 0;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
  font-size: 13px;
  font-family: inherit;
  border: 1px solid #c8c6c4;
  border-radius: 4px;
  resize: vertical;
}

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

.input-row textarea {
  flex: 1;
}

#mic-btn {
  width: 44px;
  flex-shrink: 0;
  font-size: 18px;
  background: #fff;
  color: #242424;
  border: 1px solid #c8c6c4;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 0;
}

#mic-btn.recording {
  background: #c4314b;
  color: #fff;
  border-color: #c4314b;
}

button {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #4361ee;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #354ec9;
}

button:disabled {
  background: #a9b3ec;
  cursor: not-allowed;
}

.status {
  margin-top: 12px;
  font-size: 12px;
  color: #605e5c;
  white-space: pre-wrap;
}

.status.error {
  color: #c4314b;
}

.status.success {
  color: #107c10;
}

#loading-message {
  padding: 16px;
  font-size: 13px;
}
