/* ShahrVam v564.2 — root operational queue redesign.
   Scope is intentionally limited to the post-credit supervisor workbench. */
body[data-page="sales-operations"] .sm564-ops-queue{
  --q-navy:#0c365b;--q-blue:#1269b0;--q-border:#dbe6ef;--q-soft:#f6f9fc;--q-text:#16324b;--q-muted:#6d8294;
  padding:0!important;border:1px solid var(--q-border)!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 5px 20px rgba(24,62,94,.055)!important
}
body[data-page="sales-operations"] .sm564-ops-queue>.sm564-queue-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin:0!important;padding:13px 16px!important;border:0!important;border-bottom:1px solid #edf2f6!important;background:#fff!important;min-height:64px!important}
body[data-page="sales-operations"] .sm564-queue-head>div:first-child{display:grid!important;gap:2px!important;text-align:right!important}
body[data-page="sales-operations"] .sm564-queue-head .section-kicker{font-size:10px!important;color:#7890a4!important;font-weight:700!important}
body[data-page="sales-operations"] .sm564-queue-head h2{margin:0!important;font-size:16px!important;line-height:1.45!important;color:var(--q-navy)!important;font-weight:900!important}
body[data-page="sales-operations"] .sm564-queue-head small{font-size:10.5px!important;color:var(--q-muted)!important}
body[data-page="sales-operations"] .sm564-queue-head-tools{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
body[data-page="sales-operations"] .sm564-queue-range{display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:0 10px!important;border:1px solid #e1e9f0!important;border-radius:8px!important;background:#f9fbfd!important;color:#60778b!important;font-size:10.5px!important;font-weight:700!important;white-space:nowrap!important}
body[data-page="sales-operations"] .sm564-queue-size{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:30px!important;padding:3px 8px!important;border:1px solid #dce6ee!important;border-radius:8px!important;background:#fff!important;color:#526a7f!important;font-size:10.5px!important;white-space:nowrap!important}
body[data-page="sales-operations"] .sm564-queue-size select{height:24px!important;min-height:24px!important;padding:0 6px!important;border:1px solid #d5e0e9!important;border-radius:6px!important;background:#fff!important;color:var(--q-navy)!important;font:inherit!important;font-weight:800!important;box-shadow:none!important}

body[data-page="sales-operations"] .sm564-ops-queue>.sm148-folder-tabs{display:flex!important;align-items:center!important;gap:6px!important;margin:0!important;padding:10px 14px!important;border:0!important;border-bottom:1px solid #edf2f6!important;background:#fbfcfe!important;overflow-x:auto!important;scrollbar-width:thin!important}
body[data-page="sales-operations"] .sm564-ops-queue>.sm148-folder-tabs button{position:relative!important;display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;gap:7px!important;min-height:32px!important;padding:0 10px!important;border:1px solid #d8e4ed!important;border-radius:9px!important;background:#fff!important;color:#27445d!important;box-shadow:none!important;font-size:10.5px!important;font-weight:800!important;transition:border-color .14s ease,background .14s ease,color .14s ease,transform .14s ease!important}
body[data-page="sales-operations"] .sm564-ops-queue>.sm148-folder-tabs button:hover{border-color:#a9c7dd!important;background:#f6fbff!important;transform:translateY(-1px)!important}
body[data-page="sales-operations"] .sm564-ops-queue>.sm148-folder-tabs button b{display:grid!important;place-items:center!important;min-width:20px!important;height:20px!important;padding:0 5px!important;border:0!important;border-radius:6px!important;background:#eef4f8!important;color:#39566e!important;font-size:10px!important}
body[data-page="sales-operations"] .sm564-ops-queue>.sm148-folder-tabs button.is-active{border-color:#166caf!important;background:#0f5f9f!important;color:#fff!important;box-shadow:0 4px 10px rgba(15,95,159,.16)!important}
body[data-page="sales-operations"] .sm564-ops-queue>.sm148-folder-tabs button.is-active b{background:rgba(255,255,255,.18)!important;color:#fff!important}

body[data-page="sales-operations"] .sm564-queue-table-wrap{margin:0!important;padding:0!important;overflow:auto!important;max-height:none!important;background:#fff!important}
body[data-page="sales-operations"] .sm564-queue-table{width:100%!important;min-width:1120px!important;margin:0!important;border-collapse:separate!important;border-spacing:0!important;table-layout:fixed!important;background:#fff!important}
body[data-page="sales-operations"] .sm564-queue-table thead{position:sticky!important;top:0!important;z-index:3!important}
body[data-page="sales-operations"] .sm564-queue-table thead th{height:39px!important;padding:7px 8px!important;border:0!important;border-bottom:1px solid #d7e3ec!important;border-inline-end:1px solid rgba(255,255,255,.10)!important;background:var(--q-navy)!important;color:#fff!important;font-size:10.5px!important;font-weight:800!important;text-align:center!important;white-space:nowrap!important}
body[data-page="sales-operations"] .sm564-queue-table thead th:last-child{border-inline-end:0!important}
body[data-page="sales-operations"] .sm564-queue-table tbody tr.sm564-queue-row{--row-bg:#fff;--row-hover:#f7fbfe;background:transparent!important}
body[data-page="sales-operations"] .sm564-queue-table tbody tr.sm564-queue-row.is-followup{--row-bg:#fffdf8;--row-hover:#fff8ea}
body[data-page="sales-operations"] .sm564-queue-table tbody tr.sm564-queue-row.is-followup.is-due{--row-bg:#fff9f5;--row-hover:#fff2ea}
body[data-page="sales-operations"] .sm564-queue-table tbody tr.sm564-queue-row.is-payment_pending{--row-bg:#fbf9ff;--row-hover:#f5f1ff}
body[data-page="sales-operations"] .sm564-queue-table tbody tr.sm564-queue-row.is-partial_payment{--row-bg:#fffaf2;--row-hover:#fff4df}
body[data-page="sales-operations"] .sm564-queue-table tbody tr.sm564-queue-row.is-no_interest{--row-bg:#fffafa;--row-hover:#fff4f4}
body[data-page="sales-operations"] .sm564-queue-table tbody tr.sm564-queue-row.is-registered{--row-bg:#f8fcfa;--row-hover:#f1faf5}
body[data-page="sales-operations"] .sm564-queue-table tbody tr.sm564-queue-row>td{height:62px!important;padding:7px 8px!important;border:0!important;border-bottom:1px solid #e5edf3!important;background:var(--row-bg)!important;color:var(--q-text)!important;font-size:10.5px!important;vertical-align:middle!important;text-align:center!important;box-shadow:none!important;filter:none!important;border-radius:0!important}
body[data-page="sales-operations"] .sm564-queue-table tbody tr.sm564-queue-row:hover>td{background:var(--row-hover)!important;filter:none!important}
body[data-page="sales-operations"] .sm564-queue-table tbody tr.sm564-queue-row:last-child>td{border-bottom:0!important}
body[data-page="sales-operations"] .sm564-queue-table th:nth-child(1),body[data-page="sales-operations"] .sm564-queue-table td:nth-child(1){width:52px!important}
body[data-page="sales-operations"] .sm564-queue-table th:nth-child(2),body[data-page="sales-operations"] .sm564-queue-table td:nth-child(2){width:18%!important}
body[data-page="sales-operations"] .sm564-queue-table th:nth-child(3),body[data-page="sales-operations"] .sm564-queue-table td:nth-child(3){width:13%!important}
body[data-page="sales-operations"] .sm564-queue-table th:nth-child(4),body[data-page="sales-operations"] .sm564-queue-table td:nth-child(4){width:12%!important}
body[data-page="sales-operations"] .sm564-queue-table th:nth-child(5),body[data-page="sales-operations"] .sm564-queue-table td:nth-child(5){width:70px!important}
body[data-page="sales-operations"] .sm564-queue-table th:nth-child(6),body[data-page="sales-operations"] .sm564-queue-table td:nth-child(6){width:13%!important}
body[data-page="sales-operations"] .sm564-queue-table th:nth-child(7),body[data-page="sales-operations"] .sm564-queue-table td:nth-child(7){width:13%!important}
body[data-page="sales-operations"] .sm564-queue-table th:nth-child(8),body[data-page="sales-operations"] .sm564-queue-table td:nth-child(8){width:17%!important}
body[data-page="sales-operations"] .sm564-queue-table th:nth-child(9),body[data-page="sales-operations"] .sm564-queue-table td:nth-child(9){width:126px!important}
body[data-page="sales-operations"] .sm564-queue-index b{display:inline-grid!important;place-items:center!important;width:26px!important;height:26px!important;border-radius:8px!important;background:#eef4f8!important;color:#2e506c!important;font-size:10.5px!important}
body[data-page="sales-operations"] .sm564-person,body[data-page="sales-operations"] .sm564-sales-expert{display:grid!important;gap:2px!important;justify-items:start!important;text-align:right!important;line-height:1.45!important}
body[data-page="sales-operations"] .sm564-person b,body[data-page="sales-operations"] .sm564-sales-expert b{font-size:11px!important;color:#173550!important;font-weight:900!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
body[data-page="sales-operations"] .sm564-person small,body[data-page="sales-operations"] .sm564-phone-cell small{font-size:9.5px!important;color:#7b8e9e!important;font-weight:600!important}
body[data-page="sales-operations"] .sm564-person .sm559-product-interest{display:inline-flex!important;margin-top:1px!important;padding:1px 5px!important;border-radius:5px!important;background:#eef6fc!important;color:#3c688b!important;font-size:9px!important;font-style:normal!important;font-weight:700!important}
body[data-page="sales-operations"] .sm564-phone-cell{direction:ltr!important;unicode-bidi:isolate!important;font-variant-numeric:tabular-nums!important}
body[data-page="sales-operations"] .sm564-phone-cell b{display:block!important;color:#143b5c!important;font-size:11px!important;letter-spacing:.15px!important}
body[data-page="sales-operations"] .sm564-credit-cell .sm148-badge{display:inline-grid!important;place-items:center!important;min-width:34px!important;height:28px!important;padding:0 7px!important;border-radius:8px!important;background:#edf6ff!important;border:1px solid #d7eaff!important;color:#176ab0!important;font-size:10.5px!important;font-weight:900!important;box-shadow:none!important}
body[data-page="sales-operations"] .sm564-status-control{display:inline-flex!important;max-width:100%!important}
body[data-page="sales-operations"] .sm564-status-control .sm148-contact-status{appearance:auto!important;width:auto!important;max-width:100%!important;min-width:104px!important;height:30px!important;min-height:30px!important;margin:0!important;padding:0 9px!important;border:1px solid #d4e1ea!important;border-radius:8px!important;background:#f5f8fb!important;color:#36536b!important;box-shadow:none!important;font-size:10px!important;font-weight:800!important;text-align:center!important;text-align-last:center!important;cursor:pointer!important}
body[data-page="sales-operations"] .sm564-status-control.is-followup .sm148-contact-status{background:#fff6df!important;border-color:#f0dca8!important;color:#9a6812!important}
body[data-page="sales-operations"] .sm564-status-control.is-followup.is-due .sm148-contact-status{background:#fff0e7!important;border-color:#f0cdbb!important;color:#a95328!important}
body[data-page="sales-operations"] .sm564-status-control.is-no_interest .sm148-contact-status{background:#fff0f0!important;border-color:#eccfcf!important;color:#a14e4e!important}
body[data-page="sales-operations"] .sm564-status-control.is-partial_payment .sm148-contact-status{background:#fff5e5!important;border-color:#eed7ad!important;color:#91631b!important}
body[data-page="sales-operations"] .sm564-status-control.is-payment_pending .sm148-contact-status{background:#f3f0ff!important;border-color:#ddd5f5!important;color:#6956a8!important}
body[data-page="sales-operations"] .sm564-status-control.is-registered .sm148-contact-status{background:#eaf8f0!important;border-color:#cce9d8!important;color:#28764b!important;cursor:default!important}
body[data-page="sales-operations"] .sm564-followup-cell{display:flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important}
body[data-page="sales-operations"] .sm564-followup-cell .sm148-followup-card{display:inline-grid!important;grid-template-columns:auto auto!important;align-items:center!important;gap:1px 6px!important;width:auto!important;min-width:112px!important;min-height:34px!important;margin:0!important;padding:4px 8px!important;border:1px solid #dbe5ed!important;border-radius:8px!important;background:#f9fbfd!important;box-shadow:none!important;text-align:right!important}
body[data-page="sales-operations"] .sm564-followup-cell .sm148-followup-card span{grid-column:1!important;color:#7b8d9d!important;font-size:8.5px!important;font-weight:700!important}
body[data-page="sales-operations"] .sm564-followup-cell .sm148-followup-card b{grid-column:1!important;color:#234761!important;font-size:9.5px!important;white-space:nowrap!important}
body[data-page="sales-operations"] .sm564-followup-cell .sm148-followup-card i{grid-column:2!important;grid-row:1/3!important;display:grid!important;place-items:center!important;width:24px!important;height:24px!important;color:#3a729d!important}
body[data-page="sales-operations"] .sm564-followup-cell .sm148-followup-card i svg{width:15px!important;height:15px!important}
body[data-page="sales-operations"] .sm564-followup-cell .sm148-followup-empty{color:#9aa9b5!important;font-size:14px!important}
body[data-page="sales-operations"] .sm564-case-link{display:grid!important;gap:2px!important;width:100%!important;min-height:38px!important;margin:0!important;padding:4px 7px!important;border:0!important;border-radius:7px!important;background:transparent!important;box-shadow:none!important;text-align:right!important;cursor:pointer!important}
body[data-page="sales-operations"] .sm564-case-link:hover{background:#f0f6fa!important}
body[data-page="sales-operations"] .sm564-case-link b{font-size:10.5px!important;color:#153c5d!important;font-weight:900!important;direction:ltr!important;unicode-bidi:isolate!important;text-align:right!important}
body[data-page="sales-operations"] .sm564-case-link small{font-size:9px!important;color:#738796!important;font-weight:650!important;line-height:1.45!important;white-space:normal!important}
body[data-page="sales-operations"] .sm564-queue-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;flex-wrap:nowrap!important}
body[data-page="sales-operations"] .sm564-queue-actions .sm148-icon-action{display:inline-grid!important;place-items:center!important;width:31px!important;min-width:31px!important;height:31px!important;min-height:31px!important;margin:0!important;padding:0!important;border:1px solid #d6e2eb!important;border-radius:8px!important;background:#fff!important;color:#315b7b!important;box-shadow:none!important;transition:background .14s ease,border-color .14s ease,color .14s ease,transform .14s ease!important}
body[data-page="sales-operations"] .sm564-queue-actions .sm148-icon-action:hover{background:#eef7fd!important;border-color:#a8cade!important;color:#155f98!important;transform:translateY(-1px)!important}
body[data-page="sales-operations"] .sm564-queue-actions .sm148-icon-action.is-call{background:#edf8f2!important;border-color:#cce7d8!important;color:#24734b!important}
body[data-page="sales-operations"] .sm564-queue-actions .sm148-icon-action svg{width:15px!important;height:15px!important}
body[data-page="sales-operations"] .sm564-due-banner{margin:0 0 9px!important;padding:8px 11px!important;min-height:42px!important;border-radius:10px!important}
body[data-page="sales-operations"] .sm564-due-banner svg{width:17px!important;height:17px!important}
body[data-page="sales-operations"] .sm564-due-banner b{font-size:10.5px!important}body[data-page="sales-operations"] .sm564-due-banner small{font-size:9.5px!important}
body[data-page="sales-operations"] .sm564-ops-queue>.sm564-pagination{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0!important;padding:9px 12px!important;border-top:1px solid #e7eef3!important;background:#fbfcfd!important}
body[data-page="sales-operations"] .sm564-ops-queue .sm564-page-nav{display:flex!important;align-items:center!important;gap:4px!important}
body[data-page="sales-operations"] .sm564-ops-queue .sm564-pagination button{min-width:30px!important;height:30px!important;min-height:30px!important;padding:0 8px!important;border:1px solid #d8e3eb!important;border-radius:7px!important;background:#fff!important;color:#37556d!important;font-size:9.5px!important;box-shadow:none!important}
body[data-page="sales-operations"] .sm564-ops-queue .sm564-page-number.is-active{background:#1469ac!important;border-color:#1469ac!important;color:#fff!important}
body[data-page="sales-operations"] .sm564-ops-queue .sm564-page-jump{display:flex!important;align-items:center!important;gap:6px!important;color:#6a7e8f!important;font-size:9.5px!important}
body[data-page="sales-operations"] .sm564-ops-queue .sm564-page-jump label{display:flex!important;align-items:center!important;gap:5px!important}
body[data-page="sales-operations"] .sm564-ops-queue .sm564-page-jump input{width:48px!important;height:28px!important;min-height:28px!important;padding:0 5px!important;border:1px solid #d7e2ea!important;border-radius:6px!important;text-align:center!important;font-size:10px!important}

/* Call report is a true header-only capability. A stale/custom DOM node cannot re-enter the sidebar. */
#main-nav .nav-call-performance,#main-nav [data-page="call-performance"]{display:none!important}

@media(max-width:1260px){
 body[data-page="sales-operations"] .sm564-queue-table{min-width:1080px!important}
 body[data-page="sales-operations"] .sm564-queue-head{align-items:flex-start!important;flex-direction:column!important}
 body[data-page="sales-operations"] .sm564-queue-head-tools{width:100%!important;justify-content:space-between!important}
}
@media(max-width:820px){
 body[data-page="sales-operations"] .sm564-ops-queue{border-radius:10px!important}
 body[data-page="sales-operations"] .sm564-queue-head{padding:10px 11px!important}
 body[data-page="sales-operations"] .sm564-ops-queue>.sm148-folder-tabs{padding:8px 10px!important}
 body[data-page="sales-operations"] .sm564-queue-table{min-width:980px!important}
 body[data-page="sales-operations"] .sm564-ops-queue>.sm564-pagination{align-items:flex-start!important;flex-direction:column!important}
}

/* Do not let legacy responsive rules hide/re-card columns after the new row-number column was introduced. */
body[data-page="sales-operations"] .sm148-supervisor-contact-table.sm564-queue-table thead{display:table-header-group!important}
body[data-page="sales-operations"] .sm148-supervisor-contact-table.sm564-queue-table tbody{display:table-row-group!important}
body[data-page="sales-operations"] .sm148-supervisor-contact-table.sm564-queue-table tr{display:table-row!important}
body[data-page="sales-operations"] .sm148-supervisor-contact-table.sm564-queue-table th,
body[data-page="sales-operations"] .sm148-supervisor-contact-table.sm564-queue-table td{display:table-cell!important}
body[data-page="sales-operations"] .sm148-supervisor-contact-table.sm564-queue-table td::before{display:none!important;content:none!important}
