:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #23352f;
  background: #f4f5ef;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
main {
  max-width: 860px;
  margin: auto;
  padding: 32px 24px;
}
header,
.result-heading,
.text-label,
.submit-row,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header {
  padding-bottom: 30px;
  border-bottom: 1px solid #d9dfd4;
}
.brand {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -1px;
}
.brand span {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: #596a61;
}
.badge {
  background: #e2e9d9;
  border-radius: 5px;
  padding: 7px 10px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.intro {
  margin: 44px 0 30px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #64735c;
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(32px, 6vw, 46px);
  font-weight: 600;
  letter-spacing: -2px;
  margin: 0;
}
h1 span {
  color: #6a893b;
}
.intro > p:last-child {
  color: #637168;
  line-height: 1.6;
}
.panel {
  background: #fff;
  border: 1px solid #dce2d6;
  border-radius: 14px;
  padding: 28px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 9px;
}
input,
select,
textarea,
button {
  font: inherit;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd6cb;
  border-radius: 7px;
  color: inherit;
  background: #fff;
  padding: 12px;
  font-size: 14px;
}
select {
  min-height: 44px;
}
textarea {
  resize: vertical;
  min-height: 145px;
  line-height: 1.7;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #708e48;
  outline-offset: 3px;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 7px;
  padding: 13px 20px;
  color: #fff;
  background: #284b3b;
  font-size: 14px;
  font-weight: 600;
}
button:hover {
  background: #3a614a;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
.secondary {
  background: #eef1e9;
  color: #3d5745;
  border: 1px solid #dce2d6;
  white-space: nowrap;
}
.secondary:hover {
  background: #e2e9da;
}
.grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}
.voice-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 22px;
}
.voice-row > div {
  flex: 1;
  min-width: 0;
}
.hint {
  font-size: 12px;
  line-height: 1.6;
  color: #6c786f;
  margin: 8px 0 0;
}
#voice-hint {
  min-height: 20px;
  margin-bottom: 25px;
}
.text-label {
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.text-label label {
  margin: 0;
}
.text-button {
  background: none;
  border: 0;
  color: #456a40;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 0;
  cursor: pointer;
}
.text-button:hover {
  background: none;
  text-decoration: underline;
}
.samples {
  display: flex;
  gap: 14px;
}
.count {
  text-align: right;
  margin-bottom: 20px;
}
.optional {
  color: #6c786f;
  font-weight: 400;
  margin-left: 5px;
}
.submit-row {
  margin-top: 25px;
}
#speak span {
  margin-left: 18px;
}
#status {
  font-size: 13px;
  margin: 18px 0 0;
  line-height: 1.6;
}
#status:empty {
  display: none;
}
.error {
  color: #a33030 !important;
}
.result {
  margin-top: 18px;
  background: #f9fbf5;
}
.result-heading {
  align-items: flex-start;
}
#result-label {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
audio {
  width: 100%;
  margin-top: 20px;
  height: 42px;
}
footer {
  margin-top: 26px;
  justify-content: flex-start;
  font-size: 11px;
  color: #758174;
}
footer span {
  color: #9eaa99;
}
.footer-note {
  margin-left: auto;
}
.login-row {
  display: flex;
  gap: 12px;
}
.login-row input {
  min-width: 0;
}
@media (max-width: 580px) {
  main {
    padding: 22px 16px;
  }
  .intro {
    margin-top: 30px;
  }
  .panel {
    padding: 20px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .voice-row {
    flex-wrap: wrap;
  }
  .voice-row > div {
    flex-basis: 100%;
  }
  .secondary {
    padding: 8px 12px;
    font-size: 12px;
  }
  .result-heading,
  .submit-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-note {
    display: none;
  }
}
