/* ---------- base ---------- */
.toast.lm-toast-lg {
    min-width: 600px;
    max-width: 560px;
  
    background: #fff !important;     /* перекрываем text-bg-* */
    color: #2F2F2F !important;        /* основной текст */
    border: 2px solid var(--ui-orange-1);
    max-width: 640px;                /* опционально */
    border-radius: 14px;
  
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    overflow: hidden;
    padding: 4px 10px;
  }
  
  /* header / title area */
  .toast.lm-toast-lg .toast-header {
    background: rgba(142, 110, 82, 0.10); /* --ui-orange-2 tint */
    color: #1F1F1F;
    border-bottom: 1px solid rgba(142, 110, 82, 0.35);
    padding: 18px 22px;
    gap: 10px;                       /* работает, т.к. .toast-header = flex */
  }
  
  .toast.lm-toast-lg .toast-header strong {
    font-weight: 700;
    letter-spacing: 0.2px;
  }
  
  .toast.lm-toast-lg .toast-header small {
    color: #5C5C5C;
  }
  
  /* body */
  .toast.lm-toast-lg .toast-body {
    padding: 12px 14px;
    line-height: 1.35;
    color: #2F2F2F;
  }
  
  /* links in message */
  .toast.lm-toast-lg .toast-body a {
    color: var(--ui-orange-1);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .toast.lm-toast-lg .toast-body a:hover {
    opacity: 0.85;
  }
  
  /* close */
  .toast.lm-toast-lg .btn-close {
    opacity: 0.85;
  }
  .toast.lm-toast-lg .btn-close:hover {
    opacity: 1;
  }
  
  /* optional: header icon */
  .toast.lm-toast-lg .toast-header img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }
  
  /* ---------- variant accent (left bar) ---------- */
  .toast.lm-toast-lg {
    position: relative;
  }
  .toast.lm-toast-lg::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--ui-orange-1); /* default */
    opacity: 0.95;
  }
  
  /* if you keep text-bg-${variant}, use it only as a marker */
  .toast.lm-toast-lg.text-bg-success::before { background: #198754; } /* bs success */
  .toast.lm-toast-lg.text-bg-danger::before  { background: #dc3545; }
  .toast.lm-toast-lg.text-bg-warning::before { background: #ffc107; }
  .toast.lm-toast-lg.text-bg-info::before    { background: #0dcaf0; }
  
  /* XXL typography */
  @media (min-width: 1400px) {
    .toast.lm-toast-lg .toast-body { font-size: 18px; }
    .toast.lm-toast-lg .toast-header { font-size: 16px; }
  }
  @media (max-width: 1400px) {
    .toast.lm-toast-lg {
        min-width: 400px;
        max-width: 560px;
      
        background: #fff !important;     /* перекрываем text-bg-* */
        color: #2F2F2F !important;        /* основной текст */
        border: 2px solid var(--ui-orange-1);
        max-width: 640px;                /* опционально */
        border-radius: 14px;
      
        box-shadow: 0 12px 28px rgba(0,0,0,0.18);
        overflow: hidden;
        padding: 2px 6px;
      }
  }