/*
 * ==============================================
 * Enrollment Rx WebHelp Main Brand Styles
 * Full revised main.css
 * Tokenized + accessibility-improved
 * ==============================================
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* --------------------
       Core brand palette
       -------------------- */
    --erx-color-black: #000000;
    --erx-color-white: #FFFFFF;

    --erx-color-ink: #08221F;
    --erx-color-ink-2: #0C312D;

    --erx-color-teal: #259789;
    --erx-color-teal-dark: #1F7D71;
    --erx-color-teal-soft: #E6F3FA;
    --erx-color-teal-softest: #F7FBFD;

    --erx-color-blue-soft: #BBDEF2;

    --erx-color-orange: #EE5519;
    --erx-color-orange-dark: #D14610;

    --erx-color-link: #D14610;
    --erx-color-link-hover: #EE5519;

    --erx-color-text: #183532;
    --erx-color-text-muted: #5B6F6C;
    --erx-color-text-placeholder: #6E8280;
    --erx-color-text-light: rgba(255, 255, 255, 0.88);

    --erx-color-border: #DCEBED;
    --erx-color-border-light: #E4EEF0;
    --erx-color-border-neutral: #E0E0E0;

    --erx-color-success: #2F6D38;
    --erx-color-code-bg: rgba(37, 151, 137, 0.08);
    --erx-color-header-shadow: rgba(0, 0, 0, 0.22);
    --erx-color-light-outline: rgba(255, 255, 255, 0.35);
    --erx-color-light-border: rgba(255, 255, 255, 0.45);
    --erx-color-light-divider: rgba(255, 255, 255, 0.1);
    --erx-color-light-surface: rgba(255, 255, 255, 0.08);

    /* --------------------
       Semantic tokens
       -------------------- */
    --erx-bg: var(--erx-color-white);
    --erx-surface: var(--erx-color-white);
    --erx-surface-alt: var(--erx-color-teal-softest);
    --erx-separator: var(--erx-color-border);

    --erx-ink: var(--erx-color-ink);
    --erx-ink-2: var(--erx-color-ink-2);

    --erx-brand: var(--erx-color-teal);
    --erx-brand-dark: var(--erx-color-teal-dark);
    --erx-brand-soft: var(--erx-color-teal-soft);
    --erx-brand-soft-2: var(--erx-color-teal-softest);
    --erx-blue-soft: var(--erx-color-blue-soft);

    --erx-accent: var(--erx-color-orange);
    --erx-accent-dark: var(--erx-color-orange-dark);

    --erx-link: var(--erx-color-link);
    --erx-link-hover: var(--erx-color-link-hover);

    --erx-text: var(--erx-color-text);
    --erx-text-muted: var(--erx-color-text-muted);
    --erx-text-light: var(--erx-color-text-light);

    --erx-body-link-color: var(--erx-link);
    --erx-body-link-hover-color: var(--erx-link-hover);
    --erx-nav-structural-link-color: var(--erx-ink-2);
    --erx-nav-structural-link-hover-color: var(--erx-accent);
    --erx-footer-link-color: var(--erx-blue-soft);
    --erx-footer-link-hover-color: var(--erx-color-white);

    --erx-focus-color: var(--erx-accent);
    --erx-focus-outline: 2px solid var(--erx-focus-color);
    --erx-focus-outline-offset: 3px;

    --topnav_text_color: var(--erx-ink);
    --topnav_hover_color: var(--erx-accent);

    /* --------------------
       Oxygen / WebHelp compatibility tokens
       -------------------- */
    --awb-color4: #259789;
    --awb-color4-h: 173;
    --awb-color4-s: 61%;
    --awb-color4-l: 37%;
    --awb-color4-a: 100%;

    /* --------------------
       Typography
       -------------------- */
    --font-sans: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;

    --text-xs: 0.8125rem;
    --text-sm: 0.9375rem;
    --text-base: 1rem;
    --text-md: 1.125rem;
    --text-lg: 1.375rem;
    --text-xl: 1.75rem;
    --text-2xl: 2.25rem;

    --topnav-font-size: 0.8125rem;

    --line-tight: 1.2;
    --line-body: 1.6;

    /* --------------------
       Layout + shape
       -------------------- */
    --shell-max: 1200px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
}

/* --------------------
   Motion + scrolling
   -------------------- */

@media (prefers-reduced-motion : no-preference) {
    :root {
        scroll-behavior: unset !important;
    }
}

html,
body {
    min-width: 100%;
}

html {
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--erx-brand-soft) var(--erx-ink);
}

/* WebKit/Blink legacy: older Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background-color: var(--erx-brand);
}

::-webkit-scrollbar-thumb {
    background-color: var(--erx-brand-soft);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--line-body);
    color: var(--erx-text);
    background: var(--erx-bg);
}

/* --------------------
   Base text + links
   -------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    color: var(--erx-ink);
    line-height: var(--line-tight);
    margin-top: 0;
}

h1 {
    font-size: var(--text-2xl);
}

h2 {
    font-size: var(--text-xl);
}

h3 {
    font-size: var(--text-lg);
}

h4 {
    font-size: var(--text-md);
}

p,
li,
dd,
td,
th {
    font-size: var(--text-base);
    line-height: var(--line-body);
}

a,
a:visited {
    color: var(--erx-body-link-color);
    text-decoration: underline dotted;
}

a:hover,
a:focus {
    color: var(--erx-body-link-hover-color);
    text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: var(--erx-focus-outline);
    outline-offset: var(--erx-focus-outline-offset);
}

code,
.codeph {
    color: var(--erx-ink);
    background: var(--erx-color-code-bg);
    border-radius: var(--radius-sm);
    padding: 0.05em 0.3em;
}

img,
svg {
    vertical-align: middle;
    max-width: 100%;
}

.footer-logo {
    vertical-align: middle;
}

/* --------------------
   Generic helpers
   -------------------- */

.portal-shell,
.container {
    width: min(var(--shell-max), calc(100% - 2rem));
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
}

.portal-eyebrow {
    margin: 0 0 0.4rem;
    color: var(--erx-brand);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-copy-muted {
    color: var(--erx-text-muted);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------
   Header
   -------------------- */

.navbar {
    border: 0;
    border-radius: 0;
    margin: 0;
    background: transparent;
}

.navbar-brand {
    height: auto;
}

.wh_header {
    background: var(--erx-bg);
    color: var(--erx-ink);
    border-bottom: 1px solid var(--erx-color-light-surface);
    box-shadow: 0 0 50px 1px var(--erx-color-header-shadow);
}

.wh_logo_and_publication_title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
}

.wh_logo {
    display: block !important;
}

.wh_publication_title {
    display: none;
}

.wh_top_menu {
    text-transform: none;
    margin: 0.4rem 0;
    font-size: var(--text-sm);
    font-family: var(--font-sans);
}

/* Main menu styles */
.wh_top_menu ul li a {
    color: var(--topnav_text_color);
    font-size: var(--topnav-font-size);
    font-weight: 600;
}

.wh_top_menu ul li a:hover,
.wh_top_menu ul li a:focus {
    color: var(--topnav_hover_color) !important;
    transition: color 0.2s ease;
}

.wh_top_menu ul li a:focus-visible {
    outline: var(--erx-focus-outline);
    outline-offset: var(--erx-focus-outline-offset);
}

.wh_top_menu ul ul {
    background-color: var(--erx-ink-2);
}

.wh_top_menu:not(.activated-on-click) ul:hover li,
.wh_top_menu:not(.activated-on-click) ul li:hover {
    transition: none;
}

.wh_top_menu:not(.activated-on-click) ul li {
    transition: background-color 0.15s 0.05s;
}

.wh_top_menu ul li:hover,
.wh_top_menu.activated-on-click ul li.active {
    background-color: var(--erx-color-light-surface);
}

.wh_top_menu ul ul li {
    width: 270px;
    border-top-color: var(--erx-color-light-divider);
    text-transform: none;
}

.wh_top_menu ul ul li a {
    color: var(--erx-color-white);
}

.wh_indexterms_link a span {
    display: none;
}

.wh_indexterms_link a:before {
    color: var(--erx-color-white);
}

.logout-button {
    background-color: var(--erx-accent);
    border-radius: var(--radius-sm);
    margin-left: 1rem;
    padding: 0.65rem 1rem;
    text-align: center;
    display: inline-block;
    color: var(--erx-color-white);
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    line-height: 1.2;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
}

.logout-button > a,
.logout-button > a:visited {
    color: var(--erx-color-white) !important;
    text-decoration: none;
}

.logout-button:hover {
    background-color: var(--erx-accent-dark);
}

/* ==============================================
   Top navigation hamburger
   Keep scoped to the WebHelp header only.
   Do not target topic TOC toggles.
   ============================================== */

.wh_header .navbar-toggler,
.wh_header .custom-toggler {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 6px;
    border: 1px solid var(--erx-color-ink-2, #0C312D) !important;
    border-radius: 8px;
    color: var(--erx-color-ink-2, #0C312D) !important;
    background: transparent !important;
    box-shadow: none;
}

.wh_header .navbar-toggler:focus,
.wh_header .custom-toggler:focus {
    outline: var(--erx-focus-outline);
    outline-offset: var(--erx-focus-outline-offset);
    box-shadow: none;
}

.wh_header .navbar-toggler-icon,
.wh_header .custom-toggler .navbar-toggler-icon {
    width: 20px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    background-image: 
    linear-gradient(var(--erx-color-ink-2, #0C312D), var(--erx-color-ink-2, #0C312D)), 
linear-gradient(var(--erx-color-ink-2, #0C312D), var(--erx-color-ink-2, #0C312D)), 
linear-gradient(var(--erx-color-ink-2, #0C312D), var(--erx-color-ink-2, #0C312D)) !important;
    background-size: 20px 2px, 20px 2px, 20px 2px;
    background-position: center 1px, center 7px, center 13px;
    background-repeat: no-repeat;
}

/* ==============================================
   Topic TOC hamburger visual styling only
   Does not control topic TOC display/collapse behavior.
   ============================================== */

.wh_publication_toc button,
.wh_publication_toc .navbar-toggler,
.wh_publication_toc .navbar-toggle,
.wh_publication_toc .wh_toggle_button,
.wh_publication_toc .wh_menu_button,
.wh_tools .wh_toggle_button,
.wh_tools .wh_menu_button,
.wh_tools .navbar-toggle {
    color: var(--erx-color-ink-2, #0C312D) !important;
    border-color: var(--erx-color-ink-2, #0C312D) !important;
}

.wh_publication_toc .icon-bar,
.wh_tools .icon-bar,
.wh_toggle_button .icon-bar,
.wh_menu_button .icon-bar,
.navbar-toggle .icon-bar {
    background-color: var(--erx-color-ink-2, #0C312D) !important;
}

.wh_publication_toc .navbar-toggler-icon,
.wh_tools .navbar-toggler-icon {
    background-image: 
    linear-gradient(var(--erx-color-ink-2, #0C312D), var(--erx-color-ink-2, #0C312D)), 
linear-gradient(var(--erx-color-ink-2, #0C312D), var(--erx-color-ink-2, #0C312D)), 
linear-gradient(var(--erx-color-ink-2, #0C312D), var(--erx-color-ink-2, #0C312D)) !important;
    background-size: 20px 2px, 20px 2px, 20px 2px;
    background-position: center 1px, center 7px, center 13px;
    background-repeat: no-repeat;
}


/* --------------------
   Search area
   -------------------- */

.wh_search_input,
.wh_main_page .wh_search_input {
    padding: 60px 40px;
    background-color: hsla(var(--awb-color4-h), var(--awb-color4-s), calc(var(--awb-color4-l) - 25%), var(--awb-color4-a));
    background-image: url("../svgs/erx-dark-background-element.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
}

.wh_welcome:not(:empty) {
    display: none;
}

.wh_search_results_for {
    font-size: var(--text-base);
    margin-top: 0.5rem;
}

#searchForm,
#searchForm .wh_search_input,
#searchForm > div,
#searchForm fieldset {
    overflow: visible;
}

#searchForm > div {
    display: flex;
    align-items: stretch;
    width: min(720px, 100%);
    margin: 0 auto;
}

.wh_search_textfield {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 2.75rem;
    padding: 0 0.95rem;
    border: 1px solid hsla(var(--awb-color4-h), var(--awb-color4-s), calc(var(--awb-color4-l) - 25%), var(--awb-color4-a));
    border-right: 0;
    border-radius: var(--radius-sm);
    background: var(--erx-color-white);
    color: var(--erx-ink);
    box-shadow: none;
}

.wh_search_textfield::placeholder {
    color: var(--erx-color-text-placeholder);
    font-size: var(--text-sm);
}

.wh_search_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.9rem;
    height: 2.75rem;
    min-width: 2.9rem;
    padding: 0;
    border: 1px solid hsla(var(--awb-color4-h), var(--awb-color4-s), calc(var(--awb-color4-l) - 25%), var(--awb-color4-a));
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--erx-color-white);
    background-color: var(--erx-accent);
    font-weight: 700;
}

.wh_search_button:hover,
.wh_search_button:focus {
    background-color: var(--erx-accent-dark);
    border-color: var(--erx-accent-dark);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.search-autocomplete-proposal-type-history a,
.search-autocomplete-proposal-type-history a:hover,
.search-autocomplete-proposal-type-history a:visited,
.search-autocomplete-proposal-type-history a:active {
    text-decoration: none;
    color: inherit;
    font-size: var(--text-sm);
}

.ui-state-active .search-autocomplete-proposal-type-history a,
.ui-state-active .search-autocomplete-proposal-type-history a:hover,
.ui-state-active .search-autocomplete-proposal-type-history a:visited,
.ui-state-active .search-autocomplete-proposal-type-history a:active {
    color: var(--erx-color-white);
}

/* --------------------
   Breadcrumb + tools
   -------------------- */

.wh_tools {
    background-color: transparent;
    margin: 1rem 0 1.5rem;
    border-bottom: 1px dashed var(--erx-color-border-light);
}

.wh_breadcrumb ol {
    color: var(--erx-text-muted);
}

.wh_breadcrumb ol a {
    color: var(--erx-nav-structural-link-color);
}

.wh_breadcrumb ol a:hover,
.wh_breadcrumb ol a:focus {
    color: var(--erx-brand);
}

.wh_breadcrumb ol .active {
    color: var(--erx-nav-structural-link-color);
    font-weight: 600;
}

.wh_breadcrumb > ol > li > div.topicref.navtitle {
    font-weight: 400;
}

.wh_breadcrumb li:not(:last-of-type):after {
    content: ">";
    padding: 0 5px;
}

span.home {
    color: var(--erx-text) !important;
    font-weight: 500;
}

span.home:before {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    content: "\f015";
    display: inline-block;
    margin-right: 0.4em;
    vertical-align: baseline;
}

.webhelp_expand_collapse_sections,
.wh_hide_highlight,
.wh_print_link button,
.oxy-icon-pdf-link,
.wh_navigation_links a,
.wh_navigation_links a:active,
.wh_navigation_links a:visited,
.wh_print_link a:before,
.wh_navigation_links a:before,
.wh_navigation_links a:active:before,
.wh_navigation_links a:visited:before {
    color: var(--erx-nav-structural-link-color);
    text-decoration: none;
}

.webhelp_expand_collapse_sections:hover,
.webhelp_expand_collapse_sections:focus,
.wh_hide_highlight:hover,
.wh_hide_highlight:focus,
.wh_print_link button:hover,
.wh_print_link button:focus,
.oxy-icon-pdf-link:hover,
.oxy-icon-pdf-link:focus,
.wh_navigation_links a:hover,
.wh_navigation_links a:focus,
.wh_print_link a:hover:before,
.wh_print_link a:focus:before,
.wh_navigation_links a:hover:before,
.wh_navigation_links a:focus:before {
    color: var(--erx-brand);
    text-decoration: none;
}

/* --------------------
   Main content shell
   -------------------- */

.wh_topic_content,
.wh_content_area {
    color: var(--erx-text);
    line-height: var(--line-body);
}

.wh_content_area {
    min-height: unset;
}

.wh_main_page .wh_content_area {
    margin: 0;
}

.wh_topic_content .title.topictitle1 {
    font-size: 2rem;
    line-height: 1.15;
    color: var(--erx-ink);
}

.topictitle3,
.topictitle4,
.topictitle5,
.topictitle6 {
    font-weight: 600;
}

.wh_topic_content p,
.wh_topic_content li,
.wh_topic_content ul,
.wh_topic_content ol,
.wh_topic_content td,
.wh_topic_content th {
    font-size: var(--text-base);
}

.wh_topic_content p.heading2,
.heading2 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-sans);
    color: var(--erx-ink);
    margin: 1.25rem 0 0.75rem;
}

.wh_topic_content
.heading3,
.tableheading,
.smallheading,
.heading1 {
    font-family: var(--font-sans);
    color: var(--erx-body-link-color);
    margin: 1rem 0 0.65rem;
}

.heading1 {
    font-size: 1.75rem;
    font-weight: 800;
}

.heading3,
p.heading3,
.tableheading {
    font-size: 1.25rem;
    font-weight: 500;
}

.smallheading {
    font-size: 1.125rem;
    font-weight: 700;
}

.related-links a,
.related-links a:visited {
    color: var(--erx-body-link-color);
}

.related-links a:hover,
.related-links a:focus {
    color: var(--erx-body-link-hover-color);
}

.wh_related_links .related-links,
.wh_topic_content .related-links,
.wh_child_links {
    border-top: 1px solid var(--erx-color-border-light);
    padding-top: 0.5rem;
    margin-top: 0;
}

.wh_related_links .related-links,
.wh_topic_content .related-links {
    padding: 0.5rem 1.25rem;
}

.wh_child_links {
    padding: 1.25rem;
}

.filepath {
    color: var(--erx-accent-dark);
}

/* --------------------
   Publication TOC
   -------------------- */

.wh_publication_toc {
    border-radius: 0;
    padding: 1.25rem 0.75rem;
    background-color: var(--erx-brand-soft) !important;
    scrollbar-width: thin;
    scrollbar-color: #ccd9db var(--erx-color-white);
}

.wh_publication_toc .active > .topicref a {
    color: var(--erx-nav-structural-link-color);
    font-weight: 600;
}

.wh_publication_toc div,
.wh_publication_toc a,
.wh_publication_toc a:visited {
    color: var(--erx-nav-structural-link-color);
}

.wh_publication_toc a:hover,
.wh_publication_toc a:focus {
    color: var(--erx-brand);
    text-decoration: underline;
}

.wh_publication_toc a:focus-visible {
    outline: var(--erx-focus-outline);
    outline-offset: var(--erx-focus-outline-offset);
}

.wh_publication_toc ul li,
#wh_topic_toc ul li {
    margin-top: 0.7em;
}

.navtitle {
    font-weight: 700;
}

.wh_breadcrumb .topicref .wh-tooltip,
.wh-toc-tooltip {
    display: none;
}

#wh_topic_toc {
    font-weight: 400;
}

.wh_topic_toc {
    border-left: 1px dashed var(--erx-color-border-light);
}

/* --------------------
   Search results
   -------------------- */

.searchresult {
    list-style: none;
}

.searchresult li a {
    color: var(--erx-body-link-color);
    font-size: 1.2rem;
    font-family: var(--font-sans);
    font-weight: 700;
}

.searchresult li a:hover,
.searchresult li a:focus {
    color: var(--erx-body-link-hover-color);
}

.searchresult .shortdesclink {
    margin: 0.3em 0.5em 0 0;
}

.wh_search_expression {
    font-weight: 700;
}

.searchresult li .relativePath a {
    color: var(--erx-color-success);
}

.search-breadcrumb li a {
    background: var(--erx-brand-soft);
    color: var(--erx-nav-structural-link-color);
    font-size: var(--text-sm) !important;
}

.search-breadcrumb li a:hover,
.search-breadcrumb li a:focus {
    color: var(--erx-brand);
}

.search-breadcrumb li .title:before,
.search-breadcrumb li .title:after {
    border-color: var(--erx-brand-soft);
}

.search-breadcrumb li .title:before {
    border-left-color: transparent;
}

.search-breadcrumb li .title:after {
    border-color: transparent;
    border-left-color: var(--erx-brand-soft);
}

#wh-search-pagination > ul > li.active > a,
.page-item.active .page-link {
    background-color: var(--erx-brand);
    border-color: var(--erx-brand);
    color: var(--erx-color-white);
}

.page-link {
    background-color: var(--erx-color-white);
    border: 1px solid var(--erx-separator);
    color: var(--erx-brand);
}

a.page-link:hover,
a.page-link:active {
    color: var(--erx-brand-dark);
}

.ui-button.ui-state-active:hover,
.ui-button:active,
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active {
    background: var(--erx-brand);
    border: 1px solid var(--erx-brand-dark);
    color: var(--erx-color-white);
    font-weight: 400;
}

/* --------------------
   Index terms
   -------------------- */

.wh_index_terms span.wh_first_letter {
    color: var(--erx-brand);
}

.wh_index_terms #indexList {
    padding: 0;
}

/* --------------------
   Footer
   -------------------- */

.wh_footer,
.wh_footer.navbar,
footer.wh_footer,
footer.portal-footer {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    max-width: none !important;
    background: var(--erx-ink) !important;
    background-color: var(--erx-ink) !important;
    color: var(--erx-color-white);
    border: 0 !important;
    box-shadow: none !important;
    text-align: left;
    position: relative;
}

.wh_footer::before,
.wh_footer::after,
footer.portal-footer::before,
footer.portal-footer::after {
    content: none !important;
}

.portal-footer {
    background: var(--erx-ink) !important;
    background-color: var(--erx-ink) !important;
    color: var(--erx-color-white);
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.portal-footer > .portal-shell,
.portal-footer__inner,
.portal-footer__brand,
.portal-footer__links,
.portal-footer__group,
.portal-footer .container,
.portal-footer .container-fluid,
.wh_footer .container,
.wh_footer .container-fluid {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.portal-footer__inner {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.2fr);
    gap: 2rem;
    align-items: start;
    padding: 3rem 0 2.5rem;
}

.portal-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.portal-footer__brand .footer-logo {
    max-width: 170px;
    height: auto;
}

.portal-footer__brand > :first-child,
.portal-footer__links > :first-child,
.portal-footer__group > :first-child {
    margin-top: 0 !important;
}

.portal-footer__copyright {
    margin: 0;
    color: var(--erx-text-light);
}

.portal-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 1.5rem;
}

.portal-footer__heading {
    margin: 0 0 0.75rem;
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--erx-color-white);
}

.portal-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.portal-footer__list li {
    margin: 0 0 0.5rem;
}

.portal-footer__list a,
.portal-footer__list a:visited,
.wh_footer a,
.wh_footer a:visited {
    color: var(--erx-footer-link-color);
    text-decoration: none;
}

.portal-footer__list a:hover,
.portal-footer__list a:focus,
.wh_footer a:hover,
.wh_footer a:focus {
    color: var(--erx-footer-link-hover-color);
    text-decoration: underline;
}

.portal-footer__list a:focus-visible,
.wh_footer a:focus-visible {
    outline: var(--erx-focus-outline);
    outline-offset: var(--erx-focus-outline-offset);
}

.wh_footer .row,
.wh_footer .col,
.wh_footer [class *= "col-"] {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: transparent !important;
}

/* --------------------
   Topic extras
   -------------------- */

ol.number-alpha {
    list-style-type: upper-alpha;
}

.figdesc {
    font-style: italic;
    font-weight: 700;
}

.screenshot-figure,
.screenshot-figure2,
.screenshot-figure3,
.screenshot-figure4 {
    background: var(--erx-color-white);
    border: 1px solid var(--erx-color-border-light);
}

.screenshot-figure {
    margin: 0 0 2rem;
}

.screenshot-figure2,
.screenshot-figure3 {
    margin: 0.9rem 0;
}

.screenshot-figure4 {
    margin: 0;
}

#go2top {
    background-color: var(--erx-accent);
}

#go2top:hover,
#go2top:focus {
    background-color: var(--erx-accent-dark);
}

#loading {
    font-size: 0;
    position: fixed;
    width: 100%;
    height: 100vh;
    background: var(--erx-color-white) url('../img/dual-ring-loader.gif') no-repeat center center;
    background-size: 70px;
    z-index: 9999;
}

div.note {
    background-image: url('../resources/svgs/oxygenxml/note.svg');
    background-repeat: no-repeat;
}

div.warning {
    background-image: url('../resources/svgs/oxygenxml/warning.svg');
}

div.caution {
    background-image: url('../resources/svgs/oxygenxml/caution.svg');
}

div.trouble {
    background-image: url('../resources/svgs/oxygenxml/troubleshooting.svg');
}

div.important {
    background-image: url('../resources/svgs/oxygenxml/important.svg');
}

div.attention {
    background-image: url('../resources/svgs/oxygenxml/attention.svg');
}

div.notice {
    background-image: url('../resources/svgs/oxygenxml/notice.svg');
}

div.remember {
    background-image: url('../resources/svgs/oxygenxml/remember.svg');
}

div.fastpath {
    background-image: url('../resources/svgs/oxygenxml/fastpath.svg');
}

div.restriction {
    background-image: url('../resources/svgs/oxygenxml/restriction.svg');
}

div.danger {
    background-image: url('../resources/svgs/oxygenxml/danger.svg');
}

div.tip {
    background-image: url('../resources/svgs/oxygenxml/tip.svg');
}

div.note > span.note__title {
    font-weight: 700;
}

[dir = ltr] div.note,
[dir] [dir = ltr] div.note,
[dir] [dir] [dir = ltr] div.note,
[dir] [dir] [dir] [dir = ltr] div.note,
[dir] [dir] [dir] [dir] [dir = ltr] div.note,
[dir] [dir] [dir] [dir] div.note[dir = ltr],
[dir] [dir] [dir] div.note[dir = ltr],
[dir] [dir] div.note[dir = ltr],
[dir] div.note[dir = ltr],
div.note,
div.note[dir = ltr] {
    background-position: 0.5em 0.5em;
    padding: 0.75em 0.5em 0.75em 3em;
}

div.note.note_other {
    background-image: none;
}

.embed-responsive {
    background-color: transparent !important;
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive-item {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.wh_terms_page > header,
.breadcrumb-sticky,
.indexTerms-sticky {
    position: unset;
    z-index: 998;
}

/* --------------------
   Responsive
   -------------------- */

/*@media only screen and (max-width : 1200px) {
    .logout-button {
        margin-top: 1rem;
    }
}*/

@media only screen and (max-width : 1200px) {
    .logout-button {
        margin-top: 0;
        vertical-align: middle;
    }
}

@media only screen and (max-width : 991px) {
    .portal-shell,
    .container {
        width: min(100% - 2.5rem, var(--shell-max));
    }

    .wh_search_input,
    .wh_main_page .wh_search_input {
        padding: 1rem 1.25rem 0.9rem;
    }

    #searchForm > div {
        width: 100%;
    }

    .portal-footer__inner,
    .portal-footer__links {
        grid-template-columns: 1fr;
    }

    .portal-footer__inner {
        padding: 2.65rem 0 2rem;
    }
}


@media only screen and (min-width : 768px) and (max-width : 991px) {
    .wh_publication_toc {
        padding-right: 1rem;
        margin-right: 0.75rem;
        box-sizing: border-box;
    }
}

@media only screen and (max-width : 767px) {
    .portal-shell,
    .container {
        width: min(100% - 2.75rem, var(--shell-max));
    }

    .wh_search_input,
    .wh_main_page .wh_search_input {
        padding: 0.9rem 1rem 0.8rem;
    }

    #searchForm > div {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .wh_search_textfield {
        display: block;
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        border-right: 0;
        border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    }

    .wh_search_button {
        display: inline-flex;
        flex: 0 0 auto;
        width: 2.75rem;
        min-width: 2.75rem;
        border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    }

    .wh_logo_and_publication_title_container {
        align-content: center;
        align-items: center;
        align-self: stretch;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        width: 100%;
    }

    .portal-footer__inner {
        padding: 2.25rem 0 1.65rem;
    }
    .wh_publication_toc {
        border-radius: 0;
        padding: 1rem 1rem 1rem 0.75rem;
        margin-top: 10px;
        margin-right: 0.75rem;
        box-sizing: border-box;
    }

    .wh_related_links,
    .wh_child_links,
    .wh_topic_content .related-links {
        border: 1px solid var(--erx-color-border-neutral);
    }

    .header-sticky {
        position: relative;
    }

    iframe {
        width: 100% !important;
        height: 100% !important;
    }
}

@media (pointer : coarse), (hover : none) {
    [title] {
        position: relative;
        display: inline-flex;
        justify-content: center;
    }

    [title]:focus::after {
        content: attr(title);
        position: absolute;
        top: 90%;
        color: var(--erx-color-black);
        background-color: var(--erx-color-white);
        border: 1px solid;
        width: fit-content;
        padding: 3px;
    }
}

/* --------------------
   Bootstrap / WebHelp overrides
   -------------------- */

.container-fluid {
    max-width: var(--shell-max);
    margin-left: auto;
    margin-right: auto;
}

.webhelp_full_width_link {
    display: none;
}


#go2top {
    color: var(--erx-surface-alt);
}

/* Button Hierarchy */

/* ==============================================
   Button hierarchy
   Primary / Secondary / Ghost
   ============================================== */

.portal-button {
    --button-bg: transparent;
    --button-bg-hover: transparent;
    --button-color: var(--erx-color-white);
    --button-border-color: transparent;
    --button-sweep-color: rgba(0, 0, 0, 0.18);
    --button-chevron-color: currentColor;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    box-sizing: border-box;
    min-height: 42px;
    padding: 18px 42px;
    border: 2px solid var(--button-border-color);
    border-radius: 0;
    background: var(--button-bg);
    color: var(--button-color);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
    transition: 
    color 0.2s ease, 
background-color 0.2s ease, 
background-image 0.2s ease, 
border-color 0.2s ease, 
box-shadow 0.2s ease, 
transform 0.2s ease;
}

.portal-button:visited {
    color: var(--button-color);
}

.portal-button:hover,
.portal-button:focus {
    color: var(--button-color);
    text-decoration: none;
}

.portal-button:focus-visible {
    outline: var(--erx-focus-outline);
    outline-offset: var(--erx-focus-outline-offset);
}

/* Diagonal right-to-left sweep */
.portal-button::before {
    content: "";
    position: absolute;
    top: 0;
    right: -60px;
    width: 0;
    height: 100%;
    background: var(--button-sweep-color);
    transform: skewX(-20deg);
    transform-origin: top right;
    transition: width 0.4s ease;
    z-index: -1;
}

.portal-button:hover::before,
.portal-button:focus::before {
    width: calc(100% + 60px);
}

/* Keep text/icon above sweep */
.portal-button__label,
.portal-button__chevrons {
    position: relative;
    z-index: 1;
}

/* Primary — main CTA */
.portal-button--primary {
    --button-bg: linear-gradient(135deg, var(--erx-accent) 60%, var(--erx-accent-dark) 100%);
    --button-color: var(--erx-color-white);
    --button-border-color: var(--erx-accent);
    --button-sweep-color: rgba(0, 0, 0, 0.18);
}

/* Secondary — light blue */
.portal-button--secondary {
    --button-bg: linear-gradient(135deg, var(--erx-blue-soft) 60%, #9FD0EA 100%);
    --button-color: var(--erx-ink); /* darker text for contrast */
    --button-border-color: var(--erx-blue-soft);
    --button-sweep-color: rgba(0, 0, 0, 0.18);
}

/* Ghost — orange outline */
.portal-button--ghost {
    --button-bg: transparent;
    --button-color: var(--erx-accent);
    --button-border-color: var(--erx-accent);
    --button-sweep-color: rgba(238, 85, 25, 0.08); /* orange tint */
}

.portal-button--ghost:hover,
.portal-button--ghost:focus {
    --button-color: var(--erx-accent-dark);
    --button-border-color: var(--erx-accent-dark);
}

/* CSS-drawn double chevron */
.portal-button__chevrons {
    display: inline-flex;
    align-items: center;
    /*gap: 1px;*/
}

.portal-button__chevron {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--button-chevron-color);
    border-top: 2px solid var(--button-chevron-color);
    transform: rotate(45deg);
}

/* Optional disabled state */
.portal-button[aria-disabled = "true"],
.portal-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    /*pointer-events: none;*/
}

/* Respect reduced motion */
@media (prefers-reduced-motion : reduce) {
    .portal-button,
    .portal-button::before {
        transition: none;
    }
}

/* ==============================================
   WebHelp Responsive homepage tiles
   Card treatment for Oxygen generated .wh_tiles
   Uses Enrollment Rx template color tokens
   ============================================== */

:root {
    --erx-home-tile-max: 1200px;
    --erx-home-tile-gap-x: 1.35rem;
    --erx-home-tile-gap-y: 1.05rem;
    --erx-home-tile-page-bg: var(--erx-brand-soft-2, #F7FBFD);
    --erx-home-tile-bg: var(--erx-surface, #FFFFFF);
    --erx-home-tile-border: var(--erx-color-border, #DCEBED);
    --erx-home-tile-border-hover: var(--erx-brand, #259789);
    --erx-home-tile-title: var(--erx-ink, #08221F);
    --erx-home-tile-text: var(--erx-text-muted, #5B6F6C);
    --erx-home-tile-icon: var(--erx-accent, #EE5519);
    --erx-home-tile-icon-hover: var(--erx-brand, #259789);
    --erx-home-tile-arrow-bg: var(--erx-color-white, #FFFFFF);
    --erx-home-tile-arrow-border: rgba(37, 151, 137, 0.35);
    --erx-home-tile-arrow-size: 1.6rem;
    --erx-home-tile-shadow-hover: 0 10px 26px rgba(8, 34, 31, 0.08);
}

.wh_main_page .wh_content_area {
    background-color: var(--erx-home-tile-page-bg);
}

body:not(.wh_main_page) .wh_content_area,
.wh_topic_page .wh_content_area,
.wh_topic_page .wh_topic_content {
    background-color: var(--erx-bg, #FFFFFF);
}

.wh_content_area .wh_content_flex_container {
    width: min(var(--erx-home-tile-max), calc(100% - 3rem));
    max-width: var(--erx-home-tile-max);
    margin: 0 auto;
    padding: 1.5rem 0 4rem;
}

.wh_content_area .wh_tiles {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: var(--erx-home-tile-gap-y) var(--erx-home-tile-gap-x) !important;
    width: 100% !important;
    max-width: var(--erx-home-tile-max) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    clear: both;
}

.wh_content_area .wh_tile {
    position: relative;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 9.6rem;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    text-align: center;
    background: var(--erx-home-tile-bg) !important;
    border: 1px solid var(--erx-home-tile-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wh_content_area .wh_tile > div {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 100%;
    padding: 2.05rem 1.5rem 1.45rem;
}

.wh_content_area .wh_tile:hover,
.wh_content_area .wh_tile:focus-within {
    border-color: var(--erx-home-tile-border-hover) !important;
    box-shadow: var(--erx-home-tile-shadow-hover) !important;
    transform: translateY(-2px);
}

.wh_content_area .wh_tile_image {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.85rem !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.wh_content_area .wh_tile_image img,
.wh_content_area .wh_tile_image svg {
    display: block;
    width: 1.75rem !important;
    height: 1.75rem !important;
    max-width: 1.75rem !important;
    max-height: 1.75rem !important;
    object-fit: contain;
}

/* SVG icons are loaded as img elements in the generated WebHelp output, so this filter tints them to the ERX orange token by default. */
.wh_content_area .wh_tile_image img {
    filter: brightness(0) saturate(100%) invert(43%) sepia(97%) saturate(1809%) hue-rotate(353deg) brightness(96%) contrast(94%);
}

/* On hover/focus, SVG icons switch to the ERX teal token. */
.wh_content_area .wh_tile:hover .wh_tile_image img,
.wh_content_area .wh_tile:focus-within .wh_tile_image img {
    filter: brightness(0) saturate(100%) invert(45%) sepia(35%) saturate(873%) hue-rotate(124deg) brightness(93%) contrast(88%);
}

.wh_content_area .wh_tile_text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.wh_content_area .wh_tile_title {
    margin: 0 0 0.7rem !important;
    padding: 0 !important;
    font-family: var(--font-sans);
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: var(--erx-home-tile-title) !important;
}

.wh_content_area .wh_tile_title .topicref,
.wh_content_area .wh_tile_title a,
.wh_content_area .wh_tile_title a:visited {
    color: var(--erx-home-tile-title) !important;
    font: inherit !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
}

.wh_content_area .wh_tile_title a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.wh_content_area .wh_tile_shortdesc {
    max-width: 17.5rem;
    margin: 0 auto !important;
    padding: 0 !important;
    color: var(--erx-home-tile-text) !important;
    font-size: 0.83rem !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

.wh_content_area .wh_tile_title a::after {
    content: "\203A";
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--erx-home-tile-arrow-size);
    height: var(--erx-home-tile-arrow-size);
    margin: 1rem auto 0;
    color: var(--erx-home-tile-icon);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    background: var(--erx-home-tile-arrow-bg);
    border: 1px solid var(--erx-home-tile-arrow-border);
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(37, 151, 137, 0.12);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wh_content_area .wh_tile:hover .wh_tile_title a::after,
.wh_content_area .wh_tile:focus-within .wh_tile_title a::after {
    color: var(--erx-color-white, #FFFFFF);
    background: var(--erx-home-tile-icon-hover);
    border-color: var(--erx-home-tile-icon-hover);
    transform: translateX(1px);
}

.wh_content_area .wh_tile_title a:focus-visible::before {
    outline: var(--erx-focus-outline);
    outline-offset: -4px;
}

@media only screen and (max-width: 1024px) {
    .wh_content_area .wh_content_flex_container {
        width: min(100% - 2.5rem, var(--erx-home-tile-max));
    }

    .wh_content_area .wh_tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media only screen and (max-width: 640px) {
    .wh_content_area .wh_content_flex_container {
        width: min(100% - 2rem, var(--erx-home-tile-max));
        padding: 2rem 0 3rem;
    }

    .wh_content_area .wh_tiles {
        grid-template-columns: 1fr !important;
    }

    .wh_content_area .wh_tile {
        min-height: 9rem;
    }

    .wh_content_area .wh_tile > div {
        padding: 1.8rem 1.25rem 1.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wh_content_area .wh_tile,
    .wh_content_area .wh_tile_image img,
    .wh_content_area .wh_tile_title a::after {
        transition: none;
    }

    .wh_content_area .wh_tile:hover,
    .wh_content_area .wh_tile:focus-within {
        transform: none;
    }
 }

/* ==============================================
   IMAGE LIGHTBOX / MODAL BACKDROP FIX
   Safe Oxygen WebHelp override
   ============================================== */

/* Restore dark backdrop when Oxygen/Bootstrap creates it */
.modal-backdrop,
.modal-backdrop.show,
.modal-backdrop.in {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    background-color: rgba(8, 34, 31, 0.88) !important;
    opacity: 1 !important;
    z-index: 1040 !important;
}

/* Keep the modal above the backdrop without forcing display */
.modal {
    z-index: 1050 !important;
}

/* Keep zoomed image opaque */
#modal_img_large {
    opacity: 1 !important;
    background-color: var(--erx-color-ink, #08221F);
}

/* Make close button visible */
.modal .close,
.modal button.close {
    color: #fff !important;
    opacity: 1 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    z-index: 1060 !important;
}

/* Link underline offset */
a {
    text-underline-offset: 0.3em; /* Adds breathing room below the text */
}

/* ==============================================
   Mobile Header Cleanup v6
   ============================================== */

.mobile-utility-links,
.logout-button--mobile {
    display: none !important;
}

@media only screen and (max-width: 767px) {

    body .erx-topnav {
        display: none !important;
    }

    body .wh_header .logout-button.logout-button--desktop {
        display: none !important;
    }

    body .wh_header #wh_top_menu_and_indexterms_link .mobile-utility-links {
        display: block !important;
        margin-top: 1rem;
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
        /*border-top: 1px solid var(--erx-color-border-light);*/
        border-bottom: 1px solid var(--erx-color-border-light);
    }

    body .wh_header #wh_top_menu_and_indexterms_link .mobile-utility-link,
    body .wh_header #wh_top_menu_and_indexterms_link .mobile-utility-link:visited {
        display: block;
        padding: 0.45rem 0;
        color: var(--erx-ink);
        text-decoration: none;
        font-size: var(--topnav-font-size);
        font-weight: 600;
        line-height: 1.4;
    }

    body .wh_header #wh_top_menu_and_indexterms_link .mobile-utility-link:hover,
    body .wh_header #wh_top_menu_and_indexterms_link .mobile-utility-link:focus {
        color: var(--erx-accent);
        text-decoration: none;
    }

    body .wh_header #wh_top_menu_and_indexterms_link .logout-button.logout-button--mobile {
        display: block !important;
        width: 100%;
        margin: 1rem 0 0;
        padding: 0.75rem 1rem;
        box-sizing: border-box;
        background-color: var(--erx-accent);
        color: var(--erx-color-white);
        text-align: center;
    }

    body .wh_header #wh_top_menu_and_indexterms_link .logout-button.logout-button--mobile > a,
    body .wh_header #wh_top_menu_and_indexterms_link .logout-button.logout-button--mobile > a:visited {
        color: var(--erx-color-white) !important;
        text-decoration: none;
    }

    body .wh_header #wh_top_menu_and_indexterms_link .logout-button.logout-button--mobile:hover,
    body .wh_header #wh_top_menu_and_indexterms_link .logout-button.logout-button--mobile:focus-within {
        background-color: var(--erx-accent-dark);
    }

    .wh_header {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    }

    .wh_logo_and_publication_title_container {
        min-height: 72px;
        padding: 0.5rem 1rem;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        width: 100%;
    }

    .wh_logo_and_publication_title {
        flex: 1 1 auto;
        min-width: 0;
    }

    .wh_header .navbar-toggler {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
    }

    .wh_logo img {
        max-height: 40px;
        width: auto;
    }
}
/* ==============================================
   Mobile publication TOC toggle refinement
   ============================================== */

@media only screen and (max-width: 767px) {

    .wh_tools {
        margin: 0;
        padding: 0.65rem 1rem 0.75rem;
        border-bottom: 1px dashed var(--erx-color-border-light);
    }

    #wh_toc_button {
        width: auto;
        min-width: 0;
        height: auto;
        min-height: 0;
        padding: 0.35rem 0.6rem;
        margin-top: 0.7rem;
        border: 1px solid var(--erx-color-border-light) !important;
        border-radius: var(--radius-sm);
        background: var(--erx-brand-soft-2) !important;
        color: var(--erx-ink-2) !important;
        font-size: var(--text-xs);
        font-weight: 700;
        line-height: 1.2;
    }

    #wh_toc_button::after {
        content: " Section Menu";
        margin-left: 0.35rem;
    }

    #wh_toc_button .navbar-toggler-icon {
        width: 16px;
        height: 12px;
        background-size: 16px 1.5px, 16px 1.5px, 16px 1.5px;
        background-position: center 1px, center 6px, center 11px;
    }

    .wh_publication_toc {
        margin-top: 0;
        margin-right: 0;
        padding: 1rem;
        border-radius: 0;
        border-top: 1px solid var(--erx-color-border-light);
    }
}

/* ==============================================
   Search autocomplete dropdown fix
   ============================================== */

.ui-autocomplete,
.search-autocomplete {
    background-color: var(--erx-color-white) !important;
    border: 1px solid var(--erx-color-border-light) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    z-index: 2000 !important;
}

.ui-autocomplete .ui-menu-item,
.search-autocomplete .ui-menu-item {
    background-color: var(--erx-color-white) !important;
}

.ui-autocomplete .ui-menu-item-wrapper,
.ui-autocomplete .ui-menu-item a,
.search-autocomplete .ui-menu-item-wrapper,
.search-autocomplete .ui-menu-item a {
    display: block;
    padding: 0.55rem 0.85rem;
    color: var(--erx-ink) !important;
    text-decoration: none;
    font-size: var(--text-sm);
}

.ui-autocomplete .ui-state-active,
.ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
.search-autocomplete .ui-state-active {
    background-color: var(--erx-brand) !important;
    border-color: var(--erx-brand-dark) !important;
    color: var(--erx-color-white) !important;
}

/* ==============================================
   Homepage tile refinement: orange interaction system
   Resting: dark orange accents. Hover/focus: bright orange accents.
   Intended to pair with ink-accent promotional cards.
   ============================================== */

:root {
    --erx-home-tile-border-hover: var(--erx-accent, #EE5519);
    --erx-home-tile-icon: var(--erx-accent-dark, #D14610);
    --erx-home-tile-icon-hover: var(--erx-accent, #EE5519);
    --erx-home-tile-icon-bg: rgba(209, 70, 16, 0.085);
    --erx-home-tile-icon-bg-hover: rgba(238, 85, 25, 0.14);
    --erx-home-tile-arrow-border: rgba(209, 70, 16, 0.32);
    --erx-home-tile-arrow-border-hover: var(--erx-accent, #EE5519);
    --erx-home-tile-shadow-hover-strong: 0 12px 28px rgba(238, 85, 25, 0.12), 0 4px 12px rgba(8, 34, 31, 0.06);
    --erx-home-tile-accent-glow: rgba(238, 85, 25, 0.10);
}

.wh_content_area .wh_tiles {
    gap: var(--erx-home-tile-gap-y, 1.25rem) var(--erx-home-tile-gap-x, 1.4rem) !important;
}

.wh_content_area .wh_tile {
    min-height: 9.6rem;
    border-color: var(--erx-home-tile-border, #DCEBED) !important;
    border-radius: var(--radius-lg, 8px) !important;
    box-shadow: 0 2px 8px rgba(8, 34, 31, 0.035) !important;
    isolation: isolate;
}

.wh_content_area .wh_tile::before {
    content: "" !important;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 3px;
    background: var(--erx-accent, #EE5519);
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0.95;
    transition: transform 0.22s ease;
    pointer-events: none;
}

.wh_content_area .wh_tile:hover::before,
.wh_content_area .wh_tile:focus-within::before {
    transform: scaleX(1);
}

.wh_content_area .wh_tile::after {
    content: "";
    position: absolute;
    inset: auto -20% -45% -20%;
    height: 70%;
    background: radial-gradient(circle, var(--erx-home-tile-accent-glow), transparent 68%);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 0;
}

.wh_content_area .wh_tile > div {
    position: relative;
    z-index: 1;
    padding: 1.7rem 1.35rem 1.25rem;
}

.wh_content_area .wh_tile:hover,
.wh_content_area .wh_tile:focus-within {
    border-color: var(--erx-home-tile-border-hover, #EE5519) !important;
    box-shadow: var(--erx-home-tile-shadow-hover-strong) !important;
    transform: translateY(-2px);
}

.wh_content_area .wh_tile:hover::after,
.wh_content_area .wh_tile:focus-within::after {
    opacity: 1;
}

.wh_content_area .wh_tile_image {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.75rem !important;
    border: 1px solid rgba(209, 70, 16, 0.12) !important;
    border-radius: 999px;
    background: var(--erx-home-tile-icon-bg) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wh_content_area .wh_tile_image img,
.wh_content_area .wh_tile_image svg {
    width: 1.85rem !important;
    height: 1.85rem !important;
    max-width: 1.85rem !important;
    max-height: 1.85rem !important;
}

.wh_content_area .wh_tile_image img {
    filter: brightness(0) saturate(100%) invert(31%) sepia(88%) saturate(2025%) hue-rotate(359deg) brightness(88%) contrast(93%) !important;
}

.wh_content_area .wh_tile:hover .wh_tile_image,
.wh_content_area .wh_tile:focus-within .wh_tile_image {
    background: var(--erx-home-tile-icon-bg-hover) !important;
    border-color: rgba(238, 85, 25, 0.24) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 4px 12px rgba(238, 85, 25, 0.10);
    transform: scale(1.04);
}

.wh_content_area .wh_tile:hover .wh_tile_image img,
.wh_content_area .wh_tile:focus-within .wh_tile_image img {
    filter: brightness(0) saturate(100%) invert(43%) sepia(97%) saturate(1809%) hue-rotate(353deg) brightness(96%) contrast(94%) !important;
}

.wh_content_area .wh_tile_title {
    margin-bottom: 0.45rem !important;
    font-size: 1rem !important;
    letter-spacing: -0.01em;
}

.wh_content_area .wh_tile_shortdesc {
    font-size: 0.82rem !important;
    line-height: 1.42 !important;
}

.wh_content_area .wh_tile_title a::after {
    margin-top: 0.72rem;
    color: var(--erx-accent-dark, #D14610) !important;
    border-color: var(--erx-home-tile-arrow-border) !important;
    background: var(--erx-color-white, #FFFFFF) !important;
    box-shadow: 0 3px 8px rgba(209, 70, 16, 0.10);
}

.wh_content_area .wh_tile:hover .wh_tile_title a::after,
.wh_content_area .wh_tile:focus-within .wh_tile_title a::after {
    color: var(--erx-color-white, #FFFFFF) !important;
    background: var(--erx-accent, #EE5519) !important;
    border-color: var(--erx-home-tile-arrow-border-hover) !important;
    transform: translateX(1px);
}

@media only screen and (max-width: 640px) {
    .wh_content_area .wh_tiles {
        gap: 1rem !important;
    }

    .wh_content_area .wh_tile {
        min-height: 9rem;
    }

    .wh_content_area .wh_tile > div {
        padding: 1.5rem 1.15rem 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wh_content_area .wh_tile::after,
    .wh_content_area .wh_tile_image {
        transition: none;
    }
}


/* ==============================================
   User Guide mobile utility menu fix v2
   - Desktop/tablet: keep navbar-top utility links and JS-injected desktop logout.
   - Mobile: hide navbar-top and expose Contact Us, Support Login, and Log Out
     in a small header menu toggled by the injected mobile button.
   ============================================== */

.erx-mobile-menu-toggle {
    display: none !important;
}

@media only screen and (min-width: 768px) {
    body .erx-topnav {
        display: block !important;
    }

    body .wh_header .logout-button.logout-button--desktop {
        display: inline-block !important;
    }

    body .wh_header .erx-mobile-menu-toggle,
    body .wh_header .mobile-utility-links,
    body .wh_header .logout-button.logout-button--mobile {
        display: none !important;
    }
}

@media only screen and (max-width: 767px) {
    body .erx-topnav {
        display: none !important;
    }

    body .wh_header .logout-button.logout-button--desktop {
        display: none !important;
    }

    body .wh_header {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    }

    body .wh_header .wh_header_flex_container {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    body .wh_header .wh_logo_and_publication_title_container {
        display: flex !important;
        flex: 1 1 100%;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100%;
        min-height: 72px;
        padding: 0.5rem 1rem;
        box-sizing: border-box;
    }

    body .wh_header .wh_logo_and_publication_title {
        flex: 1 1 auto;
        min-width: 0;
    }

    body .wh_header .wh_logo img,
    body .wh_header .RNhome {
        max-height: 40px;
        width: auto;
    }

    body .wh_header .erx-mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        padding: 0;
        margin-left: 0.75rem;
        border: 1px solid var(--erx-color-ink-2, #0C312D) !important;
        border-radius: 8px;
        color: var(--erx-color-ink-2, #0C312D) !important;
        background: transparent !important;
        box-shadow: none !important;
        cursor: pointer;
    }

    body .wh_header .erx-mobile-menu-toggle:focus-visible {
        outline: var(--erx-focus-outline);
        outline-offset: var(--erx-focus-outline-offset);
    }

    body .wh_header .erx-mobile-menu-toggle .navbar-toggler-icon {
        display: inline-block;
        width: 20px;
        height: 16px;
        background-image:
            linear-gradient(var(--erx-color-ink-2, #0C312D), var(--erx-color-ink-2, #0C312D)),
            linear-gradient(var(--erx-color-ink-2, #0C312D), var(--erx-color-ink-2, #0C312D)),
            linear-gradient(var(--erx-color-ink-2, #0C312D), var(--erx-color-ink-2, #0C312D)) !important;
        background-size: 20px 2px, 20px 2px, 20px 2px;
        background-position: center 1px, center 7px, center 13px;
        background-repeat: no-repeat;
    }

    body .wh_header #wh_top_menu_and_indexterms_link {
        display: none !important;
        flex: 1 1 100%;
        width: 100%;
        padding: 0.9rem 1rem 1rem;
        margin: 0;
        box-sizing: border-box;
        background: var(--erx-color-white, #FFFFFF);
        border-top: 1px solid var(--erx-color-border-light, #E4EEF0);
    }

    body .wh_header #wh_top_menu_and_indexterms_link.show,
    body .wh_header #wh_top_menu_and_indexterms_link.erx-mobile-menu-open {
        display: block !important;
    }

    body .wh_header #wh_top_menu_and_indexterms_link .wh_indexterms_link {
        display: none !important;
    }

    body .wh_header #wh_top_menu_and_indexterms_link .mobile-utility-links {
        display: block !important;
        margin: 0;
        padding: 0 0 0.85rem;
        border-bottom: 1px solid var(--erx-color-border-light, #E4EEF0);
    }

    body .wh_header #wh_top_menu_and_indexterms_link .mobile-utility-link,
    body .wh_header #wh_top_menu_and_indexterms_link .mobile-utility-link:visited {
        display: block;
        padding: 0.55rem 0;
        color: var(--erx-ink, #08221F);
        text-decoration: none;
        font-size: var(--topnav-font-size, 0.8125rem);
        font-weight: 700;
        line-height: 1.4;
    }

    body .wh_header #wh_top_menu_and_indexterms_link .mobile-utility-link:hover,
    body .wh_header #wh_top_menu_and_indexterms_link .mobile-utility-link:focus {
        color: var(--erx-accent, #EE5519);
        text-decoration: none;
    }

    body .wh_header #wh_top_menu_and_indexterms_link .logout-button.logout-button--mobile {
        display: block !important;
        width: 100%;
        margin: 1rem 0 0;
        padding: 0.8rem 1rem;
        box-sizing: border-box;
        background-color: var(--erx-accent, #EE5519);
        color: var(--erx-color-white, #FFFFFF);
        text-align: center;
        border-radius: var(--radius-sm, 4px);
    }

    body .wh_header #wh_top_menu_and_indexterms_link .logout-button.logout-button--mobile > a,
    body .wh_header #wh_top_menu_and_indexterms_link .logout-button.logout-button--mobile > a:visited {
        color: var(--erx-color-white, #FFFFFF) !important;
        text-decoration: none;
    }

    body .wh_header #wh_top_menu_and_indexterms_link .logout-button.logout-button--mobile:hover,
    body .wh_header #wh_top_menu_and_indexterms_link .logout-button.logout-button--mobile:focus-within {
        background-color: var(--erx-accent-dark, #D14610);
    }
}
