/* Menus déroulants communs TimeTrack, y compris leur liste ouverte. */
.tt-custom-select{position:relative;display:block;width:100%;min-width:0;vertical-align:middle;text-align:left;font-family:Manrope,Arial,sans-serif}
.tt-custom-select>.tt-select-native{position:absolute!important;inset:0 auto auto 0!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;max-width:1px!important;max-height:1px!important;padding:0!important;margin:0!important;border:0!important;opacity:0!important;clip-path:inset(50%)!important;overflow:hidden!important;pointer-events:none!important;white-space:nowrap!important;background:none!important;appearance:none!important}
.tt-select-button{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:43px;padding:10px 12px;border:1px solid #e2d5ef;border-radius:8px;background:#fff;color:#77538c;font:550 12px/1.65 Manrope,Arial,sans-serif;letter-spacing:0;text-align:left;box-shadow:0 1px 3px #49305d02;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s}
.tt-select-button:hover{border-color:#cbb4e6;background:#fefbff}.tt-select-button:focus-visible{outline:3px solid #c8b0f0;outline-offset:2px}.tt-custom-select.is-open>.tt-select-button{border-color:#b89cde;background:#fcf9ff;box-shadow:0 0 0 3px #9b75db0c}.tt-select-current{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.65}.tt-select-arrow{display:grid;place-items:center;width:17px;height:19px;flex:none;color:#a080bc;transition:transform .15s}.tt-select-arrow svg{display:block;width:15px;height:15px}.tt-custom-select.is-open .tt-select-arrow{transform:rotate(180deg)}.tt-custom-select.is-disabled>.tt-select-button{background:#f8f5fb;color:#bba8c6;border-color:#ebe3f2;cursor:not-allowed;box-shadow:none;opacity:.7}.tt-custom-select.is-disabled .tt-select-arrow{color:#c8b8d3}.tt-custom-select.has-error>.tt-select-button{border-color:#c893a9;box-shadow:0 0 0 3px #c893a912}.tt-select-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.tt-select-menu{display:none;position:fixed;inset:auto;margin:0;box-sizing:border-box;width:220px;max-width:calc(100vw - 16px);max-height:260px;padding:5px;border:1px solid #dfcfef;border-radius:11px;background:#fff;color:#684479;box-shadow:0 16px 45px #42235d20,0 4px 13px #42235d0c;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d4bde7 #fcf8ff;font:500 12px/1.65 Manrope,Arial,sans-serif;text-align:left;z-index:1000;outline:none;animation:tt-select-in .12s ease both}
.tt-select-menu:popover-open,.tt-select-menu.is-fallback-open{display:block}.tt-select-menu::backdrop{background:transparent;pointer-events:none}.tt-select-option{display:flex;align-items:center;justify-content:space-between;gap:13px;width:100%;min-height:37px;margin:0;padding:9px 10px;border:1px solid transparent;border-radius:7px;background:#fff;color:#865e9c;font:500 12px/1.65 Manrope,Arial,sans-serif;text-align:left;white-space:normal;cursor:pointer;box-shadow:none}.tt-select-option>span{flex:1;min-width:0;overflow-wrap:anywhere}.tt-select-option:hover,.tt-select-option.is-active{border-color:#eee1fa;background:#f7f0ff;color:#8655aa}.tt-select-option[aria-selected=true]{background:#f2eafd;color:#7950a2;font-weight:650}.tt-select-option[aria-selected=true].is-active{border-color:#e1cef6;background:#eee1fc;color:#72439d}.tt-select-tick{display:grid;place-items:center;width:16px;height:17px;color:#9363b4;flex:none;visibility:hidden}.tt-select-tick svg{width:14px;height:14px}.tt-select-option[aria-selected=true]>.tt-select-tick{visibility:visible}.tt-select-option:disabled,.tt-select-option[aria-disabled=true]{background:#fff!important;border-color:transparent!important;color:#c5afcf!important;cursor:not-allowed;font-weight:400;opacity:.75}.tt-select-option:focus-visible{outline:2px solid #c9a9ed;outline-offset:-2px}.tt-select-group{padding:10px 10px 5px;font-size:10px;line-height:1.7;letter-spacing:.6px;text-transform:uppercase;color:#b494c6;font-weight:700}.tt-select-group:not(:first-child){margin-top:4px;border-top:1px solid #f0e5f7}.tt-select-empty{padding:12px 10px;font-size:12px;color:#b596c7}.tt-select-fallback-open{overflow:visible!important;transform:none!important}
/* Les menus de profil restent compacts ; les formulaires gardent leur largeur. */
.profile-select .tt-custom-select{width:165px;max-width:165px}.profile-select .tt-select-button{min-height:35px;padding:7px 10px;font-size:11px;border-color:#e7dfef;background:#fff}.profile-select .tt-select-arrow{width:13px;height:17px}.profile-select .tt-select-arrow svg{width:13px;height:13px}.nl-add-row>.tt-custom-select{flex:1;min-width:0}.cm-filter>.tt-custom-select .tt-select-button{min-height:42px;font-size:11px;padding:10px 11px;gap:8px}.nlw-filter>.tt-custom-select .tt-select-button{min-height:44px;font-size:12px}.nl-language>.tt-custom-select .tt-select-button{font-size:12px}.nlw-create-fields .tt-select-button{min-height:45px;font-size:12px}.global-dialog .tt-select-button{font-size:12px;min-height:43px}.tt-select-button svg{pointer-events:none}
@keyframes tt-select-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.tt-select-button,.tt-select-option{font-size:13px}.profile-select .tt-select-button{font-size:11px}.cm-filter>.tt-custom-select .tt-select-button{font-size:12px}}
@media(max-width:1050px){.profile-select .tt-custom-select{width:150px;max-width:150px}.cm-filter>.tt-custom-select .tt-select-button{font-size:10px}.nlw-filter>.tt-custom-select .tt-select-button{font-size:11px}}
@media(max-width:760px){.tt-select-button{font-size:12px;min-height:43px;padding:10px 11px;gap:9px}.tt-select-menu{font-size:12px;border-radius:10px;padding:5px;max-height:260px;animation:none}.tt-select-option{font-size:12px;min-height:41px;padding:10px 11px;gap:12px}.tt-select-option[aria-selected=true]{font-weight:650}.tt-select-group{font-size:10px;padding:11px 11px 6px}.profile-select .tt-custom-select{width:135px;max-width:135px}.profile-select .tt-select-button{min-height:32px;padding:6px 8px;font-size:10px;gap:5px;border-radius:7px}.profile-select .tt-select-arrow{width:12px;height:16px}.profile-select .tt-select-arrow svg{width:12px;height:12px}.cm-filter>.tt-custom-select .tt-select-button{min-height:40px;font-size:10px;padding:9px 10px;gap:5px}.nlw-filter>.tt-custom-select .tt-select-button{font-size:11px;min-height:43px;padding:10px}.nl-add-row>.tt-custom-select{width:100%}.nl-language>.tt-custom-select .tt-select-button{font-size:13px;min-height:45px}.global-dialog .tt-select-button{font-size:12px;min-height:44px}.nlw-create-fields .tt-select-button{font-size:12px;min-height:45px}}
@media(prefers-reduced-motion:reduce){.tt-select-menu{animation:none}.tt-select-button,.tt-select-arrow{transition:none}}
.tt-custom-select.is-open .tt-select-arrow,.tt-select-option[aria-selected=true],.tt-select-tick{color:#593dde}.tt-select-option[aria-selected=true]{background:#f1eaff}.tt-select-option[aria-selected=true].is-active{background:#ecdefd;border-color:#dcc5f4;color:#593dde}
