.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check input {
  width: auto;
  min-width: 20px;
  min-height: 20px;
}
:root {
  font-family: system-ui, sans-serif;
  color: #e8edf3;
  background: #0b1320;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 880px;
  margin: auto;
  padding: 32px 20px;
}
h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  margin: 12px 0;
}
h2 {
  font-size: 1.1rem;
}
p {
  line-height: 1.6;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #8ad9be;
}
section {
  border: 1px solid #334257;
  border-radius: 16px;
  background: #152033;
  padding: 22px;
  margin: 20px 0;
}
label {
  display: block;
  margin: 14px 0 8px;
  font-weight: 600;
}
select,
input {
  max-width: 100%;
  width: 100%;
  font: inherit;
  padding: 12px;
  border: 1px solid #617089;
  border-radius: 8px;
  background: #0b1320;
}
button {
  font: inherit;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #60728b;
  border-radius: 9px;
  background: #24354c;
  color: inherit;
  cursor: pointer;
}
button:hover:not(:disabled) {
  background: #36516d;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #8ad9be;
  outline-offset: 3px;
}
#sample {
  background: #28705a;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.note {
  color: #b1bed0;
  font-size: 0.86rem;
}
#status {
  color: #8ad9be;
  overflow-wrap: anywhere;
}
body[data-state="error"] #status {
  color: #ffb6b1;
}
#transcript {
  min-height: 64px;
  font-size: 1.25rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
}
progress {
  width: 100%;
}
@media (max-width: 420px) {
  main {
    padding: 16px 12px;
  }
  section {
    padding: 16px;
  }
  .actions button {
    flex: 1 1 140px;
  }
}
