.clinician-section {
  --cp-paper: var(--surface, #fff);
  --cp-wash: var(--secondary-canvas, #f8f8f8);
  --cp-ink: var(--text-heading, #2c2c2c);
  --cp-copy: var(--text-body, #444);
  --cp-muted: #747167;
  --cp-line: var(--component-border, #ecebe5);
}
.clinician-section .clinician-teaser { display: block; }
.clinician-section .clinician-teaser-copy { max-width: none; margin-bottom: 24px; }
.clinician-teaser-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.clinician-section .clinician-teaser-heading h2 { flex: 1 1 36rem; min-inline-size: 0; }
.clinician-section .clinician-teaser-heading .clinician-eyebrow { flex: 0 0 auto; margin: 0; padding-inline: 20px; }
.clinician-section .clinician-teaser h2 { max-width: none; font-size: clamp(1.625rem, 2.6vw, 2.25rem); overflow-wrap: normal; }
.clinician-section .clinician-teaser-copy > p:not(.clinician-eyebrow) { max-width: 68ch; margin: 12px 0 18px; }

/* Semantic colors follow app/lib/app/config/app_colors.dart. */
.care-home-showcase {
  --care-preview-height: 560px;
  --care-preview-ink: var(--text-heading, #2c2c2c);
  --care-preview-primary: #3f4038;
  --care-preview-body: var(--text-body, #444);
  --care-preview-sub: #747167;
  --care-preview-surface: var(--surface, #fff);
  --care-preview-wash: var(--secondary-canvas, #f8f8f8);
  --care-preview-line: var(--component-border, #ecebe5);
  --care-preview-label-line: #e8e2d7;
  --care-preview-input-line: #e2e8f0;
  --care-preview-brand: var(--brand, #c9e265);
  --care-preview-brand-soft: var(--brand-surface, #f4f9e0);
  --care-preview-brand-ink: var(--brand-ink, #536300);
  --care-preview-orange: #ff9500;
  --care-preview-medium-soft: #ffeacc;
  --care-preview-medium-ink: #8a4b00;
  --care-preview-high-soft: #ffeae7;
  --care-preview-high-ink: #9d342c;
  --care-preview-tolerance: #f3f8e6;
  --care-preview-mint: #5dc7ad;
  display: grid; grid-template-columns: minmax(230px, 280px) minmax(0, 1fr); align-items: start; gap: clamp(24px, 4vw, 52px);
  color: var(--care-preview-primary);
}
.care-home-choices { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.care-home-case {
  width: 100%; min-height: 132px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px;
  padding: 14px 16px; border: 1px solid var(--care-preview-line); border-radius: 11px;
  background: transparent; color: var(--care-preview-primary); cursor: pointer; font: inherit; text-align: left;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.care-home-case:hover { background: var(--care-preview-wash); }
.care-home-case[aria-selected="true"] { border-color: transparent; background: var(--care-preview-brand-soft); box-shadow: none; }
.care-home-case:active { transform: translateY(1px); }
.care-home-case-index { color: var(--care-preview-sub); font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.care-home-case strong { color: var(--care-preview-primary); font-size: clamp(18px, 1.4vw, 19px); font-weight: 700; line-height: 1.22; letter-spacing: -.025em; }
.care-home-case-copy { color: var(--care-preview-body); font-size: 13px; line-height: 1.4; }

.care-home-demo { width: 100%; }
.care-home-window { overflow: hidden; border: 1px solid var(--care-preview-line); border-radius: 15px; background: var(--care-preview-wash); }

.care-home-frame-viewport { position: relative; width: 100%; height: var(--care-preview-height); overflow: hidden; background: var(--care-preview-wash); }
.care-home-frame { display: block; border: 0; width: 100%; height: 100%; transform-origin: top left; }
.care-home-demo figcaption { margin: 9px 0 0; color: var(--care-preview-sub); font-size: 10px; line-height: 1.4; }

@media (min-width: 1001px) {
  .care-home-choices { display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); height: calc(var(--care-preview-height) + 2px); padding-top: 0; }
}

@media (max-width: 1000px) {
  .care-home-showcase { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .care-home-choices { display: grid; grid-template-columns: repeat(4, minmax(132px, 1fr)); gap: 5px; overflow-x: auto; padding: 0 0 3px; scrollbar-width: thin; }
  .care-home-case { min-width: 120px; min-height: 104px; padding: 12px; }
  .care-home-case strong { font-size: 15px; }
  .care-home-case-copy { display: none; }
  .care-home-case-index { font-size: 10px; }
  .clinician-section .clinician-teaser-copy { margin-bottom: 22px; }
}
@media (max-width: 700px) {
  .care-home-frame-viewport { height: 580px; }
}
@media (max-width: 430px) {
  .care-home-case { min-width: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  .care-home-case { transition: none; }
}
