/* Opt-in Select2 surface for public forms and future Admin forms. */
.tc-select-theme .select2-container{max-width:100%;font-family:var(--tc-font-sans,Inter,Arial,sans-serif)}
.tc-select-theme select.select2-hidden-accessible{min-height:1px!important;margin:0!important}
.tc-select-theme .select2-container--default .select2-selection--single,.tc-select-theme .select2-container--default .select2-selection--multiple{min-height:48px;border:1px solid var(--tc-color-border,#ddd2e8);border-radius:10px;background:#fff;color:var(--tc-color-text,#261b35)}
.tc-select-theme .select2-container--default.select2-container--focus .select2-selection,.tc-select-theme .select2-container--default.select2-container--open .select2-selection{border-color:var(--tc-color-brand-700,#6a0389);box-shadow:0 0 0 3px rgba(106,3,137,.1)}
.tc-select-theme .select2-container--default .select2-selection--single .select2-selection__rendered{padding:9px 35px 9px 12px;color:var(--tc-color-text,#261b35);font-size:.89rem;font-weight:400;line-height:28px}
.tc-select-theme .select2-container--default .select2-selection--single .select2-selection__placeholder{color:var(--tc-color-text-muted,#665b71)}
.tc-select-theme .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px;right:8px}.tc-select-theme .select2-container--default .select2-selection--single .select2-selection__arrow b{border-top-color:var(--tc-color-brand-700,#6a0389)}
.tc-select-theme .select2-selection--multiple .select2-selection__rendered{display:flex;align-items:center;flex-wrap:wrap;gap:5px;width:100%;padding:5px 8px!important;line-height:1.35}
.tc-select-theme .select2-container--default .select2-selection--multiple .select2-selection__choice{display:inline-flex;align-items:center;gap:4px;max-width:100%;min-height:32px;margin:0;padding:3px 8px;border:1px solid #d9b8e8;border-radius:999px;background:#f7edfb;color:var(--tc-color-brand-900,#400066);font-size:.8rem;font-weight:700;white-space:normal}
.tc-select-theme .select2-selection__choice__remove{order:2;margin:0 0 0 3px!important;color:var(--tc-color-brand-700,#6a0389)!important;font-size:1.05rem!important;line-height:1;cursor:pointer}.tc-select-theme .select2-selection__choice__remove:hover{color:#bf078e!important}
.tc-select-theme .select2-search--inline{min-height:32px;margin:0!important}.tc-select-theme .select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field{min-height:30px!important;height:30px!important;margin:0!important;padding:3px!important;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--tc-color-text,#261b35);font:inherit!important;font-size:.84rem!important;font-weight:400!important}
.tc-select-theme .select2-dropdown,.tc-select2-dropdown .select2-dropdown{border:1px solid var(--tc-color-border,#ddd2e8);border-radius:10px;box-shadow:0 12px 24px rgba(60,15,90,.13);overflow:hidden}
.tc-select-theme .select2-search--dropdown,.tc-select2-dropdown .select2-search--dropdown{padding:8px}.tc-select-theme .select2-search--dropdown .select2-search__field,.tc-select2-dropdown .select2-search--dropdown .select2-search__field{min-height:40px;border:1px solid var(--tc-color-border,#ddd2e8)!important;border-radius:8px;padding:8px!important;font:inherit;font-size:.84rem}
.tc-select-theme .select2-results__options,.tc-select2-dropdown .select2-results__options{max-height:240px!important}.tc-select-theme .select2-results__option,.tc-select2-dropdown .select2-results__option{min-height:40px;padding:9px 12px;color:var(--tc-color-text,#261b35);font-size:.84rem}
.tc-select-theme .select2-container--default .select2-results__option--highlighted[aria-selected],.tc-select2-dropdown.select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--tc-color-brand-700,#6a0389);color:#fff}
.tc-select-theme .select2-container--default .select2-results__option[aria-selected=true],.tc-select2-dropdown.select2-container--default .select2-results__option[aria-selected=true]{background:#f2e4fa;color:var(--tc-color-brand-900,#400066)}
.tc-select-theme .select2-container--default .select2-results__option[aria-selected=true].select2-results__option--highlighted,.tc-select2-dropdown.select2-container--default .select2-results__option[aria-selected=true].select2-results__option--highlighted{background:#dfc8ec;color:var(--tc-color-brand-900,#400066)}
.tc-select-theme select.is-invalid+.select2-container .select2-selection{border-color:var(--tc-color-error,#ba2533)}
.tc-select-theme .select2-selection:focus-visible{outline:none;border-color:var(--tc-color-brand-700,#6a0389);box-shadow:0 0 0 3px rgba(106,3,137,.1)}
.tc-select-theme .select2-search--inline .select2-search__field:focus-visible{outline:none!important;box-shadow:none!important}
.tc-select-theme .select2-search--dropdown .select2-search__field:focus-visible,.tc-select2-dropdown .select2-search--dropdown .select2-search__field:focus-visible{outline:none;border-color:var(--tc-color-brand-700,#6a0389)!important;box-shadow:0 0 0 3px rgba(106,3,137,.1)}
@media(forced-colors:active){.tc-select-theme .select2-selection,.tc-select-theme .select2-selection__choice{border:1px solid ButtonText!important}.tc-select-theme .select2-selection__choice{color:ButtonText!important}.tc-select-theme .select2-selection:focus-visible,.tc-select-theme .select2-search__field:focus-visible{outline:2px solid Highlight!important;outline-offset:2px}}
/* Admin forms keep their denser desktop control size. */
.tc-admin-select-theme .select2-container{font-family:inherit}
.tc-admin-select-theme .select2-container--default .select2-selection--single,.tc-admin-select-theme .select2-container--default .select2-selection--multiple{min-height:36px;border-radius:7px}
.tc-admin-select-theme .select2-container--default .select2-selection--single .select2-selection__rendered{padding:4px 30px 4px 10px;line-height:26px}
.tc-admin-select-theme .select2-container--default .select2-selection--single .select2-selection__arrow{height:34px}
.tc-admin-select-theme .select2-selection--multiple .select2-selection__rendered{padding:2px 6px!important}
.tc-admin-select-theme .select2-container--default .select2-selection--multiple .select2-selection__choice{min-height:27px;padding:2px 7px}
