/* Page colors: U.S. Web Design System, https://designsystem.digital.gov/design-tokens/color/system-tokens/ */
:root {
  color-scheme: light;
  --ink: #1f303e;
  --canvas: #fff;
  --surface: #f5f6f7;
  --blue-paper: #eff6fb;
  --line: #dfe1e2;
  --edge: #a9aeb1;
  --muted: #3d4551;
  --blue: #005ea2;
  --blue-deep: #0b4778;
  --site-blue: #274863;
  --feature-text: #d9e8f6;
  --feature-rule: #73b3e7;
  --light-link: #005ea2;
  --dark-link: #aacdec;
  --light: #f1f3f6;
  --light-line: #c6cace;
  --footer-light: #d9e8f6;
  --page: min(100% - 3.5rem, 80rem);
  --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 1.0625rem/1.66 system-ui, sans-serif; }
a { color: var(--blue); text-underline-offset: .23em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
button { font: inherit; }
[hidden] { display: none !important; }
.wrap, .footer-inner { width: var(--page); margin-inline: auto; }
.skip { position: absolute; z-index: 200; top: .5rem; left: 1rem; translate: 0 -180%; padding: .45rem .8rem; background: var(--canvas); color: var(--ink); }
.skip:focus { translate: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .42rem; padding-block: 1.15rem; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
h1, h2, h3, h4, p, figure, dl { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.041em; line-height: 1.02; }
h1 { font-size: clamp(3rem, 6.2vw, 6.15rem); }
h1 span { display: block; }
h2 { font-size: clamp(2.4rem, 4.6vw, 4.25rem); max-width: 21ch; }
h3 { line-height: 1.2; font-size: clamp(1.24rem, 2.15vw, 1.65rem); }
h4 { line-height: 1.27; font-size: 1.04rem; }
p + p { margin-top: .85rem; }
h2 + p, h3 + p, h4 + p { margin-top: .9rem; }
p { max-width: 70ch; }
.hero { display: grid; grid-template-columns: .93fr 1.07fr; background: var(--blue-paper); border-top: 4px solid var(--blue); min-height: 29rem; }
.hero-copy { padding: clamp(1.4rem, 4vw, 3.8rem); display: flex; flex-direction: column; justify-content: center; }
.hero-copy p { margin-top: 1.3rem; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 40ch; }
picture, img { display: block; width: 100%; }
img { height: auto; }
.hero picture { position: relative; }
.hero img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 64% center; }
.stats { background: var(--canvas); display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.stats > div { padding: 1.15rem clamp(.7rem, 3vw, 2.7rem); display: flex; flex-direction: column-reverse; gap: .25rem; border-right: 1px solid var(--line); }
.stats > div:first-child { border-left: 1px solid var(--line); }
.stats dt { color: var(--muted); font-size: .87rem; line-height: 1.35; }
.stats dd { margin: 0; font: 400 clamp(1.65rem, 3vw, 3rem)/1.06 var(--serif); letter-spacing: -.04em; color: var(--blue); font-variant-numeric: tabular-nums; }
.chapter { padding-block: clamp(3.1rem, 7vw, 6.5rem); }
.chapter + .chapter { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.32rem); color: var(--ink); }
.body-copy p, .chapter-intro p, .panel-copy p { color: var(--muted); }
.chapter-intro { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.figure img { background: var(--surface); }
.figure figcaption { color: var(--muted); font-size: .875rem; border-bottom: 1px solid var(--line); padding: .65rem 0 .85rem; }
.stack > * + * { margin-top: 1.3rem; }
.workflow { margin-top: clamp(1.6rem, 4.5vw, 3.8rem); background: var(--blue-paper); border-top: 3px solid var(--blue); }
.walk-copy { padding: clamp(1.1rem, 3.3vw, 2.6rem); }
.walk-copy > p { color: var(--muted); margin-bottom: .9rem; }
.workflow .figure { padding: clamp(1rem, 2vw, 1.5rem); padding-left: 0; align-self: center; }
.work-detail { border-top: 1px solid var(--edge); }
.work-detail:last-of-type { border-bottom: 1px solid var(--edge); }
.work-detail summary { cursor: pointer; list-style: none; }
.work-detail summary::-webkit-details-marker { display: none; }
.work-detail summary { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding-block: .75rem; font-weight: 700; line-height: 1.35; }
.work-detail summary::after { content: "+"; flex: none; color: var(--blue); font: 1.4rem/1 system-ui, sans-serif; }
.work-detail[open] summary::after { content: "−"; }
.work-detail[open] summary { color: var(--blue); }
.work-detail p { color: var(--muted); padding-bottom: .95rem; }
.plain-note { margin-top: clamp(1.4rem, 3vw, 2.4rem); border-left: .24rem solid var(--blue); background: var(--surface); padding: 1.1rem clamp(1rem, 2.5vw, 2rem); }
.plain-note p { color: var(--muted); }
.chapter-band { color: var(--canvas); }
.chapter-band .chapter-intro p, .chapter-band .body-copy p { color: var(--feature-text); }
.chapter-band a { color: var(--dark-link); }
.chapter-band a:hover { color: var(--canvas); }
.chapter-band :focus-visible { outline-color: var(--dark-link); }
.settings { background: var(--site-blue); }
.setting-grid p, .settings .figure figcaption { color: var(--feature-text); }
.settings .chapter-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; align-items: end; }
.settings .chapter-intro p { margin: 0; }
.settings picture img { background: var(--site-blue); }
.settings .figure figcaption { border-color: var(--feature-rule); }
.setting-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem clamp(1.2rem, 3vw, 3rem); margin-top: 1.6rem; }
.setting-grid article + article { border-left: 1px solid var(--feature-rule); padding-left: clamp(1.2rem, 3vw, 3rem); }

.license-lead { margin-bottom: clamp(1.7rem, 4vw, 3rem); }
.routes { margin: 1.1rem 0; }
.routes > div { padding-block: .72rem; border-top: 1px solid var(--line); }
.routes > div:last-child { border-bottom: 1px solid var(--line); }
.routes dt { font-weight: 750; }
.routes dd { margin: .22rem 0 0; color: var(--muted); }
.credentials { margin-top: clamp(1.7rem, 4vw, 3.3rem); }
.pay-section { background: var(--blue-deep); }
.pay-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.55rem clamp(1.5rem, 4vw, 4rem); align-items: start; }
.pay-section table { width: 100%; border-collapse: collapse; line-height: 1.4; background: var(--canvas); color: var(--ink); }
.pay-section caption { padding: .7rem .85rem; background: var(--blue-paper); }
.pay-section tbody tr:nth-child(even) { background: var(--surface); }
caption { text-align: left; color: var(--ink); font-weight: 750; padding-bottom: .55rem; }
th, td { text-align: left; padding: .68rem .85rem; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { border-bottom: 2px solid var(--blue); color: var(--ink); font-size: .89rem; }
tbody th { font-weight: 650; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.outlook { border-top: 1px solid var(--feature-rule); padding-top: 1.3rem; margin-top: 1.8rem; }
.compare { margin-top: clamp(1.4rem, 3vw, 2.4rem); }
.tabstrip { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .8rem; }
.tabstrip button { cursor: pointer; background: var(--canvas); color: var(--ink); border: 1px solid var(--edge); text-align: left; padding: .43rem .64rem; line-height: 1.3; font-size: .91rem; }
.tabstrip button:hover { border-color: var(--blue); }
.tabstrip button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: white; font-weight: 750; }
.role { background: var(--blue-paper); border-top: 3px solid var(--blue); padding: clamp(1rem, 2.5vw, 1.8rem); }
.role + .role { margin-top: .8rem; }
.role p { color: var(--muted); }
.role a { display: inline-block; margin-top: .75rem; font-weight: 650; }
.last-grid { margin-top: 1.7rem; }
.sources ul { list-style: none; padding: 0; margin: 1.05rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.8rem; }
.sources li { border-top: 1px solid var(--line); padding-top: .65rem; }
.sources li a { font-weight: 650; }
.sources li span { display: block; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) {
  .hero { min-height: 23rem; }
}
@media (max-width: 700px) {
  :root { --page: calc(100% - 2rem); }
  .hero, .split, .split.even, .settings .chapter-intro, .setting-grid, .pay-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; }
  .hero-copy { padding: 1.45rem 1.05rem 1.6rem; }
  h1 { font-size: clamp(2.4rem, 10.5vw, 4.7rem); }
  .hero img { position: static; height: auto; }
  .stats > div { padding: .85rem .46rem; }
  .stats dd { font-size: clamp(1.23rem, 5.25vw, 2.1rem); }
  .stats dt { font-size: .77rem; }
  .workflow { gap: 0; }
  .workflow .figure { padding: 0 1rem 1rem; }
  .setting-grid article + article { border-left: 0; border-top: 1px solid var(--feature-rule); padding: 1rem 0 0; }
  .sources ul { grid-template-columns: 1fr 1fr; }
  th, td { padding-inline: .55rem; }
  table { font-size: .94rem; }
}
@media (max-width: 390px) {
  .sources ul { grid-template-columns: 1fr; }
}


/* Navigation and healthcare directory layout from the ultrasound reference. */
.site-head,
    .guide-nav {
      --nav-ink: var(--site-blue);
      --nav-accent: var(--light-link);
      --mint: var(--light);
      --line: var(--light-line);
      --soft: var(--light);
      font: 1rem/1.75 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    }

    .site-head {
      background: var(--nav-ink);
      color: white;
    }

    .site-head .wrap,
    .guide-nav .wrap {
      box-sizing: border-box;
      width: min(1240px, calc(100% - 64px));
      max-width: none;
      margin-inline: auto;
      padding-inline: 0;
    }

    .site-head .head-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      min-height: 68px;
    }

    .site-head .brand {
      color: white;
      font-size: 1.3rem;
      font-weight: 800;
      letter-spacing: -.05em;
      text-decoration: none;
    }

    .site-head .brand span {
      color: var(--dark-link);
    }

    .site-head .toplinks {
      display: flex;
      gap: 24px;
    }

    .site-head .toplinks a {
      color: white;
      font-size: .85rem;
      text-decoration: none;
    }

    .guide-nav {
      color-scheme: light;
      position: sticky;
      top: 0;
      z-index: 100;
      border-bottom: 1px solid var(--line);
      background: white;
      box-shadow: 0 3px 12px #292d421a;
    }

    .guide-nav .wrap {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 23px;
      min-height: 56px;
      padding-block: 10px;
    }

    .guide-nav a {
      color: var(--nav-ink);
      font-size: .83rem;
      font-weight: 650;
      white-space: nowrap;
      text-decoration: none;
    }

    .guide-nav a[data-active-section] {
      color: var(--nav-accent);
      border-bottom: 3px solid var(--nav-accent);
      padding-bottom: 4px;
    }

    .guide-nav .mobile-guides {
      display: none;
    }

    .site-head a:hover,
    .guide-nav a:hover {
      text-decoration: underline;
    }

    .site-head :focus-visible {
      outline-color: var(--dark-link);
    }

    @media screen and (max-width: 900px) {
      .guide-nav .desktop-guides {
        display: none;
      }

      .guide-nav .mobile-guides {
        display: block;
        min-height: 0;
        padding-block: 0;
        border: 0;
      }

      .guide-nav .mobile-guides > summary {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        min-height: 60px;
        padding: 14px 30px 14px 0;
        color: var(--nav-ink);
        font-size: 1rem;
        list-style: none;
        cursor: pointer;
      }

      .guide-nav .mobile-guides > summary::marker {
        content: "";
      }

      .guide-nav .mobile-guides > summary::-webkit-details-marker {
        display: none;
      }

      .guide-nav .mobile-guides > summary::after {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        content: "+";
        line-height: 1;
      }

      .guide-nav .mobile-guides[open] > summary::after {
        content: "−";
      }

      .guide-nav .menu-label {
        color: var(--nav-accent);
        font-size: .8rem;
        font-weight: 600;
      }

      .guide-nav .mobile-guide-links {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        max-height: calc(100dvh - 80px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-bottom: 14px;
      }

      .guide-nav .mobile-guide-links a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 16px;
        border: 0;
        border-top: 1px solid var(--line);
        white-space: normal;
        font-size: 1rem;
        line-height: 1.4;
      }

      .guide-nav .mobile-guide-links a[data-active-section] {
        padding-left: 12px;
        border-left: 4px solid var(--nav-accent);
        background: var(--mint);
        color: var(--nav-ink);
      }

      .guide-nav .mobile-guide-links a:hover {
        background: var(--soft);
      }
    }

    @media screen and (max-width: 640px) {
      .site-head .wrap,
      .guide-nav .wrap {
        width: calc(100% - 36px);
      }

      .site-head .head-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-top: 14px;
        padding-bottom: 4px;
      }

      .site-head .brand {
        font-size: 1.3rem;
        line-height: 1.5;
      }

      .site-head .toplinks {
        width: 100%;
        flex-wrap: wrap;
        gap: 24px;
      }

      .site-head .toplinks a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        font-size: .85rem;
        line-height: 1.4;
      }
    }

    /* Healthcare directory footer */
    .cgp-footer {
      --footer-bg: var(--site-blue);
      --footer-text: white;
      --footer-muted: var(--footer-light);
      --footer-accent: var(--dark-link);
      --footer-line: #ffffff33;
      background: var(--footer-bg);
      color: var(--footer-text);
      font: 1rem/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    }
    .cgp-footer .footer-inner { width: min(1136px, calc(100% - 64px)); margin-inline: auto; }
    .cgp-footer a { color: inherit; text-decoration: underline; text-decoration-color: #ffffff65; text-underline-offset: .23em; }
    .cgp-footer a:hover { color: var(--footer-accent); text-decoration-color: currentColor; }
    .cgp-footer a:focus-visible { outline-color: var(--footer-accent); border-radius: 2px; }
    .cgp-footer h2 { margin: 0 0 9px; color: #fff; font: inherit; font-weight: 750; text-transform: none; }
    .cgp-footer ul { margin: 0; padding: 0; list-style: none; }
    .cgp-footer .footer-legal { border-top: 1px solid var(--footer-line); }
    .cgp-footer .footer-legal .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 12px; font-size: .875rem; color: var(--footer-muted); }
    .cgp-footer .footer-legal a { display: inline-block; padding-block: 6px; }
    .cgp-footer .footer-primary { font-weight: 700; }
    .cgp-footer--directory { --footer-bg: var(--site-blue); --footer-accent: var(--dark-link); --footer-muted: var(--footer-light); }
    .cgp-footer--directory .directory-main { padding-block: 24px; }
    .cgp-footer--directory .directory-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px 28px; margin-bottom: 15px; }
    .cgp-footer--directory .directory-head h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 0; letter-spacing: -.03em; }
    .cgp-footer--directory ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--footer-line); }
    .cgp-footer--directory li { border-bottom: 1px solid var(--footer-line); }
    .cgp-footer--directory li a { display: block; padding: 9px 14px 9px 0; }

    @media (max-width: 640px) {
      .cgp-footer .footer-inner { width: calc(100% - 36px); }
      .cgp-footer--directory ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 360px) {
      .cgp-footer--directory ul { grid-template-columns: 1fr; }
    }
