/* Revoo AI ID V85 R50 — contextual in-line processing badge & notification history. */
@media screen and (min-width:1150px) {
  /* The original status toast remains available on mobile and wherever the bell is absent. */
  body.revoo-r50-has-bell #rb-toast-host-v85-r17 {display:none!important;}
  .topbar .revoo-r43-notice-wrap, .finance-notification-wrap-v211 {overflow:visible!important;}
  .topbar .revoo-r50-live, .finance-notification-wrap-v211 .revoo-r50-live {
    position:absolute;right:calc(100% + 9px);top:50%;transform:translateY(-50%);
    z-index:5;display:inline-flex;align-items:center;gap:6px;
    max-width:min(260px,27vw);min-width:0;padding:5px 11px;
    border-radius:999px;border:1px solid #badbc6;background:#e3f3e9;color:#236847;
    box-shadow:0 3px 10px rgba(25,70,52,.07);font-size:11px;line-height:1.3;
    font-weight:750;white-space:nowrap;pointer-events:none;transition:background-color .18s ease,border-color .18s ease,color .18s ease,opacity .18s ease;
  }
  .topbar .revoo-r50-live[hidden], .finance-notification-wrap-v211 .revoo-r50-live[hidden]{display:none!important;}
  .revoo-r50-live-label {overflow:hidden;text-overflow:ellipsis;}
  .revoo-r50-live-icon {font-size:12px;font-weight:900;}
  .revoo-r50-live.is-loading{background:#e6f0fa;border-color:#c5dcf4;color:#2b6598;}
  .revoo-r50-live.is-error{background:#fce9e9;border-color:#f4caca;color:#ad3838;}
  .revoo-r50-live.is-info{background:#e6f0fa;border-color:#c5dcf4;color:#2b6598;}
  html[data-theme="dark"] .revoo-r50-live.is-success{background:#244d3b;border-color:#4d8169;color:#e0f9ea;}
  html[data-theme="dark"] .revoo-r50-live.is-error{background:#592f34;border-color:#a25c62;color:#ffe7e7;}
  html[data-theme="dark"] .revoo-r50-live.is-loading, html[data-theme="dark"] .revoo-r50-live.is-info{background:#24495f;border-color:#507e9b;color:#e0f1ff;}
}
@media screen {
  .finance-notification-wrap-v211 {position:relative;}
  .revoo-r49-tabs {display:flex;gap:6px;padding:10px 4px 4px;border-bottom:1px solid #e2ece5;}
  .revoo-r49-tab {flex:1;min-width:0;cursor:pointer;border:1px solid transparent;border-radius:10px;padding:9px 6px;background:transparent;color:#597569;font-size:11px;font-weight:700;line-height:1.35;font-family:inherit;}
  .revoo-r49-tab[aria-pressed="true"]{background:#e7f3eb;border-color:#c9e1d3;color:#245f49;}
  .revoo-r49-tab:focus-visible,.revoo-r49-clear:focus-visible{outline:2px solid #33886c;outline-offset:2px;}
  .revoo-r49-view-history .revoo-r49-history{display:block!important;}
  .revoo-r49-view-history > :not(.revoo-r49-tabs):not(.revoo-r49-history):not(.revoo-r43-notice-heading):not(.finance-notification-head-v211){display:none!important;}
  .revoo-r49-history-list{display:grid;gap:7px;padding:10px 0;max-height:275px;overflow:auto;}
  .revoo-r49-entry{display:flex;align-items:flex-start;gap:10px;border-radius:11px;padding:10px 9px;background:#f1f7f2;color:#274c3a;}
  .revoo-r49-entry.is-error{background:#fff1ef;color:#993d3d;}
  .revoo-r49-entry-icon{width:27px;height:27px;flex-shrink:0;border-radius:8px;background:#d8ecde;display:grid;place-items:center;font-size:12px;font-weight:900;}
  .revoo-r49-entry.is-error .revoo-r49-entry-icon{background:#fadbd7;}
  .revoo-r49-entry strong{display:block;font-size:11.5px;line-height:1.45;overflow-wrap:anywhere;}
  .revoo-r49-entry small{display:block;margin-top:3px;font-size:10px;line-height:1.35;opacity:.75;}
  .revoo-r49-empty{margin:0;padding:20px 9px;text-align:center;color:#6d8779;font-size:12px;}
  .revoo-r49-clear{width:100%;padding:8px 10px;border-radius:10px;border:1px solid #dce9df;background:#f8faf8;color:#526f60;font-size:11px;font-weight:700;cursor:pointer;}
  .revoo-r49-clear:hover{background:#edf5ef;}
  html[data-theme="dark"] .revoo-r49-tab{color:#b5d5c5;}
  html[data-theme="dark"] .revoo-r49-tab[aria-pressed="true"]{background:#305746;border-color:#53836c;color:#f0f8f1;}
  html[data-theme="dark"] .revoo-r49-tabs{border-color:#436053;}
  html[data-theme="dark"] .revoo-r49-entry{background:#2b4539;color:#e5f7ea;}
  html[data-theme="dark"] .revoo-r49-entry.is-error{background:#553437;color:#ffecec;}
  html[data-theme="dark"] .revoo-r49-entry-icon{background:#3a6249;}
  html[data-theme="dark"] .revoo-r49-entry.is-error .revoo-r49-entry-icon{background:#794447;}
  html[data-theme="dark"] .revoo-r49-clear{background:#2d433a;border-color:#4b6d5b;color:#e0f4e9;}
}
@media screen and (max-width:1149px) {
  .revoo-r50-live{display:none!important;}
  /* Preserve the existing compact toast design; the bell remains hidden. */
}
@media print { .revoo-r50-live,.revoo-r49-tabs,.revoo-r49-history {display:none!important;} }

/* The processing/success/error status always stays left of (never below) the bell. */
@media screen and (min-width:1150px) {
  .revoo-r50-live.is-loading .revoo-r50-live-icon {display:inline-block;animation:revoo-r50-spin 1.3s linear infinite;}
  @keyframes revoo-r50-spin {to{transform:rotate(360deg)}}
  .revoo-r50-live-label {display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  @media (prefers-reduced-motion:reduce) { .revoo-r50-live.is-loading .revoo-r50-live-icon{animation:none;} }
}
