/* [CG] Centre the official artwork inside the shared social button footprint. */
#social_menu .microsoft-signin-option {
    display: flex;
    align-items: center;
    justify-content: center;
}
#social_menu .microsoft-signin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 375px;
    max-width: 100%;
    height: var(--provider-button-height, 40px);
    padding: 0;
    margin: 0;
    background: var(--provider-button-surface, #fff);
    border: 1px solid var(--provider-button-border, #d1d5db);
    border-radius: 4px;
    text-decoration: none;
    /* [CG] Use the outer keyboard focus ring instead of the browser's inset ring. */
    outline: none;
}
#social_menu .microsoft-signin-button img {
    display: block;
    width: 215px;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}
#social_menu .microsoft-signin-button .microsoft-signin-dark { display: none; }
#social_menu .microsoft-signin-button:is(:hover, :active) {
    background: var(--provider-button-hover, #f5f5f5);
}
html[data-theme="dark"] #social_menu .microsoft-signin-button .microsoft-signin-light {
    display: none;
}
html[data-theme="dark"] #social_menu .microsoft-signin-button .microsoft-signin-dark {
    display: block;
}
#social_menu .microsoft-signin-button:focus-visible {
    outline: 2px solid var(--app-focus, #0065ab);
    outline-offset: 2px;
}
