.inline-actions,
:host([layout*="rightrail"]) msft-article .inline-actions {
    top: 0;
}

:host([layout="normal"]) msft-article .inline-actions {
    bottom: 0;
    margin-bottom: 5px;
    height: 24px;
}

:host([layout="compact"]) msft-article .inline-actions,
:host([layout*="rightrail"]) msft-article .inline-actions {
    margin-inline-end: 4px;
}

:host([layout="stacked"]) msft-article .inline-actions {
    background: var(--neutral-fill-stealth-hover);
    margin-inline-end: 12px;
}

:host msft-article:hover,
:host msft-article:focus-within {
    background: 