/* Shared reference-matched SVG icons for the public header and filter surfaces. */
.header .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
}
.header .menu-toggle .site-menu-icon { display: block; width: 24px; height: 24px; }
.header .menu-toggle:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 4px; }
.header-search-toggle .site-search-icon { display: block; width: 19px; height: 19px; }
.site-search-input-wrap .site-search-icon { display: block; width: 23px; height: 23px; }
.mobile-menu-panel .mobile-menu-search-submit .site-search-icon { display: block; width: 19px; height: 19px; }
.filter-header h3 .site-filter-icon {
    display: inline-block;
    vertical-align: middle;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}
.mobile-filter-toolbar .filter-btn .site-filter-icon {
    display: inline-block;
    vertical-align: middle;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}
[data-doctor-directory] .mobile-filter-toolbar .filter-badge .directory-mobile-filter-icon {
    display: block;
    width: 19px;
    height: 19px;
}
/* Shrink the red selected-filter count dot without changing its anchor. */
[data-doctor-directory] .mobile-filter-toolbar .filter-badge > span {
    top: -4px;
    right: -5px;
    width: 13px;
    height: 13px;
    font-size: 9px;
    line-height: 1;
}
@media (max-width: 991.98px), (max-width: 1199.98px) and (pointer: coarse) {
    .site-search-input-wrap .site-search-icon { width: 17px; height: 17px; }
}


/* Reference tiles: 740 units in a 1254-unit SVG canvas render at 38px.
   The transparent canvas keeps the SVG's own outer shadows unclipped. */
.header .header-search-toggle,
.header .user-menu-container .user-icon {
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none;
    overflow: visible;
    cursor: pointer;
}
.header .header-search-toggle .header-reference-icon,
.header .user-icon .header-reference-icon,
.mobile-menu-panel .search-wrapper .mobile-menu-search-submit .header-reference-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 64.395px;
    height: 64.395px;
    max-width: none;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.header .header-search-toggle:focus-visible,
.header .user-menu-container .user-icon:focus-visible {
    outline: 2px solid var(--primary-color, #4187ff);
    outline-offset: 4px;
}

/* Move the entire account control (including its dropdown anchor) left by
   10% of its 38px button width; bring search 8px left to close the gap.
   Relative offsets preserve both hit areas and the remaining header layout. */
.header .header-left-buttons > .user-menu-container {
    left: -3.8px;
}
.header .header-left-buttons > .header-search-toggle {
    margin-inline: 4px;
    left: -8px;
}
.header .user-menu-container .user-dropdown { top: calc(100% + 8px); }

/* Header-only original glyphs without decorative frames; keep drawer artwork unchanged. */
.header .header-search-toggle,
.header .user-menu-container .user-icon {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    color: #fff !important;
}
.header .header-search-toggle:hover,
.header .user-menu-container .user-icon:hover,
.header .header-search-toggle:active,
.header .user-menu-container .user-icon:active {
    background: transparent !important;
    box-shadow: none !important;
}
.header .header-outline-icon {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    filter: none;
    pointer-events: none;
}
.header .header-search-toggle:focus-visible,
.header .user-menu-container .user-icon:focus-visible {
    outline-color: #fff;
}
