* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f5f3ed;
  color: #242820;
  font:
    16px/1.5 system-ui,
    sans-serif;
}
main {
  max-width: 1120px;
  margin: auto;
  padding: 36px 24px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
header a {
  color: inherit;
}
h1 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  margin: 8px 0;
}
h2 {
  font-size: 23px;
}
p {
  color: #5b6156;
}
section {
  background: white;
  border: 1px solid #dedfd7;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
input,
select,
button {
  font: inherit;
  border: 1px solid #b8beb2;
  border-radius: 9px;
  padding: 10px 13px;
}
input,
select {
  max-width: 100%;
  background: white;
  color: #242820;
}
button {
  cursor: pointer;
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.secondary {
  background: white;
  color: var(--accent);
}
:focus-visible {
  outline: 3px solid #c99636;
  outline-offset: 3px;
}
.row {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
.field {
  flex: 1;
  min-width: 150px;
}
.field input,
.field select {
  width: 100%;
}
.scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid #e7e9e2;
  vertical-align: top;
}
th {
  color: #5b6156;
  font-weight: 600;
}
td input {
  width: 110px;
}
td button {
  white-space: nowrap;
}
#status {
  min-height: 24px;
  white-space: pre-wrap;
}
#status.error {
  color: #a02929;
}
.muted {
  font-size: 13px;
  color: #646b5e;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
audio {
  max-width: 260px;
}
#workspace[hidden] {
  display: none;
}
@media (max-width: 600px) {
  main {
    padding: 24px 14px;
  }
  section {
    padding: 18px;
  }
  header {
    align-items: start;
  }
  th,
  td {
    padding: 12px 8px;
  }
  .row button {
    width: 100%;
  }
}
