/* V52: tighter credit line, unobstructed sidebar, consistent selection controls */
body{padding-bottom:31px!important}
#maviqenFooter51{height:28px!important;min-height:28px!important;padding:2px 10px!important;gap:5px!important;font-size:10px!important;box-shadow:0 -2px 8px rgba(14,50,74,.03)!important;z-index:35!important}
#maviqenFooter51 .footer-mark{width:17px!important;height:17px!important}
#maviqenFooter51 .footer-name{width:56px!important;height:19px!important}
body.dashboardBody:not(.repDashboardPage) #maviqenFooter51{right:270px!important;left:0!important}
body.repDashboardPage #maviqenFooter51{right:270px!important;left:0!important}
body.repDashboardPage:has(#dashboardShell.sidebarCollapsed) #maviqenFooter51{right:78px!important}
body.repEmbeddedMode #maviqenFooter51{display:none!important}
@media(max-width:1100px){body.dashboardBody #maviqenFooter51{right:0!important;left:0!important}}
@media print{#maviqenFooter51{display:none!important}}
.catalog-remember{display:inline-flex!important;align-items:center!important;gap:7px!important;font-size:12px!important;line-height:1.5!important;padding:4px 0!important}
.catalog-remember input[type="checkbox"]{appearance:none!important;-webkit-appearance:none!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;display:inline-grid!important;place-items:center!important;margin:0!important;border:1.5px solid #b4cad7!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 3px #123e5520;cursor:pointer;transition:background .15s,border-color .15s}
.catalog-remember input[type="checkbox"]:checked{background:#175f82!important;border-color:#175f82!important}
.catalog-remember input[type="checkbox"]:checked::before{content:'✓';font-size:11px;color:#fff;font-weight:900;line-height:1}
.catalog-remember input[type="checkbox"]:focus-visible{outline:3px solid #a4d5ed;outline-offset:2px}
/* Consistent rounded action icon controls, without changing checkbox semantics */
.catalog-modal button.catalog-modal-close,.catalog-modal .catalog-modal-content .order-modal-top button.catalog-modal-close{border-radius:50%!important;width:34px!important;height:34px!important;min-width:34px!important;display:grid!important;place-items:center!important;padding:0!important}
/* Status/edit/order detail are centered inside the iframe viewport */
body.repEmbeddedMode .catalog-modal:not([hidden]){position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:99999!important;padding:12px!important}
body.repEmbeddedMode .catalog-modal:not([hidden]) .catalog-modal-content{width:min(92vw,880px);max-height:calc(100dvh - 24px)!important;overflow-y:auto!important}
/* When iframe is lifted above the dashboard, let its modal fill the screen. */
body.repDashboardPage #dashboardShell .repEmbeddedFrame.v52-raised-modal{position:fixed!important;inset:0!important;top:0!important;right:0!important;left:0!important;width:100vw!important;max-width:100vw!important;min-width:100vw!important;height:100dvh!important;max-height:100dvh!important;z-index:25000!important;background:#fff!important;border:0!important}
body.repDashboardPage:has(.v52-raised-modal){overflow:hidden!important}
body.repEmbeddedMode.v52-modal-open{overflow:hidden!important;padding-bottom:0!important}
/* Small round selection indicators across visit screens and permissions */
#showAllClients,
#myClientsSelectAll,
#dashboardShell .checkPill input[type="checkbox"]{
  appearance:none!important;-webkit-appearance:none!important;
  width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;
  border:1.5px solid #9cbdd0!important;border-radius:50%!important;
  background:#fff!important;vertical-align:middle!important;
  display:inline-grid!important;place-items:center!important;margin:0 3px!important;
  cursor:pointer;flex:none;
}
#showAllClients:checked,#myClientsSelectAll:checked,#dashboardShell .checkPill input[type="checkbox"]:checked{
  background:#185f81!important;border-color:#185f81!important;
}
#showAllClients:checked::after,#myClientsSelectAll:checked::after,#dashboardShell .checkPill input[type="checkbox"]:checked::after{
  content:'✓';font-size:11px;line-height:1;color:#fff;font-weight:900;
}
#showAllClients:focus-visible,#myClientsSelectAll:focus-visible,#dashboardShell .checkPill input[type="checkbox"]:focus-visible{outline:2px solid #78bee3;outline-offset:2px}

body.dashboardBody:not(.repDashboardPage):has(#dashboardShell.sidebarCollapsed) #maviqenFooter51{right:78px!important}

/* V53: full-width copyright footer UNDER the sidebar in every sidebar state. */
html body #maviqenFooter51,
html body.dashboardBody #maviqenFooter51,
html body.repDashboardPage #maviqenFooter51,
html body.dashboardBody:not(.repDashboardPage) #maviqenFooter51,
html body.dashboardBody:has(#dashboardShell.sidebarCollapsed) #maviqenFooter51,
html body.dashboardBody:not(.repDashboardPage):has(#dashboardShell.sidebarCollapsed) #maviqenFooter51,
html body.repDashboardPage:has(#dashboardShell.sidebarCollapsed) #maviqenFooter51 {
  position:fixed!important;
  left:0!important;right:0!important;
  inset-inline-start:0!important;inset-inline-end:0!important;
  width:100%!important;max-width:100vw!important;
  bottom:0!important;top:auto!important;
  height:28px!important;min-height:28px!important;
  z-index:12!important;
  pointer-events:none!important;
  box-sizing:border-box!important;
}
@media(min-width:1101px){
  body.dashboardBody #dashboardShell>.dashboardSidebar{z-index:70!important}
}
@media(max-width:1100px){
  body.dashboardBody #dashboardShell>.dashboardSidebar{z-index:202!important}
}
body.repEmbeddedMode #maviqenFooter51{display:none!important}
@media print{html body #maviqenFooter51{display:none!important}}
