/* Agreements 0.5.75 — compact, searchable organization list filter */
.agr-org-filter{position:relative;display:inline-flex;vertical-align:middle;min-width:185px;width:clamp(185px,22vw,305px);max-width:100%}
.agr-org-filter>select.agr-org-native{position:absolute!important;left:0!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;border:0!important;padding:0!important}
.agr-org-trigger{height:36px;width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 9px;background:#fff;border:1px solid #cbd5e1;border-radius:7px;text-align:left;color:#344054}
.agr-org-trigger:hover,.agr-org-trigger[aria-expanded=true]{background:#f7faff;border-color:#7da5ed}
.agr-org-trigger-text{min-width:0;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px}
.agr-org-arrow{flex:0 0 auto;font-size:12px;color:#667085}
.agr-org-popup{position:fixed;z-index:10060;background:#fff;border:1px solid #cbd5e1;border-radius:9px;box-shadow:0 14px 36px #10182833;padding:10px;display:flex;flex-direction:column;overflow:hidden}
.agr-org-popup label{font-size:12px;color:#344054;font-weight:600;margin-bottom:6px}
.agr-org-popup input{height:36px;flex:0 0 auto;width:100%;padding:7px 9px;border:1px solid #98b1d9;border-radius:6px}
.agr-org-options{flex:1 1 auto;min-height:0;overflow:auto;margin-top:6px;border-top:1px solid #edf0f3}
.agr-org-choice{display:block;width:100%;padding:8px 9px;text-align:left;border:0;background:#fff;border-radius:5px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#344054}
.agr-org-choice:hover,.agr-org-choice[aria-selected=true]{background:#eef3ff}
.agr-org-count,.agr-org-empty{color:#667085;font-size:11px;padding:6px 3px 0}
#agreementNumberSearch{width:190px;min-width:145px}
@media(max-width:800px){.agr-org-filter{width:100%;min-width:180px}#agreementNumberSearch{width:160px}}

/* v0.5.75: consistent agreement-list filters, including searchable organization selector. */
#agreements .page-title{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-bottom:14px}
#agreements .page-title h1{line-height:1.25;margin:0}
#agreements .page-title .toolbar{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap}
#agreements .page-title .toolbar>input,
#agreements .page-title .toolbar>select,
#agreements .page-title .toolbar>button,
#agreements .page-title .agr-org-trigger{height:36px;box-sizing:border-box;border:1px solid #cbd2dc;border-radius:7px;background:#fff;color:#344054;padding:7px 10px;font:400 13px/20px Segoe UI,Arial,sans-serif;vertical-align:middle}
#agreements .page-title .toolbar>button.primary{background:var(--primary);border-color:var(--primary);color:#fff}
#agreements .page-title .agr-org-trigger{text-align:left;display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px}
#agreements .page-title .agr-org-trigger:hover,
#agreements .page-title .agr-org-trigger[aria-expanded=true]{border-color:#7da5ed;background:#f7faff}
#agreements .page-title .agr-org-trigger-text{font-size:13px;line-height:20px}
#agreements #agreementNumberSearch{width:180px;min-width:155px}
@media(max-width:760px){#agreements .page-title .toolbar{gap:6px}#agreements .page-title .agr-org-filter{width:min(100%,300px)}#agreements #agreementNumberSearch{width:180px}}
