/* Единый тост менеджера (движок — manager-toast.js). Раньше эти правила жили в
   styles-brigade.css, хотя тост общий для всех страниц; вынесены сюда целиком,
   чтобы образ был один и правился в одном месте. Классы прежние (.plan-toast*) —
   вызовы страниц не трогаем. */

.plan-toast-host {
  position: fixed;
  right: 16px;
  bottom: 14px;
  z-index: 120;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.plan-toast {
  position: relative;
  min-width: 260px;
  max-width: 380px;
  border-radius: 10px;
  border: 1px solid rgba(140, 160, 190, 0.42);
  background: rgba(17, 34, 58, 0.96);
  color: #e9f1ff;
  padding: 9px 30px 9px 12px;   /* справа место под крестик */
  font-size: 12px;
  line-height: 1.35;
  box-shadow: 0 10px 28px rgba(8, 16, 31, 0.45);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: auto;         /* хост «прозрачный», сам тост кликабелен (крестик, наведение) */
}

.plan-toast-title {
  font-weight: 600;
}

.plan-toast-body {
  margin-top: 4px;
  white-space: pre-line;        /* структура: каждое уточнение своей строкой */
  opacity: 0.93;
}

.plan-toast-close {
  position: absolute;
  top: 3px;
  right: 4px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  line-height: 1;
  opacity: 0.6;
  cursor: pointer;
}

.plan-toast-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.14);
}

.plan-toast.is-warn {
  border-color: rgba(232, 186, 110, 0.54);
  background: rgba(84, 57, 20, 0.96);
  color: #ffe6bb;
}

.plan-toast.is-error {
  border-color: rgba(211, 137, 154, 0.56);
  background: rgba(96, 42, 61, 0.96);
  color: #ffe3eb;
}

.plan-toast.is-leaving {
  opacity: 0;
  transform: translateY(5px);
}
