@media(min-width:0px) and (max-width:575px){
.container{ width:100%;}

body.hide-scroll{ overflow: hidden;}

/* Table horizontal scroll fix */
.default-table-main-ppbp, .Abilling-data-table-bap, .dt-scroll, .dataTables_wrapper { max-width: 100%; overflow-x: auto;}
.default-table-body-ppbp, .dt-layout-table { max-width: 100%; overflow-x: auto;}

/*--------------------- HEADER_START ---------------------*/
.header { padding: 0 15px;}
.header-left-hp { gap: 15px;}
.mobile-menu-icon-hp { display: block !important; margin-left: 0px;}
.username-block-hp p { display: none;}
.navigation-hp { display: none; position: fixed; left: 0px; top: 73px; width: 100%; height: calc(100% - 73px); background: #fff; overflow-y: auto; z-index: 998;}
.navigation-hp .navbar-nav { gap: 0px !important; padding-top: 15px; flex-direction: column !important; display: flex !important;}
.navigation-hp .navbar-nav .nav-item { padding: 0px 15px; display: block !important; border-bottom: 1px solid #eee;}
.navigation-hp .navbar-nav .nav-item .nav-link { line-height: 40px !important; color: #1f3044 !important; display: block !important; padding: 5px 0 !important;}
.navigation-hp .dropdown-menu { border: none; box-shadow: none; position: relative !important; left: auto !important; right: auto !important; top: auto !important; transform: translate(0px) !important; background-color: #f7fbfe; width: 100%; display: none;}
.navigation-hp .dropdown-menu.show { display: block !important;}
.navigation-hp .dropdown-menu .dropdown-item { line-height: 36px; color: #1f3044; padding: 0 15px;}
.navigation-hp .dropdown-toggle::after { background-image: url("/images/angle_down_black.svg");}
.logo-hp a img { height: 30px;}
.header-right-hp { gap: 12px;}
.avatar-block-main-hp { padding-left: 10px;}
.avatar-drop-toggler .avatar-icon-block-hp{ height: 26px; width: 26px; margin-right: 5px;}
.user-prof-icon-hp { height: 40px; width: 40px;}
.user-info-block-hp { padding-bottom: 10px;}

.fix-header #contain {
    padding-top: 73px;
}
/*--------------------- HEADER_END ---------------------*/


.switch-account-item-patp > a.desktop-link{ }
.switch-account-item-patp > a.mobile-link-name{ display: flex; background: none;}
.switch-account-item-patp > a.mobile-link-arrow{ display:block !important; padding: 10px 10px 10px !important;}

.sidebar-main-patlp{ left: -80px;}
.contain-block-main-patlp{ margin-left: 0px; width: 100%; padding-top: 72px;}
.pp-header-main-patp{ height: 72px; width: 100%; padding: 0px 15px;}
.avatar-block-main-patp{ padding-left: 15px;}
.avatar-drop-toggler .avatar-icon-block-patp{ margin-right: 0px;}
.username-block-patp{ display: none;}
.mobile-menu-icon-patp{ display: block; margin-left: 10px}
.sidebar-mobile-open-patlp{ left: 0px;}
.contain-block-main-patlp.contain-compress-patlp .pp-header-main-patp{ width: 100%; margin-left: 0px;}
.contain-block-main-patlp.contain-compress-patlp{ width: 100%; margin-left: 0px;}
.pp-head-logo-patp{ display: block;}
.provider-name-main-patp{ padding-right: 30px;}
.provider-name-main-patp h2{ font-size: 18px; line-height: 22px;}
.dropdown-menu.show.user-prof-drop-patp{ top: 0px !important;}
.all-Account-dropmenu-patp{ position: relative !important; right: auto !important; left: auto !important; transform: translate3d(0px, 0px, 0px) !important; box-shadow: 0px 0px 0px; width: 100%;}
.all-Account-dropmenu-patp.dropdown-menu.show1{ float: none; top: auto !important; display: block; right: auto; position: relative; width: 100%; margin: 15px 0px 0px; box-shadow: 0px 0px 0px; padding: 0px;}
.patient-contain-in-patlp{ padding: 15px 15px 15px;}

.filepond--root .filepond--drop-label{ height: 140px; min-height: 140px;}
.filepond--drop-label.filepond--drop-label label{ flex-direction: column; gap: 5px;}
.filepond--drop-label.filepond--drop-label label img{ margin-right: 0px; height: 40px;}
.filepond--drop-label.filepond--drop-label label p.fileupload-text{ display: none;}
.filepond--root .filepond--list-scroller{ transform: translate3d(0px, 140px, 0px) !important;}

.default-Ffield-textarea-cmp{ height: auto;}

.default-form-col-patp{ padding-bottom: 15px;}

.default-table-main-ppbp .dataTables_wrapper .dataTables_filter{ position: relative; top: auto; right: auto; margin: 0px; width: 100%;}
.default-table-main-ppbp .dataTables_wrapper .dataTables_filter label{ padding-bottom: 10px;}
.default-table-main-ppbp .dataTables_wrapper .dataTables_filter input{ width: calc(100% - 65px);}
.dataTables_wrapper .dataTables_paginate{ width: 100%; justify-content: center;}
.default-table-main-ppbp .dataTables_wrapper .dataTables_scroll{ height: calc(100% - 142px);}
.default-table-main-ppbp .dataTables_wrapper .dataTables_length{ padding: 10px 0px 0px; margin: 0px; height: 36px;}
.default-table-main-ppbp table.dataTable tbody tr{ display: block; width: 100%; border-bottom: solid 1px rgba(203, 214, 226, 0.30);}
.default-table-main-ppbp .table th{ display: block; width: calc(100% - 0px) !important; line-height: 30px; padding: 0px 15px 0px 15px;}
.default-table-main-ppbp table.dataTable thead > tr > th.sorting, .default-table-main-ppbp table.dataTable thead > tr > th.sorting_asc{ color: #37A000;}
.default-table-main-ppbp .table td{ display: flex !important; align-items: flex-start; padding: 8px 15px; border-bottom: 0px; width: 100% !important; box-sizing: border-box; white-space: normal !important; overflow-wrap: anywhere; min-width: 0;}
.default-table-main-ppbp .table td:before { content: attr(data-th) ": "; flex: 0 0 140px; min-width: 140px; margin-right: 15px; font-weight: bold; color: #0F3A5D; white-space: nowrap; }
/* Mobile sweep fix D: the `.nowrap` class keeps cell CONTENT on one line, so a
   long value (email / full name) forces the stacked table wider than the
   viewport — it overflows left and clips the inline `data-th` labels ("ame:").
   In the stacked layout each value should wrap beside its label, so allow the
   cell text to wrap/break (label pseudo stays on one line) and cap the table
   width. Applies to every .default-table-main-ppbp responsive table.
   (WILMA-1776 mobile sweep) */
.default-table-main-ppbp table.dataTable, .default-table-main-ppbp .table{ max-width: 100%; }
.default-table-main-ppbp .table td.bill-data-list-col6-ppbp span{ position: relative; left: auto; top: auto; margin-right: 10px; display: inline-block; margin-right: 5px;}
.default-table-main-ppbp .table td.bill-data-list-col1-ppbp span{ position: relative; left: auto; top: auto; margin-right: 10px; display: inline-block; margin-right: 5px;}
.default-table-body-ppbp .dt-paging{ padding-top: 0px; height: auto; flex-wrap: wrap; justify-content: center; gap: 4px;}
/* Selector includes `div.dt-container .dt-paging` to MATCH DataTables's own
   `div.dt-container .dt-paging .dt-paging-button { min-width: 1.5em; padding:
   0.5em 1em }` rule from data_tables.css, so this padding wins rather than
   losing on specificity. The 44px min-width/min-height that used to ride along
   here is gone -- it made a page number a 44px slab on a phone and 26px on a
   desktop. The padding stays: 8px/12px is what makes a page number a button at
   all, and it is the same on every device. */
.default-table-body-ppbp div.dt-container .dt-paging .dt-paging-button{ padding: 8px 12px; margin: 2px;}
/* The page numbers sit in one <nav> inside .dt-paging, a non-wrapping flex (portal-global.css): wrapping .dt-paging
   could not wrap its only child, so on a phone the row ran 9px past each edge. The nav wraps itself; on a row that
   fits, nothing changes. */
.default-table-body-ppbp div.dt-container .dt-paging nav{ flex-wrap: wrap; justify-content: center; max-width: 100%;}
/* Mobile sweep fix C: the page-size row .dt-length is `display: flex` from
   portal-global.css line 541 but with no `flex-wrap` and a fixed 56px
   height. The children are: ::before "Show" pseudo, hidden native select,
   bootstrap-select button "10" (visible replacement), and a label
   "entries per page". On a 360px content area + 193px container, the
   button renders right against the label — the button's right border
   cuts into the "e" of "entries", and any vertical bump on the button
   (e.g. a tap-target min-height) extends below the label baseline.
   Fix: allow wrap, auto height, gap between children, center align.
   This also fixes the same overlap on any other Pattern A consumer
   (49+ pages). (WILMA-1776 mobile sweep) */
.default-table-main-ppbp .default-table-body-ppbp div.dt-container .dt-length{ padding: 16px 0px 0px; height: auto; flex-wrap: wrap; gap: 4px 10px; align-items: center;}
.default-table-main-ppbp .default-table-body-ppbp div.dt-container .dt-length > *{ margin: 0;}
/* The bootstrap-select dropdown shows "10" — the "entries per page" label is
   redundant on narrow screens. Hide it so "Show" + "10" sit on one tight row.
   Selector matches the existing `div.dt-container .dt-length label { display: flex }`
   rule in portal-global.css:544 so cascade order (responsive loads after) wins. */
.default-table-main-ppbp .default-table-body-ppbp div.dt-container .dt-length label{ display: none;}
/* Mobile sweep fix A: when a table renders its row labels inline via the
   `td:before { content: attr(data-th) }` rule above, the THEAD's column-name
   list at the top is redundant — it stacks vertically (because of the
   `th { display: block }` rule above) and shows an empty column-name list
   above the row cards, duplicating the "Name:", "Type:", "Email:" labels
   that already appear inline on each row. Hide thead automatically when
   td[data-th] is present; pages without data-th (e.g. claims preview
   tables) keep their headers visible. `:has()` is widely supported now
   (Chrome 105+ / Safari 15.4+ / Firefox 121+); browsers without support
   ignore the rule cleanly. (WILMA-1776 mobile sweep) */
.default-table-main-ppbp .table:has(td[data-th]) > thead { display: none;}
/* Mobile sweep fix A2: an empty-state row spans every column and has no column
   of its own, so the `content: attr(data-th) ": "` rule above prints a bare ":"
   in front of it and indents the message 155px — on the one screen where the
   message IS the entire content. A cell with colspan is a sentence, not a field.
   (WILMA-1776) */
.default-table-main-ppbp .table td[colspan]:before,
.default-table-main-ppbp .table td[data-th=""]:before { content: none; display: none;}
/* Mobile sweep fix B: pages with inline-styled flex rows that use
   `justify-content: space-between` but no `flex-wrap: wrap` push their
   right-side button cluster (Actions / Add / Export / Filter / Close)
   PAST the viewport when the row contents do not fit. ~56 files identified
   across reports, dashboards, modal headers. Force wrap so the cluster
   drops to a new line instead of clipping off the right edge. `!important`
   is required to defeat the inline style — this only fires inside the
   mobile media query where overflow is the actual failure mode. Rows
   whose content fits keep their one-line layout because wrap only triggers
   when items would overflow. (WILMA-1776 mobile sweep) */
div[style*="display: flex"][style*="justify-content: space-between"] { flex-wrap: wrap !important;}
/* Mobile sweep fix D: .Abilling-data-export-buttons-bap is the standard
   export/action button row on ~46 reports + dashboard pages (defined in
   session-compliance.css:25 and billing-admin-interface.css:35 as
   `display: flex; justify-content: flex-end; gap: 20px` with NO flex-wrap).
   On a 360px content area the buttons (often 2-3 chips at 100-160px each
   plus 20px gaps) push 100-200px past the viewport. Force wrap + restart
   from flex-start so wrapped rows stack neatly under each other instead of
   right-aligning into a sliver. Only fires below the breakpoint where
   overflow is the actual failure mode. (WILMA-1776 mobile sweep) */
.Abilling-data-export-buttons-bap{ flex-wrap: wrap; justify-content: flex-start;}

.Default-modal-patp .modal-dialog{ padding: 0px 15px;}
.Default-modal-patp .modal-header{ padding: 15px 15px 15px;}
.Default-modal-header-elp h2{ line-height: 36px;}
.Default-modal-content-patp{ padding: 15px 15px 15px;}
/* Mobile tabs (≤575px): previously fixed at width:86px which forced multi-word labels
   like "Caregivers (1)" to wrap to 2 lines, expanding every tab to 56px tall and making
   the row look broken. Switch to content-driven width (with 86px minimum so short tabs
   don't collapse) + nowrap + horizontal scroll on the tab strip — same pattern Bootstrap
   uses for nav-pills on mobile. Pages with short tabs render identically; pages with
   longer labels scroll horizontally instead of wrapping. (WILMA-1776 mobile sweep) */
.default-tab-menu-patp .nav-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;}
.default-tab-menu-patp .nav-tabs::-webkit-scrollbar { display: none;}
/* The 56px min-height that used to sit on this rule is gone. 56px was the
   SYMPTOM the rule above set out to cure -- a two-line label expanding the row
   -- and pinning it afterwards locked in the very height the nowrap fix exists
   to avoid, so a phone drew a 56px tab strip where a desktop draws 40px. With
   nowrap the label is one line; the padding decides the height, on every
   device. */
.default-tab-menu-patp .nav-tabs .nav-link { width: auto; min-width: 86px; padding: 12px 12px 12px; text-align: center; align-items: center; display: flex; justify-content: center; white-space: nowrap; flex-shrink: 0;}

.DEFaccordion-card-main-patp .DEFaccordion-card-header-patp{ padding: 0px 15px;}
.DEFaccordion-card-main-patp .DEFaccordion-card-header-patp a{ padding: 15px 40px 15px 0px; background-size: auto 30px;}
.DEFaccordion-card-main-patp .DEFaccordion-card-header-patp a.collapsed{ background-size: auto 30px;}
.DEFaccordion-card-body-patp{ padding: 15px 15px 15px;}

table.dataTable th.dt-type-numeric:last-child, table.dataTable th.dt-type-date:last-child, table.dataTable td.dt-type-numeric:last-child, table.dataTable td.dt-type-date:last-child {
    text-align: left;
}

.default-table-main-ppbp table.dataTable tr th:last-child, .default-table-main-ppbp table.dataTable tbody tr td:last-child{ text-align: left;}
.filter-sidebar-main-global{ left: -254px; z-index: 9;}
.filter-btn-global { display: none; left: 15px; margin-top: 15px;}
.filter-sidebar-main-global.filter_sidebar_close { left: 0px; z-index: 99;}
.filter-btn-global.filter_btn_close_global { display: none;}
.filter-sidebar-backdrop-global.backdrop_open { display: block; left: 0; z-index: 9;}

.contain-right-global{ margin-left: 0px; width: 100%; border-left: 0px;}
.default-title-main-global{ padding: 0px 15px;}
.default-title-main-global h1 { font-size: 22px; line-height: 24px;}
.contain-right-global.contain_Oexpand_global{ margin-left: 0px; width: 100%;}
.contain-right-in-global{ padding: 0px 15px;}
.contain-right-scroll-global{ height: calc(100% - 70px); overflow-y: auto;}
.default-table-main-ppbp .default-table-body-ppbp .dt-search{ position: relative; top: auto; right: auto; margin: 0px 0px 10px; width: 100%; align-items: flex-start;}
.default-table-main-ppbp .default-table-body-ppbp .dt-search label{ display: none;}
.default-table-main-ppbp .default-table-body-ppbp .dt-search input{ width: 100%;}
.default-table-main-ppbp td.dt-select::before{ display: none;}
table.dataTable > thead > tr > .dt-select{ text-align: left;}

.filter-icon-mobile-global{ display: block;}
.contain-footer-in-global{ padding: 15px 15px;}

.show-all-block-global{ width: 100%; margin: 0px; top: 73px; left: 0px; height: calc(100% - 73px);}
.show-all-content-main-global{ height: calc(100% - 41px);}
.all-brand-items{ height:100%;}
.show-all-list-patp .default-Ffield-Cbox-patp{ width: calc(33.33% - 20px);}
.show-all-list-patp{ max-height: calc(100% - 70px);}

.Default-modal-header-patp{ padding-right: 25px;}

.delete-modal-text-patp h2{ font-size: 22px; line-height: 30px;}

.default-table-body-ppbp div.dt-container .dt-paging{ padding-top: 0px; height: auto;}
.default-table-main-ppbp .default-table-body-ppbp div.dt-container .dt-length{ padding-top: 0px; height: auto;}

.default-form-col-nolabel-patp .default-Ffield-Tbox-patp{ padding-top: 0px;}

.default-dropmenu-global .dropdown-item.dropdown-item-mobile-global{ display: block;}

.table.dataTable input.form-check-input{ vertical-align: middle;}

}

@media(min-width:576px) and (max-width:767px){
.container{ width:100%;}

/* Table horizontal scroll fix */
.default-table-main-ppbp, .Abilling-data-table-bap, .dt-scroll, .dataTables_wrapper { max-width: 100%; overflow-x: auto;}
.default-table-body-ppbp, .dt-layout-table { max-width: 100%; overflow-x: auto;}

/*--------------------- HEADER_START ---------------------*/
.header { padding: 0 15px;}
.header-left-hp { gap: 15px;}
.mobile-menu-icon-hp { display: block !important; margin-left: 0px;}
.username-block-hp p { display: none;}
.navigation-hp { display: none; position: fixed; left: 0px; top: 73px; width: 100%; height: calc(100% - 73px); background: #fff; overflow-y: auto; z-index: 998;}
.navigation-hp .navbar-nav { gap: 0px !important; padding-top: 15px; flex-direction: column !important; display: flex !important;}
.navigation-hp .navbar-nav .nav-item { padding: 0px 15px; display: block !important; border-bottom: 1px solid #eee;}
.navigation-hp .navbar-nav .nav-item .nav-link { line-height: 40px !important; color: #1f3044 !important; display: block !important; padding: 5px 0 !important;}
.navigation-hp .dropdown-menu { border: none; box-shadow: none; position: relative !important; left: auto !important; right: auto !important; top: auto !important; transform: translate(0px) !important; background-color: #f7fbfe; width: 100%; display: none;}
.navigation-hp .dropdown-menu.show { display: block !important;}
.navigation-hp .dropdown-menu .dropdown-item { line-height: 36px; color: #1f3044; padding: 0 15px;}
.navigation-hp .dropdown-toggle::after { background-image: url("/images/angle_down_black.svg");}
.logo-hp a img { height: 30px;}
.header-right-hp { gap: 15px;}
.avatar-block-main-hp { padding-left: 10px;}
.avatar-drop-toggler .avatar-icon-block-hp { height: 26px; width: 26px; margin-right: 5px;}

.fix-header #contain {
    padding-top: 73px;
}
/*--------------------- HEADER_END ---------------------*/

.switch-account-item-patp > a.desktop-link{ display:none;}
.switch-account-item-patp > a.mobile-link-name{ display: flex; background: none;}
.switch-account-item-patp > a.mobile-link-arrow{ display:block !important; padding: 10px 10px 10px !important;}
.sidebar-main-patlp{ left: -80px;}
.contain-block-main-patlp{ margin-left: 0px; width: 100%; padding-top: 72px;}
.pp-header-main-patp{ height: 72px; width: 100%; padding: 0px 15px;}
.avatar-block-main-patp{ padding-left: 15px;}
.avatar-drop-toggler .avatar-icon-block-patp{ margin-right: 0px;}
.username-block-patp{ display: none;}
.mobile-menu-icon-patp{ display: block; margin-left: 10px}
.sidebar-mobile-open-patlp{ left: 0px;}
.pp-head-logo-patp{ display: block;}
.provider-name-main-patp{ padding-right: 30px;}
.provider-name-main-patp h2{ font-size: 18px; line-height: 22px;}
.dropdown-menu.show.user-prof-drop-patp{ top: 0px !important;}
.all-Account-dropmenu-patp{ position: relative !important; right: auto !important; left: auto !important; transform: translate3d(0px, 0px, 0px) !important; box-shadow: 0px 0px 0px; width: 100%;}
.all-Account-dropmenu-patp.dropdown-menu.show1{ float: none; top: auto !important; display: block; right: auto; position: relative; width: 100%; margin: 15px 0px 0px; box-shadow: 0px 0px 0px; padding: 0px;}

.patient-contain-in-patlp{ padding: 15px 15px 15px;}

.filepond--drop-label.filepond--drop-label label img{ margin-right: 20px; height: 40px;}
.filepond--drop-label.filepond--drop-label label p.fileupload-text{ display: none;}

.default-form-col-patp{ padding-bottom: 15px;}

.default-table-main-ppbp .dataTables_wrapper .dataTables_filter{ position: relative; top: auto; right: auto; margin: 0px; width: 100%;}
.default-table-main-ppbp .dataTables_wrapper .dataTables_filter label{ padding-bottom: 10px;}
.default-table-main-ppbp .dataTables_wrapper .dataTables_filter input{ width: calc(100% - 65px);}
.dataTables_wrapper .dataTables_paginate{ width: 100%; justify-content: center;}
.default-table-main-ppbp .dataTables_wrapper .dataTables_scroll{ height: calc(100% - 142px);}
.default-table-main-ppbp .dataTables_wrapper .dataTables_length{ padding: 10px 0px 0px; margin: 0px; height: 36px;}
.default-table-main-ppbp table.dataTable tbody tr{ display: block; width: 100%; border-bottom: solid 1px rgba(203, 214, 226, 0.30);}
.default-table-main-ppbp .table th{ display: block; width: calc(100% - 0px) !important; line-height: 30px; padding: 0px 15px 0px 15px;}
.default-table-main-ppbp table.dataTable thead > tr > th.sorting, .default-table-main-ppbp table.dataTable thead > tr > th.sorting_asc{ color: #37A000;}
.default-table-main-ppbp .table td{ display: flex !important; align-items: flex-start; padding: 8px 15px; border-bottom: 0px; width: 100% !important; box-sizing: border-box; white-space: normal !important; overflow-wrap: anywhere; min-width: 0;}
.default-table-main-ppbp .table td:before { content: attr(data-th) ": "; flex: 0 0 140px; min-width: 140px; margin-right: 15px; font-weight: bold; color: #0F3A5D; white-space: nowrap; }
/* Mobile sweep fix D: the `.nowrap` class keeps cell CONTENT on one line, so a
   long value (email / full name) forces the stacked table wider than the
   viewport — it overflows left and clips the inline `data-th` labels ("ame:").
   In the stacked layout each value should wrap beside its label, so allow the
   cell text to wrap/break (label pseudo stays on one line) and cap the table
   width. Applies to every .default-table-main-ppbp responsive table.
   (WILMA-1776 mobile sweep) */
.default-table-main-ppbp table.dataTable, .default-table-main-ppbp .table{ max-width: 100%; }
.default-table-main-ppbp .table td.bill-data-list-col6-ppbp span{ position: relative; left: auto; top: auto; margin-right: 10px; display: inline-block; margin-right: 5px;}
.default-table-main-ppbp .table td.bill-data-list-col1-ppbp span{ position: relative; left: auto; top: auto; margin-right: 10px; display: inline-block; margin-right: 5px;}
.default-table-body-ppbp .dt-paging{ padding-top: 0px; height: auto; flex-wrap: wrap; justify-content: center; gap: 4px;}
/* Selector includes `div.dt-container .dt-paging` to MATCH DataTables's own
   `div.dt-container .dt-paging .dt-paging-button { min-width: 1.5em; padding:
   0.5em 1em }` rule from data_tables.css, so this padding wins rather than
   losing on specificity. The 44px min-width/min-height that used to ride along
   here is gone -- it made a page number a 44px slab on a phone and 26px on a
   desktop. The padding stays: 8px/12px is what makes a page number a button at
   all, and it is the same on every device. */
.default-table-body-ppbp div.dt-container .dt-paging .dt-paging-button{ padding: 8px 12px; margin: 2px;}
/* Mobile sweep fix C: the page-size row .dt-length is `display: flex` from
   portal-global.css line 541 but with no `flex-wrap` and a fixed 56px
   height. The children are: ::before "Show" pseudo, hidden native select,
   bootstrap-select button "10" (visible replacement), and a label
   "entries per page". On a 360px content area + 193px container, the
   button renders right against the label — the button's right border
   cuts into the "e" of "entries", and any vertical bump on the button
   (e.g. a tap-target min-height) extends below the label baseline.
   Fix: allow wrap, auto height, gap between children, center align.
   This also fixes the same overlap on any other Pattern A consumer
   (49+ pages). (WILMA-1776 mobile sweep) */
.default-table-main-ppbp .default-table-body-ppbp div.dt-container .dt-length{ padding: 16px 0px 0px; height: auto; flex-wrap: wrap; gap: 4px 10px; align-items: center;}
.default-table-main-ppbp .default-table-body-ppbp div.dt-container .dt-length > *{ margin: 0;}
/* The bootstrap-select dropdown shows "10" — the "entries per page" label is
   redundant on narrow screens. Hide it so "Show" + "10" sit on one tight row.
   Selector matches the existing `div.dt-container .dt-length label { display: flex }`
   rule in portal-global.css:544 so cascade order (responsive loads after) wins. */
.default-table-main-ppbp .default-table-body-ppbp div.dt-container .dt-length label{ display: none;}
/* Mobile sweep fix A: when a table renders its row labels inline via the
   `td:before { content: attr(data-th) }` rule above, the THEAD's column-name
   list at the top is redundant — it stacks vertically (because of the
   `th { display: block }` rule above) and shows an empty column-name list
   above the row cards, duplicating the "Name:", "Type:", "Email:" labels
   that already appear inline on each row. Hide thead automatically when
   td[data-th] is present; pages without data-th (e.g. claims preview
   tables) keep their headers visible. `:has()` is widely supported now
   (Chrome 105+ / Safari 15.4+ / Firefox 121+); browsers without support
   ignore the rule cleanly. (WILMA-1776 mobile sweep) */
.default-table-main-ppbp .table:has(td[data-th]) > thead { display: none;}
/* Mobile sweep fix A2: an empty-state row spans every column and has no column
   of its own, so the `content: attr(data-th) ": "` rule above prints a bare ":"
   in front of it and indents the message 155px — on the one screen where the
   message IS the entire content. A cell with colspan is a sentence, not a field.
   (WILMA-1776) */
.default-table-main-ppbp .table td[colspan]:before,
.default-table-main-ppbp .table td[data-th=""]:before { content: none; display: none;}
/* Mobile sweep fix B: pages with inline-styled flex rows that use
   `justify-content: space-between` but no `flex-wrap: wrap` push their
   right-side button cluster (Actions / Add / Export / Filter / Close)
   PAST the viewport when the row contents do not fit. ~56 files identified
   across reports, dashboards, modal headers. Force wrap so the cluster
   drops to a new line instead of clipping off the right edge. `!important`
   is required to defeat the inline style — this only fires inside the
   mobile media query where overflow is the actual failure mode. Rows
   whose content fits keep their one-line layout because wrap only triggers
   when items would overflow. (WILMA-1776 mobile sweep) */
div[style*="display: flex"][style*="justify-content: space-between"] { flex-wrap: wrap !important;}
/* Mobile sweep fix D: .Abilling-data-export-buttons-bap is the standard
   export/action button row on ~46 reports + dashboard pages (defined in
   session-compliance.css:25 and billing-admin-interface.css:35 as
   `display: flex; justify-content: flex-end; gap: 20px` with NO flex-wrap).
   On a 360px content area the buttons (often 2-3 chips at 100-160px each
   plus 20px gaps) push 100-200px past the viewport. Force wrap + restart
   from flex-start so wrapped rows stack neatly under each other instead of
   right-aligning into a sliver. Only fires below the breakpoint where
   overflow is the actual failure mode. (WILMA-1776 mobile sweep) */
.Abilling-data-export-buttons-bap{ flex-wrap: wrap; justify-content: flex-start;}

.Default-modal-patp .modal-dialog{ padding: 0px 15px;}
.Default-modal-patp .modal-header{ padding: 15px 15px 15px;}
.Default-modal-header-elp h2{ line-height: 36px;}
.Default-modal-content-patp{ padding: 15px 15px 15px;}
/* .default-tab-menu-patp .nav-tabs .nav-link { width: 86px; padding: 12px 6px 12px; min-height: 56px; text-align: center; align-items: center; display: flex; justify-content: center;} */

.DEFaccordion-card-main-patp .DEFaccordion-card-header-patp{ padding: 0px 15px;}
.DEFaccordion-card-main-patp .DEFaccordion-card-header-patp a{ padding: 15px 40px 15px 0px; background-size: auto 30px;}
.DEFaccordion-card-main-patp .DEFaccordion-card-header-patp a.collapsed{ background-size: auto 30px;}
.DEFaccordion-card-body-patp{ padding: 15px 15px 15px;}

table.dataTable th.dt-type-numeric:last-child, table.dataTable th.dt-type-date:last-child, table.dataTable td.dt-type-numeric:last-child, table.dataTable td.dt-type-date:last-child {
    text-align: left;
}

.default-table-main-ppbp table.dataTable tr th:last-child, .default-table-main-ppbp table.dataTable tbody tr td:last-child{ text-align: left;}
.filter-sidebar-main-global{ left: -254px; z-index: 9;}
.filter-btn-global { display: none; left: 15px; margin-top: 15px;}
.filter-sidebar-main-global.filter_sidebar_close { left: 0px; z-index: 99;}
.filter-btn-global.filter_btn_close_global { display: none;}
.filter-sidebar-backdrop-global.backdrop_open { display: block; left: 0; z-index: 9;}

.contain-right-global{ margin-left: 0px; width: 100%; border-left: 0px;}
.default-title-main-global{ padding: 0px 15px;}
.default-title-main-global h1 { font-size: 22px; line-height: 24px;}
.contain-right-global.contain_Oexpand_global{ margin-left: 0px; width: 100%;}
.contain-right-in-global{ padding: 0px 15px;}
.contain-right-scroll-global{ height: calc(100% - 70px); overflow-y: auto;}
/* .default-table-main-ppbp .default-table-body-ppbp .dt-search{ position: relative; top: auto; right: auto; margin: 0px 0px 10px; width: 100%; align-items: flex-start;} */
.default-table-main-ppbp .default-table-body-ppbp .dt-search label{ display: none;}
.default-table-main-ppbp .default-table-body-ppbp .dt-search input{ width: 190px;}
.default-table-main-ppbp td.dt-select::before{ display: none;}
table.dataTable > thead > tr > .dt-select{ text-align: left;}

.filter-icon-mobile-global{ display: block;}
.contain-footer-in-global{ padding: 15px 15px;}

.show-all-block-global{ width: 100%; margin: 0px; top: 73px; left: 0px; height: calc(100% - 73px);}
.show-all-content-main-global{ height: calc(100% - 41px);}
.all-brand-items{ height:100%;}
.show-all-list-patp .default-Ffield-Cbox-patp{ width: calc(25% - 20px);}
.show-all-list-patp{ max-height: calc(100% - 70px);}

.delete-modal-text-patp h2{ font-size: 22px; line-height: 30px;}

.default-table-main-ppbp .default-table-body-ppbp div.dt-container .dt-search input{ width: 190px;}
.default-table-body-ppbp div.dt-container .dt-paging{ padding-top: 0px; height: auto;}
.default-table-main-ppbp .default-table-body-ppbp div.dt-container .dt-length{ padding-top: 0px; height: auto;}


.default-form-col-nolabel-patp .default-Ffield-Tbox-patp{ padding-top: 0px;}

.default-dropmenu-global .dropdown-item.dropdown-item-mobile-global{ display: block;}
.table.dataTable input.form-check-input{ vertical-align: middle;}
}

@media(min-width:768px) and (max-width:991px){

/* Mobile sweep fix D, continued upward. The wrap was applied at <=575 and 576-767 on the
   reasoning that overflow is only a failure mode below those widths. It is not: the payroll
   Timesheets toolbar carries a search box, a multi-select and an Actions dropdown, so its row
   measures 914px and overflows its container from 1200px DOWN — where it is clipped by
   .contain-right-global's overflow-x:hidden and the Actions control becomes unreachable.
   flex-wrap ONLY here, deliberately: justify-content is left at flex-end so a row that already
   fits is laid out identically to before, and wrap has no effect at all unless a row actually
   needs a second line. (WILMA-1776) */
.Abilling-data-export-buttons-bap{ flex-wrap: wrap;}
.container{ width:100%;}

/* Table horizontal scroll fix */
.default-table-main-ppbp, .Abilling-data-table-bap, .dt-scroll, .dataTables_wrapper { max-width: 100%; overflow-x: auto;}
.default-table-body-ppbp, .dt-layout-table { max-width: 100%; overflow-x: auto;}

/*--------------------- HEADER_START ---------------------*/
.header { padding: 0 15px;}
.header-left-hp { gap: 15px;}
.mobile-menu-icon-hp { display: block !important; margin-left: 10px;}
.username-block-hp p { display: none;}
.navigation-hp { display: none; position: fixed; left: 0px; top: 73px; width: 100%; height: calc(100% - 73px); background: #fff; overflow-y: scroll; z-index: 998;}
.navigation-hp .navbar-nav { gap: 0px !important; padding-top: 15px; flex-direction: column !important; display: flex !important;}
.navigation-hp .navbar-nav .nav-item { padding: 0px 15px; display: block !important; border-bottom: 1px solid #eee;}
.navigation-hp .navbar-nav .nav-item .nav-link { line-height: 40px !important; color: #1f3044 !important; display: block !important; padding: 5px 0 !important;}
.navigation-hp .dropdown-menu { border: none; box-shadow: none; position: relative !important; left: auto !important; right: auto !important; top: auto !important; transform: translate(0px) !important; background-color: #f7fbfe; width: 100%; display: none;}
.navigation-hp .dropdown-menu.show { display: block !important;}
.navigation-hp .dropdown-menu .dropdown-item { line-height: 36px; color: #1f3044; padding: 0 15px;}
.navigation-hp .dropdown-toggle::after { background-image: url("/images/angle_down_black.svg");}
.logo-hp a img { height: 30px;}
.header-right-hp { gap: 16px;}
.avatar-drop-toggler .avatar-icon-block-hp { height: 28px; width: 28px; margin-right: 5px;}

.fix-header #contain {
    padding-top: 73px;
}
/*--------------------- HEADER_END ---------------------*/

.switch-account-item-patp > a.desktop-link{ display:none;}
.switch-account-item-patp > a.mobile-link-name{ display: flex; background: none;}
.switch-account-item-patp > a.mobile-link-arrow{ display:block !important; padding: 10px 10px 10px !important;}
.sidebar-main-patlp{ left: -80px;}
.contain-block-main-patlp{ margin-left: 0px; width: 100%; padding-top: 72px;}
.pp-header-main-patp{ height: 72px; width: 100%; padding: 0px 15px;}
.avatar-block-main-patp{ padding-left: 15px;}
.avatar-drop-toggler .avatar-icon-block-patp{ margin-right: 0px;}
.username-block-patp{ display: none;}
.mobile-menu-icon-patp{ display: block; margin-left: 10px}
.sidebar-mobile-open-patlp{ left: 0px;}
.pp-head-logo-patp{ display: block;}
.provider-name-main-patp{ padding-right: 30px;}
.provider-name-main-patp h2{ font-size: 18px; line-height: 22px;}
.dropdown-menu.show.user-prof-drop-patp{ top: 0px !important;}
.all-Account-dropmenu-patp{ position: relative !important; right: auto !important; left: auto !important; transform: translate3d(0px, 0px, 0px) !important; box-shadow: 0px 0px 0px; width: 100%;}
.all-Account-dropmenu-patp.dropdown-menu.show1{ float: none; top: auto !important; display: block; right: auto; position: relative; width: 100%; margin: 15px 0px 0px; box-shadow: 0px 0px 0px; padding: 0px;}

.patient-contain-in-patlp{ padding: 15px 15px 15px;}

.filepond--drop-label.filepond--drop-label label img{ margin-right: 15px; height: 40px;}

.billing-data-table-ppbp .default-table-body-ppbp .dt-layout-table{ padding-bottom: 56px;}
.default-table-body-ppbp .dt-paging{ padding-top: 15px; height: auto;}
.default-table-main-ppbp .default-table-body-ppbp .dt-length{ padding-top: 15px; height: auto;}

.DEFaccordion-card-main-patp .DEFaccordion-card-header-patp{ padding: 0px 15px;}
.DEFaccordion-card-main-patp .DEFaccordion-card-header-patp a{ padding: 15px 40px 15px 0px; background-size: auto 30px;}
.DEFaccordion-card-main-patp .DEFaccordion-card-header-patp a.collapsed{ background-size: auto 30px;}
.DEFaccordion-card-body-patp{ padding: 15px 15px 15px;}

.default-table-main-ppbp table.dataTable tr th:last-child, .default-table-main-ppbp table.dataTable tbody tr td:last-child{ text-align: left;}
.filter-sidebar-main-global{ left: -254px; z-index: 9;}
.filter-btn-global { display: none; left: 15px; margin-top: 15px;}
.filter-sidebar-main-global.filter_sidebar_close { left: 0px; z-index: 99;}
.filter-btn-global.filter_btn_close_global { display: none;}
.filter-sidebar-backdrop-global.backdrop_open { display: block; left: 0; z-index: 9;}

.contain-right-global{ margin-left: 0px; width: 100%; border-left: 0px;}
.default-title-main-global{ padding: 0px 15px;}
.default-title-main-global h1 { font-size: 22px; line-height: 24px;}
.contain-right-global.contain_Oexpand_global{ margin-left: 0px; width: 100%;}
.contain-right-in-global{ padding: 0px 15px;}
.contain-right-scroll-global{ height: calc(100% - 70px); overflow-y: auto;}
/* .default-table-main-ppbp .default-table-body-ppbp .dt-search{ position: relative; top: auto; right: auto; margin: 0px 0px 10px; width: 100%; align-items: flex-start;} */
.default-table-main-ppbp .default-table-body-ppbp .dt-search label{ display: none;}
.default-table-main-ppbp .default-table-body-ppbp .dt-search input{ width: 300px;}
.default-table-main-ppbp td.dt-select::before{ display: none;}
table.dataTable > thead > tr > .dt-select{ text-align: left;}

.filter-icon-mobile-global{ display: block;}
.contain-footer-in-global{ padding: 15px 15px;}

.show-all-block-global{ width: 100%; margin: 0px; top: 73px; left: 0px; height: calc(100% - 73px);}
.show-all-content-main-global{ height: calc(100% - 41px);}
.all-brand-items{ height:100%;}
.show-all-list-patp .default-Ffield-Cbox-patp{ width: calc(20% - 20px);}
.show-all-list-patp{ max-height: calc(100% - 70px);}

.delete-modal-text-patp h2{ font-size: 24px; line-height: 32px;}

.default-table-body-ppbp div.dt-container .dt-paging{ padding-top: 15px; height: auto;}
.default-table-main-ppbp .default-table-body-ppbp div.dt-container .dt-length{ padding-top: 15px; height: auto;}

.default-dropmenu-global .dropdown-item.dropdown-item-mobile-global{ display: block;}

}

@media(min-width:992px) and (max-width:1199px){

/* Mobile sweep fix D, continued upward. The wrap was applied at <=575 and 576-767 on the
   reasoning that overflow is only a failure mode below those widths. It is not: the payroll
   Timesheets toolbar carries a search box, a multi-select and an Actions dropdown, so its row
   measures 914px and overflows its container from 1200px DOWN — where it is clipped by
   .contain-right-global's overflow-x:hidden and the Actions control becomes unreachable.
   flex-wrap ONLY here, deliberately: justify-content is left at flex-end so a row that already
   fits is laid out identically to before, and wrap has no effect at all unless a row actually
   needs a second line. (WILMA-1776) */
.Abilling-data-export-buttons-bap{ flex-wrap: wrap;}
.container{ width:100%;}

/* Table horizontal scroll fix */
.default-table-main-ppbp, .Abilling-data-table-bap, .dt-scroll, .dataTables_wrapper { max-width: 100%; overflow-x: auto;}
.default-table-body-ppbp, .dt-layout-table { max-width: 100%; overflow-x: auto;}

/*--------------------- HEADER_START ---------------------*/
.header { padding: 0 20px;}
.header-left-hp { gap: 20px;}
.mobile-menu-icon-hp { display: block !important; margin-left: 10px;}
.username-block-hp p { display: none;}
.navigation-hp { display: none; position: fixed; left: 0px; top: 73px; width: 100%; height: calc(100% - 73px); background: #fff; overflow-y: auto; z-index: 998;}
.navigation-hp .navbar-nav { gap: 0px !important; padding-top: 15px; flex-direction: column !important; display: flex !important;}
.navigation-hp .navbar-nav .nav-item { padding: 0px 15px; display: block !important; border-bottom: 1px solid #eee;}
.navigation-hp .navbar-nav .nav-item .nav-link { line-height: 40px !important; color: #1f3044 !important; display: block !important; padding: 5px 0 !important;}
.navigation-hp .dropdown-menu { border: none; box-shadow: none; position: relative !important; left: auto !important; right: auto !important; top: auto !important; transform: translate(0px) !important; background-color: #f7fbfe; width: 100%; display: none;}
.navigation-hp .dropdown-menu.show { display: block !important;}
.navigation-hp .dropdown-menu .dropdown-item { line-height: 36px; color: #1f3044; padding: 0 15px;}
.navigation-hp .dropdown-toggle::after { background-image: url("/images/angle_down_black.svg");}
/*--------------------- HEADER_END ---------------------*/

.filepond--drop-label.filepond--drop-label label img{ margin-right: 15px; height: 40px;}
.default-table-main-ppbp .default-table-body-ppbp .dt-search input{ width: 240px;}
.show-all-block-global{ width: 730px;}

}

@media(min-width:1200px) and (max-width:1319px){
.default-table-main-ppbp .default-table-body-ppbp .dt-search input{ width: 340px;}
}

/* ----------------------------------------------------------------------
   Laptop top-nav fit (1200–1499px). Between the mobile hamburger (<=1199px)
   and the width where the full-spacing nav fits (~1500px+), the inline nav
   plus the right-side controls overflowed the viewport and the user's
   avatar/name was clipped off the right edge on common laptop widths
   (1366/1440). Condense the nav spacing so the whole menu fits inline.
   Calibrated for the broadest-permission user (most menu items = worst case);
   fewer-item users get even more breathing room. The base rules pin
   .header-right-hp (flex-shrink:0) so the avatar/name can never be clipped.
   ---------------------------------------------------------------------- */
/* !important is required: page-level bundles (e.g. conversations.css) and the base
   portal-global.css declare the nav spacing at the same specificity and load after
   this file on some pages, so without it the wide base gap wins and the menu overlaps
   the right-side controls at common laptop widths. */
@media (min-width: 1340px) and (max-width: 1679px) {
    .header { padding: 0 20px; }
    .header-left-hp { gap: 24px !important; }
    .navigation-hp .navbar-nav { gap: 17px !important; }
    .navigation-hp .navbar-nav .nav-item .nav-link { font-size: 12.5px !important; letter-spacing: 0.3px; }
    .header-right-hp { gap: 16px !important; }
}
@media (min-width: 1200px) and (max-width: 1339px) {
    .header { padding: 0 12px; }
    .header-left-hp { gap: 15px !important; }
    .navigation-hp .navbar-nav { gap: 11px !important; }
    .navigation-hp .navbar-nav .nav-item .nav-link { font-size: 12px !important; letter-spacing: 0; }
    .navigation-hp .dropdown-toggle::after { margin-left: 3px; }
    .header-right-hp { gap: 12px !important; }
}

/* === Touch-input tap targets (WILMA-1776 multi-viewport sweep) ===
   The pagination tap-target rule was added inside the <575px and 576-767px
   width media blocks — but iPad at 768px+ falls through to DataTables's
   default ~21x25 buttons even though it's a touch device. Use the
   `pointer: coarse` media feature to target ANY touch device regardless
   of viewport width. Mouse-driven desktops at any size keep their compact
   pagination. The 44x44 bumps that used to live in this block are gone: they
   drew a phone a set of controls the desktop never draws, which is the whole
   fault this change exists to remove. Only the pagination padding is left, and
   it is the same padding the non-touch rule above applies. */
@media (pointer: coarse) {
    .default-table-body-ppbp div.dt-container .dt-paging .dt-paging-button { padding: 8px 12px; margin: 2px;}
}
/*---------------------- CONTENT-AWARE NAV COLLAPSE START ----------------------*/
/* The drawer above is keyed on viewport width, and stops at 1199px. But how much
   room the nav needs depends on how many items the user's permissions grant, not
   on the screen: an admin carrying Dashboard/Reports/Schedules/Tasks/Compliance/
   WilmaHQ still collided with the bell and avatar at 1280, 1440 and even 1920px
   (measured overlaps of 129px, 30px and 51px). .header is flex-wrap: nowrap and
   .header-right-hp is flex-shrink: 0, so the nav had nowhere to go and simply ran
   underneath the icons.

   syncHeaderNavCollapse() — in js_helper/provider-platform/backend.blade.php, between the
   CONTENT_AWARE_NAV_COLLAPSE markers — measures whether the links actually fit between the
   logo and the right-hand controls and stamps .nav-collapsed when they do not, so the same
   drawer the phone already uses takes over at whatever width that happens to be. (It names a
   function, not a file: there is no header-nav-fit.js, and an earlier draft of this comment
   said there was.)
   Rules mirror the 768-991px block so the collapsed state is identical everywhere. */
/* The hamburger reveals this with jQuery slideToggle(), which writes an inline
   display — so there is no .open class to style here, and the JS clears that
   inline value when the header un-collapses. */
.header.nav-collapsed .navigation-hp { display: none; position: fixed; left: 0px; top: 73px; width: 100%; height: calc(100% - 73px); background: #fff; overflow-y: auto; z-index: 998;}
.header.nav-collapsed .navigation-hp .navbar-nav { gap: 0px !important; padding-top: 15px; flex-direction: column !important; display: flex !important;}
.header.nav-collapsed .navigation-hp .navbar-nav .nav-item { padding: 0px 15px; display: block !important; border-bottom: 1px solid #eee;}
.header.nav-collapsed .navigation-hp .navbar-nav .nav-item .nav-link { line-height: 40px !important; color: #1f3044 !important; display: block !important; padding: 5px 0 !important;}
.header.nav-collapsed .navigation-hp .dropdown-menu { border: none; box-shadow: none; position: relative !important; left: auto !important; right: auto !important; top: auto !important; transform: translate(0px) !important; background-color: #f7fbfe; width: 100%; display: none;}
.header.nav-collapsed .navigation-hp .dropdown-menu.show { display: block !important;}
.header.nav-collapsed .navigation-hp .dropdown-menu .dropdown-item { line-height: 36px; color: #1f3044; padding: 0 15px;}
.header.nav-collapsed .navigation-hp .dropdown-toggle::after { background-image: url("/images/angle_down_black.svg");}
.header.nav-collapsed .mobile-menu-icon-hp { display: block !important; margin-left: 10px;}

/* Deliberately nothing here applies unless .nav-collapsed is present, and that
   class is only ever added by the BS5 provider-platform shell's JS. Earlier
   revisions also set min-width/flex-shrink on .header unconditionally; both were
   dropped — flex-shrink: 0 was already declared for .header-right-hp in
   portal-global.css, and min-width is not needed now that the fit test measures
   the rendered edges rather than deriving free space. That keeps the deprecated
   BS3/BS4 shells, which load this stylesheet but not that JS, completely
   untouched by this change. */
/*---------------------- CONTENT-AWARE NAV COLLAPSE END ----------------------*/

/* ─────────────────────────────────────────────────────────────────────────────
   THE MOBILE FILTER OPENER IS THE ONLY WAY INTO THE FILTERS ON A PHONE.

   Below 992px the sidebar is parked off-canvas (measured: x = -254px, fixed) and
   `#Filter_mob_open` is what brings it back. It was rendering as a bare 14x14 icon —
   under the WCAG 2.2 AA minimum (2.5.8, 24x24) and a long way under a comfortable thumb
   target — on the A/R & Revenue, A/P & Expenses, Payroll, Executive Operations and
   Projected Margin reports. On five of the six consolidated reports, the single control
   that reaches every filter was the smallest thing on the page.

   The rule already existed and was scoped to one page: supervision-report-responsive.css
   sizes exactly this element to 44px under `.supervision-report-page`. That page was fixed
   and the shared component was not, so every report written since inherited the 14px
   version. Generalised here, where the element's own display rule already lives.
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .filter-icon-mobile-global a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   THE MOBILE FILTER DRAWER HAD NO VISIBLE WAY OUT.

   `.filter-btn-global` — the container of the drawer's close control (#filter_sidebar_close)
   — is `display: none` at all three mobile breakpoints, open or closed. So once the drawer
   was open the only exit was tapping the dimmed scrim: the opener itself is underneath the
   backdrop and unreachable, and nothing on screen said the scrim was a control. Measured on
   A/R & Revenue, A/P & Expenses, Payroll and Executive Operations at 390px: X hidden,
   re-tapping the filter icon unreachable, tap-outside the only thing that worked.

   Shown only while the drawer is OPEN, so the collapsed state is unchanged. Both open-state
   classes are matched because two handlers are in play: the per-page toggle adds
   `filter_sidebar_close` and the shared behavior-v2 handler adds `show-filter-sidebar`.
   44px, for the same reason the opener is.
   ───────────────────────────────────────────────────────────────────────────── */
/* AND IT CAME BACK ON TOP OF THE WORD "FILTER" (27 Sep 2026). `right: 12px` was measured against
   the wrong box: the close control's positioned ancestor is `.inb-sidebar-head-title-global`, which
   shrink-wraps to its own heading -- 62px wide, the width of the word -- so the used `left` came out
   at 6px and the 44px button landed squarely on "ilt". The header read "F[icon]er" at 390px and at
   820px, on the claims list and on Receivables Reconciliation alike, which is every page sharing
   this drawer.

   Laid out rather than positioned: the heading becomes a row with the title at one end and the
   control at the other, so the two cannot overlap whatever either one's width turns out to be. The
   ancestor is widened for the same reason -- a space-between row is only meaningful in a box that
   fills the drawer. Open state only, as before; the collapsed and desktop layouts are untouched. */
@media (max-width: 991.98px) {
    .filter-sidebar-main-global.filter_sidebar_close .filter-sidebar-head-global,
    .filter-sidebar-main-global.show-filter-sidebar .filter-sidebar-head-global,
    .filter-sidebar-main-global.filter_sidebar_close .inb-sidebar-head-title-global,
    .filter-sidebar-main-global.show-filter-sidebar .inb-sidebar-head-title-global {
        width: 100%;
    }
    .filter-sidebar-main-global.filter_sidebar_close .inb-sidebar-head-title-global,
    .filter-sidebar-main-global.show-filter-sidebar .inb-sidebar-head-title-global {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .filter-sidebar-main-global.filter_sidebar_close .filter-btn-global,
    .filter-sidebar-main-global.show-filter-sidebar .filter-btn-global {
        display: block;
        position: static;
        top: auto;
        right: auto;
        left: auto;
        margin-top: 0;
        z-index: 100;
        flex: 0 0 auto;
    }
    .filter-sidebar-main-global.filter_sidebar_close .filter-btn-global a,
    .filter-sidebar-main-global.show-filter-sidebar .filter-btn-global a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }
    /* The arrow points left — "put it back" — which is the direction this drawer leaves in.
       The desktop rule rotates it 180deg for the COLLAPSED state; that must not apply here,
       where the same class means open. */
    .filter-sidebar-main-global.filter_sidebar_close .filter-btn-global a img,
    .filter-sidebar-main-global.show-filter-sidebar .filter-btn-global a img {
        transform: none;
    }
}

/* The "select all rows" checkbox used to be grown from 16x16 to 24x24 on a
   coarse pointer. It is drawn at 16x16 again, the same as the desktop draws it
   and the same as every other checkbox in the table: growing it on touch alone
   made a phone and a desktop disagree about the size of the same control. A
   16px box is genuinely small, so if it needs to be easier to hit the answer is
   an invisible hit area over the padding the header cell already has -- not a
   bigger drawn box. Noted rather than done, because the cell's free space
   varies by table. */

/* ─────────────────────────────────────────────────────────────────────────────
   THE TASK LIST SEARCH BOX RAN OFF A NARROW PHONE.

   All three tabs render it with an inline `width: 250px`. Its wrapper starts at
   x=74 (the "Search:" label sits beside it), so at 320px the field's right edge
   lands at 324 — four pixels past the viewport, with the last of the input and
   its clear affordance cut off by the container. Measured at 320px on
   /taskboards/view/list/all; 390px and up are unaffected.

   !important because the width is an inline attribute on the element and a
   stylesheet rule cannot otherwise reach it. max-width rather than width, so the
   250px stays the intent everywhere it fits and only the cramped case shrinks.

   The Task List matters more than it used to on this release: the billing task
   cards and the Chief of Staff dashboard both deep-link into it, so it is now a
   destination people arrive at from a phone rather than only a page they open at
   a desk.
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
    input.task-list-search {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .RActivity-filter-bap { max-width: 100%; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   TAP TARGETS ON THE MONEY PAGES' FILTER PANELS AND TABS

   Swept at 390 and 820 across the Claims dashboard, Revenue Report, Projected
   Margin and Accounting Overview. Eight failures, all the same shape: a control
   between 31px and 42px where this codebase holds itself to 44px on a coarse
   pointer (the charge panel and the pipeline nav were brought to that bar in
   be372ebc11; this is the same rule not yet reaching the filter panels).

   WHAT WAS SHORT
     · filter section headers ("Date of Service", "Care Team(s)", "Payer(s)",
       "Cost assumptions")                42px — the first control a biller opens
     · page tabs on tablet ("Overview", "ERAs", "A/R Aging")   40px
     · page tabs on phone ("All Claims", "Skipped ERA Claims") 31px
     · the filter "Reset" link            32px

   PADDING AND MIN-HEIGHT ONLY — NEVER `display`. A first cut of this rule
   declared `display:flex` so min-height would apply to an inline anchor. That is
   the exact mistake that forced the hamburger visible at >=1200px and gave the
   app two menus: any of these selectors matching an element hidden at some
   breakpoint would be dragged back into view by the sizing rule. Vertical
   padding grows the hit box on an inline element too, which is what a tap target
   needs, and it cannot make anything visible that was not.

   min-height rather than height so a wrapped two-line label grows instead of
   clipping. Matched by what these elements DO (an anchor carrying
   data-bs-toggle) rather than a class they happen to have.
   ───────────────────────────────────────────────────────────────────────────── */
/* THE DATATABLES PAGE-LENGTH SELECTOR used to be raised from 26px to 36px below
   992px. That is a drawn-size difference between a desktop and a phone for no
   reason the design asks for: bootstrap-select draws the "10 / 25 / 50" control
   at 46x26 everywhere, it appears on every listing in the product, and 26px is
   comfortably above the 24px minimum target size. It is drawn the same on every
   device again. */

/* QA-1018: touch targets that draw under 28px grow an INVISIBLE hit area (::after), never the drawn control.
   Pointer-coarse only, so desktop is untouched; the drawn size and alignment do not change. */
@media (pointer: coarse) {
    .filter-sidebar-in-global a[data-bs-toggle="modal"],
    .go-back-global a,
    a.btn.btn-sm.btn-outline-secondary,
    td a.btn.default-btn-patp,
    td button.btn.default-btn-patp,
    a.btn.team-action-btn { position: relative; }
    .filter-sidebar-in-global a[data-bs-toggle="modal"]::after,
    .go-back-global a::after { content: ''; position: absolute; left: -4px; right: -4px; top: -10px; bottom: -10px; }
    a.btn.btn-sm.btn-outline-secondary::after,
    td a.btn.default-btn-patp::after,
    td button.btn.default-btn-patp::after,
    a.btn.team-action-btn::after { content: ''; position: absolute; left: 0; right: 0; top: -4px; bottom: -4px; }
}

/* A FILTER LIST'S TICK BOXES AND DATE CHOICES (Nov 2026): each row is a 16px box beside a 16px line of text, under the
   24x24 minimum on a phone (BACB Supervision's This Month / Last Month / Next Month / Custom measured 74x16 in the
   mobile drawer). The Revenue filter bar's pattern, shared: on touch, the label carries an invisible layer reaching left
   over its own box and 8px down into the 15px gap under the row (16 + 8 = 24), so a tap anywhere on the row ticks it.
   It never reaches up: the first row sits flush under its section heading (Claims' "Date of Service"), and a layer
   centred on the row took that heading's bottom 4px. Nothing drawn moves, and rows sit 31px apart, so no layer reaches
   the next row. Pill rows (.rb-dates / .rr-bar-dates) are skipped: there the whole pill is the input. */
@media (pointer: coarse) {
    .filter-sidebar-in-global .default-Ffield-Cbox-patp:not(.rb-dates *):not(.rr-bar-dates *) .form-check-label { position: relative; }
    .filter-sidebar-in-global .default-Ffield-Cbox-patp:not(.rb-dates *):not(.rr-bar-dates *) .form-check-label::after {
        content: ''; position: absolute; left: -26px; right: 0; top: 0; bottom: -8px;
    }
    /* The box stays on top of its own label's layer, so a tap on the box lands on the box. */
    .filter-sidebar-in-global .default-Ffield-Cbox-patp:not(.rb-dates *):not(.rr-bar-dates *) .form-check-input { position: relative; z-index: 1; }
}
