/* Load after existing V42/V43 styles. No global text-color overrides. */
/* V45 MAN-02 (feed lab): the one "language, currency, appearance" disclosure in the top bar / drawer */
.pb-feedlab .pb-fl-prefs { position: relative; }
.pb-feedlab .pb-fl-prefs > summary { list-style: none; cursor: pointer; }
.pb-feedlab .pb-fl-prefs > summary::-webkit-details-marker { display: none; }
.pb-feedlab .pb-fl-prefs-body { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 40; min-inline-size: 260px; padding: 12px; border: 1px solid var(--pb-divider, #D9DEE7); border-radius: 12px; background: var(--pb-surface, #FFFFFF); color: var(--pb-text-primary, #171A1F); box-shadow: 0 12px 32px rgba(0, 0, 0, .14); display: grid; gap: 10px; }
.pb-feedlab .pb-fl-prefs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.pb-feedlab .pb-fl-prefs-label { flex: 1 1 100%; font-size: 13px; color: var(--pb-text-secondary, #667085); }
.pb-feedlab .pb-fl-pill--on { background: var(--pb-action-soft-bg, #FAEAF3); color: var(--pb-action-soft-text, #880050); }
.pb-feedlab .pb-sb-util .pb-fl-prefs-body { position: static; box-shadow: none; }
/* V45 MAN-18: a discovery entry whose module is not available keeps its place as a plain item (no link, no grant) */
.pb-sb .pb-sb-link--unavailable { opacity: .62; cursor: default; }
.pb-sb .pb-sb-link--unavailable .pb-sb-unavail { display: block; font-size: 12px; font-weight: 400; line-height: 1.3; }
html[data-pb-sb="rail"] .pb-sb .pb-sb-link--unavailable .pb-sb-unavail { display: none; }
#pbHeader[data-pb45="1"] .pb42-l{justify-content:flex-start;direction:ltr;min-width:0}
#pbHeader[data-pb45="1"] .pb42-acct{order:-1;margin-left:0;margin-right:auto;direction:inherit}
#pbHeader[data-pb45="1"] .pb42-acct summary{white-space:nowrap;min-height:48px}
#pbHeader[data-pb45="1"]:not([data-pb42-layout="wide"]):not([data-pb42-layout="tablet"]) .pb42-bar{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"acct brand create" "search search search" "comms comms prefs"}
#pbHeader[data-pb45="1"][data-pb42-layout="xs"] .pb42-bar{grid-template-areas:"acct acct acct" "brand . create" "search search search" "comms comms prefs"}
#pbHeader[data-pb45="1"][data-pb42-layout="tablet"] .pb42-bar{grid-template-columns:auto minmax(144px,1fr) auto;grid-template-areas:"acct search create" "brand comms prefs"}
#pbHeader[data-pb45="1"] details.pb42-menu[open]>.pb42-panel{display:block;visibility:visible;opacity:1;color:var(--header-text,#171a1f);background:var(--header-bg,#fff);z-index:1300;isolation:isolate}
#pbHeader[data-pb45="1"] details.pb42-menu:not([open])>.pb42-panel{display:none}
#pbHeader[data-pb45="1"] .pb42-panel a{color:inherit;display:flex;align-items:center;min-height:48px;padding:10px 16px;line-height:1.5;text-decoration:none}
/* V52-001 (owner: in Dark the notification list must not be a light surface): the notification list of the header popover and every
   row state (read / unread / hover / focus / pending / loading / empty / error) use the PB header token PAIRS (--pb44-*: Light values
   on the bar, redefined for the explicit Dark choice and for System + OS dark in pb-v42-header.css) -- the former --header-* names
   were never defined anywhere, so the #fff / #faeaf3 fallbacks painted a light list inside the dark panel. Outside the header the
   site tokens (pb-tokens.css, themed) are the fallback; a literal colour is only the last resort. Source, counts and actions unchanged. */
.pb45-notification{padding:14px 16px;border-bottom:1px solid var(--pb44-line,var(--pb-divider,#d9dee7));border-inline-start:3px solid transparent;line-height:1.65;text-align:start;color:var(--pb44-ink,var(--pb-text-primary,#171a1f));background:transparent}
.pb45-notification:last-child{border-bottom:0}
.pb45-notification[data-read="false"]{border-inline-start-color:var(--pb44-icon,#bd006e);background:var(--pb44-soft,var(--pb-action-soft-bg,#faeaf3));font-weight:600}
.pb45-notification[data-read="true"]{color:var(--pb44-ink,var(--pb-text-primary,#171a1f))}
.pb45-notification:hover{box-shadow:inset 0 0 0 1px var(--pb44-line,var(--pb-divider,#d9dee7))}
.pb45-notification a{color:inherit;display:block;white-space:normal;overflow-wrap:anywhere;text-decoration:none}
.pb45-notification a:hover{text-decoration:underline}
.pb45-notification a:focus-visible,[data-pb45-notif-content] button:focus-visible,[data-pb45-notif-content]>a:focus-visible{outline:3px solid var(--pb44-focus,var(--pb-focus,#0065bd));outline-offset:2px;border-radius:6px}
.pb45-notification small{display:block;color:var(--pb44-muted,var(--pb-text-secondary,#667085));font-weight:400}
.pb45-notification p[role="status"]{margin:6px 0 0;color:var(--pb44-error,#a61b29);font-weight:400}
[data-pb45-notif-content]{min-height:96px;padding:12px;color:var(--pb44-ink,var(--pb-text-primary,#171a1f));background:var(--pb44-surface,var(--pb-surface,#fff))}
[data-pb45-notif-content]>p{margin:0 0 8px;color:var(--pb44-muted,var(--pb-text-secondary,#667085))}
[data-pb45-notif-content] button,[data-pb45-notif-content]>a{min-height:48px;display:inline-flex;align-items:center;padding:8px 16px;margin-top:8px;box-sizing:border-box;border:1px solid var(--pb44-line,var(--pb-divider,#d9dee7));border-radius:10px;background:var(--pb44-surface,var(--pb-surface,#fff));color:var(--pb44-accent-text,var(--pb-action-soft-text,#990058));font:inherit;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer}
[data-pb45-notif-content] button:hover,[data-pb45-notif-content]>a:hover{background:var(--pb44-soft,var(--pb-action-soft-bg,#faeaf3))}
[data-pb45-notif-content] button:disabled{opacity:.6;cursor:progress}
[data-pb45-image]{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:16px;background:#f6f3f5}
[data-pb45-image][hidden],[data-pb45-notif-content] [hidden]{display:none!important}
@media(max-width:767px){#pbHeader[data-pb45="1"] .pb42-acct{max-width:100%}}
@media(forced-colors:active){.pb45-notification{border:1px solid CanvasText}.pb45-notification[data-read="false"]{border-inline-start:4px solid Highlight}#pbHeader[data-pb45="1"] .pb42-panel{color:CanvasText;background:Canvas}}
