/* Pronunciation enrollment card, matching the approved reference. */
html #enroll-pronunciation-panel {
  --ink: #173b3e;
  --muted: #506e71;
  --line: #bed6cb;
  --accent: #08746e;
  --teal: var(--accent);
  --enroll-line: var(--line);
  --enroll-card-background: #edf5f0;
  --enroll-card-shadow: #123e3412;
  --enroll-pill-background: #d7ebe3;
  --enroll-pill-border: #99c6b7;
  --enroll-pill-dot: #16835d;
  --enroll-button-background: #e5dff4;
  --enroll-button-ink: #36234d;
  --enroll-button-border: #b4a4cf;
  --enroll-button-hover: #d7cbea;
  container-type: inline-size;
  background: var(--enroll-card-background);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 26px;
  box-shadow: 0 18px 44px var(--enroll-card-shadow);
}

html[data-theme="dark"] #enroll-pronunciation-panel {
  --ink: #eaf6fb;
  --muted: #accbd6;
  --line: #31505d;
  --accent: #78e6df;
  --enroll-card-background: #091f29;
  --enroll-card-shadow: #00000024;
  --enroll-pill-background: #1e484b;
  --enroll-pill-border: #3d7375;
  --enroll-pill-dot: #88f0ba;
}

html[data-palette="cobalt"] #enroll-pronunciation-panel {
  --ink: #242f54;
  --muted: #5e6480;
  --line: #c1cbed;
  --accent: #304dce;
  --enroll-card-background: #edf0ff;
  --enroll-card-shadow: #26356812;
  --enroll-pill-background: #dfe5ff;
  --enroll-pill-border: #acbbe8;
  --enroll-pill-dot: #304dce;
  --enroll-button-background: #dce3ff;
  --enroll-button-ink: #223568;
  --enroll-button-border: #a8b7e9;
  --enroll-button-hover: #cbd6fc;
}

html[data-palette="cobalt"][data-theme="dark"] #enroll-pronunciation-panel {
  --ink: #f1edde;
  --muted: #b1bad2;
  --line: #414c68;
  --accent: #afc0ff;
  --enroll-card-background: #111827;
  --enroll-card-shadow: #00000024;
  --enroll-pill-background: #273555;
  --enroll-pill-border: #506488;
  --enroll-pill-dot: #afc0ff;
}

#enroll-pronunciation-panel > .section-index { color: var(--muted); }

html #enroll-pronunciation-panel .live-pill {
  color: var(--accent);
  background: var(--enroll-pill-background);
  border-color: var(--enroll-pill-border);
  margin-bottom: 16px;
}

html #enroll-pronunciation-panel .live-pill > span { background: var(--enroll-pill-dot); }

#enroll-pronunciation-panel .enroll-course-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  margin: 0 0 14px;
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--line);
}

#enroll-pronunciation-panel .enroll-course-heading h2 {
  color: var(--ink);
  margin: 0;
  font-size: clamp(18px, 6cqi, 24px);
  line-height: 1.15;
}

#enroll-pronunciation-panel .enroll-course-heading .enroll-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  border: 0;
  margin: 0;
  padding: 2px 0 0;
  text-align: right;
  white-space: nowrap;
}

html #enroll-pronunciation-panel .enroll-price strong {
  color: var(--ink);
  font-size: clamp(26px, 9cqi, 36px);
  line-height: 1.05;
}

#enroll-pronunciation-panel .enroll-price del { color: var(--muted); font-size: 14px; }
#enroll-pronunciation-panel .enroll-price small { width: auto; font-size: 9px; }

#enroll-pronunciation-panel .pronunciation-payment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

#enroll-pronunciation-panel :is(.pronunciation-payment-label, .pronunciation-payment-method) {
  font-size: clamp(9.5px, 3.8cqi, 14px);
  white-space: nowrap;
}

#enroll-pronunciation-panel .pronunciation-payment-label { font-weight: 750; }
#enroll-pronunciation-panel .pronunciation-payment-method { font-weight: 500; }

#enroll-pronunciation-panel .pronunciation-payment-number {
  padding: 6px clamp(4px, 2.8cqi, 12px);
  border-radius: 4px;
  background: #b3261e;
  color: #fff;
  font-size: clamp(13px, 5.5cqi, 20px);
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}

html #enroll-pronunciation-panel .enroll-form-button {
  background: var(--enroll-button-background);
  color: var(--enroll-button-ink) !important;
  border-color: var(--enroll-button-border);
  padding: 13px 18px;
  font-size: 14px;
  box-shadow: 0 3px 0 var(--enroll-button-border);
}

html #enroll-pronunciation-panel .enroll-form-button:hover {
  background: var(--enroll-button-hover);
  border-color: var(--enroll-button-border);
  box-shadow: 0 5px 0 var(--enroll-button-border);
}

html #enroll-pronunciation-panel .enroll-form-button:active { box-shadow: none; }
html #enroll-pronunciation-panel .enroll-form-button:focus-visible { outline-color: var(--accent); }

#enroll-pronunciation-panel .enrollment-messengers { margin-top: 17px; gap: 12px; }
#enroll-pronunciation-panel .enrollment-messengers > a { padding: 13px 12px; }
#enroll-pronunciation-panel .enrollment-messengers > a > span:last-child { display: inline; }
#enroll-pronunciation-panel .paid-access-guide { margin-top: 22px; padding-top: 18px; }
#enroll-pronunciation-panel .paid-access-guide h3 { color: var(--ink); }

@container (max-width: 340px) {
  #enroll-pronunciation-panel :is(.pronunciation-payment-label, .pronunciation-payment-method) {
    font-size: clamp(9.5px, 3.5cqi, 12px);
  }
  #enroll-pronunciation-panel .pronunciation-payment-number {
    font-size: clamp(13px, 5.3cqi, 18px);
    padding-inline: clamp(4px, 2cqi, 8px);
  }
}

@container (max-width: 280px) {
  #enroll-pronunciation-panel .enrollment-messengers > a { padding: 12px 8px; }
  #enroll-pronunciation-panel .messenger-label { font-size: 12px; }
  #enroll-pronunciation-panel .enrollment-messengers :is(.whatsapp-icon, .telegram-icon) { width: 16px; height: 16px; }
}

@media (max-width: 360px) {
  html #enroll-pronunciation-panel { padding: 20px; }
  #enroll-pronunciation-panel .enroll-course-heading { gap: 8px; }
  #enroll-pronunciation-panel .pronunciation-payment { gap: 4px; }
}

/* A simple email requirement below the enrollment steps. */
.enroll-intro > .enrollment-email-note { display:flex; align-items:flex-start; gap:8px; margin:20px 0 0; line-height:1.7; }
.enrollment-email-note > span:first-child { color:var(--teal); font-weight:750; }
