.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions select {
  padding: 6px;
  border: 1px solid #d8e5dc;
  border-radius: 5px;
  background: white;
  color: #325d44;
  font-size: 11px;
}
.tz {
  font-size: 9px;
}
.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 65px;
  align-items: center;
  max-width: 960px;
  margin: 45px auto 90px;
}
.login-layout h1 {
  line-height: 1.4;
  font-size: 36px;
  max-width: 400px;
}
.login-assurance {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 24px;
}
.login-assurance p {
  font-size: 12px;
  margin-bottom: 15px;
}
.login-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 8px 40px #183c1d05;
}
.login-card h2 {
  margin: 0 0 26px;
}
.login-card label {
  display: block;
  font-size: 12px;
  color: #627668;
  margin: 19px 0 8px;
}
input:not([type="checkbox"]),
select,
textarea {
  max-width: 100%;
  border: 1px solid #d3ded6;
  border-radius: 6px;
  padding: 11px;
  background: white;
  color: #294b36;
}
.login-card input {
  width: 100%;
  min-width: 0;
}
.captcha-row {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}
.captcha-row input {
  width: 46%;
}
.captcha-row button {
  width: 54%;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f6f8f4;
}
.captcha-row img {
  max-width: 100%;
  height: 38px;
  object-fit: contain;
}
#loginStatus,
#setupStatus {
  font-size: 12px;
  line-height: 1.7;
  color: #98684c;
  margin-top: 14px;
}
meter {
  display: block;
  width: 100%;
  height: 5px;
  margin-top: 9px;
  accent-color: var(--green);
}
.device {
  min-width: 0;
}
.device > div {
  flex: 1;
  min-width: 0;
}
.device strong {
  white-space: normal;
}
.device div > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 165px;
}
.setup-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.setup-step strong {
  font-size: 12px;
}
.setup-step p {
  font-size: 11px;
  margin-top: 6px;
}
.setup-step > div {
  flex: 1;
}
.setup-step select {
  font-size: 11px;
  display: block;
  margin-top: 12px;
  width: 100%;
}
.setup-step .button {
  font-size: 11px;
  min-width: 75px;
}
.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.8;
  margin: 20px 0;
  color: #52705d;
}
.check-row input {
  accent-color: var(--green);
  margin-top: 5px;
}
.inline-notice {
  color: #976f42;
  font-size: 12px;
  padding: 10px 0;
}
.empty-card {
  padding: 35px;
  border: 1px dashed #cfddd2;
  border-radius: 11px;
  color: #7b8c80;
  text-align: center;
  font-size: 13px;
  background: #f9fbf8;
}
.record-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 24px;
  margin-bottom: 17px;
}
.record-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.record-heading h3 {
  margin: 0 0 9px;
  font-size: 14px;
}
.record-heading p {
  font-size: 11px;
}
.record-statuses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}
.record-statuses div {
  background: #f7f9f5;
  border-radius: 7px;
  padding: 14px;
}
.record-statuses small {
  display: block;
  color: #8b998e;
  font-size: 10px;
  margin-bottom: 6px;
}
.record-statuses strong {
  font-size: 12px;
  font-weight: 550;
}
.record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.record-actions .button {
  font-size: 11px;
  padding: 9px 12px;
}
.record-error {
  font-size: 11px;
  color: #9d6641;
  margin-top: 12px;
}
.lesson-right {
  max-width: 160px;
}
.lesson-meta span {
  overflow-wrap: anywhere;
}
.segment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
#audioSegments {
  max-height: 280px;
  overflow: auto;
  margin: 18px 0;
}
audio {
  max-width: 100%;
  width: 100%;
  margin-top: 18px;
}
.muted {
  color: #849588;
  font-size: 11px;
}
.setup-state {
  padding: 12px 14px;
  border-radius: 8px;
  background: #edf5f1;
  color: #284f41;
  font-size: 13px;
  line-height: 1.6;
}
.source-state {
  font-weight: 600;
  color: #326951;
}
#readyReason {
  font-size: 13px;
  line-height: 1.6;
}
.danger {
  color: #aa4c3d !important;
}
.full {
  display: block;
}
dialog {
  max-height: calc(100vh - 40px);
  overflow: auto;
}
.status {
  line-height: 1.6;
}
.record-statuses strong {
  overflow-wrap: anywhere;
}
@media (max-width: 1150px) {
  .login-layout {
    gap: 30px;
    grid-template-columns: 1fr 310px;
  }
  .login-layout h1 {
    font-size: 29px;
  }
}
@media (max-width: 800px) {
  .login-layout {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 15px auto 30px;
    gap: 22px;
  }
  .login-assurance {
    display: none;
  }
  .login-layout h1 {
    max-width: none;
  }
  .record-statuses {
    grid-template-columns: 1fr;
  }
  .header-actions {
    margin-left: auto;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .lesson-right {
    max-width: 120px;
  }
  .lesson-main {
    min-width: 0;
  }
  .lesson h3 {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.section-heading h2 > span:first-child {
  padding: 0;
  background: none;
  color: var(--ink);
  font-size: inherit;
  font-weight: inherit;
}
