/* Reports use the dashboard register theme without changing column order. */
@media screen {
#reportsView :is(#tblRepExec,#tblRepEsc,#tblRepInv){border-collapse:separate;border-spacing:0;isolation:isolate}
#reportsView :is(#tblRepExec,#tblRepEsc,#tblRepInv) thead th{position:sticky!important;top:0;z-index:8;height:auto;padding:7px 8px!important;font-size:14px!important;font-weight:400!important;line-height:1.7;background:linear-gradient(100deg,#e5f2ff,#dfedff)!important;color:#1031a3!important;border:1px solid #e1ecff!important}
#reportsView :is(#tblRepExec,#tblRepEsc,#tblRepInv) tbody td{height:auto;padding:7px 8px!important;font-size:16px!important;line-height:1.7;color:#21399b;background:#fff;border:1px solid #e1ecff!important;font-variant-numeric:tabular-nums}
#reportsView :is(#tblRepExec,#tblRepEsc,#tblRepInv) tbody tr:nth-child(even) td{background:#f7fbff}
#reportsView :is(#tblRepExec,#tblRepEsc,#tblRepInv) tbody tr:hover td{background:#eaf3ff!important}
#reportsView :is(#tblRepExec,#tblRepEsc,#tblRepInv) :is(thead th,tbody td):first-child{position:sticky!important;inset-inline-start:0!important;right:0!important;left:auto!important;box-shadow:-2px 0 0 #bfd1eb;background-clip:border-box;overflow:hidden}
#reportsView :is(#tblRepExec,#tblRepEsc,#tblRepInv) thead th:first-child{z-index:20!important}
#reportsView :is(#tblRepExec,#tblRepEsc,#tblRepInv) tbody td:first-child{z-index:3;background:#fff!important}
#reportsView :is(#tblRepExec,#tblRepEsc,#tblRepInv) tbody tr:nth-child(even) td:first-child{background:#f7fbff!important}
#reportsView :is(#tblRepExec,#tblRepEsc,#tblRepInv) tbody tr:hover td:first-child{background:#eaf3ff!important}
#reportsView #tblRepExec{min-width:4200px}
#reportsView #tblRepExec thead th:nth-child(n+4){width:200px!important;min-width:200px!important}
#reportsView #tblRepExec tbody td:nth-child(n+4){white-space:nowrap;direction:ltr}
#reportsView .data-table-wrapper{border:1px solid #dbeaff!important;border-radius:7px!important;scrollbar-width:thin;scrollbar-color:#bdd4fa #f3f8ff}
}
#reportsView .re-totals-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:center;gap:16px;border-radius:9px;margin:12px 0;background:linear-gradient(100deg,#fff5e7,#f4f8ff 45%,#eff4ff);padding:14px 18px}
#reportsView .re-totals-bar>strong{display:flex;align-items:center;gap:12px;font-size:19px;color:#142442}
#reportsView .re-totals-bar>strong svg{color:#0865ff}
#reportsView .re-totals-bar>div{min-width:0;border-inline-start:1px solid #d6e3fb;padding-inline-start:18px;color:#0865ff;font-size:12px}
#reportsView .re-totals-bar b{display:block;font-size:23px;font-variant-numeric:tabular-nums;margin-top:3px;overflow-wrap:anywhere}
#reportsView .re-totals-bar b[dir=ltr]{unicode-bidi:isolate;text-align:right}
#reportsView .re-totals-bar>div:nth-child(2){color:#943dff}
#reportsView .re-totals-bar>div:last-child{color:#f49a00}
@media(max-width:650px){#reportsView .re-totals-bar{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 12px;gap:14px 10px}#reportsView .re-totals-bar>strong{grid-column:1/-1}#reportsView .re-totals-bar>div{padding-inline-start:10px}#reportsView .re-totals-bar b{font-size:20px}}
@media print{#reportsView .re-totals-bar{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px;break-inside:avoid}#reportsView .re-totals-bar b{font-size:11pt}#reportsView .re-totals-bar>div{font-size:8pt}}

/* Dashboard card motion shared by the report summaries. */
#reportsView .re-kpi{transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s,border-color .3s,background .3s}
#reportsView.active .tab-content.active .re-kpi{animation:dashboard-card-enter .65s cubic-bezier(.2,.7,.2,1) backwards}
#reportsView.active .tab-content.active .re-kpi:nth-child(2){animation-delay:70ms}
#reportsView.active .tab-content.active .re-kpi:nth-child(3){animation-delay:140ms}
#reportsView.active .tab-content.active .re-kpi:nth-child(4){animation-delay:210ms}
#reportsView .re-kpi-icon{transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .3s}
#reportsView .re-kpi::before{left:-35px;bottom:-62px;width:130px;height:130px;animation:none!important;mask-image:none;clip-path:none;border:14px solid color-mix(in srgb,var(--re-tone) 7%,transparent);border-radius:50%;background:transparent;transition:transform .55s ease,border-color .35s ease}
#reportsView .re-kpi::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;border-radius:inherit;background:linear-gradient(110deg,transparent 25%,#ffffffa8 50%,transparent 75%);transform:translateX(120%);transition:transform .75s ease}
#reportsView .re-kpi strong{transition:color .3s ease,transform .3s ease}
@media(hover:hover) and (pointer:fine){
 #reportsView .re-kpi:hover{z-index:2;transform:translateY(-6px) scale(1.012);border-color:color-mix(in srgb,var(--re-tone) 65%,#dbeaff);background:linear-gradient(125deg,#fff,color-mix(in srgb,var(--re-tone) 6%,white));box-shadow:0 14px 28px #173d8029,0 0 0 2px color-mix(in srgb,var(--re-tone) 12%,transparent)}
 #reportsView .re-kpi:hover::after{transform:translateX(-120%)}
 #reportsView .re-kpi:hover::before{transform:translate(8px,-8px) scale(1.1);border-color:color-mix(in srgb,var(--re-tone) 13%,transparent)}
 #reportsView .re-kpi:hover .re-kpi-icon{transform:translateY(-3px) rotate(-10deg) scale(1.13);box-shadow:0 6px 14px color-mix(in srgb,var(--re-tone) 25%,transparent)}
 #reportsView .re-kpi:hover .re-kpi-icon svg{animation:dashboard-icon-pop .55s cubic-bezier(.2,.7,.2,1)}
 #reportsView .re-kpi:hover strong{color:var(--re-tone);transform:translateY(-1px)}
}
@media(prefers-reduced-motion:reduce){
 #reportsView .re-kpi,#reportsView .re-kpi *,#reportsView .re-kpi::before,#reportsView .re-kpi::after{animation:none!important;transition:none!important;transform:none!important}
 #reportsView .re-kpi::after{display:none}
}
