.tox .step-link-picker__control {
    position: relative;
}

.tox .step-link-picker .step-link-picker__input {
    padding-right: 40px;
}

.tox .step-link-picker__toggle {
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0 5px 5px 0;
    color: #222f3e;
    background: transparent;
    cursor: pointer;
}

.tox .step-link-picker__toggle:hover {
    background: #e9eef9;
}

.tox .step-link-picker__popup {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
    height: min(240px, 32vh);
    border: 1px solid #c7cdd6;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 12px #222f3e14;
    overflow: hidden;
}

.tox .step-link-picker__popup[hidden] {
    display: none;
}

.tox .step-link-picker__options {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px;
}

.tox .step-link-picker__option {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 4px;
    padding: 10px 12px;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    color: #222f3e;
    background: transparent;
    font: inherit;
    line-height: 1.4;
    cursor: pointer;
}

.tox .step-link-picker__option:hover,
.tox .step-link-picker__option[aria-selected="true"] {
    color: #1a47b8;
    background: #e9efff;
}

.tox .step-link-picker__status {
    padding: 6px 12px;
    border-top: 1px solid #e7e9ec;
    color: #606979;
    font-size: 12px;
}

.tox .step-link-formatting-error {
    color: #b3261e;
    font-size: 12px;
    margin: 0;
}

.tox .step-link-formatting-error:empty {
    display: none;
}
