/* assets/css/dropdown_enhance.css
   Page-level layout notes for the shared Select (assets/js/dropdown_enhance.js).
   The control itself — button, menu, states — is styled in steamify.css (".sz-dd" and
   ".sz-dd-menu"). Sizing needs no help here any more: the <select> stays in the layout
   under its button, so the control takes exactly the width and height the page gave
   the select, media queries included. */

/* Filter toolbars: keep the dropdown flowing like the <select> it replaced. */
.cl-toolbar .sz-dd,
.lc-toolbar .sz-dd { flex: 0 1 auto; }

/* On phones the Call Logs filters go full-width. */
@media (max-width: 900px) {
    .cl-toolbar .sz-dd { flex: 1 1 100%; min-width: 0; width: 100%; }
}

/* Page-owned dropdowns (Performance, home task filters) still open inside their card:
   they lift the card above its neighbours with .card.dropdown-open, and release the
   overflow:hidden .view-container while open so the menu is not clipped. */
.card.dropdown-open { position: relative; z-index: 3000; }
.view-container.dropdown-open { overflow: visible; }
