.editor-meta-select-control .note-dataset-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 9px 12px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font: 14px/1.5 Arial, sans-serif;
    text-align: left;
    cursor: pointer;
}
.note-dataset-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note-dataset-trigger i { flex: none; font-size: 11px; color: #888; }
.note-dataset-menu {
    position: fixed;
    z-index: 10020;
    display: flex;
    background: #fff;
    color: #222;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    box-shadow: 0 6px 24px #0002;
    box-sizing: border-box;
    overflow: hidden;
}
.note-dataset-menu[hidden], .note-dataset-child[hidden] { display: none; }
.note-dataset-root, .note-dataset-child { padding: 8px; overflow-y: auto; min-width: 0; overscroll-behavior: contain; }
.note-dataset-root { flex: 0 0 40%; box-sizing: border-box; }
.note-dataset-root:only-child, .note-dataset-menu:has(.note-dataset-child[hidden]) .note-dataset-root { flex-basis: 100%; }
.note-dataset-child { flex: 1; border-left: 1px solid #eee; }
.note-dataset-menu button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    padding: 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font: 14px/1.5 Arial, sans-serif;
    letter-spacing: 0;
    text-align: left;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.note-dataset-menu button i { flex: none; font-size: 10px; }
.note-dataset-menu button:hover, .note-dataset-menu button[aria-expanded="true"],
.note-dataset-menu button.is-selected { background: #eee; }
.note-dataset-menu button:focus-visible, .note-dataset-trigger:focus-visible { outline: 2px solid #c2253c; outline-offset: -2px; }
:root:not([data-theme="light"]) .note-dataset-trigger,
:root:not([data-theme="light"]) .note-dataset-menu { background: #292929; color: #eee; border-color: #484848; }
:root:not([data-theme="light"]) .note-dataset-child { border-color: #484848; }
:root:not([data-theme="light"]) .note-dataset-menu button:hover,
:root:not([data-theme="light"]) .note-dataset-menu button[aria-expanded="true"],
:root:not([data-theme="light"]) .note-dataset-menu button.is-selected { background: #414141; }
