/* smit-toast — единый компонент уведомлений (build 1548). Тёмная + мобильно. */
.smit-toast-stack {
  position: fixed; top: 16px; right: 16px; z-index: 4000;
  display: flex; flex-direction: column; gap: 9px; max-width: 380px; pointer-events: none;
}
.smit-toast {
  pointer-events: auto; display: flex; align-items: flex-start; gap: 10px;
  background: #fff; border: 1px solid #e2e8f0; border-left: 4px solid #64748b;
  border-radius: 9px; box-shadow: 0 6px 22px rgba(0,0,0,.14); padding: 11px 12px;
  font-size: .86rem; color: #1f2937; min-width: 240px;
  opacity: 0; transform: translateX(24px); transition: opacity .22s, transform .22s;
}
.smit-toast.is-in { opacity: 1; transform: translateX(0); }
.smit-toast.is-out { opacity: 0; transform: translateX(24px); }
.smit-toast-ic { font-size: 1.05rem; margin-top: 1px; flex: 0 0 auto; }
.smit-toast-body { flex: 1 1 auto; min-width: 0; }
.smit-toast-title { font-weight: 600; margin-bottom: 2px; }
.smit-toast-msg { line-height: 1.35; word-break: break-word; }
.smit-toast-x {
  flex: 0 0 auto; border: 0; background: none; color: #adb5bd; font-size: 1.15rem;
  line-height: 1; cursor: pointer; padding: 0 2px;
}
.smit-toast-x:hover { color: #6c757d; }

.smit-toast--success { border-left-color: #16a34a; }
.smit-toast--success .smit-toast-ic { color: #16a34a; }
.smit-toast--error { border-left-color: #dc2626; }
.smit-toast--error .smit-toast-ic { color: #dc2626; }
.smit-toast--warning { border-left-color: #d97706; }
.smit-toast--warning .smit-toast-ic { color: #d97706; }
.smit-toast--info { border-left-color: #2563eb; }
.smit-toast--info .smit-toast-ic { color: #2563eb; }

/* тёмная тема */
[data-bs-theme="dark"] .smit-toast, .dark-theme .smit-toast {
  background: #1f2937; border-color: #2a2f37; color: #e9ecef; box-shadow: 0 6px 22px rgba(0,0,0,.5);
}
[data-bs-theme="dark"] .smit-toast-x, .dark-theme .smit-toast-x { color: #6b7683; }
[data-bs-theme="dark"] .smit-toast-x:hover, .dark-theme .smit-toast-x:hover { color: #adb5bd; }

/* мобильно: тосты снизу, во всю ширину */
@media (max-width: 575.98px) {
  .smit-toast-stack { top: auto; bottom: 12px; left: 12px; right: 12px; max-width: none; }
  .smit-toast { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .smit-toast { transition: none; }
}

/* smit-copy (build 1548): триггеры копирования */
[data-copy] { cursor: pointer; }
.smit-copy-done { color: #16a34a !important; }
