/* Demo notice shown when the read-only lock refuses an AJAX save (guard.js). */
.jbd-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(560px, calc(100vw - 32px));
  padding: 12px 12px 12px 16px;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  background: #fffbeb;
  color: #78350f;
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, .25), 0 2px 6px rgba(15, 23, 42, .08);
  font: 500 14px/1.45 Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .18s ease, transform .18s ease;
  box-sizing: border-box;
}
.jbd-toast.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.jbd-toast svg { flex: none; color: #b45309; }
.jbd-toast span { flex: 1; }
.jbd-toast button {
  flex: none; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px;
  background: transparent; color: #92400e; font-size: 20px; line-height: 1; cursor: pointer;
}
.jbd-toast button:hover { background: rgba(180, 83, 9, .12); }
@media (prefers-reduced-motion: reduce) { .jbd-toast { transition: none; } }
