.section-header-ctx-menu {
    position: fixed;
    z-index: 10030;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    padding: 4px;
    min-width: 260px;
    max-width: 400px;
    max-height: 72vh;
    overflow-y: auto;
    display: none;
    font-size: 0.9rem;
    user-select: none;
    -webkit-user-select: none;
  }
  .section-header-ctx-menu.show { display: block; }
  .section-header-ctx-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 12px 4px;
  }
  .section-header-ctx-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    font-family: inherit;
  }
  .section-header-ctx-item:hover { background: #f1f5f9; }
  .section-header-ctx-item .menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .section-header-ctx-item .menu-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .section-header-ctx-item.danger { color: #b91c1c; }
  .section-header-ctx-item.danger:hover { background: #fee2e2; }
  .section-header-ctx-row {
    display: flex;
    gap: 4px;
    padding: 4px 8px;
  }
  .section-header-ctx-row button {
    flex: 1;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    font-family: inherit;
  }
  .section-header-ctx-row button:hover { background: #f1f5f9; border-color: #94a3b8; }
  .section-header-ctx-row button:disabled { opacity: 0.4; cursor: not-allowed; }
  .section-header-ctx-row button:disabled:hover { background: white; border-color: var(--border); }
  .section-header-ctx-separator {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
  }
