/* Shared ERP feedback: pale green success notice, matching the supplied reference. */
.erp-auth-feedback,
.lc-toast,
#pm-toast,
.oef-toast{
  position:fixed!important;
  inset:auto!important;
  top:24px!important;
  left:50%!important;
  right:auto!important;
  bottom:auto!important;
  z-index:2147483646!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:max-content!important;
  max-width:calc(100vw - 32px)!important;
  min-height:54px!important;
  padding:14px 18px!important;
  border:1px solid #bffcd9!important;
  border-radius:12px!important;
  background:#ecfdf3!important;
  color:#008a2e!important;
  box-shadow:0 6px 22px rgba(36,60,85,.10),0 2px 5px rgba(36,60,85,.04)!important;
  font:500 14px/1.5 "Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif!important;
  pointer-events:none!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.erp-auth-feedback{
  margin:0!important;
  overflow:visible!important;
  opacity:0;
  transform:translate(-50%,-10px)!important;
  transition:opacity .18s ease,transform .18s ease!important;
}
.erp-auth-feedback.is-visible{opacity:1;transform:translate(-50%,0)!important}
.erp-auth-feedback[hidden],
.erp-auth-feedback[popover]:not(:popover-open),
html body.erp-system-ui #toast[hidden],
html body.erp-system-ui #copyToast[hidden],
#pm-toast[hidden]{display:none!important}
.erp-auth-feedback::backdrop{background:transparent;pointer-events:none}
.erp-auth-feedback .erp-auth-feedback-close{
  appearance:none!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 28px!important;
  width:28px!important;
  height:28px!important;
  min-height:0!important;
  padding:0!important;
  margin:-4px -6px -4px 0!important;
  border:0!important;
  border-radius:6px!important;
  background:transparent!important;
  color:inherit!important;
  box-shadow:none!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  opacity:.65;
}
.erp-auth-feedback .erp-auth-feedback-close:hover{background:var(--erp-hover,rgba(127,127,127,.12))!important;opacity:1}
.erp-auth-feedback .erp-auth-feedback-close:focus-visible{outline:2px solid var(--erp-primary,#20aec2)!important;outline-offset:2px;opacity:1}
.erp-auth-feedback-close svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.erp-auth-feedback-icon,
.lc-toast::before,
#pm-toast::before,
.oef-toast::before{
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
  border:1.5px solid currentColor!important;
  background:transparent!important;
  color:inherit!important;
  font:700 14px/1 Arial,sans-serif!important;
}
.erp-auth-feedback-icon svg{display:block;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.erp-auth-feedback.is-error,
.lc-toast.lc-error,
.oef-toast.bad{border-color:#f4c7c7!important;background:#fff1f1!important;color:#b42318!important}
.erp-auth-feedback.is-error .erp-auth-feedback-icon{background:transparent!important;color:inherit!important}
.erp-auth-feedback.is-error .erp-auth-feedback-icon::before{content:'!';font-weight:800}
.erp-auth-feedback.is-error .erp-auth-feedback-icon svg{display:none}
.lc-toast::before,#pm-toast::before,.oef-toast::before{content:'✓'}
.lc-toast.lc-error::before,.oef-toast.bad::before{content:'!';background:transparent!important;color:inherit!important}
.erp-auth-feedback .erp-auth-feedback-text{min-width:0;font:inherit!important;color:inherit!important}
/* Override the ERP's older global compact-text rules for this notice only. */
html body.erp-system-ui :is(#erpAuthFeedback,.lc-toast,#pm-toast,.oef-toast),
html body.erp-system-ui #erpAuthFeedback .erp-auth-feedback-text{font-size:14px!important;line-height:1.5!important}
.lc-toast,.oef-toast,#pm-toast{transform:translate(-50%,0)!important}
html body.erp-system-ui #toast,
html body.erp-system-ui #copyToast{
  position:fixed!important;
  inset:auto!important;
  top:24px!important;
  left:50%!important;
  right:auto!important;
  bottom:auto!important;
  z-index:2147483646!important;
  max-width:calc(100vw - 32px)!important;
  box-sizing:border-box!important;
  min-height:54px!important;
  padding:14px 18px 14px 50px!important;
  border:1px solid #bffcd9!important;
  border-radius:12px!important;
  background:#ecfdf3!important;
  color:#008a2e!important;
  box-shadow:0 6px 22px rgba(36,60,85,.10),0 2px 5px rgba(36,60,85,.04)!important;
  font:500 14px/1.5 "Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif!important;
  transform:translate(-50%,-10px)!important;
  opacity:0;
  transition:opacity .18s ease,transform .18s ease!important;
}
html body.erp-system-ui #toast.is-visible,html body.erp-system-ui #copyToast.show{opacity:1;transform:translate(-50%,0)!important}
html body.erp-system-ui #toast::before,html body.erp-system-ui #copyToast .copy-toast-icon{content:'✓';position:absolute;left:18px;top:50%;transform:translateY(-50%);box-sizing:border-box;width:20px;height:20px;border:1.5px solid currentColor!important;border-radius:50%;display:grid;place-items:center;background:transparent!important;color:inherit!important;font:700 14px/1 Arial,sans-serif}
html body.erp-system-ui #toast.err{border-color:#f4c7c7!important;background:#fff1f1!important;color:#b42318!important}
html body.erp-system-ui #toast.err::before{content:'!'}
@layer erpColorMode.overrides {
  html[data-erp-mode="dark"] body.erp-system-ui :is(.erp-auth-feedback,#toast,#copyToast,.lc-toast,#pm-toast,.oef-toast){background:#142a1c!important;color:#7ae1a0!important;border-color:#315b3e!important}
  html[data-erp-mode="dark"] body.erp-system-ui :is(.erp-auth-feedback.is-error,#toast.err,.lc-toast.lc-error,.oef-toast.bad){background:#321c1c!important;color:#f1aaa3!important;border-color:#663b3b!important}
  html[data-erp-mode="dark"] body.erp-system-ui :is(.erp-auth-feedback-icon,#copyToast .copy-toast-icon),
  html[data-erp-mode="dark"] body.erp-system-ui :is(#toast,.lc-toast,#pm-toast,.oef-toast)::before{background:transparent!important;color:inherit!important}
  html[data-erp-mode="dark"] body.erp-system-ui #erpAuthFeedback .erp-auth-feedback-text{color:inherit!important}
}
@media(max-width:640px){
  .erp-auth-feedback,.lc-toast,#pm-toast,.oef-toast,html body.erp-system-ui #toast,html body.erp-system-ui #copyToast{top:16px!important;max-width:calc(100vw - 24px)!important}
  .erp-auth-feedback .erp-auth-feedback-close{flex-basis:32px!important;width:32px!important;height:32px!important}
}
@media(prefers-reduced-motion:reduce){.erp-auth-feedback{transition:none!important}}
