/* Shared notification surfaces: product React, legacy shell and OPS preview. */
.scop-notif-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.scop-notif-bell .app-topbar-icon { display: inline-flex; transform-origin: 50% 15%; }
.scop-notif-bell [hidden], .scop-notif-inbox [hidden] { display: none !important; }
.scop-notif-bell.is-ringing .app-topbar-icon { animation: scop-notif-ring .65s ease-in-out; }
.scop-notif-bell.is-ringing .app-topbar-badge { animation: scop-notif-badge .3s ease-out; }
.scop-notif-category-announcement, .scop-notif-category-other { --scop-notif-accent: #3669da; --scop-notif-soft: #edf3ff; }
.scop-notif-category-feature { --scop-notif-accent: #7954c5; --scop-notif-soft: #f2edfc; }
.scop-notif-category-improvement, .scop-notif-category-fix { --scop-notif-accent: #278568; --scop-notif-soft: #eaf6f0; }
.scop-notif-category-maintenance, .scop-notif-category-tip { --scop-notif-accent: #ac7628; --scop-notif-soft: #fcf4e5; }
.scop-notif-category-incident { --scop-notif-accent: #ce5656; --scop-notif-soft: #fceeee; }
.scop-notif-category-verification { --scop-notif-accent: #2f7d8c; --scop-notif-soft: #e9f5f7; }
.scop-notif-outcome-clean { --scop-notif-accent: #278568; --scop-notif-soft: #eaf6f0; }
.scop-notif-outcome-issues { --scop-notif-accent: #ac7628; --scop-notif-soft: #fcf4e5; }
.scop-notif-outcome-failed { --scop-notif-accent: #ce5656; --scop-notif-soft: #fceeee; }
.scop-notif-category-testing { --scop-notif-accent: #27829a; --scop-notif-soft: #eaf5f8; }
.scop-notif-severity-important { --scop-notif-accent: #b77531; --scop-notif-soft: #fcf3e8; }
.scop-notif-severity-urgent { --scop-notif-accent: #ce5656; --scop-notif-soft: #fceeee; }
.scop-notif-inbox {
  position: fixed; inset: var(--scop-notif-top, 64px) var(--scop-notif-right, 20px) auto auto;
  margin: 0; padding: 0; width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - var(--scop-notif-top, 64px) - 16px); overflow: hidden; box-sizing: border-box;
  color: #273448; background: #fff; border: 1px solid #e5eaf1; border-radius: 20px;
  box-shadow: 0 24px 70px #20314920, 0 4px 12px #20314908; font-family: inherit; font-size: 13px; text-align: left;
}
.scop-notif-inbox[open] { display: flex; flex-direction: column; animation: scop-notif-panel-in .22s cubic-bezier(.2,.8,.2,1); }
.scop-notif-inbox::backdrop { background: #1e293b16; animation: scop-notif-backdrop-in .2s ease-out; }
.scop-notif-inbox.is-closing { animation: scop-notif-panel-out .18s ease-in forwards; pointer-events: none; }
.scop-notif-inbox.is-closing::backdrop { background: transparent; transition: background .18s; }
.scop-notif-inbox-top { flex-shrink: 0; background: #fff; border-bottom: 1px solid #edf1f6; }
.scop-notif-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 20px 18px; }
.scop-notif-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.scop-notif-header-icon { width: 40px; height: 40px; border: 1px solid #e9edf4; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; color: #627389; background: #f9fafc; }
.scop-notif-header-icon svg { width: 21px; height: 21px; }
.scop-notif-header h2 { font-size: 17px; font-weight: 650; letter-spacing: -.025em; line-height: 1.4; margin: 0; color: #202e42; }
.scop-notif-status { margin: 3px 0 0; font-size: 11px; line-height: 1.5; color: #64748b; }
.scop-notif-action { border: 0; background: transparent; color: #64748b; cursor: pointer; padding: 7px 9px; border-radius: 8px; font: inherit; transition: background .15s, color .15s; }
.scop-notif-action:hover { background: #f2f5f9; color: #304257; }
.scop-notif-action:disabled { opacity: .4; cursor: default; }
.scop-notif-action:focus-visible, .scop-notif-row-toggle:focus-visible, .scop-notif-toast-content:focus-visible { outline: 2px solid #477cdb; outline-offset: -2px; }
.scop-notif-header-actions { display: flex; align-items: center; gap: 6px; }
.scop-notif-sound { font: inherit; font-size: 11px; color: #52749b; background: #f4f6fa; border: 1px solid #e3e9f1; border-radius: 8px; padding: 5px 6px; cursor: pointer; max-width: 128px; }
.scop-notif-sound:hover { background: #eef2f8; }
.scop-notif-sound:focus-visible { outline: 2px solid #477cdb; outline-offset: 1px; }
.scop-notif-panel-close { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; font-size: 23px; font-weight: 300; line-height: 1; }
.scop-notif-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 16px 12px 20px; }
.scop-notif-filters { display: flex; gap: 3px; padding: 3px; background: #f2f5f9; border-radius: 9px; }
.scop-notif-filters .scop-notif-action { font-size: 11px; padding: 6px 10px; font-weight: 550; }
.scop-notif-filters [aria-selected=true] { color: #31598d; background: #fff; box-shadow: 0 1px 3px #20314912; }
.scop-notif-bulk { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.scop-notif-clear-all { font-size: 10.5px; color: #8b6b6b; padding: 7px 6px; }
.scop-notif-clear-all.is-armed { color: #b91c1c; background: #fef2f2; }
.scop-notif-mark-all { font-size: 10.5px; color: #52749b; padding: 7px 6px; }
.scop-notif-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d9e1ec transparent; }
.scop-notif-group-title { margin: 0; padding: 16px 22px 9px; color: #68788d; font-size: 10px; line-height: 1.4; letter-spacing: .05em; font-weight: 600; }
.scop-notif-row { position: relative; background: #fff; margin: 0 8px 4px; border: 1px solid transparent; border-radius: 12px; transition: background .18s, border-color .18s; }
.scop-notif-row-dismiss { position: absolute; top: 9px; right: 7px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #94a3b8; font-size: 17px; line-height: 1; font-family: inherit; cursor: pointer; opacity: 0; transition: opacity .15s, background .15s, color .15s; }
.scop-notif-row:hover .scop-notif-row-dismiss, .scop-notif-row:focus-within .scop-notif-row-dismiss, .scop-notif-row-dismiss:focus-visible { opacity: 1; }
.scop-notif-row-dismiss:hover { background: #fee2e2; color: #b91c1c; }
.scop-notif-row-dismiss:focus-visible { outline: 2px solid #477cdb; outline-offset: 1px; }
@media (hover: none) { .scop-notif-row-dismiss { opacity: .75; } }
.scop-notif-row.is-dismissing { height: 0 !important; opacity: 0; transform: translateX(34px) scale(.98); margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; border-width: 0;
  transition: opacity .16s ease, transform .26s cubic-bezier(.4, 0, .2, 1), height .26s cubic-bezier(.4, 0, .2, 1) .06s, margin .26s ease .06s, padding .26s ease .06s; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .scop-notif-row.is-dismissing { transition: none; } }
.scop-notif-row.is-unread { background: #f8faff; }
.scop-notif-row.is-expanded { background: #f8fafc; border-color: #e9eef5; }
.scop-notif-row-toggle { position: relative; display: block; width: 100%; padding: 14px 40px 13px 12px; background: transparent; color: inherit; border: 0; border-radius: 11px; text-align: left; cursor: pointer; font: inherit; }
.scop-notif-row-toggle:hover { background: #edf2f75c; }
.scop-notif-card { display: flex; gap: 12px; align-items: flex-start; color: #26364a; }
.scop-notif-glyph { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 12px; color: var(--scop-notif-accent, #3669da); background: var(--scop-notif-soft, #edf3ff); }
.scop-notif-glyph svg { width: 19px; height: 19px; }
.scop-notif-copy { min-width: 0; flex: 1; }
.scop-notif-kind { display: block; font-size: 11px; font-weight: 550; color: #68788d; margin: 0 0 5px; line-height: 1.3; }
.scop-notif-title { display: block; font-size: 14px; font-weight: 650; letter-spacing: -.015em; line-height: 1.5; overflow-wrap: anywhere; }
.scop-notif-message { font-size: 13px; line-height: 1.65; margin: 5px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #64748b; }
.scop-notif-row-toggle .scop-notif-message, .scop-notif-toast-content .scop-notif-message { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.scop-notif-row-toggle .scop-notif-message { max-height: 65px; transition: max-height .18s ease, opacity .15s ease, margin .18s ease; }
.scop-notif-toast-content .scop-notif-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scop-notif-time { display: block; font-size: 11px; color: #68788d; margin: 7px 0 0 48px; }
.scop-notif-unread-dot { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #6791d8; top: 17px; right: 36px; }
.scop-notif-row.is-expanded .scop-notif-row-toggle .scop-notif-message { max-height: 0; opacity: 0; margin: 0; }
.scop-notif-expanded { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .18s ease, opacity .18s ease; }
.scop-notif-row.is-expanded .scop-notif-expanded { grid-template-rows: 1fr; opacity: 1; }
.scop-notif-expanded-inner { min-height: 0; overflow: hidden; }
.scop-notif-expanded-content { padding: 0 22px 18px 60px; }
.scop-notif-full { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.85; color: #5a6c81; margin: 0; }
.scop-notif-primary { margin-top: 14px; background: #edf3fc; color: #36649b; border: 1px solid #dbe6f5; text-decoration: none; padding: 8px 12px; border-radius: 8px; display: inline-block; font-size: 11px; }
.scop-notif-footer { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 14px; border-top: 1px solid #edf1f6; background: #fff; }
.scop-notif-footer .scop-notif-action { font-size: 11px; }
.scop-notif-pager { display: flex; align-items: center; gap: 3px; }
.scop-notif-range { color: #68788d; font-size: 10px; white-space: nowrap; }
.scop-notif-empty { text-align: center; padding: 46px 24px 52px; }
.scop-notif-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 20px; color: #9aa9bd; background: #f3f6fa; margin-bottom: 18px; }
.scop-notif-empty-icon svg { width: 26px; height: 26px; }
.scop-notif-empty h3 { margin: 0 0 8px; font-size: 13px; color: #516176; font-weight: 550; }
.scop-notif-empty p, .scop-notif-loading { margin: 0; font-size: 11px; line-height: 1.8; color: #68788d; }
.scop-notif-loading { padding: 32px 22px; }
.scop-notif-toasts { position: fixed; right: 24px; top: 78px; z-index: 20000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; width: min(380px, calc(100vw - 32px)); }
.scop-notif-toast-new { position: relative; pointer-events: auto; display: flex; align-items: flex-start; overflow: hidden; background: #fff; color: #26364a; border: 1px solid #e7ecf2; box-shadow: 0 10px 34px #20314914, 0 2px 7px #20314906; border-radius: 16px; animation: scop-notif-enter .25s cubic-bezier(.2,.8,.2,1); }
.scop-notif-toast-content { flex: 1; width: 100%; min-width: 0; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 18px 37px 20px 17px; text-align: left; font: inherit; }
.scop-notif-toast-content .scop-notif-title { font-size: 14px; }
.scop-notif-toast-close { position: absolute; right: 6px; top: 7px; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 300; line-height: 1; padding: 0; color: #97a3b2; }
.scop-notif-toast-new .scop-notif-glyph { animation: scop-notif-icon-in .36s ease-out; }
.scop-notif-toast-progress { position: absolute; height: 2px; left: 0; right: 0; bottom: 0; background: #f3f6fa; }
.scop-notif-toast-progress-bar { display: block; height: 100%; background: var(--scop-notif-accent, #3669da); opacity: .5; transform-origin: left; animation: scop-notif-countdown 7s linear forwards; }
.scop-notif-toast-new.is-leaving { animation: scop-notif-exit .18s ease-in forwards; pointer-events: none; }
@keyframes scop-notif-enter { from { opacity: 0; transform: translateY(-12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes scop-notif-exit { to { opacity: 0; transform: translateY(-6px) scale(.985); } }
@keyframes scop-notif-panel-in { from { opacity: 0; transform: translateY(-8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes scop-notif-panel-out { to { opacity: 0; transform: translateY(-6px) scale(.99); } }
@keyframes scop-notif-backdrop-in { from { background: transparent; } }
@keyframes scop-notif-countdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes scop-notif-icon-in { 0% { transform: scale(.88); } 65% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes scop-notif-ring { 0%,100% { transform: rotate(0); } 18% { transform: rotate(-12deg); } 38% { transform: rotate(10deg); } 57% { transform: rotate(-7deg); } 76% { transform: rotate(4deg); } }
@keyframes scop-notif-badge { from { transform: scale(.8); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .scop-notif-toast-new, .scop-notif-toast-new.is-leaving, .scop-notif-toast-new .scop-notif-glyph,
  .scop-notif-toast-progress-bar, .scop-notif-inbox[open], .scop-notif-inbox::backdrop,
  .scop-notif-bell.is-ringing .app-topbar-icon, .scop-notif-bell.is-ringing .app-topbar-badge { animation: none; }
  .scop-notif-row, .scop-notif-expanded, .scop-notif-row-toggle .scop-notif-message, .scop-notif-action { transition: none; }
}
@media (max-width: 600px) {
  .scop-notif-toasts { right: 16px; top: 68px; }
  .scop-notif-inbox { right: 16px; }
  .scop-notif-header { padding: 18px 16px 14px; }
  .scop-notif-filter-bar { padding-left: 16px; padding-right: 12px; }
  .scop-notif-mark-all { font-size: 10px; }
}
