.voice-lab-page {
  background: #f7f3f0;
  color: #211a27;
}

/* Final typography and micro-interaction pass for women 40+. */
.voice-lab-page,
.resource-page,
.voice-lab-page button,
.voice-lab-page input,
.voice-lab-page textarea,
.resource-page button,
.resource-page input,
.resource-page select,
.resource-page textarea {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.voice-lab-hero {
  min-height: 420px;
}

.voice-lab-hero-copy {
  width: min(610px, 52%);
  padding: 48px 0;
}

.voice-lab-hero h1 {
  max-width: 13ch;
  font-size: 3.7rem;
  line-height: 1.04;
}

.voice-lab-workspace {
  padding: 42px 0 64px;
}

.voice-progress-copy > span,
.voice-warmup > span,
.voice-target > span,
.voice-script-editor > span,
.voice-manual-label > span,
.workbook-compare span,
.workbook-entry header span,
.library-type {
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
}

.voice-day-button {
  min-height: 68px;
  padding: 11px;
}

.voice-day-button strong {
  font-size: 1rem;
}

.voice-day-button small,
.voice-day-status {
  font-size: 0.88rem;
  line-height: 1.35;
}

.voice-lab-context dd,
.voice-privacy-note,
.voice-practice-footer p {
  font-size: 0.98rem;
  line-height: 1.58;
}

.voice-method-bank {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(58, 32, 59, .12);
}

.voice-method-bank h2 {
  margin: 0;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.voice-method-bank > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.voice-exercise-list {
  display: grid;
  gap: 7px;
}

.voice-exercise-list details {
  border: 1px solid rgba(58, 32, 59, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .58);
}

.voice-exercise-list summary {
  padding: 11px 12px;
  color: var(--plum);
  cursor: pointer;
  font-weight: 800;
}

.voice-exercise-list details p {
  margin: 0;
  padding: 0 12px 12px;
  color: var(--muted);
  line-height: 1.55;
}

.mirror-mode-switch button {
  min-height: 50px;
  font-size: 0.98rem;
  font-weight: 720;
}

.mirror-phrase-options button {
  font-size: 0.98rem;
  line-height: 1.4;
}

.resource-hero {
  padding: 44px 0 40px;
}

.resource-hero h1,
.access-gate h1,
.resource-form-wrap h1 {
  font-size: 3rem;
  line-height: 1.1;
}

.resource-page > .section {
  padding-top: 46px;
  padding-bottom: 64px;
}

.workbook-summary span,
.membership-grid article > span {
  font-size: 0.92rem;
  line-height: 1.4;
}

.workbook-entry header time,
.workbook-entry header small {
  margin-top: 3px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.workbook-entry label {
  display: grid;
  gap: 7px;
  color: #4c434d;
  font-weight: 700;
}

.workbook-entry [data-save-status] {
  min-height: 22px;
  color: #32705f;
  font-size: 0.94rem;
  font-weight: 700;
}

.library-item {
  display: flex;
  flex-direction: column;
}

.library-item p,
.membership-grid p {
  min-height: 0;
  font-size: 1rem;
  line-height: 1.62;
}

.library-item .button,
.library-release {
  align-self: flex-start;
  margin-top: auto;
}

.membership-grid article {
  display: flex;
  min-height: 280px;
  flex-direction: column;
}

.membership-grid article > strong {
  margin-top: auto;
  padding-top: 18px;
  color: #7b5420;
  font-size: 1.08rem;
}

.resource-tabs button,
.mirror-mode-switch button,
.mirror-phrase-options button,
.voice-day-button {
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.resource-tabs button:focus-visible,
.mirror-mode-switch button:focus-visible,
.mirror-phrase-options button:focus-visible,
.voice-day-button:focus-visible {
  outline: 3px solid rgba(216, 168, 79, 0.62);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .voice-lab-hero {
    min-height: 460px;
    background-position: 38% center;
  }

  .voice-lab-hero-copy {
    padding: 150px 0 36px;
  }

  .voice-lab-hero h1,
  .resource-hero h1,
  .access-gate h1,
  .resource-form-wrap h1 {
    font-size: 2.25rem;
  }

  .resource-hero {
    padding: 32px 0 30px;
  }

  .workbook-entry {
    padding: 17px;
  }
}

/* Membership, workbook and resident archive */
.access-expiry-notice {
  padding: 10px 24px;
  border-bottom: 1px solid rgba(190, 143, 60, 0.28);
  background: #fff8e9;
  color: #4f4029;
  font-size: 0.92rem;
  text-align: center;
}

.access-expiry-notice a {
  color: #7b5420;
  font-weight: 700;
}

.lab-access-note,
.membership-current {
  padding: 13px 16px;
  border-left: 3px solid #bf8d38;
  background: #fff9ef;
  color: #51483e;
  line-height: 1.55;
}

.voice-day-button.is-locked,
.voice-day-button:disabled,
.mirror-mode-switch button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.mirror-mode-fields {
  margin: 0;
  padding: 16px;
  border: 1px solid #ded8cf;
  border-radius: 6px;
  background: #fbfaf7;
}

.mirror-mode-fields[hidden] {
  display: none;
}

.mirror-mode-fields legend {
  padding: 0 6px;
  color: #3d313f;
  font-weight: 700;
}

.mirror-phrase-options {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.mirror-phrase-options button {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #d7cdbc;
  border-radius: 6px;
  background: #fff;
  color: #403840;
  font: inherit;
  text-align: left;
}

.mirror-phrase-options button[aria-pressed="true"] {
  border-color: #4d8b78;
  background: #edf7f2;
}

.resource-page {
  min-height: 72vh;
  background: #f5f2f3;
  color: #302733;
}

.resource-hero {
  padding: 52px 0 46px;
  border-bottom: 1px solid rgba(89, 72, 91, 0.16);
  background: linear-gradient(100deg, #f9f5ed 0%, #eef5f1 54%, #f3e9ec 100%);
}

.resource-hero h1,
.access-gate h1,
.resource-form-wrap h1 {
  max-width: 820px;
  margin: 5px 0 10px;
  color: #302533;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.resource-hero p,
.access-gate p {
  max-width: 760px;
  color: #655d66;
  font-size: 1.04rem;
  line-height: 1.65;
}

.access-gate {
  max-width: 780px;
  margin: 60px auto;
  padding: 34px;
  border: 1px solid #ded7d9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(56, 42, 57, 0.08);
}

.workbook-summary,
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.workbook-summary > div,
.membership-grid article {
  padding: 22px;
  border: 1px solid #ded7d9;
  border-radius: 8px;
  background: #fff;
}

.workbook-summary strong {
  display: block;
  color: #9b6735;
  font-size: 2rem;
}

.workbook-summary span,
.membership-grid article > span {
  color: #756e75;
  font-size: 0.84rem;
}

.workbook-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid #d8d2d4;
  border-radius: 8px;
  background: #d8d2d4;
}

.workbook-compare > div {
  padding: 20px;
  background: #fbfaf8;
}

.workbook-compare span,
.workbook-entry header span,
.library-type {
  color: #9a6d31;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.resource-tabs {
  display: flex;
  gap: 4px;
  margin: 26px 0 14px;
  padding: 4px;
  border: 1px solid #ded8db;
  border-radius: 7px;
  background: #ebe7e9;
}

.resource-tabs button {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #514852;
  font: inherit;
  font-weight: 700;
}

.resource-tabs button[aria-selected="true"] {
  background: #fff;
  box-shadow: 0 2px 8px rgba(45, 34, 47, 0.08);
}

.workbook-list {
  display: grid;
  gap: 12px;
}

.workbook-entry {
  padding: 20px;
  border: 1px solid #ddd7da;
  border-radius: 8px;
  background: #fff;
}

.workbook-entry header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.workbook-entry header time,
.workbook-entry header small {
  display: block;
  color: #7a7379;
  font-size: 0.8rem;
}

.workbook-entry form {
  display: grid;
  gap: 10px;
}

.workbook-entry textarea,
.workbook-entry input,
.resource-form-wrap input,
.resource-form-wrap textarea,
.resource-form-wrap select {
  width: 100%;
  padding: 12px;
  border: 1px solid #d7d0d4;
  border-radius: 6px;
  background: #fff;
  color: #332b34;
  font: inherit;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.library-item {
  min-height: 260px;
  padding: 24px;
  border: 1px solid #dcd6d8;
  border-radius: 8px;
  background: #fff;
}

.library-item.is-locked {
  background: #efeced;
}

.library-item h2,
.membership-grid h2 {
  margin: 12px 0;
  font-size: 1.32rem;
  letter-spacing: 0;
}

.library-item p,
.membership-grid p {
  min-height: 76px;
  color: #6d656d;
  line-height: 1.55;
}

.library-release {
  color: #4c7f70;
  font-weight: 700;
}

.membership-current {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.membership-grid article.is-featured {
  border-color: #b98b43;
  box-shadow: inset 0 4px 0 #b98b43;
}

.membership-note {
  max-width: 760px;
  margin: 24px 0;
  color: #706871;
}

.resource-form-wrap {
  max-width: 760px;
}

.inline-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.inline-check input {
  width: auto;
}

@media (max-width: 820px) {
  .workbook-summary,
  .membership-grid,
  .library-grid,
  .workbook-compare {
    grid-template-columns: 1fr;
  }

  .workbook-entry header,
  .membership-current {
    align-items: flex-start;
    flex-direction: column;
  }

  .access-gate {
    margin: 24px auto;
    padding: 22px;
  }
}

.voice-lab-hero {
  position: relative;
  min-height: min(570px, 70vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #17121e url("../assets/game_menu_chakra_path.png") center / cover no-repeat;
}

.voice-lab-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 12, 24, 0.24);
  pointer-events: none;
}

.voice-lab-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.voice-lab-hero-copy {
  width: min(570px, 46%);
  margin-left: auto;
  padding: 68px 0 62px;
}

.voice-lab-hero h1 {
  max-width: 10ch;
  margin: 8px 0 16px;
  font-family: var(--font-body);
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.voice-lab-hero-copy > p:not(.eyebrow) {
  max-width: 52ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.7;
}

.voice-lab-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.voice-lab-workspace {
  padding: 52px 0 72px;
}

.voice-lab-layout {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) minmax(200px, 245px);
  gap: 28px;
  align-items: start;
}

.voice-day-rail,
.voice-lab-context {
  position: sticky;
  top: 92px;
}

.voice-day-rail,
.voice-practice-column,
.voice-lab-context {
  min-width: 0;
}

.voice-progress-copy {
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(58, 32, 59, 0.14);
}

.voice-progress-copy > span,
.voice-warmup > span,
.voice-target > span,
.voice-script-editor > span,
.voice-manual-label > span {
  display: block;
  color: #756a78;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.voice-progress-copy strong {
  display: block;
  margin-top: 5px;
  font-size: 1.18rem;
}

.voice-progress-track {
  height: 7px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 4px;
  background: #ded8dc;
}

.voice-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: #287c68;
  transition: width 220ms ease;
}

.voice-day-list {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.voice-day-button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0 10px;
  width: 100%;
  min-height: 62px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #403746;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.voice-day-button > span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: #4f8ea2;
  font-weight: 900;
}

.voice-day-button strong {
  align-self: end;
  font-size: 0.96rem;
}

.voice-day-button small {
  margin-top: 2px;
  color: #817784;
}

.voice-day-button:hover,
.voice-day-button.is-active {
  border-color: rgba(79, 142, 162, 0.34);
  background: #fff;
}

.voice-day-button.is-complete > span {
  background: #287c68;
}

.voice-practice-tool {
  scroll-margin-top: 92px;
  overflow: hidden;
  border: 1px solid rgba(58, 32, 59, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(38, 22, 44, 0.1);
}

.voice-practice-head,
.voice-practice-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 25px 28px;
}

.voice-practice-head {
  border-bottom: 1px solid rgba(58, 32, 59, 0.1);
}

.voice-practice-head h2 {
  margin: 4px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: 0;
}

.voice-day-status {
  max-width: 180px;
  color: #287c68;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: right;
}

.voice-practice-goal {
  margin: 0;
  padding: 22px 28px 0;
  color: #655b68;
  font-size: 1.08rem;
  line-height: 1.65;
}

.voice-warmup {
  margin: 22px 28px;
  padding: 18px 20px;
  border-left: 4px solid #d8a84f;
  background: #fbf6eb;
}

.voice-warmup p {
  margin: 6px 0 0;
  line-height: 1.6;
}

.voice-script-editor {
  display: block;
  margin: 0 28px 22px;
}

.voice-script-editor textarea,
.voice-manual-label textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid #cfc6ce;
  border-radius: 6px;
  color: #211a27;
  background: #fff;
  font: inherit;
  line-height: 1.55;
  resize: vertical;
}

.voice-recording-zone {
  margin: 0 28px 28px;
  padding: 24px;
  border: 1px solid rgba(79, 142, 162, 0.28);
  border-radius: 8px;
  background: #f2f7f8;
}

.voice-lab-target strong {
  display: block;
  max-width: 30ch;
  margin-top: 7px;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.35;
}

.voice-lab-meter {
  height: 12px;
  margin: 22px 0;
  overflow: hidden;
  border-radius: 6px;
  background: #d4e2e5;
}

.voice-lab-meter span {
  display: block;
  width: 8%;
  height: 100%;
  background: #4f8ea2;
  transition: width 80ms linear;
}

.voice-lab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.voice-feedback {
  margin-top: 16px;
  line-height: 1.55;
}

.voice-feedback p {
  margin: 0;
}

.voice-feedback span {
  display: block;
  margin-top: 5px;
}

.voice-manual-label {
  display: block;
  margin-top: 18px;
}

.voice-practice-footer {
  border-top: 1px solid rgba(58, 32, 59, 0.1);
  background: #fcfaf8;
}

.voice-practice-footer p {
  max-width: 48ch;
  margin: 0;
  color: #756a78;
  line-height: 1.55;
}

.voice-lab-context {
  padding-left: 22px;
  border-left: 1px solid rgba(58, 32, 59, 0.14);
}

.voice-lab-context h2 {
  margin: 7px 0 18px;
  font-size: 1.4rem;
}

.voice-lab-context dl,
.voice-lab-context dd {
  margin: 0;
}

.voice-lab-context dl {
  display: grid;
  gap: 15px;
}

.voice-lab-context dt {
  color: #287c68;
  font-weight: 900;
}

.voice-lab-context dd {
  margin-top: 3px;
  color: #756a78;
  font-size: 0.92rem;
  line-height: 1.5;
}

.voice-privacy-note {
  margin: 22px 0 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(58, 32, 59, 0.12);
  color: #655b68;
  font-size: 0.9rem;
  line-height: 1.55;
}

.voice-lab-context > a {
  color: #7c3045;
  font-weight: 850;
}

.mirror-mode-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 22px;
}

.mirror-mode-switch button {
  min-height: 48px;
  padding: 9px 11px;
  border: 1px solid rgba(79, 142, 162, 0.28);
  border-radius: 6px;
  color: #4d4350;
  background: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.mirror-mode-switch button[aria-pressed="true"] {
  border-color: #4f8ea2;
  color: #fff;
  background: #4f8ea2;
}

.emotion-custom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 9px;
}

.emotion-custom-row input {
  min-width: 0;
}

@media (max-width: 1080px) {
  .voice-lab-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .voice-lab-context {
    position: static;
    grid-column: 2;
    padding: 22px 0 0;
    border-top: 1px solid rgba(58, 32, 59, 0.14);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .voice-lab-hero {
    min-height: 590px;
    background-position: 34% center;
  }

  .voice-lab-hero::after {
    background: rgba(17, 12, 24, 0.58);
  }

  .voice-lab-hero-copy {
    width: 100%;
    margin: 0;
    padding: 250px 0 42px;
  }

  .voice-lab-hero h1 {
    font-size: 2.7rem;
  }

  .voice-lab-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .voice-day-rail,
  .voice-lab-context {
    position: static;
  }

  .voice-day-list {
    display: flex;
    width: 100%;
    max-width: calc(100vw - 32px);
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .voice-day-button {
    flex: 0 0 190px;
    scroll-snap-align: start;
  }

  .voice-lab-context {
    grid-column: auto;
  }

  .voice-practice-head,
  .voice-practice-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 21px 20px;
  }

  .voice-day-status {
    max-width: none;
    text-align: left;
  }

  .voice-practice-goal {
    padding: 20px 20px 0;
  }

  .voice-warmup,
  .voice-recording-zone {
    margin-right: 20px;
    margin-left: 20px;
  }

  .voice-recording-zone {
    padding: 19px;
  }

  .voice-script-editor {
    margin-right: 20px;
    margin-left: 20px;
  }

  .mirror-mode-switch {
    grid-template-columns: 1fr;
  }
}

/* Cascade lock: final trainer and resource-page values. */
.voice-lab-hero {
  min-height: 420px;
}

.voice-lab-hero-copy {
  width: min(610px, 52%);
  padding: 48px 0;
}

.voice-lab-hero h1 {
  max-width: 13ch;
  font-size: 3.7rem;
  line-height: 1.04;
}

.voice-lab-workspace {
  padding: 42px 0 64px;
}

.voice-progress-copy > span,
.voice-warmup > span,
.voice-target > span,
.voice-script-editor > span,
.voice-manual-label > span,
.workbook-compare span,
.workbook-entry header span,
.library-type {
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
}

.voice-day-button {
  min-height: 68px;
  padding: 11px;
}

.voice-day-button strong {
  font-size: 1rem;
}

.voice-day-button small,
.voice-day-status {
  font-size: 0.88rem;
  line-height: 1.35;
}

.voice-lab-context dd,
.voice-privacy-note,
.voice-practice-footer p {
  font-size: 0.98rem;
  line-height: 1.58;
}

.mirror-mode-switch button {
  min-height: 50px;
  font-size: 0.98rem;
  font-weight: 720;
}

.resource-hero {
  padding: 44px 0 40px;
}

.resource-hero h1,
.access-gate h1,
.resource-form-wrap h1 {
  font-size: 3rem;
  line-height: 1.1;
}

.resource-page > .section {
  padding-top: 46px;
  padding-bottom: 64px;
}

.workbook-summary span,
.membership-grid article > span {
  font-size: 0.92rem;
  line-height: 1.4;
}

.workbook-entry header time,
.workbook-entry header small {
  margin-top: 3px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.library-item p,
.membership-grid p {
  min-height: 0;
  font-size: 1rem;
  line-height: 1.62;
}

@media (max-width: 760px) {
  .voice-lab-hero {
    min-height: 460px;
    background-position: 38% center;
  }

  .voice-lab-hero-copy {
    width: 100%;
    padding: 150px 0 36px;
  }

  .voice-lab-hero h1,
  .resource-hero h1,
  .access-gate h1,
  .resource-form-wrap h1 {
    font-size: 2.25rem;
  }

  .resource-hero {
    padding: 32px 0 30px;
  }
}

.mirror-step-note {
  margin: 16px 0;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  background: rgba(216, 168, 79, .1);
  line-height: 1.5;
}

.mirror-mode-switch {
  align-items: stretch;
}

.mirror-mode-switch button.is-active {
  color: #fff;
  border-color: rgba(40, 124, 104, .55);
  background: var(--emerald);
}

.mirror-audio-practice {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 4px 0 18px;
  padding: 14px;
  border: 1px solid rgba(58, 32, 59, .12);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(248, 239, 230, .86), rgba(231, 238, 240, .76));
}

.mirror-audio-visual {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 168, 79, .85) 0 12%, rgba(79, 155, 174, .26) 13% 34%, transparent 35%);
}

.mirror-audio-visual.is-active {
  animation: mirror-audio-breathe 4s ease-in-out infinite;
}

.mirror-audio-label,
.voice-playback > span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.mirror-audio-practice strong {
  display: block;
  color: var(--plum);
}

.mirror-audio-practice small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.mirror-audio-practice audio,
.voice-playback audio {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
}

.mirror-final-panel {
  padding: 20px;
  border: 1px solid rgba(58, 32, 59, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .7);
}

.mirror-final-panel h3 {
  margin-top: 0;
  color: var(--plum);
}

.mirror-final-sliders {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.mirror-final-sliders label {
  display: grid;
  gap: 7px;
  color: var(--plum);
  font-weight: 750;
}

.mirror-final-sliders output {
  color: var(--emerald);
  font-weight: 850;
}

.mirror-comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.mirror-comparison > div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(40, 124, 104, .08);
}

.mirror-comparison span,
.mirror-comparison small {
  color: var(--muted);
  font-size: .84rem;
}

.mirror-comparison strong {
  color: var(--plum);
}

.voice-playback {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(40, 124, 104, .18);
  border-radius: var(--radius);
  background: rgba(40, 124, 104, .06);
}

@keyframes mirror-audio-breathe {
  0%, 100% { transform: scale(.92); opacity: .78; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 640px) {
  .daily-focus-tabs,
  .mirror-comparison {
    grid-template-columns: 1fr;
  }

  .mirror-audio-practice {
    grid-template-columns: 1fr;
  }
}
/* 2026-08-26 voice metric presentation */
.voice-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; margin: 1rem 0; }
.voice-metric-grid > div { min-height: 5.3rem; padding: .75rem; border: 1px solid #ddd6d0; border-radius: 8px; background: rgba(255,255,255,.72); display: grid; align-content: center; gap: .22rem; }
.voice-metric-grid span { color: #766b71; font-size: .78rem; }
.voice-metric-grid strong { color: #3e3340; font-size: 1.15rem; }
.voice-metric-grid small { color: #8a7e82; line-height: 1.25; }
.voice-analysis-hint { color: #655b60; line-height: 1.5; }
@media (max-width: 760px) { .voice-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
