.ry-select {
    --ry-select-ink:#17372c;
    --ry-select-accent:#0a6345;
    display:grid;
    gap:4px;
    width:100%;
    min-width:0;
}
select[data-ry-enhanced][hidden],[data-ry-select-container] > :is(svg,i) { display:none!important; }
:is(.reports-select,.clientes-filter-field,.collections-state)[data-ry-select-container] { border:0; outline:0; }
.ry-select-trigger {
    display:flex;
    align-items:center;
    gap:clamp(6px,.7vw,12px);
    width:100%;
    min-width:0;
    min-height:clamp(44px,3.12vw,54px);
    padding:7px clamp(9px,1.05vw,18px);
    border:1px solid #aebfb6;
    border-radius:10px;
    background:#fbfdfa;
    color:var(--ry-select-ink);
    font:inherit;
    font-size:max(14px,.94em);
    font-weight:600;
    text-align:left;
    cursor:pointer;
}
.ry-select-trigger:not(:disabled):hover,.ry-select-trigger[aria-expanded=true] { background:#ecf5ee; border-color:#6c9e86; }
.ry-select-trigger:disabled { opacity:.68; cursor:default; }
.ry-select-trigger[aria-invalid=true] { border-color:#a23b47; }
.ry-select-value { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ry-select :is(.ry-select-chevron,.ry-select-icon) { display:grid; flex:none; place-items:center; }
.ry-select .ry-select-trigger svg {
    position:static;
    width:1.15em;
    height:1.15em;
    transform:none;
    color:var(--ry-select-accent);
}
.ry-select-trigger[aria-expanded=true] .ry-select-chevron { transform:rotate(180deg); }
.ry-select-error { color:#a23b47; font-size:.8em; line-height:1.3; }
.ry-select-error:empty { display:none; }
.reports-select .ry-select-trigger { min-height:clamp(45px,3.52vw,59px); }
.ry-select-trigger:focus-visible { outline:2px solid #087c54; outline-offset:2px; }
.chat-label-filter-wrap { min-width:0; max-width:min(100%,200px); }
.chat-label-filter-wrap .ry-select-trigger { min-height:44px; border-radius:999px; }
.chat-label-filter-wrap .ry-select-trigger[data-filtered] { background:#e1f2e7; border-color:#7bb092; }
.neg-picker > .ry-select { width:auto; max-width:100%; }
.neg-picker .ry-select-trigger {
    font:800 clamp(20px,2.15vw,36px)/1.16 var(--neg-title);
    letter-spacing:-.025em;
    padding-inline:11px;
}
.neg-picker.is-single:not(.is-compact) .ry-select-trigger:disabled { padding-left:0; border-color:transparent; background:transparent; opacity:1; }
.neg-picker.is-single:not(.is-compact) .ry-select-trigger:disabled .ry-select-chevron { display:none; }
.ry-choice-sheet {
    position:fixed;
    inset:var(--ry-sheet-top,12px) auto auto var(--ry-sheet-left,12px);
    width:var(--ry-sheet-width,min(340px,calc(100vw - 24px)));
    max-width:calc(100vw - 24px);
    max-height:var(--ry-sheet-height,min(420px,calc(100dvh - 24px)));
    margin:0;
    padding:0;
    overflow:hidden;
    border:1px solid #bdcfc3;
    border-radius:16px;
    background:#fcfefb;
    color:#17372c;
    box-shadow:0 14px 40px #12382b2b;
    font-family:inherit;
}
.ry-choice-sheet::backdrop { background:#102e2424; }
.ry-sheet-panel { display:flex; flex-direction:column; max-height:var(--ry-sheet-height,min(420px,calc(100dvh - 24px))); padding:8px; }
.ry-sheet-header { display:flex; justify-content:space-between; align-items:center; gap:8px; padding-inline:9px 0; flex:none; }
.ry-sheet-header h2 { margin:0; font-size:18px; line-height:1.2; font-weight:750; overflow-wrap:anywhere; }
.ry-sheet-close { flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:9px; color:#345447; }
.ry-sheet-close:hover { background:#e8f2ea; }
.ry-sheet-close svg,.ry-sheet-choice svg { width:19px; height:19px; }
.ry-sheet-items {
    min-height:0;
    overflow:auto;
    overscroll-behavior:contain;
    scrollbar-width:none;
    display:grid;
    gap:4px;
    padding:4px;
}
.ry-sheet-items::-webkit-scrollbar { display:none; }
.ry-sheet-choice,.ry-sheet-items .v2-more-link {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    width:100%;
    min-height:46px;
    padding:8px 11px;
    gap:9px;
    border:1px solid transparent;
    border-radius:9px;
    color:#17372c;
    font-size:16px;
    font-weight:600;
    line-height:1.25;
    text-align:left;
    overflow-wrap:anywhere;
}
.ry-sheet-choice:not(:disabled):hover,.ry-sheet-items .v2-more-link:hover { background:#edf4ee; }
.ry-sheet-choice[aria-selected=true],.ry-sheet-items .v2-more-link[aria-current=page] { background:#deefe3; border-color:#bedbc9; color:#0b573b; }
.ry-sheet-choice[aria-selected=false] svg { visibility:hidden; }
.ry-sheet-choice:disabled { color:#5b6c64; opacity:.65; cursor:default; }
.ry-sheet-choice:focus-visible,.ry-sheet-close:focus-visible,.ry-sheet-items .v2-more-link:focus-visible { outline:2px solid #087c54; outline-offset:-2px; }
.ry-sheet-items .v2-more-link { grid-template-columns:24px minmax(0,1fr); text-decoration:none; }
.ry-sheet-items .v2-more-link svg { width:22px; height:22px; }
.v2-mobile-nav [aria-expanded=true] { background:#e1f3eb; color:#0b573b; }

@media(max-width:1023px) {
    html:has(body.crm-v2),body.crm-v2,body:has(#business-settings-page) .modal-content { scrollbar-width:none; }
    html:has(body.crm-v2)::-webkit-scrollbar,body.crm-v2::-webkit-scrollbar,body:has(#business-settings-page) .modal-content::-webkit-scrollbar { display:none; }
    html:has(#business-settings-page) { overflow-anchor:none; }
    html:has(.v2-more-sheet[open]) { overflow:hidden; }
    dialog.ry-choice-sheet.v2-more-sheet {
        inset:auto max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));
        width:min(440px,calc(100% - 16px));
        max-width:calc(100% - 16px);
        max-height:calc(100dvh - 22px);
        margin-inline:auto;
    }
    .v2-more-sheet .ry-sheet-panel { max-height:calc(100dvh - 24px); }
    .v2-more-sheet .ry-sheet-header { padding-inline-start:12px; }
    .v2-more-sheet .ry-sheet-items { gap:2px; }
    .v2-more-sheet .v2-more-link { grid-template-columns:36px minmax(0,1fr); min-height:48px; gap:10px; }
    .v2-more-sheet .v2-more-link svg { box-sizing:content-box; width:20px; height:20px; padding:7px; border-radius:10px; background:#eaf2ec; color:#0b6548; }
    .v2-more-sheet .v2-more-link[aria-current=page] svg { background:#cce7d5; }
    .v2-more-sheet .v2-more-link[data-v2-nav=account] { margin-top:6px; border-top-color:#dce8df; }
    .v2-more-sheet::backdrop { background:#102e2455; }
}
@media(max-width:680px) {
    html:has(#ry-select-options[open]) { overflow:hidden; }
    dialog.ry-choice-sheet {
        inset:auto max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));
        width:auto;
        max-width:calc(100% - 16px);
        max-height:min(72dvh,520px);
    }
    .ry-choice-sheet:not(.v2-more-sheet) .ry-sheet-panel { max-height:calc(min(72dvh,520px) - 2px); }
    .ry-choice-sheet::backdrop { background:#102e2455; }
    .ry-sheet-choice { min-height:50px; }
}
@media(max-width:380px) {
    .ry-select-trigger { padding-inline:8px; }
}
