.cannot-speak-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.cannot-speak-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cannot-speak-button:focus-visible,
.silent-self-assessment button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.82);
  outline-offset: 3px;
}

.cannot-speak-button-home {
  width: fit-content;
  min-height: 34px;
  margin-top: 4px;
  padding: 0 12px;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
}

.user-transcript .missing-token::after {
  content: "…";
  color: #ffd166;
  font-size: 1em;
  line-height: 1;
}

.practice-surface > .cannot-speak-button-lesson {
  position: absolute;
  z-index: 10;
  top: 68px;
  right: 22px;
  width: auto;
  height: auto;
  align-self: auto;
  justify-self: auto;
  color: rgba(255, 255, 255, 0.88);
}

body.mode-silent .practice-surface > .cannot-speak-button-lesson {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

body.is-correct .practice-surface > .cannot-speak-button-lesson,
body.is-wrong .practice-surface > .cannot-speak-button-lesson,
body.awaiting-next .practice-surface > .cannot-speak-button-lesson,
body.awaiting-retry .practice-surface > .cannot-speak-button-lesson {
  display: none;
}

.lesson-text-answer,
.chunk-builder {
  display: none !important;
}

body.mode-silent .voice-stage {
  height: var(--voice-stage-height);
  min-height: var(--voice-stage-height) !important;
}

body.mode-silent .mic-button {
  display: inline-flex !important;
  cursor: default;
  filter: saturate(0.72);
}

body.mode-silent .mic-button:hover {
  transform: none;
}

body.mode-silent .mic-button .mic-icon {
  display: none;
}

body.mode-silent .mic-button .face-mouth {
  top: 58%;
  width: 52%;
  height: 0;
  border: 0;
  border-top: 6px solid #151050;
  border-radius: 999px;
}

body.mode-silent .mic-button .face-mouth::after {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
  width: 100%;
  height: 12px;
  background: repeating-linear-gradient(90deg, transparent 0 7%, #151050 7% 11%, transparent 11% 18%);
}

.silent-self-assessment {
  width: min(100%, 440px);
  margin: 16px auto 2px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.silent-self-assessment[hidden] {
  display: none !important;
}

.silent-self-assessment p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.silent-self-assessment-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.silent-self-assessment button {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: #171315;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.silent-self-assessment button:last-child {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.silent-self-assessment button strong {
  font-size: 1.35rem;
  line-height: 1;
}

@media (max-width: 520px) {
  .practice-surface > .cannot-speak-button-lesson {
    top: 68px;
    right: 16px;
    min-height: 44px;
    padding-inline: 14px;
  }

  .silent-self-assessment {
    padding: 14px;
  }
}
