.notification-page { display: grid; gap: 15px; max-width: 1500px; margin: 0 auto; color: #193746; }
.notification-page-heading { min-height: 76px; display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 3px 2px 1px; }
.notification-kicker, .notification-section-kicker { display: inline-flex; align-items: center; gap: 8px; color: #6e858d; font-size: 8px; font-weight: 750; letter-spacing: .15em; }
.notification-kicker i { width: 6px; height: 6px; border-radius: 50%; background: #4dbbb1; box-shadow: 0 0 0 3px #e5f5f2; }
.notification-kicker b { color: #b0bdc0; font-size: 11px; }
.notification-page-heading .page-title { margin: 7px 0 3px; color: #142f3f; font-size: 25px; font-weight: 650; letter-spacing: -.04em; }
.notification-page-heading p { margin: 0; color: #778b93; font-size: 11px; }
.notifications-heading-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 2px; }
.notifications-heading-actions .btn { min-height: 34px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #dce8e9; border-radius: 8px; color: #4d6871; background: #fff; font-size: 10px; }
.notifications-heading-actions .btn:hover { border-color: #a9d7d2; color: #187775; background: #f4fbfa; }
.notifications-heading-actions .btn.primary { border-color: #147f7a; color: #fff; background: #168b84; }
.notifications-heading-actions .btn.primary:hover { border-color: #116e6c; background: #116e6c; }
.notifications-action-count { min-width: 17px; height: 17px; display: inline-grid; place-items: center; padding: 0 4px; border-radius: 99px; color: #187775; background: #e7f6f3; font-size: 9px; font-weight: 700; }

.notification-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.notification-metric { min-width: 0; min-height: 90px; display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1px solid #e3ebed; border-radius: 12px; background: linear-gradient(145deg, #fff, #f9fbfb); box-shadow: 0 3px 12px rgb(25 55 70 / 3%); }
.notification-metric-mark { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border: 1px solid #d8eeeb; border-radius: 10px; color: #238780; background: #edf8f6; font-size: 16px; }
.metric-unread .notification-metric-mark { border-color: #f2e5c9; color: #ae7d31; background: #fbf6ea; }
.metric-range .notification-metric-mark { border-color: #dfe7f5; color: #557bb0; background: #f0f4fb; }
.notification-metric > div { min-width: 0; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 3px 8px; }
.notification-metric small { grid-column: 1 / -1; color: #71868e; font-size: 9px; font-weight: 650; }
.notification-metric strong { overflow: hidden; color: #1c3b49; font-size: 23px; font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; text-overflow: ellipsis; }
.notification-metric span:last-child { overflow: hidden; color: #98a7ab; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }

.notifications-search { display: block; margin: 0; padding: 16px 17px 14px; border: 1px solid #e1e9eb; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgb(25 55 70 / 4%); }
.notifications-search[hidden] { display: none; }
.notifications-search-heading, .notifications-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.notifications-search-heading { margin-bottom: 13px; }
.notifications-search-heading h2, .notifications-panel-heading h2 { margin: 3px 0 0; color: #1c3a49; font-size: 13px; font-weight: 650; }
.notifications-search-heading > span { color: #8c9ba0; font-size: 9px; }
.notifications-search-fields { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end; }
.notifications-search label { min-width: 0; display: flex; flex-direction: column; gap: 5px; color: #627880; font-size: 9px; font-weight: 650; }
.notifications-search input { width: 100%; min-width: 0; min-height: 35px; padding: 7px 9px; border: 1px solid #dce6e8; border-radius: 7px; color: #284753; background: #fbfdfd; font: inherit; font-size: 10px; }
.notifications-search input:focus { outline: 2px solid rgb(62 177 168 / 18%); border-color: #69bdb6; background: #fff; }
.notifications-search input::placeholder { color: #a3b0b3; }
.notifications-search-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; margin-top: 13px; padding-top: 11px; border-top: 1px solid #edf1f2; }
.notifications-search-actions .btn { min-height: 30px; padding: 0 10px; border-color: #e0e9ea; border-radius: 7px; color: #627981; background: #fff; font-size: 9px; }
.notifications-search-actions .btn.primary { border-color: #16837e; color: #fff; background: #168b84; }

.notifications-panel { min-width: 0; padding: 0; overflow: hidden; border: 1px solid #e3eaec; border-radius: 13px; background: #fff; box-shadow: 0 6px 22px rgb(25 49 62 / 4%); }
.notifications-panel-heading { min-height: 67px; padding: 12px 17px 10px; }
.notifications-panel-heading h2 { font-size: 14px; }
.notifications-panel-heading p { margin: 4px 0 0; color: #83959b; font-size: 9px; }
.notifications-result-count { display: inline-flex; align-items: baseline; gap: 5px; padding: 6px 9px; border: 1px solid #e3ecec; border-radius: 999px; color: #3c626a; background: #f7fbfa; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.notifications-result-count small { color: #8a9c9f; font-size: 8px; font-weight: 550; }
.notifications-toolbar { display: flex; align-items: center; gap: 5px; padding: 7px 15px; border-top: 1px solid #edf1f2; border-bottom: 1px solid #e9eff0; background: #fbfdfd; }
.notifications-filter { min-height: 29px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid transparent; border-radius: 7px; color: #71858c; background: transparent; cursor: pointer; font: inherit; font-size: 9px; }
.notifications-filter:hover { color: #207d79; background: #f1f8f7; }
.notifications-filter.active { border-color: #d8ece9; color: #176f70; background: #eaf6f4; font-weight: 700; }
.notifications-count { min-width: 18px; padding: 2px 5px; border-radius: 99px; color: #987535; background: #f8efd9; font-size: 8px; font-variant-numeric: tabular-nums; text-align: center; }
.notifications-list { min-height: 120px; }
.notification-item { min-width: 0; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: start; gap: 11px; padding: 14px 17px; border-bottom: 1px solid #edf1f2; transition: background-color .14s ease; }
.notification-item:last-child { border-bottom: 0; }
.notification-item:hover { background: #fbfdfd; }
.notification-item.is-unread { background: linear-gradient(90deg, #f2faf8 0, #fff 38%); }
.notification-item.is-unread:hover { background: #f0f8f6; }
.notification-marker { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #e1e9eb; border-radius: 9px; color: #899ba0; background: #f7f9f9; font-size: 12px; font-weight: 700; }
.notification-item.is-unread .notification-marker { border-color: #cfe9e4; color: #14827b; background: #e6f5f1; }
.notification-main { min-width: 0; }
.notification-title-row { display: flex; align-items: flex-start; gap: 8px; }
.notification-title { min-width: 0; color: #294451; font-size: 10px; font-weight: 650; line-height: 1.45; }
.notification-status { flex: 0 0 auto; margin-top: 1px; padding: 3px 6px; border-radius: 999px; font-size: 7px; font-weight: 700; line-height: 1; }
.notification-status.is-unread { color: #167772; background: #e5f5f1; }
.notification-status.is-read { color: #809096; background: #f0f3f3; }
.notification-body { margin: 4px 0 0; color: #667b82; font-size: 9px; line-height: 1.5; white-space: pre-wrap; }
.notification-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 6px; color: #96a4a8; font-size: 8px; }
.notification-meta i { width: 3px; height: 3px; border-radius: 50%; background: #b6c2c4; }
.notification-actor { color: #6d858b; font-weight: 600; }
.notification-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; align-items: center; padding-top: 1px; }
.notification-actions .btn { min-height: 27px; padding: 0 9px; border-color: #dfe9e9; border-radius: 7px; color: #527179; background: #fff; font-size: 8px; white-space: nowrap; }
.notification-actions .btn:hover { border-color: #b7dcd7; color: #177873; background: #f3faf8; }
.notifications-empty { min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 18px; color: #7b8f94; text-align: center; }
.notifications-empty > span { width: 37px; height: 37px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 12px; color: #328a7e; background: #eaf6f2; font-size: 17px; }
.notifications-empty strong { color: #3b5963; font-size: 11px; }
.notifications-empty p { margin: 5px 0 12px; font-size: 9px; }
.notifications-empty .btn { min-height: 28px; border-color: #dbe8e8; border-radius: 7px; color: #507078; font-size: 9px; }
.notifications-pager { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px; border-top: 1px solid #edf1f2; color: #819198; background: #fbfcfc; font-size: 9px; }
.notifications-pager > span { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.notifications-pager > span > strong { color: #47636b; font-variant-numeric: tabular-nums; }
.notifications-pager > div { display: flex; gap: 6px; }
.notifications-pager .btn { min-height: 28px; padding: 0 9px; border-color: #e0e8e9; border-radius: 7px; color: #60777e; font-size: 8px; }
.notifications-pager .btn:not(:disabled):hover { border-color: #b8d8d4; color: #176f70; background: #f3f9f8; }
.notifications-pager .btn:disabled { opacity: .5; }
.notifications-page-size { display: inline-flex; align-items: center; gap: 5px; margin-left: 9px; color: #84969a; }
.notifications-page-size select { min-height: 25px; padding: 2px 5px; border: 1px solid #dfe8e9; border-radius: 6px; color: #506970; background: #fff; font: inherit; }

@media (max-width: 1050px) { .notifications-search-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .notification-page { gap: 12px; }
  .notification-page-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .notifications-heading-actions { width: 100%; }
  .notification-metric { min-height: 80px; gap: 9px; padding: 11px; }
  .notification-metric-mark { width: 31px; height: 31px; flex-basis: 31px; }
  .notification-metric strong { font-size: 19px; }
  .notification-metric span:last-child { display: none; }
}
@media (max-width: 560px) {
  .notification-metrics { grid-template-columns: 1fr; gap: 7px; }
  .notification-metric { min-height: 64px; }
  .notification-metric > div { width: 100%; grid-template-columns: 1fr auto; }
  .notification-metric small { grid-column: 1; }
  .notification-metric strong { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .notification-metric span:last-child { display: none; }
  .notifications-search-fields { grid-template-columns: 1fr; }
  .notifications-search-actions { justify-content: stretch; }
  .notifications-search-actions .btn { flex: 1; }
  .notification-item { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 12px; }
  .notification-marker { width: 27px; height: 27px; }
  .notification-actions { grid-column: 2; justify-content: flex-start; padding-top: 0; }
  .notifications-panel-heading { padding-inline: 12px; }
  .notifications-toolbar { padding-inline: 10px; }
  .notifications-pager { align-items: flex-start; flex-direction: column; padding: 10px 12px; }
  .notifications-pager > div { width: 100%; }
  .notifications-pager > div .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .notification-item { transition: none; } }
