.toastify.script-notification {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 320px;
  max-width: calc(100vw - 30px);
  box-sizing: border-box;
  border: 1px solid var(--border, #294233);
  border-radius: 8px;
  color: var(--text, #d9e7dc);
  font: 400 13px/1.5 "Segoe UI", "Microsoft YaHei", sans-serif;
  cursor: default;
}
.script-notification-content { flex: 1; min-width: 0; }
.script-notification-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.script-notification-message { overflow-wrap: anywhere; max-height: 25vh; overflow: auto; color: var(--muted, #8da395); }
.script-notification progress { display: block; width: 100%; height: 6px; margin-top: 8px; accent-color: var(--accent, #7ddf9b); }
.toastify.script-notification-error { border-color: var(--danger, #ef8d8d); }
.script-notification-error .script-notification-title { color: var(--danger, #ef8d8d); }
.script-notification .toast-close { flex: none; min-height: 24px; padding: 0 4px; border: 0; opacity: .85; }
.script-notification .toast-close:focus-visible { outline: 2px solid var(--accent, #7ddf9b); }
@media (prefers-reduced-motion: reduce) { .toastify.script-notification { transition: none; } }
