  /* Marketplace-style toast notifications */
  .mh-toast-wrap{
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 1080; /* above navbar */
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(420px, calc(100vw - 28px));
    pointer-events: none; /* clicks pass through except on toast */
  }

  .mh-toast{
    pointer-events: auto;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    overflow: hidden;
    display: grid;
    grid-template-columns: 10px 1fr auto;
    align-items: stretch;
    min-width: 280px;
  }

  .mh-toast-bar{
    width: 10px;
    background: #0d6efd; /* info default */
  }
  .mh-toast-body{
    padding: 10px 12px;
  }
  .mh-toast-title{
    font-weight: 800;
    font-size: .95rem;
    line-height: 1.2;
    margin: 0 0 2px 0;
    color: rgba(0,0,0,.86);
  }
  .mh-toast-msg{
    margin: 0;
    font-size: .92rem;
    color: rgba(0,0,0,.72);
    line-height: 1.35;
    word-break: break-word;
  }

  .mh-toast-close{
    border: 0;
    background: transparent;
    padding: 10px 10px 10px 4px;
    color: rgba(0,0,0,.55);
    cursor: pointer;
  }
  .mh-toast-close:hover{
    color: rgba(0,0,0,.78);
  }

  .mh-toast{
    transform: translateY(-6px);
    opacity: 0;
    animation: mhToastIn .18s ease-out forwards;
  }
  @keyframes mhToastIn{
    to { transform: translateY(0); opacity: 1; }
  }
  .mh-toast.mh-out{
    animation: mhToastOut .18s ease-in forwards;
  }
  @keyframes mhToastOut{
    to { transform: translateY(-6px); opacity: 0; }
  }

  /* Progress bar */
  .mh-toast-progress{
    height: 3px;
    background: rgba(0,0,0,.06);
  }
  .mh-toast-progress > span{
    display: block;
    height: 100%;
    width: 100%;
    transform-origin: left;
    background: rgba(0,0,0,.18);
    animation: mhToastProgress linear forwards;
  }
  @keyframes mhToastProgress{
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
  }

  /* Types */
  .mh-toast[data-type="success"] .mh-toast-bar{ background:#22c55e; }
  .mh-toast[data-type="danger"]  .mh-toast-bar{ background:#ef4444; }
  .mh-toast[data-type="warning"] .mh-toast-bar{ background:#f59e0b; }
  .mh-toast[data-type="info"]    .mh-toast-bar{ background:#3b82f6; }

  /* Mobile: top center */
  @media (max-width: 576px){
    .mh-toast-wrap{
      left: 14px;
      right: 14px;
      top: 14px;
    }
    .mh-toast{ min-width: 0; width: 100%; }
  }