@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Next:wght@400;500;600;700;800&display=swap');

:root {
    /* Legacy palette */
    --Fg19DarkNavy: #0F1229;
    --Fg19DarkNavy2: #3F4154;
    --Fg19DarkNavy3: #878894;

    /* Version badges */
    --fg-badge-common-bg: rgba(255, 223, 149, 0.6);
    --fg-badge-common-text: #594400;
    --fg-badge-common-border: rgba(89, 68, 0, 0.16);
    --fg-badge-v1-bg: rgba(158, 242, 229, 0.6);
    --fg-badge-v1-text: #005049;
    --fg-badge-v1-border: rgba(0, 80, 73, 0.16);
    --fg-badge-v2-bg: rgba(223, 224, 255, 0.6);
    --fg-badge-v2-text: #3b4279;
    --fg-badge-v2-border: rgba(59, 66, 121, 0.16);

    /* Top app bar */
    --fg-top-app-bar-height: 100px;
    --fg-main-offset: var(--fg-top-app-bar-height);
    --fg-main-offset-mobile: 156px;
    --fg-main-content-padding-top: 10px;
    --fg-breadcrumb-margin-top: 6px;
    --fg-breadcrumb-margin-bottom: 24px;
    /* Keep sticky TOC spacing equal to non-sticky breadcrumb bottom spacing to avoid scroll-start jump. */
    --fg-breadcrumb-to-toc-gap: var(--fg-breadcrumb-margin-bottom);
    --fg-breadcrumb-min-height: 2.375rem;
    --fg-breadcrumb-sticky-z-index: 20;
    --fg-top-app-bar-text: var(--help-color-on-surface);
    --fg-top-app-bar-surface: #e3e9ea;
    --fg-top-app-bar-gradient-start: rgba(41, 186, 171, 0.12);
    --fg-top-app-bar-gradient-end: var(--help-color-surface-container);
    --fg-top-app-bar-radius: 0;
    --fg-top-app-bar-logo-text-light: #0b2547;
    --fg-top-app-bar-logo-image-light: #29baab;

    /* Typography scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    /* Search control */
    --fg-search-input-height: 44px;
    --fg-search-input-radius: 0.25rem;
    --fg-search-input-border: rgba(111, 121, 119, 0.5);
    --fg-search-input-border-hover: var(--help-color-on-surface);
    --fg-search-input-border-focus: #82d5c9;
    --fg-search-input-focus-bg: rgba(158, 242, 229, 0.16);
    --fg-search-input-text: var(--help-color-on-surface);
    --fg-search-input-placeholder: var(--help-color-outline);
    --fg-search-input-font-size: var(--text-sm);
    --fg-search-icon-color: var(--help-color-outline);
    --fg-search-button-height: 44px;
    --fg-search-button-radius: 0.75rem;
    --fg-search-button-font-size: var(--text-sm);
    --fg-search-button-font-weight: 500;
    --fg-search-button-primary-bg: #009688;
    --fg-search-button-primary-text: #ffffff;
    --fg-search-button-primary-hover: #00897b;
    --fg-search-button-primary-active: #00796b;
    --fg-search-field-desktop-width: 304px;
    --fg-search-bar-desktop-width: 387px;

    /* Core color system */
    --help-color-primary: #006a61;
    --help-color-on-primary-container: #005049;
    --help-color-error-container: #ffdad4;
    --help-color-on-error-container: #73342b;
    --help-color-royal-blue: #415e91;
    --help-color-royal-blue-container: #d7e3ff;
    --help-color-on-royal-blue-container: #284677;
    --help-color-surface: #f5fafb;
    --help-color-surface-container-low: #eff5f6;
    --help-color-surface-container: #e9eff0;
    --help-color-on-surface: #171d1e;
    --help-color-on-surface-variant: #3f4947;
    --help-color-outline: #6f7977;
    --help-color-outline-variant: #bec9c6;
    --help-color-border-muted: #e5e7eb;
    --help-color-text-muted: #737373;

    /* Article typography + links */
    --article-h1-size: var(--text-3xl);
    --article-h1-secondary-size: var(--text-2xl);
    --article-h2-size: var(--text-xl);
    --article-h3-size: var(--text-lg);
    --article-h4-size: var(--text-base);
    --article-h5-size: var(--text-base);
    --article-h6-size: var(--text-sm);
    --article-heading-color: var(--help-color-on-surface);
    --article-h2-divider-color: rgba(23, 29, 30, 0.12);
    --article-heading-anchor-color: var(--help-color-outline);
    --article-heading-anchor-hover-color: var(--help-color-on-surface);
    --article-heading-scroll-offset: calc(var(--fg-top-app-bar-height) + 19px);
    --article-link-color: var(--help-color-royal-blue);
    --article-link-hover-color: var(--help-color-on-royal-blue-container);
    --article-link-underline-thickness: 1px;
    --article-link-underline-offset: 0.2em;
    --article-link-focus-ring: rgba(130, 213, 201, 0.5);
    --article-link-external-icon-size: 0.8em;

    /* Callouts + inline code */
    --callout-info-bg: var(--help-color-royal-blue-container);
    --callout-info-border: rgba(40, 70, 119, 0.28);
    --callout-info-text: var(--help-color-on-royal-blue-container);
    --callout-warning-bg: var(--help-color-error-container);
    --callout-warning-border: rgba(115, 52, 43, 0.28);
    --callout-warning-text: var(--help-color-on-error-container);
    --callout-code-bg: rgba(15, 18, 41, 0.08);
    --callout-code-border: rgba(15, 18, 41, 0.16);
    --callout-code-text: var(--Fg19DarkNavy);

    /* Article code blocks */
    --article-code-bg: var(--help-color-surface-container-low);
    --article-code-border: var(--help-color-outline-variant);
    --article-code-text: var(--help-color-on-surface);
    --article-code-inline-bg: var(--help-color-surface-container);
    --article-code-inline-border: var(--help-color-outline-variant);

    /* Article table of contents */
    --article-toc-bg: var(--help-color-surface-container-low);
    --article-toc-border: rgba(63, 73, 71, 0.16);
    --article-toc-text: var(--help-color-on-surface);
    --article-toc-muted-text: var(--help-color-on-surface-variant);
    --article-toc-active-bg: rgba(158, 242, 229, 0.35);
    --article-toc-active-text: var(--help-color-on-primary-container);
    --article-sticky-top: calc(var(--fg-main-offset) + var(--fg-main-content-padding-top) + var(--fg-breadcrumb-margin-top));
    --article-toc-sticky-top: var(--article-sticky-top);

    /* Tiles + cards */
    --home-tile-gap: 25px;
    --tile-inner-gap: 5px;
    --node-tile-inline-gap: 10px;
    --tile-bg: transparent;
    --tile-border-default: rgba(63, 73, 71, 0.18);
    --tile-border-hover: rgba(63, 73, 71, 0.34);
    --tile-shadow-hover: 0 4px 12px rgba(15, 18, 41, 0.07);
    --tile-shadow-focus: 0 0 0 2px rgba(130, 213, 201, 0.45), 0 5px 14px rgba(15, 18, 41, 0.09);
}

/* Base */
html {
    position: relative;
    min-height: 100%;
    font-size: 16px;
    scrollbar-gutter: stable;
}

body {
    color: var(--help-color-on-surface);
    background-color: var(--help-color-surface);
    font-family: "Atkinson Hyperlegible Next", ui-serif, sans-serif;
}

/* Layout */
.container {
    max-width: 960px !important;
    padding: 10px 20px;
}

/* Top app bar */
.navbar {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    width: 100%;
    min-width: 250px;
    height: var(--fg-top-app-bar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: nowrap;
    color: var(--fg-top-app-bar-text);
    background-color: var(--fg-top-app-bar-surface);
    background-image: linear-gradient( 90deg, var(--fg-top-app-bar-gradient-start) 0%, var(--fg-top-app-bar-gradient-end) 80% );
    border-radius: var(--fg-top-app-bar-radius);
    padding-top: 5px;
    padding-bottom: 5px;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.5rem;
    height: 100%;
    width: 100%;
    padding: 10px 20px;
}

.fg-top-app-bar__left {
    display: flex;
    flex: 1 1 auto;
    width: auto;
    overflow: hidden;
    min-width: 0;
}

.navbar-brand {
    margin: 0 16px 0 0;
    padding: 5px 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.fg-top-app-bar__brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.625rem;
    max-width: 100%;
    min-width: 0;
}

.fg-top-app-bar__actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    min-width: 0;
    margin-left: auto;
}

.navbar form {
    margin: 0;
}

/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    height: 40px;
    width: 100%;
    background-color: var(--help-color-surface);
    text-align: center;
}

.footer .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
}

.fg-logo {
    height: 60px;
    width: auto;
    display: block;
}

.fg-top-app-bar--light .fg-logo-text {
    fill: var(--fg-top-app-bar-logo-text-light);
}

.fg-top-app-bar--light .fg-logo-image {
    fill: var(--fg-top-app-bar-logo-image-light);
}

/* Search bar */
.fg-search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: var(--fg-search-bar-desktop-width);
    max-width: var(--fg-search-bar-desktop-width);
}

.fg-search-bar__field {
    display: inline-flex;
    align-items: center;
    flex: 0 0 var(--fg-search-field-desktop-width);
    min-width: 0;
    height: var(--fg-search-input-height);
    border: 1px solid var(--fg-search-input-border);
    border-radius: var(--fg-search-input-radius);
    background-color: transparent;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, outline-color 0.2s ease-in-out;
}

    .fg-search-bar__field:hover:not(:focus-within) {
        border-color: var(--fg-search-input-border-hover);
    }

    .fg-search-bar__field:focus-within {
        border-color: var(--fg-search-input-border-focus);
        outline: 1px solid var(--fg-search-input-border-focus);
        background-color: var(--fg-search-input-focus-bg);
    }

.fg-search-bar__leading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-left: 0.75rem;
    color: var(--fg-search-icon-color);
    pointer-events: none;
}

.fg-search-bar__input {
    width: 100%;
    height: 100%;
    padding: 0 0.5rem;
    border: 0;
    outline: 0;
    background-color: transparent;
    color: var(--fg-search-input-text);
    font-family: "Roboto", sans-serif;
    font-size: var(--fg-search-input-font-size);
    line-height: var(--leading-normal);
    min-width: 0;
}

    .fg-search-bar__input::placeholder {
        color: var(--fg-search-input-placeholder);
        font-size: var(--text-sm);
        line-height: var(--leading-normal);
        font-style: italic;
    }

.fg-search-bar__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: var(--fg-search-button-height);
    width: 75px;
    min-width: 75px;
    max-width: 75px;
    padding: 11px 12px 10px 12px;
    box-sizing: border-box;
    border: 0;
    border-radius: var(--fg-search-button-radius);
    font-family: "Roboto", sans-serif;
    font-size: var(--fg-search-button-font-size);
    font-weight: var(--fg-search-button-font-weight);
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

    .fg-search-bar__button:focus,
    .fg-search-bar__button:focus-visible {
        outline: 0;
    }

.fg-search-bar__button--primary {
    background-color: var(--fg-search-button-primary-bg);
    color: var(--fg-search-button-primary-text);
}

    .fg-search-bar__button--primary:hover {
        background-color: var(--fg-search-button-primary-hover);
    }

    .fg-search-bar__button--primary:active {
        background-color: var(--fg-search-button-primary-active);
    }

.fg-search-bar__button:disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.fg-search-bar__button--primary:disabled {
    background-color: rgba(23, 29, 30, 0.12);
    color: rgba(23, 29, 30, 0.4);
}

/* Search results */
.search-results {
    margin-top: 30px;
}

    .search-results-heading {
        margin: 0 0 40px 0;
        color: var(--Fg19DarkNavy2);
        font-size: var(--text-lg) !important;
        font-weight: 500;
        line-height: var(--leading-snug);
    }

    .search-results-term {
        color: var(--Fg19DarkNavy);
        font-size: inherit;
        font-weight: 600;
    }

/* Page layout */
.main {
    margin-top: var(--fg-main-offset);
    margin-bottom: 40px;
}

.container.main {
    padding-top: var(--fg-main-content-padding-top);
}

h1 {
    font-size: 1.333rem !important;
}

h2 {
    font-size: 1.25rem !important;
}

h3 {
    font-size: 1.167rem !important;
}

h4 {
    font-size: 1.083rem !important;
    font-weight: bold !important;
}

.category {
    border: 1px solid var(--help-color-border-muted);
    border-radius: 5px;
}

a.category {
    text-decoration: none;
    color: var(--Fg19DarkNavy);
}

    a.category:hover {
        border-color: var(--Fg19DarkNavy);
    }

/* Tiles */

.category,
.tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    margin: 20px 0;
    padding: 15px 30px;
}

.tile {
    border: 1px solid var(--tile-border-default);
    background-color: var(--tile-bg);
    box-shadow: none;
    border-radius: 5px;
    gap: var(--tile-inner-gap);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

    .tile > div {
        display: flex;
        flex-direction: column;
        gap: var(--tile-inner-gap);
    }

a.tile {
    text-decoration: none;
    color: var(--Fg19DarkNavy);
}

    a.tile:hover {
        border-color: var(--tile-border-hover);
        box-shadow: var(--tile-shadow-hover);
    }

    a.tile:focus-visible {
        border-color: var(--tile-border-hover);
        box-shadow: var(--tile-shadow-focus);
        outline: none;
    }

.tile h1,
.tile h2 {
    margin: 0;
}

.tile p {
    margin: 0;
    font-size: var(--text-base);
    line-height: var(--leading-normal);
}

.category h1,
.category p {
    margin-bottom: 5px;
}

.article-count {
    font-size: var(--text-base);
    color: var(--help-color-text-muted);
}

/* Badges */
.article-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

.article-badge {
    background-color: var(--article-badge-bg);
    color: var(--article-badge-text);
    border-color: var(--article-badge-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    user-select: none;
    white-space: nowrap;
    vertical-align: middle;
    border-width: 1px;
    border-style: solid;
    border-radius: 999px;
    font-family: "Atkinson Hyperlegible Next", ui-serif, sans-serif;
    line-height: 1;
}

.tile .article-badge {
    border-width: 1px;
    border-style: solid;
    padding: 0.3rem 0.6rem;
    font-size: var(--text-sm);
    font-weight: 400;
}

.article-badge--common {
    --article-badge-bg: var(--fg-badge-common-bg);
    --article-badge-text: var(--fg-badge-common-text);
    --article-badge-border: var(--fg-badge-common-border);
}

.article-badge--v1 {
    --article-badge-bg: var(--fg-badge-v1-bg);
    --article-badge-text: var(--fg-badge-v1-text);
    --article-badge-border: var(--fg-badge-v1-border);
}

.article-badge--v2 {
    --article-badge-bg: var(--fg-badge-v2-bg);
    --article-badge-text: var(--fg-badge-v2-text);
    --article-badge-border: var(--fg-badge-v2-border);
}

.page-route-indicator .article-badges {
    margin: 0 0 25px 0;
}

.page-route-indicator .article-badge {
    height: 2rem;
    padding: 0 0.6rem;
    font-size: var(--text-lg);
    font-weight: 600;
    line-height: 1;
}

/* Clickable version badges for top-level route navigation */
.page-route-indicator .article-badges a.article-badge {
    cursor: pointer;
    text-decoration: none;
    color: inherit !important;
    transition: filter 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.page-route-indicator .article-badges a.article-badge:hover {
    filter: brightness(1.04);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.page-route-indicator .article-badges a.article-badge:focus,
.page-route-indicator .article-badges a.article-badge:focus-visible {
    background-color: rgba(0, 0, 0, 0.05);
    outline: none;
}

.page-header-block .page-route-indicator {
    margin: 0 0 5px 0;
}

    .page-header-block .page-route-indicator .article-badges {
        margin: 0 0 5px 0;
    }

.page-header-block {
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

    .page-header-block .page-header-title,
    .page-header-block .page-header-description,
    .page-header-block .article-count {
        margin: 0;
    }

    .page-header-block .page-header-title,
    .page-header-block h1 {
        margin-bottom: 5px;
    }

    .page-header-block .page-header-description,
    .page-header-block p {
        margin-bottom: 5px;
    }

    .page-header-block p:not(.article-count) {
        font-family: "Roboto", sans-serif;
        line-height: var(--leading-normal);
    }

    .page-header-block .article-count {
        margin-bottom: 0;
    }

    .page-header-block > * + * {
        margin-top: 5px;
    }

/* Home */
.home-category-grid {
    display: grid;
    gap: var(--home-tile-gap);
}

.home-main-content .home-category-grid > .tile {
    margin: 0;
    padding: 15px 30px;
    display: flex;
    flex-direction: column;
    gap: var(--tile-inner-gap);
}

    .home-main-content .home-category-grid > .tile:first-child {
        margin-top: 20px;
    }

    .home-main-content .home-category-grid > .tile:last-child {
        margin-bottom: 20px;
    }

.home-main-content .tile > div > p:not(.article-count) {
    font-family: "Roboto", sans-serif;
}

.home-main-content .tile .article-badges {
    padding-top: var(--tile-inner-gap);
}

/* Node tiles */
.node-tile > div {
    flex-direction: row;
    align-items: center;
    gap: var(--node-tile-inline-gap);
}

.node-tile .article-badges {
    padding-top: 0;
    flex: 0 0 auto;
}

.node-tile p {
    padding-top: 1px;
}

.tile.node-tile {
    padding: 15px;
}

/* Article tiles */
a.article {
    border: 1px solid var(--tile-border-default);
    background-color: var(--tile-bg);
    box-shadow: none;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    margin: 15px 0;
    text-decoration: none;
    color: var(--Fg19DarkNavy);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

    a.article:hover {
        border-color: var(--tile-border-hover);
        box-shadow: var(--tile-shadow-hover);
    }

    a.article:focus-visible {
        border-color: var(--tile-border-hover);
        box-shadow: var(--tile-shadow-focus);
        outline: none;
    }

.article > p {
    margin: 15px;
}

/* Article content */
.article-content {
    --article-heading-scroll-offset: calc(var(--article-sticky-top) + var(--fg-breadcrumb-min-height) + 24px);
    margin: 0;
    max-width: none;
    color: var(--help-color-on-surface);
    font-family: "Roboto", sans-serif;
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

/* Article layout + TOC */
.article-layout {
    display: block;
}

.article-body {
    min-width: 0;
}

.article-toc {
    display: none;
}

.article-toc-nav {
    display: grid;
    gap: 0.2rem;
}

.article-content .article-toc .article-toc-link {
    display: block;
    padding: 0.25rem 0.35rem;
    border-radius: 4px;
    color: var(--article-toc-text);
    font-family: "Atkinson Hyperlegible Next", ui-serif, sans-serif;
    font-size: var(--text-sm);
    font-weight: 400;
    line-height: var(--leading-snug);
    text-decoration: none;
    text-underline-offset: initial;
}

.article-content .article-toc .article-toc-link--h1 {
    font-weight: 500;
}

.article-toc-nav .article-toc-link--h1:first-of-type {
    font-weight: 700;
    font-size: 1.05em;
}

.article-content .article-toc .article-toc-link--h2 {
    padding-left: 0.7rem;
}

.article-content .article-toc .article-toc-link--h3 {
    padding-left: 1.35rem;
    color: var(--article-toc-muted-text);
    font-size: var(--text-xs);
}

.article-content .article-toc .article-toc-link--h4 {
    padding-left: 1.9rem;
    color: var(--article-toc-muted-text);
    font-size: var(--text-xs);
}

.article-content .article-toc .article-toc-link--h5 {
    padding-left: 2.35rem;
    color: var(--article-toc-muted-text);
    font-size: var(--text-xs);
}

.article-content .article-toc .article-toc-link--h6 {
    padding-left: 2.8rem;
    color: var(--article-toc-muted-text);
    font-size: var(--text-xs);
}

.article-content .article-toc .article-toc-link:hover,
.article-content .article-toc .article-toc-link:focus-visible {
    color: var(--article-toc-active-text);
    font-weight: 500;
    text-decoration: none;
    background-color: var(--article-toc-active-bg);
    outline: none;
}

.article-toc-nav .article-toc-link--h1:first-of-type:hover,
.article-toc-nav .article-toc-link--h1:first-of-type:focus-visible {
    font-weight: 700;
}

.article-content .article-toc .article-toc-link.is-active {
    color: var(--article-toc-active-text);
    font-weight: 500;
    background-color: var(--article-toc-active-bg);
}

.article-content .article-toc .article-toc-link--h1:first-of-type.is-active {
    font-weight: 700;
}

    .article-content :is(h1, h2, h3, h4, h5, h6) {
        color: var(--article-heading-color);
        font-family: "Atkinson Hyperlegible Next", ui-serif, sans-serif;
        line-height: var(--leading-tight);
        /* Keeps anchor-link navigation from hiding behind the fixed navbar. */
        scroll-margin-top: var(--article-heading-scroll-offset);
    }

    .article-content h1:first-of-type {
        font-size: var(--article-h1-size) !important;
        font-weight: 800;
        margin: 0 0 30px 0;
        display: inline-flex;
        align-items: baseline;
    }

    .article-content h1:not(:first-of-type) {
        font-size: var(--article-h1-secondary-size) !important;
        font-weight: 700;
        margin: 2.5rem 0 1rem 0;
    }

    .article-content h2 {
        font-size: var(--article-h2-size) !important;
        font-weight: 700;
        margin: 2rem 0 0.75rem 0;
        padding-bottom: 0.35rem;
        border-bottom: 1px solid var(--article-h2-divider-color);
    }

    .article-content h3 {
        font-size: var(--article-h3-size) !important;
        font-weight: 700;
        margin: 1.7rem 0 0.65rem 0;
    }

    .article-content h4 {
        font-size: var(--article-h4-size) !important;
        font-weight: 650;
        margin: 1.4rem 0 0.55rem 0;
    }

    .article-content h5 {
        font-size: var(--article-h5-size) !important;
        font-weight: 600;
        color: var(--help-color-on-surface-variant);
        line-height: var(--leading-snug);
        margin: 1.2rem 0 0.5rem 0;
    }

    .article-content h6 {
        font-size: var(--article-h6-size) !important;
        font-weight: 600;
        color: var(--help-color-on-surface-variant);
        line-height: var(--leading-snug);
        letter-spacing: 0.05em;
        text-transform: uppercase;
        margin: 1.1rem 0 0.45rem 0;
    }

    .article-content :is(h1, h2, h3, h4, h5, h6) > a[href^="#"] {
        color: inherit;
        text-decoration: none;
        display: inline-flex;
        align-items: baseline;
        gap: 0;
    }

    .article-content :is(h1, h2, h3, h4, h5, h6) > a[href^="#"]::after {
        content: "#";
        color: var(--article-heading-anchor-color);
        margin-left: 0.5rem;
        font-size: 1em;
        font-weight: 500;
        line-height: 1;
        opacity: 0;
        transition: opacity 0.15s ease-in-out, color 0.15s ease-in-out;
    }

    .article-content :is(h1, h2, h3, h4, h5, h6):hover > a[href^="#"]::after,
    .article-content :is(h1, h2, h3, h4, h5, h6):focus-within > a[href^="#"]::after {
        opacity: 1;
        color: var(--article-heading-anchor-hover-color);
    }

    /* Keep top article title linkable without showing the heading symbol affordance. */
    .article-content h1:first-of-type > a[href^="#"]::after {
        content: none;
    }

    .article-content :is(h1, h2, h3, h4, h5, h6) > a[href^="#"]:focus-visible {
        outline: 1px dashed var(--article-heading-anchor-hover-color);
        outline-offset: 3px;
        border-radius: 3px;
    }

    .article-content > :not(.breadcrumbs-container) a,
    .generic-error-content > :not(.breadcrumbs-container) a {
        color: var(--article-link-color);
        text-decoration: underline;
        text-decoration-thickness: var(--article-link-underline-thickness);
        text-underline-offset: var(--article-link-underline-offset);
        transition: color 0.12s ease-in-out, text-decoration-thickness 0.12s ease-in-out;
    }

    .article-content > :not(.breadcrumbs-container) a:hover,
    .generic-error-content > :not(.breadcrumbs-container) a:hover {
        color: var(--article-link-hover-color);
        text-decoration-thickness: 1.5px;
    }

    /* Keep heading self-links visually stable when hovered. */
    .article-content :is(h1, h2, h3, h4, h5, h6) > a[href^="#"]:hover {
        color: inherit;
        font-weight: inherit;
        text-decoration: none;
    }

    .article-content > :not(.breadcrumbs-container) a:not([href^="#"]):focus-visible {
        outline: 2px solid var(--article-link-focus-ring);
        outline-offset: 2px;
        border-radius: 3px;
    }

    .article-content > :not(.breadcrumbs-container) a[href^="http://"],
    .article-content > :not(.breadcrumbs-container) a[href^="https://"] {
        position: relative;
        display: inline-block;
        padding-right: 12px;
    }

    .article-content > :not(.breadcrumbs-container) a[href^="http://"]::after,
    .article-content > :not(.breadcrumbs-container) a[href^="https://"]::after {
        content: "\2197\FE0E";
        position: absolute;
        right: 0;
        top: 0.04em;
        text-decoration: none;
        font-size: var(--article-link-external-icon-size);
        font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", sans-serif;
        font-weight: 400;
        line-height: 1;
        opacity: 0.9;
    }

    .article-content :is(.warningBlock, .infoBlock) a {
        color: inherit;
        text-decoration-thickness: 1.5px;
    }

    .article-content blockquote {
        margin: 1.25rem 0;
        padding: 0.75rem 1rem;
        border-left: 4px solid var(--help-color-primary);
        border-radius: 0 6px 6px 0;
        background-color: rgba(158, 242, 229, 0.28);
        color: var(--help-color-on-primary-container);
        font-size: var(--text-base);
        line-height: var(--leading-normal);
        font-weight: 400;
    }

    .article-content blockquote p {
        margin: 0 0 0.5rem 0;
    }

    .article-content blockquote p:last-child {
        margin-bottom: 0;
    }

    .article-content code:not(pre code) {
        font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
        color: var(--article-code-text) !important;
        background-color: var(--article-code-inline-bg);
        border: 1px solid var(--article-code-inline-border);
        border-radius: 4px;
        padding: 0.04em 0.24em;
        font-size: var(--text-sm);
        white-space: nowrap;
    }

.article-content pre {
    background-color: var(--article-code-bg);
    border: 1px solid var(--article-code-border);
    padding: 0.85rem 1rem;
    border-radius: 6px;
    margin: 0.9rem 0 1.2rem 0;
    overflow-x: auto;
    line-height: var(--leading-normal);
}

    .article-content pre code {
        font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
        color: var(--article-code-text);
        background-color: transparent;
        border: 0;
        padding: 0;
        font-size: var(--text-sm);
        white-space: pre;
    }

    .article-content pre code.hljs {
        background-color: transparent;
    }

.infoBlock pre,
.warningBlock pre {
    background-color: var(--callout-code-bg);
    border: 1px solid var(--callout-code-border);
    padding: 0.5em;
}

.infoBlock pre code,
.warningBlock pre code {
    color: var(--callout-code-text) !important;
}

.infoBlock pre code.hljs,
.warningBlock pre code.hljs {
    color: inherit !important;
}

.infoBlock code:not(pre code),
.warningBlock code:not(pre code) {
    background-color: var(--callout-code-bg);
    color: var(--callout-code-text) !important;
}


/* Media + embeds */
.iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin: 30px 0;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Tables + images */
img {
    max-width: 100%;
}

table {
    margin-top: 2em;
    margin-bottom: 2em;
}

th,
td {
    padding-right: 1em;
    padding-bottom: 0.5em;
}

th {
    border-bottom: 1px solid var(--Fg19DarkNavy3)
}

/* Responsive adjustments */
/* Search bar support on smaller screens */
@media (max-width: 645px) {
    :root {
        --fg-main-offset: var(--fg-main-offset-mobile);
    }

    .navbar {
        flex-wrap: wrap;
        height: auto;
        min-height: var(--fg-top-app-bar-height);
        align-items: flex-start;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .navbar-container {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 8px;
    }

    .fg-top-app-bar__left {
        flex: 1 1 100%;
        width: 100%;
        justify-content: center;
    }

    .fg-top-app-bar__actions {
        flex: 1 1 100%;
        width: 100%;
        min-width: 250px;
        justify-content: flex-start;
        margin-left: 0;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .fg-search-bar {
        width: 100%;
        max-width: none;
    }

    .fg-search-bar__field {
        flex: 1 1 auto;
        min-width: 0;
    }

}

@media screen and (max-width: 510px) {
    .fg-search-bar {
        width: 100%;
    }

    .fg-search-bar__field {
        flex: 1 1 auto;
        min-width: 0;
    }

    .fg-search-bar__button {
        width: 75px;
        min-width: 75px;
        max-width: 75px;
        font-size: var(--fg-search-button-font-size);
        padding: 11px 12px 10px 12px;
    }
}

@media (min-width: 64rem) {
    .navbar-container {
        gap: 1rem;
        padding: 10px 20px;
    }
}

/* Breadcrumbs */
.breadcrumbs-container {
    --fg-breadcrumb-sticky-cover-height: calc(var(--article-sticky-top) - var(--fg-main-offset));
    display: block;
    position: sticky;
    top: var(--article-sticky-top);
    z-index: var(--fg-breadcrumb-sticky-z-index);
    min-height: var(--fg-breadcrumb-min-height);
    margin: var(--fg-breadcrumb-margin-top) 0 var(--fg-breadcrumb-margin-bottom) 0;
    font-size: var(--text-base);
    background-color: var(--help-color-surface);
    border-bottom: 1px solid var(--help-color-outline-variant);
}

/* Paint over the sticky top-offset gap so no "sliver" of underlying content shows while scrolling. */
.breadcrumbs-container::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(-1 * var(--fg-breadcrumb-sticky-cover-height));
    height: var(--fg-breadcrumb-sticky-cover-height);
    background-color: var(--help-color-surface);
    pointer-events: none;
}

.breadcrumbs-full,
.breadcrumbs-compact {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    gap: 2px;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.breadcrumbs-full {
    display: none;
}

.breadcrumbs-compact {
    display: inline-flex;
}

@media (min-width: 600px) {
    .article-layout.article-layout--with-toc {
        --article-toc-sticky-top: calc(var(--article-sticky-top) + var(--fg-breadcrumb-min-height) + var(--fg-breadcrumb-to-toc-gap));
        display: grid;
        grid-template-columns: minmax(0, 1fr) 220px;
        gap: 2rem;
        align-items: start;
    }

    .article-toc {
        display: block;
        position: sticky;
        top: var(--article-toc-sticky-top);
        padding: 0.85rem 0.9rem;
        border: 1px solid var(--article-toc-border);
        border-radius: 8px;
        background-color: var(--article-toc-bg);
        max-height: calc(100vh - var(--article-toc-sticky-top) - 20px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--help-color-outline-variant) transparent;
    }

    .article-toc::-webkit-scrollbar {
        width: 6px;
    }

    .article-toc::-webkit-scrollbar-track {
        background: transparent;
    }

    .article-toc::-webkit-scrollbar-thumb {
        background: var(--help-color-outline-variant);
    }

    .article-toc:hover::-webkit-scrollbar-thumb {
        background: var(--help-color-outline);
    }

}

@media (min-width: 646px) {
    .breadcrumbs-full {
        display: inline-flex;
    }

    .breadcrumbs-compact {
        display: none;
    }
}

.breadcrumb-home,
.breadcrumb-link,
.breadcrumb-current,
.breadcrumb-ellipsis {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    border-radius: 6px;
    padding: 3px 8px;
    color: var(--help-color-on-surface-variant);
    font-family: "Roboto", sans-serif;
    font-size: var(--text-sm);
    line-height: var(--leading-snug);
}

.breadcrumb-home,
.breadcrumb-link {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

.breadcrumb-home {
    text-decoration: none;
}

.breadcrumb-link {
    white-space: nowrap;
}

.breadcrumb-home:hover,
.breadcrumb-link:hover {
    background-color: rgba(23, 29, 30, 0.1);
    color: var(--help-color-on-surface);
}

.breadcrumb-current {
    color: var(--help-color-on-surface-variant);
    font-weight: 700;
    text-decoration: none;
    cursor: default;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.breadcrumb-ellipsis {
    color: var(--help-color-on-surface-variant);
    font-weight: 500;
    text-decoration: none;
    cursor: default;
    user-select: none;
}

.breadcrumb-symbol,
.breadcrumb-separator {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.breadcrumb-home .breadcrumb-symbol {
    color: var(--help-color-outline);
}

.breadcrumb-separator {
    color: var(--help-color-outline);
    user-select: none;
}

.content-icon {
    height: 1em;
    vertical-align: bottom;
    margin-bottom: 0.4em;
}

/* Callouts */
.warningBlock {
    background-color: var(--callout-warning-bg);
    color: var(--callout-warning-text);
    border: 2px solid var(--callout-warning-border);
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 500;
    margin-top: 2em;
    margin-bottom: 2em;
}

    .warningBlock svg {
        fill: currentColor;
    }

    .warningBlock > p:last-child {
        margin: 0;
    }

.infoBlock {
    background-color: var(--callout-info-bg);
    color: var(--callout-info-text);
    border: 2px solid var(--callout-info-border);
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 500;
    margin-top: 2em;
    margin-bottom: 2em;
}

    .infoBlock svg {
        fill: currentColor;
    }

    .infoBlock > p:last-child {
        margin: 0;
    }

.error {
    margin-top: 30px;
    text-align: center;
}

.generic-error-content .error {
    text-align: center;
}
