:root {
  --unipay-notification-cyan: #72ffe5;
  --unipay-notification-blue: #38bdf8;
  --unipay-notification-pink: #ff4f96;
  --unipay-notification-ink: #06121b;
  --unipay-notification-top-gap: calc(var(--unipay-menu-up-top, 14px) + var(--unipay-menu-up-height, 50px) + 14px);
  --unipay-notification-bottom-gap: calc(env(safe-area-inset-bottom, 0px) + 78px);
}

.unipay-notification-overlay {
  position: fixed;
  inset: 0;
  z-index: 100400;
  display: grid;
  place-items: center;
  padding: var(--unipay-notification-top-gap) 14px var(--unipay-notification-bottom-gap);
  background: rgba(0, 5, 10, .08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility 0s linear .24s;
}

.unipay-notification-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .2s ease, visibility 0s linear 0s;
}

html.unipay-notifications-open #unipay-universal-logout,
html.unipay-notifications-open #unipayImmersiveToggle,
html.unipay-notifications-open [data-unipay-fullscreen],
html.unipay-notifications-open #dashboardDebugBtn,
html.unipay-notifications-open .dashboard-debug-btn,
html.unipay-notifications-open #unipayPwaInstallButton,
html.unipay-notifications-open .unipay-mobile-install-button {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.unipay-notification-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: min(900px, calc(100vw - 28px));
  height: min(680px, calc(100vh - var(--unipay-notification-top-gap) - var(--unipay-notification-bottom-gap)));
  min-height: min(430px, calc(100vh - var(--unipay-notification-top-gap) - var(--unipay-notification-bottom-gap)));
  overflow: hidden;
  border: 1px solid rgba(114, 255, 229, .58);
  border-radius: 7px;
  color: #edffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), transparent 25%),
    rgba(3, 13, 22, .97);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .035) inset,
    0 0 28px rgba(56, 189, 248, .30),
    0 0 38px rgba(255, 79, 150, .13),
    0 24px 70px rgba(0, 0, 0, .55);
  transform: translateY(-8px) scaleY(.03);
  transform-origin: center top;
  opacity: 0;
  transition: transform .42s cubic-bezier(.2, .88, .28, 1), opacity .16s ease;
}

.unipay-notification-overlay.is-open .unipay-notification-panel {
  transform: translateY(0) scaleY(1);
  opacity: 1;
}

.unipay-notification-panel::before,
.unipay-notification-panel::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 18px;
  right: 18px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--unipay-notification-cyan), var(--unipay-notification-pink), transparent);
  animation: unipayNotificationRail 3.2s linear infinite;
}

.unipay-notification-panel::before { top: 1px; }
.unipay-notification-panel::after { bottom: 1px; opacity: .55; animation-direction: reverse; }

.unipay-notification-corner {
  position: absolute;
  z-index: 6;
  width: 24px;
  height: 24px;
  border-color: var(--unipay-notification-cyan);
  filter: drop-shadow(0 0 5px rgba(114, 255, 229, .72));
  pointer-events: none;
}

.unipay-notification-corner.top-left { top: 7px; left: 7px; border-top: 2px solid; border-left: 2px solid; }
.unipay-notification-corner.top-right { top: 7px; right: 7px; border-top: 2px solid; border-right: 2px solid; }
.unipay-notification-corner.bottom-left { bottom: 7px; left: 7px; border-bottom: 2px solid; border-left: 2px solid; }
.unipay-notification-corner.bottom-right { right: 7px; bottom: 7px; border-right: 2px solid; border-bottom: 2px solid; }

.unipay-notification-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 17px 20px 13px;
  border-bottom: 1px solid rgba(114, 255, 229, .15);
}

.unipay-notification-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.unipay-notification-heading-icon,
.unipay-notification-row-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(114, 255, 229, .34);
  color: var(--unipay-notification-cyan);
  background: rgba(114, 255, 229, .06);
  box-shadow: 0 0 13px rgba(56, 189, 248, .16) inset;
}

.unipay-notification-heading-icon {
  width: 42px;
  height: 42px;
  border-radius: 6px;
}

.unipay-notification-heading-icon svg,
.unipay-notification-row-icon svg,
.unipay-notification-icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.unipay-notification-title-block {
  min-width: 0;
}

.unipay-notification-title-block h2 {
  margin: 0;
  color: #f4ffff;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0;
}

.unipay-notification-title-block p {
  margin: 5px 0 0;
  overflow: hidden;
  color: rgba(217, 245, 246, .69);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unipay-notification-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.unipay-notification-icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(114, 255, 229, .28);
  border-radius: 5px;
  color: #dffffa;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.unipay-notification-icon-button:hover,
.unipay-notification-icon-button:focus-visible {
  border-color: rgba(114, 255, 229, .78);
  color: #fff;
  background: rgba(114, 255, 229, .12);
  box-shadow: 0 0 15px rgba(56, 189, 248, .26);
  outline: none;
}

.unipay-notification-icon-button.is-loading svg {
  animation: unipayNotificationSpin .8s linear infinite;
}

.unipay-notification-tabs {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 4px;
  min-width: 0;
  padding: 9px 20px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(114, 255, 229, .12);
  scrollbar-width: none;
}

.unipay-notification-tabs::-webkit-scrollbar { display: none; }

.unipay-notification-tab {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: rgba(222, 249, 249, .69);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  cursor: pointer;
}

.unipay-notification-tab:hover,
.unipay-notification-tab:focus-visible {
  color: #fff;
  border-color: rgba(114, 255, 229, .25);
  outline: none;
}

.unipay-notification-tab.is-active {
  color: #07161c;
  border-color: rgba(202, 255, 245, .9);
  background: linear-gradient(135deg, #b8fff1, #63ddff 62%, #ff83b5);
  box-shadow: 0 0 13px rgba(56, 189, 248, .30);
}

.unipay-notification-list {
  position: relative;
  z-index: 2;
  min-height: 0;
  padding: 10px 20px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(114, 255, 229, .46) rgba(255, 255, 255, .025);
  scrollbar-width: thin;
}

.unipay-notification-row {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  margin: 0 0 7px;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid rgba(173, 226, 226, .13);
  border-radius: 6px;
  color: inherit;
  background: rgba(255, 255, 255, .025);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.unipay-notification-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: transparent;
}

.unipay-notification-row.is-unread {
  border-color: rgba(114, 255, 229, .30);
  background: linear-gradient(90deg, rgba(56, 189, 248, .10), rgba(255, 255, 255, .025) 55%, rgba(255, 79, 150, .035));
}

.unipay-notification-row.is-unread::before {
  background: linear-gradient(180deg, var(--unipay-notification-cyan), var(--unipay-notification-pink));
  box-shadow: 0 0 9px rgba(114, 255, 229, .7);
}

.unipay-notification-row:hover,
.unipay-notification-row:focus-visible {
  border-color: rgba(114, 255, 229, .58);
  background-color: rgba(114, 255, 229, .075);
  box-shadow: 0 0 18px rgba(56, 189, 248, .14);
  transform: translateX(2px);
  outline: none;
}

.unipay-notification-row-icon {
  width: 42px;
  height: 42px;
  border-radius: 6px;
}

.unipay-notification-row[data-category="banking"] .unipay-notification-row-icon,
.unipay-notification-row[data-category="up"] .unipay-notification-row-icon {
  color: #ffd76f;
  border-color: rgba(255, 215, 111, .34);
  background: rgba(255, 215, 111, .06);
}

.unipay-notification-row-body { min-width: 0; }

.unipay-notification-row-body strong {
  display: block;
  overflow: hidden;
  color: #f3ffff;
  font-size: 13px;
  font-weight: 820;
  line-height: 1.3;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unipay-notification-row-body p {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  color: rgba(220, 244, 245, .72);
  font-size: 12px;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.unipay-notification-row-meta {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 6px;
  min-width: 74px;
  color: rgba(211, 237, 238, .56);
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.unipay-notification-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--unipay-notification-cyan);
  box-shadow: 0 0 8px rgba(114, 255, 229, .9);
}

.unipay-notification-state {
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 30px 18px;
  color: rgba(221, 247, 247, .72);
  text-align: center;
}

.unipay-notification-state > div { max-width: 440px; }
.unipay-notification-state strong { display: block; margin-bottom: 7px; color: #f2ffff; font-size: 16px; letter-spacing: 0; }
.unipay-notification-state p { margin: 0; font-size: 13px; line-height: 1.5; }

.unipay-notification-command {
  min-height: 36px;
  margin-top: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(114, 255, 229, .62);
  border-radius: 5px;
  color: #06161b;
  background: linear-gradient(135deg, #bafff2, #67defe);
  font: inherit;
  font-size: 12px;
  font-weight: 820;
  cursor: pointer;
}

.unipay-notification-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 8px 20px;
  border-top: 1px solid rgba(114, 255, 229, .12);
  color: rgba(211, 237, 238, .56);
  font-size: 11px;
  line-height: 1.3;
}

.unipay-notification-bank-state.is-warning { color: #ffd76f; }
.unipay-notification-bank-state.is-error { color: #ff92bb; }

@keyframes unipayNotificationRail {
  from { background-position: -260px 0; }
  to { background-position: 260px 0; }
}

@keyframes unipayNotificationSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 680px) {
  :root {
    --unipay-notification-top-gap: calc(var(--unipay-menu-up-top, 10px) + var(--unipay-menu-up-height, 46px) + 9px);
    --unipay-notification-bottom-gap: calc(env(safe-area-inset-bottom, 0px) + 70px);
  }

  .unipay-notification-overlay { padding-right: 7px; padding-left: 7px; }

  .unipay-notification-panel {
    width: calc(100vw - 14px);
    height: calc(100vh - var(--unipay-notification-top-gap) - var(--unipay-notification-bottom-gap));
    min-height: 0;
  }

  .unipay-notification-header {
    min-height: 67px;
    padding: 12px 12px 10px;
  }

  .unipay-notification-heading { gap: 9px; }
  .unipay-notification-heading-icon { width: 36px; height: 36px; }
  .unipay-notification-title-block h2 { font-size: 17px; }
  .unipay-notification-title-block p { max-width: 52vw; font-size: 11px; }
  .unipay-notification-header-actions { gap: 5px; }
  .unipay-notification-icon-button { width: 34px; min-width: 34px; height: 34px; }
  .unipay-notification-tabs { padding: 7px 11px; }
  .unipay-notification-tab { min-height: 32px; padding: 6px 10px; }
  .unipay-notification-list { padding: 8px 9px 12px; }

  .unipay-notification-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
    min-height: 68px;
    padding: 9px;
  }

  .unipay-notification-row-icon { width: 38px; height: 38px; }
  .unipay-notification-row-meta {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    justify-content: flex-start;
    min-width: 0;
    margin-top: -4px;
  }
  .unipay-notification-row-body p { -webkit-line-clamp: 1; }
  .unipay-notification-footer { min-height: 38px; padding: 7px 11px; }
}

@media (max-height: 560px) {
  .unipay-notification-panel { min-height: 0; }
  .unipay-notification-header { min-height: 58px; padding-top: 8px; padding-bottom: 8px; }
  .unipay-notification-heading-icon { width: 34px; height: 34px; }
  .unipay-notification-title-block p { display: none; }
  .unipay-notification-tabs { padding-top: 5px; padding-bottom: 5px; }
  .unipay-notification-footer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .unipay-notification-overlay,
  .unipay-notification-panel,
  .unipay-notification-row,
  .unipay-notification-panel::before,
  .unipay-notification-panel::after,
  .unipay-notification-icon-button svg {
    animation: none !important;
    transition-duration: .001ms !important;
  }
}

.unipay-notification-group-preview[hidden] { display: none !important; }
.unipay-notification-group-preview {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: var(--unipay-notification-top-gap) 18px var(--unipay-notification-bottom-gap);
  background: rgba(1, 8, 18, .58);
  backdrop-filter: none;
}
.unipay-notification-group-preview-card {
  width: min(520px, 100%);
  max-height: 100%;
  overflow: auto;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid rgba(114, 255, 229, .68);
  border-radius: 18px;
  color: #ecffff;
  background: linear-gradient(145deg, rgba(8, 32, 52, .98), rgba(7, 20, 43, .98));
  box-shadow: 0 0 32px rgba(56, 189, 248, .26), 0 24px 64px rgba(0, 0, 0, .45);
  animation: unipay-group-preview-enter .25s ease-out both;
}
.unipay-notification-guide-preview[hidden] { display: none !important; }
.unipay-notification-guide-card { width: min(660px, 100%); }
.unipay-notification-guide-card h3 { margin: 0 0 12px; font-size: clamp(18px, 3vw, 23px); }
.unipay-onboarding-guide-steps { display: grid; gap: 10px; max-height: min(44vh, 390px); overflow: auto; margin: 0 0 14px; padding: 2px 4px 2px 0; }
.unipay-onboarding-guide-step { padding: 12px 14px; border: 1px solid rgba(114, 255, 229, .22); border-radius: 12px; background: rgba(31, 91, 115, .2); }
.unipay-onboarding-guide-step h4 { margin: 0 0 6px; color: #eaffff; font-size: 15px; }
.unipay-onboarding-guide-step p { margin: 0; color: #b8e6ee; font-size: 14px; line-height: 1.5; }
.unipay-notification-group-preview-card h3 { margin: 0 0 12px; font-size: clamp(18px, 3vw, 23px); }
.unipay-notification-group-preview-card p { margin: 0 0 14px; line-height: 1.5; }
.unipay-notification-group-description { color: #b8e6ee; }
.unipay-notification-group-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.unipay-notification-group-actions button {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid rgba(114, 255, 229, .5);
  border-radius: 11px;
  color: #f4ffff;
  background: rgba(43, 136, 171, .26);
  cursor: pointer;
}
.unipay-notification-group-actions button:last-child { background: linear-gradient(120deg, #087e9a, #5a56c4); }
.unipay-notification-group-actions button:disabled { opacity: .55; cursor: not-allowed; }
@keyframes unipay-group-preview-enter { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .unipay-notification-group-preview { padding-inline: 12px; }
  .unipay-notification-group-actions { display: grid; grid-template-columns: 1fr; }
  .unipay-notification-group-actions button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .unipay-notification-group-preview-card { animation: none; } }


/* R?sum? de notification partag?, sans assombrir la page ni imposer une action. */
.unipay-notification-toast-host{position:fixed;z-index:100399;top:var(--unipay-notification-top-gap,calc(env(safe-area-inset-top,0px) + 70px));right:max(14px,env(safe-area-inset-right,0px));width:min(410px,calc(100vw - 24px));pointer-events:none}
.unipay-notification-toast-rail{position:absolute;left:-44px;top:20px;width:38px;height:2px;transform:scaleX(0);transform-origin:right center;background:linear-gradient(90deg,transparent,#ff9b38,#ffd38b);box-shadow:0 0 12px #ff9b38;opacity:0}
.unipay-notification-toast{position:relative;overflow:hidden;padding:13px 15px 12px;border:1px solid rgba(255,153,54,.9);border-radius:0;color:#f5fbff;background:rgba(7,13,20,.82);backdrop-filter:blur(16px) saturate(145%);box-shadow:0 0 0 1px rgba(255,217,161,.12) inset,0 0 24px rgba(255,133,31,.2),0 16px 42px rgba(0,0,0,.38);clip-path:polygon(0 0,calc(100% - 15px) 0,100% 15px,100% 100%,15px 100%,0 calc(100% - 15px));transform:translateX(18px) scaleX(.8);transform-origin:right center;opacity:0;transition:transform .36s cubic-bezier(.2,.85,.25,1),opacity .2s ease}
.unipay-notification-toast::before,.unipay-notification-toast::after{content:"";position:absolute;pointer-events:none;background:linear-gradient(90deg,transparent,#ffba64,#fff1d9,transparent);height:1px;left:13px;right:13px;opacity:.78}
.unipay-notification-toast::before{top:0}.unipay-notification-toast::after{bottom:0;opacity:.45}
.unipay-notification-toast-host.is-visible{pointer-events:auto}.unipay-notification-toast-host.is-visible .unipay-notification-toast{transform:translateX(0) scaleX(1);opacity:1}.unipay-notification-toast-host.is-visible .unipay-notification-toast-rail{animation:unipayToastRail .38s ease-out forwards}
.unipay-notification-toast header{display:flex;align-items:center;gap:8px;min-height:24px;color:#ffd39a;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.unipay-notification-toast-kind{flex:1}.unipay-notification-toast-date{color:#c4d0d9;font-size:10px;font-weight:650;letter-spacing:0;text-transform:none}
.unipay-notification-toast-dismiss{display:grid;place-items:center;width:25px;height:25px;padding:0;border:1px solid rgba(255,190,112,.42);border-radius:0;color:#ffe9ce;background:transparent;font:inherit;font-size:19px;line-height:1;cursor:pointer}
.unipay-notification-toast-title{display:block;margin:6px 24px 4px 0;color:#fff;font-size:14px;line-height:1.3;font-weight:850;overflow-wrap:anywhere}
.unipay-notification-toast-summary{min-height:2.7em;max-height:4.1em;margin:0;color:#d7e2e7;font-size:12px;line-height:1.45;overflow:hidden;overflow-wrap:anywhere}
.unipay-notification-toast footer{display:flex;justify-content:flex-end;margin-top:9px}
.unipay-notification-toast-open{min-height:30px;padding:5px 12px;border:1px solid rgba(255,172,83,.7);border-radius:0;color:#fff0dd;background:rgba(255,147,43,.13);font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.unipay-notification-toast button:focus-visible{outline:2px solid #ffe3bd;outline-offset:2px}
@keyframes unipayToastRail{0%{transform:scaleX(0);opacity:0}100%{transform:scaleX(1);opacity:1}}
@media(max-width:600px){.unipay-notification-toast-host{top:calc(env(safe-area-inset-top,0px) + 66px);left:12px;right:12px;width:auto}.unipay-notification-toast-rail{left:10px;top:-11px;transform-origin:left center}.unipay-notification-toast{padding:11px 12px 10px}.unipay-notification-toast-title{font-size:13px}.unipay-notification-toast-summary{font-size:11px}}
@media(prefers-reduced-motion:reduce){.unipay-notification-toast,.unipay-notification-toast-rail{animation:none!important;transition:none!important}.unipay-notification-toast-host.is-visible .unipay-notification-toast{transform:none}}

/* R012 : entrée immersive depuis la gauche et rail relié à la carte. */
.unipay-notification-toast-host{left:max(56px,calc(env(safe-area-inset-left,0px) + 56px));right:auto;width:min(410px,calc(100vw - 70px))}
.unipay-notification-toast-host .unipay-notification-toast{transform:translateX(-34px) scaleX(.82);transform-origin:left center}
.unipay-notification-toast-host .unipay-notification-toast-rail{left:-44px;top:22px;width:45px;height:2px;transform-origin:left center;background:linear-gradient(90deg,rgba(255,155,56,.2),#ff9b38,#ffe3ae);box-shadow:0 0 13px rgba(255,155,56,.86)}
@media(max-width:600px){.unipay-notification-toast-host{left:max(54px,calc(env(safe-area-inset-left,0px) + 54px));right:12px;width:auto}.unipay-notification-toast-host .unipay-notification-toast-rail{left:-42px;top:20px;width:43px}}

.unipay-notification-toast-host.is-visible .unipay-notification-toast{transform:translateX(0) scaleX(1);opacity:1}
.unipay-notification-toast-host.is-visible .unipay-notification-toast-rail{animation:unipayToastRail .38s ease-out forwards}

/* R013 : la carte mobile laisse de l’espace autour du rail. */
@media(max-width:600px){.unipay-notification-toast-host{left:max(56px,calc(env(safe-area-inset-left,0px) + 56px));right:auto;width:min(280px,calc(100vw - 86px))}.unipay-notification-toast-host .unipay-notification-toast-rail{left:-44px;width:45px}}

/* R014 : logos IA-UP alternés dans les notifications système. */
.unipay-notification-toast-ia-mark{display:none;position:relative;flex:0 0 30px;width:30px;height:30px;border:1px solid rgba(123,228,255,.7);border-radius:50%;overflow:hidden;background:radial-gradient(circle,#214268,#071427 72%);box-shadow:0 0 0 2px rgba(94,213,255,.1),0 0 13px rgba(68,190,255,.42)}
.unipay-notification-toast-host.is-system .unipay-notification-toast-ia-mark{display:block}
.unipay-notification-toast-ia-mark img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transform-origin:center}
.unipay-notification-toast-ia-mark img.is-emblem{animation:unipayToastAiEmblem 10s linear infinite}
.unipay-notification-toast-ia-mark img.is-agent{inset:0;width:100%;height:100%;object-fit:contain;object-position:center;opacity:0;animation:unipayToastAiAgent 10s linear infinite}
@keyframes unipayToastAiEmblem{0%,42%{opacity:1;transform:rotate(0deg) scale(1)}50%,92%{opacity:0;transform:rotate(180deg) scale(.88)}100%{opacity:1;transform:rotate(360deg) scale(1)}}
@keyframes unipayToastAiAgent{0%,44%{opacity:0;transform:scale(.96)}50%,94%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.96)}}
@media(prefers-reduced-motion:reduce){.unipay-notification-toast-ia-mark img{animation:none!important}.unipay-notification-toast-ia-mark img.is-emblem{opacity:0}.unipay-notification-toast-ia-mark img.is-agent{opacity:1}}

/* IA-UP : conversation didactique dans la notification systeme existante */
.unipay-notification-toast-host.is-operation .unipay-notification-toast{border-radius:16px;clip-path:none;border-color:#85dfe9;background:linear-gradient(135deg,#092131ed,#181e35ed)}.unipay-notification-toast-host.is-operation .unipay-notification-toast-summary{max-height:30dvh;overflow:auto;line-height:1.55}.unipay-notification-operation-choice{display:block;width:100%;min-height:44px;box-sizing:border-box;margin:12px 0 0;padding:10px;border:1px solid #79e4f055;border-radius:10px;background:#112a3d;color:#eafaff;font:inherit}.unipay-notification-operation-choice[hidden],.unipay-notification-operation-help[hidden]{display:none!important}.unipay-notification-toast-host.is-operation footer{gap:8px;flex-wrap:wrap}.unipay-notification-toast-host.is-operation button:disabled{opacity:.55;cursor:wait}

/* IA-UP R033: explicit answers, readable mobile header and model signature. */
.unipay-notification-operation-answers { display:flex; gap:10px; margin-top:12px; }
.unipay-notification-operation-answers[hidden],.unipay-notification-toast-open[hidden] { display:none!important; }
.unipay-notification-operation-answers button { min-height:44px; flex:1; padding:8px 16px; border:1px solid #80d9ec88; border-radius:12px; background:#163345; color:#effcff; font:inherit; font-weight:700; cursor:pointer; }
.unipay-notification-operation-answers button[data-answer="no"] { background:#25293d; border-color:#a18cdf88; }
.unipay-notification-operation-answers button[aria-pressed="true"] { border-color:#a2fff0; box-shadow:0 0 14px #41dac54a; }
.unipay-notification-toast-host.is-system .unipay-notification-toast-ia-mark { width:40px; height:40px; flex-basis:40px; }
.unipay-notification-model { display:none; margin-top:12px; text-align:center; color:#8395a3; font:500 10px/1.5 Inter,system-ui,sans-serif; letter-spacing:.04em; -webkit-text-stroke:.25px #56c7d99c; text-shadow:0 0 4px #44c9d933,0 0 10px #916dcd44; animation:unipayModelSmoke 8s ease-in-out infinite; pointer-events:none; }
.unipay-notification-toast-host.is-system .unipay-notification-model { display:block; }
@keyframes unipayModelSmoke { 0%,100% { -webkit-text-stroke-color:#56c7d99c; text-shadow:0 0 4px #44c9d933,0 0 10px #916dcd44; } 40% { -webkit-text-stroke-color:#bb98ddaa; text-shadow:0 0 5px #a77dde44,0 0 12px #499bbb44; } 70% { -webkit-text-stroke-color:#83cdb2a6; text-shadow:0 0 4px #63c7ac44,0 0 12px #ac82bc44; } }
@media(max-width:600px) { .unipay-notification-toast-host.is-system header { display:grid; grid-template-columns:40px minmax(0,1fr) 32px; grid-template-areas:"mark kind close" "mark date close"; column-gap:8px; row-gap:3px; } .unipay-notification-toast-host.is-system .unipay-notification-toast-ia-mark { grid-area:mark; } .unipay-notification-toast-host.is-system .unipay-notification-toast-kind { grid-area:kind; min-width:0; line-height:1.35; } .unipay-notification-toast-host.is-system .unipay-notification-toast-date { grid-area:date; justify-self:start; } .unipay-notification-toast-host.is-system .unipay-notification-toast-dismiss { grid-area:close; width:32px; height:36px; } }
@media(prefers-reduced-motion:reduce) { .unipay-notification-model { animation:none; } }

.unipay-notification-operation-help { min-height:36px; padding:7px 12px; border:1px solid #79d6e477; border-radius:10px; background:#173344; color:#d4eef5; font:inherit; font-size:11px; cursor:pointer; }

/* R034: one compact row for context actions. */
.unipay-notification-toast-host.is-operation footer{align-items:center;gap:6px;flex-wrap:nowrap}
.unipay-notification-toast-host .unipay-notification-operation-answers{margin:0;gap:6px;flex:0 0 auto}
.unipay-notification-toast-host .unipay-notification-operation-answers button{flex:0 0 auto;min-height:32px;padding:5px 10px;border-radius:8px;font-size:11px;line-height:1.2}
.unipay-notification-toast-host .unipay-notification-toast-open{min-height:32px;border-radius:8px;white-space:nowrap}
.unipay-notification-toast-host .unipay-notification-operation-help{display:inline-grid;place-items:center;flex:0 0 32px;width:32px;height:32px;min-height:32px;padding:0;border-radius:8px}
.unipay-notification-operation-help svg{display:block;width:18px;height:18px;pointer-events:none}

/* R054: opening navigation temporarily yields the toast's overlapping space.
   Keep its content, dismiss button and notification state intact. */
html.unipay-menu-up-open .unipay-notification-toast-host{
  visibility:hidden!important;
  pointer-events:none!important;
}


/* R134: the two IA-UP notification variants share index.html's viewport rail.
   Isolate the component from portal-wide section/header/footer typography. */
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host.unipay-notification-toast-host {
  box-sizing:border-box !important; position:fixed !important; z-index:2147483647 !important; margin:0 !important;
  left:calc(var(--unipay-shell-left,0px) + 56px) !important; right:auto !important;
  top:calc(var(--unipay-shell-top,0px) + 78px) !important; bottom:auto !important;
  width:min(410px,calc(var(--unipay-shell-width,100vw) - 70px)) !important;
  min-width:0 !important; max-width:calc(100vw - 70px) !important;
  height:auto !important; min-height:0 !important;
  max-height:max(100px,calc(var(--unipay-shell-height,100dvh) - 174px)) !important;
  transform:none !important; zoom:1 !important;
  font:400 12px/1.5 Inter,'Segoe UI',system-ui,sans-serif !important;
  text-align:left; letter-spacing:normal; writing-mode:horizontal-tb;
}
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host > section.unipay-notification-toast {
  box-sizing:border-box !important; position:relative !important; inset:auto !important;
  display:block !important; width:100% !important; min-width:0 !important; max-width:100% !important;
  height:auto !important; min-height:0 !important; max-height:inherit !important;
  margin:0 !important; padding:13px 15px 12px !important;
  overflow-x:hidden !important; overflow-y:auto !important; overscroll-behavior:contain;
  text-align:left !important; font:inherit !important;
}
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host > section.unipay-notification-toast > header {
  box-sizing:border-box !important; position:relative !important; inset:auto !important;
  display:grid !important; grid-template-columns:40px minmax(0,1fr) 32px !important;
  grid-template-areas:'mark kind close' 'mark date close' !important;
  align-items:center !important; gap:3px 8px !important;
  width:auto !important; min-width:0 !important; max-width:100% !important;
  height:auto !important; min-height:40px !important; margin:0 !important; padding:0 !important;
  transform:none !important; background:transparent !important; border:0 !important;
  border-radius:0 !important; box-shadow:none !important; backdrop-filter:none !important;
  color:#ffd39a !important; font:850 10px/1.35 Inter,'Segoe UI',system-ui,sans-serif !important;
  text-align:left !important; letter-spacing:.04em !important; text-transform:uppercase;
}
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host .unipay-notification-toast-ia-mark { box-sizing:border-box !important; grid-area:mark; width:40px !important; height:40px !important; margin:0 !important; }
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host .unipay-notification-toast-kind { grid-area:kind; min-width:0; align-self:end; overflow-wrap:normal; }
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host .unipay-notification-toast-date { grid-area:date; justify-self:start; align-self:start; font:650 10px/1.35 Inter,'Segoe UI',system-ui,sans-serif !important; white-space:nowrap; }
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host .unipay-notification-toast-dismiss {
  grid-area:close; position:static !important; width:32px !important; min-width:32px !important;
  height:36px !important; min-height:36px !important; margin:0 !important; padding:0 !important;
  display:grid !important; place-items:center !important; font:400 22px/1 system-ui !important;
}
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host .unipay-notification-toast-title {
  display:block !important; position:static !important; margin:8px 0 6px !important; padding:0 !important;
  font:850 14px/1.35 Inter,'Segoe UI',system-ui,sans-serif !important; color:#fff !important;
  text-align:left !important; letter-spacing:normal !important; text-transform:none !important;
}
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host .unipay-notification-toast-summary {
  display:block !important; position:static !important; margin:0 !important; padding:0 !important;
  font:400 12px/1.5 Inter,'Segoe UI',system-ui,sans-serif !important; color:#d7e2e7 !important;
  text-align:left !important; text-align-last:auto !important; letter-spacing:normal !important;
}
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host > section.unipay-notification-toast > footer {
  box-sizing:border-box !important; position:relative !important; inset:auto !important;
  display:flex !important; flex-direction:row !important; align-items:center !important; justify-content:flex-end !important;
  flex-wrap:wrap !important; gap:6px !important; width:auto !important; min-width:0 !important;
  height:auto !important; min-height:32px !important; margin:9px 0 0 !important; padding:0 !important;
  border:0 !important; background:transparent !important; box-shadow:none !important;
  transform:none !important; text-align:left !important; font:inherit !important;
}
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host .unipay-notification-operation-choice { max-width:100%; min-width:0; }
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host footer :is(.unipay-notification-toast-open,.unipay-notification-operation-help,.unipay-notification-operation-answers button) {
  box-sizing:border-box !important; flex:0 0 auto !important; width:auto !important; min-width:0 !important;
  max-width:100% !important; height:32px !important; min-height:32px !important;
  margin:0 !important; padding:5px 10px !important;
  font:700 11px/1.2 Inter,'Segoe UI',system-ui,sans-serif !important;
}
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host footer .unipay-notification-operation-help.unipay-notification-operation-help {
  width:32px !important; min-width:32px !important; padding:0 !important;
}
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host .unipay-notification-model {
  display:block !important; position:static !important; margin:12px 0 0 !important; padding:0 !important;
  width:auto !important; min-width:0 !important; max-width:100% !important; height:auto !important;
  font:500 10px/1.5 Inter,'Segoe UI',system-ui,sans-serif !important; color:#9eb9c9 !important;
  text-align:center !important; text-transform:none !important; letter-spacing:.02em !important;
}
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host:not(.is-system) .unipay-notification-model { display:none !important; }
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host.is-guide-lower.unipay-notification-toast-host { top:auto !important; bottom:96px !important; }
@media(max-width:600px) {
  html[class][class] aside#unipay-system-notification.unipay-notification-toast-host.unipay-notification-toast-host {
    top:calc(var(--unipay-shell-top,0px) + 66px) !important;
    width:min(280px,calc(var(--unipay-shell-width,100vw) - 86px)) !important;
    max-width:calc(100vw - 86px) !important;
    max-height:max(100px,calc(var(--unipay-shell-height,100dvh) - 162px)) !important;
  }
  html[class][class] aside#unipay-system-notification.unipay-notification-toast-host > section.unipay-notification-toast { padding:11px 12px 10px !important; }
  html[class][class] aside#unipay-system-notification.unipay-notification-toast-host .unipay-notification-toast-title { font-size:13px !important; }
  html[class][class] aside#unipay-system-notification.unipay-notification-toast-host .unipay-notification-toast-summary { font-size:11px !important; }
  html[class][class] aside#unipay-system-notification.unipay-notification-toast-host.is-guide-lower.unipay-notification-toast-host { top:auto !important; }
}

/* Context help leaves the operation header and its close command reachable. */
html[class][class] aside#unipay-system-notification.unipay-notification-toast-host.unipay-notification-toast-host.is-modal-guide{top:auto!important;bottom:max(84px,calc(env(safe-area-inset-bottom,0px) + 84px))!important;max-height:min(44dvh,340px)!important;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.unipay-notification-toast-host.is-modal-guide .unipay-bank-modal-guide-preference{font:500 10px/1.3 system-ui;border:1px solid #8bdde44d;border-radius:9px;padding:7px;background:#183448;color:#e2faff;white-space:normal}
