/* ============================================================
   CUSTOM DROPDOWNS (site and admin)
   The menu is placed on the page body, under its button.
   ============================================================ */
.ysel{position:relative;display:block;width:100%;min-width:0}
.ysel__native{position:absolute !important;left:0;bottom:0;width:1px !important;height:1px !important;min-height:0 !important;padding:0 !important;border:0 !important;opacity:0;pointer-events:none}
.ysel__btn{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  width:100%;min-width:0;text-align:left;cursor:pointer;
  font:inherit;color:inherit;background:transparent;border:0;padding:0;
}
.ysel__val{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ysel__chev{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.75;transition:transform .2s ease}
.ysel.is-open .ysel__chev{transform:rotate(180deg)}
.ysel__btn:focus,.ysel__btn:focus-visible{outline:none}

.ysel__menu{
  position:fixed;z-index:200;margin:0;padding:6px;list-style:none;overflow-y:auto;overscroll-behavior:contain;
  background:#FFFFFF;color:#002D2A;border:1px solid #DEE4E3;border-radius:16px;
  box-shadow:0 24px 48px -18px rgba(0,45,42,.32),0 4px 12px -6px rgba(0,45,42,.12);
  font-family:'Outfit',system-ui,sans-serif;font-size:16px;font-weight:500;letter-spacing:normal;text-transform:none;line-height:1.3;
  opacity:0;transform:translateY(-4px);transition:opacity .14s ease,transform .14s ease;
}
.ysel__menu.is-up{transform:translateY(4px)}
.ysel__menu.is-in{opacity:1;transform:none}
.ysel__menu:focus{outline:none}
.ysel__opt{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:44px;padding:10px 12px;border-radius:10px;cursor:pointer;
}
.ysel__opt.is-active{background:#EEF3F2}
.ysel__opt.is-on{color:#002D2A;font-weight:600}
.ysel__opt.is-off{opacity:.4;cursor:default}
.ysel__tick{flex:none;width:18px;height:18px;fill:none;stroke:#FF8B00;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;visibility:hidden}
.ysel__opt.is-on .ysel__tick{visibility:visible}
.ysel__menu--admin{font-size:15px}
@media (prefers-reduced-motion:reduce){.ysel__menu{transition:none}.ysel__chev{transition:none}}
