#acl-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(420px, 96vw);
  background: #111827;
  color: #F9FAFB;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transform: translateY(16px);
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
  z-index: 999999;
  overflow: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

#acl-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.acl-toast__bar {
  height: 3px;
  background: linear-gradient(90deg, #22C55E, #3B82F6);
}

.acl-toast__content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px 8px 16px;
  font-size: 14px;
  line-height: 1.4;
}

.acl-toast__icon {
  font-size: 18px;
  margin-top: 2px;
}

.acl-toast__text {
  flex: 1;
}

.acl-toast__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 0 16px 14px 16px;
}

.acl-btn {
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .08s ease, background .2s ease;
}

.acl-btn--primary {
  background: #3B82F6;
  color: #fff;
}

.acl-btn--primary:hover { background: #2563EB; }
.acl-btn--ghost { background: transparent; color: #D1D5DB; }
.acl-btn--ghost:hover { background: rgba(255,255,255,0.08); }
.acl-btn:active { transform: translateY(1px); }