/* El select conserva el valor y la validación; el botón abre la interfaz propia. */
.select-control{position:relative;display:block;min-width:0;width:100%}
.select-control>select[hidden]{display:none!important}
.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:46px;padding:10px 11px 10px 14px;background:#fff;border:1px solid #e3dbde;border-radius:11px;text-align:left;color:#55424a;font-size:13px;line-height:1.45;font-weight:500;box-shadow:0 2px 4px #32202703;transition:border-color .15s,box-shadow .15s}
.select-trigger:hover{border-color:#b29ea6;background:#fdfbfc}
.select-trigger[aria-expanded="true"]{border-color:#937682;box-shadow:0 0 0 3px #e5d5dc80}
.select-trigger[aria-invalid="true"]{border-color:#bd6c5c}
.select-trigger:disabled{background:#f7f5f6;color:#9d838e;cursor:not-allowed;opacity:.8}
.select-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.select-arrow{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#f3eff1;color:#866975;flex-shrink:0}
.select-arrow .icon{height:15px;width:15px;transition:transform .15s}
.select-trigger[aria-expanded="true"] .select-arrow .icon{transform:rotate(180deg)}
.activity-select .select-control{flex:1;min-width:0}
.activity-select .select-trigger{background:none;border:0;box-shadow:none;padding:2px 0;min-height:32px;border-radius:6px;color:#f3f0f1;font-size:12px;gap:8px}
.activity-select .select-arrow{width:21px;height:21px;background:#ffffff0b;color:#ccbfc4}
.activity-select>.icon{display:none}
.period-label .select-trigger{font-size:12px;min-height:43px;padding:8px 9px 8px 13px;background:#ffffffb8}
.filter-group .select-control{min-width:150px}
.filter-group .select-trigger{font-size:12px;min-height:43px}
.selector-open{overflow:hidden}
.selector-overlay{position:fixed;inset:0;z-index:1000;display:block;background:#25181d1a;overscroll-behavior:contain}
.selector-panel{position:absolute;left:var(--picker-left,16px);top:var(--picker-top,70px);width:var(--picker-width,320px);max-height:min(520px,calc(100dvh - 32px));display:flex;flex-direction:column;background:#fff;border:1px solid #e4dde0;border-radius:17px;box-shadow:0 18px 65px #26181e29,0 3px 12px #26181e0d;padding:8px;overflow:hidden;animation:picker-enter .15s ease-out}
.selector-handle{display:none}
.selector-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-shrink:0;padding:7px 8px 10px;border-bottom:1px solid #efebed}
.selector-heading h2{font-family:'DM Sans',sans-serif;font-size:13px;letter-spacing:0;font-weight:650;line-height:1.5;color:#69525c;margin:0;min-width:0}
.selector-close{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:50%;background:#f4f1f2;color:#937582}
.selector-close:hover{background:#ebe3e6;color:#503943}
.selector-close .icon{height:17px;width:17px}
.selector-options{overflow:auto;overscroll-behavior:contain;padding:5px 0;min-height:0;scroll-padding:5px;scrollbar-width:thin;scrollbar-color:#ddd2d7 transparent}
.selector-option{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;min-height:46px;padding:11px 13px;border-radius:9px;font-size:13px;line-height:1.6;text-align:left;background:#fff;color:#58464d;flex-shrink:0;white-space:normal;overflow-wrap:anywhere}
.selector-option+.selector-option{margin-top:3px}
.selector-option[aria-selected="true"]{background:#f2eaed;color:#4f343f;font-weight:600}
.selector-option:hover:not(:disabled){background:#f5f0f2}
.selector-option:focus-visible{outline:2px solid #9b7f8b;outline-offset:-2px;background:#f1e8ec}
.selector-option:disabled{color:#b09aa3;background:#fff;cursor:default}
.option-check{display:grid;place-items:center;width:23px;height:23px;flex-shrink:0}
.option-check .icon{width:17px;height:17px}
.selector-option[aria-selected="true"] .option-check{border-radius:50%;background:#e1cfd6;color:#5f404d}
.selector-search{position:relative;margin:12px 4px 5px;flex-shrink:0}
.selector-search>.icon{position:absolute;left:13px;top:13px;width:18px;height:18px;color:#9c818c;pointer-events:none}
.selector-search>input{width:100%;min-height:44px;padding:11px 12px 11px 40px;border:1px solid #e6dee1;background:#f9f6f7;border-radius:10px;font-size:14px;line-height:1.5;color:#524048}
.selector-empty{padding:24px 15px;text-align:center;font-size:13px;color:#9c818c}
@keyframes picker-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){
  .select-trigger{min-height:49px;padding:11px 12px 11px 14px;font-size:14px;border-radius:12px;gap:10px}
  .select-arrow{width:27px;height:27px;border-radius:8px}.select-arrow .icon{width:17px;height:17px}
  .period-label .select-trigger{min-height:44px;font-size:13px;padding:8px 9px 8px 12px}
  .filter-group .select-control{min-width:0}.filter-group .select-trigger{min-height:46px;font-size:13px}
  .selector-overlay{background:#24161c4a;backdrop-filter:blur(3px)}
  .selector-panel{left:0;right:0;top:auto;bottom:0;width:100%;max-height:78dvh;min-height:180px;border:0;border-radius:25px 25px 0 0;padding:0 14px calc(15px + env(safe-area-inset-bottom));box-shadow:0 -12px 45px #24161c26;animation:sheet-enter .2s ease-out}
  .selector-handle{display:block;width:37px;height:4px;background:#e1d8dc;border-radius:4px;margin:11px auto 3px;flex-shrink:0}
  .selector-heading{padding:10px 5px 14px;gap:15px}.selector-heading h2{font-size:15px;letter-spacing:-.2px;color:#503d45;font-weight:650}
  .selector-close{width:43px;height:43px}.selector-close .icon{width:20px;height:20px}
  .selector-options{padding:9px 0 0}.selector-option{min-height:55px;padding:13px 15px;font-size:14px;border-radius:12px;line-height:1.55}
  .selector-option+.selector-option{margin-top:5px}.option-check{width:26px;height:26px}.option-check .icon{width:18px;height:18px}
  .selector-search{margin:12px 2px 4px}.selector-search>input{min-height:48px;font-size:16px;padding-left:42px}.selector-search>.icon{top:15px}
  .selector-empty{padding:28px 15px;font-size:15px}
}
@keyframes sheet-enter{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.selector-panel{animation:none}.select-trigger,.select-arrow .icon{transition:none}}
