/* v1959 — Consistent 32.5px paging controls, Flaun brand focus and Management switches. */

/* Brand remains keyboard-accessible with Flaun-yellow focus, never a browser-black outline. */
html body .landing-brand,
html body .footer-brand-v1878,
html body .top-brand,
html body .brand:has(>.flaun-logo-img),
html body.fl-management .fl-management-brand-logo{
  outline:none!important;border:0!important;box-shadow:none!important;
  -webkit-tap-highlight-color:transparent!important;
}
html body .landing-brand img.flaun-logo-img,
html body .footer-brand-v1878 img.flaun-logo-img,
html body .top-brand img.flaun-logo-img,
html body .brand>.flaun-logo-img,
html body.fl-management .fl-management-brand-logo img{
  outline:none!important;border:0!important;box-shadow:none!important;
}
html body .landing-brand:focus-visible,
html body .footer-brand-v1878:focus-visible,
html body .top-brand:focus-visible,
html body .brand:has(>.flaun-logo-img):focus-visible,
html body.fl-management .fl-management-brand-logo:focus-visible{
  outline:none!important;border-radius:7.5px!important;
  box-shadow:0 0 0 2px rgba(255,245,0,.55)!important;
}

/* Partner: selected-row count and both page arrows/current page. */
html body .customers-pagination>span:first-child,
html body .customers-pagination>div>button,
html body .customers-pagination>div>span,
html body #view-invoice .flaun-invoice-total-count,
html body #view-invoice .flaun-invoice-pagination [data-invoice-page-prev],
html body #view-invoice .flaun-invoice-pagination [data-invoice-page-next],
html body #view-invoice .flaun-invoice-pagination [data-invoice-page-number],
html body #view-dispatch .fd-list-count-badge,
html body #view-dispatch .fd-pager>#fdPrev,
html body #view-dispatch .fd-pager>#fdNext,
html body #view-dispatch .fd-pager>#fdPage,
html body .incoming-pagination .page-nav,
html body .outgoing-pagination .page-nav,
html body .drafts-pagination .page-nav,
html body .all-invoices-pagination .page-nav,
html body .incoming-pagination .page-current,
html body .outgoing-pagination .page-current,
html body .drafts-pagination .page-current,
html body .all-invoices-pagination .page-current,
html body #fqInvoiceRoot .fq-all-invoices-pagination .page-nav,
html body #fqInvoiceRoot .fq-all-invoices-pagination .page-current{
  box-sizing:border-box!important;width:32.5px!important;min-width:32.5px!important;
  max-width:32.5px!important;height:32.5px!important;min-height:32.5px!important;
  max-height:32.5px!important;padding:0!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
}

/* Management: preserve row selections while standardizing only footer controls. */
html body.fl-management .fl-management-selected-count,
html body.fl-management .fl-management-current-page,
html body.fl-management .fl-management-page-arrow{
  box-sizing:border-box!important;width:32.5px!important;min-width:32.5px!important;
  max-width:32.5px!important;height:32.5px!important;min-height:32.5px!important;
  max-height:32.5px!important;padding:0!important;
}

/* Partner Settings' 44 x 22 iOS switch, scoped to Management's two settings/consent checkboxes. */
html body.fl-management .fl-switch{display:flex;align-items:center;justify-content:space-between;gap:12.5px;}
html body.fl-management .fl-mgmt-ios-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;position:relative;min-height:32.5px;cursor:pointer;user-select:none;}
html body.fl-management .fl-mgmt-ios-toggle input[type="checkbox"]{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;opacity:0!important;pointer-events:none!important;}
html body.fl-management .fl-mgmt-ios-toggle i{position:relative;display:block;width:44px;height:22px;flex:none;border-radius:20px;background:#8993a2;transition:background-color .15s ease,box-shadow .15s ease;}
html body.fl-management .fl-mgmt-ios-toggle i::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:left .15s ease,background-color .15s ease;}
html body.fl-management .fl-mgmt-ios-toggle input:checked+i{background:#fff500;}
html body.fl-management .fl-mgmt-ios-toggle input:checked+i::after{left:25px;background:#171717;}
html body.fl-management .fl-mgmt-ios-toggle input:focus-visible+i,
html body.fl-management .fl-mgmt-ios-toggle:hover i{box-shadow:0 0 0 3px rgba(255,245,0,.2);}
html body.fl-management .fl-mgmt-ios-toggle:has(input:disabled){opacity:.62;cursor:default;}
html body.fl-management .fl-mgmt-stage-switch{align-items:center;}

/* v1960 — Matching numerals on the selected-row badge and yellow current-page badge. */
html body .customers-pagination>span:first-child,
html body .customers-pagination>div>span,
html body #view-invoice .flaun-invoice-total-count,
html body #view-invoice .flaun-invoice-pagination [data-invoice-page-number],
html body #view-dispatch .fd-list-count-badge,
html body #view-dispatch .fd-pager>#fdPage,
html body .incoming-pagination .page-current,
html body .outgoing-pagination .page-current,
html body .drafts-pagination .page-current,
html body .all-invoices-pagination .page-current,
html body #fqInvoiceRoot .fq-all-invoices-pagination .page-current,
html body.fl-management .fl-management-selected-count,
html body.fl-management .fl-management-current-page{
  color:#171717!important;
  font:400 12.5px/1 "SF Pro Text","SF Pro Icons","Helvetica Neue",Helvetica,Arial,sans-serif!important;
}

/* The left and right arrows are optically larger, without changing their boxes. */
html body .customers-pagination>div>button,
html body #view-invoice .flaun-invoice-pagination [data-invoice-page-prev],
html body #view-invoice .flaun-invoice-pagination [data-invoice-page-next],
html body #view-dispatch .fd-pager>#fdPrev,
html body #view-dispatch .fd-pager>#fdNext,
html body .incoming-pagination .page-nav,
html body .outgoing-pagination .page-nav,
html body .drafts-pagination .page-nav,
html body .all-invoices-pagination .page-nav,
html body #fqInvoiceRoot .fq-all-invoices-pagination .page-nav,
html body.fl-management .fl-management-page-arrow{
  font:500 22.5px/1 "SF Pro Text",Arial,sans-serif!important;
}

/* Click the number to type a specific page; the existing 32.5px badge stays in place. */
html body [data-flaun-jump-ready="1"]{cursor:text!important;}
html body [data-flaun-jump-ready="1"]:focus-visible{outline:0!important;box-shadow:0 0 0 2px rgba(255,245,0,.32)!important;}
html body input.flaun-page-jump-input{
  box-sizing:border-box!important;position:fixed!important;z-index:2147483000!important;
  margin:0!important;padding:0 2px!important;min-width:0!important;
  border:1px solid #fff500!important;border-radius:7.5px!important;
  background:#fff500!important;color:#171717!important;text-align:center!important;
  font:400 12.5px/1 "SF Pro Text","SF Pro Icons","Helvetica Neue",Helvetica,Arial,sans-serif!important;
  outline:2px solid rgba(255,245,0,.35)!important;outline-offset:1px!important;
  box-shadow:0 2px 8px rgba(23,23,23,.06)!important;
}
