/* HEAL Docs static site: the portal reader's HEAL design (components/kb/heal/Heal*.css) on MkDocs Material 9.7.
   Tokens mirror HealTheme.css; light/dark follow Material's palette toggle (default / slate). */

/* ---------- fonts (the portal's Atkinson Hyperlegible files, as WOFF2; SIL Open Font License, see fonts/) */
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/atkinson-next-400.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/atkinson-next-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/atkinson-next-500.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/atkinson-next-600.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/atkinson-next-700.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/atkinson-next-800.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/atkinson-mono-400.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/atkinson-mono-500.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/atkinson-mono-600.woff2) format('woff2'); }

/* ---------- tokens */
:root {
  --heal-font: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --heal-mono: 'Atkinson Hyperlegible Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --heal-header-height: 64px;
  --heal-page: #fafaf8; --heal-canvas: #f6f5f1; --heal-surface: #ffffff; --heal-surface-hover: #f1f2ef;
  --heal-text: #0d1526; --heal-secondary: #414b5e; --heal-muted: #5f6878; --heal-icon: #8a93a3;
  --heal-border: #e4e6ea; --heal-border-strong: #cdd2d9; --heal-divider: #eef0f2;
  --heal-accent: #007a8c; --heal-accent-solid: #007a8c; --heal-on-accent: #ffffff; --heal-accent-soft: #edf6f7; --heal-accent-border: #b8d8de;
  --heal-inverse: #0d1526; --heal-on-inverse: #ffffff; --heal-header-bg: rgba(255,255,255,.94);
  --heal-code-fg: #be185d; --heal-code-bg: #f1f5f9; --heal-code-border: #e2e8f0; --heal-pre-bg: #f6f7f9;
  --heal-table-border: #e2e8f0; --heal-table-head: #f8fafc; --heal-table-head-fg: #64748b; --heal-img-border: #dddddd;
  --heal-pop-shadow: 0 16px 40px rgba(13,21,38,.16);
  --heal-success: #177245; --heal-danger: #b42318;
  --heal-callout-info-bg: #eff6ff; --heal-callout-info-bar: #3b82f6; --heal-callout-info-fg: #1e40af;
  --heal-callout-warning-bg: #fffbeb; --heal-callout-warning-bar: #f59e0b; --heal-callout-warning-fg: #92400e;
  --heal-callout-danger-bg: #fef2f2; --heal-callout-danger-bar: #ef4444; --heal-callout-danger-fg: #991b1b;
  --heal-callout-success-bg: #f0fdf4; --heal-callout-success-bar: #22c55e; --heal-callout-success-fg: #166534;
  --heal-callout-tip-bg: #faf5ff; --heal-callout-tip-bar: #a855f7; --heal-callout-tip-fg: #6b21a8;
}
[data-md-color-scheme=slate] {
  --heal-page: #111923; --heal-canvas: #0e1620; --heal-surface: #192330; --heal-surface-hover: #222f3e;
  --heal-text: #edf2f7; --heal-secondary: #c2ccda; --heal-muted: #a0adbf; --heal-icon: #899bb1;
  --heal-border: #2d3b4d; --heal-border-strong: #45576d; --heal-divider: #263445;
  --heal-accent: #66d3de; --heal-accent-solid: #087e8c; --heal-accent-soft: #17313c; --heal-accent-border: #315c68;
  --heal-inverse: #e4edf7; --heal-on-inverse: #111923; --heal-header-bg: rgba(17,25,35,.96);
  --heal-code-fg: #f472b6; --heal-code-bg: #1e293b; --heal-code-border: #334155; --heal-pre-bg: #0e1620;
  --heal-table-border: #2d3b4d; --heal-table-head: #192330; --heal-table-head-fg: #94a3b8; --heal-img-border: #2d3b4d;
  --heal-pop-shadow: 0 16px 40px rgba(0,0,0,.5);
  --heal-success: #7bdba5; --heal-danger: #ffaaa3;
  --heal-callout-info-bg: rgba(59,130,246,.1); --heal-callout-info-bar: #60a5fa; --heal-callout-info-fg: #93c5fd;
  --heal-callout-warning-bg: rgba(245,158,11,.1); --heal-callout-warning-bar: #fbbf24; --heal-callout-warning-fg: #fcd34d;
  --heal-callout-danger-bg: rgba(239,68,68,.1); --heal-callout-danger-bar: #f87171; --heal-callout-danger-fg: #fca5a5;
  --heal-callout-success-bg: rgba(34,197,94,.1); --heal-callout-success-bar: #4ade80; --heal-callout-success-fg: #86efac;
  --heal-callout-tip-bg: rgba(168,85,247,.1); --heal-callout-tip-bar: #c084fc; --heal-callout-tip-fg: #d8b4fe;
}
/* Material's own variables, fed from the tokens */
:root, [data-md-color-scheme] {
  --md-text-font: 'Atkinson Hyperlegible Next'; --md-code-font: 'Atkinson Hyperlegible Mono';
  --md-default-bg-color: var(--heal-page); --md-default-fg-color: var(--heal-text);
  --md-default-fg-color--light: var(--heal-secondary); --md-default-fg-color--lighter: var(--heal-muted); --md-default-fg-color--lightest: var(--heal-border);
  --md-primary-fg-color: var(--heal-surface); --md-primary-fg-color--light: var(--heal-surface); --md-primary-fg-color--dark: var(--heal-surface);
  --md-primary-bg-color: var(--heal-text); --md-primary-bg-color--light: var(--heal-muted);
  --md-accent-fg-color: var(--heal-accent); --md-accent-fg-color--transparent: var(--heal-accent-soft); --md-accent-bg-color: var(--heal-on-accent);
  --md-typeset-color: var(--heal-text); --md-typeset-a-color: var(--heal-accent); --md-typeset-table-color: var(--heal-table-border);
  --md-code-fg-color: var(--heal-text); --md-code-bg-color: var(--heal-pre-bg);
  --md-footer-bg-color: var(--heal-surface); --md-footer-bg-color--dark: var(--heal-surface);
  --md-footer-fg-color: var(--heal-text); --md-footer-fg-color--light: var(--heal-secondary); --md-footer-fg-color--lighter: var(--heal-muted);
}

/* ---------- base */
html { scroll-padding-top: calc(var(--heal-header-height) + 24px); }
body { background: var(--heal-page); color: var(--heal-text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* full width like the portal (no centred column, so no side gaps on wide screens or when zoomed out) */
.md-grid { max-width: none; }
:focus-visible { outline: 2px solid var(--heal-accent); outline-offset: 2px; }
.md-main__inner { margin-top: 0; }

/* ---------- header */
.md-header.heal-header { height: auto; color: var(--heal-text); background: var(--heal-header-bg); -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--heal-border); box-shadow: none; }
.md-header.heal-header.md-header--shadow { box-shadow: 0 4px 12px rgba(13,21,38,.04); }
.heal-header .md-header__inner { height: var(--heal-header-height); padding: 0 clamp(16px, 3vw, 40px); gap: 14px; font-family: var(--heal-font); }
.heal-header .md-header__button { margin: 0; padding: 0; color: var(--heal-secondary); }
.heal-header .md-header__button.md-icon svg { width: 18px; height: 18px; }
.heal-brand { display: flex; align-items: center; gap: 10px; flex: none; color: var(--heal-text); text-decoration: none; }
.heal-brand:hover, .heal-brand:focus { color: var(--heal-text); }
.heal-brand img { display: block; flex: none; width: 28px; height: 28px; }
.heal-brand-name { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.heal-brand-docs { font-family: var(--heal-mono); font-size: 11.5px; font-weight: 500; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--heal-secondary); padding: 4px 7px; border: 1px solid var(--heal-border-strong); border-radius: 6px; }
.heal-header-spacer { flex: 1 1 auto; min-width: 0; }
/* version selector (Material appends .md-version to the topic) */
.heal-header .md-header__topic { position: relative; display: flex; align-items: center; max-width: none; opacity: 1; transform: none; transition: none; z-index: auto; font-weight: 400; }
.heal-header .md-version { position: relative; height: auto; font-family: var(--heal-mono); font-size: 12.5px; }
.heal-header .md-version__current { margin: 0; top: 0; padding: 6px 2px; color: var(--heal-muted); }
.heal-header .md-version__current:hover { color: var(--heal-text); }
.heal-header .md-version__list { top: 100%; margin: 4px 0 0; padding: 6px; min-width: 120px; background: var(--heal-surface); color: var(--heal-text); border: 1px solid var(--heal-border); border-radius: 10px; box-shadow: var(--heal-pop-shadow); }
.heal-header .md-version__item { line-height: 1.4; }
.heal-header .md-version__link { padding: 7px 12px; border-radius: 7px; font-size: 13px; color: var(--heal-secondary); }
.heal-header .md-version__link:hover, .heal-header .md-version__link:focus { background: var(--heal-surface-hover); color: var(--heal-text); }
/* light/dark toggle, mobile menu and search buttons */
.heal-header .md-header__option { margin: 0; }
.heal-header .md-header__option > label.md-header__button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--heal-border-strong); border-radius: 9px; background: var(--heal-surface); color: var(--heal-secondary); }
/* after a click Material shows the checked option's label with display:block (.md-option:checked+label), which pins the icon to the top */
.heal-header .md-header__option > .md-option:checked + label.md-header__button:not([hidden]) { display: grid; }
.heal-header .md-header__option > label.md-header__button[hidden] { display: none; }
.heal-header .md-header__option > .md-header__button:hover { background: var(--heal-surface-hover); border-color: var(--heal-icon); color: var(--heal-text); }
.heal-header .md-header__option > .md-header__button svg { width: 17px; height: 17px; }
@media screen and (max-width: 76.234375em) {
  .heal-header .heal-header-menu { display: grid; place-items: center; width: 30px; height: 38px; flex: none; }
}
@media screen and (max-width: 59.984375em) {
  .heal-header .heal-header-search-button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--heal-border-strong); border-radius: 9px; background: var(--heal-surface); }
}
/* search: the portal's pill in the header; it widens into a dropdown while searching */
@media screen and (min-width: 60em) {
  .heal-header .md-search { padding: 0; flex: none; }
  .heal-header .md-search__inner { width: 250px; padding: 0; float: none; }
  .heal-header .md-search__form { height: 38px; border: 1px solid var(--heal-border-strong); border-radius: 9px; background: var(--heal-page); box-shadow: none; color: var(--heal-muted); }
  .heal-header .md-search__form:hover { background: var(--heal-page); border-color: var(--heal-icon); }
  .heal-header .md-search__input { font-family: var(--heal-font); font-size: 14.5px; color: var(--heal-text); }
  [dir=ltr] .heal-header .md-search__input { padding-left: 38px; padding-right: 70px; }
  .heal-header .md-search__input::placeholder { color: var(--heal-muted); }
  .heal-header .md-search__icon[for=__search] { top: 10px; left: 12px; color: var(--heal-muted); }
  .heal-header .md-search__icon[for=__search] svg { width: 16px; height: 16px; }
  .heal-header .md-search__options { top: 4px; }
  [dir=ltr] .heal-header .md-search__suggest { padding-left: 38px; padding-right: 70px; font-family: var(--heal-font); font-size: 14.5px; }
  [data-md-toggle=search]:checked ~ .heal-header .md-search__inner { width: 560px; }
  [data-md-toggle=search]:checked ~ .heal-header .md-search__form { background: var(--heal-surface); border-color: var(--heal-accent); border-radius: 9px 9px 0 0; color: var(--heal-text); }
  [data-md-toggle=search]:checked ~ .heal-header .heal-kbd { display: none; }
  .heal-header .md-search__output { top: 37px; border: 1px solid var(--heal-border-strong); border-top: 0; border-radius: 0 0 12px 12px; }
  .heal-header .md-search__scrollwrap { width: 100%; }
  [data-md-toggle=search]:checked ~ .heal-header .md-search__output { box-shadow: var(--heal-pop-shadow); }
}
@media screen and (min-width: 60em) and (max-width: 76.234375em) {
  [data-md-toggle=search]:checked ~ .heal-header .md-search__inner { width: 440px; }
}
.heal-kbd { position: absolute; top: 50%; right: 7px; z-index: 3; transform: translateY(-50%); pointer-events: none; font-family: var(--heal-mono); font-size: 11.5px; line-height: 1; padding: 4px 6px; border: 1px solid var(--heal-border-strong); border-radius: 5px; background: var(--heal-surface); color: var(--heal-secondary); }
@media screen and (max-width: 59.984375em) { .heal-header .heal-kbd { display: none; } }
/* search results */
.md-search__scrollwrap { background: var(--heal-surface); }
.md-search-result { color: var(--heal-text); font-family: var(--heal-font); }
.md-search-result__meta { background: var(--heal-surface-hover); color: var(--heal-muted); font-family: var(--heal-mono); font-size: 12px; line-height: 2.6; padding: 0 16px; }
.md-search-result__link:is(:hover, :focus, [data-md-state=active]) { background: var(--heal-accent-soft); }
.md-search-result__article h1, .md-search-result__article h2 { color: var(--heal-text); font-weight: 700; }
.md-search-result__article h1 { font-size: 15.5px; }
.md-search-result__teaser { color: var(--heal-secondary); }
.md-search-result mark { color: var(--heal-accent); background: transparent; text-decoration: underline; text-underline-offset: 2px; }
.md-search-result__icon { color: var(--heal-icon); }

/* ---------- left navigation */
.md-sidebar { top: var(--heal-header-height); padding: 0; }
.md-nav { font-family: var(--heal-font); font-size: 14px; line-height: 1.35; }
.md-nav--primary .md-nav__link { color: var(--heal-secondary); }
.md-nav--primary .md-nav__link--active { color: var(--heal-accent); font-weight: 700; }
.heal-nav-heading { display: flex; flex-direction: column; gap: 2px; }
.heal-nav-heading strong { font-size: 14.5px; font-weight: 800; color: var(--heal-text); }
.heal-nav-heading > span { font-family: var(--heal-mono); font-size: 11.5px; font-weight: 400; color: var(--heal-muted); }
/* wide screens: the portal's sidebar. Rows are pills, chevrons sit on the left, and every title starts at 29px */
@media screen and (min-width: 76.25em) {
  .md-sidebar--primary { width: 280px; border-right: 1px solid var(--heal-border); }
  .md-sidebar--primary .md-sidebar__scrollwrap { margin: 0; scrollbar-width: thin; }
  .md-sidebar--primary .md-sidebar__inner { padding: 24px 14px 40px 20px; }
  .md-nav--primary > .md-nav__title { padding: 0 10px 12px; color: var(--heal-text); }
  .heal-nav-brand { display: none; }
  .md-nav--primary .md-nav__item { padding: 0; }
  .md-nav--primary .md-nav__item .md-nav__item { padding-left: 12px; }
  .md-nav--primary .md-nav__link { margin: 1px 0 0; padding: 6px 10px; gap: 7px; align-items: center; border-radius: 7px; }
  .md-nav--primary .md-nav__item:not(.md-nav__item--nested) > .md-nav__link { padding-left: 29px; }
  .md-nav--primary .md-nav__link:hover { background: var(--heal-surface-hover); color: var(--heal-text); }
  .md-nav--primary .md-nav__link--active, .md-nav--primary .md-nav__link--active:hover { background: var(--heal-accent-soft); color: var(--heal-accent); }
  .md-nav--primary .md-nav__link.md-nav__container { padding: 0; gap: 0; }
  .md-nav--primary .md-nav__container > .md-nav__link { margin: 0; background: none; border-radius: 0; }
  .md-nav--primary .md-nav__container > a.md-nav__link { flex: 1 1 auto; min-width: 0; padding: 6px 10px 6px 7px; }
  .md-nav--primary .md-nav__container > label.md-nav__link { order: -1; padding: 6px 0 6px 10px; }
  .md-nav--primary .md-nav__container:has(> .md-nav__link--active) { background: var(--heal-accent-soft); }
  .md-nav--primary .md-nav__icon { order: -1; display: flex; align-items: center; justify-content: center; width: 12px; height: 12px; flex: none; color: var(--heal-icon); border-radius: 0; }
  .md-nav--primary .md-nav__icon:hover { background: none; }
  .md-nav--primary .md-nav__icon::after { display: block; width: 12px; height: 12px; vertical-align: 0; }
  /* Material right-aligns the chevron with an auto margin */
  [dir=ltr] .md-nav--primary .md-nav__link .md-icon:last-child { margin-left: 0; margin-right: 0; }
  .md-nav--primary > .md-nav__list > .md-nav__item { margin-top: 2px; }
  .md-nav--primary > .md-nav__list > .md-nav__item > .md-nav__link,
  .md-nav--primary > .md-nav__list > .md-nav__item > .md-nav__container > a.md-nav__link { font-size: 14.5px; font-weight: 700; color: var(--heal-text); }
  .md-nav--primary > .md-nav__list > .md-nav__item > .md-nav__container > a.md-nav__link--active { color: var(--heal-accent); }
  .md-nav--primary > .md-nav__list > .md-nav__item > .md-nav__link .md-nav__icon,
  .md-nav--primary > .md-nav__list > .md-nav__item > .md-nav__container .md-nav__icon { color: var(--heal-muted); }
  .md-nav--primary .md-nav__item--nested > .md-nav > .md-nav__list { padding-bottom: 2px; }
}
/* mobile drawer: Material's drill-in panels, in HEAL colours */
@media screen and (max-width: 76.234375em) {
  .md-nav--primary .md-nav__title { background: var(--heal-surface); color: var(--heal-text); border-bottom: 1px solid var(--heal-border); }
  .md-nav--primary .md-nav__title[for=__drawer] { height: auto; padding: 18px 16px; line-height: 1.4; background: var(--heal-surface); color: var(--heal-text); }
  .md-nav--primary .md-nav__title[for=__drawer] .heal-nav-heading { display: none; }
  .md-nav--primary .md-nav__item { border-top: 1px solid var(--heal-divider); }
  .md-nav--primary .md-nav__link { color: var(--heal-text); }
  .md-nav--primary .md-nav__link--active { color: var(--heal-accent); }
}

/* ---------- right column: on this page */
@media screen and (min-width: 60em) {
  .md-sidebar--secondary { width: 240px; }
  .md-sidebar--secondary .md-sidebar__inner { padding: 36px 20px 40px 0; }
}
.md-nav--secondary .md-nav__title { position: static; margin: 0; padding: 0 0 12px; background: none; box-shadow: none; font-family: var(--heal-mono); font-size: 11px; font-weight: 400; letter-spacing: .09em; text-transform: uppercase; color: var(--heal-muted); }
.md-nav--secondary .md-nav__title .md-nav__icon { display: none; }
.md-nav--secondary > .md-nav__list { border-left: 1.5px solid var(--heal-border); }
.md-nav--secondary .md-nav__item { padding: 0; }
.md-nav--secondary .md-nav__link { margin: 0 0 0 -1.5px; padding: 6px 0 6px 14px; border-left: 1.5px solid transparent; color: var(--heal-muted); font-size: 14px; line-height: 1.4; }
.md-nav--secondary .md-nav .md-nav__link { padding-left: 26px; }
.md-nav--secondary .md-nav .md-nav .md-nav__link { padding-left: 38px; }
.md-nav--secondary .md-nav__link:hover { color: var(--heal-text); }
.md-nav--secondary .md-nav__link--active, .md-nav--secondary .md-nav__link--active:hover { border-left-color: var(--heal-accent); color: var(--heal-accent); font-weight: 700; }

/* ---------- content column */
.md-content__inner { margin: 0 clamp(20px, 4vw, 48px); padding: 32px 0 80px; }
[dir=ltr] .md-sidebar--primary:not([hidden]) ~ .md-content > .md-content__inner { margin-left: clamp(20px, 4vw, 48px); }
[dir=ltr] .md-sidebar--secondary:not([hidden]) ~ .md-content > .md-content__inner { margin-right: clamp(20px, 4vw, 48px); }
.md-content__inner::before { display: none; }
.md-typeset { font-family: var(--heal-font); font-size: 17px; line-height: 1.65; color: var(--heal-text); }
.heal-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 20px; font-family: var(--heal-mono); font-size: 12.5px; line-height: 1.6; color: var(--heal-muted); }
.md-typeset .heal-breadcrumb a { color: inherit; }
.md-typeset .heal-breadcrumb a:hover { color: var(--heal-text); text-decoration: underline; text-underline-offset: 3px; }
.heal-breadcrumb [aria-current] { color: var(--heal-text); }
.md-typeset .heal-page-head h1 { margin: 0; font-size: clamp(34px, 4vw, 46px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; color: var(--heal-text); text-wrap: balance; }
.md-typeset .heal-lead { margin: 16px 0 0; font-size: 20px; line-height: 1.55; color: var(--heal-secondary); text-wrap: pretty; }
.heal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 22px 0 28px; padding-bottom: 22px; border-bottom: 1px solid var(--heal-border); font-size: 14px; color: var(--heal-muted); }
.heal-meta > span + span::before { content: "·"; margin-right: 8px; }
.heal-meta:empty { margin-top: 12px; padding-bottom: 12px; }
/* authors: the portal's contributor avatars, initials with the name in a tooltip on hover or focus */
.heal-meta-authors { display: inline-flex; align-items: center; gap: 6px; }
.heal-avatar { position: relative; display: grid; place-items: center; width: 28px; height: 28px; box-sizing: border-box; border: 1px solid var(--heal-accent-border); border-radius: 50%; background: var(--heal-accent-soft); color: var(--heal-accent); font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: 0; cursor: default; }
.heal-avatar:hover, .heal-avatar:focus-visible { border-color: var(--heal-accent); }
.heal-avatar::after { content: attr(data-name); position: absolute; top: calc(100% + 6px); left: 0; z-index: 25; padding: 7px 10px; border-radius: 7px; background: var(--heal-inverse); color: var(--heal-on-inverse); box-shadow: 0 4px 12px rgba(13,21,38,.15); font-size: 12px; font-weight: 500; line-height: 1.4; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; }
.heal-avatar:hover::after, .heal-avatar:focus-visible::after { opacity: 1; visibility: visible; }
/* headings and text */
.md-typeset h1, .md-typeset h2, .md-typeset h3, .md-typeset h4, .md-typeset h5, .md-typeset h6 { color: var(--heal-text); }
.md-typeset h2 { margin: 40px 0 12px; font-size: 25px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.md-typeset h3 { margin: 28px 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -.015em; line-height: 1.4; }
.md-typeset h4 { margin: 24px 0 8px; font-size: 17.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.5; }
.md-typeset h5, .md-typeset h6 { margin: 20px 0 6px; font-size: 15.5px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--heal-secondary); }
.md-typeset .headerlink { margin-left: .35em; color: var(--heal-icon); }
.md-typeset .headerlink:hover, .md-typeset [id]:target .headerlink { color: var(--heal-accent); }
.md-typeset [id] { scroll-margin-top: calc(var(--heal-header-height) + 24px); }
.md-typeset a { color: var(--heal-accent); }
.md-typeset a:hover, .md-typeset a:focus { color: var(--heal-accent); text-decoration: underline; text-underline-offset: 3px; }
.md-typeset strong { font-weight: 700; color: var(--heal-text); }
.md-typeset hr { height: 1px; margin: 40px 0; border: 0; background: linear-gradient(to right, transparent, var(--heal-border-strong), transparent); }
.md-typeset ol li::marker { color: var(--heal-accent); font-weight: 600; }
.md-typeset ul li::marker { color: var(--heal-icon); }
.md-typeset blockquote { border-left: 3px solid var(--heal-border-strong); color: var(--heal-secondary); padding-left: 16px; }
.md-typeset kbd { font-family: var(--heal-mono); font-size: .8em; padding: 2px 6px; border-radius: 5px; background: var(--heal-surface); color: var(--heal-text); box-shadow: inset 0 -1px 0 var(--heal-border-strong), 0 0 0 1px var(--heal-border-strong); }
/* code */
.md-typeset code { font-family: var(--heal-mono); }
.md-typeset :not(pre) > code { color: var(--heal-code-fg); background: var(--heal-code-bg); border: 1px solid var(--heal-code-border); border-radius: 6px; padding: .12em .35em; font-size: .875em; font-weight: 500; }
.md-typeset a > code { color: inherit; }
.md-typeset pre { margin: 20px 0; }
.md-typeset pre > code { padding: 14px 16px; border: 1px solid var(--heal-border); border-radius: 10px; background: var(--heal-pre-bg); color: var(--heal-text); font-size: 14.5px; line-height: 1.6; }
.md-typeset .md-clipboard { color: var(--heal-icon); }
.md-typeset .md-clipboard:hover { color: var(--heal-accent); }
/* tables (GFM ones are wrapped by Material; kept HTML ones sit in .heal-table-scroll) */
.md-typeset .md-typeset__scrollwrap, .md-typeset .heal-table-scroll, .md-typeset .kb-table-wrapper { margin: 20px 0; overflow-x: auto; }
.md-typeset .md-typeset__table { display: block; padding: 0; margin: 0; }
.md-content .md-typeset table { display: table; width: 100%; max-width: none; margin: 0; overflow: hidden; border: 1px solid var(--heal-table-border); border-radius: 12px; border-collapse: separate; border-spacing: 0; background: var(--heal-surface); font-size: 15px; line-height: 1.65; }
.md-content .md-typeset th { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--heal-table-border); background: var(--heal-table-head); color: var(--heal-table-head-fg); font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; text-align: left; vertical-align: top; min-width: 0; }
.md-content .md-typeset td { padding: 12px 16px; border: 0; border-top: 1px solid var(--heal-table-border); color: var(--heal-text); vertical-align: top; }
.md-content .md-typeset tr:first-child > td { border-top: 0; }
.md-content .md-typeset thead + tbody tr:first-child > td { border-top: 0; }
.md-content .md-typeset table:has([rowspan], [colspan]) :is(td, th):not(:first-child) { border-left: 1px solid var(--heal-table-border); }
.md-content .md-typeset table:has([rowspan]) td[rowspan] { border-right: 1px solid var(--heal-table-border); }
.md-content .md-typeset tbody tr:hover > td { background: color-mix(in srgb, var(--heal-surface-hover) 55%, transparent); }
.md-content .md-typeset :is(td, th) > :first-child { margin-top: 0; }
.md-content .md-typeset :is(td, th) > :last-child { margin-bottom: 0; }
.md-content .md-typeset td :not(pre) > code { white-space: normal; }
/* images and captions */
.md-typeset figure { margin: 24px auto; max-width: 100%; }
.md-typeset figure img, .md-typeset p > img:only-child { border: 1px solid var(--heal-img-border); border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.md-typeset figcaption { max-width: 90%; margin: 12px auto 0; font-size: 14px; line-height: 20px; font-style: italic; color: var(--heal-muted); text-align: center; }
/* callouts: the portal's .fd-callout colours */
.md-typeset .admonition, .md-typeset details { margin: 20px 0; padding: 14px 16px; border: 0; border-left: 4px solid var(--heal-callout-info-bar); border-radius: 10px; box-shadow: none; background: var(--heal-callout-info-bg); color: var(--heal-callout-info-fg); font-size: 15.5px; line-height: 1.6; }
.md-typeset .admonition > :last-child, .md-typeset details > :last-child { margin-bottom: 0; }
.md-typeset .admonition > p, .md-typeset details > p { margin: 6px 0; }
.md-typeset .admonition-title, .md-typeset summary { margin: 0 0 4px; padding: 0 0 0 28px; border: 0; background: none; font-size: 15.5px; font-weight: 700; color: inherit; }
.md-typeset .admonition-title::before, .md-typeset summary::before { left: 0; top: .15em; width: 18px; height: 18px; background-color: currentColor; }
.md-typeset details > summary { padding-right: 28px; }
.md-typeset summary::after { top: .15em; right: 0; width: 18px; height: 18px; background-color: currentColor; }
.md-typeset .admonition :is(a, strong), .md-typeset details :is(a, strong) { color: inherit; }
.md-typeset .admonition a, .md-typeset details a { text-decoration: underline; text-underline-offset: 3px; }
.md-typeset .admonition :not(pre) > code, .md-typeset details :not(pre) > code { color: inherit; background: color-mix(in srgb, currentColor 8%, transparent); border-color: color-mix(in srgb, currentColor 18%, transparent); }
.md-typeset :is(.admonition, details):is(.note, .info, .abstract, .question) { border-left-color: var(--heal-callout-info-bar); background: var(--heal-callout-info-bg); color: var(--heal-callout-info-fg); }
.md-typeset :is(.admonition, details):is(.warning, .caution, .attention) { border-left-color: var(--heal-callout-warning-bar); background: var(--heal-callout-warning-bg); color: var(--heal-callout-warning-fg); }
.md-typeset :is(.admonition, details):is(.danger, .error, .failure, .bug) { border-left-color: var(--heal-callout-danger-bar); background: var(--heal-callout-danger-bg); color: var(--heal-callout-danger-fg); }
.md-typeset :is(.admonition, details):is(.success, .check, .done) { border-left-color: var(--heal-callout-success-bar); background: var(--heal-callout-success-bg); color: var(--heal-callout-success-fg); }
.md-typeset :is(.admonition, details):is(.tip, .hint, .important) { border-left-color: var(--heal-callout-tip-bar); background: var(--heal-callout-tip-bg); color: var(--heal-callout-tip-fg); }
.md-typeset :is(.admonition, details):is(.example, .quote) { border-left-color: var(--heal-border-strong); background: var(--heal-surface-hover); color: var(--heal-text); }
.md-typeset :is(.note, .info, .abstract, .question, .warning, .caution, .attention, .danger, .error, .failure, .bug, .success, .check, .done, .tip, .hint, .important, .example, .quote) > :is(.admonition-title, summary) { background: none; }
.md-typeset :is(.note, .info, .abstract, .question, .warning, .caution, .attention, .danger, .error, .failure, .bug, .success, .check, .done, .tip, .hint, .important, .example, .quote) > :is(.admonition-title, summary)::before { background-color: currentColor; }

/* ---------- glossary (components/kb/heal/HealGlossaryPage.css and the header's Glossary button) */
.heal-header-glossary { flex: none; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; box-sizing: border-box; border: 1px solid var(--heal-border-strong); border-radius: 9px; background: var(--heal-surface); color: var(--heal-secondary); font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.heal-header-glossary:hover, .heal-header-glossary:focus { background: var(--heal-surface-hover); border-color: var(--heal-icon); color: var(--heal-text); }
.heal-header-glossary[aria-current=page] { background: var(--heal-accent-soft); border-color: var(--heal-accent-border); color: var(--heal-accent); }
.heal-header-glossary svg, .heal-glossary-eyebrow svg, .heal-glossary-copy svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.heal-header-glossary svg { width: 18px; height: 18px; flex: none; }
.heal-home-glossary-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 3px 0; color: var(--heal-accent); font-size: 14px; font-weight: 700; }
.heal-home-glossary-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.heal-glossary-page { min-width: 0; }
.heal-glossary { --heal-glossary-gutter: clamp(20px, 4vw, 64px); min-width: 0; width: 100%; background: var(--heal-page); color: var(--heal-text); font-family: var(--heal-font); }
.heal-glossary [hidden] { display: none !important; }
.heal-glossary-sticky { position: sticky; top: var(--heal-header-height); z-index: 3; padding: 25px var(--heal-glossary-gutter) 17px; background: var(--heal-page); border-bottom: 1px solid var(--heal-border); }
.heal-glossary-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.heal-glossary-eyebrow { display: flex; align-items: center; gap: 7px; color: var(--heal-muted); font-family: var(--heal-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.heal-glossary-eyebrow svg { width: 14px; height: 14px; }
.heal-glossary-heading h1 { margin: 7px 0 0; font-size: clamp(32px, 3.5vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--heal-text); }
.heal-glossary-heading p { margin: 0; color: var(--heal-text); font-size: 17px; line-height: 1.5; text-align: right; }
.heal-glossary-heading p span { display: block; margin-top: 3px; color: var(--heal-secondary); font-size: 14px; }
.heal-glossary-search-row { display: flex; align-items: center; gap: 24px; margin-bottom: 14px; }
.heal-glossary-search { display: flex; align-items: center; gap: 10px; width: min(100%, 640px); padding: 0 13px; border: 1px solid var(--heal-border-strong); border-radius: 10px; background: var(--heal-surface); color: var(--heal-muted); }
.heal-glossary-search:focus-within { border-color: var(--heal-accent); box-shadow: 0 0 0 2px var(--heal-accent-soft); }
.heal-glossary-search > svg { flex: none; width: 18px; height: 18px; fill: currentColor; }
.heal-glossary-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--heal-text); font: inherit; font-size: 15px; outline: none !important; }
.heal-glossary-search input::placeholder { color: var(--heal-muted); }
.heal-glossary-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.heal-glossary-clear { display: grid; place-items: center; flex: none; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--heal-muted); cursor: pointer; }
.heal-glossary-clear svg { width: 17px; height: 17px; fill: currentColor; }
.heal-glossary-clear:hover { background: var(--heal-surface-hover); color: var(--heal-text); }
.heal-glossary-count { flex: none; margin-left: auto; color: var(--heal-muted); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.heal-glossary-alphabet { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.heal-glossary-alphabet button { display: grid; place-items: center; min-width: 28px; height: 30px; padding: 0 6px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--heal-secondary); font-family: var(--heal-mono); font-size: 12px; font-weight: 700; cursor: pointer; }
.heal-glossary-alphabet button:first-child { padding: 0 12px; margin-right: 4px; }
.heal-glossary-alphabet button:hover:not(:disabled) { background: var(--heal-surface-hover); color: var(--heal-text); }
.heal-glossary-alphabet button[aria-pressed=true] { background: var(--heal-accent-soft); border-color: var(--heal-accent-border); color: var(--heal-accent); }
.heal-glossary-alphabet button:disabled { opacity: .32; cursor: default; }
.heal-glossary-content { padding: 27px var(--heal-glossary-gutter) 72px; }
.heal-glossary-group { margin-bottom: 34px; }
.heal-glossary-group-heading { display: flex; align-items: baseline; gap: 11px; padding: 0 0 11px; margin-bottom: 14px; border-bottom: 1px solid var(--heal-border); }
.heal-glossary-group-heading h2 { margin: 0; color: var(--heal-accent); font-size: 24px; line-height: 1.2; font-weight: 800; }
.heal-glossary-group-heading > span { font-size: 12px; color: var(--heal-muted); }
.heal-glossary-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.heal-glossary-term { min-width: 0; padding: 20px 21px; border: 1px solid var(--heal-border); border-radius: 12px; background: var(--heal-surface); }
.heal-glossary-term:has(h3:target) { border-color: var(--heal-accent); box-shadow: 0 0 0 2px var(--heal-accent-soft); }
.heal-glossary-term-heading { display: flex; align-items: flex-start; gap: 12px; }
.heal-glossary-term-heading h3 { flex: 1; min-width: 0; margin: 0; color: var(--heal-text); font-size: 19px; line-height: 1.35; font-weight: 700; letter-spacing: -.015em; overflow-wrap: anywhere; scroll-margin-top: calc(var(--heal-header-height) + var(--heal-glossary-sticky-height, 210px) + 18px); }
.heal-glossary-term-heading h3 a { color: inherit; text-decoration: none; }
.heal-glossary-term-heading h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.heal-glossary-copy { display: grid; place-items: center; flex: none; width: 28px; height: 28px; margin: -2px -5px 0 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--heal-muted); cursor: pointer; }
.heal-glossary-copy svg { width: 16px; height: 16px; }
.heal-glossary-copy:hover, .heal-glossary-copy.is-copied { background: var(--heal-surface-hover); color: var(--heal-accent); }
.heal-glossary-abbreviation { display: block; margin-top: 5px; color: var(--heal-muted); font-family: var(--heal-mono); font-size: 12px; }
.heal-glossary-definition { margin: 12px 0 0; color: var(--heal-secondary); font-size: 15.5px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.heal-glossary-aliases { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.heal-glossary-aliases > span { padding: 3px 7px; border-radius: 5px; background: var(--heal-surface-hover); color: var(--heal-secondary); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.heal-glossary-aliases > span:first-child { padding: 0 3px 0 0; background: transparent; color: var(--heal-muted); }
.heal-glossary-state { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px 16px; text-align: center; color: var(--heal-muted); }
.heal-glossary-state h2 { margin: 0; font-size: 22px; font-weight: 700; color: var(--heal-text); }
.heal-glossary-state p { max-width: 440px; margin: 0; font-size: 15px; line-height: 1.6; }
.heal-glossary-state button { margin-top: 4px; padding: 9px 15px; border: 1px solid var(--heal-border-strong); border-radius: 8px; background: var(--heal-surface); color: var(--heal-text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.heal-glossary-state button:hover { border-color: var(--heal-accent); color: var(--heal-accent); }
@media (min-width: 1800px) { .heal-glossary-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .heal-glossary-heading p { font-size: 15px; } .heal-glossary-heading p span { font-size: 13px; } .heal-glossary-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .heal-header-glossary { width: 36px; height: 36px; justify-content: center; padding: 0; }
  .heal-header-glossary span { display: none; }
  .heal-glossary-sticky { padding-top: 17px; padding-bottom: 13px; }
  .heal-glossary-heading { align-items: flex-start; margin-bottom: 17px; }
  .heal-glossary-heading p { max-width: 190px; font-size: 13px; }
  .heal-glossary-heading p span { font-size: 12px; }
  .heal-glossary-heading h1 { font-size: 32px; }
  .heal-glossary-eyebrow { font-size: 10px; }
  .heal-glossary-search-row { gap: 8px; flex-wrap: wrap; }
  .heal-glossary-search { width: 100%; }
  .heal-glossary-search input { font-size: 14px; }
  .heal-glossary-count { font-size: 12px; }
  .heal-glossary-alphabet { gap: 3px; }
  .heal-glossary-alphabet button { min-width: 27px; height: 28px; padding: 0 5px; font-size: 11px; }
  .heal-glossary-content { padding-top: 22px; }
  .heal-glossary-term { padding: 17px; }
  .heal-glossary-term-heading h3 { font-size: 18px; }
  .heal-glossary-definition { font-size: 15px; }
}
@media (max-width: 370px) { .heal-glossary-heading p { max-width: 135px; } .heal-glossary-heading p span { display: none; } }

/* ---------- section (category) pages */
.heal-category-sections { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.heal-category-section { padding: 18px 20px; border: 1px solid var(--heal-border); border-radius: 14px; background: var(--heal-surface); }
.heal-category-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.heal-category-section-name { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.4; color: var(--heal-text); }
.md-typeset .heal-category-section-name a { color: var(--heal-text); }
.md-typeset .heal-category-section-name a:hover { color: var(--heal-accent); }
.heal-category-section-title > span { flex: none; font-family: var(--heal-mono); font-size: 12px; color: var(--heal-muted); }
.heal-category-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 2px 20px; margin-top: 10px; }
.md-typeset .heal-category-links a { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; font-size: 15px; line-height: 1.4; color: var(--heal-accent); }
.heal-category-links svg { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--heal-icon); }
.md-typeset .heal-show-all { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; }

/* ---------- was this page helpful? (components/kb/heal/HealArticleFeedback.css) */
.heal-article-feedback { margin-top: 56px; color: var(--heal-text); font-family: var(--heal-font); }
.heal-article-feedback * { box-sizing: border-box; }
.heal-article-feedback-card { padding: 18px 22px; border: 1px solid var(--heal-border); border-radius: 14px; background: var(--heal-surface); }
.heal-article-feedback-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-height: 38px; }
.heal-article-feedback-question { font-size: 16.5px; font-weight: 700; line-height: 1.4; }
.heal-article-feedback-row > button { height: 38px; padding: 0 18px; border: 1px solid var(--heal-border-strong); border-radius: 9px; background: var(--heal-surface); font: inherit; font-size: 15px; font-weight: 700; color: var(--heal-text); cursor: pointer; }
.heal-article-feedback-row > button:hover { border-color: var(--heal-text); }
.heal-article-feedback button:focus-visible, .heal-article-feedback input:focus-visible { outline: 2px solid var(--heal-accent); outline-offset: 2px; }
.heal-article-feedback button:disabled { opacity: .6; cursor: default; }
.heal-article-feedback-row > button[aria-pressed=true] { border-color: var(--heal-accent); background: var(--heal-accent-soft); }
.heal-article-feedback-success { display: flex; align-items: center; gap: 12px; min-height: 38px; flex: 1; font-size: 16px; line-height: 1.5; }
.heal-article-feedback-success > span { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--heal-success); }
.heal-article-feedback-details { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--heal-divider); }
.heal-article-feedback-details[hidden], .heal-article-feedback-error[hidden] { display: none; }
.heal-article-feedback-details label { display: flex; flex: 1; min-width: 200px; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.heal-article-feedback-details label span span { font-weight: 400; color: var(--heal-muted); }
.heal-article-feedback-details input { height: 40px; width: 100%; padding: 0 12px; border: 1px solid var(--heal-border-strong); border-radius: 9px; background: var(--heal-page); font: inherit; font-size: 14px; font-weight: 400; color: var(--heal-text); }
.heal-article-feedback-details button { height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: var(--heal-accent-solid); font: inherit; font-size: 14px; font-weight: 700; color: var(--heal-on-accent); cursor: pointer; }
.heal-article-feedback-error { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--heal-danger); }
@media (max-width: 600px) { .heal-article-feedback-card { padding: 18px; } .heal-article-feedback-details label { min-width: 0; flex-basis: 100%; } }
.heal-article-feedback + .heal-page-navigation { margin-top: 16px; }

/* ---------- previous / next */
.heal-page-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.md-typeset .heal-page-navigation a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--heal-border); border-radius: 14px; background: var(--heal-surface); color: var(--heal-text); text-decoration: none; }
.md-typeset .heal-page-navigation a:hover { border-color: var(--heal-border-strong); box-shadow: 0 6px 18px rgba(13,21,38,.06); }
.heal-page-navigation .heal-page-next { grid-column: 2; align-items: flex-end; text-align: right; }
.heal-page-navigation span { font-family: var(--heal-mono); font-size: 12px; color: var(--heal-muted); }
.heal-page-navigation strong { font-size: 17px; font-weight: 700; line-height: 1.35; }

/* ---------- footer */
.md-footer.heal-footer { border-top: 1px solid var(--heal-border); background: var(--heal-surface); color: var(--heal-text); font-family: var(--heal-font); }
.heal-footer-main { box-sizing: border-box; padding: 32px clamp(20px, 3vw, 48px) 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.heal-footer-brand { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 800; }
.heal-footer-brand img { display: block; }
.heal-footer-main strong { font-size: 15px; font-weight: 700; }
.heal-footer-main p { margin: 4px 0 0; font-size: 14px; color: var(--heal-secondary); }
.heal-footer-main a { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--heal-accent); }
.heal-footer-main a:hover { text-decoration: underline; text-underline-offset: 3px; }
.heal-footer-bottom { box-sizing: border-box; padding: 14px clamp(20px, 3vw, 48px) 22px; display: flex; flex-wrap: wrap; gap: 10px 20px; border-top: 1px solid var(--heal-divider); font-size: 13.5px; color: var(--heal-muted); }
.heal-footer-spacer { flex: 1; }
/* back to top */
.md-top { border: 1px solid var(--heal-border-strong); background: var(--heal-surface); color: var(--heal-secondary); box-shadow: 0 6px 18px rgba(13,21,38,.08); font-family: var(--heal-font); font-size: 13px; font-weight: 600; }
.md-top:hover, .md-top:focus { background: var(--heal-surface-hover); color: var(--heal-text); }

/* ---------- home page (components/kb/heal/HealHomePage.css) */
.md-main:has(.heal-home) { background: var(--heal-canvas); }
@media screen and (min-width: 76.25em) { .heal-home-drawer { display: none; } }
.heal-home { flex: 1; min-width: 0; font-family: var(--heal-font); color: var(--heal-text); }
.heal-home a { text-decoration: none; }
.heal-home-inner { box-sizing: border-box; width: 100%; padding: 72px clamp(20px, 5vw, 48px) 0; }
.heal-home h1, .heal-home h2, .heal-home h3 { font-family: inherit; color: var(--heal-text); }
.heal-home-hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.heal-home-eyebrow { font-family: var(--heal-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--heal-muted); }
.heal-home-hero h1 { margin: 16px 0 0; font-size: clamp(40px, 5vw, 58px); line-height: 1.03; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.heal-home-hero > p { margin: 16px 0 0; max-width: 560px; font-size: 19px; line-height: 1.5; color: var(--heal-secondary); text-wrap: pretty; }
.heal-home-search { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 620px; height: 56px; margin-top: 28px; padding: 0 10px 0 18px; box-sizing: border-box; border: 1.5px solid var(--heal-border-strong); border-radius: 13px; background: var(--heal-surface); box-shadow: 0 1px 2px rgba(13,21,38,.04), 0 10px 28px rgba(13,21,38,.06); color: var(--heal-muted); font-size: 16.5px; text-align: left; cursor: text; }
.heal-home-search:hover { border-color: var(--heal-icon); }
.heal-home-search > svg { flex: none; width: 18px; height: 18px; fill: var(--heal-text); }
.heal-home-search > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heal-home-search .heal-kbd { position: static; transform: none; font-size: 12px; padding: 4px 7px; border-radius: 6px; background: var(--heal-page); }
.heal-home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 16px; font-size: 14.5px; }
.heal-home .heal-home-whats-new { color: var(--heal-accent); font-weight: 700; }
.heal-home .heal-home-whats-new:hover { text-decoration: underline; text-underline-offset: 3px; }
.heal-role-radio { position: absolute; opacity: 0; pointer-events: none; }
.heal-home-role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 44px; }
.heal-home-role { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 22px 22px; box-sizing: border-box; border: 1px solid var(--heal-border); border-radius: 16px; background: var(--heal-surface); text-align: left; cursor: pointer; }
.heal-home-role:hover { border-color: var(--heal-icon); }
.heal-home-role-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 18px; font-family: var(--heal-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--heal-muted); }
.heal-home-selected-label { display: none; align-items: center; gap: 6px; font-weight: 600; letter-spacing: normal; text-transform: none; color: var(--heal-accent); }
.heal-home-selected-label > span { width: 7px; height: 7px; border-radius: 50%; background: var(--heal-accent); }
.heal-home-role-title { font-size: 21px; font-weight: 700; letter-spacing: -.015em; color: var(--heal-text); }
.heal-home-role-description { font-size: 15px; line-height: 1.5; color: var(--heal-secondary); text-wrap: pretty; }
.heal-home-role-panel { display: none; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); margin-top: 14px; border: 1px solid var(--heal-border); border-radius: 18px; background: var(--heal-surface); overflow: hidden; }
#heal-role-operator:checked ~ .heal-home-role-grid [data-role=operator],
#heal-role-admin:checked ~ .heal-home-role-grid [data-role=admin],
#heal-role-integrator:checked ~ .heal-home-role-grid [data-role=integrator] { border: 2px solid var(--heal-accent); padding: 19px 21px 21px; background: color-mix(in oklch, var(--heal-accent) 6%, var(--heal-surface)); box-shadow: 0 10px 28px rgba(13,21,38,.08); }
#heal-role-operator:checked ~ .heal-home-role-grid [data-role=operator] .heal-home-selected-label,
#heal-role-admin:checked ~ .heal-home-role-grid [data-role=admin] .heal-home-selected-label,
#heal-role-integrator:checked ~ .heal-home-role-grid [data-role=integrator] .heal-home-selected-label { display: flex; }
#heal-role-operator:checked ~ .heal-home-role-panel[data-role=operator],
#heal-role-admin:checked ~ .heal-home-role-panel[data-role=admin],
#heal-role-integrator:checked ~ .heal-home-role-panel[data-role=integrator] { display: grid; }
#heal-role-operator:focus-visible ~ .heal-home-role-grid [data-role=operator],
#heal-role-admin:focus-visible ~ .heal-home-role-grid [data-role=admin],
#heal-role-integrator:focus-visible ~ .heal-home-role-grid [data-role=integrator] { outline: 2px solid var(--heal-accent); outline-offset: 3px; }
.heal-home-path { padding: 28px clamp(20px, 3vw, 34px) 18px; }
.heal-home-path-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.heal-home-path-heading h2 { margin: 0; font-size: 23px; font-weight: 700; letter-spacing: -.02em; }
.heal-home-path-heading > span { font-family: var(--heal-mono); font-size: 12px; color: var(--heal-muted); }
.heal-home-steps { display: flex; flex-direction: column; margin-top: 14px; }
.heal-home-step { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--heal-divider); color: var(--heal-text); }
.heal-home-step:hover .heal-home-step-title { color: var(--heal-accent); }
.heal-home-step-number { display: grid; place-items: center; width: 30px; height: 30px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--heal-text); background: var(--heal-surface); color: var(--heal-text); font-family: var(--heal-mono); font-size: 12.5px; font-weight: 600; }
.heal-home-step-first { border: 0; background: var(--heal-accent-solid); color: var(--heal-on-accent); }
.heal-home-step-copy { min-width: 0; }
.heal-home-step-title { display: block; font-size: 16.5px; font-weight: 700; color: var(--heal-text); }
.heal-home-step-description { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: var(--heal-secondary); }
.heal-home-step-cta { font-size: 14.5px; font-weight: 700; color: var(--heal-accent); white-space: nowrap; }
.heal-home-role-resources { display: flex; flex-direction: column; gap: 26px; padding: 28px clamp(20px, 3vw, 32px); background: var(--heal-page); border-left: 1px solid var(--heal-divider); }
.heal-home h3.heal-home-resource-label { margin: 0; font-family: var(--heal-mono); font-size: 11.5px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--heal-muted); }
.heal-home-most-read { display: flex; flex-direction: column; margin-top: 8px; }
.heal-home-read-link { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--heal-divider); font-size: 15.5px; font-weight: 600; color: var(--heal-accent); }
.heal-home-read-link:hover > span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.heal-home-read-section { flex: none; max-width: 48%; font-family: var(--heal-mono); font-size: 12px; font-weight: 400; color: var(--heal-muted); text-align: right; }
.heal-home-concepts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.heal-home-concepts > a { display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid var(--heal-border-strong); border-radius: 999px; background: var(--heal-surface); font-size: 14px; color: var(--heal-text); }
.heal-home-concepts > a:hover { border-color: var(--heal-text); }
.heal-home-browse { padding: 64px 0 72px; }
.heal-home-browse-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 26px; }
.heal-home-browse-heading h2 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.heal-home-browse-heading > span { font-size: 15px; color: var(--heal-muted); }
.heal-home-browse-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 40px 32px; }
.heal-home-browse-section { display: flex; flex-direction: column; align-items: stretch; gap: 9px; min-width: 0; font-size: 15px; }
.heal-home-browse-category { display: flex; align-items: center; gap: 8px; padding: 0 0 10px; margin-bottom: 3px; border-bottom: 1px solid var(--heal-border); font-family: var(--heal-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--heal-muted); }
.heal-home-browse-category > span:first-child { flex: 1; min-width: 0; }
.heal-home-browse-category:hover { color: var(--heal-accent); }
.heal-home-browse-link { color: var(--heal-text); line-height: 1.4; }
.heal-home-browse-link:hover { color: var(--heal-accent); text-decoration: underline; text-underline-offset: 3px; }
.heal-home-browse-all { font-size: 14px; font-weight: 700; color: var(--heal-accent); }
.heal-home-browse-all:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 959px) {
  .heal-home-role-panel { grid-template-columns: minmax(0, 1fr); }
  .heal-home-role-resources { border-left: 0; border-top: 1px solid var(--heal-divider); }
}
@media (max-width: 600px) {
  .heal-home-inner { padding-top: 44px; }
  .heal-home-search > span { font-size: 15px; }
  .heal-home-search .heal-kbd { display: none; }
  .heal-home-step { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; }
  .heal-home-step-cta { font-size: 12.5px; }
}

/* ---------- small screens */
@media (max-width: 899px) {
  .heal-page-navigation { grid-template-columns: minmax(0, 1fr); }
  .heal-page-navigation .heal-page-next { grid-column: 1; }
}
@media (max-width: 600px) {
  .heal-header .md-header__inner { gap: 8px; padding: 0 14px; }
  .heal-brand { gap: 7px; }
  .heal-brand img { width: 25px; height: 25px; }
  .heal-brand-name { font-size: 20px; }
  .heal-brand-docs { display: none; }
  .md-typeset .heal-lead { font-size: 18px; }
  .md-typeset { font-size: 16px; }
}
@media print {
  .heal-breadcrumb, .heal-page-navigation, .heal-footer { display: none; }
}
