.rental-ux-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;flex-wrap:wrap}
.rental-ux-filters{display:grid;grid-template-columns:repeat(3,minmax(110px,.8fr)) repeat(2,minmax(100px,.7fr)) minmax(140px,1fr) minmax(120px,.8fr) repeat(2,minmax(150px,1.2fr)) 38px;gap:10px;align-items:end;width:100%}
.rental-ux-filters>label{min-width:0;position:relative}.rental-ux-filters input,.rental-ux-filters select{width:100%;min-width:0}
.rental-ux-clear{height:38px;width:38px!important;padding:9px!important;display:grid;place-items:center}
.rental-ux-options{position:relative;z-index:10;max-height:260px;overflow:auto;background:#fff;border:1px solid #b7c8e4;border-radius:8px;box-shadow:0 6px 12px #0f172a20;color:#172b49}
.rental-ux-options[hidden],select[data-rental-autocomplete][hidden]{display:none!important}
.rental-ux-options button{display:block;width:100%;text-align:left;padding:10px;border-bottom:1px solid #edf1f7;white-space:normal;overflow-wrap:anywhere;font-size:13px;color:inherit;background:transparent}
.rental-ux-options button:hover,.rental-ux-options button[aria-selected=true]{background:#e7f0ff}
.rental-ux-filters .rental-ux-options{position:absolute;top:100%;left:0;min-width:100%;width:max-content;max-width:min(340px,85vw)}
.rental-ux-filters small:empty{display:none}.rental-ux-filters small{position:absolute;top:100%;font-size:11px;background:#fff;z-index:9}
.rental-ux-asset{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #dbe4ef;padding:12px 0}.rental-ux-asset p{font-size:13px}
#dumpsterSiteForm label{display:block;min-width:0}#dumpsterSiteForm [readonly]{background:#f3f6fa;color:#43536d}#dumpsterSiteForm [data-site-contact-add]{margin-top:8px;min-width:36px}
#dumpsterSiteForm .ds-person-picker-row{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:6px;align-items:start}
@media(max-width:1400px){.rental-ux-filters{grid-template-columns:repeat(5,minmax(110px,1fr))}.rental-ux-clear{justify-self:end}}
@media(max-width:760px){.rental-ux-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.rental-ux-toolbar>[data-dumpster-action]{margin-left:auto}.rental-ux-asset{align-items:flex-start;flex-direction:column}}
/* Compact site editor only; other rental dialogs retain their sizing. */
#dumpsterModal:has(#dumpsterSiteForm)>div{padding:12px}
#dumpsterModal:has(#dumpsterSiteForm)>div>div:first-child{margin-bottom:8px}
#dumpsterModal:has(#dumpsterSiteForm) #dumpsterModalTitle{font-size:16px;line-height:1.25}
#dumpsterSiteForm{font-size:12px;line-height:1.35;display:grid;gap:8px}
#dumpsterSiteForm>*{margin-top:0!important;margin-bottom:0!important}
#dumpsterSiteForm>section{padding:8px 0;border:0;border-radius:0}
#dumpsterSiteForm>section+section{border-top:1px solid #dbe4ef}
#dumpsterSiteForm h4,#dumpsterSiteForm .label,#dumpsterSiteForm label{font-size:12px;line-height:1.35}
#dumpsterSiteForm h4{margin:0 0 5px}
#dumpsterSiteForm .label{margin-bottom:3px}
#dumpsterSiteForm .grid{gap:7px 10px;margin-top:0}
#dumpsterSiteForm .input,#dumpsterSiteForm .select,#dumpsterSiteForm [data-customer-search]{font-size:12px;line-height:1.35;padding:6px 9px;min-height:32px;height:32px}
#dumpsterSiteForm textarea.input{height:42px;min-height:42px;resize:vertical}
#dumpsterSiteForm .btn-primary,#dumpsterSiteForm .btn-secondary,#dumpsterModal:has(#dumpsterSiteForm) [data-dumpster-modal-close]{font-size:12px;line-height:1.35;padding:6px 10px;min-height:32px}
#dumpsterSiteForm small,#dumpsterSiteForm .text-xs,#dumpsterSiteForm [data-site-contact-note]{font-size:11px;line-height:1.3}
#dumpsterSiteForm [data-site-contact-note]:empty{display:none}
#dumpsterSiteForm section>.grid>div:has(>[data-site-contact-add]){display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:end;gap:6px}
#dumpsterSiteForm [data-site-contact-add]{margin:0;min-width:32px;width:32px;height:32px;padding:4px}
#dumpsterSiteForm>label:has([name=active]){display:flex;align-items:center;gap:6px}
@media(min-width:640px){
 #dumpsterSiteForm .input,#dumpsterSiteForm .select,#dumpsterSiteForm [data-customer-search]{font-size:12px!important}
 #dumpsterSiteForm section>.grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #dumpsterSiteForm section>.grid>label{grid-column:auto}
 #dumpsterSiteForm section:last-of-type{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px}
 #dumpsterSiteForm section:last-of-type>h4,#dumpsterSiteForm section:last-of-type>.grid,#dumpsterSiteForm [data-site-contact-note]{grid-column:1/-1}
 #dumpsterSiteForm section:last-of-type textarea{margin-top:0}
}

/* OS billing only: compact filters and row actions; status circles intentionally exempt. */
.rental-os .rental-billing-tools{display:flex;justify-content:flex-end;margin:8px 0}
.rental-os .rental-billing-tools label{display:flex;gap:8px;align-items:center;font-size:12px}
.rental-os .rental-billing-tools select{height:30px;min-height:30px;padding:3px 28px 3px 8px;width:140px}
.rental-os [data-os-adjust]{display:block;font-size:11px;margin-top:3px}
.rental-os [data-row-status-exempt] td{padding:6px 8px;vertical-align:middle}
.rental-os [data-row-status-exempt] th{font-size:10px;padding:6px 8px}
.rental-os [data-row-status-exempt] td:nth-child(2){min-width:120px}
.rental-os [data-row-status-exempt] td:nth-child(6){white-space:nowrap}

/* OS and movement browser: scoped to rental screens. */
.rental-os-item.is-complete{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:23px;border-radius:5px;background:#e5f5eb;color:#16784c}
.rental-os-table .rental-os-complete{color:#16784c;font-size:10px}
.rental-os-legacy-terms{padding:8px 0;color:#60738f;font-size:12px}
.rental-movements{background:#fff;border:1px solid #dce5f0;border-radius:7px;overflow:hidden}
.rental-movements h3{font-size:13px;font-weight:650;padding:10px 12px;background:#edf3fb;margin:0}
.rental-movements .rental-os-table{font-size:12px;width:100%}.rental-movements th{font-size:10px;text-align:left}.rental-movements td,.rental-movements th{padding:9px 12px}.rental-movements tbody tr:nth-child(even){background:#f7faff}

.rental-register{background:#fff;border:1px solid #dce5f0;border-radius:7px;padding:12px}.rental-register-tools{display:flex;align-items:center;gap:10px;margin-bottom:12px}.rental-register-tools h3{font-size:14px;font-weight:650;margin-right:auto}.rental-register-tools form{display:flex;gap:6px}.rental-register-tools .input{width:280px;height:32px;font-size:12px}.rental-register-tools button,.rental-register-pagination button{height:32px;padding:4px 12px;font-size:12px}.rental-register-pagination{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding-top:9px;font-size:11px;color:#7486a1}.rental-register-form{margin-top:15px;border-top:1px solid #dce5f0;padding-top:12px}.rental-register-form[hidden]{display:none}.rental-register-form h3{font-size:14px;font-weight:650;margin-bottom:10px}.rental-register-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.rental-register-wide{grid-column:1/-1}.rental-register-form .label{font-size:12px}.rental-register-form .input,.rental-register-form .select{min-height:34px;font-size:13px}.rental-register-actions{display:flex;gap:8px;margin-top:12px}.rental-register [role=alert]{color:#b42318;margin:8px 0}.rental-register .rental-os-table{width:100%;font-size:12px}
@media(max-width:760px){.rental-register-tools{flex-wrap:wrap}.rental-register-tools form{width:100%;order:3}.rental-register-tools .input{width:100%;min-width:0}.rental-register-grid{grid-template-columns:1fr}.rental-register .rental-os-table{min-width:560px}}

/* Site creation from the OS keeps its parent editor alive. */
.rental-site-select{display:flex;align-items:center;gap:8px;min-width:0}
.rental-site-select>:is(select,input){flex:1;min-width:0;width:100%}
.rental-site-add{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 38px;width:38px;min-height:38px;padding:8px!important}
.rental-site-dialog{width:min(800px,96vw);max-height:92vh;overflow:auto;padding:20px;border:0;border-radius:16px;background:#fff;color:#334155}
.rental-site-dialog::backdrop{background:rgb(15 23 42 / .55)}
.rental-site-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.rental-site-dialog>header h3{font-size:19px;font-weight:700}
#dumpsterSiteForm.rental-site-form .grid{align-items:start;gap:16px}
#dumpsterSiteForm.rental-site-form .grid>*,.rental-site-customer{min-width:0}
#dumpsterSiteForm.rental-site-form .label{display:block;margin:0 0 6px;line-height:20px;font-weight:600}
#dumpsterSiteForm.rental-site-form .customer-selector>.label{display:none}
#dumpsterSiteForm.rental-site-form :is(input,textarea,select){max-width:100%;box-sizing:border-box}
#dumpsterSiteForm.rental-site-form [data-customer-search]:disabled{opacity:1;background:#f1f5f9;color:#334155;cursor:default}
#dumpsterSiteForm.rental-site-form .rental-site-notes{display:block;margin-top:14px}
#dumpsterSiteForm.rental-site-form [data-site-error]{color:#b91c1c}
#dumpsterSiteForm.rental-site-form [data-site-contact-add]{margin-top:0}
@media(max-width:639px){.rental-site-dialog{padding:14px}#dumpsterSiteForm.rental-site-form section{padding:12px}}

#dumpsterSiteForm.rental-site-form .rental-site-select{position:relative}
#dumpsterSiteForm.rental-site-form .rental-site-select .rental-ux-options{position:absolute;top:100%;left:0;right:0;z-index:5}
#dumpsterSiteForm.rental-site-form .rental-site-select>small{position:absolute;top:100%;left:0}

#dumpsterSiteForm.rental-site-form .ds-person-picker-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}
#dumpsterSiteForm.rental-site-form :is(.input,.select){border:1px solid #c4d3e5;border-radius:8px;background:#fff;color:#334155;height:38px;min-height:38px;font-size:13px;padding:8px 10px}
#dumpsterSiteForm.rental-site-form textarea.input{height:auto;min-height:64px}
#dumpsterSiteForm.rental-site-form .btn-primary{background:var(--ds-primary,#2563eb);color:white;border-radius:8px;min-height:38px}
#dumpsterSiteForm.rental-site-form section:last-of-type{display:block}
#dumpsterSiteForm.rental-site-form [data-customer-search]:disabled{background:#f1f5f9}
@media(min-width:768px){#dumpsterSiteForm.rental-site-form section>.grid>label.md\:col-span-2{grid-column:span 2}}
@media(max-width:767px){#dumpsterSiteForm.rental-site-form section>.grid{grid-template-columns:minmax(0,1fr)}}
