/* Shared Frontend / Portal contextual auto-suggest dropdown */
.cme-suggest-menu {
    position: fixed;
    z-index: 2050;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
    max-height: 310px;
    overflow-y: auto;
    font-family: inherit;
}

.cme-suggest-header {
    padding: 5px 10px 4px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 2px;
    user-select: none;
}

.cme-suggest-item {
    padding: 8px 10px;
    border-radius: 7px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #0f172a;
    transition: background-color 0.12s ease;
}

.cme-suggest-item:hover,
.cme-suggest-item.is-active {
    background: #eff6ff;
    color: #1d4ed8;
}

.cme-suggest-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cme-suggest-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.cme-suggest-badge {
    flex: 0 0 auto;
    display: inline-block;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    background: #e0f2fe;
    color: #0369a1;
    white-space: nowrap;
}

.cme-suggest-sub {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cme-suggest-highlight-target {
    outline: 2px solid #2563eb !important;
    outline-offset: 2px;
    transition: outline-color 0.4s ease;
}
