.notifications-page { max-width: 900px; margin: 0 auto; padding: 24px 0 48px; }
.notifications-page__header { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin-bottom:20px; }
.notifications-page__header h1 { margin:0 0 8px; }
.notifications-page__header p { margin:0; color:var(--muted-foreground, #6b7280); }
.notifications-page__notice { margin-bottom:16px; padding:12px 14px; border-radius:16px; background:#fff6e8; color:#9a5b00; }
.notifications-filters { display:flex; gap:10px; margin-bottom:18px; flex-wrap:wrap; }
.notifications-filter { padding:10px 14px; border-radius:999px; background:#f3f4f6; color:inherit; text-decoration:none; }
.notifications-filter.is-active { background:#111827; color:#fff; }
.notifications-list { display:flex; flex-direction:column; gap:12px; }
.notification-card { background:#fff; border:1px solid #e5e7eb; border-radius:20px; padding:18px; box-shadow:0 8px 24px rgba(15,23,42,.04); }
.notification-card.is-unread { border-color:#c7d2fe; background:#f8faff; }
.notification-card__meta, .notification-card__actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.notification-card__meta { margin-bottom:8px; color:#6b7280; font-size:14px; }
.notification-card__dot { display:inline-flex; padding:4px 10px; border-radius:999px; background:#e0e7ff; color:#3730a3; font-size:12px; }
.notification-card h3 { margin:0 0 8px; font-size:18px; }
.notification-card p { margin:0 0 14px; color:#374151; }
.notifications-empty { text-align:center; padding:48px 20px; border:1px dashed #d1d5db; border-radius:24px; background:#fff; }
.notifications-empty .material-symbols-outlined { font-size:42px; color:#9ca3af; }
@media (max-width: 768px) { .notifications-page__header { flex-direction:column; } .notification-card { padding:16px; } }

.notifications-center { position: relative; }
.notifications-center__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
}
.notifications-center__button .material-symbols-outlined { font-size: 22px; }
.notifications-center__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.notifications-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(380px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  z-index: 1200;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .16s ease, transform .16s ease;
}
.notifications-popover__header,
.notifications-popover__footer,
.notifications-popover__item-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.notifications-popover__header { padding: 16px 16px 12px; border-bottom: 1px solid #f3f4f6; }
.notifications-popover__header span { display:block; margin-top:4px; color:#6b7280; font-size:13px; }
.notifications-popover__list { max-height: 420px; overflow: auto; }
.notifications-popover__item { border-bottom:1px solid #f3f4f6; }
.notifications-popover__item.is-unread { background:#f8faff; }
.notifications-popover__link { display:block; padding:14px 16px; color:inherit; text-decoration:none; }
.notifications-popover__item-head { align-items:flex-start; margin-bottom:6px; }
.notifications-popover__item-head strong { font-size:14px; }
.notifications-popover__item-head span { color:#6b7280; font-size:12px; white-space:nowrap; }
.notifications-popover__link p { margin:0; color:#374151; font-size:14px; line-height:1.4; }
.notifications-popover__cta { display:inline-flex; margin-top:10px; color:#4338ca; font-size:13px; font-weight:600; }
.notifications-popover__empty { padding: 24px 16px; color:#6b7280; text-align:center; }
.notifications-popover__footer { padding: 14px 16px; text-decoration:none; color:#111827; font-weight:600; }
.btn-ghost { background: transparent; border: 0; color: #4f46e5; }
@media (max-width: 768px) {
  .notifications-popover { position: fixed; top: 72px; right: 12px; left: 12px; width: auto; }
  .notifications-center__button { width: 40px; height: 40px; }
}

/* ===== focused regression correction: notifications scan hierarchy ===== */
.notification-card { padding: 16px 18px; }
.notification-card__meta { margin-bottom: 10px; font-size: 12px; color: #8a94a7; }
.notification-card h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.28; color: #111827; }
.notification-card p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: #4b5568; }
.notification-card__actions { justify-content: space-between; border-top: 1px solid #eef2f7; padding-top: 10px; }
.notification-card__actions .btn { min-height: 34px; }
