.portal-shell #topNav .portal-recent-pages { position: relative; order: 3; flex: 0 0 auto; margin-left: auto; }
.portal-shell #topNav:has(.portal-approval-counters) .portal-recent-pages { margin-left: 0; }
.portal-shell.portal-product-header #topNav:has(.portal-recent-pages) .portal-skin-toggle { margin-left: 0; }
.portal-shell #topNav .portal-recent-toggle { display: flex; align-items: center; justify-content: center; width: 32px; height: 36px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #aaa; cursor: pointer; }
.portal-shell #topNav .portal-recent-toggle svg { width: 22px; height: 22px; }
.portal-shell #topNav .portal-recent-toggle:hover, .portal-shell #topNav .portal-recent-toggle[aria-expanded="true"] { color: #f07057; background: #ffffff0d; }
.portal-shell #topNav .portal-recent-toggle:focus-visible, .portal-shell #topNav .portal-recent-items a:focus-visible { outline: 2px solid #f07057; outline-offset: 2px; }
.portal-shell #topNav .portal-recent-list { position: fixed; box-sizing: border-box; z-index: 1100; right: 16px; width: min(480px, calc(100vw - 32px)); max-height: min(520px, calc(100vh - 100px)); overflow-y: auto; padding: 10px 0; border: 1px solid #444; border-radius: 8px; background: #222; color: #bbb; box-shadow: 0 8px 24px #0005; font: 14px/1.4 "Source Sans 3", sans-serif; }
.portal-shell #topNav .portal-recent-list[hidden] { display: none; }
.portal-shell #topNav .portal-recent-heading { padding: 6px 20px 10px; font-weight: 600; }
.portal-shell #topNav .portal-recent-items a { display: block; font: 14px/1.4 "Source Sans 3", sans-serif !important; padding: 9px 20px; border-radius: 0; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.portal-shell #topNav .portal-recent-items a:hover { background: #ffffff0d; color: #f07057; }
.portal-shell #topNav .portal-recent-items a + a { border-top:1px solid #ffffff14; border-radius:0; }
html[data-portal-skin="light"] .portal-shell #topNav .portal-recent-items a + a { border-top-color:#00000014; }
.portal-shell #topNav .portal-recent-items p { margin: 0; padding: 9px 20px; }
html[data-portal-skin="light"] .portal-shell #topNav .portal-recent-list { background: #fff; color: #555; border-color: #ddd; }
html[data-portal-skin="light"] .portal-shell #topNav .portal-recent-items a:hover { background: #f3f3f3; }
.portal-shell #topNav .portal-recent-time { display: block; margin-top: 3px; font: 12px/1.4 "Source Sans 3", sans-serif; opacity: .7; }
