
.ledger-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0px 0 15px;}
.ledger-head .lh-title{font-size:16px;font-weight:700;color:#111;letter-spacing:-.4px;margin:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.ledger-head .lh-title .en{font-size:12.5px;font-weight:500;color:#94a3b8;letter-spacing:0;}
.ledger-head .lh-sub{font-size:12.5px;color:#94a3b8;margin-top:5px;}
.live-badge{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;color:#15803d;background:#dcfce7;border:1px solid #86efac;border-radius:20px;padding:4px 12px;}
.live-badge .live-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 0 rgba(34,197,94,.6);animation:livePulse 1.6s infinite;}
@keyframes livePulse{0%{box-shadow:0 0 0 0 rgba(34,197,94,.55);}70%{box-shadow:0 0 0 7px rgba(34,197,94,0);}100%{box-shadow:0 0 0 0 rgba(34,197,94,0);}}
.live-stamp{font-size:11.5px;color:#94a3b8;font-weight:600;display:inline-flex;align-items:center;gap:5px;margin-left:9px;}

.ledger-kpi{list-style:none;display:flex;flex-wrap:wrap;gap:16px;padding:0;margin:0 0 16px;}
.ledger-kpi > li{flex:1 1 300px;min-width:0;}
.kpi-widget{background:#fff;border-radius:14px;box-shadow:var(--card-shadow);padding:18px 20px;height:100%;display:flex;flex-direction:column;gap:10px;}
.kpi-widget .kw-head{display:flex;align-items:center;gap:10px;}
.kpi-widget .kw-ic{width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:19px;color:#fff;flex-shrink:0;}
.kw-ic.blue{background:linear-gradient(135deg,#3b82f6,#6366f1);}
.kw-ic.grid{background:linear-gradient(135deg,#0ea5e9,#38bdf8);}
.kpi-widget .kw-label{font-size:12.5px;color:#64748b;font-weight:700;}
.kpi-widget .kw-main{display:flex;align-items:flex-end;gap:10px;}
.kpi-widget .kw-val{font-size:30px;font-weight:800;color:#111;line-height:1;letter-spacing:-.5px;}
.kpi-widget .kw-val small{font-size:14px;font-weight:600;color:#94a3b8;margin-left:2px;}
.kw-delta{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:800;padding:3px 9px;border-radius:20px;margin-bottom:2px;}
.kw-delta.up{background:#fee2e2;color:#dc2626;}
.kw-delta.down{background:#dbeafe;color:#2563eb;}
.kw-delta span{font-weight:500;color:inherit;opacity:.7;font-size:10.5px;}

.status-counter{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0;margin:0;}
.status-counter li{border-radius:11px;padding:9px 8px;text-align:center;border:1px solid transparent;}
.status-counter li .sc-num{font-size:20px;font-weight:800;line-height:1;}
.status-counter li .sc-lab{font-size:11px;font-weight:700;margin-top:5px;}
.status-counter li.confirm{background:#eff6ff;border-color:#dbeafe;}
.status-counter li.confirm .sc-num,.status-counter li.confirm .sc-lab{color:#2563eb;}
.status-counter li.done{background:#f0fdf4;border-color:#dcfce7;}
.status-counter li.done .sc-num,.status-counter li.done .sc-lab{color:#16a34a;}
.status-counter li.noshow{background:#fef2f2;border-color:#fee2e2;}
.status-counter li.noshow .sc-num,.status-counter li.noshow .sc-lab{color:#dc2626;}
.status-counter li.cancel{background:#f8fafc;border-color:#f1f5f9;}
.status-counter li.cancel .sc-num,.status-counter li.cancel .sc-lab{color:#64748b;}

.kpi-actions{justify-content:center;align-items:stretch;gap:9px;}
.kpi-actions .ka-title{font-size:12px;color:#94a3b8;font-weight:700;}
.btn-excel{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#e8faf0;color:#05a64a;border:1px solid #bbf7d0;border-radius:10px;height:44px;font-size:13.5px;font-weight:700;transition:all .18s;text-decoration:none;}
.btn-excel:hover{background:#05a64a;color:#fff;border-color:#05a64a;box-shadow:0 4px 12px rgba(5,166,74,.28);}
.bulk-toggle{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;background:var(--brand);color:#fff;border:none;border-radius:10px;height:44px;padding:0 16px;font-size:13.5px;font-weight:700;transition:all .18s;width:100%;}
.bulk-toggle:hover{background:#4338ca;box-shadow:0 4px 12px rgba(79,70,229,.35);}
.dropdown-menu{border:none;box-shadow:0 12px 36px rgba(15,23,42,.16);border-radius:12px;padding:6px;font-size:13.5px;}
.dropdown-menu .dropdown-item{border-radius:8px;padding:8px 12px;font-weight:600;}

.filter-label{font-size:12px;font-weight:600;color:#6c7a8d;margin-bottom:7px;display:block;}
.status-chips{list-style:none;display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:0;}
.status-chips li{font-size:12.5px;font-weight:700;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:7px 14px;cursor:pointer;transition:all .15s;user-select:none;display:inline-flex;align-items:center;gap:6px;}
.status-chips li .chip-dot{width:8px;height:8px;border-radius:50%;background:#cbd5e1;}
.status-chips li:hover{border-color:#c7d2fe;}
.status-chips li.on{background:#eef2ff;border-color:var(--brand);color:var(--brand);}
.status-chips li.on .chip-dot{background:var(--brand);}
.status-chips li[data-st=confirm].on{background:#eff6ff;border-color:#3b82f6;color:#2563eb;}
.status-chips li[data-st=confirm].on .chip-dot{background:#3b82f6;}
.status-chips li[data-st=done].on{background:#f0fdf4;border-color:#22c55e;color:#16a34a;}
.status-chips li[data-st=done].on .chip-dot{background:#22c55e;}
.status-chips li[data-st=noshow].on{background:#fef2f2;border-color:#ef4444;color:#dc2626;}
.status-chips li[data-st=noshow].on .chip-dot{background:#ef4444;}
.status-chips li[data-st=cancel].on{background:#f1f5f9;border-color:#94a3b8;color:#475569;}
.status-chips li[data-st=cancel].on .chip-dot{background:#94a3b8;}

.quick-date{display:flex;gap:6px;flex-wrap:wrap;}
.quick-date button{font-size:12px;font-weight:500;color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:6px 12px;transition:all .15s;}
.quick-date button:hover{background:#eef2ff;color:var(--brand);border-color:#e0e7ff;}
.quick-date button.on{background:var(--brand);color:#fff;border-color:var(--brand);}
.filter-date{border:1px solid #e2e8f0;border-radius:10px;width:120px !important; height:42px;padding:0 12px;font-size:13px;color:#475569;outline:none;}
.filter-date:focus{border-color:var(--brand);}

.rsv-badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;padding:4px 11px;border-radius:20px;white-space:nowrap;}
.rsv-badge::before{content:"";width:7px;height:7px;border-radius:50%;display:inline-block;}
.rsv-badge.confirm{background:#dbeafe;color:#1d4ed8;}
.rsv-badge.confirm::before{background:#3b82f6;}
.rsv-badge.done{background:#dcfce7;color:#15803d;}
.rsv-badge.done::before{background:#22c55e;}
.rsv-badge.noshow{background:#fee2e2;color:#b91c1c;}
.rsv-badge.noshow::before{background:#ef4444;}
.rsv-badge.cancel{background:#f1f5f9;color:#64748b;}
.rsv-badge.cancel::before{background:#94a3b8;}
.pay-badge{display:inline-flex;align-items:center;font-size:11.5px;font-weight:700;padding:3px 10px;border-radius:8px;white-space:nowrap;}
.pay-badge.paid{background:#e8faf0;color:#05a64a;}
.pay-badge.deposit{background:#fef3c7;color:#b45309;}
.pay-badge.unpaid{background:#f1f5f9;color:#94a3b8;}
.pay-badge.refund{background:#fce7f3;color:#be185d;}

.grade-badge{display:inline-block;font-size:10.5px;font-weight:800;padding:2px 8px;border-radius:6px;margin-left:6px;vertical-align:middle;letter-spacing:.02em;}
.grade-badge.vip{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;}
.grade-badge.gold{background:#fef3c7;color:#b45309;}
.grade-badge.normal{background:#f1f5f9;color:#64748b;}

.rsv-no{font-size:11.5px;font-family:monospace;color:#4f46e5;font-weight:700;background:#eef2ff;padding:2px 8px;border-radius:6px;}
.cust-name{font-weight:700;color:#111;}
.cust-tel{font-size:11.5px;color:#94a3b8;}
.sched-day{font-weight:700;color:#1e293b;font-size:13px;}
.sched-time{font-size:11.5px;color:#64748b;}
.svc-name{font-weight:600;color:#334155;}
.svc-price{font-size:11.5px;color:#94a3b8;}
.tbl-check{width:16px;height:16px;accent-color:var(--brand);cursor:pointer;}
.store-table.rsv-table{min-width:1180px;}

.pg-list{list-style:none;display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:center;padding:0;margin:0;}
.pg-list li a,.pg-list li span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 8px;border-radius:9px;font-size:13.5px;font-weight:600;color:#475569;background:#fff;border:1px solid #e2e8f0;text-decoration:none;transition:all .15s;cursor:pointer;}
.pg-list li a:hover{background:#eef2ff;color:var(--brand);border-color:#e0e7ff;}
.pg-list li.active a{background:var(--brand);color:#fff;border-color:var(--brand);box-shadow:0 4px 10px rgba(79,70,229,.3);}
.pg-list li.disabled a{opacity:.4;pointer-events:none;}

@media(max-width:576px){
    .ledger-kpi > li{flex:1 1 100%;}
    .status-counter{grid-template-columns:repeat(2,1fr);}
    .ledger-head .lh-title{font-size:18px;}
}

.store-table.wd-table{min-width:1320px;}
.wd-table thead th.th-num{text-align:right;}
.wd-table thead th.th-sat{color:#93c5fd;}
.wd-table thead th.th-sun{color:#fca5a5;}
.wd-table tbody td.td-num{text-align:right;}
.wd-store-cd{font-size:11.5px;color:#94a3b8;font-family:monospace;margin-top:2px;}
.wd-store-ceo{font-size:11.5px;color:#64748b;margin-top:1px;}
.wd-amt{display:block;font-weight:700;color:#111;line-height:1.2;}
.wd-cnt{display:block;font-size:11px;color:#94a3b8;margin-top:3px;}
.wd-day-sat .wd-amt{color:#2563eb;}
.wd-day-sun .wd-amt{color:#dc2626;}
.wd-best{background:#fefce8;box-shadow:inset 0 0 0 1px #fde68a;border-radius:4px;}
.wd-best .wd-amt{color:#b45309;}
.wd-best .wd-cnt::after{content:" ★최고";color:#d97706;font-weight:700;}
.wd-sum .wd-amt{color:var(--brand);font-size:14.5px;}
.wd-avg .wd-amt{color:#475569;font-weight:600;}

.wd-total-row td{background:#f8fafc;border-top:2px solid #e2e8f0;font-weight:800;color:#111;padding:13px 16px;font-size:13px;}
.wd-total-row td:first-child{padding-left:20px;color:#475569;}
.wd-total-row .wd-amt{font-size:13px;}
.wd-total-row .wd-cnt{font-weight:600;}

.wd-use{display:inline-block;font-size:11px;font-weight:700;padding:2px 8px;border-radius:6px;margin-top:3px;}
.wd-use.y{background:#e8f0ff;color:#2456d6;}
.wd-use.n{background:#f1f5f9;color:#98a2b3;}

@media(max-width:576px){
    .wd-table thead th{padding:12px 10px;}
    .wd-table tbody td{padding:11px 10px;}
}

.rp-summary{display:grid;grid-template-columns: repeat(auto-fit, minmax(0, 1fr));gap:16px;margin:0 0 18px;}
.rp-sum-card{background:#fff;border-radius:14px;box-shadow:var(--card-shadow);padding:12px 20px;display:flex;align-items:center;gap:14px;}
.rp-sum-ic{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:21px;color:#fff;flex-shrink:0;}
.rp-sum-ic.net{background:linear-gradient(135deg,#4f46e5,#6366f1);}
.rp-sum-ic.cnt{background:linear-gradient(135deg,#0ea5e9,#38bdf8);}
.rp-sum-ic.best{background:linear-gradient(135deg,#f59e0b,#fbbf24);}
.rp-sum-ic.cancel{background:linear-gradient(135deg,#ef4444,#f87171);}
.rp-sum-body{min-width:0;}
.rp-sum-label{font-size:12.5px;color:#64748b;font-weight:600;margin-bottom:5px;}
.rp-sum-val{font-size:20px;font-weight:700;color:#111;line-height:1;letter-spacing:-.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rp-sum-val small{font-size:13px;font-weight:600;color:#94a3b8;margin-left:2px;}
.rp-sum-sub{font-size:11.5px;color:#94a3b8;font-weight:600;margin-top:5px;}

.rp-grid{display:grid;    grid-template-columns: 390px 1fr;gap: 16px;align-items:start ;}
.rp-chart-card{background:#fff;border-radius:14px;box-shadow:var(--card-shadow);padding:10px 20px;display:flex;flex-direction:column;}
/* 조회 결과가 없을 때 : 카드 안의 그래프·범례·배지를 모두 감추고
      제목만 남긴 채 남는 자리에 안내문을 상하좌우 가운데로 놓는다.
      (그래프가 빈 축만 남거나 0% 범례가 그대로 보이던 문제를 없앤다) */
.rp-chart-card.is-empty > *:not(.rp-chart-head):not(.rp-chart-empty){display:none !important;}
.rp-chart-empty{
    flex:1 1 auto;display:flex;align-items:center;justify-content:center;
    min-height:150px;padding:12px;
    color:#94a3b8;font-size:13px;font-weight:500;text-align:center;line-height:1.6;
}
.rp-chart-head{font-size:14px;font-weight:600;color:#111;display:flex;align-items:center;gap:8px;margin-bottom:6px;}
.rp-chart-head .sub{font-size:11.5px;font-weight:600;color:#94a3b8;margin-left:auto;}
.rp-chart-box{position:relative;height:230px;margin:12px 0 5px;flex:1;}

.rp-chart-box canvas{position:relative;z-index:3;}

.rp-chart-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;z-index:2;pointer-events:none;}
.rp-center-name{font-size:22px;font-weight:700;color:#111;line-height:1.2;}
.rp-center-pct{font-size:18px;font-weight:700;color:var(--brand);margin-top:2px;}
.rp-legend{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px;}
.rp-legend li{display:flex;align-items:center;gap:9px;font-size:12.5px;}
.rp-legend .lg-dot{width:11px;height:11px;border-radius:3px;flex-shrink:0;}
.rp-legend .lg-nm{font-weight:700;color:#334155;}
.rp-legend .lg-pct{margin-left:auto;font-weight:800;color:#111;}
.rp-legend .lg-amt{font-size:11.5px;color:#94a3b8;font-weight:600;min-width:96px;text-align:right;}

.store-table.rp-table{min-width:760px;}
.rp-table thead th.th-num{text-align:right;}
.rp-table tbody td.td-num{text-align:right;}

.rp-table thead th.th-c{text-align:center;}
.rp-table tbody td.td-c{text-align:center;}
.rp-path{display:inline-flex;align-items:center;gap:9px;font-weight:700;color:#111;}
.rp-path .rp-dot{width:11px;height:11px;border-radius:3px;flex-shrink:0;}
.rp-path .rp-cd{font-size:11px;color:#94a3b8;font-family:monospace;font-weight:600;}
.rp-amt{display:block;font-weight:600;color:#111;line-height:1.2;}
.rp-amt.net{color:var(--brand);font-size:14.5px;}
.rp-amt.cancel{color:#dc2626;}
.rp-amt.muted{color:#cbd5e1;font-weight:600;}

.rp-pay{display:inline-block;font-weight:600;}
.rp-pay.pay-cash{color:#0d9488;}
.rp-pay.pay-card{color:#2563eb;}
.rp-pay.pay-credit{color:#d97706;}
.rp-pay.pay-zero{color:#cbd5e1;font-weight:600;}

.wd-chart-box{height:330px;flex:0 0 330px;}
.rp-sub{display:block;font-size:11px;color:#94a3b8;margin-top:3px;}

.rp-contrib{display:flex;flex-direction:column;align-items:flex-end;gap:5px;}
.rp-contrib .rp-pct{font-weight:600;color:#111;font-size:13.5px;}
.rp-gauge{width:100%;max-width:120px;height:6px;border-radius:4px;background:#f1f5f9;overflow:hidden;}
.rp-gauge > span{display:block;height:100%;border-radius:4px;background:var(--brand);}
.rp-cnt-badge{display:inline-block;font-size:12px;font-weight:700;color:#475569;background:#f1f5f9;border-radius:20px;padding:3px 11px;}

.rp-total-row td{background:#dbe5ed;border-top:2px solid #e2e8f0;font-weight:800;color:#111;padding:10px 10px;font-size:13px;}
.rp-total-row td:first-child{padding-left:20px;color:#111;}
.rp-total-row .rp-amt{font-size:13px;}

@media(max-width:1100px){
    .rp-grid{grid-template-columns:1fr;}
    .rp-summary{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:576px){
    .rp-summary{grid-template-columns:1fr;}
    .rp-table thead th{padding:12px 10px;}
    .rp-table tbody td{padding:11px 10px;}
}

.sub-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:14px 0 18px;}
.sub-head .sh-title{font-size:20px;font-weight:800;color:#111;letter-spacing:-.4px;margin:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.sub-head .sh-title .en{font-size:12.5px;font-weight:600;color:#94a3b8;letter-spacing:0;}
.sub-head .sh-sub{font-size:12.5px;color:#94a3b8;margin-top:5px;}
.sub-live{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;color:#15803d;background:#dcfce7;border:1px solid #86efac;border-radius:20px;padding:4px 12px;}
.sub-live .live-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 0 rgba(34,197,94,.6);animation:subLivePulse 1.6s infinite;}
.sub-live.off{color:#b91c1c;background:#fee2e2;border-color:#fecaca;}
.sub-live.off .live-dot{background:#ef4444;animation:none;}
@keyframes subLivePulse{0%{box-shadow:0 0 0 0 rgba(34,197,94,.55);}70%{box-shadow:0 0 0 7px rgba(34,197,94,0);}100%{box-shadow:0 0 0 0 rgba(34,197,94,0);}}

.stat-row{display:flex;flex-wrap:wrap;gap:14px;margin:0 0 16px;}
.stat-card{flex:1 1 200px;min-width:0;background:#fff;border-radius:14px;box-shadow:var(--card-shadow);padding:16px 18px;display:flex;align-items:center;gap:14px;}
.stat-card .stat-ic{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:21px;color:#fff;flex-shrink:0;}
.stat-ic.all{background:linear-gradient(135deg,#4f46e5,#6366f1);}
.stat-ic.use{background:linear-gradient(135deg,#10b981,#14b8a6);}
.stat-ic.stop{background:linear-gradient(135deg,#94a3b8,#64748b);}

.stat-card .stat-label{font-size:12.5px;color:#64748b;font-weight:600;}
.stat-card .stat-val{font-size:26px;font-weight:700;color:#111;line-height:1.1;letter-spacing:-.5px;margin-top:2px;}
.stat-card .stat-val small{font-size:13px;font-weight:500;color:#94a3b8;margin-left:2px;}

.sub-filter-label{font-size:12px;font-weight:700;color:#64748b;margin-bottom:7px;display:block;}
.use-chips{display:flex;gap:7px;flex-wrap:wrap;}
.use-chips button{font-size:12.5px;font-weight:700;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:8px 16px;transition:all .15s;cursor:pointer;}
.use-chips button:hover{border-color:#c7d2fe;}
.use-chips button.on{background:var(--brand);color:#fff;border-color:var(--brand);box-shadow:0 4px 10px rgba(79,70,229,.28);}

.store-table.branch-table{min-width:1080px;}
.branch-table thead th.th-c{text-align:center;}
.branch-table tbody td.td-c{text-align:center;}

.branch-no{font-size:11px;color:#94a3b8;font-weight:600;text-align:center;}
.branch-nm{font-weight:500;color:#111;font-size:11px;}
.branch-cd{font-size:11px;color:#94a3b8;font-family:monospace;margin-top:2px;}
.branch-ceo{color:#334155;}
.tel-line{display:block;color:#334155;}
.tel-line.sub{font-size:11px;color:#94a3b8;margin-top:2px;}
.tel-line i{color:#cbd5e1;margin-right:5px;}
.biz-no{font-size:11px;color:#475569;font-family:monospace;}
.branch-addr{color:#334155;max-width:280px;line-height:1.45;}
.branch-email{font-size:11px;color:#64748b;}
.branch-date{font-size:11px;color:#64748b;}
.muted{color:#cbd5e1;}

.use-badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;padding:4px 11px;border-radius:20px;white-space:nowrap;}
.use-badge::before{content:"";width:7px;height:7px;border-radius:50%;display:inline-block;}
.use-badge.y{background:#eef2ff;color:#4338ca;}
.use-badge.y::before{background:#6366f1;}
.use-badge.n{background:#f1f5f9;color:#94a3b8;}
.use-badge.n::before{background:#cbd5e1;}

.sub-msg{text-align:center;padding:46px 20px;color:#94a3b8;font-size:13.5px;}
.sub-msg.err{color:#dc2626;}
.sub-msg .em-sub{display:block;margin-top:6px;font-size:12px;color:#94a3b8;}

.filter-bar{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-start;gap:18px 22px;}
.filter-group{display:flex;flex-direction:column;justify-content:flex-end;}
.filter-group.grow{flex:1 1 340px;min-width:260px;}

.date-range{display:flex;align-items:center;gap:8px;}
.filter-date{border:1px solid #e2e8f0;border-radius:10px;height:42px;padding:0 12px;font-size:13px;color:#475569;outline:none;transition:border-color .15s;}
.filter-date:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(79,70,229,.12);}
.date-sep{color:#94a3b8;font-weight:600;}

#pageSizeSel{min-width:120px;}

.search-row{display:flex;gap:8px;}

.pg-list{list-style:none;display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:center;padding:0;margin:0;}
.pg-list li a,.pg-list li span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 8px;border-radius:9px;font-size:13.5px;font-weight:600;color:#475569;background:#fff;border:1px solid #e2e8f0;text-decoration:none;transition:all .15s;cursor:pointer;}
.pg-list li a:hover{background:#eef2ff;color:var(--brand);border-color:#e0e7ff;}
.pg-list li.active a{background:var(--brand);color:#fff;border-color:var(--brand);box-shadow:0 4px 10px rgba(79,70,229,.3);}
.pg-list li.disabled a{opacity:.4;pointer-events:none;}

@media(max-width:576px){
    .sub-head .sh-title{font-size:18px;}
    .stat-card{flex:1 1 100%;}
    .filter-group.grow{flex:1 1 100%;}
    .search-row{flex-wrap:wrap;}
}

.td-msg-muted{padding:44px;color:#94a3b8;}
.td-msg-error{padding:44px;color:#dc2626;}
.rp-legend-empty{color:#94a3b8;justify-content:center;}
.hint-muted{color:#94a3b8;}

.th-sortable{cursor:pointer;user-select:none;white-space:nowrap;transition:opacity .15s;}
.th-sortable:hover{opacity:.8;}
.th-sortable .sort-ic{font-size:13px;margin-left:6px;vertical-align:-1px;color:#27097a;}

.tbl-actions{display:flex;align-items:center;gap:10px;}
.pagesize-select{height:32px;padding:0 12px;border:1px solid #e2e8f0;border-radius:10px;
    font-size:12px;color:#475569;background:#fff;cursor:pointer;outline:none;transition:border-color .15s;}
.pagesize-select:focus{border-color:var(--brand);}

.tbl-actions .btn-reset{height:32px;padding:0 14px;font-size:13px;font-weight:600;}
