/* ===========================================================================
   Rozzo — themed dropdowns (js/select.js). The button takes each page's own
   field classes (.select in the app, .sel in the console); the list is Rozzo's.
   =========================================================================== */
.rzsel-native { position: absolute !important; width: 1px !important; min-width: 0 !important; max-width: 1px !important; height: 1px !important; min-height: 0 !important; margin: -1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; opacity: 0 !important; pointer-events: none !important; }
button.rzsel { display: inline-flex; align-items: center; min-width: 0; text-align: left; cursor: pointer; font-family: inherit; -webkit-tap-highlight-color: transparent; }
button.rzsel[hidden] { display: none !important; }
button.rzsel .rzsel-v { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.rzsel.is-ph .rzsel-v { color: #767c98; }
button.rzsel[disabled] { opacity: .55; cursor: not-allowed; }
button.rzsel[aria-expanded="true"] { border-color: #8a81c9; box-shadow: 0 0 0 4px rgba(138,129,201,.18); }
/* a select that had no field class of its own */
button.rzsel.rzsel-bare { width: 100%; min-height: 44px; padding: 10px 38px 10px 12px; border: 1px solid #e8e6f2; border-radius: 11px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23767c98' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; color: #1e2442; font-weight: 600; font-size: 14.5px; }
button.rzsel.rzsel-bare:focus-visible { outline: none; border-color: #49a52c; box-shadow: 0 0 0 3px rgba(73,165,44,.18); }

.rzsel-pop { position: fixed; z-index: 1000; display: flex; flex-direction: column; background: #fff; border: 2px solid #e8e6f2; border-radius: 16px; box-shadow: 0 18px 44px rgba(30,36,66,.18), 0 2px 6px rgba(30,36,66,.08); padding: 6px; font-family: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif; color: #1e2442; overflow: hidden; animation: rzsIn .14s cubic-bezier(.2,0,0,1) both; }
.rzsel-pop.up { animation-name: rzsInUp; }
.rzsel-find { padding: 2px 2px 6px; flex: 0 0 auto; }
.rzsel-find input { width: 100%; height: 40px; padding: 0 12px 0 36px; border: 2px solid #e8e6f2; border-radius: 12px; background: #f4f3fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23767c98' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") no-repeat 11px center / 17px; font: 700 14.5px "Nunito", ui-rounded, system-ui, sans-serif; color: #1e2442; outline: none; -webkit-appearance: none; appearance: none; }
.rzsel-find input:focus { border-color: #8a81c9; background-color: #fff; }
.rzsel-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; outline: none; scrollbar-width: thin; }
.rzsel-opt { display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 10px; border-radius: 10px; font-size: 15px; font-weight: 700; line-height: 1.3; color: #1e2442; cursor: pointer; user-select: none; }
.rzsel-opt .ck { width: 18px; height: 18px; flex: 0 0 auto; color: #49a52c; visibility: hidden; }
.rzsel-opt span { min-width: 0; overflow-wrap: anywhere; }
.rzsel-opt.act { background: #f1eff9; }
.rzsel-opt[aria-selected="true"] { color: #2d6a16; font-weight: 800; }
.rzsel-opt[aria-selected="true"] .ck { visibility: visible; }
.rzsel-opt.ph { color: #767c98; }
.rzsel-opt[aria-disabled="true"] { opacity: .45; cursor: default; }
.rzsel-grp { padding: 10px 12px 4px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #767c98; }
.rzsel-empty { padding: 16px 12px; text-align: center; color: #767c98; font-weight: 700; font-size: 14px; }
/* phones: a bottom sheet */
.rzsel-scrim { position: fixed; inset: 0; z-index: 999; background: rgba(24,28,52,.42); animation: rzsFade .18s both; }
.rzsel-pop.sheet { left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-height: 74vh; border: 0; border-radius: 24px 24px 0 0; padding: 6px 10px calc(12px + env(safe-area-inset-bottom, 0px)); animation: rzsSheet .24s cubic-bezier(.2,0,0,1) both; }
.rzsel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 6px 8px 8px; flex: 0 0 auto; }
.rzsel-head b { font-size: 17px; font-weight: 900; }
.rzsel-x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f4f3fa; color: #4a5070; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.rzsel-x svg { width: 18px; height: 18px; }
.rzsel-pop.sheet .rzsel-opt { padding: 13px 12px; font-size: 16px; }
@keyframes rzsIn { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
@keyframes rzsInUp { from { opacity: 0; transform: translateY(4px) scale(.98); } }
@keyframes rzsSheet { from { transform: translateY(100%); } }
@keyframes rzsFade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rzsel-pop, .rzsel-pop.sheet, .rzsel-scrim { animation: none; } }

/* several choices */
button.rzsel.rzsel-multi.has-value { border-color: #8a81c9; background-color: #f1eff9; color: #4f4596; }
button.rzsel.rzsel-multi .rzsel-more { font-weight: 900; color: #4f4596; margin-left: 2px; }
.rzsel-pop.multi { min-width: 240px; }
.rzsel-opt.m { gap: 12px; }
.rzsel-opt.m > span:not(.rzsel-tick) { flex: 1 1 auto; }
.rzsel-opt.m em { font-style: normal; font-size: 12.5px; font-weight: 800; color: #767c98; background: #f4f3fa; border-radius: 999px; padding: 1px 8px; }
.rzsel-tick, .rzsel-opt .rzsel-tick { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; border: 2px solid #c3bfdb; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: transparent; transition: background .12s, border-color .12s; }
.rzsel-tick svg { width: 14px; height: 14px; }
.rzsel-opt.m.on { color: #1e2442; font-weight: 800; }
.rzsel-opt.m.on .rzsel-tick { background: #49a52c; border-color: #49a52c; color: #fff; }
.rzsel-foot { display: flex; align-items: center; gap: 8px; padding: 8px 4px 2px; margin-top: 4px; border-top: 2px solid #eeedf7; flex: 0 0 auto; }
.rzsel-foot .rzsel-count { flex: 1 1 auto; text-align: center; font-size: 12.5px; font-weight: 800; color: #767c98; }
.rzsel-foot button { border: 0; border-radius: 12px; height: 36px; padding: 0 14px; font: 800 14px "Nunito", ui-rounded, system-ui, sans-serif; cursor: pointer; }
.rzsel-clear { background: transparent; color: #4a5070; }
.rzsel-clear:hover { background: #f4f3fa; }
.rzsel-done { background: #49a52c; color: #fff; box-shadow: 0 3px 0 #37811f; }
.rzsel-done:active { transform: translateY(2px); box-shadow: 0 1px 0 #37811f; }
