:root{
    --dark:#2a1c13;
    --cream:#fdf1e0;
    --muted:#8a7357;
    --green:#2f8f4e;
    --red:#e0473f;
    --blue:#2563eb;
    --border:#ece0c9;
  }
 
 
  /********************************
      TOAST STACK — bottom right
  ********************************/
  #brookToastStack{
        position:fixed;
        top:20px;
        right:20px;
        z-index:99999;
        display:flex;
        flex-direction:column;
        gap:10px;
        width:300px;
        max-width:calc(100vw - 32px);
    }
 
  .brook-toast{
    background:#fffdf9;
    border-radius:10px;
    box-shadow:0 8px 22px rgba(42,28,19,0.18);
    padding:12px 14px;
    display:flex;
    align-items:flex-start;
    gap:10px;
    position:relative;
    border-left:3px solid var(--green);
    opacity:0;
    transform:translateX(30px);
    animation:toastIn .3s cubic-bezier(.25,.9,.35,1) forwards;
  }
  .brook-toast.leaving{
    animation:toastOut .22s ease forwards;
  }
  @keyframes toastIn{
    to{ opacity:1; transform:translateX(0); }
  }
  @keyframes toastOut{
    to{ opacity:0; transform:translateX(30px); }
  }
 
  .brook-toast.brook-error{ border-left-color:var(--red); }
  .brook-toast.brook-info{ border-left-color:var(--blue); }
 
  .brook-toast-icon{
    flex-shrink:0;
    width:20px; height:20px;
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-size:11px;
    font-weight:800;
    margin-top:1px;
    color:#fff;
    background:var(--green);
  }
  .brook-toast.brook-error .brook-toast-icon{ background:var(--red); }
  .brook-toast.brook-info .brook-toast-icon{ background:var(--blue); }
 
  .brook-toast-content{ flex:1; min-width:0; }
 
  .brook-toast-content h4{
    margin:0 0 2px;
    font-size:13px;
    font-weight:800;
    color:var(--dark);
  }
  .brook-toast-content p{
    margin:0;
    font-size:12px;
    line-height:1.4;
    color:var(--muted);
  }
  .brook-toast-action{
    display:inline-block;
    margin-top:6px;
    font-size:12px;
    font-weight:700;
    color:var(--dark);
    text-decoration:underline;
    text-underline-offset:2px;
    cursor:pointer;
  }
  .brook-toast-action:hover{ color:#3f2417; }
 
  .brook-toast-close{
    flex-shrink:0;
    border:none;
    background:none;
    cursor:pointer;
    font-size:14px;
    line-height:1;
    color:var(--muted);
    width:18px; height:18px;
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    margin-top:1px;
  }
  .brook-toast-close:hover{ background:#f1dcae; color:var(--dark); }
 
  @media(max-width:480px){

    #brookToastStack{

        top:12px;
        right:12px;
        width:calc(100vw - 24px);

    }

}