/* The bell stays available independently of the collapsed mobile menu. */
.site-header nav { margin-left: auto; }
.header-tools { display: flex; align-items: center; gap: 20px; }
.header-tools:empty { display: none; }
.notification-center { position: relative; }
.notification-toggle { position: relative; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #e5e7eb; border-radius: 50%; color: #202126; background: white; cursor: pointer; list-style: none; }
.notification-toggle::-webkit-details-marker { display: none; }
.notification-toggle:hover, .notification-center[open] .notification-toggle { color: var(--interactive-ink, #343a40); background: #f3f4f5; border-color: #cbd0d6; }
.notification-toggle svg { width: 21px; height: 21px; }
.notification-count { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border: 2px solid white; border-radius: 12px; background: var(--control-focus, #414952); color: white; font-size: 10px; font-weight: 600; line-height: 1; }
.notification-panel { position: absolute; right: 0; top: calc(100% + 16px); width: 386px; max-width: calc(100vw - 40px); border: 1px solid #e1e4eb; border-radius: 8px; background: white; box-shadow: 0 16px 44px #1822391a; overflow: hidden; text-align: left; }
.notification-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px; border-bottom: 1px solid #eceef2; }
.notification-heading h2 { font-size: 19px; font-weight: 500; letter-spacing: -.025em; }
.notification-read-all, .notification-read { display: none; padding: 0; border: 0; background: none; color: var(--interactive-ink, #343a40); font-size: 11px; font-weight: 500; cursor: pointer; text-align: left; }
.is-enhanced .notification-read-all, .is-enhanced .notification-read { display: inline-block; }
.notification-read-all:hover, .notification-read:hover { text-decoration: underline; text-underline-offset: 3px; }
.notification-read-all:disabled, .notification-read:disabled { opacity: .55; cursor: wait; }
.notification-list { max-height: min(430px, calc(100dvh - 245px)); overflow-y: auto; overscroll-behavior: contain; }
.notification-item { padding: 18px 20px; border-bottom: 1px solid #eceef2; }
.notification-item.is-unread { border-left: 3px solid var(--control-focus, #414952); padding-left: 17px; background: #f5f6f7; }
.notification-link { display: block; }
.notification-item-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #636977; font-size: 10px; line-height: 1.5; margin-bottom: 7px; }
.notification-item-meta > span { font-weight: 500; }
.notification-item.is-unread .notification-item-meta > span { color: var(--interactive-ink, #343a40); }
.notification-item h3 { color: #1b2231; font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: -.01em; overflow-wrap: anywhere; }
.notification-item p { color: #555d6b; font-size: 12px; line-height: 1.7; margin-top: 5px; overflow-wrap: anywhere; }
.notification-link:hover h3 { color: var(--interactive-ink, #343a40); }
.notification-read { margin-top: 10px; }
.notification-empty { padding: 34px 28px; text-align: center; }
.notification-empty svg { width: 30px; height: 30px; color: var(--control-focus, #414952); margin: 0 auto 17px; }
.notification-empty h3 { font-size: 16px; margin-bottom: 8px; }
.notification-empty p { font-size: 13px; line-height: 1.75; color: #5c6471; }
.notification-all { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; color: var(--interactive-ink, #343a40); font-size: 12px; font-weight: 500; background: white; }
.notification-all:hover { background: #f5f6f7; }
.notification-feedback { padding: 12px 20px; background: #fff4f4; color: #982b2b; font-size: 12px; }
.notification-feedback button { display: block; margin-top: 5px; padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; }
.notification-toast { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; align-items: flex-start; gap: 13px; width: 350px; max-width: calc(100vw - 32px); padding: 20px; color: #182139; background: white; border: 1px solid #dce0e4; border-top: 3px solid var(--control-focus, #414952); border-radius: 6px; box-shadow: 0 10px 40px #1822391f; }
.notification-toast-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; background: #eef0f2; color: var(--control-focus, #414952); border-radius: 50%; }
.notification-toast-icon svg { width: 19px; height: 19px; }
.notification-toast > div { flex: 1; min-width: 0; }
.notification-toast p { color: #5c6471; font-size: 10px; margin-bottom: 5px; }
.notification-toast strong { display: block; font-size: 14px; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }
.notification-toast a { display: inline-block; margin-top: 8px; color: var(--interactive-ink, #343a40); font-size: 12px; font-weight: 500; }
.notification-toast > button { margin: -9px -9px 0 0; display: grid; place-items: center; flex: 0 0 32px; height: 32px; border: 0; background: none; color: #5c6471; font-size: 23px; cursor: pointer; }
.member-card:target { outline: 2px solid var(--control-focus, #414952); outline-offset: 8px; scroll-margin-top: 32px; }
@media (max-width: 900px) {
    .header-tools { margin-left: auto; }
    .notification-center { position: static; }
    .notification-panel { top: calc(100% + 8px); right: 20px; }
}
@media (max-width: 600px) {
    .site-header { gap: 16px; }
    .header-tools { gap: 14px; }
    .notification-toggle { width: 38px; height: 38px; }
    .notification-toast { right: 16px; bottom: 16px; }
}
@media (max-width: 380px) {
    .header-tools { gap: 10px; }
    .header-tools .menu-toggle { font-size: 12px; gap: 5px; }
}
