:root {
  --cm-ink: #102431;
  --cm-ink-soft: #27404d;
  --cm-muted: #5f737d;
  --cm-line: #dbe7e8;
  --cm-paper: #f5f9f8;
  --cm-teal: #087f82;
  --cm-teal-dark: #075b64;
  --cm-blue: #286ea9;
  --cm-coral: #c84f3c;
  --cm-navy: #071d2b;
  --cm-amber: #eaa23d;
  --cm-shadow: 0 28px 70px rgba(11, 40, 52, .15);
  --cm-soft-shadow: 0 16px 42px rgba(15, 48, 60, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 138px; }
body.clinic-outpatient-page { margin: 0; color: var(--cm-ink); background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.clinic-outpatient-page a { color: inherit; text-decoration: none; }
.clinic-outpatient-page img { display: block; max-width: 100%; }
.clinic-outpatient-page button, .clinic-outpatient-page input { font: inherit; }
.clinic-outpatient-page .shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.clinic-outpatient-page main :where(h1, h2, h3) { width: 100%; max-width: none; min-width: 0; overflow: visible; text-overflow: clip; white-space: nowrap; word-break: keep-all; overflow-wrap: normal; }
.clinic-outpatient-page main :where(h1, h2, h3) br { display: none; }
.clinic-outpatient-page :where(section, figure, article, div) { min-width: 0; }

.cm-overline, .cm-kicker { margin: 0; color: var(--cm-teal); font-size: 10px; font-weight: 900; letter-spacing: .09em; line-height: 1.35; text-transform: uppercase; }
.cm-heading { margin-bottom: 32px; }
.cm-heading--split, .cm-heading--dark { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(300px, .72fr); align-items: end; gap: 60px; }
.cm-heading h2 { margin: 9px 0 0; font-size: clamp(32px, 3.45vw, 50px); font-weight: 950; letter-spacing: -.052em; line-height: 1.12; }
.cm-heading > p, .cm-heading > div + p { margin: 0; color: var(--cm-muted); font-size: 13px; line-height: 1.85; }
.cm-heading--dark h2 { color: #fff; }
.cm-heading--dark > p { color: rgba(255,255,255,.58); }
.cm-heading--dark .cm-kicker { color: #71dce0; }

.cm-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 850; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.cm-button:hover { transform: translateY(-2px); }
.cm-button--primary { color: #fff; border-color: var(--cm-coral); background: var(--cm-coral); box-shadow: 0 12px 26px rgba(238,109,87,.23); }
.cm-button--primary:hover { background: #a83f2f; }
.cm-button--ghost { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(7,29,43,.22); backdrop-filter: blur(12px); }
.cm-button--outline { color: #fff; border-color: rgba(255,255,255,.28); background: transparent; }

.cm-hero { position: relative; min-height: 690px; overflow: hidden; color: #fff; background: var(--cm-navy); }
.cm-hero__media { position: absolute; inset: 0; }
.cm-hero__media::before { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(90deg, rgba(4,20,29,.95) 0%, rgba(4,20,29,.83) 34%, rgba(4,20,29,.22) 72%, rgba(4,20,29,.06) 100%), linear-gradient(180deg, rgba(5,19,27,.12), rgba(5,19,27,.48)); }
.cm-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cm-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: 690px; padding: 76px 0; }
.cm-hero__copy { max-width: 720px; }
.cm-hero .cm-overline { color: #82e2df; }
.cm-hero h1 { margin: 14px 0 0; font-size: clamp(43px, 6.1vw, 82px); font-weight: 950; letter-spacing: -.068em; line-height: 1.02; }
.cm-hero__claim { margin: 19px 0 0; color: #fff; font-size: clamp(20px, 2.35vw, 31px); font-weight: 850; letter-spacing: -.03em; line-height: 1.3; }
.cm-hero__lead { max-width: 670px; margin: 16px 0 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.88; }
.cm-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.cm-hero__proof { display: grid; grid-template-columns: repeat(3,1fr); margin: 29px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); list-style: none; }
.cm-hero__proof li { padding: 16px 14px; border-right: 1px solid rgba(255,255,255,.15); }
.cm-hero__proof li:first-child { padding-left: 0; }
.cm-hero__proof li:last-child { border-right: 0; }
.cm-hero__proof strong, .cm-hero__proof span { display: block; }
.cm-hero__proof strong { font-size: 15px; }
.cm-hero__proof span { margin-top: 5px; color: rgba(255,255,255,.5); font-size: 9px; }


.cm-anchor { position: sticky; top: var(--header-height); z-index: 62; display: none; border-bottom: 1px solid rgba(209,224,225,.95); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); }
.xb-shell-embedded .cm-anchor { top: 0; display: block; }
.cm-anchor__scroll { display: flex; align-items: center; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.cm-anchor__scroll::-webkit-scrollbar { display: none; }
.cm-anchor__scroll a { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 48px; padding: 0 18px; border-bottom: 2px solid transparent; color: var(--cm-muted); font-size: 11px; font-weight: 850; white-space: nowrap; }
.cm-anchor__scroll a:hover, .cm-anchor__scroll a.is-active { color: var(--cm-teal); border-bottom-color: var(--cm-teal); }

.cm-positioning, .cm-capabilities, .cm-patient, .cm-scenarios { padding: 84px 0; background: #fff; }
.cm-journey, .cm-console { padding: 84px 0; color: #fff; background: var(--cm-navy); }
.cm-pharmacy { padding: 84px 0; background: var(--cm-paper); }
.role-ribbon { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--cm-line); border-left: 1px solid var(--cm-line); }
.role-ribbon article { min-height: 148px; padding: 22px; border-right: 1px solid var(--cm-line); border-bottom: 1px solid var(--cm-line); transition: color .2s ease, background .2s ease; }
.role-ribbon article:hover { color: #fff; background: var(--cm-teal-dark); }
.role-ribbon span { color: var(--cm-teal); font-size: 8px; font-weight: 900; }
.role-ribbon article:hover span, .role-ribbon article:hover p { color: rgba(255,255,255,.63); }
.role-ribbon h3 { margin: 10px 0 0; font-size: 17px; font-weight: 900; }
.role-ribbon p { margin: 8px 0 0; color: var(--cm-muted); font-size: 10px; line-height: 1.7; }

.pain-layout { display: grid; grid-template-columns: minmax(0,.83fr) minmax(520px,1.17fr); gap: 72px; margin-top: 67px; }
.pain-lead h2 { margin: 10px 0 0; font-size: clamp(30px,3.1vw,45px); font-weight: 950; letter-spacing: -.05em; line-height: 1.12; }
.pain-lead > p:not(.cm-kicker) { margin: 15px 0 0; color: var(--cm-muted); font-size: 12px; line-height: 1.85; }
.pain-lead blockquote { margin: 23px 0 0; padding: 16px 19px; border-left: 4px solid var(--cm-coral); color: var(--cm-ink-soft); background: #f7f3f1; font-size: 11px; font-weight: 800; line-height: 1.7; }
.pain-ledger { margin: 0; padding: 0; border-top: 1px solid var(--cm-line); list-style: none; }
.pain-ledger li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--cm-line); }
.pain-ledger > li > span { color: var(--cm-coral); font-size: 9px; font-weight: 900; }
.pain-ledger h3 { margin: 0; font-size: 16px; }
.pain-ledger p { margin: 6px 0 0; color: var(--cm-muted); font-size: 10px; line-height: 1.65; }

.journey-scene { position: relative; margin: 38px 0 0; overflow: hidden; border-radius: 22px; box-shadow: 0 30px 78px rgba(0,0,0,.35); }
.journey-scene img { width: 100%; height: auto; }
.journey-scene figcaption { position: absolute; right: 18px; bottom: 18px; width: min(550px,56%); padding: 18px 20px; border: 1px solid rgba(255,255,255,.17); border-radius: 13px; background: rgba(4,24,34,.87); backdrop-filter: blur(14px); }
.journey-scene figcaption span, .journey-scene figcaption strong { display: block; }
.journey-scene figcaption span { color: #72dce0; font-size: 8px; font-weight: 900; letter-spacing: .06em; }
.journey-scene figcaption strong { margin-top: 8px; font-size: 16px; line-height: 1.45; }
.journey-badge { position: absolute; top: 19px; left: 19px; padding: 13px 15px; border-radius: 11px; color: var(--cm-ink); background: rgba(255,255,255,.94); box-shadow: var(--cm-soft-shadow); }
.journey-badge small, .journey-badge strong, .journey-badge span { display: block; }
.journey-badge small { color: var(--cm-muted); font-size: 7px; }
.journey-badge strong { margin-top: 4px; color: var(--cm-teal); font-size: 19px; }
.journey-badge span { margin-top: 3px; font-size: 7px; }
.journey-steps { display: grid; grid-template-columns: repeat(4,1fr); margin: 30px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); list-style: none; }
.journey-steps li { min-height: 126px; padding: 20px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.journey-steps span { color: #6dd6dc; font-size: 8px; font-weight: 900; }
.journey-steps h3 { margin: 10px 0 0; font-size: 15px; }
.journey-steps p { margin: 7px 0 0; color: rgba(255,255,255,.48); font-size: 9px; line-height: 1.65; }

.visit-trail { display: grid; grid-template-columns: .7fr 1.15fr .7fr; align-items: center; gap: 25px; margin-top: 30px; padding: 24px; border: 1px solid rgba(255,255,255,.15); border-radius: 17px; background: rgba(255,255,255,.055); }
.visit-trail .cm-kicker { color: #6dd6dc; }
.visit-trail h3 { margin: 8px 0 0; font-size: 17px; }
.visit-trail__copy > p:last-child { margin: 8px 0 0; color: rgba(255,255,255,.46); font-size: 9px; line-height: 1.65; }
.visit-trail__controls { display: flex; flex-wrap: wrap; gap: 6px; }
.visit-trail__controls button { min-height: 34px; padding: 0 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; color: rgba(255,255,255,.67); background: rgba(255,255,255,.04); font-size: 8px; font-weight: 850; cursor: pointer; }
.visit-trail__controls button:hover, .visit-trail__controls button.is-selected { color: #fff; border-color: var(--cm-coral); background: var(--cm-coral); }
.visit-trail dl { margin: 0; border-left: 1px solid rgba(255,255,255,.16); }
.visit-trail dl > div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 7px 0 7px 17px; }
.visit-trail dt, .visit-trail dd { margin: 0; }
.visit-trail dt { color: rgba(255,255,255,.42); font-size: 7px; }
.visit-trail dd { font-size: 8px; font-weight: 850; }

.clinical-stage { position: relative; min-height: 660px; }
.consult-scene { width: 82%; margin: 0; overflow: hidden; border-radius: 22px; box-shadow: var(--cm-shadow); }
.consult-scene img { width: 100%; height: auto; }
.consult-scene figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; color: #fff; background: var(--cm-navy); }
.consult-scene figcaption strong { font-size: 13px; }
.consult-scene figcaption span { color: rgba(255,255,255,.54); font-size: 8px; text-align: right; }
.record-audit { position: absolute; right: 0; bottom: 18px; width: 42%; overflow: hidden; border: 1px solid var(--cm-line); border-radius: 17px; background: #fff; box-shadow: var(--cm-shadow); }
.record-audit header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 19px; border-bottom: 1px solid var(--cm-line); }
.record-audit header small { color: var(--cm-muted); font-size: 7px; }
.record-audit h3 { margin: 6px 0 0; font-size: 18px; }
.record-audit header > span { padding: 6px 8px; border-radius: 7px; color: var(--cm-teal); background: #e4f5f2; font-size: 7px; font-weight: 900; }
.record-audit ol { margin: 0; padding: 11px 19px; list-style: none; }
.record-audit li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--cm-line); }
.record-audit li em { color: var(--cm-coral); font-size: 8px; font-style: normal; font-weight: 900; }
.record-audit li strong, .record-audit li small { display: block; }
.record-audit li strong { font-size: 10px; }
.record-audit li small { margin-top: 4px; color: var(--cm-muted); font-size: 7px; }
.record-audit button { width: calc(100% - 38px); min-height: 36px; margin: 5px 19px 19px; border: 0; border-radius: 8px; color: #fff; background: var(--cm-teal); font-size: 8px; font-weight: 900; cursor: pointer; }
.record-audit.is-reviewed { animation: cm-record-pulse .6s ease; }
@keyframes cm-record-pulse { 50% { box-shadow: 0 0 0 7px rgba(8,127,130,.12), var(--cm-shadow); } }
.capability-lanes { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 30px; border-top: 1px solid var(--cm-line); border-bottom: 1px solid var(--cm-line); }
.capability-lanes article { padding: 22px 20px; border-right: 1px solid var(--cm-line); }
.capability-lanes article:first-child { padding-left: 0; }
.capability-lanes article:last-child { padding-right: 0; border-right: 0; }
.capability-lanes span { color: var(--cm-teal); font-size: 8px; font-weight: 900; }
.capability-lanes h3 { margin: 10px 0 0; font-size: 15px; }
.capability-lanes p { margin: 7px 0 0; color: var(--cm-muted); font-size: 9px; line-height: 1.7; }
.capability-lanes em { display: block; margin-top: 11px; color: var(--cm-coral); font-size: 7px; font-style: normal; font-weight: 850; }

.pharmacy-layout { display: grid; grid-template-columns: minmax(360px,.73fr) minmax(0,1.27fr); align-items: center; gap: 58px; }
.pharmacy-copy h2, .patient-copy h2 { margin: 10px 0 0; font-size: clamp(31px,3.2vw,46px); font-weight: 950; letter-spacing: -.05em; line-height: 1.12; }
.pharmacy-copy > p:not(.cm-kicker), .patient-copy > p:not(.cm-kicker) { margin: 15px 0 0; color: var(--cm-muted); font-size: 12px; line-height: 1.85; }
.pharmacy-copy ul { margin: 24px 0 0; padding: 0; border-top: 1px solid var(--cm-line); list-style: none; }
.pharmacy-copy li { display: grid; grid-template-columns: 38px 1fr; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--cm-line); }
.pharmacy-copy li > span { color: var(--cm-coral); font-size: 8px; font-weight: 900; }
.pharmacy-copy h3 { margin: 0; font-size: 14px; }
.pharmacy-copy li p { margin: 5px 0 0; color: var(--cm-muted); font-size: 9px; line-height: 1.65; }
.pharmacy-scene { position: relative; margin: 0; overflow: hidden; border-radius: 22px; box-shadow: var(--cm-shadow); }
.pharmacy-scene img { width: 100%; height: auto; }
.pharmacy-scene figcaption { position: absolute; right: 17px; bottom: 17px; width: min(450px,66%); padding: 16px 18px; border-radius: 12px; color: #fff; background: rgba(5,28,39,.87); backdrop-filter: blur(13px); }
.pharmacy-scene figcaption span, .pharmacy-scene figcaption strong { display: block; }
.pharmacy-scene figcaption span { color: #74dce0; font-size: 8px; font-weight: 900; }
.pharmacy-scene figcaption strong { margin-top: 7px; font-size: 14px; line-height: 1.45; }
.lot-chip { position: absolute; top: 16px; left: 16px; padding: 12px 14px; border-radius: 10px; color: var(--cm-ink); background: rgba(255,255,255,.95); box-shadow: var(--cm-soft-shadow); }
.lot-chip small, .lot-chip strong, .lot-chip span { display: block; }
.lot-chip small { color: var(--cm-muted); font-size: 7px; }
.lot-chip strong { margin-top: 4px; color: var(--cm-teal); font-size: 17px; }
.lot-chip span { margin-top: 3px; font-size: 7px; }

.patient-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(360px,.75fr); align-items: center; gap: 60px; }
.followup-scene { margin: 0; overflow: hidden; border-radius: 22px; box-shadow: var(--cm-shadow); }
.followup-scene img { width: 100%; height: auto; }
.followup-scene figcaption { padding: 16px 18px; color: #fff; background: var(--cm-navy); }
.followup-scene figcaption span, .followup-scene figcaption strong { display: block; }
.followup-scene figcaption span { color: #70dce0; font-size: 8px; font-weight: 900; }
.followup-scene figcaption strong { margin-top: 7px; font-size: 14px; }
.patient-list { margin-top: 23px; border-top: 1px solid var(--cm-line); }
.patient-list article { display: grid; grid-template-columns: 38px 1fr; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--cm-line); }
.patient-list article > span { color: var(--cm-teal); font-size: 8px; font-weight: 900; }
.patient-list h3 { margin: 0; font-size: 14px; }
.patient-list p { margin: 5px 0 0; color: var(--cm-muted); font-size: 9px; line-height: 1.65; }

.operations-scene { position: relative; margin: 39px 0 0; overflow: hidden; border-radius: 22px; box-shadow: 0 32px 82px rgba(0,0,0,.36); }
.operations-scene img { width: 100%; height: auto; }
.operations-live { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; background: #0b2534; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.operations-live span { color: #6bdddf; font-size: 7px; font-weight: 900; }
.operations-live time { font-size: 8px; }
.operations-scene figcaption { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(610px,59%); padding: 17px 19px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(5,25,35,.86); backdrop-filter: blur(14px); }
.operations-scene figcaption strong { font-size: 15px; }
.operations-scene figcaption span { color: rgba(255,255,255,.54); font-size: 8px; text-align: right; }
.console-lanes { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 30px; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.console-lanes article { padding: 22px 20px; border-right: 1px solid rgba(255,255,255,.16); }
.console-lanes article:first-child { padding-left: 0; }
.console-lanes article:last-child { padding-right: 0; border-right: 0; }
.console-lanes span { color: #70dce0; font-size: 8px; font-weight: 900; }
.console-lanes h3 { margin: 10px 0 0; font-size: 15px; }
.console-lanes p { margin: 7px 0 0; color: rgba(255,255,255,.48); font-size: 9px; line-height: 1.7; }

.scenario-scene { position: relative; margin: 38px 0 0; overflow: hidden; border-radius: 22px; box-shadow: var(--cm-shadow); }
.scenario-scene img { width: 100%; height: auto; }
.scenario-scene figcaption { position: absolute; left: 18px; bottom: 18px; width: min(560px,56%); padding: 18px 20px; border-radius: 13px; color: #fff; background: rgba(5,27,38,.86); backdrop-filter: blur(14px); }
.scenario-scene figcaption span, .scenario-scene figcaption strong { display: block; }
.scenario-scene figcaption span { color: #71dde0; font-size: 8px; font-weight: 900; }
.scenario-scene figcaption strong { margin-top: 7px; font-size: 16px; line-height: 1.45; }
.scenario-index { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 30px; border-top: 1px solid var(--cm-line); border-left: 1px solid var(--cm-line); }
.scenario-index article { min-height: 132px; padding: 21px; border-right: 1px solid var(--cm-line); border-bottom: 1px solid var(--cm-line); }
.scenario-index span { color: var(--cm-teal); font-size: 8px; font-weight: 900; }
.scenario-index h3 { margin: 10px 0 0; font-size: 15px; }
.scenario-index p { margin: 7px 0 0; color: var(--cm-muted); font-size: 9px; line-height: 1.7; }
.compliance-boundary { display: grid; grid-template-columns: minmax(0,.75fr) minmax(510px,1.25fr); gap: 58px; margin-top: 35px; padding: 32px; border-radius: 18px; color: #fff; background: var(--cm-navy); }
.compliance-boundary .cm-kicker { color: #70dce0; }
.compliance-boundary h2 { margin: 10px 0 0; font-size: clamp(27px,2.7vw,39px); font-weight: 950; letter-spacing: -.045em; }
.compliance-boundary > div > p:last-child { margin: 12px 0 0; color: rgba(255,255,255,.48); font-size: 9px; }
.compliance-boundary ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.compliance-boundary li { position: relative; padding-left: 16px; color: rgba(255,255,255,.65); font-size: 10px; line-height: 1.65; }
.compliance-boundary li::before { position: absolute; top: .72em; left: 0; width: 6px; height: 6px; border-radius: 50%; content: ""; background: var(--cm-coral); }

.cm-faq { padding: 74px 0; background: var(--cm-paper); }
.faq-list { border-top: 1px solid var(--cm-line); }
.faq-list details { border-bottom: 1px solid var(--cm-line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 19px 0; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 14px; font-weight: 900; }
.faq-list summary i { position: relative; flex: 0 0 auto; width: 20px; height: 20px; }
.faq-list summary i::before, .faq-list summary i::after { position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; content: ""; background: var(--cm-teal); transform: translate(-50%,-50%); }
.faq-list summary i::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .18s ease; }
.faq-list details[open] summary i::after { transform: translate(-50%,-50%) rotate(0); }
.faq-list details p { max-width: 900px; margin: -4px 0 19px; color: var(--cm-muted); font-size: 11px; line-height: 1.8; }

.cm-contact { padding: 66px 0; color: #fff; background: linear-gradient(125deg,#071e2b,#075d66); }
.cm-contact__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 65px; }
.cm-contact .cm-kicker { color: #79e0df; }
.cm-contact h2 { margin: 9px 0 0; font-size: clamp(30px,3.3vw,47px); font-weight: 950; letter-spacing: -.05em; }
.cm-contact p:not(.cm-kicker) { max-width: 760px; margin: 13px 0 0; color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.8; }
.cm-contact__actions { display: flex; gap: 9px; }
.cm-footer { color: rgba(255,255,255,.58); background: #061722; }
.cm-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 88px; }
.cm-footer__brand { display: flex; align-items: center; gap: 10px; }
.cm-footer__brand img { width: 36px; height: 36px; border-radius: 10px; }
.cm-footer__brand strong, .cm-footer__brand small { display: block; }
.cm-footer__brand strong { color: #fff; font-size: 13px; }
.cm-footer__brand small { margin-top: 4px; color: rgba(115,222,221,.72); font-size: 8px; }
.cm-footer p { margin: 0; font-size: 9px; }
.cm-footer__inner > div { display: flex; gap: 17px; font-size: 9px; }
.cm-toast { position: static; z-index: 10020; max-width: min(390px,calc(100vw - 48px)); padding: 12px 16px; border-radius: 10px; color: #fff; background: #0a2a37; box-shadow: 0 18px 48px rgba(0,0,0,.23); font-size: 12px; line-height: 1.55; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.cm-toast.is-visible { opacity: 1; transform: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1260px) {
  body.xb-shell-ready .cm-anchor { display: block; }
  .visit-trail { grid-template-columns: .72fr 1.28fr; }
  .visit-trail dl { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 0; padding-top: 10px; }
  .visit-trail dl > div { display: block; padding: 7px 12px; border-right: 1px solid rgba(255,255,255,.12); }
  .visit-trail dl > div:last-child { border-right: 0; }
  .visit-trail dd { margin-top: 5px; }
}

@media (max-width: 1040px) {
  .cm-heading--split, .cm-heading--dark { grid-template-columns: 1fr; align-items: start; gap: 17px; }
  .pain-layout, .pharmacy-layout, .patient-layout { grid-template-columns: 1fr; gap: 42px; }
  .pain-layout { margin-top: 55px; }
  .pharmacy-copy, .patient-copy { width: 82%; }
  .pharmacy-scene { width: 84%; margin-left: auto; }
  .followup-scene { width: 84%; }
  .patient-copy { margin-left: auto; }
  .clinical-stage { min-height: 560px; }
  .consult-scene { width: 86%; }
  .record-audit { width: 48%; }
  .capability-lanes, .console-lanes { grid-template-columns: repeat(2,1fr); border-left: 1px solid var(--cm-line); }
  .console-lanes { border-left-color: rgba(255,255,255,.16); }
  .capability-lanes article, .capability-lanes article:first-child, .capability-lanes article:last-child, .console-lanes article, .console-lanes article:first-child, .console-lanes article:last-child { padding: 21px; border-right: 1px solid var(--cm-line); border-bottom: 1px solid var(--cm-line); }
  .console-lanes article, .console-lanes article:first-child, .console-lanes article:last-child { border-color: rgba(255,255,255,.16); }
  .compliance-boundary { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 80px; }
  .clinic-outpatient-page .shell { width: min(100% - 30px,1180px); }
  .cm-positioning, .cm-capabilities, .cm-patient, .cm-scenarios, .cm-journey, .cm-console, .cm-pharmacy { padding: 62px 0; }
  .cm-heading { margin-bottom: 26px; }
  .cm-heading h2 { font-size: clamp(27px,7.3vw,40px); }
  .cm-hero { min-height: 700px; }
  .cm-hero__media::before { background: linear-gradient(180deg,rgba(4,20,29,.75),rgba(4,20,29,.93)); }
  .cm-hero__media img { object-position: 65% center; }
  .cm-hero__inner { display: block; min-height: 700px; padding: 64px 0 46px; }
  .cm-hero__copy { max-width: 100%; }
  .cm-hero h1 { font-size: clamp(38px,11.2vw,64px); }
  .cm-hero__claim { font-size: clamp(19px,5.8vw,28px); }
  .cm-hero__lead { font-size: 12px; }
  .role-ribbon { grid-template-columns: repeat(2,1fr); }
  .pain-layout { grid-template-columns: 1fr; gap: 31px; }
  .journey-scene figcaption, .operations-scene figcaption { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 14px 15px; }
  .journey-badge, .operations-live { top: 11px; left: 11px; }
  .operations-live { right: auto; }
  .journey-steps { grid-template-columns: repeat(2,1fr); }
  .visit-trail { grid-template-columns: 1fr; }
  .visit-trail dl { grid-column: auto; }
  .clinical-stage { display: grid; min-height: 0; gap: 18px; }
  .consult-scene { width: 100%; }
  .record-audit { position: relative; right: auto; bottom: auto; width: min(88%,480px); margin: -145px 15px 0 auto; }
  .pharmacy-copy, .patient-copy, .pharmacy-scene, .followup-scene { width: 100%; margin-inline: 0; }
  .pharmacy-scene figcaption, .scenario-scene figcaption { right: 12px; bottom: 12px; left: 12px; width: auto; padding: 14px 15px; }
  .scenario-index { grid-template-columns: repeat(2,1fr); }
  .cm-contact__inner { grid-template-columns: 1fr; gap: 25px; }
  .cm-contact__actions { justify-content: flex-start; }
  .cm-footer__inner { align-items: flex-start; flex-direction: column; padding: 26px 0; }
  .cm-footer p { order: 3; }
}

@media (max-width: 560px) {
  .clinic-outpatient-page .shell { width: calc(100% - 24px); }
  .cm-positioning, .cm-capabilities, .cm-patient, .cm-scenarios, .cm-journey, .cm-console, .cm-pharmacy { padding: 50px 0; }
  .cm-overline, .cm-kicker { font-size: 8px; }
  .cm-heading h2, .pain-lead h2, .pharmacy-copy h2, .patient-copy h2, .cm-contact h2, .compliance-boundary h2 { font-size: clamp(23px,7.6vw,34px); }
  .cm-heading > p, .cm-heading > div + p { font-size: 11px; }
  .cm-hero { min-height: 730px; }
  .cm-hero__inner { min-height: 730px; padding-top: 54px; }
  .cm-hero h1 { font-size: clamp(34px,10.5vw,52px); }
  .cm-hero__claim { margin-top: 15px; font-size: clamp(17px,5.5vw,24px); }
  .cm-hero__proof li { padding: 13px 7px; }
  .cm-hero__proof strong { font-size: 12px; }
  .cm-hero__proof span { font-size: 7px; }
  .cm-button { min-height: 42px; padding: 0 14px; font-size: 10px; }
  .cm-anchor__scroll { justify-content: flex-start; }
  .cm-anchor__scroll a { min-height: 44px; padding: 0 13px; font-size: 10px; }
  .role-ribbon { grid-template-columns: 1fr; }
  .role-ribbon article { min-height: 0; padding: 18px; }
  .pain-layout { margin-top: 42px; }
  .journey-scene, .operations-scene, .scenario-scene, .pharmacy-scene, .followup-scene, .consult-scene { border-radius: 15px; }
  .journey-scene figcaption strong, .operations-scene figcaption strong, .scenario-scene figcaption strong, .pharmacy-scene figcaption strong, .followup-scene figcaption strong { font-size: 11px; }
  .journey-badge { padding: 9px 10px; }
  .journey-badge strong { font-size: 15px; }
  .journey-steps li { min-height: 110px; padding: 16px 13px; }
  .journey-steps h3 { font-size: 13px; }
  .visit-trail { padding: 18px; }
  .visit-trail dl { grid-template-columns: 1fr; }
  .visit-trail dl > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .visit-trail dl > div:last-child { border-bottom: 0; }
  .record-audit { width: calc(100% - 16px); margin-top: -80px; }
  .capability-lanes, .console-lanes { grid-template-columns: 1fr; }
  .capability-lanes article, .capability-lanes article:first-child, .capability-lanes article:last-child, .console-lanes article, .console-lanes article:first-child, .console-lanes article:last-child { padding: 18px; }
  .lot-chip { padding: 9px 10px; }
  .lot-chip strong { font-size: 14px; }
  .operations-scene figcaption { display: block; }
  .operations-scene figcaption span { margin-top: 7px; text-align: left; }
  .scenario-index { grid-template-columns: 1fr; }
  .scenario-index article { min-height: 0; padding: 18px; }
  .compliance-boundary { padding: 23px 19px; }
  .cm-faq { padding: 52px 0; }
  .faq-list summary span { font-size: 12px; }
  .cm-contact { padding: 49px 0; }
  .cm-contact__actions { flex-wrap: wrap; }
  .cm-footer__inner > div { flex-wrap: wrap; }
  .cm-toast { right: 12px; bottom: 12px; max-width: calc(100vw - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .cm-button, .record-audit, .cm-toast { transition: none; animation: none; }
}

/* Ultra-wide face-safe hero for the patient and clinic team. */
@media (min-width: 1041px) {
  .cm-hero,
  .cm-hero__inner { min-height: clamp(690px, 27vw, 920px); }
  .cm-hero__media img { object-position: center 30%; }
}

.journey-badge, .lot-chip, .operations-live { display: none !important; }
.journey-scene figcaption,
.pharmacy-scene figcaption,
.operations-scene figcaption,
.scenario-scene figcaption { position: static; width: 100%; border: 0; border-radius: 0; background: var(--cm-navy); backdrop-filter: none; }
.clinical-stage { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); align-items: center; gap: 24px; min-height: 0; }
.consult-scene, .record-audit { width: 100%; }
.record-audit { position: static; margin: 0; }
@media (max-width: 820px) { .clinical-stage { grid-template-columns: 1fr; } .record-audit { width: 100%; margin: 0; } }

/* Review pass: readable editorial copy, uncropped mobile hero and stable single-line titles. */
.clinic-outpatient-page main { overflow: visible; }
.xb-header-cta { background: #bd3f20; }
.xb-header-cta:hover { background: #963119; }
.cm-overline,
.cm-kicker { font-size: 12px; }
.cm-button,
.cm-anchor__scroll a { font-size: 13px; }
.cm-hero__proof span,
.role-ribbon span,
.pain-ledger > li > span,
.journey-steps span,
.capability-lanes span,
.capability-lanes em,
.patient-list article > span,
.console-lanes span,
.scenario-index span { font-size: 12px; }
.role-ribbon p,
.pain-ledger p,
.journey-steps p,
.capability-lanes p,
.pharmacy-copy li p,
.patient-list p,
.scenario-index p,
.compliance-boundary > div > p:last-child,
.compliance-boundary li,
.cm-footer__brand small,
.cm-footer p,
.cm-footer__inner > div { font-size: 12px; }
.journey-scene figcaption strong,
.pharmacy-scene figcaption strong,
.operations-scene figcaption strong,
.scenario-scene figcaption strong,
.followup-scene figcaption strong,
.consult-scene figcaption strong { font-size: 13px; }
.cm-heading > p,
.cm-heading > div + p,
.pain-lead > p:not(.cm-kicker),
.pharmacy-copy > p:not(.cm-kicker),
.patient-copy > p:not(.cm-kicker),
.cm-contact p:not(.cm-kicker) { font-size: 14px; }
.pain-lead blockquote,
.faq-list details p { font-size: 13px; }
.visit-trail__copy > p:last-child,
.visit-trail dt,
.visit-trail dd,
.visit-trail__controls button { font-size: 12px; }
.record-audit header small,
.record-audit header > span,
.record-audit li em,
.record-audit li small { font-size: 12px; }
.record-audit li strong,
.record-audit button { font-size: 13px; }
.pharmacy-copy li > span { font-size: 12px; }
.journey-steps p,
.visit-trail__copy > p:last-child,
.visit-trail dt,
.console-lanes p { color: rgba(255,255,255,.7); }
.journey-scene figcaption span,
.pharmacy-scene figcaption span,
.operations-scene figcaption span,
.scenario-scene figcaption span,
.followup-scene figcaption span,
.consult-scene figcaption span { color: rgba(255,255,255,.72); font-size: 12px; }
.cm-toast {
  position: static;
  display: none;
  max-width: none;
  margin: 0 19px 19px;
  opacity: 1;
  transform: none;
}
.cm-toast.is-visible { display: block; }
.clinic-outpatient-page main :where(h1, h2, h3) {
  overflow: visible;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .cm-hero { display: flex; min-height: 0; flex-direction: column; }
  .cm-hero__inner { order: 1; min-height: 0; padding: 48px 0 36px; }
  .cm-hero__media { position: relative; inset: auto; order: 2; aspect-ratio: 1587 / 991; }
  .cm-hero__media::before { background: linear-gradient(180deg, var(--cm-navy), rgba(7,29,43,.08) 34%, transparent); }
  .cm-hero__media img { object-fit: contain; object-position: center; }
}

@media (max-width: 560px) {
  .cm-overline,
  .cm-kicker { font-size: 12px; }
  .cm-button { min-height: 44px; font-size: 13px; }
  .cm-heading > p,
  .cm-heading > div + p { font-size: 13px; }
  .cm-hero__inner { padding: 40px 0 30px; }
  .cm-hero__lead { font-size: 13px; }
  .faq-list summary span { font-size: 13px; }
}
