/* StockDivar /notifications.html — scoped UI refinement. No global layout changes. */
html.sd-notifications-v1-page {
  --sd-n-rule: rgba(119,137,155,.19);
  --sd-n-muted: #7a879a;
  --sd-n-ink: #202837;
  --sd-n-red: #bd2140;
  --sd-n-surface: var(--surface, var(--bg-card, transparent));
}
html.sd-notifications-v1-page .sd-notifications-v1-hide { display:none !important; }
html.sd-notifications-v1-page .sd-notifications-v1-hero {
  box-sizing:border-box !important;
  min-height:0 !important; height:auto !important; max-height:none !important;
  margin:0 0 15px !important; padding:0 0 13px !important;
  border:0 !important; border-bottom:1px solid var(--sd-n-rule) !important;
  border-radius:0 !important; box-shadow:none !important;
  background:transparent !important; background-image:none !important;
  overflow:visible !important; direction:rtl !important;
  display:flex !important; align-items:center !important; flex-wrap:wrap !important;
  gap:7px 15px !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-hero-inner {
  min-height:0 !important; height:auto !important; max-height:none !important;
  margin:0 !important; padding-top:0 !important; padding-bottom:0 !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-title {
  color:inherit !important; font-size:clamp(23px,2.3vw,30px) !important;
  font-weight:800 !important; line-height:1.55 !important;
  letter-spacing:-.45px !important; margin:0 !important; padding:0 !important;
  text-align:right !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-count {
  display:inline-flex !important; align-items:center !important;
  font-size:11px !important; font-weight:600 !important;
  color:var(--sd-n-muted) !important; line-height:1.6 !important;
  padding:4px 9px !important; border:1px solid var(--sd-n-rule) !important;
  border-radius:20px !important; white-space:nowrap !important;
  background:transparent !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-action {
  min-height:34px !important; height:auto !important; padding:7px 11px !important;
  border-radius:9px !important; font-size:12px !important;
  line-height:1.45 !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-tools {
  display:flex !important; flex-wrap:wrap !important; align-items:center !important;
  gap:7px !important; height:auto !important; min-height:0 !important;
  padding:0 !important; background:transparent !important;
  border:0 !important; border-radius:0 !important; box-shadow:none !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-tools button {
  min-height:33px !important; height:auto !important;
  padding:7px 11px !important; border-radius:9px !important;
  font-size:12px !important; line-height:1.4 !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-push-prompt {
  box-sizing:border-box !important; min-height:0 !important; height:auto !important;
  padding:12px 14px !important; margin:0 0 12px !important;
  border:1px solid var(--sd-n-rule) !important; border-radius:11px !important;
  background:transparent !important; box-shadow:none !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-push-prompt :is(h2,h3,h4) {
  font-size:13px !important; margin:0 0 4px !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-push-prompt :is(p,small) {
  font-size:11px !important; margin:0 !important; line-height:1.7 !important;
}
/* A tight 3 x 5 grid for up to 15 loaded notifications per page. */
html.sd-notifications-v1-page .sd-notifications-v1-list {
  box-sizing:border-box !important;
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  grid-auto-rows:minmax(130px,auto) !important;
  align-items:stretch !important;
  direction:rtl !important;
  gap:11px !important;
  min-width:0 !important; width:100% !important;
  min-height:0 !important; height:auto !important;
  margin:0 !important; padding:0 !important;
  background:transparent !important; background-image:none !important;
  box-shadow:none !important; border:0 !important; border-radius:0 !important;
  overflow:visible !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-list > .sd-notifications-v1-card {
  box-sizing:border-box !important;
  display:flex; flex-direction:column !important;
  position:relative !important; align-items:stretch !important;
  gap:6px !important;
  min-width:0 !important; max-width:100% !important; width:auto !important;
  min-height:130px !important; height:auto !important; max-height:none !important;
  margin:0 !important; padding:13px 14px 12px !important;
  border:1px solid var(--sd-n-rule) !important;
  border-radius:13px !important;
  background:var(--sd-n-surface) !important; background-image:none !important;
  box-shadow:none !important;
  text-align:right !important; direction:rtl !important;
  transition:border-color .16s ease, transform .16s ease !important;
  overflow-wrap:anywhere !important;
  overflow:visible !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-list > .sd-notifications-v1-card:hover {
  border-color:rgba(189,33,64,.35) !important;
  transform:translateY(-1px) !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-card::before {
  content:attr(data-sd-kind-label);
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  align-self:flex-start !important;
  font-family:inherit !important; font-size:10px !important; font-weight:700 !important;
  line-height:1.6 !important; color:var(--sd-n-red) !important;
  background:rgba(189,33,64,.075) !important; border-radius:30px !important;
  padding:2px 9px !important; margin:0 0 2px !important; pointer-events:none !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-card[data-sd-kind="message"]::before {
  color:#315f96 !important; background:rgba(61,120,181,.09) !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-card[data-sd-kind="payment"]::before {
  color:#987020 !important; background:rgba(192,147,30,.11) !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-card[data-sd-kind="warning"]::before {
  color:#ae511a !important; background:rgba(185,94,34,.10) !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-card :is(h2,h3,h4,strong,b) {
  font-size:13px !important; line-height:1.7 !important; font-weight:750 !important;
  margin:0 !important; color:inherit !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-card :is(p,small,time) {
  font-size:11.5px !important; line-height:1.75 !important;
  margin:0 !important; color:var(--sd-n-muted) !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-card :is(button,a) {
  max-width:100%; overflow-wrap:anywhere;
}
html.sd-notifications-v1-page .sd-notifications-v1-list > .sd-notifications-v1-card.sd-notifications-v1-offpage {
  display:none !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-pager {
  display:flex !important; flex-wrap:wrap !important;
  align-items:center !important; justify-content:center !important;
  direction:rtl !important; gap:6px !important;
  border:0 !important; background:transparent !important;
  padding:18px 0 10px !important; margin:0 !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-page-button {
  font:inherit !important; font-size:12px !important; font-weight:650 !important;
  background:transparent !important; color:inherit !important;
  border:1px solid var(--sd-n-rule) !important; border-radius:9px !important;
  min-width:35px !important; min-height:35px !important; padding:5px 10px !important;
  cursor:pointer !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-page-button[aria-current="page"] {
  color:white !important; background:var(--sd-n-red) !important;
  border-color:var(--sd-n-red) !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-page-button:disabled {
  opacity:.4 !important; cursor:default !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-page-button:focus-visible {
  outline:2px solid var(--sd-n-red) !important; outline-offset:2px !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-page-info {
  font-size:11px !important; color:var(--sd-n-muted) !important;
  padding-inline:7px !important;
}
html.sd-notifications-v1-page .sd-notifications-v1-empty {
  background:transparent !important; border:0 !important;
  box-shadow:none !important; min-height:0 !important;
  padding:28px 8px !important; margin:10px 0 !important;
  color:var(--sd-n-muted) !important; text-align:center !important;
}
@media(max-width:1050px) {
  html.sd-notifications-v1-page .sd-notifications-v1-list { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media(max-width:640px) {
  html.sd-notifications-v1-page .sd-notifications-v1-title {font-size:23px !important;}
  html.sd-notifications-v1-page .sd-notifications-v1-hero {margin-bottom:10px !important; padding-bottom:9px !important;}
  html.sd-notifications-v1-page .sd-notifications-v1-list {grid-template-columns:minmax(0,1fr) !important; gap:8px !important;}
  html.sd-notifications-v1-page .sd-notifications-v1-list > .sd-notifications-v1-card {min-height:108px !important; padding:12px 13px !important;}
  html.sd-notifications-v1-page .sd-notifications-v1-pager {gap:5px !important;}
  html.sd-notifications-v1-page .sd-notifications-v1-page-info {flex:1 0 100% !important; text-align:center !important;}
}
@media(prefers-reduced-motion:reduce) {
  html.sd-notifications-v1-page .sd-notifications-v1-list > .sd-notifications-v1-card {transition:none !important;}
}
