/* The searchable multi-select dropdown (public/js/multi-select.js). */
.ms{position:relative;display:inline-block;min-width:210px}
.ms-button{display:flex;align-items:center;gap:8px;width:100%;height:42px;padding:0 16px 0 14px;border:1.5px solid var(--line,#e4e9ef);border-radius:12px;background:#fff;color:var(--ink,#1f2933);font:inherit;font-size:13.5px;text-align:start;cursor:pointer}
.ms-button:hover{border-color:#cfe1f2}
.ms.is-open .ms-button,.ms-button:focus-visible{border-color:#8dbfe2;outline:3px solid rgba(28,122,196,.18);outline-offset:0}
.ms.has-value .ms-button{border-color:#8dbfe2;background:#f3f9ff}
.ms-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ms-badge{flex:none;min-width:20px;padding:1px 7px;border-radius:999px;background:var(--blue2,#0f5391);color:#fff;font-size:11px;font-style:normal;font-weight:700;text-align:center}
.ms-arrow{flex:none;width:12px;height:8px;margin-inline-end:2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230f5391' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat center/contain;transition:transform .15s}
.ms.is-open .ms-arrow{transform:rotate(180deg)}
.ms-panel{position:absolute;z-index:40;inset-inline-start:0;top:calc(100% + 6px);width:max(100%,270px);max-width:92vw;padding:10px;border:1px solid var(--line,#e4e9ef);border-radius:14px;background:#fff;box-shadow:0 16px 40px rgba(12,59,104,.18)}
.ms-search{width:100%;height:38px;padding:0 12px;border:1.5px solid var(--line,#e4e9ef);border-radius:10px;font:inherit;font-size:13.5px;background:#f8fbfe}
.ms-search:focus{outline:none;border-color:#8dbfe2;background:#fff}
.ms-list{list-style:none;margin:8px 0 0;padding:0;max-height:260px;overflow:auto}
.ms-item{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:9px;font-size:13.5px;cursor:pointer;color:#17395c}
.ms-item:hover,.ms-item:focus{background:#eef5fc;outline:none}
.ms-check{flex:none;width:18px;height:18px;border:1.5px solid #b8cde2;border-radius:5px;background:#fff;display:grid;place-items:center}
.ms-item.is-on .ms-check{background:var(--blue2,#0f5391);border-color:var(--blue2,#0f5391)}
.ms-item.is-on .ms-check::after{content:"";width:9px;height:5px;border:2px solid #fff;border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px)}
.ms-item.is-on .ms-text{font-weight:700}
.ms-empty{margin:10px 4px 4px;font-size:13px;color:#6c7a89;text-align:center}
.ms-foot{display:flex;justify-content:flex-end;margin-top:6px;padding-top:8px;border-top:1px solid #eef2f7}
.ms-clear{border:0;background:none;color:var(--blue2,#0f5391);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;padding:4px 6px}
.ms [hidden]{display:none!important}
@media (max-width:640px){.ms{width:100%}.ms-panel{width:100%}}
@media (prefers-reduced-motion:reduce){.ms-arrow{transition:none}}
