.patient-home .hero-media {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-media .hero-sound {
  padding: 16px;
  border: 1px solid #1e4243;
  border-radius: 12px;
  background: #244c4d;
  color: #fff8e8;
  font: 14px/1.45 var(--sans, Arial, sans-serif);
}
.hero-sound-heading, .hero-sound-controls, .hero-sound-volume {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-sound-heading { justify-content: space-between; margin-bottom: 7px; }
.hero-sound-heading label { margin: 0; font-size: 16px; font-weight: 650; color: inherit; }
.hero-sound-heading span, .hero-sound .hero-sound-status { color: #d9ebe4; }
.hero-sound-picker { position: relative; margin: 0 0 10px; }
.hero-sound-picker::after {
  content: "";
  position: absolute;
  right: 16px;
  top: calc(50% - 5px);
  width: 7px;
  height: 7px;
  border: solid #244c4d;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  pointer-events: none;
}
.hero-sound select {
  display: block;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 38px 8px 12px;
  border: 1px solid #fff8e8;
  border-radius: 7px;
  background-color: #fff8e8;
  color: #244c4d;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}
.hero-sound-controls button {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #b5d6c9;
  border-radius: 7px;
  font: inherit;
  font-weight: 600;
}
.hero-sound-play { background: #e7cc8d; color: #173739; }
.hero-sound-stop { background: transparent; color: #fff8e8; }
.hero-sound-controls button:disabled { color: #d9ebe4; background: #31565a; border-color: #7ea5a2; cursor: default; }
.hero-sound-controls button:not(:disabled):hover { box-shadow: inset 0 0 0 1px currentColor; }
.hero-sound-volume { flex: 1 1 150px; flex-wrap: nowrap; margin: 0; min-height: 44px; font: inherit; color: inherit; }
.hero-sound-volume input { flex: 1; width: 100%; min-width: 50px; height: 32px; color-scheme: dark; accent-color: #b5d6c9; cursor: pointer; }
.hero-sound-volume output { min-width: 32px; font-variant-numeric: tabular-nums; text-align: right; }
.hero-sound .hero-sound-status { margin: 7px 0 0; font-size: 14px; line-height: 1.4; }
.hero-sound :is(button, input, select):focus-visible { outline: 3px solid #f1c873; outline-offset: 3px; }
@media (max-width: 600px) {
  .patient-home .hero-media { max-width: 430px; align-self: center; gap: 12px; }
  .hero-media .hero-sound { padding: 14px; }
}
@media (forced-colors: active) {
  .hero-sound select { appearance: auto; }
  .hero-sound-picker::after { display: none; }
}
@media print { .hero-sound { display: none !important; } }
