/* Shared inbox styles: every page using the common header gets the same UI. */
#notificationPanel {
  position: absolute;
  top: calc(100% + 12px);
  right: max(14px, calc((100vw - 1200px) / 2));
  z-index: 80;
  width: min(440px, calc(100vw - 28px));
  max-height: min(650px, calc(100dvh - 100px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce6f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px #0f1f3d24;
  line-height: 1.5;
}
#notificationPanel[hidden] { display: none; }
#notificationPanel .notification-panel-head,
#notificationPanel .notification-toolbar,
#notificationPanel .notification-panel-foot { flex-shrink: 0; }
#notificationPanel .notification-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px; border-bottom: 1px solid #e5edf7; }
#notificationPanel .notification-panel-head strong { color: #17233b; font-size: 17px; font-weight: 750; }
#notificationPanel button { font: inherit; cursor: pointer; }
#notificationPanel .notification-panel-head button { padding: 6px 0; border: 0; background: transparent; color: #0758df; font-size: 12px; }
#notificationPanel .notification-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #e5edf7; }
#notificationPanel .notification-filters { display: flex; gap: 3px; }
#notificationPanel .notification-toolbar button,
#notificationPanel .notification-actions button { min-height: 32px; border: 0; border-radius: 7px; background: transparent; color: #64748b; font-size: 12px; padding: 7px 9px; white-space: nowrap; }
#notificationPanel .notification-filters button[aria-pressed="true"] { background: #eaf2ff; color: #0758df; font-weight: 750; }
#notificationPanel .notification-toolbar button:hover,
#notificationPanel .notification-actions button:hover { background: #eef4fb; color: #0758df; }
#notificationPanel button:focus-visible,
#notificationPanel a:focus-visible { outline: 2px solid #1263f1; outline-offset: -2px; }
#notificationPanel button:disabled { opacity: .55; cursor: wait; }
#notificationPanel .notification-list { min-height: 0; max-height: none; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }
#notificationPanel .notification-row { border-bottom: 1px solid #edf2f8; }
#notificationPanel .notification-row.unread { background: #f5f9ff; }
#notificationPanel .notification-item { width: 100%; display: grid; grid-template-columns: 8px minmax(0,1fr); gap: 12px; padding: 14px 16px 5px; border: 0; background: transparent; text-align: left; }
#notificationPanel .notification-item:hover { background: #edf4fe; }
#notificationPanel .notification-severity { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: #1263f1; }
#notificationPanel .notification-row:not(.unread) .notification-severity:not(.warning):not(.error) { background: #cbd5e1; }
#notificationPanel .notification-severity.warning { background: #ff7a1a; }
#notificationPanel .notification-severity.error { background: #e11d48; }
#notificationPanel .notification-copy { display: grid; gap: 4px; min-width: 0; }
#notificationPanel .notification-copy strong,
#notificationPanel .notification-copy small { white-space: normal; overflow-wrap: anywhere; }
#notificationPanel .notification-copy strong { color: #17233b; font-size: 14px; font-weight: 650; }
#notificationPanel .unread .notification-copy strong { font-weight: 750; }
#notificationPanel .notification-copy small { color: #66758e; font-size: 12px; font-weight: 400; }
#notificationPanel .notification-actions { display: flex; justify-content: flex-end; gap: 4px; padding: 0 12px 6px; }
#notificationPanel .notification-empty { padding: 24px 16px; color: #66758e; text-align: center; font-size: 13px; font-weight: 400; }
#notificationPanel .notification-more { flex-shrink: 0; margin: 8px 14px; padding: 10px; border: 1px solid #dce6f2; background: #fff; border-radius: 8px; color: #0758df; font-size: 13px; }
#notificationPanel .notification-more[hidden] { display: none; }
#notificationPanel .notification-panel-foot { display: flex; justify-content: space-between; gap: 8px; padding: 12px 16px; border-top: 1px solid #e5edf7; font-size: 12px; color: #66758e; }
#notificationPanel .notification-panel-foot a { color: #0758df; white-space: nowrap; }
