/* ======================================================================
   COURSE MANAGER · Enrollment guide & FAQ
   No dependencies. Component styles are scoped to .cmh / .cmh-*.
   The host page keeps its existing header, footer and content shell.
   ====================================================================== */

/* 01. Component tokens and local reset --------------------------------- */
.cmh {
  --cmh-brand: var(--crest-primary-600, #2563eb);
  --cmh-brand-hover: var(--crest-primary-700, #1d4ed8);
  --cmh-brand-soft: var(--crest-primary-50, #eff6ff);
  --cmh-ink: #172033;
  --cmh-secondary: #536079;
  --cmh-muted: #66718a;
  --cmh-border: var(--crest-neutral-200, #e5e7eb);
  --cmh-border-strong: var(--crest-neutral-300, #d1d5db);
  --cmh-surface: #fff;
  --cmh-success: #22735e;
  --cmh-danger: #b33650;
  --cmh-radius: 24px;
  --cmh-font: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --cmh-shadow: 0 3px 6px rgb(30 64 175 / 2%), 0 16px 42px -24px rgb(30 64 175 / 16%);
  color-scheme: light;
  font-family: var(--cmh-font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--cmh-ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  min-width: 0;
  isolation: isolate;
  container: cm-help / inline-size;
}
.cmh *, .cmh *::before, .cmh *::after { box-sizing: border-box; }
.cmh :where(h2, h3, h4, p, ol, ul, dl, dd, figure) { margin: 0; }
.cmh :where(button, input, select, textarea) { font: inherit; color: inherit; }
.cmh :where(button, a, input, select, textarea, summary) { -webkit-tap-highlight-color: transparent; }
.cmh :where(button, a, summary) { touch-action: manipulation; }
.cmh :where(button, summary) { cursor: pointer; }
.cmh :where(button) { margin: 0; }
.cmh :where(a) { color: inherit; text-decoration: none; }
.cmh :where(button, input, textarea, select) { min-width: 0; }
.cmh :where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--cmh-brand); outline-offset: 4px; }
.cmh [hidden] { display: none !important; }
.cmh :where(button):disabled { cursor: wait; opacity: .65; }
.cmh [id] { scroll-margin-block-start: 30px; }
.cmh-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.cmh-icon { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.cmh-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* 02. Enrollment section ---------------------------------------------- */
.cmh-process {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 37px 30px 0;
  border: 1px solid #dbeafe;
  border-radius: var(--cmh-radius);
  background: linear-gradient(125deg, #f8fbff 2%, #eff6ff 60%, #f7fbff);
  box-shadow: var(--cmh-shadow);
}
.cmh-process::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .56;
  background-image: linear-gradient(#dbeafe 1px, transparent 1px), linear-gradient(90deg, #dbeafe 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, #000, rgb(0 0 0 / 30%) 43%, #000);
}
.cmh-process__decoration { position: absolute; width: 300px; height: 300px; border: 44px solid rgb(147 197 253 / 15%); border-radius: 50%; top: -197px; right: -100px; z-index: -1; pointer-events: none; }
.cmh-process__decoration::after { content: ""; position: absolute; width: 180px; height: 180px; top: 232px; left: -1170px; border: 28px solid rgb(147 197 253 / 12%); border-radius: 50%; }
.cmh-process__header { text-align: center; position: relative; }
.cmh-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 750; line-height: 1.5; letter-spacing: 1.8px; color: var(--cmh-brand); }
.cmh-eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cmh-brand); box-shadow: 0 0 0 4px rgb(37 99 235 / 10%); }
.cmh-process__header h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 750; letter-spacing: -1.9px; line-height: 1.2; margin-top: 11px; color: #172033; }
.cmh-title-dot { color: var(--cmh-brand); }
.cmh-process__intro { font-size: 14px; color: var(--cmh-secondary); line-height: 1.75; margin-top: 12px; }
.cmh-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin-top: 29px !important; position: relative; }
.cmh-steps::before { content: ""; position: absolute; height: 1px; left: 40px; right: 40px; top: 46px; background: repeating-linear-gradient(90deg, #93c5fd 0 4px, transparent 4px 8px); z-index: -1; }
.cmh-step { padding: 20px 20px 9px; background: rgb(255 255 255 / 96%); border: 1px solid #dbeafe; border-radius: 16px; box-shadow: 0 4px 8px rgb(30 64 175 / 2%), 0 12px 24px -16px rgb(30 64 175 / 12%); display: flex; flex-direction: column; min-width: 0; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.cmh-step:focus-within { border-color: #93c5fd; box-shadow: 0 6px 24px -12px rgb(37 99 235 / 32%); }
.cmh-step__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; }
.cmh-step__number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 30px; border-radius: 11px; background: var(--cmh-brand); color: #fff; font-size: 11px; font-weight: 750; letter-spacing: .25px; box-shadow: 0 5px 12px rgb(37 99 235 / 20%); }
.cmh-step__icon { display: inline-flex; align-items: center; justify-content: center; width: 43px; height: 43px; border-radius: 12px; border: 1px solid #dbeafe; color: var(--cmh-brand); background: #eff6ff; }
.cmh-step__icon .cmh-icon { width: 22px; height: 22px; }
.cmh-step--form .cmh-step__icon { background: #edfafb; border-color: #d6f0f2; color: #188298; }
.cmh-step--documents .cmh-step__icon { background: #eff6ff; border-color: #dbeafe; color: var(--cmh-brand); }
.cmh-step--status .cmh-step__icon { background: #eef8f2; border-color: #ddecdf; color: #358267; }
.cmh-step__body { flex: 1; }
.cmh-step__eyebrow { font-size: 9px; line-height: 1.6; letter-spacing: 1.2px; text-transform: uppercase; color: var(--cmh-muted); font-weight: 650; margin-bottom: 5px !important; }
.cmh-step h3 { font-size: 16px; font-weight: 700; line-height: 1.45; letter-spacing: -.45px; }
.cmh-step__description { color: var(--cmh-secondary); font-size: 12.5px; line-height: 1.75; margin-top: 8px !important; }
.cmh-step__link { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; margin-top: 14px; padding: 9px 0; border-top: 1px solid #eef0f7; color: var(--cmh-brand) !important; font-size: 11px; font-weight: 650; border-radius: 2px; }
.cmh-step__link .cmh-icon { width: 16px; height: 16px; transition: transform .18s ease; }
.cmh-step__link:hover .cmh-icon { transform: translateX(3px); }
.cmh-step__link:hover { color: var(--cmh-brand-hover) !important; }
.cmh-process__foot { min-height: 59px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 10.5px; color: var(--cmh-secondary); padding: 9px 2px; }
.cmh-process__foot p, .cmh-process__foot a { display: inline-flex; align-items: center; gap: 7px; }
.cmh-process__foot p > .cmh-icon { width: 14px; height: 14px; color: #64748b; }
.cmh-process__foot a { min-height: 40px; font-weight: 650; white-space: nowrap; color: var(--cmh-brand); }
.cmh-process__foot a .cmh-icon { width: 14px; height: 14px; }

/* 03. Support card ----------------------------------------------------- */
.cmh-support { margin-top: 28px; display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.55fr); gap: 22px; align-items: stretch; }
.cmh-support-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--cmh-radius); border: 1px solid #1d4ed8; padding: 32px 30px 28px; color: #fff; background: linear-gradient(143deg, #172554 2%, #1e40af 48%, #2563eb 100%); display: flex; flex-direction: column; box-shadow: 0 14px 30px -22px rgb(30 64 175 / 45%); }
.cmh-support-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgb(191 219 254 / 9%) 1px, transparent 1px), linear-gradient(90deg, rgb(191 219 254 / 9%) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(140deg, #000, transparent 75%); }
.cmh-support-card__top { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 9px; letter-spacing: 1.5px; color: #dbeafe; }
.cmh-support-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; border: 1px solid rgb(191 219 254 / 24%); border-radius: 10px; background: rgb(219 234 254 / 9%); }
.cmh-support-card__icon .cmh-icon { width: 19px; height: 19px; }
.cmh-support-card h2 { font-size: clamp(29px, 2.55vw, 37px); line-height: 1.2; font-weight: 700; letter-spacing: -1.4px; margin-top: 24px; position: relative; max-width: 360px; color: #fff; }
.cmh-support-card h2 > span { color: #93c5fd; }
.cmh-support-card__description { color: #dbeafe; font-size: 13px; line-height: 1.9; margin-top: 17px !important; max-width: 310px; position: relative; }
.cmh-support-card__bottom { position: relative; margin-top: auto; padding-top: 30px; }
.cmh-support-card .cmh-button--white { min-height: 47px; padding-inline: 17px; gap: 10px; }
.cmh-support-card__micro { color: #bfdbfe; font-size: 11px; line-height: 1.75; margin-top: 15px !important; }
.cmh-support-card__art { position: absolute; right: -109px; bottom: -98px; width: 290px; height: 290px; z-index: -1; transform: rotate(-14deg); pointer-events: none; }
.cmh-support-card__art > span { position: absolute; inset: 0; border: 1px solid rgb(191 219 254 / 22%); border-radius: 50%; background: rgb(147 197 253 / 6%); }
.cmh-support-card__art > span:nth-child(2) { inset: 29px; }
.cmh-support-card__art > span:nth-child(3) { inset: 58px; }
.cmh-support-card__art > div { position: absolute; display: grid; place-items: center; width: 63px; height: 63px; left: 42px; top: 40px; border-radius: 19px; background: rgb(147 197 253 / 15%); border: 1px solid rgb(219 234 254 / 26%); box-shadow: 0 8px 16px rgb(15 23 42 / 8%); color: #dbeafe; }
.cmh-support-card__art .cmh-icon { width: 28px; height: 28px; }
.cmh-support-card a:focus-visible { outline-color: #fff; }

/* 04. Native details-based FAQ ---------------------------------------- */
.cmh-faq-card { background: var(--cmh-surface); border: 1px solid var(--cmh-border); border-radius: var(--cmh-radius); box-shadow: var(--cmh-shadow); overflow: hidden; min-width: 0; }
.cmh-faq-card__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 27px 30px 18px; }
.cmh-mini-label { color: var(--cmh-muted); font-size: 9px; line-height: 1.5; font-weight: 650; letter-spacing: 1.5px; }
.cmh-faq-card__header h3 { font-size: 21px; font-weight: 700; line-height: 1.35; letter-spacing: -.6px; margin-top: 5px; }
.cmh-expand { font-size: 10.5px !important; white-space: nowrap; }
.cmh-expand .cmh-icon { width: 15px; height: 15px; }
.cmh-faq-list { padding: 0 30px; }
.cmh-faq { border-bottom: 1px solid #ebedf5; }
.cmh-faq:last-child { border-bottom: 0; }
.cmh-faq summary { list-style: none; display: flex; align-items: center; gap: 14px; min-height: 70px; padding: 17px 0; border-radius: 5px; transition: color .15s ease; }
.cmh-faq summary::-webkit-details-marker { display: none; }
.cmh-faq summary::marker { content: ""; }
.cmh-faq summary:hover { color: var(--cmh-brand); }
.cmh-faq__number { align-self: center; flex: 0 0 19px; font-size: 10px; letter-spacing: .25px; font-weight: 650; color: #64748b; }
.cmh-faq__question { flex: 1; font-size: 13px; font-weight: 600; line-height: 1.55; }
.cmh-faq__toggle { flex-shrink: 0; position: relative; width: 30px; height: 30px; border: 1px solid #dbeafe; border-radius: 9px; background: #eff6ff; color: var(--cmh-brand); transition: background .18s ease, color .18s ease; }
.cmh-faq__toggle::before, .cmh-faq__toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; border-radius: 1px; background: currentColor; transform: translate(-50%, -50%); }
.cmh-faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .18s ease, opacity .18s ease; }
.cmh-faq[open] .cmh-faq__toggle { color: #fff; background: var(--cmh-brand); border-color: var(--cmh-brand); }
.cmh-faq[open] .cmh-faq__toggle::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.cmh-faq[open] .cmh-faq__number, .cmh-faq[open] .cmh-faq__question { color: var(--cmh-brand); }
.cmh-faq__answer { padding: 0 45px 22px 33px; color: var(--cmh-secondary); font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.cmh-faq__answer p + p { margin-top: 10px; }
.cmh-faq__answer strong { font-weight: 600; }
.cmh-faq-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 30px; min-height: 64px; background: #fbfdff; border-top: 1px solid #eef0f7; font-size: 11px; }
.cmh-faq-card__foot > span { display: inline-flex; align-items: center; gap: 8px; color: var(--cmh-muted); }
.cmh-faq-card__foot > span .cmh-icon { width: 15px; height: 15px; color: #64748b; }
.cmh-faq-card__foot > a { display: inline-flex; align-items: center; gap: 9px; color: var(--cmh-brand); font-weight: 650; min-height: 40px; white-space: nowrap; }
.cmh-faq-card__foot > a .cmh-icon { width: 15px; height: 15px; }
.cmh-nojs { margin-top: 20px !important; padding: 16px; border-radius: 12px; background: #fff4df; border: 1px solid #e4d3b0; font-size: 13px; }

/* 05. Shared buttons -------------------------------------------------- */
.cmh-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid transparent; padding: 10px 15px; border-radius: 10px; font-size: 12px; font-weight: 600; line-height: 1.6; text-align: center; transition: background .18s ease, box-shadow .18s ease, transform .18s ease; }
.cmh-button .cmh-icon { width: 17px; height: 17px; }
.cmh-button:active:not(:disabled) { transform: translateY(1px); }
.cmh-button--primary { background: var(--cmh-brand); color: #fff !important; box-shadow: 0 3px 5px rgb(37 99 235 / 12%); }
.cmh-button--primary:hover:not(:disabled) { background: var(--cmh-brand-hover); box-shadow: 0 5px 13px rgb(37 99 235 / 19%); }
.cmh-button--soft { background: #eff6ff; border-color: #dbeafe; color: var(--cmh-brand) !important; }
.cmh-button--soft:hover:not(:disabled) { background: #dbeafe; }
.cmh-button--white { color: #1d4ed8 !important; background: #fff; box-shadow: 0 4px 10px rgb(15 23 42 / 8%); }
.cmh-button--white:hover { background: #eff6ff; box-shadow: 0 8px 18px rgb(15 23 42 / 13%); }
.cmh-text-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 5px 2px; color: var(--cmh-brand); background: transparent; border: 0; border-radius: 3px; font-size: 12px; font-weight: 550; }
.cmh-text-button:hover { color: var(--cmh-brand-hover); text-decoration: underline; text-underline-offset: 4px; }
.cmh-icon-button { display: inline-flex; justify-content: center; align-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #e5e7eb; border-radius: 12px; background: #f9fafb; color: var(--cmh-muted); }
.cmh-icon-button:hover { background: var(--cmh-brand-soft); color: var(--cmh-brand); }
.cmh-icon-button .cmh-icon { width: 18px; height: 18px; }

/* 06. Step and support dialogs ---------------------------------------- */
.cmh-dialog { margin: auto; padding: 0; width: min(610px, calc(100% - 32px)); max-width: 610px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain; border: 1px solid #dbeafe; border-radius: 23px; background: #fff; color: var(--cmh-ink); box-shadow: 0 24px 90px rgb(15 23 42 / 22%); scrollbar-width: thin; }
.cmh-dialog::backdrop { background: rgb(15 23 42 / 46%); backdrop-filter: blur(5px); }
.cmh-dialog[open] { animation: cmh-dialog-in .18s ease-out both; }
.cmh-dialog__header { position: sticky; top: 0; z-index: 2; background: rgb(255 255 255 / 98%); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px 7px; border-radius: 23px 23px 0 0; }
.cmh-dialog__badge { display: inline-flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 650; letter-spacing: 1.1px; color: var(--cmh-brand); }
.cmh-dialog__badge .cmh-icon { width: 17px; height: 17px; }
.cmh-dialog__body { padding: 12px 28px 27px; }
.cmh-dialog__body > h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.8px; font-weight: 700; }
.cmh-dialog :where(h2, h3)[tabindex="-1"]:focus { outline: none; }
.cmh-dialog__intro { color: var(--cmh-secondary); font-size: 13px; line-height: 1.8; margin-top: 10px !important; }
.cmh-dialog__footer { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 17px 28px; background: #fbfdff; border-top: 1px solid var(--cmh-border); }
.cmh-checklist { display: grid; gap: 21px; list-style: none; padding: 0; margin-top: 25px !important; }
.cmh-checklist li { position: relative; padding-inline-start: 30px; }
.cmh-checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; background: #eff6ff; border: 1px solid #dbeafe; border-radius: 6px; }
.cmh-checklist li::after { content: ""; position: absolute; width: 8px; height: 5px; left: 6px; top: 9px; border-left: 1.5px solid var(--cmh-brand); border-bottom: 1.5px solid var(--cmh-brand); transform: rotate(-45deg); }
.cmh-checklist strong { display: block; font-size: 13px; font-weight: 650; }
.cmh-checklist li > span { display: block; font-size: 12px; color: var(--cmh-secondary); line-height: 1.8; margin-top: 4px; }
.cmh-note { padding: 14px 16px; margin-top: 24px; background: #eff6ff; border: 1px solid #dbeafe; border-radius: 12px; font-size: 12px; color: #1e3a8a; line-height: 1.8; }
.cmh-status-example { margin-top: 20px; padding: 16px; border: 1px solid var(--cmh-border); border-radius: 12px; background: #f8fbff; }
.cmh-status-example > div { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 11px; margin-top: 10px; color: var(--cmh-brand); font-weight: 600; }
.cmh-status-example > div span:not([aria-hidden]) { border: 1px solid #dbeafe; border-radius: 6px; padding: 5px 8px; background: #fff; }
.cmh-status-example p { margin-top: 10px; font-size: 11px; color: var(--cmh-secondary); }
.cmh-mode-note { display: flex; gap: 8px; align-items: flex-start; padding: 11px 13px; background: #eff6ff; border: 1px solid #dbeafe; border-radius: 10px; margin-top: 17px !important; font-size: 11px; line-height: 1.8; color: #1e3a8a; }
.cmh-mode-note .cmh-icon { width: 16px; height: 16px; margin-top: 2px; }

/* 07. Support form, validation and delivery states --------------------- */
.cmh-required-note { font-size: 10px; color: var(--cmh-muted); margin: 18px 0 12px !important; }
.cmh-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 16px; }
.cmh-field { min-width: 0; }
.cmh-field--full { grid-column: 1 / -1; }
.cmh-field label { display: block; font-size: 11.5px; font-weight: 600; color: var(--cmh-secondary); margin-bottom: 7px; }
.cmh-field label > span:not(.cmh-optional) { color: var(--cmh-brand); }
.cmh-optional { float: right; color: var(--cmh-muted); font-size: 10px; font-weight: 400; }
.cmh-field :where(input, select, textarea) { display: block; width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid var(--cmh-border-strong); background: #fff; color: var(--cmh-ink); border-radius: 9px; font-size: 12px; line-height: 1.6; box-shadow: 0 1px 2px rgb(15 23 42 / 2%); transition: border-color .18s ease, box-shadow .18s ease; }
.cmh-field :where(input, select, textarea):hover { border-color: #93c5fd; }
.cmh-field :where(input, select, textarea):focus { border-color: var(--cmh-brand); box-shadow: 0 0 0 3px rgb(37 99 235 / 10%); outline: none; }
.cmh-field ::placeholder { color: #7d8398; opacity: 1; }
.cmh-field textarea { resize: vertical; min-height: 100px; max-height: 400px; }
.cmh-select-wrap { position: relative; }
.cmh-select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 34px; }
.cmh-select-wrap > .cmh-icon { position: absolute; right: 12px; top: 15px; width: 14px; height: 14px; pointer-events: none; color: var(--cmh-muted); }
.cmh-field__meta { display: flex; gap: 12px; justify-content: space-between; margin-top: 7px; font-size: 10px; color: var(--cmh-muted); line-height: 1.7; }
.cmh-field__meta output { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cmh-field [aria-invalid="true"] { border-color: var(--cmh-danger); background: #fffafb; }
.cmh-field__error { color: var(--cmh-danger); font-size: 11px; line-height: 1.65; margin-top: 6px !important; }
.cmh-privacy-note { display: flex; align-items: flex-start; gap: 8px; font-size: 10.5px; color: var(--cmh-muted); line-height: 1.8; margin-top: 17px !important; }
.cmh-privacy-note .cmh-icon { width: 14px; height: 14px; margin-top: 2px; }
.cmh-form-actions { display: flex; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid #edf0f7; margin-top: 22px; padding-top: 18px; }
.cmh-form-actions--wrap { flex-wrap: wrap; }
.cmh-form-actions--wrap > div { display: flex; gap: 8px; flex-wrap: wrap; }
.cmh-form-status { margin-top: 18px !important; padding: 12px 14px; background: #fff3f5; border: 1px solid #f0d5dc; border-radius: 10px; color: var(--cmh-danger); font-size: 12px; line-height: 1.7; }
.cmh-button[aria-busy="true"]::before { content: ""; flex-shrink: 0; width: 15px; height: 15px; border: 2px solid rgb(255 255 255 / 38%); border-top-color: #fff; border-radius: 50%; animation: cmh-spin .8s linear infinite; }
.cmh-button[aria-busy="true"] .cmh-icon { display: none; }
.cmh-review { margin-top: 22px; }
.cmh-review__intro { display: flex; align-items: flex-start; gap: 10px; }
.cmh-review__intro > .cmh-icon { color: var(--cmh-success); width: 21px; height: 21px; margin-top: 1px; }
.cmh-review__intro h3 { font-size: 15px; line-height: 1.5; font-weight: 650; }
.cmh-review__intro p { color: var(--cmh-secondary); font-size: 12px; margin-top: 4px; }
.cmh-review__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 19px; background: #f8fbff; border: 1px solid var(--cmh-border); border-radius: 12px; margin-top: 20px !important; }
.cmh-review__fields dt { color: var(--cmh-muted); font-size: 10px; }
.cmh-review__fields dd { font-size: 12px; font-weight: 550; margin-top: 5px; overflow-wrap: anywhere; }
.cmh-review__message { margin-top: 20px; }
.cmh-review__message h4 { font-size: 11px; color: var(--cmh-muted); font-weight: 550; }
.cmh-review__message p { font-size: 12px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 7px; }
.cmh-copy-status { font-size: 11px; color: var(--cmh-secondary); margin-top: 13px !important; min-height: 18px; }
.cmh-copy-fallback { margin-top: 16px; }
.cmh-copy-fallback label { display: block; font-size: 11px; margin-bottom: 7px; }
.cmh-copy-fallback textarea { display: block; width: 100%; border: 1px solid var(--cmh-border-strong); border-radius: 9px; padding: 10px; font-size: 12px; line-height: 1.6; resize: vertical; }
.cmh-success { text-align: center; padding: 26px 5px 5px; }
.cmh-success__icon { width: 62px; height: 62px; display: inline-grid; place-items: center; color: var(--cmh-success); background: #edf8f3; border: 1px solid #d9ece1; border-radius: 19px; }
.cmh-success__icon .cmh-icon { width: 30px; height: 30px; }
.cmh-success h3 { font-size: 22px; margin-top: 16px; letter-spacing: -.5px; }
.cmh-success p { color: var(--cmh-secondary); font-size: 13px; line-height: 1.8; margin-top: 12px; }
.cmh-success .cmh-ticket { font-weight: 650; color: var(--cmh-brand); overflow-wrap: anywhere; }
.cmh-success .cmh-button { margin-top: 24px; }

/* 08. Responsive layouts ---------------------------------------------- */
@media (hover: hover) {
  .cmh-step:hover { transform: translateY(-4px); border-color: #93c5fd; box-shadow: 0 12px 28px -16px rgb(37 99 235 / 30%); }
}
@media (max-width: 1100px) {
  .cmh-process { padding-inline: 23px; }
  .cmh-steps { gap: 12px; }
  .cmh-step { padding-inline: 16px; }
  .cmh-step h3 { font-size: 15px; }
  .cmh-support { grid-template-columns: minmax(285px, .85fr) minmax(0, 1.5fr); gap: 18px; }
  .cmh-support-card { padding: 26px 24px; }
  .cmh-support-card h2 { font-size: 30px; letter-spacing: -1.1px; }
  .cmh-faq-card__header { padding-inline: 23px; }
  .cmh-faq-list { padding-inline: 23px; }
  .cmh-faq-card__foot { padding-inline: 23px; }
}
@media (max-width: 940px) {
  .cmh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cmh-steps::before { display: none; }
  .cmh-step { padding: 21px 22px 10px; }
  .cmh-step h3 { font-size: 17px; }
  .cmh-step__description { font-size: 13px; }
  .cmh-step__top { margin-bottom: 14px; }
  .cmh-step__link { font-size: 12px; }
  .cmh-support { grid-template-columns: minmax(0, 1fr); }
  .cmh-support-card { padding: 28px 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 26px; }
  .cmh-support-card__top { grid-column: 1; }
  .cmh-support-card h2 { grid-column: 1; max-width: none; margin-top: 16px; font-size: 32px; }
  .cmh-support-card__description { grid-column: 1; max-width: 410px; margin-top: 13px !important; }
  .cmh-support-card__bottom { grid-column: 2; grid-row: 1 / 4; align-self: end; margin-top: 0; padding-top: 0; }
  .cmh-support-card__micro { margin-top: 12px !important; }
  .cmh-support-card__art { bottom: -119px; right: -101px; }
  .cmh-faq-card__header { padding: 25px 30px 18px; }
  .cmh-faq-list { padding: 0 30px; }
  .cmh-faq-card__foot { padding-inline: 30px; }
  .cmh-faq__question { font-size: 14px; }
  .cmh-faq__answer { font-size: 13px; }
}
@media (max-width: 620px) {
  .cmh { --cmh-radius: 20px; }
  .cmh-process { padding: 29px 17px 0; }
  .cmh-eyebrow { font-size: 9px; letter-spacing: 1.5px; }
  .cmh-process__header h2 { font-size: 33px; letter-spacing: -1.35px; }
  .cmh-process__intro { font-size: 13px; line-height: 1.8; max-width: 340px; margin-inline: auto !important; }
  .cmh-steps { gap: 12px; margin-top: 24px !important; }
  .cmh-step { padding: 16px 16px 7px; }
  .cmh-step__top { margin-bottom: 13px; }
  .cmh-step__number { width: 32px; height: 28px; font-size: 10px; border-radius: 9px; }
  .cmh-step__icon { width: 36px; height: 36px; border-radius: 10px; }
  .cmh-step__icon .cmh-icon { width: 20px; height: 20px; }
  .cmh-step__eyebrow { font-size: 8px; letter-spacing: .9px; }
  .cmh-step h3 { font-size: 15px; letter-spacing: -.35px; }
  .cmh-step__description { font-size: 12px; }
  .cmh-step__link { font-size: 10.5px; gap: 5px; }
  .cmh-process__foot { display: block; padding: 17px 0 11px; text-align: center; font-size: 10.5px; }
  .cmh-process__foot p { justify-content: center; align-items: flex-start; text-align: left; }
  .cmh-process__foot p > .cmh-icon { margin-top: 2px; }
  .cmh-process__foot a { margin-top: 4px; }
  .cmh-support { margin-top: 18px; gap: 18px; }
  .cmh-support-card { display: flex; padding: 27px 24px; }
  .cmh-support-card h2 { font-size: 34px; max-width: 350px; margin-top: 20px; letter-spacing: -1.3px; }
  .cmh-support-card__description { max-width: 340px; }
  .cmh-support-card__bottom { margin-top: 26px; padding-top: 0; align-self: start; }
  .cmh-support-card__art { bottom: -74px; right: -76px; }
  .cmh-faq-card__header { padding: 24px 20px 13px; gap: 8px; }
  .cmh-faq-card__header h3 { font-size: 20px; }
  .cmh-faq-list { padding-inline: 20px; }
  .cmh-faq summary { min-height: 79px; gap: 10px; }
  .cmh-faq__number { flex-basis: 16px; font-size: 9px; }
  .cmh-faq__question { font-size: 12.5px; line-height: 1.7; }
  .cmh-faq__toggle { width: 28px; height: 28px; border-radius: 8px; }
  .cmh-faq__answer { padding: 0 0 23px 26px; font-size: 12px; }
  .cmh-faq-card__foot { padding: 12px 20px; gap: 10px; font-size: 10px; }
  .cmh-faq-card__foot > span { gap: 6px; }
  .cmh-faq-card__foot > span .cmh-icon { display: none; }
  .cmh-expand { font-size: 9px !important; gap: 5px; }
  .cmh-expand .cmh-icon { display: none; }
  .cmh-dialog { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .cmh-dialog__header { padding: 13px 18px 7px; border-radius: 18px 18px 0 0; }
  .cmh-dialog__body { padding: 12px 20px 23px; }
  .cmh-dialog__body > h2 { font-size: 24px; }
  .cmh-dialog__footer { padding: 17px 20px; }
  .cmh-dialog__badge { font-size: 9px; letter-spacing: .8px; }
  .cmh-form-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cmh-field :where(input, select, textarea) { font-size: 16px; min-height: 47px; }
  .cmh-field label { font-size: 12px; }
  .cmh-form-actions { gap: 10px; }
  .cmh-form-actions .cmh-button { font-size: 11px; padding-inline: 12px; }
  .cmh-review__fields { grid-template-columns: 1fr; gap: 16px; }
  .cmh-review__intro h3 { font-size: 14px; }
}
@media (max-width: 440px) {
  .cmh-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cmh-step { display: grid; grid-template-columns: 39px minmax(0, 1fr); gap: 0 15px; padding: 20px 18px 8px; }
  .cmh-step__top { flex-direction: column; justify-content: flex-start; gap: 13px; grid-column: 1; grid-row: 1 / 3; margin: 0; padding-top: 1px; }
  .cmh-step__body { grid-column: 2; }
  .cmh-step__eyebrow { margin-bottom: 4px !important; }
  .cmh-step h3 { font-size: 16px; line-height: 1.4; }
  .cmh-step__description { font-size: 12px; line-height: 1.8; margin-top: 7px !important; }
  .cmh-step__link { grid-column: 2; margin-top: 11px; font-size: 11px; }
  .cmh-desktop-break { display: none; }
  .cmh-process__header h2 { font-size: 31px; }
  .cmh-support-card h2 { font-size: 32px; }
}
@media (max-width: 360px) {
  .cmh-process { padding-inline: 13px; }
  .cmh-process__header h2 { font-size: 28px; }
  .cmh-step { padding-inline: 14px; gap: 0 12px; }
  .cmh-step h3 { font-size: 14.5px; }
  .cmh-step__description { font-size: 11.5px; }
  .cmh-support-card { padding-inline: 20px; }
  .cmh-support-card h2 { font-size: 28px; }
  .cmh-faq-card__header, .cmh-faq-list, .cmh-faq-card__foot { padding-inline: 16px; }
  .cmh-faq-card__header h3 { font-size: 18px; }
  .cmh-dialog__body { padding-inline: 16px; }
  .cmh-dialog__header { padding-inline: 14px; }
  .cmh-dialog__badge { font-size: 8px; }
}

/* Container-aware enhancement for narrow host layouts (e.g. a dashboard). */
@container cm-help (max-width: 890px) {
  .cmh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cmh-steps::before { display: none; }
  .cmh-step { padding: 21px 22px 10px; }
  .cmh-step h3 { font-size: 17px; }
  .cmh-step__description { font-size: 13px; }
  .cmh-step__top { margin-bottom: 14px; }
  .cmh-step__link { font-size: 12px; }
  .cmh-support { grid-template-columns: minmax(0, 1fr); }
  .cmh-support-card { padding: 28px 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 26px; }
  .cmh-support-card__top { grid-column: 1; }
  .cmh-support-card h2 { grid-column: 1; max-width: none; margin-top: 16px; font-size: 32px; }
  .cmh-support-card__description { grid-column: 1; max-width: 410px; margin-top: 13px !important; }
  .cmh-support-card__bottom { grid-column: 2; grid-row: 1 / 4; align-self: end; margin-top: 0; padding-top: 0; }
  .cmh-support-card__micro { margin-top: 12px !important; }
  .cmh-support-card__art { bottom: -119px; right: -101px; }
  .cmh-faq-card__header { padding: 25px 30px 18px; }
  .cmh-faq-list { padding: 0 30px; }
  .cmh-faq-card__foot { padding-inline: 30px; }
  .cmh-faq__question { font-size: 14px; }
  .cmh-faq__answer { font-size: 13px; }
}
@container cm-help (max-width: 570px) {
  .cmh { --cmh-radius: 20px; }
  .cmh-process { padding: 29px 17px 0; }
  .cmh-eyebrow { font-size: 9px; letter-spacing: 1.5px; }
  .cmh-process__header h2 { font-size: 33px; letter-spacing: -1.35px; }
  .cmh-process__intro { font-size: 13px; line-height: 1.8; max-width: 340px; margin-inline: auto !important; }
  .cmh-steps { gap: 12px; margin-top: 24px !important; }
  .cmh-step { padding: 16px 16px 7px; }
  .cmh-step__top { margin-bottom: 13px; }
  .cmh-step__number { width: 32px; height: 28px; font-size: 10px; border-radius: 9px; }
  .cmh-step__icon { width: 36px; height: 36px; border-radius: 10px; }
  .cmh-step__icon .cmh-icon { width: 20px; height: 20px; }
  .cmh-step__eyebrow { font-size: 8px; letter-spacing: .9px; }
  .cmh-step h3 { font-size: 15px; letter-spacing: -.35px; }
  .cmh-step__description { font-size: 12px; }
  .cmh-step__link { font-size: 10.5px; gap: 5px; }
  .cmh-process__foot { display: block; padding: 17px 0 11px; text-align: center; font-size: 10.5px; }
  .cmh-process__foot p { justify-content: center; align-items: flex-start; text-align: left; }
  .cmh-process__foot p > .cmh-icon { margin-top: 2px; }
  .cmh-process__foot a { margin-top: 4px; }
  .cmh-support { margin-top: 18px; gap: 18px; }
  .cmh-support-card { display: flex; padding: 27px 24px; }
  .cmh-support-card h2 { font-size: 34px; max-width: 350px; margin-top: 20px; letter-spacing: -1.3px; }
  .cmh-support-card__description { max-width: 340px; }
  .cmh-support-card__bottom { margin-top: 26px; padding-top: 0; align-self: start; }
  .cmh-support-card__art { bottom: -74px; right: -76px; }
  .cmh-faq-card__header { padding: 24px 20px 13px; gap: 8px; }
  .cmh-faq-card__header h3 { font-size: 20px; }
  .cmh-faq-list { padding-inline: 20px; }
  .cmh-faq summary { min-height: 79px; gap: 10px; }
  .cmh-faq__number { flex-basis: 16px; font-size: 9px; }
  .cmh-faq__question { font-size: 12.5px; line-height: 1.7; }
  .cmh-faq__toggle { width: 28px; height: 28px; border-radius: 8px; }
  .cmh-faq__answer { padding: 0 0 23px 26px; font-size: 12px; }
  .cmh-faq-card__foot { padding: 12px 20px; gap: 10px; font-size: 10px; }
  .cmh-faq-card__foot > span { gap: 6px; }
  .cmh-faq-card__foot > span .cmh-icon { display: none; }
  .cmh-expand { font-size: 9px !important; gap: 5px; }
  .cmh-expand .cmh-icon { display: none; }
  .cmh-dialog { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .cmh-dialog__header { padding: 13px 18px 7px; border-radius: 18px 18px 0 0; }
  .cmh-dialog__body { padding: 12px 20px 23px; }
  .cmh-dialog__body > h2 { font-size: 24px; }
  .cmh-dialog__footer { padding: 17px 20px; }
  .cmh-dialog__badge { font-size: 9px; letter-spacing: .8px; }
  .cmh-form-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cmh-field :where(input, select, textarea) { font-size: 16px; min-height: 47px; }
  .cmh-field label { font-size: 12px; }
  .cmh-form-actions { gap: 10px; }
  .cmh-form-actions .cmh-button { font-size: 11px; padding-inline: 12px; }
  .cmh-review__fields { grid-template-columns: 1fr; gap: 16px; }
  .cmh-review__intro h3 { font-size: 14px; }
}
@container cm-help (max-width: 400px) {
  .cmh-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cmh-step { display: grid; grid-template-columns: 39px minmax(0, 1fr); gap: 0 15px; padding: 20px 18px 8px; }
  .cmh-step__top { flex-direction: column; justify-content: flex-start; gap: 13px; grid-column: 1; grid-row: 1 / 3; margin: 0; padding-top: 1px; }
  .cmh-step__body { grid-column: 2; }
  .cmh-step__eyebrow { margin-bottom: 4px !important; }
  .cmh-step h3 { font-size: 16px; line-height: 1.4; }
  .cmh-step__description { font-size: 12px; line-height: 1.8; margin-top: 7px !important; }
  .cmh-step__link { grid-column: 2; margin-top: 11px; font-size: 11px; }
  .cmh-desktop-break { display: none; }
  .cmh-process__header h2 { font-size: 31px; }
  .cmh-support-card h2 { font-size: 32px; }
}
@container cm-help (max-width: 330px) {
  .cmh-process { padding-inline: 13px; }
  .cmh-process__header h2 { font-size: 28px; }
  .cmh-step { padding-inline: 14px; gap: 0 12px; }
  .cmh-step h3 { font-size: 14.5px; }
  .cmh-step__description { font-size: 11.5px; }
  .cmh-support-card { padding-inline: 20px; }
  .cmh-support-card h2 { font-size: 28px; }
  .cmh-faq-card__header, .cmh-faq-list, .cmh-faq-card__foot { padding-inline: 16px; }
  .cmh-faq-card__header h3 { font-size: 18px; }
  .cmh-dialog__body { padding-inline: 16px; }
  .cmh-dialog__header { padding-inline: 14px; }
  .cmh-dialog__badge { font-size: 8px; }
}

@keyframes cmh-dialog-in { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes cmh-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .cmh *, .cmh *::before, .cmh *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cmh-step:hover { transform: none; }
}
@media (forced-colors: active) {
  .cmh-step__number, .cmh-faq[open] .cmh-faq__toggle { border: 1px solid ButtonText; }
  .cmh-support-card { background: Canvas; color: CanvasText; }
  .cmh-support-card :where(h2, p, span) { color: CanvasText; }
  .cmh-button { border-color: ButtonText; }
  .cmh-checklist li::before { border-color: CanvasText; }
  .cmh-checklist li::after { border-color: CanvasText; }
  .cmh-faq__toggle::before, .cmh-faq__toggle::after { background: ButtonText; }
  .cmh-support-card__art, .cmh-process__decoration { display: none; }
}
@media print {
  .cmh { color: #000; }
  .cmh-process, .cmh-faq-card, .cmh-support-card { box-shadow: none; background: #fff; border: 1px solid #aaa; }
  .cmh-support-card :where(h2, p, span) { color: #000; }
  .cmh-process::before, .cmh-support-card::before, .cmh-support-card__art, .cmh-process__decoration,
  .cmh-dialog, .cmh-step__link, .cmh-expand, .cmh-support-card__bottom, .cmh-faq-card__foot,
  .cmh-process__foot > a { display: none !important; }
  .cmh-support { grid-template-columns: 1fr; }
  .cmh-support-card { break-inside: avoid; }
  .cmh-step, .cmh-faq { break-inside: avoid; }
  .cmh-faq__answer { display: block; }
}


/* Host-page integration. The component keeps the current public shell. */
.cmh.public-section {
  scroll-margin-top: 108px;
}

.cmh [data-cmh-config] {
  display: none;
}
