[data-organization-navigation] > .k-dropdownlist:is(:hover, :focus, .k-hover, .k-focus) {
    background: transparent;
    box-shadow: none;
    color: inherit;
}

[data-organization-navigation] > .k-dropdownlist > .k-input-inner {
    display: none;
}

[data-organization-navigation] > .k-dropdownlist > .k-input-button {
    padding: 0;
    border: 0;
}

/* Use the shared chevron tint in place of Kendo's flat button overlay. */
[data-organization-navigation] .k-dropdownlist > .k-input-button::before,
[data-organization-navigation] .k-dropdownlist > .k-input-button::after {
    content: none;
}

.organization-navigation-popup {
    /* Kendo writes the compact trigger's minimum width inline. Keep room for search/results. */
    --organization-navigation-popup-max-width: calc(100vw - var(--organization-navigation-popup-viewport-inset, 1rem));
    min-width: min(20rem, var(--organization-navigation-popup-max-width)) !important;
    max-width: var(--organization-navigation-popup-max-width);
}

/* Use the popup's current width during resize instead of Kendo's opening width. */
.k-child-animation-container:has(> .organization-navigation-popup-compact) {
    inline-size: max-content !important;
}

.organization-navigation-popup-compact .k-list-filter {
    max-inline-size: 100%;
}

.organization-navigation-footer {
    padding: .5rem .75rem;
    white-space: normal;
    font-size: .875rem;
}
