:root{--sg-bg:#f6f7fb;--sg-card:#fff;--sg-ink:#1c1730;--sg-muted:#6e6980;--sg-line:#e8e6ef;--sg-primary:#6d35d5;--sg-primary-dark:#4b1fa3;--sg-radius:18px;--sg-shadow:0 12px 34px rgba(34,20,65,.08)}
body{background:var(--sg-bg);color:var(--sg-ink)}
.content-wrap{max-width:1560px;width:100%;margin:0 auto}
.card,.sg-card{border:1px solid var(--sg-line)!important;border-radius:var(--sg-radius)!important;box-shadow:0 4px 18px rgba(34,20,65,.045)}
.card-header,.sg-card-head{border-color:var(--sg-line)!important}
.btn{border-radius:11px;font-weight:650}.btn-primary{background:var(--sg-primary);border-color:var(--sg-primary)}.btn-primary:hover,.btn-primary:focus{background:var(--sg-primary-dark);border-color:var(--sg-primary-dark)}
.form-control,.form-select{border-radius:11px;border-color:#dcd8e8;min-height:44px}.form-control:focus,.form-select:focus{border-color:#9d7ae5;box-shadow:0 0 0 .22rem rgba(109,53,213,.13)}
.table{--bs-table-bg:transparent}.table thead th{color:var(--sg-muted);font-size:.73rem;text-transform:uppercase;letter-spacing:.055em;border-bottom-color:var(--sg-line);white-space:nowrap}.table tbody td{vertical-align:middle;border-bottom-color:#efedf4}
.stat-card{height:100%;overflow:hidden}.stat-card:before{content:"";display:block;height:4px;background:linear-gradient(90deg,var(--sg-primary),#b178ef)}
.empty-state{padding:42px 24px!important;text-align:center;color:var(--sg-muted)}.page-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.filter-bar{background:var(--sg-card);border:1px solid var(--sg-line);border-radius:15px;padding:14px}
@media(max-width:991.98px){.content-wrap{padding:20px 14px 32px}.section-title,.d-flex.justify-content-between{gap:14px;flex-wrap:wrap}.table-responsive{border-radius:0 0 var(--sg-radius) var(--sg-radius)}}
@media(max-width:575.98px){h1,.h1{font-size:1.7rem}.display-6{font-size:2rem}.btn{min-height:42px}.page-actions>.btn{flex:1}.filter-bar .btn{width:100%}.card-body{padding:1rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.sidebar{width:272px;background:linear-gradient(180deg,#160b25 0%,#23113b 100%);border-right:1px solid rgba(255,255,255,.06)}
.sidebar-brand{min-height:84px;padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.08)}
.sidebar-brand img{width:40px;height:40px;object-fit:contain}.sidebar-brand strong{font-size:.94rem}.sidebar-brand small{opacity:.62;font-size:.7rem}
.side-nav{padding:14px 12px 22px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}
.side-label{margin:18px 10px 7px;color:rgba(255,255,255,.42);font-size:.62rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.side-label:first-child{margin-top:3px}.side-link{min-height:42px;padding:9px 11px;margin:2px 0;border-radius:11px;color:rgba(255,255,255,.72);font-size:.82rem;font-weight:580;gap:10px}
.side-link:hover{color:#fff;background:rgba(255,255,255,.075)}.side-link.active{color:#fff;background:linear-gradient(90deg,rgba(139,92,246,.38),rgba(139,92,246,.13));box-shadow:inset 3px 0 #a978ff}
.side-icon{width:20px;text-align:center;color:#c8a9ff;font-size:.86rem}.sidebar-foot{border-top:1px solid rgba(255,255,255,.07);padding:14px 18px}
.pause-scroll{max-height:430px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.pause-scroll thead{position:sticky;top:0;z-index:2;background:#fff}
.pause-type-scroll{max-height:330px;overflow:auto;padding-right:4px;scrollbar-gutter:stable}
.agent-rating-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.agent-rating-card{border:1px solid var(--sg-line);border-radius:15px;padding:16px;background:#fff}.agent-rating-card strong{display:block}.agent-rating-score{font-size:1.65rem;font-weight:800;color:var(--sg-primary)}.agent-rating-meta{display:flex;justify-content:space-between;color:var(--sg-muted);font-size:.75rem;margin-top:8px}
@media(max-width:1200px){.agent-rating-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.agent-rating-grid{grid-template-columns:1fr}}
