/* Compact summary cards and shared listings. */
.metrics .b10-metric{min-height:44px;padding:6px 12px;gap:8px;box-sizing:border-box}
.metrics .b10-metric-icon{width:26px;height:26px;flex:none}
.metrics .b10-metric>div{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1;min-width:0}
.metrics .b10-metric h2{margin:0;font-size:16px;white-space:nowrap;text-align:right}
.metrics .b10-metric small{white-space:nowrap}
.metrics{grid-template-columns:repeat(auto-fit,minmax(270px,1fr))}
#salary-grid .sg-tools{align-items:start}
#salary-grid .b12-reset-wrap{display:grid;gap:6px;font-size:13px;font-weight:600;line-height:normal}
#salary-grid .b12-reset-wrap>span{visibility:hidden}
.erp-reset{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:0;height:40px;background:#fff7ed;color:#c2410c;border:1px solid #d97706}
.erp-reset:hover{background:#ffedd5}
.toolbar{flex-wrap:wrap}
.toolbar .search{max-width:100%;height:40px;background:#fff}
.toolbar .search input{height:100%;background:transparent}
[data-payroll-report] .payroll-report-tools,[data-server-list] .toolbar{justify-content:flex-start}
.payroll-report-tools .erp-reset{margin-inline-start:auto}
.b13-period label :is(input,select){height:40px}
.toolbar .search:focus-within{border-color:#2563eb;box-shadow:0 0 0 2px #dbeafe}
.sort:focus-visible{outline-offset:3px}
[data-report-more].is-loading::before{content:"";display:inline-block;width:.75em;height:.75em;margin-inline-end:.45em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:erp-list-spin .8s linear infinite}
@keyframes erp-list-spin{to{transform:rotate(1turn)}}
@media(min-width:768px){
.b12-listing table thead th{position:sticky;top:0;z-index:3;background:#1e3a5f}
.b12-report th:not(:first-child),.b12-report td:not(:first-child){text-align:right}
.b12-report th:not(:first-child) .sort{text-align:right}
.b12-report tfoot td{position:sticky;bottom:0;z-index:2;background:#dbeafe}
}
@media(max-width:767px){.metrics .b10-metric>div{flex-wrap:wrap}}
@media(min-width:701px) and (max-width:900px){.top{column-gap:12px}}
.employee-report-list{margin-bottom:12px}
.employee-report-list h2{margin:10px 14px;font-size:16px}
.payroll-downloads{justify-content:flex-end}
.salary-bill-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
@media(min-width:768px){
[data-server-list] .b12-report :is(th,td):not(.amount){text-align:left}
.employee-report-list tfoot td{position:sticky;bottom:0;z-index:2;background:#dbeafe}
[data-payroll-report] .amount,[data-server-list] .amount{text-align:right}
[data-payroll-report] .b12-report :is(th,td):not(.amount){text-align:left}
}
