/* ================= TOAST NOTIFICATIONS ================= */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  max-width: min(360px, calc(100vw - 40px));
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ink-faint);
  color: var(--ink);
  padding: 10px 10px 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  animation: toast-in 0.15s ease-out;
}
.toast-error { border-left-color: var(--red); }
.toast-info { border-left-color: var(--accent); }
.toast-leaving { animation: toast-out 0.15s ease-in forwards; }
.toast-close {
  flex-shrink: 0;
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--ink-faint);
  font-size: 14px;
  line-height: 1;
  padding: 0 2px;
}
.toast-close:hover { color: var(--ink); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(8px); }
}

