/* ===== Source module: kaeva-brand-tone-muted-clay-2026-11.css ===== */
/* Kaeva brand palette v2 — Forest Green + Warm Ivory + Muted Clay
 * 2026-11-21 | Preview only: use with the matching V71 site bundle.
 * Colours and gentle surface balancing only; no type, size or layout changes.
 */
:root {
  /* Existing pine, ivory and paper colours remain unchanged. */
  --kaeva-background:var(--cream-50);   /* #FBF7F0 */
  --kaeva-surface:var(--paper);          /* #FFFCF8 */
  --kaeva-surface-soft:var(--sage-100);  /* #EDF3EF */
  --kaeva-ink:var(--ink);                /* #22342D */
  --kaeva-button:var(--pine-900);        /* #2D493F */
  --kaeva-button-hover:var(--pine-950);  /* #1F3630 */
  --kaeva-clay:#80645E;
  --kaeva-clay-light:#DED1CB;
  --kaeva-clay-soft:#F5EEEA;
  /* Apply muted clay sitewide to existing accent contexts.
   * The original token names are retained for compatibility. */
  --rose-500:var(--kaeva-clay);
  --rose-200:var(--kaeva-clay-light);
  --rose-100:var(--kaeva-clay-soft);
  --rose-on-pine:#E8D3C9;
  --rose-on-pine-muted:#DDC6BC;
  --kaeva-accent:var(--kaeva-clay);
  --kaeva-hairline:var(--line);
}
/* Stable warm background and paper cards. */
body {background:var(--kaeva-background);color:var(--kaeva-ink)}
.section.paper,.service-section,.contact-section,.page-fees .section.paper{background:var(--kaeva-surface)}
.section.sage,.section.sage-soft,.sage{background:var(--kaeva-surface-soft)}
/* Light-green remains on alternating sections and limited informative panels,
   not on every service card. This also matches the existing paper card system. */
.page-service-detail .card,
.approach-support-card,.approach-fit-card,
.rcsw-page .rcsw-service-card,
.quick-compare {background:var(--kaeva-surface)}
.quick-compare{border:1px solid var(--line)}
:where(.page-service-detail,.page-fees,.page-contact) .clinical-info-note{
  background:var(--kaeva-surface);border-color:var(--line-strong)
}
/* Keep primary actions forest green. Never use clay for important action buttons. */
.btn.primary{background:var(--kaeva-button);color:var(--white)}
.btn.primary:hover{background:var(--kaeva-button-hover)}
.btn.secondary:hover,.service-card:hover{background:var(--kaeva-surface-soft)}
/* Clay only for secondary information / eyebrows on light backgrounds;
   keep the original high-contrast hero and footer text rules. */
:where(.v4-hero,.editorial-hero,.pagehero-light,.profile-hero-v4,.section.paper,.section.sage,.section.sage-soft,.service-section) .eyebrow{color:var(--kaeva-accent)}
/* Muted warm backgrounds instead of pink for notes and consultations. */
.notice,.consultation-banner,.contact-note,.profile-note{
  background:var(--kaeva-clay-soft);border-color:var(--kaeva-clay-light)
}
/* RCSW prelaunch: keep exactly one soft green status panel and one next-step
   panel; the service cards and informational notes remain paper white. */
.rcsw-page .rcsw-status{background:var(--kaeva-surface-soft);border-color:var(--sage-300);border-left-color:var(--pine-900)}
.rcsw-page .rcsw-quickfacts span{background:var(--kaeva-surface);border-color:var(--sage-300);color:var(--kaeva-ink)}
.rcsw-page .rcsw-note{background:var(--kaeva-surface);border-color:var(--sage-150);color:var(--kaeva-ink)}
.rcsw-page .rcsw-faq details{border-bottom-color:var(--sage-150)}
.rcsw-page .rcsw-nextstep{background:var(--kaeva-surface-soft)}
.rcsw-page .rcsw-hero .rcsw-status,
.rcsw-page .rcsw-hero .rcsw-status :is(h2,p,a){color:var(--kaeva-ink)}
/* The old CSS used --rose-500 for keyboard focus. Muted clay meets AA on
   warm light backgrounds but the outline is stronger in dark-green zones. */
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--pine-700);outline-offset:3px}


/* Constance card without the former designation line.
   Match the shared education / description grid positions and avoid an empty
   row in desktop and mobile views. */
.clinician-feature.associate-feature .feature-copy > .feature-education {grid-area:3/2/auto/3;}
.clinician-feature.associate-feature .feature-copy > .credentials {grid-area:4/2/auto/3;}
.clinician-feature.associate-feature .feature-copy > p:not(.role-label):not(.professional-status):not(.credentials):not(.feature-education):not(.format-line) {grid-area:5/1/auto/-1;}
.clinician-feature.associate-feature .focus-row {grid-area:6/1/auto/-1;}
.clinician-feature.associate-feature .format-line {grid-area:8/1/auto/-1;}
.clinician-feature.associate-feature .feature-copy > .btn {grid-area:9/1/auto/-1;}
@media (max-width:700px) {
 .clinician-feature.associate-feature .feature-copy > .feature-education {grid-area:3/1/auto/-1;}
 .clinician-feature.associate-feature .feature-copy > .credentials {grid-area:4/1/auto/-1;}
}
/* Join Us: aligned with forest-green / warm-ivory / muted-clay palette. */
.page-join-us .join-hero .editorial-grid{align-items:center;}
.page-join-us .join-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;align-items:center;}
.page-join-us .join-availability-note {background:var(--kaeva-surface,#fffcf8);border:1px solid var(--line-strong,#ced8d0);}
.page-join-us .join-availability-note strong {color:var(--pine-900,#1f3630);}
.page-join-us .join-section {padding-block:clamp(48px,5vw,84px);}
.page-join-us .join-values {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px;}
.page-join-us .join-value-card{min-width:0;padding:clamp(22px,2.4vw,32px);background:var(--kaeva-surface,#fffcf8);border:1px solid var(--line,#e0e6df);border-radius:18px;}
.page-join-us .join-value-card h3{font-size:clamp(1.1rem,1.4vw,1.4rem);line-height:1.35;color:var(--pine-900,#1f3630);margin:0 0 12px;}
.page-join-us .join-value-card p{color:var(--muted,#52645b);line-height:1.7;margin:0;}
.page-join-us .join-contact-panel{padding:clamp(24px,4vw,50px);background:var(--kaeva-surface,#fffcf8);border:1px solid var(--line,#e0e6df);border-radius:20px;max-width:980px;margin-inline:auto;}
.page-join-us .join-contact-panel h2 {color:var(--pine-900,#1f3630);margin:4px 0 14px;}
.page-join-us .join-contact-panel>p {max-width:72ch;line-height:1.7;}
.page-join-us .join-contact-panel>.btn {margin-top:12px;}
.page-join-us .join-disclaimer,.page-join-us .join-privacy-note{font-size:.91rem;color:var(--muted,#52645b);}
.join-us-teaser-section{background:var(--kaeva-surface-soft,#edf3ef);}
.join-us-teaser{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:clamp(24px,3.2vw,40px);background:var(--kaeva-surface,#fffcf8);border:1px solid var(--line,#e0e6df);border-radius:20px;}
.join-us-teaser h2{margin:0 0 8px;color:var(--pine-900,#1f3630);font-size:clamp(1.4rem,2vw,2rem);}
.join-us-teaser p{margin:0;color:var(--muted,#52645b);}
.join-us-teaser .btn{flex-shrink:0;}
@media(max-width:800px){.page-join-us .join-values{grid-template-columns:1fr;}.join-us-teaser{flex-direction:column;align-items:flex-start;}.join-us-teaser .btn{max-width:100%;}}
@media(max-width:420px){.page-join-us .join-hero-actions .btn{width:100%;justify-content:center;}.page-join-us .join-section{padding-block:44px;}}


/* 2026-11-21 — Clinician card UI polish.
   Fixes oversized/stretching specialty pills and maintains a consistent compact
   spacing rhythm across all four profiles without changing their content. */
.clinician-feature .focus-row,
.clinician-feature.associate-feature .focus-row {
  align-items: flex-start;
  align-content: flex-start;
  gap: 8px;
  min-width: 0;
}
.clinician-feature .focus-row > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex: 0 0 auto;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  height: auto;
  padding: 6px 11px;
  border-radius: 999px;
  line-height: 1.35;
  text-wrap: pretty;
  overflow-wrap: break-word;
}
/* Because this card uses a flexible CSS-grid row as a vertical spacer,
   the badge row must not stretch its pills to fill that spacer. */
.clinician-feature.associate-feature .focus-row {
  align-self: center;
}
/* Preserve a clear reading order and limit excessive word wrapping. */
.clinician-feature .feature-copy > h3 {line-height: 1.18;}
.clinician-feature .format-line {line-height: 1.55;}
@media (max-width: 420px) {
  .clinician-feature .focus-row {gap: 7px;}
  .clinician-feature .focus-row > span {font-size: .76rem; padding: 6px 10px;}
}

/* Subtle shared metadata footer: differentiates availability and profile action
   from the specialty tags, while keeping the buttons aligned across cards. */
.clinician-feature .format-line {
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

/* ===== Source module: kaeva-typography-ui-2026-11.css ===== */
/* Kaeva Typography & UI Legibility Refinement — 2026-11-22
   Safe overrides on top of V71 / Team UI Round 2.
   No new font downloads, brand changes, or credential changes.
*/

/* Keep platform-native Chinese type and define reliable CJK fallbacks.
   Prefer installed system fonts; no redistributed font files. */
html[lang^="zh-Hant"] {
  --font-display:"Songti TC","Noto Serif TC","Noto Serif CJK TC","Noto Serif CJK HK","PMingLiU",serif;
  --font-body:"PingFang TC","Noto Sans TC","Noto Sans CJK TC","Noto Sans CJK HK","Microsoft JhengHei",Arial,sans-serif;
}
html[lang^="zh-Hans"] {
  --font-display:"Songti SC","Noto Serif SC","Noto Serif CJK SC","SimSun",serif;
  --font-body:"PingFang SC","Noto Sans SC","Noto Sans CJK SC","Microsoft YaHei",Arial,sans-serif;
}

/* Small navigation CTA was 13.12px; increase modestly while retaining its original height. */
.nav-cta { font-size:.875rem !important; }

/* Clinician comparison — legible labels and details. */
.page-team .quick-compare-table .quick-compare-label {font-size:.85rem;line-height:1.55;}
.page-team .quick-compare-table .quick-compare-value {font-size:.9rem;line-height:1.62;overflow-wrap:break-word;}
.page-team .quick-compare-table .quick-compare-person {font-size:1rem;line-height:1.4;overflow-wrap:break-word;}
.page-team .quick-compare-mobile-card dt {font-size:.875rem;line-height:1.45;}
.page-team .quick-compare-mobile-card dd {font-size:.9rem;line-height:1.62;overflow-wrap:break-word;}

/* Detailed team cards: preserve layout but prevent 12–13px text in dense sections. */
.page-team .compare-card .role-label {font-size:.875rem;line-height:1.5;}
.page-team .compare-card .compare-credential-label {font-size:.825rem;line-height:1.5;}
.page-team .compare-card .credential-unit {font-size:.9rem;line-height:1.55;}
.page-team .compare-card .compare-copy>p:not(.role-label):not(.credentials) {font-size:.95rem;line-height:1.68;}
.page-team .compare-card .compare-block h3 {font-size:.875rem;letter-spacing:.035em;line-height:1.5;}
.page-team .compare-card .compare-block ul {font-size:.9rem;line-height:1.6;}
.page-team .compare-card .compare-meta-label {font-size:.85rem;line-height:1.5;}
.page-team .compare-card .compare-meta-value {font-size:.925rem;line-height:1.6;overflow-wrap:break-word;}

/* Homepage team cards: long educational qualifications should wrap safely. */
.page-home .clinician-feature .feature-education,
.page-home .clinician-feature .feature-copy>.credentials {font-size:.875rem;line-height:1.6;min-width:0;overflow-wrap:break-word;}
.page-home .clinician-feature .credential-row,
.page-home .clinician-feature .credential-unit {min-width:0;max-width:100%;overflow-wrap:anywhere;}
.page-home .clinician-feature .focus-row>span {font-size:.8125rem;line-height:1.4;}

/* Contact: 12.48px on key booking buttons was too small. */
.page-contact .contact-profile .contact-actions .btn {font-size:.9rem;line-height:1.45;min-height:46px;white-space:normal;overflow-wrap:break-word;}
.page-contact .contact-profile .profile-mini-link {font-size:.9rem;line-height:1.5;}

/* Mobile: readable labels, comfortable spacing and no forced single-line cards. */
@media (max-width:700px) {
  .page-team .quick-compare-mobile-card {padding:20px;}
  .page-team .compare-card .compare-block ul {font-size:.9rem;}
  .page-contact .contact-profile .contact-actions .btn {min-height:48px;}
}

/* V73 shared reading rhythm. These rules avoid changing headline sizes,
   base fonts and inherited button styles elsewhere on the site. */
main .section-heading > p {max-width: 72ch;line-height: 1.7;}
main .section-heading > h2 {text-wrap: balance;}
@media (max-width: 700px) {
  main .section-heading > p {overflow-wrap: break-word;}
}

/* ===== Source module: kaeva-conversion-ux-2026-11.css ===== */
/* Kaeva v72: conversion and mobile UX refinement; scoped, preserves brand palette. */
:root{--kaeva-ux-forest:#2D493F;--kaeva-ux-ink:#22342D;--kaeva-ux-muted:#52645B;--kaeva-ux-border:#D8E1DA;--kaeva-ux-surface:#FFFCF8}
/* Improve keyboard and touch affordances, without changing visual identity */
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #80645E!important;outline-offset:3px}
:where(.btn,.nav-cta,.mobile-action,.booking-shortcut){min-height:44px}
[id^="clinician-"],#booking-options{scroll-margin-top:88px}
/* Homepage: two clear actions and a secondary route to team comparisons */
.page-home .hero-copy .actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.page-home .hero-copy .actions .btn{min-height:48px;white-space:normal;text-align:center;line-height:1.35}
.page-home .hero-copy .actions .consultation-cta{background:transparent;border:1.5px solid var(--kaeva-ux-forest);color:var(--kaeva-ux-forest);box-shadow:none}
.page-home .hero-copy .actions .consultation-cta:hover{background:#EDF3EF}
.page-home .consultation-inline{max-width:58ch;line-height:1.6}
.page-home .consultation-inline .hero-compare-link{display:inline-flex;font-weight:650;min-height:28px;align-items:center;margin-left:4px;color:var(--kaeva-ux-forest);text-decoration:underline;text-underline-offset:3px}
/* Team: compact navigation only on small screens. Full profiles retain detail. */
.page-team .mobile-team-jump-title{font-size:1.125rem;margin:0 0 6px;line-height:1.35;color:var(--kaeva-ux-ink)}
.page-team .mobile-team-jump-intro{font-size:.92rem;line-height:1.55;margin:0 0 14px;color:var(--kaeva-ux-muted)}
.page-team .mobile-team-jump-links{display:grid;gap:8px}
.page-team .mobile-team-jump-link{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:center;padding:12px 14px;text-decoration:none!important;border:1px solid var(--kaeva-ux-border);border-radius:14px;background:var(--kaeva-ux-surface);color:var(--kaeva-ux-ink);min-height:62px}
.page-team .mobile-team-jump-link strong{font-size:1rem;font-weight:700;grid-column:1}
.page-team .mobile-team-jump-link span:not([aria-hidden]){font-size:.88rem;grid-column:1;color:var(--kaeva-ux-muted)}
.page-team .mobile-team-jump-link span[aria-hidden]{grid-column:2;grid-row:1/3;font-size:1.2rem}
.page-team .mobile-team-jump-link:hover{border-color:var(--kaeva-ux-forest);background:#EDF3EF}
/* Contact hub: explain consultation route alongside Jane links */
.page-contact .booking-hub .booking-consult-prompt{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;grid-column:1/-1;margin-top:18px;padding:18px 20px;border:1px solid var(--kaeva-ux-border);border-radius:16px;background:var(--kaeva-ux-surface)}
.page-contact .booking-consult-prompt>div{flex:1 1 260px;min-width:0}
.page-contact .booking-consult-prompt strong{display:block;color:var(--kaeva-ux-ink);font-weight:700;font-size:1rem;line-height:1.4}
.page-contact .booking-consult-prompt p{margin:5px 0 0;color:var(--kaeva-ux-muted);font-size:.93rem;line-height:1.55}
.page-contact .booking-consult-prompt .booking-consult-email{font-size:.9rem;white-space:normal;line-height:1.4;min-height:44px;text-align:center;background:var(--kaeva-ux-forest);border-color:var(--kaeva-ux-forest);color:white}
/* Fees: per-clinician booking link in first column, preserve 4-column table */
.page-fees .fee-table th[scope=row] .fee-book-link{display:table;width:fit-content;max-width:100%;margin-top:5px;font-size:.82rem;line-height:1.5;font-weight:650;text-decoration:underline;text-underline-offset:3px;color:var(--kaeva-ux-forest)}
.page-fees .fee-table th[scope=row] .fee-book-link:hover{color:#80645E}
@media(max-width:700px){
 .page-home .hero-copy .actions{display:grid;grid-template-columns:1fr;align-items:stretch}
 .page-home .hero-copy .actions .btn{width:100%;justify-content:center}
 .page-home .consultation-inline .hero-compare-link{margin-left:0}
 .page-team .quick-compare-mobile{padding-inline:0}
 .page-team .mobile-team-jump-link{width:100%}
 .page-contact .booking-hub .booking-consult-prompt{margin-top:12px;padding:16px;gap:12px}
 .page-contact .booking-consult-prompt .booking-consult-email{width:100%;justify-content:center}
 .page-fees .fee-table th[scope=row] .fee-book-link{font-size:.875rem}
}
@media(prefers-reduced-motion:reduce){.page-team .mobile-team-jump-link,.page-home .hero-copy .actions .consultation-cta{transition:none}}

/* v72 final: keep consultation guidance once, at its existing enquiry block. */
.page-contact .booking-hub .booking-consult-inline{grid-column:1/-1;display:inline-flex;align-items:center;width:fit-content;max-width:100%;margin-top:10px;padding:10px 0;color:#FFFCF8!important;font-size:.94rem;font-weight:650;line-height:1.5;text-decoration:underline;text-underline-offset:4px;min-height:44px}
#consultation-enquiry{scroll-margin-top:90px}
@media(max-width:700px){.page-team .quick-compare-mobile .mobile-team-jump-title{display:none!important}.page-contact .booking-hub .booking-consult-inline{justify-self:center;text-align:center;margin-top:6px}}

/* V72 QA: style attributes blocked by site Content-Security-Policy */
.page-fees .fee-note-followup { margin-top: 10px; }

/* ===== Source module: kaeva-footer-cta-unified-2026-11.css ===== */
/* Kaeva footer CTA typography & responsive consistency, 2026-11-22.
   Shared by patient-facing pages and the Join Us collaboration page.
   Brand colors, CTA copy, button destinations, and site footer content remain unchanged. */
.footer .footer-cta {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(24px, 3vw, 42px);
  row-gap: 20px;
  padding-bottom: clamp(34px, 3.8vw, 48px);
  margin-bottom: clamp(38px, 4vw, 58px);
  min-width: 0;
}
.footer .footer-cta > div:first-child { min-width: 0; }
.footer .footer-cta h2,
.page-join-us .footer .footer-cta h2 {
  color: var(--white, #fff);
  font-size: clamp(1.8rem, 2.6vw, 2.25rem);
  line-height: 1.26;
  font-weight: 500;
  max-width: 100%;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
html[lang^="zh-"] .footer .footer-cta h2,
html[lang^="zh-"] .page-join-us .footer .footer-cta h2 {
  font-size: clamp(1.7rem, 2.45vw, 2.17rem);
  line-height: 1.34;
  text-wrap: pretty;
}
.footer .footer-cta p:not(.eyebrow),
.page-join-us .footer .footer-cta p:not(.eyebrow) {
  font-size: clamp(1rem, 1.3vw, 1.075rem);
  line-height: 1.62;
  max-width: 62ch;
  overflow-wrap: anywhere;
}
.footer .footer-cta .eyebrow { margin-bottom: 11px; }
.footer .footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer .footer-cta-actions .btn,
.page-join-us .footer .footer-cta-actions .btn {
  box-sizing: border-box;
  font-size: .96rem;
  line-height: 1.35;
  min-height: 48px;
  padding: 12px 20px;
  text-align: center;
  white-space: normal;
}
@media (max-width: 1080px) {
  .footer .footer-cta {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .footer .footer-cta-actions { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .footer .footer-cta {
    row-gap: 20px;
    margin-bottom: 36px;
    padding-bottom: 34px;
  }
  .footer .footer-cta h2,
  .page-join-us .footer .footer-cta h2 { font-size: clamp(1.65rem, 6.5vw, 2rem); }
  html[lang^="zh-"] .footer .footer-cta h2,
  html[lang^="zh-"] .page-join-us .footer .footer-cta h2 {
    font-size: clamp(1.55rem, 6.3vw, 1.95rem);
    line-height: 1.38;
  }
  .footer .footer-cta-actions { gap: 10px; }
  .footer .footer-cta-actions .btn { width: 100%; }
}
@media (max-width: 360px) {
  html[lang^="zh-"] .footer .footer-cta .zh-phrase-unit {
    white-space: normal;
    word-break: normal;
    display: inline;
  }
}


/* V75: Equalize distance from the green footer edge to the eyebrow on every page.
   Join Us previously added padding-block (26–44px) to .footer-cta;
   the normal footer already supplies the shared top inset. */
.footer .footer-cta,
.page-join-us .footer .footer-cta {
  padding-top: 0;
}

/* ===== Source module: kaeva-profile-section-gap-2026-11.css ===== */
/* Kaeva V76 — profile credential section boundary fix.
   Keep visible breathing room between the last accordion card and the sage section.
   The previous baseline incorrectly set padding-bottom: 0 for these two profiles. */
body.page-profile[data-clinician-id="trautman"] .credentials-section,
body.page-profile[data-clinician-id="kaitlyn"] .credentials-section {
  padding-block-end: 40px;
}
@media (max-width: 700px) {
  body.page-profile[data-clinician-id="trautman"] .credentials-section,
  body.page-profile[data-clinician-id="kaitlyn"] .credentials-section {
    padding-block-end: 28px;
  }
}

/* ===== Source module: kaeva-profile-compact-credentials-2026-11.css ===== */
/* Kaeva V77: Condense short profile credential summaries into natural inline rows.
   Full degree and registration entries remain in the accordion below. */
body.page-profile .profile-intro .profile-credential-groups {
  display:block !important;
  margin:0 0 1.35rem !important;
  max-width:100%;
}
body.page-profile .profile-intro .profile-credential-groups .compact-credential-row {
  display:block !important;
  margin:.28rem 0 !important;
  font-size:.9375rem;
  line-height:1.65;
  text-align:start;
  overflow-wrap:anywhere;
}
body.page-profile .profile-intro .profile-credential-groups .compact-credential-label {
  display:inline !important;
  margin:0 .45rem 0 0 !important;
  color:var(--rose-500);
  font-weight:700;
  font-size:.875rem;
  line-height:inherit;
  white-space:nowrap;
}
body.page-profile .profile-intro .profile-credential-groups .compact-credential-values {
  display:inline !important;
  color:var(--pine-900);
  line-height:inherit;
  font-weight:550;
}
body.page-profile .profile-intro .profile-credential-groups .compact-credential-values .credential-unit {
  display:inline !important;
  white-space:normal !important;
  text-wrap:wrap;
  overflow-wrap:anywhere;
  width:auto !important;
  max-width:none;
  font-weight:inherit;
}
body.page-profile .profile-intro .profile-credential-groups .compact-credential-values .credential-unit::before,
body.page-profile .profile-intro .profile-credential-groups .compact-credential-values .credential-unit::after {
  content:none !important;
  display:none !important;
}
@media(max-width:480px) {
  body.page-profile .profile-intro .profile-credential-groups .compact-credential-row {
    font-size:.875rem;
    line-height:1.6;
  }
  body.page-profile .profile-intro .profile-credential-groups .compact-credential-label {
    font-size:.8125rem;
  }
}

/* ===== Source module: kaeva-copy-flow-v78.css ===== */
/* Kaeva V78 — compact responsive copy flow, 2026-11-22
   Expand unnecessarily narrow copy areas. Do not remove paragraphs or force nowrap. */

/* Use existing reading width; only lift the former 60–72ch limits on wide screens. */
@media (min-width: 900px) {
  body.page-profile main .section-heading > p {
    max-width: min(100%, 980px);
    line-height: 1.68;
  }
  body.page-profile main .background-section .section-heading > p {
    max-width: min(100%, 1040px);
  }
  body.page-profile .profile-intro > .hero-lead {
    max-width: 100%;
    line-height: 1.7;
  }
  body.page-profile .supervision-section .supervision-v4 {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(20px, 3vw, 36px);
    align-items: center;
  }
  body.page-profile .supervision-v4 > div {
    max-width: none;
  }
  body.page-profile .supervision-section .supervision-v4 p,
  body.page-profile .supervision-section .supervision-v4 p.small {
    max-width: none;
  }
}
/* Keep related lines visually grouped without squeezing the font. */
body.page-profile .supervision-v4 > div {
  gap: .72rem;
}
body.page-profile .supervision-section .supervision-v4 p { line-height: 1.66; }
body.page-profile .supervision-section .supervision-v4 p.small { line-height: 1.66; }
body.page-profile .profile-consultation-note { line-height: 1.65; }
body.page-profile .background-section .section-heading { margin-bottom: clamp(22px, 2.9vw, 36px); }

/* Review long explanatory copy in service sections in the same way. */
@media (min-width: 1100px) {
  body.page-services main .section-heading > p,
  body.page-home main .section-heading > p,
  main .service-supplement p {
    max-width: min(100%, 880px);
  }
}

@media (max-width: 899px) {
  /* Avoid forced one-line text on tablets and phones. */
  body.page-profile main .section-heading > p,
  body.page-profile .supervision-section .supervision-v4 p,
  body.page-profile .supervision-section .supervision-v4 p.small {
    max-width: 100%;
  }
  body.page-profile .supervision-section .supervision-v4 {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  body.page-profile .supervision-v4 > div { max-width: 100%; }
}
@media (max-width: 700px) {
  body.page-profile .supervision-v4 > div { gap: .68rem; }
  body.page-profile .background-section .section-heading { margin-bottom: 24px; }
}

