#notificationsPanel{max-width:920px;margin:0 auto;min-height:65vh}.notifications-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.notifications-heading h1{font-size:34px;letter-spacing:-1px;margin:10px 0}.notifications-heading p{font-size:14px;color:var(--muted)}.notifications-read{background:none;border:0;color:var(--muted);font-size:12px;padding:12px 0}.notification-button{position:relative;display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted);transition:color .25s ease,border-color .25s ease,background-color .25s ease}.notification-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.notification-button:hover,.notification-button.active{color:var(--orange);border-color:var(--orange)}.notification-button:focus-visible{outline:2px solid var(--orange);outline-offset:4px}.notification-badge{position:absolute;top:-4px;right:-5px;background:var(--orange);color:white;border:2px solid var(--bg);border-radius:20px;min-width:17px;padding:0 3px;font-size:9px;line-height:13px;text-align:center;pointer-events:none}.notification-list{border-top:1px solid var(--line)}.notification-item{width:100%;display:flex;gap:16px;align-items:flex-start;text-align:left;background:transparent;color:var(--ink);border:0;border-bottom:1px solid var(--line);padding:24px 18px;transition:background .2s,color .2s}.notification-item.unread{background:color-mix(in srgb,var(--orange) 6%,transparent)}.notification-item:hover{background:color-mix(in srgb,var(--orange) 10%,transparent)}.notification-content{display:flex;flex-direction:column;gap:9px;flex:1;min-width:0;overflow-wrap:anywhere}.notification-title{font-size:14px;line-height:1.6}.notification-post-title{font-size:13px}.notification-excerpt{font-size:12px;color:var(--muted);line-height:1.7;white-space:pre-wrap}.notification-content time{font-size:11px;color:var(--muted)}.notification-dot{font-size:9px;color:var(--orange);padding-top:8px}.notification-status{font-size:13px;color:var(--muted)}.notification-toast{position:fixed;bottom:24px;right:24px;max-width:min(420px,calc(100vw - 40px));z-index:150;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-left:3px solid var(--orange);border-radius:8px;padding:18px 22px;font-size:13px;line-height:1.7;text-align:left;box-shadow:0 8px 35px #0003;animation:notification-in .25s ease-out}.comment-highlight{border-left:2px solid var(--orange);padding-left:12px;background:color-mix(in srgb,var(--orange) 6%,transparent);scroll-margin-top:100px}@keyframes notification-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:650px){.notifications-heading{align-items:flex-start;flex-direction:column;gap:0}.notifications-heading h1{font-size:28px}.notification-item{padding:20px 10px;gap:12px}header .workspace-tabs{gap:15px;overflow-x:auto}header .workspace-tabs .tab{font-size:11px;white-space:nowrap}.notification-toast{right:20px;bottom:20px}}@media(prefers-reduced-motion:reduce){.notification-toast{animation:none}}

.notification-button[aria-expanded=true]{color:var(--orange);border-color:var(--orange)}.notification-popover{position:fixed;z-index:180;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);box-shadow:0 16px 55px #0005;overflow:hidden;outline:none;animation:notification-in .18s ease-out}.notification-popover:before{content:'';height:2px;flex-shrink:0;background:linear-gradient(90deg,var(--orange),transparent 85%)}.notification-preview-heading{display:flex;justify-content:space-between;align-items:center;padding:19px 20px 12px;gap:15px}.notification-preview-heading .account-eyebrow{display:block;font-size:9px;margin:0 0 5px}.notification-preview-heading h2{font-size:20px;letter-spacing:-.5px;margin:0}.notification-preview-close{border:0;background:none;color:var(--muted);font-size:23px;padding:4px;line-height:1}.notification-preview-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:0 20px 14px;border-bottom:1px solid var(--line)}.notification-preview-summary{font-size:10px;color:var(--muted)}.notification-preview-read{font-size:10px;color:var(--muted);border:0;background:none;padding:4px 0}.notification-preview-list{overflow-y:auto;overscroll-behavior:contain;min-height:0;max-height:390px}.notification-preview-list .notification-item{padding:15px 18px;gap:11px}.notification-preview-list .account-mini-avatar{width:34px;height:34px;font-size:11px}.notification-preview-list .notification-title{font-size:12px;line-height:1.6}.notification-preview-list .notification-content{gap:5px}.notification-preview-list .notification-post-title{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notification-preview-list .notification-excerpt{display:none}.notification-preview-list time{font-size:10px}.notification-preview-status{padding:0 20px;margin:12px 0;font-size:12px;color:var(--muted);line-height:1.7}.notification-preview-status:empty{display:none}.notification-view-all{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;border:0;border-top:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:12px;padding:17px 20px;font-weight:600}.notification-view-all span{color:var(--orange);font-size:17px}.notification-preview-empty{text-align:center;padding:30px 22px}.notification-preview-empty h3{font-size:15px;margin:0 0 10px}.notification-preview-empty p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.notification-preview-empty .primary{margin-top:17px;padding:10px 22px;font-size:12px}.notification-preview-retry{margin:0 20px 16px;background:none;color:var(--orange);border:0;font-size:12px;padding:0}@media(prefers-reduced-motion:reduce){.notification-popover{animation:none}}
/* Full notifications are separate rows with natural height, not compressed buttons. */
#notificationsPanel .notification-list{display:flex;flex-direction:column;gap:10px;border-top:0}
#notificationsPanel .notification-item{height:auto;max-height:none;min-height:88px;flex-shrink:0;align-items:flex-start;padding:17px 18px;border:1px solid var(--line);border-radius:13px;line-height:1.65;white-space:normal;background:var(--surface);overflow:hidden}
#notificationsPanel .notification-item.unread{border-left:3px solid var(--orange);background:var(--surface)}
#notificationsPanel .notification-item>.account-mini-avatar{width:35px;height:35px;flex:0 0 35px}
#notificationsPanel .notification-content{display:flex;flex-direction:column;gap:6px;min-width:0;max-width:100%}
#notificationsPanel .notification-content>*{position:static;margin:0;line-height:1.65;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#notificationsPanel .notification-title{font-size:13px}#notificationsPanel .notification-post-title{font-size:12px;font-weight:500}#notificationsPanel .notification-excerpt{font-size:11px;white-space:pre-wrap}#notificationsPanel .notification-content time{font-size:10px}#notificationsPanel .notification-dot{flex:0 0 8px;margin:0;padding-top:5px}
@media(max-width:500px){#notificationsPanel .notification-item{gap:11px;padding:14px;min-height:80px}}
