/* The guide `uswds` skin: ours, on top of USWDS's compiled CSS (public/static/uswds/, unmodified) and the shared
   components (public/static/components/components.css). It maps the component tokens to the theme's palette
   (docs/architecture.md, rule 9), draws what USWDS has no pattern for (the drop-down panels opened by <details>, the
   phone drawer opened by :target, the footer's collapsible columns, the article's layout and type, the content's
   MediaWiki-dialect markup) and adjusts USWDS's header to our layout. Nothing is copied from cancer.gov or the NCI
   design system. Light mode only.

   The palette is the theme's (scripts/uswds/_uswds-theme.scss), repeated here as custom properties: a teal primary
   (USWDS mint-cool), warm neutral greys (gray-warm) and a soft green tint for bands (green-cool). */
:root {
    --g-primary: #0f6460;          /* mint-cool-60v */
    --g-primary-vivid: #008480;    /* mint-cool-50v */
    --g-primary-dark: #0b4b3f;     /* mint-cool-70v */
    --g-primary-darker: #203131;   /* mint-cool-80 */
    --g-primary-lighter: #e0f7f6;  /* mint-cool-5 */
    --g-primary-light: #9bd4cf;    /* mint-cool-20 */
    --g-ink: #171716;              /* gray-warm-90 */
    --g-text: #2e2e2a;             /* gray-warm-80 */
    --g-muted: #5d5d52;            /* gray-warm-60 */
    --g-line: #cac9c0;             /* gray-warm-20 */
    --g-line-soft: #e6e6e2;        /* gray-warm-10 */
    --g-grey: #f6f6f2;             /* gray-warm-3 */
    --g-band: #ecf3ec;             /* green-cool-5 */
    --g-band-strong: #dbebde;      /* green-cool-10 */
    --g-focus: #008480;            /* the focus ring (mint-cool-50v; the theme's $theme-focus-color) */
    --g-focus-on-dark: #9bd4cf;    /* the ring on the dark footer (mint-cool-20) */
    --g-header-h: 0px;

    /* The shared components' tokens */
    --c-border: var(--g-line);
    --c-border-subtle: var(--g-line-soft);
    --c-surface: var(--g-grey);
    --c-card: #fff;
    --c-muted: var(--g-muted);
    --c-accent: var(--g-primary);
    --c-accent-hover: var(--g-primary-dark);
    --c-on-accent: #fff;
    --c-heading: var(--g-ink);
    --c-focus: var(--g-focus);
    --c-new-link: #b50909;
    --c-title-bar: var(--g-primary-lighter);
    --c-group-bar: var(--g-band);
    --c-space: 1rem;
    --c-inset: 1rem;
    --c-measure: 48rem;
    --c-radius: 4px;
    --c-radius-large: 6px;
    --c-label-weight: 600;
    --c-small: 0.9375rem;
    --c-crumbs-size: 0.9375rem;
    --c-crumbs-color: var(--g-muted);
    --c-crumbs-link: var(--g-primary);
    --c-summary: var(--g-band);
    --c-summary-edge: var(--g-primary);
    --c-faq-question: var(--g-grey);
    --c-page-width: 75rem;
    --c-page-gutter: 2rem;
    --c-band: var(--g-band);
    --c-band-alt: var(--g-grey);
    --c-button-radius: 4px;
    --c-shadow: 0 1px 2px rgba(23, 23, 22, 0.08), 0 2px 8px rgba(23, 23, 22, 0.06);
    --c-home-art-1: var(--g-band-strong);
    --c-home-art-2: var(--g-primary-light);
    --c-home-art-3: var(--g-primary);
    --c-home-art-4: var(--g-primary-vivid);
    --c-callout-warning: #8c4a00;
    --c-callout-tip: #446443;
    --c-callout-note: var(--g-primary);
    --c-step-badge: var(--g-primary);
    --c-timeline-dot: var(--g-primary);
    --c-checkbox: var(--g-primary);
    --c-infobox-law: transparent;
}
@media (max-width: 40em) {
    :root { --c-page-gutter: 1rem; }
}

/* ---- Page ---------------------------------------------------------------------------------------------- */
body.guide {
    margin: 0;
    background: #fff;
    color: var(--g-text);
    font-size: 1.0625rem;           /* 17px */
    line-height: 1.6;
}
.guide a { color: var(--g-primary); }
.guide a:visited { color: var(--g-primary-darker); }
.guide a:hover { color: var(--g-primary-dark); }
/* Focus: one ring everywhere, the theme's (2px teal, 2px clear), on summaries and links as on USWDS's controls; a light
   ring on the dark footer. */
.guide :focus-visible, .guide summary:focus-visible { outline: 2px solid var(--g-focus); outline-offset: 2px; }
.guide-footer .usa-footer__secondary-section :focus, .guide-footer .usa-footer__secondary-section :focus-visible { outline-color: var(--g-focus-on-dark); }
.guide h1, .guide h2, .guide h3, .guide h4 { color: var(--g-ink); font-weight: 700; line-height: 1.25; }
.guide .grid-container { max-width: 75rem; }
.guide-main { display: block; min-height: 50vh; }

/* ---- Header: the logo and search above, the primary menu beneath -------------------------------------- */
.guide-header { position: relative; z-index: 300; background: #fff; border-bottom: 1px solid var(--g-line); }
.guide-header .usa-navbar { border-bottom: 0; }
.guide-header .usa-logo { display: flex; align-items: center; margin: 0; font-size: 1.25rem; line-height: 1.2; }
.guide-brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--g-ink) !important; text-decoration: none; }
.guide-brand:hover .usa-logo__text { color: var(--g-primary); }
.guide-brand img { flex: none; width: 40px; height: 40px; }
.guide-header .usa-logo__text { font-weight: 700; letter-spacing: -0.01em; }
.guide-header .usa-menu-btn { background: var(--g-primary); color: #fff; text-decoration: none; font-weight: 700; font-size: 0.9375rem; }
.guide-header .usa-nav__primary, .guide-header .usa-nav__submenu-list { margin: 0; padding: 0; list-style: none; }
.guide-header .usa-menu-btn:hover, .guide-header .usa-menu-btn:visited { background: var(--g-primary-dark); color: #fff; }

@media (min-width: 64em) {
    .guide-header .usa-navbar { padding-top: 1.375rem; padding-bottom: 1.375rem; }
    .guide-header .usa-logo { margin: 0; }
    .guide-header .usa-logo__text { font-size: 1.5rem; }
    .guide-header .usa-nav { border-top: 1px solid var(--g-line-soft); }
    /* The search box: on the logo's row, at the right. */
    .guide-header .usa-nav__secondary { position: absolute; top: calc(1.1rem - 1px); right: max(2rem, calc((100% - 75rem) / 2 + 2rem)); bottom: auto; margin: 0; width: 20rem; }
    .guide-header .usa-search { max-width: none; }
    .guide-header .usa-nav__primary > .usa-nav__primary-item { font-size: 1rem; }
    /* The primary links and the panels' headings: one look. */
    .guide-header .usa-nav__primary > .usa-nav__primary-item > a,
    .guide-nav-panel > summary {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        height: 100%;
        padding: 1rem 1.1rem;
        color: var(--g-ink);
        font-weight: 700;
        line-height: 1.2;
        text-decoration: none;
        border-bottom: 4px solid transparent;
    }
    .guide-header .usa-nav__primary > .usa-nav__primary-item:first-child > a,
    .guide-header .usa-nav__primary > .usa-nav__primary-item:first-child .guide-nav-panel > summary { padding-left: 0; }
    /* One bar under an item, the item's full width (its bottom border): on hover, keyboard focus, an open panel and
       the current section alike. USWDS's own bar under the link's text (span::after, a::after) is turned off. */
    .guide-header .usa-nav__primary > .usa-nav__primary-item > a::after,
    .guide-header .usa-nav__primary .usa-nav__link span::after { display: none !important; }
    .guide-header .usa-nav__primary > .usa-nav__primary-item > a:is(:hover, :focus-visible, .usa-current),
    .guide-nav-panel > summary:is(:hover, :focus-visible, .guide-current),
    .guide-nav-panel[open] > summary { color: var(--g-primary); border-bottom-color: var(--g-primary); }
    /* The panel: the header's full width, under the menu row. */
    .guide-header .usa-nav, .guide-header .usa-nav__inner, .guide-header .usa-nav__primary-item { position: static; }
    .guide-header .guide-megamenu.usa-nav__submenu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: auto;
        padding: 1.75rem max(2rem, calc((100% - 75rem) / 2 + 2rem)) 2rem;
        background: #fff;
        border-top: 1px solid var(--g-line);
        border-bottom: 1px solid var(--g-line);
        box-shadow: 0 10px 18px -8px rgba(23, 23, 22, 0.25);
    }
    .guide-header .guide-megamenu.usa-nav__submenu::before,
    .guide-header .guide-megamenu.usa-nav__submenu::after { display: none; }
    .guide-megamenu-cols { gap: 0 2.5rem; }
    .guide-megamenu .usa-col { flex: 0 1 16rem; }
    .guide-megamenu .usa-nav__submenu-item a { display: block; padding: 0.4rem 0 !important; color: var(--g-primary); line-height: 1.35; text-decoration: none; }
    .guide-megamenu .usa-nav__submenu-item a:hover { color: var(--g-primary-dark); text-decoration: underline; }
    .guide-megamenu .usa-nav__submenu-item a[aria-current] { color: var(--g-ink); font-weight: 700; }
    .guide-megamenu-heading { margin: 0 0 0.75rem; color: var(--g-ink); font-size: 1.35rem; font-weight: 700; line-height: 1.25; }
    .guide-backdrop { display: none !important; }
}
/* The panels' chevron, drawn with borders. */
.guide-nav-panel > summary { cursor: pointer; list-style: none; }
.guide-nav-panel > summary::-webkit-details-marker { display: none; }
.guide-nav-panel > summary::after {
    content: "";
    flex: none;
    width: 0.4rem;
    height: 0.4rem;
    margin: 0 0 0.2rem 0.3rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}
.guide-nav-panel[open] > summary::after { margin: 0.25rem 0 0 0.3rem; transform: rotate(-135deg); }

/* The drawer's header and its site-pages group exist only below the desktop header's width. */
.guide-drawer-head, .guide-drawer-pages { display: none; }

/* Phones and narrow screens (below 64em, USWDS's header width): the menu is a drawer from the right, built from the
   site's own pieces. Without a script the menu button is a link to #guide-nav, and :target opens it; the backdrop
   and the close button are links to #, which close it. Matched to:
     top strip         the primary buttons' and menu button's teal (--g-primary), white text and icon
     close button      the header's icon buttons: a 44px square, 4px radius, white on teal, the light focus ring
     search            the header's search box (.guide-search) as it is, full width
     top-level rows    the desktop menu's items (700 weight, ink); its teal bar for current / open, on the left edge
     open group        the soft green band (--g-band, the hero's and summary box's tint)
     child links       the section menu (.guide-sidenav): body colour, hairlines, the current page bold in
                       --g-primary-dark with the same 4px teal bar
     chevron           the FAQ's and footer columns' border chevron
     site pages        the footer's link columns (band tint, --g-primary-dark links)
   Spacing is the page's phone gutter (1rem); hairlines --g-line-soft; the drawer's shadow and the backdrop as the
   drop-down panels'. */
@media (max-width: 63.99em) {
    .guide-header .usa-navbar { height: auto; min-height: 4rem; padding: 0.75rem 0 0.75rem 1rem; display: flex; align-items: center; justify-content: space-between; }
    .guide-header .usa-logo { flex: 1 1 auto; min-width: 0; }
    .guide-header .usa-logo__text { font-size: 1.125rem; }
    .guide-header .usa-menu-btn { display: flex; align-items: center; flex: none; height: 2.75rem; margin-right: 1rem; padding: 0 1rem; border-radius: 4px; }

    /* The drawer */
    .guide-header .usa-nav {
        position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 500;
        width: min(22rem, 88vw); padding: 0; flex-direction: column;
        overflow-y: auto; overscroll-behavior: contain;
        background: #fff; border: 0; box-shadow: -6px 0 24px rgba(23, 23, 22, 0.28);
    }
    .guide-header .usa-nav:target, .guide-header .usa-nav.is-visible { display: flex; }
    .guide-header .usa-nav__inner { display: flex; flex-direction: column; min-height: 100%; }
    body.guide-nav-open, body:has(.usa-nav:target) { overflow: hidden; }
    .guide-backdrop { position: fixed; inset: 0; z-index: 250; display: none; background: rgba(23, 23, 22, 0.6); }
    body:has(.usa-nav:target) .guide-backdrop, body.guide-nav-open .guide-backdrop { display: block; }

    /* Top strip: the brand teal, the site's name and the close button */
    .guide-drawer-head { order: -2; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 4rem; padding: 0.5rem 0.5rem 0.5rem 1rem; background: var(--g-primary); }
    .guide-drawer-brand { gap: 0.6rem; min-width: 0; color: #fff !important; font-size: 1.0625rem; font-weight: 700; line-height: 1.25; }
    .guide-header .guide-drawer-head .usa-nav__close { display: flex; flex: none; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; margin: 0; padding: 0; border-radius: 4px; background: transparent; }
    .guide-header .guide-drawer-head .usa-nav__close img { width: 1.5rem; height: 1.5rem; filter: brightness(0) invert(1); }
    .guide-header .guide-drawer-head .usa-nav__close:hover { background: var(--g-primary-dark); }
    .guide-drawer-head :focus, .guide-drawer-head :focus-visible { outline-color: var(--g-focus-on-dark) !important; }

    /* Search: the header's box, full width */
    .guide-header .usa-nav__secondary { order: -1; position: static; width: auto; margin: 0; padding: 1rem; border-bottom: 1px solid var(--g-line-soft); }
    .guide-header .usa-nav__secondary .usa-search { max-width: none; width: 100%; }

    /* Top-level rows */
    .guide-header .usa-nav__primary { margin: 0; padding: 0; border: 0; }
    .guide-header .usa-nav__primary > .usa-nav__primary-item { margin: 0; border: 0; border-bottom: 1px solid var(--g-line-soft); font-size: 1.0625rem; }
    .guide-header .usa-nav__primary > .usa-nav__primary-item > a,
    .guide-nav-panel > summary {
        display: flex; align-items: center; justify-content: space-between; gap: 1rem;
        min-height: 3.25rem; box-sizing: border-box; padding: 0.75rem 1rem;
        color: var(--g-ink); font-weight: 700; line-height: 1.3; text-decoration: none; background: #fff;
    }
    .guide-header .usa-nav__primary > .usa-nav__primary-item > a:hover,
    .guide-nav-panel > summary:hover { color: var(--g-primary); text-decoration: none; }
    /* The current section, an open group and the current page: the desktop menu's teal bar, on the left edge. */
    .guide-header .usa-nav__primary > .usa-nav__primary-item > a.usa-current,
    .guide-nav-panel > summary.guide-current,
    .guide-nav-panel[open] > summary { box-shadow: inset 4px 0 0 var(--g-primary); }
    .guide-header .usa-nav__primary :is(a.usa-current, summary.guide-current) { color: var(--g-primary-dark); }
    .guide-nav-panel[open] > summary { background: var(--g-band); }
    /* No USWDS bar beside the current item: the left bar above is the one marker. */
    .guide-header .usa-nav__primary .usa-current::after,
    .guide-header .usa-nav__primary .usa-nav__link span::after { display: none !important; }
    .guide-nav-panel > summary::after { width: 0.5rem; height: 0.5rem; margin: 0 0.35rem 0.25rem 0; }
    .guide-nav-panel[open] > summary::after { margin: 0.3rem 0.35rem 0 0; }

    /* An open group: the soft green band, its pages as the section menu draws them */
    .guide-header .guide-megamenu { position: static; width: auto; margin: 0; padding: 0; background: var(--g-band); border: 0; box-shadow: none; }
    .guide-megamenu-heading { display: none; }
    .guide-megamenu-cols { display: block; margin: 0; }
    .guide-megamenu .usa-col { padding: 0; }
    .guide-megamenu .usa-nav__submenu-list { margin: 0; padding: 0; list-style: none; }
    .guide-megamenu .usa-nav__submenu-item { margin: 0; border-top: 1px solid var(--g-band-strong); font-size: 1rem; }
    .guide-header .guide-megamenu .usa-nav__submenu-item a { display: flex; align-items: center; min-height: 3rem; box-sizing: border-box; padding: 0.6rem 1rem 0.6rem 2rem; color: var(--g-text); font-weight: 400; line-height: 1.35; text-decoration: none; }
    .guide-header .guide-megamenu .usa-nav__submenu-item a:hover { color: var(--g-primary); text-decoration: underline; }
    .guide-header .guide-megamenu .usa-nav__submenu-item a[aria-current] { color: var(--g-primary-dark); font-weight: 700; box-shadow: inset 4px 0 0 var(--g-primary); }

    /* The site's own pages: the footer's links, apart at the bottom */
    .guide-drawer-pages { display: block; margin: auto 0 0; padding: 1rem 1rem 1.5rem; list-style: none; background: var(--g-band); border-top: 1px solid var(--g-band-strong); font-size: 0.9375rem; }
    .guide-drawer-pages li { margin: 0; }
    .guide-drawer-pages a { display: flex; align-items: center; min-height: 2.75rem; color: var(--g-primary-dark); text-decoration: none; }
    .guide-drawer-pages a:hover { text-decoration: underline; }
    .guide-drawer-pages a[aria-current] { font-weight: 700; }
}
/* The field and its button are one control: the form sets the height, both stretch to it (borders inside, no
   margins), so their edges stay flush at any zoom; only the button's outer corners are rounded. USWDS gives
   .usa-input a 0.5rem top margin and the button a 2rem height of their own, which left the pair out of line. */
.guide-search[role=search] { display: flex; align-items: stretch; height: 2.5rem; }
@media (max-width: 63.99em) { .guide-search[role=search] { height: 2.75rem; } }
.guide-search .usa-input { box-sizing: border-box; flex: 1 1 auto; min-width: 0; height: auto; max-width: none; margin: 0; padding: 0 0.75rem; text-overflow: ellipsis; border: 1px solid var(--g-muted); border-right: 0; border-radius: 0; font-size: 1.0625rem; }
.guide-search .usa-button { box-sizing: border-box; flex: none; display: flex; align-items: center; justify-content: center; height: auto; min-width: 3rem; margin: 0; padding: 0 0.85rem; border: 0; border-radius: 0 4px 4px 0; background: var(--g-primary); }
.guide-search .usa-button:hover { background: var(--g-primary-dark); }
.guide-search .usa-button::before { display: none !important; }
.guide-search .usa-search__submit-icon { display: block !important; width: 1.25rem; height: 1.25rem; margin: 0 auto; color: #fff; }

/* ---- The top bar of a page: breadcrumbs, and the page options at the right -------------------------- */
.guide-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 1.25rem; padding-bottom: 0; }
.guide-topbar nav.breadcrumbs { flex: 1 1 auto; min-width: 0; }
.guide-topbar nav.breadcrumbs { line-height: 1.4; }
.guide-topbar nav.breadcrumbs a { text-decoration: underline; }
.guide-page-options { display: flex; flex: none; gap: 1.25rem; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 0.9375rem; white-space: nowrap; }
.guide-option { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0; border: 0; background: none; color: var(--g-primary) !important; font: inherit; cursor: pointer; text-decoration: none; }
.guide-option:hover span { text-decoration: underline; }
.guide-option-icon { width: 1.1rem; height: 1.1rem; }

/* ---- Article layout: the section menu, the article, and (onThisPage: side) its contents beside it ------ */
/* Fixed columns and a fixed gap (--g-col-gap): the side column (16rem) on the container's left edge, under the
   logo, then the article at the reading width (48rem) one gap away; any spare room is on the right. */
:root { --g-col-gap: 3rem; --g-col-side: 16rem; }
.guide-layout { display: grid; grid-template-columns: var(--g-col-side) minmax(0, 48rem); justify-content: start; gap: var(--g-col-gap); padding-top: 1.25rem; padding-bottom: 3rem; }
.guide-article { --c-measure: 100%; }
.guide-layout-side { grid-template-columns: var(--g-col-side) minmax(0, 44rem) 13rem; gap: 2.5rem; }
/* No menu and no rail (site pages, section pages, short articles): one column across the container, its blocks at the
   reading width except a section page's cards, which use the full width. */
.guide-layout-nomenu { grid-template-columns: minmax(0, 1fr); }
.guide-layout-nomenu:not(.guide-layout-side) .guide-article > :not(.guide-children) { max-width: 48rem; }
.guide-layout-nomenu:not(.guide-layout-side) .guide-children .doc-cards { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
/* No menu, with the rail: the article (48rem) from the left edge and the rail (15rem) one gap away. */
.guide-layout-nomenu.guide-layout-side { grid-template-columns: minmax(0, 48rem) 15rem; gap: var(--g-col-gap); }
.guide-col-side { padding-top: 0.5rem; }
@media (max-width: 63.99em) {
    .guide-layout, .guide-layout-side, .guide-layout-nomenu, .guide-layout-nomenu.guide-layout-side { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 1rem; }
    .guide-col-menu { order: 2; }
    .guide-col-side { display: none; }
}
.guide-sidenav .usa-sidenav { margin: 0; font-size: 1rem; line-height: 1.35; border-bottom: 1px solid var(--g-line-soft); }
.guide-sidenav .usa-sidenav__item { border-top: 1px solid var(--g-line-soft); }
.guide-sidenav .usa-sidenav a:not(.usa-button) { padding: 0.6rem 1rem; color: var(--g-text); text-decoration: none; }
.guide-sidenav .usa-sidenav a:not(.usa-button):hover { color: var(--g-primary); background: var(--g-grey); text-decoration: underline; }
.guide-sidenav .usa-sidenav > .usa-sidenav__item > a { font-weight: 700; color: var(--g-ink); }
.guide-sidenav .usa-sidenav a.usa-current { color: var(--g-primary-dark); font-weight: 700; }
.guide-sidenav .usa-sidenav a.guide-ancestor::after { display: none; }
.guide-sidenav .usa-sidenav a[aria-current="page"]::after { background: var(--g-primary); }
.guide-sidenav .usa-sidenav__sublist a:not(.usa-button) { padding-left: 2rem; }
.guide-sidenav .usa-sidenav__sublist .usa-sidenav__sublist a:not(.usa-button) { padding-left: 3rem; font-size: 0.9375rem; }
.guide-sidenav .usa-sidenav__sublist a.usa-current:not([aria-current]) { font-weight: 600; }

/* ---- Article type ------------------------------------------------------------------------------------- */
.guide-article { min-width: 0; }
.guide-article-page { max-width: 48rem; padding: 1.25rem 0 3rem; }
/* The title's capitals start level with the section menu's top border: the line box puts them about 0.2em below
   its top (Public Sans at this line height), so the title moves up by that much. */
.guide-title { margin: -0.2em 0 0.5rem; font-size: 2.375rem; line-height: 1.15; letter-spacing: -0.01em; }
@media (max-width: 40em) { .guide-title { font-size: 1.75rem; } }
.guide-article .doc-review-line { margin: 0 0 1rem; font-size: 0.9375rem; color: var(--g-muted); }
.guide-article .doc-review-line a { color: var(--g-muted); }
.guide-article .infobox-summary { margin: 1.25rem 0; }
.guide-prose { max-width: 100%; }
.guide-prose > :first-child { margin-top: 0; }
.guide-prose p, .guide-prose ul, .guide-prose ol, .guide-prose dl { margin: 0 0 1rem; }
.guide-prose li { margin: 0.3rem 0; }
.guide-prose li > ul, .guide-prose li > ol { margin: 0.3rem 0 0; }
.guide-prose a { text-decoration: underline; text-underline-offset: 0.15em; }
.guide-prose .mw-heading { margin: 2.25rem 0 0.75rem; }
.guide-prose > .mw-heading:first-child { margin-top: 1rem; }
/* A section (h2): a divider, the short teal rule above a large heading with room before it; its questions (h3) the
   working headings under it, smaller than h2 and stronger than the text. */
.guide-prose .mw-heading2 { margin: 3rem 0 0.9rem; }
.guide-prose .mw-heading2::before { content: ""; display: block; width: 3rem; height: 4px; margin: 0 0 0.85rem; border-radius: 2px; background: var(--g-primary); }
.guide-prose .mw-heading2 + .mw-heading3 { margin-top: 0.5rem; }
.guide-prose h2, .guide-faq h2.faq-heading { margin: 0; font-size: 1.625rem; line-height: 1.25; }
.guide-prose h3 { margin: 0; font-size: 1.1875rem; line-height: 1.35; }
.guide-prose h4, .guide-prose h5 { margin: 0; font-size: 1.0625rem; }
.guide-prose .mw-heading3, .guide-prose .mw-heading4, .guide-prose .mw-heading5 { margin: 1.5rem 0 0.5rem; }
.guide-prose .mw-editsection { display: none; }
@media (max-width: 40em) {
    .guide-prose h2, .guide-faq h2.faq-heading { font-size: 1.375rem; }
    .guide-prose h3 { font-size: 1.15rem; }
}
.guide-prose strong { font-weight: 700; color: var(--g-ink); }
.guide-prose code { padding: 0.1em 0.3em; border-radius: 3px; background: var(--g-grey); font-size: 0.9em; }
.guide-prose pre { overflow-x: auto; padding: 0.75rem 1rem; border-radius: 4px; background: var(--g-grey); }
.guide-prose pre code { padding: 0; background: none; }
.guide-prose blockquote { margin: 0 0 1rem; padding: 0.5rem 1.25rem; border-left: 4px solid var(--g-primary-light); background: var(--g-grey); }
.guide-prose blockquote > :last-child, .guide-prose .templatequote > :last-child { margin-bottom: 0; }
.guide-prose hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--g-line); }
.guide-prose .hatnote { margin: -0.25rem 0 0.75rem; padding-left: 1rem; font-style: italic; color: var(--g-muted); }
.guide-prose a.new { color: var(--c-new-link); }
.guide-prose sup.reference { font-size: 0.75em; line-height: 0; }
.guide-prose sup.reference a { text-decoration: none; }
.guide-prose .asof-tag { white-space: nowrap; }
/* Tables: full width of the text, a rule under each row, the header row tinted; scroll sideways on phones. */
.guide-prose table.wikitable { display: block; width: max-content; max-width: 100%; overflow-x: auto; margin: 0 0 1.25rem; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; }
.guide-prose table.wikitable caption { padding: 0 0 0.5rem; font-weight: 700; text-align: left; color: var(--g-ink); }
.guide-prose table.wikitable :is(th, td) { padding: 0.55rem 0.75rem; border: 1px solid var(--g-line); text-align: left; vertical-align: top; }
.guide-prose table.wikitable th { background: var(--g-band); color: var(--g-ink); font-weight: 700; }
/* Figures */
.guide-prose figure { margin: 0 0 1rem; }
.guide-prose figure img { max-width: 100%; height: auto; }
.guide-prose figcaption { margin-top: 0.4rem; font-size: 0.9375rem; color: var(--g-muted); }
.guide-prose .mw-halign-right, .guide-prose figure.mw-halign-right { float: right; margin: 0 0 1rem 1.5rem; }
.guide-prose .mw-halign-left, .guide-prose figure.mw-halign-left { float: left; margin: 0 1.5rem 1rem 0; }
@media (max-width: 40em) { .guide-prose :is(.mw-halign-right, .mw-halign-left) { float: none; margin: 0 0 1rem; } }
/* Quotes ({{quote}}) */
.guide-prose .templatequote { margin: 0 0 1rem; padding: 0.5rem 1.25rem; border-left: 4px solid var(--g-primary-light); background: var(--g-grey); }
.guide-prose .templatequotecite { margin-top: 0.4rem; font-size: 0.9375rem; color: var(--g-muted); }
/* {{verify}} */
.guide-prose .noprint, .guide-prose .Inline-Template { font-size: 0.8em; }
/* Callouts take the article's measure. */
.guide-prose .callout { max-width: var(--c-measure); }

/* After the text: the section's pages, the FAQ, the references, related pages, the date. */
.guide-children { margin: 2rem 0 0; }
.guide-children .doc-cards { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.25rem; }
.guide-children .doc-card { padding: 1.25rem 1.25rem 1.4rem; border-top: 4px solid var(--g-primary); box-shadow: var(--c-shadow); }
.guide-children .doc-card-title { font-size: 1.2rem; line-height: 1.3; }
.guide-children .doc-card-count { display: none; }
.guide-faq { margin-top: 2.5rem; }
.guide-faq .faq { margin: 0; }
.guide-faq .faq-heading { margin-bottom: 1rem !important; }
.guide-faq .faq-answer a { text-decoration: underline; }
.guide-faq .faq-question { font-size: 1.0625rem; }
.guide-faq .faq-list .faq-question { font-size: 1.1875rem; }
.guide-references { margin-top: 2rem; }
.guide-references .mw-references-details > summary > :is(h2, h3) { display: inline; margin: 0; font-size: 1.0625rem; font-weight: 700; color: inherit; }
.guide-references ol.references { margin: 0.75rem 0 0; padding-left: 1.75rem; font-size: 0.9375rem; line-height: 1.5; }
.guide-references ol.references li { margin: 0.4rem 0; }
.guide-references .mw-cite-backlink a { text-decoration: none; }
.guide-related { margin-top: 2.5rem; }
.guide-related .doc-related { padding-top: 1.5rem; border-top: 1px solid var(--g-line); }
.guide-related .doc-related-title { margin: 0 0 0.5rem; color: var(--g-ink); font-size: 1.25rem; font-weight: 700; }
.guide-related ul { margin: 0; padding-left: 1.25rem; }
.guide-related li { margin: 0.35rem 0; }
.guide-related .doc-cards { margin-top: 0.75rem; }
.guide-updated { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--g-line-soft); font-size: 0.9375rem; color: var(--g-muted); }
.guide-article > .on-this-page-top { max-width: var(--c-measure); padding: 1rem 1.25rem; border: 1px solid var(--g-line-soft); border-radius: 4px; }
.guide-article > .on-this-page-top .on-this-page-list { columns: 2 18rem; column-gap: 2rem; }
.guide-article > .on-this-page-top .on-this-page-list li { break-inside: avoid; margin: 0 0 0.4rem; }
.guide-article > .on-this-page-top a { text-decoration: none; }
.guide-article > .on-this-page-top a:hover { text-decoration: underline; }

/* The contact and question forms ({{contact form}}, {{question form}}, src/lib/templates.ts): field labels semibold,
   6px above their field, fields 44px high with the header search field's border, a 1.25rem step between fields;
   the consent row a 20px teal box in its own column, the sentence beside it in regular weight; the primary button. */
.wiki-contact-form { display: grid; gap: 0; max-width: 34rem; margin-bottom: 1.5rem; }
.wiki-contact-form [hidden] { display: none !important; }
.wiki-contact-form > label { margin: 1.25rem 0 0.375rem; font-weight: 600; line-height: 1.35; color: var(--g-ink); }
.wiki-contact-form > label:first-of-type { margin-top: 0.25rem; }
.wiki-contact-form input:not([type="hidden"], [type="checkbox"]), .wiki-contact-form select, .wiki-contact-form textarea { box-sizing: border-box; width: 100%; min-height: 2.75rem; margin: 0; padding: 0.5rem 0.75rem; border: 1px solid var(--g-muted); border-radius: 0; font: inherit; line-height: 1.4; color: var(--g-text); background: #fff; }
.wiki-contact-form textarea { min-height: 8rem; resize: vertical; }
.wiki-contact-form :is(input, select, textarea):focus-visible { outline: 2px solid var(--g-focus); outline-offset: 0; }
.wiki-contact-form :is(input, select, textarea):user-invalid { border-color: #b50909; box-shadow: inset 4px 0 0 #b50909; }
.wiki-contact-optional { color: var(--g-muted); font-weight: 400; }
.wiki-contact-form :is(.wiki-contact-note, .wiki-contact-hint) { margin: 0.375rem 0 0; color: var(--g-muted); font-size: 0.9375rem; line-height: 1.45; }
/* The consent row: the box in its own column on the first line, the sentence wrapping under itself. */
.wiki-contact-form > label.wiki-contact-check { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); column-gap: 0.75rem; align-items: start; margin-top: 1.5rem; font-weight: 400; color: var(--g-text); cursor: pointer; }
.wiki-contact-check input[type="checkbox"] { width: 1.25rem; height: 1.25rem; margin: calc((1lh - 1.25rem) / 2) 0 0; accent-color: var(--g-primary); cursor: pointer; }
.wiki-contact-check input[type="checkbox"]:focus-visible { outline: 2px solid var(--g-focus); outline-offset: 2px; }
.wiki-contact-submit { justify-self: start; min-height: 2.75rem; margin-top: 1.5rem; padding: 0.75rem 1.4rem; border: 0; border-radius: 4px; color: #fff; background: var(--g-primary); font: inherit; font-weight: 700; line-height: 1.2; cursor: pointer; }
.wiki-contact-submit:hover { background: var(--g-primary-dark); }
.wiki-contact-submit:focus-visible { outline: 2px solid var(--g-focus); outline-offset: 2px; }
@media (max-width: 40em) { .wiki-contact-submit { justify-self: stretch; } }
.wiki-contact-sent { padding: 0.75rem 1rem; border-left: 6px solid var(--g-primary); background: var(--g-band); }

/* ---- Home --------------------------------------------------------------------------------------------- */
.guide-home .home-band-hero { border-bottom: 1px solid var(--g-band-strong); }
.guide-home .home-card-title a, .guide-home .home-card-title a:visited { color: var(--g-primary); }
.guide-home .home-guide-link:visited { color: var(--g-primary); }
.guide-home .home-guide-link:hover, .guide-home .home-guide-link:focus { color: #fff; }
.guide-home .home-button, .guide-home .home-button:visited { color: #fff; }

/* ---- Search (Pagefind's UI) and the 404 --------------------------------------------------------------- */
#pagefind-search {
    --pagefind-ui-primary: var(--g-primary);
    --pagefind-ui-text: var(--g-text);
    --pagefind-ui-background: #fff;
    --pagefind-ui-border: var(--g-muted);
    --pagefind-ui-tag: var(--g-grey);
    --pagefind-ui-border-width: 1px;
    --pagefind-ui-border-radius: 0;
    --pagefind-ui-font: inherit;
    --pagefind-ui-scale: 0.9;
}

/* ---- Footer: three link columns (collapsible on phones), then the site's name and its own pages ------- */
.guide-footer { margin-top: 0; font-size: 1rem; }
.guide-footer .usa-footer__return-to-top { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.guide-footer .usa-footer__return-to-top a { text-decoration: underline; }
/* The green band: the brand column, then the link columns close beside it. Headings set the section menu's top item
   (bold ink, a step under body size) with a gap under them; links a step under body size on a tight even rhythm, in
   the link colour, underlined on hover and focus. */
.guide-footer .usa-footer__primary-section { background: var(--g-band); border-top: 1px solid var(--g-band-strong); }
.guide-footer-main { display: grid; grid-template-columns: minmax(14rem, 20rem) repeat(3, minmax(9rem, 12rem)); justify-content: space-between; gap: 2rem 3rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.guide-footer .usa-footer__nav.guide-footer-cols { display: contents; max-width: none; margin: 0; padding: 0; border: 0; }
.guide-footer-brand .guide-brand { gap: 0.6rem; font-size: 1.125rem; font-weight: 700; line-height: 1.25; }
.guide-footer-brand .guide-brand img { width: 40px; height: 40px; }
.guide-footer-tagline { max-width: 18rem; margin: 0.75rem 0 0; color: var(--g-muted); font-size: 0.9375rem; line-height: 1.5; }
.guide-footer-col > summary { display: block; margin: 0 0 0.75rem; padding: 0; color: var(--g-ink); font-size: 0.9375rem; font-weight: 700; line-height: 1.3; list-style: none; }
.guide-footer-col > summary::-webkit-details-marker { display: none; }
.guide-footer-col ul { margin: 0; padding: 0; list-style: none; }
.guide-footer-col li { margin: 0; }
.guide-footer-col li + li { margin-top: 0.25rem; }
.guide-footer-col a { display: inline-block; padding: 0.15rem 0; color: var(--g-primary); font-size: 0.9375rem; line-height: 1.45; text-decoration: none; }
.guide-footer-col a:visited { color: var(--g-primary); }
.guide-footer-col a:hover, .guide-footer-col a:focus-visible { color: var(--g-primary-dark); text-decoration: underline; }
.guide-footer-col a[aria-current] { color: var(--g-ink); font-weight: 600; }
@media (min-width: 40em) { .guide-footer-col > summary { pointer-events: none; } }
@media (max-width: 63.99em) and (min-width: 40em) {
    .guide-footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .guide-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 39.99em) {
    .guide-footer-main { display: block; padding-top: 1.75rem; padding-bottom: 0.5rem; }
    .guide-footer-brand { padding-bottom: 1.25rem; border-bottom: 1px solid var(--g-band-strong); }
    .guide-footer-col { border-bottom: 1px solid var(--g-band-strong); }
    .guide-footer-col:last-child { border-bottom: 0; }
    .guide-footer-col > summary { display: flex; align-items: center; justify-content: space-between; min-height: 3rem; margin: 0; padding: 0; cursor: pointer; }
    .guide-footer-col > summary::after { content: ""; width: 0.45rem; height: 0.45rem; margin-right: 0.3rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
    .guide-footer-col[open] > summary::after { transform: rotate(-135deg); }
    .guide-footer-col ul { padding: 0 0 0.9rem; }
}
/* The dark band: the copyright line, then the links the columns don't show. */
.guide-footer .usa-footer__secondary-section { background: var(--g-primary-darker); color: #fff; padding: 1.25rem 0; }
.guide-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; }
.guide-footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; }
.guide-footer-links a, .guide-footer-links a:visited { color: #fff; text-decoration: none; }
.guide-footer-links a:hover, .guide-footer-links a:focus-visible { text-decoration: underline; }
.guide-footer-copy { margin: 0; color: #dfe9e8; font-size: 0.9375rem; }

/* ---- Print: the article alone ---------------------------------------------------------------------- */
@media print {
    .guide-header, .guide-backdrop, .guide-footer, .guide-col-menu, .guide-col-side, .guide-page-options, .usa-skipnav { display: none !important; }
    .guide-layout { display: block; padding: 0; }
    .guide-references .mw-references-details > :not(summary) { display: block; }
    .faq-accordion details > .faq-answer { display: block; }
}

/* ---- Search: the header's suggestions (src/scripts/typeahead.ts, data-typeahead-class="guide-typeahead") ----- */
.guide-search[role=search] > .guide-typeahead { display: block; }
.guide-search[role=search] > .guide-typeahead[hidden] { display: none; }
.guide-search .usa-input:focus, .qa-search-page input:focus { outline-offset: 0; }
.guide-typeahead { position: absolute; top: 100%; left: 0; right: 0; z-index: 600; margin-top: 2px; max-height: 70vh; overflow-y: auto; padding: 0.25rem 0; background: #fff; border: 1px solid var(--g-line); border-top: 3px solid var(--g-primary); box-shadow: 0 8px 16px -6px rgba(23, 23, 22, 0.25); text-align: left; font-size: 1rem; }
.guide-typeahead__item { display: block; padding: 0.5rem 0.85rem; color: var(--g-text) !important; line-height: 1.35; text-decoration: none; }
.guide-typeahead__item:hover, .guide-typeahead__item.is-active { background: var(--g-band); text-decoration: none; }
.guide-typeahead__title { display: block; color: var(--g-primary); font-weight: 600; }
.guide-typeahead mark { padding: 0; color: inherit; background: none; font-weight: 700; }
.guide-typeahead__via, .guide-typeahead__desc { display: block; color: var(--g-muted); font-size: 0.875rem; }
.guide-typeahead__via { font-style: italic; }
.guide-typeahead__desc { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.guide-typeahead__heading { margin-top: 0.25rem; padding: 0.5rem 0.85rem 0.15rem; border-top: 1px solid var(--g-line-soft); color: var(--g-muted); font-size: 0.8125rem; font-weight: 700; }
.guide-typeahead__footer { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; border-top: 1px solid var(--g-line-soft); }
.guide-typeahead__footer, .guide-typeahead__footer .guide-typeahead__title { color: var(--g-primary); }
.guide-typeahead__icon { display: inline-flex; flex: none; }

/* The search page (src/components/search.ts renderFoundSearch): its field drawn as the header's (a 1px field, the
   teal button joined on its right), larger; the results are the found-pages list (components.css .doc-found). */
.qa-search-page { display: flex; align-items: stretch; height: 3rem; max-width: 40rem; margin: 0.5rem 0 1rem; }
.qa-search-page > .qa-search-icon { display: none; }
.qa-search-page input { box-sizing: border-box; flex: 1; min-width: 0; height: auto; margin: 0; padding: 0 0.85rem; border: 1px solid var(--g-muted); border-right: 0; border-radius: 0; color: var(--g-text); background: #fff; font: inherit; font-size: 1.125rem; }
.qa-search-page input::placeholder { color: var(--g-muted); opacity: 1; }
.qa-search-submit { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; flex: none; height: auto; margin: 0; padding: 0 1.25rem; border: 0; border-radius: 0 4px 4px 0; color: #fff; background: var(--g-primary); font: inherit; font-weight: 700; cursor: pointer; }
.qa-search-submit:hover { background: var(--g-primary-dark); }
.qa-search-submit .qa-search-icon { width: 1.1rem; height: 1.1rem; }
@media (max-width: 30em) { .qa-search-submit span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .qa-search-submit { padding: 0 0.9rem; } }
.qa-search-status { margin: 0 0 0.5rem; color: var(--g-muted); }
.qa-search-more button { padding: 0.6rem 1.1rem; border: 2px solid var(--g-primary); border-radius: 4px; color: var(--g-primary); background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.guide-prose .doc-found a { text-decoration: none; }
.guide-prose .doc-found a:hover { text-decoration: underline; }

/* {{term}}: a glossary term, its definition on hover (src/lib/templates.ts) */
.glossary-term { text-decoration: underline dotted; text-underline-offset: 2px; cursor: help; }
.glossary-term a { color: inherit; text-decoration: none; }

/* The site map page (renderAllPages): each section's pages in columns. */
.guide-prose .mw-category-columns ul { columns: 2 16rem; column-gap: 2rem; margin: 0 0 1.5rem; padding-left: 1.25rem; }
.guide-prose .mw-category-columns li { break-inside: avoid; }

/* ---- Ask a question by the title, related pages as small cards, "About this page" -------------------------- */
.guide-title-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; margin: 0 0 1rem; }
.guide-title-meta .doc-review-line { margin: 0; }
.guide-ask-button { display: inline-flex; align-items: center; min-height: 2.5rem; box-sizing: border-box; padding: 0 1rem; border: 2px solid var(--g-primary); border-radius: 4px; color: var(--g-primary) !important; font-size: 0.9375rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.guide-ask-button:hover, .guide-ask-button:focus-visible { background: var(--g-primary); color: #fff !important; text-decoration: none; }
.guide-ask .ask-banner { max-width: var(--c-measure); }
.guide-prose .ask-prompt { max-width: var(--c-measure); }
.guide-prose .ask-prompt a { text-decoration: underline; }
.guide-related .doc-related-cards .doc-cards { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; margin-top: 0.75rem; }
.guide-related .doc-related-cards .doc-card { padding: 1rem 1.1rem; border-top: 3px solid var(--g-primary); box-shadow: var(--c-shadow); }
.guide-related .doc-related-cards .doc-card-title { font-size: 1.0625rem; line-height: 1.3; }
.guide-related .doc-related-cards .doc-card-description { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.guide-page-info .page-info { border-color: var(--g-line-soft); background: var(--g-grey); }
.guide-ask .home-button, .guide-ask .home-button:visited, .guide-ask .home-button:hover { color: #fff; text-decoration: none; }
/* Phones: the key facts box tighter, each label on its own line above its value, so long values read as text. */
@media (max-width: 40em) { .guide-article .infobox-summary { padding: 0.85rem 1rem; font-size: 0.9375rem; } .guide-article .infobox-summary .infobox-label { display: block; } .guide-article .infobox-summary .infobox-label::after { content: none; } .guide-article .infobox-summary .infobox-data { display: block; margin: 0; } .guide-title-meta { margin-bottom: 0.75rem; } }

/* ---- The right-hand rail (onThisPage: side): "On this page" and the Ask button, kept in view; the list scrolls
   inside the rail when it is taller than the window. Below the desktop width the rail gives way to the folded list
   under the title, and the Ask button goes back to the title row. */
.guide-rail { position: sticky; top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; max-height: calc(100vh - 3rem); }
.guide-rail .on-this-page-side { position: static; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.guide-rail .on-this-page-title { margin: 0 0 0.5rem; color: var(--g-muted); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; }
.guide-rail .on-this-page-list a { padding: 0.45rem 0 0.45rem 0.9rem; color: var(--g-text); font-size: 0.9375rem; line-height: 1.35; }
.guide-rail .on-this-page-list a[aria-current] { color: var(--g-primary-dark); box-shadow: -3px 0 0 var(--g-primary); }
.guide-rail .on-this-page-list a:hover { color: var(--g-primary); }
.guide-rail-ask { align-self: flex-start; flex: none; }
.guide-otp-fallback { display: none; }
@media (max-width: 63.99em) {
    .guide-otp-fallback { display: block; }
}
@media (min-width: 64em) {
    .guide-title-ask { display: none; }
}

/* ---- onThisPage: bar. The title across the container, then the section tabs, which stick to the top of the window
   (CSS alone). Between the header menu and plain text: 16px semibold in the body's dark ink, the current tab in teal
   with a 3px teal bar, hover teal with a faint bar. In the flow a soft green strip the container's width with the
   small corner radius, a section gap under the key facts; stuck (.is-stuck, set by the page script), the strip runs
   edge to edge with a hairline under it, the tabs still on the same left edge. No shadow. On narrow screens the row
   scrolls sideways (no scrollbar, a fade at the edge). */
.guide-head { padding-top: 1.25rem; }
.guide-head .guide-title-meta { margin-bottom: 0.75rem; }
.guide-otp-bar { position: sticky; top: 0; z-index: 200; margin-top: 2rem; border-bottom: 1px solid transparent; }
.guide-otp-bar.is-stuck { background: var(--g-band); border-bottom-color: var(--g-band-strong); }
.guide-otp-bar .on-this-page-bar { max-width: var(--c-measure, 48rem); margin: 0; border-radius: 4px; background: var(--g-band); }
.guide-otp-bar.is-stuck .on-this-page-bar { border-radius: 0; }
.guide-otp-bar .on-this-page-list { display: flex; gap: 0; margin: 0; padding: 0 0.25rem; list-style: none; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.guide-otp-bar .on-this-page-list::-webkit-scrollbar { display: none; }
.guide-otp-bar .on-this-page-list li { flex: none; margin: 0; }
.guide-otp-bar .on-this-page-list a { display: flex; align-items: center; min-height: 3.125rem; box-sizing: border-box; padding: 3px 1rem 0; border-bottom: 3px solid transparent; color: var(--g-ink); font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.guide-otp-bar .on-this-page-list a:hover { color: var(--g-primary); border-bottom-color: var(--g-band-strong); }
.guide-otp-bar .on-this-page-list a[aria-current] { color: var(--g-primary); border-bottom-color: var(--g-primary); }
.guide-otp-bar .on-this-page-list a:focus-visible { outline-offset: -3px; }
@media (max-width: 63.99em) {
    .guide-otp-bar .on-this-page-list { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent); }
    .guide-otp-bar .on-this-page-list a { min-height: 3rem; padding: 3px 0.85rem 0; font-size: 0.9375rem; }
}
.guide-layout-bar { padding-top: 1.75rem; }
.guide-layout-bar .guide-prose :is(h2, h3), .guide-layout-bar .faq { scroll-margin-top: 4.5rem; }
/* The top of a page with the tab bar: title, lead, byline, key facts with the page's actions under them, all at the
   reading width; then the tabs across the container. */
.guide-head > * { max-width: 48rem; }
.guide-head .guide-title { margin-bottom: 0.75rem; }
.guide-lead { margin: 0 0 0.75rem; font-size: 1.125rem; line-height: 1.55; }
.guide-lead > :last-child { margin-bottom: 0; }
.guide-head .doc-review-line { margin: 0 0 1rem; }
.guide-facts .infobox-summary { margin: 0; }
.guide-layout-nomenu.guide-layout-bar { padding-top: 1.25rem; }

/* The key facts at the top of a tabbed page: compact, two columns of label above value on wide screens. */
.guide-facts .infobox-summary { padding: 0.9rem 1.1rem; font-size: 0.9375rem; }
.guide-facts .infobox-summary .infobox-label { display: block; }
.guide-facts .infobox-summary .infobox-label::after { content: none; }
.guide-facts .infobox-summary .infobox-data { display: block; margin: 0; }
@media (min-width: 40em) { .guide-facts .infobox-summary .infobox-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; } .guide-facts .infobox-summary .infobox-row + .infobox-row { border-top: 0; } .guide-facts .infobox-summary .infobox-row { border-top: 1px solid var(--g-line-soft); } .guide-facts .infobox-summary .infobox-row:nth-child(-n+2) { border-top: 0; } .guide-facts .infobox-summary .infobox-header { grid-column: 1 / -1; } }

/* Site pages with the site pages' menu (sitePagesMenu: tree): the menu on the left in the section menu's look, its
   heading a label; the page at the reading width beside it, on the container's right edge. On phones the menu
   follows the content as a short list. */
.guide-layout-pages .guide-article-page { padding: 0 0 3rem; }
.guide-sidenav-heading { display: block; padding: 0.6rem 1rem; color: var(--g-ink); font-weight: 700; }
/* The header lockup: the site name with its tagline as a small second line, the mark centred on both. */
.guide-brand-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.guide-brand-tagline { color: var(--g-muted); font-size: 0.875rem; font-weight: 400; line-height: 1.25; letter-spacing: 0; }
.guide-header .guide-brand:hover .guide-brand-tagline { color: var(--g-muted); }
/* Phones: the tagline stays on one line beside the menu button where it fits (about 410px up), else it goes. */
@media (max-width: 30em) { .guide-brand-tagline { font-size: 0.8125rem; white-space: nowrap; } }
@media (max-width: 25.5em) { .guide-brand-tagline { display: none; } }
.guide-brand-text .usa-logo__text { display: block; line-height: 1.05; }
@media (min-width: 64em) { .guide-header .usa-logo { max-width: calc(100% - 24rem); width: auto; } .guide-brand-tagline { white-space: nowrap; } }
/* Clinic cards and tables inside an article: their own type, not the text's. */
.guide-prose .clinic-card p, .guide-prose .clinic-card dl, .guide-prose .clinic-card ul { margin: 0; }
.guide-prose .clinic-card-name { font-size: 1.0625rem; line-height: 1.3; }
.guide-prose .clinic-card-name a, .guide-prose .clinic-table th a { text-decoration: none; }
.guide-prose .clinic-card-name a:hover, .guide-prose .clinic-table th a:hover { text-decoration: underline; }
.guide-prose .clinic-card .clinic-badges { margin: 0.2rem 0; }

/* Wide tables beside free space: on an article with nothing beside its reading column (no section menu, no side
   rail) a wide table (the clinic comparison, a table of six or more columns) may run on to the right, up to the
   container's edge (100cqw of the article); only as wide as it needs, its left edge on the text; past that it
   scrolls in its own box. Tables of text in fewer columns wrap in the column as before. */
.guide-layout-nomenu:not(.guide-layout-side) .guide-article { container-type: inline-size; }
.guide-layout-nomenu:not(.guide-layout-side) .guide-prose table.wikitable:has(tr > :nth-child(6)) { max-width: 100cqw; }
.guide-layout-nomenu:not(.guide-layout-side) .guide-prose .clinic-comparison .clinic-table-wrap { width: max-content; min-width: 100%; max-width: 100cqw; }
.guide-layout-nomenu:not(.guide-layout-side) .guide-prose .clinic-comparison .clinic-table { width: auto; min-width: 100%; }
/* The clinic comparison: compact (short headings, ticks, names that wrap), 14px. */
.guide-prose .clinic-table { font-size: 0.875rem; }
.guide-prose .clinic-table :is(th, td) { padding: 0.5rem 0.6rem; }
.guide-prose .clinic-comparison .clinic-table thead th { white-space: normal; min-width: 3.5rem; }

/* Timelines (rail): a label column as wide as the longest label up to 11rem, labels left-aligned, semibold, one step
   under the body; under 40em each item stacks, its label above its text, the dot and the line down the left. */
.guide-prose .timeline-rail { --c-timeline-when: 11rem; --c-timeline-gap: 2.25rem; --c-timeline-when-align: left; --c-timeline-when-offset: 0.25rem; }
.guide-prose .timeline-rail .timeline-when { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; color: var(--g-ink); }
@media (max-width: 40em) {
    .guide-prose .timeline-rail { display: block; }
    .guide-prose .timeline-rail .timeline-item { display: block; position: relative; padding: 0 0 1em 1.75rem; }
    .guide-prose .timeline-rail .timeline-item:last-child { padding-bottom: 0; }
    .guide-prose .timeline-rail .timeline-when, .guide-prose .timeline-rail .timeline-text { position: static; padding-bottom: 0; }
    .guide-prose .timeline-rail .timeline-when { margin-bottom: 0.2rem; padding-top: 0; }
    .guide-prose .timeline-rail .timeline-text::before { left: 0.1rem; top: calc((1lh - 0.8em) / 2); }
    .guide-prose .timeline-rail .timeline-text::before, .guide-prose .timeline-rail .timeline-item:not(:last-child) .timeline-text::after { content: none; }
    .guide-prose .timeline-rail .timeline-item::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0.3em; box-sizing: border-box; width: 0.8em; height: 0.8em; border: 2px solid var(--c-timeline-dot); border-radius: 50%; background: var(--c-card); }
    .guide-prose .timeline-rail .timeline-item:not(:last-child)::after { content: ""; position: absolute; left: calc(0.4em - 1px); top: 0.3em; bottom: -0.3em; width: 2px; background: var(--c-border); }
}
