.be-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    z-index: 2000;
  }

  .be-modal {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    margin-top:60px;
    overflow: hidden;
  }

  .be-header {
    background: #2e3b4e;
    color: #fff;
    padding: 0.7rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
  }

  .be-close {
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
  }

  .be-toolbar {
    padding: 0.5rem;
    background: #f0f2f5;
    border-bottom: 1px solid #ccc;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .be-toolbar button {
    background: #0a8fff;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
  }

  .be-toolbar button:hover {
    background: #0056b3;
  }

  .be-content {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
  }

  .be-block {
    border: 1px dashed #bbb;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
  }

  .be-block:hover {
    background: #f9fafb;
  }