.p2-operators-refined{max-width:1280px;margin:0 auto}
.p2-operators-refined>.p2-section-head{align-items:center;margin-bottom:8px;gap:18px}
.p2-operators-refined>.p2-section-head>div:first-child{max-width:680px}
.p2-operators-refined .p2-title{margin:3px 0 4px;font-size:30px;line-height:1.05}
.p2-operators-refined .p2-section-head .p2-muted{margin:0;font-size:12px;line-height:1.45}
.p2-operators-refined .p2-section-head>.p2-row-actions{margin-top:0;justify-content:flex-end;align-items:center;gap:8px}
.p2-operators-refined .p2-section-head>.p2-row-actions .p2-btn{min-height:36px;padding:8px 12px;border-radius:10px;font-size:11px;box-shadow:0 4px 12px rgba(24,42,67,.08)}
.p2-operators-refined .p2-section-head>.p2-row-actions .p2-btn.secondary{background:#fff}
.p2-operators-refined .p2-operator-kpis{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}
.p2-operators-refined .p2-operator-kpis>span{display:inline-flex;align-items:center;gap:4px;padding:6px 9px;border:1px solid #e7ebee;border-radius:999px;background:rgba(255,255,255,.72);font-size:10px;color:#66757d}
.p2-operators-refined .p2-operator-kpis>span b{font-size:11px;color:#17334c}
.p2-operators-refined .p2-operator-kpis>span.warn{background:#fff8ec;color:#9a5b00;border-color:#f2dfb9}

.p2-operator-toolbar{display:grid;grid-template-columns:minmax(280px,1.7fr) repeat(3,minmax(150px,.7fr));gap:10px;padding:12px;margin:0 0 6px;border:1px solid #e4e9ed;border-radius:14px;background:rgba(255,255,255,.9);box-shadow:0 5px 18px rgba(24,42,67,.04)}
.p2-op-filter{display:grid;gap:5px;min-width:0}
.p2-op-filter>span{padding-left:2px;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#7c8990}
.p2-op-filter input,.p2-op-filter select{width:100%;height:38px;min-width:0;border:1px solid #d9e0e4;border-radius:10px;background:#fff;padding:0 11px;color:#223944;font-size:12px;outline:0;transition:.16s ease}
.p2-op-filter input::placeholder{color:#a0abb1}
.p2-op-filter input:focus,.p2-op-filter select:focus{border-color:#861f4c;box-shadow:0 0 0 3px rgba(134,31,76,.08)}
.p2-operator-filter-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:26px;margin:0 2px 5px;color:#7a878d;font-size:10px}
.p2-op-clear{border:0;background:transparent;color:#861f4c;font-weight:800;font-size:10px;cursor:pointer;padding:4px 2px}
.p2-op-clear:hover{text-decoration:underline}

.p2-operators-refined .p2-operator-table-wrap{border:1px solid #e1e6ea;border-radius:14px;background:#fff;overflow:auto;box-shadow:0 8px 24px rgba(24,42,67,.045)}
.p2-operators-refined .p2-operator-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff}
.p2-operators-refined .p2-operator-table thead th{position:sticky;top:0;z-index:2;padding:9px 11px;background:#f7f9fa;border-bottom:1px solid #e3e8eb;color:#708087;font-size:8px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}
.p2-operators-refined .p2-operator-table tbody td{padding:9px 11px;border-bottom:1px solid #edf0f2;vertical-align:middle;font-size:11px}
.p2-operators-refined .p2-operator-table tbody tr:last-child td{border-bottom:0}
.p2-operators-refined .p2-operator-table tbody tr[data-operator-id]{cursor:pointer;transition:background .14s ease,box-shadow .14s ease}
.p2-operators-refined .p2-operator-table tbody tr[data-operator-id]:hover{background:#fbf8fa;box-shadow:inset 3px 0 0 rgba(134,31,76,.32)}
.p2-operators-refined .p2-operator-table tbody tr[data-operator-id]:focus{outline:0;background:#fbf8fa;box-shadow:inset 3px 0 0 #861f4c}
.p2-operators-refined .p2-op-name{min-width:290px}
.p2-operators-refined .p2-op-name b{display:block;font-size:11.5px;line-height:1.25;color:#102e46;letter-spacing:.005em}
.p2-operators-refined .p2-op-name small{display:block;margin-top:3px;color:#849198;font-size:9px;line-height:1.25}
.p2-operators-refined .p2-badge{padding:4px 7px;font-size:8.5px;letter-spacing:0;box-shadow:none}
.p2-operators-refined .p2-badge.admin{background:#f3efff;color:#6a38d2}
.p2-operators-refined .p2-login-state{display:inline-flex;align-items:center;border-radius:999px;padding:4px 7px;font-size:8.5px;font-weight:800;white-space:nowrap}
.p2-operators-refined .p2-login-state.ok{background:#ecfbf4;color:#087a58;border:1px solid #b8efd8}
.p2-operators-refined .p2-login-state.pending{background:#fff5e8;color:#986000;border:1px solid #f1d7aa}
.p2-op-access{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:135px}
.p2-operators-refined .p2-op-count{color:#39505c;font-size:10px;white-space:nowrap;text-align:center}
.p2-operators-refined .p2-op-action{text-align:right;width:76px}
.p2-operators-refined .p2-op-edit-compact{padding:6px 9px!important;min-height:30px;border-radius:9px!important;font-size:9.5px!important;color:#29424e!important}
.p2-operators-refined .p2-op-edit-compact:hover{border-color:#c7d0d5!important;background:#fafbfc!important;transform:none!important;box-shadow:none!important}
.p2-op-filter-empty td{text-align:center!important;padding:28px 16px!important;color:#879399!important;background:#fbfcfd!important}

.p2-operators-refined>[data-p2-permissions-excel-msg]{margin:2px 0 10px;padding:8px 10px;border-radius:10px;background:#fff;color:#617179;font-size:10px}

@media (max-width:1050px){
  .p2-operator-toolbar{grid-template-columns:minmax(240px,1.4fr) repeat(2,minmax(150px,1fr))}
  .p2-op-filter:last-child{grid-column:2/4}
}
@media (max-width:760px){
  .p2-operators-refined>.p2-section-head{align-items:flex-start;flex-direction:column}
  .p2-operators-refined .p2-section-head>.p2-row-actions{width:100%;justify-content:flex-start}
  .p2-operator-toolbar{grid-template-columns:1fr 1fr}
  .p2-op-search{grid-column:1/-1}
  .p2-op-filter:last-child{grid-column:auto}
  .p2-operators-refined .p2-operator-table{min-width:760px}
}
@media (max-width:520px){
  .p2-operator-toolbar{grid-template-columns:1fr}
  .p2-op-search,.p2-op-filter:last-child{grid-column:auto}
  .p2-operators-refined .p2-section-head>.p2-row-actions .p2-btn{flex:1 1 auto}
}
