/**
 * Dashboard module presentation.
 * Loaded only when a page registered to this module is active.
 * Keep all future module-only visual changes in this file.
 */
body.ppdo-module-dashboard { --ppdo-module-label: "Dashboard"; }
body.ppdo-module-dashboard .main > .topbar {
  position: relative;
  overflow: hidden;
}
body.ppdo-module-dashboard .main > .topbar::after {
  content: var(--ppdo-module-label);
  position: absolute;
  top: 10px;
  right: 16px;
  max-width: min(46vw, 300px);
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--violet) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.ppdo-module-dashboard .main .card {
  isolation: isolate;
}
@media (max-width: 720px) {
  body.ppdo-module-dashboard .main > .topbar::after { display: none; }
}


/* -------------------------------------------------------------------------
   PPDO Notification Bell Modal
   ------------------------------------------------------------------------- */
body.ppdo-module-dashboard .tracker-alert-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1250;
}
body.ppdo-module-dashboard .tracker-alert-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px 10px 15px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: linear-gradient(135deg, #075985, #087da8);
  color: #fff;
  box-shadow: 0 12px 30px rgba(6, 68, 97, .28);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
body.ppdo-module-dashboard .tracker-alert-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(6, 68, 97, .34);
  filter: brightness(1.04);
}
body.ppdo-module-dashboard .tracker-alert-btn:focus-visible {
  outline: 3px solid rgba(255, 196, 0, .58);
  outline-offset: 3px;
}
body.ppdo-module-dashboard .tracker-alert-icon { font-size: 20px; line-height: 1; }
body.ppdo-module-dashboard .tracker-alert-label { line-height: 1; }
body.ppdo-module-dashboard .tracker-alert-count {
  min-width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #d92936;
  color: #fff;
  border: 2px solid rgba(255,255,255,.9);
  font-size: 11px;
  line-height: 1;
}
body.ppdo-module-dashboard .tracker-alert-btn.blink .tracker-alert-icon {
  animation: ppdoBellRing 2.4s ease-in-out infinite;
  transform-origin: 50% 5%;
}
@keyframes ppdoBellRing {
  0%, 78%, 100% { transform: rotate(0); }
  82% { transform: rotate(10deg); }
  86% { transform: rotate(-9deg); }
  90% { transform: rotate(7deg); }
  94% { transform: rotate(-5deg); }
}
body.ppdo-module-dashboard .ppdo-notification-modal {
  z-index: 20000 !important;
  padding: 18px;
  align-items: center;
  justify-content: center;
  background: rgba(4, 24, 39, .60);
  backdrop-filter: blur(4px);
}
body.ppdo-module-dashboard .ppdo-notification-modal[hidden] { display: none !important; }
body.ppdo-module-dashboard .ppdo-notification-modal.ppdo-notification-open,
body.ppdo-module-dashboard .ppdo-notification-modal.show,
body.ppdo-module-dashboard .ppdo-notification-modal.active { display: flex !important; }
body.ppdo-module-dashboard .ppdo-notification-modal-card {
  width: min(760px, 96vw);
  max-width: 760px;
  height: min(760px, calc(100vh - 36px));
  max-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #cbdde8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 25px 75px rgba(1, 31, 49, .34);
}
body.ppdo-module-dashboard .ppdo-notification-modal-header {
  flex: 0 0 auto;
  min-height: 95px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 22px 17px;
  border-bottom: 1px solid #dce8ef;
  background: linear-gradient(180deg, #ffffff, #f6fafc);
}
body.ppdo-module-dashboard .ppdo-notification-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #087aa5;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
}
body.ppdo-module-dashboard .ppdo-notification-modal-header h3 {
  margin: 0;
  color: #0c304d;
  font-size: 24px;
  line-height: 1.15;
}
body.ppdo-module-dashboard .ppdo-notification-modal-header p {
  margin: 5px 0 0;
  color: #667f90;
  font-size: 13px;
}
body.ppdo-module-dashboard .ppdo-notification-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.ppdo-module-dashboard .ppdo-notification-close {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex: 0 0 39px;
  border: 1px solid #cbdde8;
  border-radius: 50%;
  background: #fff;
  color: #173b55;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  transition: background .16s ease, transform .16s ease;
}
body.ppdo-module-dashboard .ppdo-notification-close:hover {
  background: #edf5f9;
  transform: rotate(4deg);
}
body.ppdo-module-dashboard .ppdo-notification-controls {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(230px, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-bottom: 1px solid #dce8ef;
  background: #f8fbfd;
}
body.ppdo-module-dashboard .ppdo-notification-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid #cbdde8;
  border-radius: 11px;
  background: #fff;
}
body.ppdo-module-dashboard .ppdo-notification-tabs button {
  min-height: 34px;
  padding: 7px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4e6a7c;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}
body.ppdo-module-dashboard .ppdo-notification-tabs button span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  margin-left: 4px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #e7f0f5;
  font-size: 10px;
}
body.ppdo-module-dashboard .ppdo-notification-tabs button.active {
  background: #0c466b;
  color: #fff;
}
body.ppdo-module-dashboard .ppdo-notification-tabs button.active span {
  background: rgba(255,255,255,.2);
}
body.ppdo-module-dashboard .ppdo-notification-search input {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px 9px 38px;
  border: 1px solid #c7d9e5;
  border-radius: 10px;
  background: #fff;
  color: #18374e;
}
body.ppdo-module-dashboard .ppdo-notification-search input:focus {
  outline: none;
  border-color: #1683ac;
  box-shadow: 0 0 0 3px rgba(22,131,172,.12);
}
body.ppdo-module-dashboard .ppdo-notification-modal-body {
  flex: 1 1 auto;
  min-height: 180px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 7px 0;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: #8fb0c3 #eef4f7;
}
body.ppdo-module-dashboard .ppdo-notification-modal-body::-webkit-scrollbar { width: 10px; }
body.ppdo-module-dashboard .ppdo-notification-modal-body::-webkit-scrollbar-track { background: #eef4f7; }
body.ppdo-module-dashboard .ppdo-notification-modal-body::-webkit-scrollbar-thumb {
  border: 2px solid #eef4f7;
  border-radius: 999px;
  background: #8fb0c3;
}
body.ppdo-module-dashboard .ppdo-notification-item {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin: 0 10px;
  padding: 14px 12px;
  border-bottom: 1px solid #e5edf2;
  border-radius: 11px;
  transition: background .14s ease;
}
body.ppdo-module-dashboard .ppdo-notification-item:hover { background: #f3f8fb; }
body.ppdo-module-dashboard .ppdo-notification-item[hidden] { display: none !important; }
body.ppdo-module-dashboard .ppdo-notification-item.unread { background: #eef8ff; }
body.ppdo-module-dashboard .ppdo-notification-item.unread:hover { background: #e6f4fd; }
body.ppdo-module-dashboard .ppdo-notification-state {
  width: 8px;
  height: 8px;
  align-self: flex-start;
  margin-top: 7px;
  border-radius: 50%;
  background: #aabac4;
}
body.ppdo-module-dashboard .ppdo-notification-item.unread .ppdo-notification-state {
  background: #0783b1;
  box-shadow: 0 0 0 4px rgba(7,131,177,.12);
}
body.ppdo-module-dashboard .ppdo-notification-copy { min-width: 0; }
body.ppdo-module-dashboard .ppdo-notification-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.ppdo-module-dashboard .ppdo-notification-item-head strong {
  min-width: 0;
  color: #103650;
  font-size: 14px;
  line-height: 1.35;
}
body.ppdo-module-dashboard .ppdo-notification-new,
body.ppdo-module-dashboard .ppdo-notification-read {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}
body.ppdo-module-dashboard .ppdo-notification-new { background: #dff3ff; color: #006891; }
body.ppdo-module-dashboard .ppdo-notification-read { background: #eef2f4; color: #6c7e89; }
body.ppdo-module-dashboard .ppdo-notification-item p {
  margin: 5px 0 7px;
  color: #526b7c;
  font-size: 12.5px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.ppdo-module-dashboard .ppdo-notification-meta {
  color: #8294a0;
  font-size: 10.5px;
}
body.ppdo-module-dashboard .ppdo-notification-open { white-space: nowrap; }
body.ppdo-module-dashboard .ppdo-notification-empty {
  min-height: 260px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  padding: 28px;
  color: #758b99;
  text-align: center;
}
body.ppdo-module-dashboard .ppdo-notification-empty[hidden] { display: none !important; }
body.ppdo-module-dashboard .ppdo-notification-empty > span { font-size: 32px; }
body.ppdo-module-dashboard .ppdo-notification-empty strong {
  color: #36566c;
  font-size: 15px;
}
body.ppdo-module-dashboard .ppdo-notification-empty p {
  margin: 0;
  font-size: 12px;
}
body.ppdo-module-dashboard .ppdo-notification-modal-footer {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 22px;
  border-top: 1px solid #dce8ef;
  background: #f8fbfd;
}
body.ppdo-module-dashboard .ppdo-notification-modal-footer span {
  color: #6e8492;
  font-size: 11px;
}
body.ppdo-module-dashboard.ppdo-notification-modal-open { overflow: hidden; }
body.ppdo-module-dashboard .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 720px) {
  body.ppdo-module-dashboard .tracker-alert-float { right: 14px; bottom: 14px; }
  body.ppdo-module-dashboard .tracker-alert-btn { min-height: 45px; padding: 9px 10px; }
  body.ppdo-module-dashboard .tracker-alert-label { display: none; }
  body.ppdo-module-dashboard .ppdo-notification-modal { padding: 0; align-items: stretch; }
  body.ppdo-module-dashboard .ppdo-notification-modal-card {
    width: 100vw; max-width: none; height: 100dvh; max-height: 100dvh;
    border: 0; border-radius: 0;
  }
  body.ppdo-module-dashboard .ppdo-notification-modal-header { min-height: auto; padding: 15px; }
  body.ppdo-module-dashboard .ppdo-notification-modal-header h3 { font-size: 20px; }
  body.ppdo-module-dashboard .ppdo-notification-header-actions .btn { display: none; }
  body.ppdo-module-dashboard .ppdo-notification-controls { grid-template-columns: 1fr; padding: 10px 15px; }
  body.ppdo-module-dashboard .ppdo-notification-tabs { width: 100%; }
  body.ppdo-module-dashboard .ppdo-notification-tabs button { flex: 1; }
  body.ppdo-module-dashboard .ppdo-notification-item {
    grid-template-columns: 8px minmax(0, 1fr); gap: 10px; margin: 0 6px; padding: 13px 9px;
  }
  body.ppdo-module-dashboard .ppdo-notification-open { grid-column: 2; justify-self: start; }
  body.ppdo-module-dashboard .ppdo-notification-modal-footer {
    padding: 11px 15px calc(11px + env(safe-area-inset-bottom));
  }
  body.ppdo-module-dashboard .ppdo-notification-modal-footer span { display: none; }
  body.ppdo-module-dashboard .ppdo-notification-modal-footer .btn { width: 100%; text-align: center; }
}

/* ================================================================
   Notification bell detail modal — 2026-08-03
   ================================================================ */
body.ppdo-module-dashboard .ppdo-notification-modal-card {
  width: min(980px, 96vw);
  max-width: 980px;
}
body.ppdo-module-dashboard .ppdo-notification-content {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  overflow: hidden;
  background: #fff;
}
body.ppdo-module-dashboard .ppdo-notification-modal-body {
  min-width: 0;
  min-height: 0;
  border-right: 1px solid #dce8ef;
}
body.ppdo-module-dashboard .ppdo-notification-item {
  display: block;
  margin: 0 8px;
  padding: 0;
  border: 1px solid transparent;
  border-bottom-color: #e5edf2;
  overflow: hidden;
}
body.ppdo-module-dashboard .ppdo-notification-item.selected {
  border-color: #1492bd;
  background: #eef8ff;
  box-shadow: 0 0 0 3px rgba(20,146,189,.10);
}
body.ppdo-module-dashboard .ppdo-notification-item-main {
  width: 100%;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 14px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
body.ppdo-module-dashboard .ppdo-notification-item-main:focus-visible {
  outline: 3px solid rgba(20,146,189,.28);
  outline-offset: -3px;
}
body.ppdo-module-dashboard .ppdo-notification-preview {
  display: -webkit-box;
  margin: 5px 0 7px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #526b7c;
  font-size: 12.5px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
body.ppdo-module-dashboard .ppdo-notification-chevron {
  color: #6d8798;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}
body.ppdo-module-dashboard .ppdo-notification-detail-panel {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 22px;
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 55%);
  color: #18374e;
}
body.ppdo-module-dashboard .ppdo-notification-detail-panel[hidden] {
  display: none !important;
}
body.ppdo-module-dashboard .ppdo-notification-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
body.ppdo-module-dashboard .ppdo-notification-detail-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf2f4;
  color: #526b7c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
body.ppdo-module-dashboard .ppdo-notification-detail-status.is-unread {
  background: #dff3ff;
  color: #006891;
}
body.ppdo-module-dashboard .ppdo-notification-detail-status.is-read {
  background: #e7f6ea;
  color: #23713b;
}
body.ppdo-module-dashboard .ppdo-notification-detail-back {
  display: none;
  padding: 6px 9px;
  border: 1px solid #cbdde8;
  border-radius: 8px;
  background: #fff;
  color: #173b55;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
body.ppdo-module-dashboard .ppdo-notification-detail-panel h4 {
  margin: 0 0 10px;
  color: #0c304d;
  font-size: 22px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
body.ppdo-module-dashboard .ppdo-notification-detail-panel h4:focus {
  outline: none;
}
body.ppdo-module-dashboard .ppdo-notification-detail-meta {
  display: grid;
  gap: 4px;
  padding-bottom: 15px;
  border-bottom: 1px solid #dce8ef;
  color: #708694;
  font-size: 11px;
}
body.ppdo-module-dashboard .ppdo-notification-detail-message {
  margin: 18px 0;
  padding: 15px;
  border: 1px solid #dce8ef;
  border-radius: 13px;
  background: #fff;
  color: #334e60;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
body.ppdo-module-dashboard .ppdo-notification-detail-open {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  text-align: center;
  text-decoration: none;
}
body.ppdo-module-dashboard .ppdo-notification-detail-open[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  body.ppdo-module-dashboard .ppdo-notification-content {
    display: block;
    overflow-y: auto;
  }
  body.ppdo-module-dashboard .ppdo-notification-modal-body {
    max-height: 48dvh;
    border-right: 0;
    border-bottom: 1px solid #dce8ef;
  }
  body.ppdo-module-dashboard .ppdo-notification-detail-panel {
    min-height: 42dvh;
    padding: 18px 15px calc(20px + env(safe-area-inset-bottom));
  }
  body.ppdo-module-dashboard .ppdo-notification-detail-back {
    display: inline-flex;
  }
  body.ppdo-module-dashboard .ppdo-notification-item-main {
    grid-template-columns: 8px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 13px 9px;
  }
  body.ppdo-module-dashboard .ppdo-notification-detail-panel h4 {
    font-size: 19px;
  }
}

/* PPDO MIS mobile-style live notification banner */
body.ppdo-module-dashboard .ppdo-live-notification-banner {
  position: fixed;
  top: 88px;
  right: 22px;
  z-index: 2147482500;
  width: min(430px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  border: 1px solid rgba(12, 85, 119, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  color: #102a43;
  box-shadow: 0 20px 52px rgba(3, 38, 59, .28), 0 4px 12px rgba(3, 38, 59, .12);
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, -24px, 0) scale(.98);
  pointer-events: none;
  transition: opacity .24s ease, transform .28s cubic-bezier(.22,.8,.28,1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body.ppdo-module-dashboard .ppdo-live-notification-banner[hidden] {
  display: none !important;
}
body.ppdo-module-dashboard .ppdo-live-notification-banner.show {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}
body.ppdo-module-dashboard .ppdo-live-notification-main {
  min-width: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 15px 8px 16px 15px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
body.ppdo-module-dashboard .ppdo-live-notification-main:hover,
body.ppdo-module-dashboard .ppdo-live-notification-main:focus-visible {
  background: #f2f9fc;
  outline: none;
}
body.ppdo-module-dashboard .ppdo-live-notification-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #0d7ca7, #075a80);
  box-shadow: 0 8px 18px rgba(7, 90, 128, .25);
  font-size: 23px;
}
body.ppdo-module-dashboard .ppdo-live-notification-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}
body.ppdo-module-dashboard .ppdo-live-notification-label-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
body.ppdo-module-dashboard .ppdo-live-notification-label {
  min-width: 0;
  color: #08759e;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.ppdo-module-dashboard .ppdo-live-notification-count {
  flex: 0 0 auto;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #d9293f;
  color: #fff;
  box-shadow: 0 3px 9px rgba(179, 25, 48, .25);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}
body.ppdo-module-dashboard .ppdo-live-notification-copy strong {
  color: #0b2a52;
  font-size: 15px;
  line-height: 1.28;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.ppdo-module-dashboard .ppdo-live-notification-message {
  color: #36566b;
  font-size: 13px;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.ppdo-module-dashboard .ppdo-live-notification-copy time {
  color: #6b7f8d;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}
body.ppdo-module-dashboard .ppdo-live-notification-dismiss {
  align-self: start;
  width: 32px;
  height: 32px;
  margin: 7px 6px 0 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5b7080;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
body.ppdo-module-dashboard .ppdo-live-notification-dismiss:hover,
body.ppdo-module-dashboard .ppdo-live-notification-dismiss:focus-visible {
  background: #e7f2f7;
  color: #0b2a52;
  outline: none;
}
body.ppdo-module-dashboard .ppdo-live-notification-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #f8c339, #0b84b0);
  transform-origin: left center;
  transform: scaleX(1);
}
body.ppdo-module-dashboard .ppdo-live-notification-banner.show .ppdo-live-notification-progress {
  transform: scaleX(1);
}

@media (max-width: 760px) {
  body.ppdo-module-dashboard .ppdo-live-notification-banner {
    top: max(10px, env(safe-area-inset-top));
    left: 10px;
    right: 10px;
    width: auto;
    border-radius: 17px;
    grid-template-columns: minmax(0, 1fr) 36px;
  }
  body.ppdo-module-dashboard .ppdo-live-notification-main {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 5px 14px 12px;
  }
  body.ppdo-module-dashboard .ppdo-live-notification-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 21px;
  }
  body.ppdo-module-dashboard .ppdo-live-notification-copy strong {
    font-size: 14px;
  }
  body.ppdo-module-dashboard .ppdo-live-notification-message {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ppdo-module-dashboard .ppdo-live-notification-banner {
    transition: none;
  }
}


/* Per-notification close controls — 2026-08-04 */
body.ppdo-module-dashboard .ppdo-notification-item {
  display: grid;
  grid-template-columns: minmax(0,1fr) 38px;
  align-items: stretch;
}
body.ppdo-module-dashboard .ppdo-notification-item-main { min-width: 0; }
body.ppdo-module-dashboard .ppdo-notification-item-dismiss {
  align-self: center;
  justify-self: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d5e2e9;
  border-radius: 9px;
  background: #fff;
  color: #647b8a;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
body.ppdo-module-dashboard .ppdo-notification-item-dismiss:hover,
body.ppdo-module-dashboard .ppdo-notification-item-dismiss:focus-visible {
  border-color: #efb5b5;
  background: #fff1f1;
  color: #b42318;
  transform: scale(1.04);
  outline: none;
}
body.ppdo-module-dashboard .ppdo-notification-item.is-dismissing {
  opacity: .55;
  pointer-events: none;
}
body.ppdo-module-dashboard .ppdo-notification-detail-actions {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 9px;
  align-items: stretch;
}
body.ppdo-module-dashboard .ppdo-notification-detail-actions .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body.ppdo-module-dashboard .ppdo-notification-detail-dismiss {
  border-color: #e4c7c7 !important;
  color: #9f2525 !important;
  white-space: nowrap;
}
body.ppdo-module-dashboard .ppdo-notification-detail-dismiss:hover {
  background: #fff1f1 !important;
  border-color: #e6a6a6 !important;
}
@media (max-width: 760px) {
  body.ppdo-module-dashboard .ppdo-notification-item { grid-template-columns: minmax(0,1fr) 34px; }
  body.ppdo-module-dashboard .ppdo-notification-item-dismiss { width: 28px; height: 28px; min-width: 28px; }
  body.ppdo-module-dashboard .ppdo-notification-detail-actions { grid-template-columns: 1fr; }
  body.ppdo-module-dashboard .ppdo-notification-detail-actions .btn { width: 100%; }
}
