/* ShahrVam v590 — expert contact workbench: single-line CRM rows + personal trash. */
body[data-page="sales-operations"] .sm590-expert-workbench>header small{font-size:14px!important;line-height:1.65!important;color:#526b7e!important}
body[data-page="sales-operations"] .sm590-expert-folder-tabs{display:flex;align-items:center;gap:7px;overflow-x:auto;scrollbar-width:thin}
body[data-page="sales-operations"] .sm590-expert-folder-tabs button{min-height:36px!important;font-size:14px!important}
body[data-page="sales-operations"] .sm590-expert-folder-tabs button b{font-size:14px!important}
body[data-page="sales-operations"] .sm590-expert-folder-tabs button.is-trash{margin-inline-start:auto}
body[data-page="sales-operations"] .sm590-expert-folder-tabs button.is-trash:not(.is-active){border-color:#d7e0e7;background:#f8fafb;color:#40586a}
body[data-page="sales-operations"] .sm590-expert-folder-tabs button.is-trash.is-active{border-color:#6b8193;background:#40586a;color:#fff}

@media (min-width:701px){
  body[data-page="sales-operations"] .sm590-expert-contact-wrap{overflow-x:hidden!important;overflow-y:visible!important;max-width:100%!important}
  body[data-page="sales-operations"] table.sm590-expert-contact-table,
  body[data-page="sales-operations"] table.sm590-archive-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0 4px!important}
  body[data-page="sales-operations"] .sm590-expert-contact-table thead th,
  body[data-page="sales-operations"] .sm590-archive-table thead th{height:38px!important;padding:6px 8px!important;font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body[data-page="sales-operations"] .sm590-expert-contact-table>tbody>tr.sm590-expert-contact-row,
  body[data-page="sales-operations"] .sm590-archive-table>tbody>tr.sm590-archive-row{height:62px!important;min-height:62px!important}
  body[data-page="sales-operations"] .sm590-expert-contact-table>tbody>tr.sm590-expert-contact-row>td,
  body[data-page="sales-operations"] .sm590-archive-table>tbody>tr.sm590-archive-row>td{height:62px!important;min-height:62px!important;padding:7px 8px!important;font-size:14px!important;vertical-align:middle!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-row{width:6%}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-name{width:24%}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-phone{width:18%}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-status{width:18%}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-reminder{width:20%}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-actions{width:14%}
  body[data-page="sales-operations"] .sm590-archive-table th:nth-child(1),body[data-page="sales-operations"] .sm590-archive-table td:nth-child(1){width:7%}
  body[data-page="sales-operations"] .sm590-archive-table th:nth-child(2),body[data-page="sales-operations"] .sm590-archive-table td:nth-child(2){width:27%}
  body[data-page="sales-operations"] .sm590-archive-table th:nth-child(3),body[data-page="sales-operations"] .sm590-archive-table td:nth-child(3){width:24%}
  body[data-page="sales-operations"] .sm590-archive-table th:nth-child(4),body[data-page="sales-operations"] .sm590-archive-table td:nth-child(4){width:26%}
  body[data-page="sales-operations"] .sm590-archive-table th:nth-child(5),body[data-page="sales-operations"] .sm590-archive-table td:nth-child(5){width:16%}
}

body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-row-person{display:block!important;min-width:0!important;width:100%!important;gap:0!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-contact-name-input{display:block!important;width:100%!important;max-width:100%!important;height:36px!important;min-height:36px!important;margin:0!important;padding:5px 9px!important;font-size:14px!important;font-weight:750!important;line-height:1.3!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;border-radius:8px!important}
body[data-page="sales-operations"] .sm590-contact-name-static{display:block;min-width:0;max-width:100%;font-size:14px;font-weight:800;color:#173b56;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-page="sales-operations"] .sm590-phone-value{font-size:14px;font-weight:800;white-space:nowrap}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm559-no-answer-count{display:inline-flex;margin-inline-start:5px;padding:2px 5px;border-radius:6px;background:#fff1e8;color:#9b5123;font-size:14px;font-weight:800;vertical-align:middle}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-contact-status{width:100%!important;min-width:0!important;max-width:100%!important;height:36px!important;min-height:36px!important;padding:0 8px!important;font-size:14px!important;font-weight:800!important;white-space:nowrap!important;text-overflow:ellipsis!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-followup-cell{display:block!important;min-width:0!important;width:100%!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-followup-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:36px!important;padding:4px 7px!important;overflow:hidden!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-followup-card span{font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-followup-card b{font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-followup-card i{width:25px;height:25px}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-followup-empty{font-size:14px}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-row-actions,
body[data-page="sales-operations"] .sm590-archive-table .sm148-row-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;flex-wrap:nowrap!important;white-space:nowrap!important;min-width:0!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-icon-action,
body[data-page="sales-operations"] .sm590-archive-table .sm148-icon-action{display:inline-grid!important;place-items:center!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border:1px solid #cbd9e4!important;border-radius:9px!important;background:#fff!important;color:#315b78!important;box-shadow:none!important;transition:background .14s ease,border-color .14s ease,color .14s ease,transform .14s ease}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-icon-action svg,
body[data-page="sales-operations"] .sm590-archive-table .sm148-icon-action svg{width:18px!important;height:18px!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-icon-action:hover,
body[data-page="sales-operations"] .sm590-archive-table .sm148-icon-action:hover{background:#f0f6fa!important;border-color:#93b4cb!important;color:#173f5f!important;transform:translateY(-1px)}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-icon-action.is-note,
body[data-page="sales-operations"] .sm590-archive-table .sm148-icon-action.is-note{position:relative;background:#fff!important;border-color:#d6dee8!important;color:#7a8a9a!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-icon-action.is-note.has-note,
body[data-page="sales-operations"] .sm590-archive-table .sm148-icon-action.is-note.has-note{background:#eef6ff!important;border-color:#6fa3d8!important;color:#173b63!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm564-note-dot,
body[data-page="sales-operations"] .sm590-archive-table .sm564-note-dot{inset-inline-start:4px;inset-block-start:4px;width:7px;height:7px;background:#246a9f;box-shadow:0 0 0 2px #fff}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-icon-action.is-trash{background:#fff!important;border-color:#d8e0e6!important;color:#566d7e!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-icon-action.is-trash:hover{background:#fff3f2!important;border-color:#e5b5b0!important;color:#a34139!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-icon-action.is-trash.is-disabled{opacity:.42;cursor:not-allowed;transform:none}
body[data-page="sales-operations"] .sm590-archive-table .sm148-icon-action.is-restore{background:#f2faf6!important;border-color:#c6dfd0!important;color:#2f7250!important}
body[data-page="sales-operations"] .sm590-archive-table .sm148-icon-action.is-restore:hover{background:#e8f6ee!important;border-color:#9fc8af!important;color:#225b3d!important}
body[data-page="sales-operations"] .sm590-archive-table time{font-size:14px!important;font-weight:700!important;color:#486174!important;white-space:nowrap!important}
body[data-page="sales-operations"] .sm590-archive-row>td{background:#f8fafb}
body[data-page="sales-operations"] .sm590-trash-confirm{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;padding:4px 0}
body[data-page="sales-operations"] .sm590-trash-confirm>span{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:#fff2f0;color:#97483f}
body[data-page="sales-operations"] .sm590-trash-confirm svg{width:21px;height:21px}
body[data-page="sales-operations"] .sm590-trash-confirm p{margin:0;color:#263f52;font-size:14px;line-height:1.9}
body[data-page="sales-operations"] .sm590-trash-confirm-btn{background:#7b3d39;border-color:#7b3d39;color:#fff}


body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-inline-contact-name{min-width:0!important;max-width:100%!important;width:100%!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-followup-cell{min-width:0!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-followup-card>span,body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-followup-card>b{font-size:14px!important;line-height:1.35!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-followup-card>i{width:25px!important;height:25px!important}
body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-followup-empty{font-size:14px!important}

@media (max-width:1180px) and (min-width:701px){
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-reminder{display:none!important}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-row{width:7%}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-name{width:27%}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-phone{width:21%}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-status{width:23%}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-actions{width:22%}
}
@media (max-width:1060px) and (min-width:701px){
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-row{display:none!important}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-name{width:29%}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-phone{width:22%}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-status{width:25%}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm590-col-actions{width:24%}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-row-actions{gap:4px!important}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-icon-action{flex-basis:34px!important;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important}
}
@media (max-width:700px){
  body[data-page="sales-operations"] .sm590-expert-folder-tabs button{font-size:14px!important}
  body[data-page="sales-operations"] .sm590-expert-folder-tabs button.is-trash{margin-inline-start:0}
  body[data-page="sales-operations"] .sm559-expert-table>tbody>tr.sm590-expert-contact-row>td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body[data-page="sales-operations"] .sm559-expert-table>tbody>tr.sm590-expert-contact-row>td::before{font-size:14px!important}
  body[data-page="sales-operations"] .sm559-expert-table .sm148-row-actions{justify-content:flex-start!important;gap:6px!important;flex-wrap:nowrap!important}
  body[data-page="sales-operations"] .sm590-archive-table{display:block;width:100%;min-width:0;border:0;background:transparent}
  body[data-page="sales-operations"] .sm590-archive-table thead{display:none!important}
  body[data-page="sales-operations"] .sm590-archive-table tbody{display:grid;gap:8px}
  body[data-page="sales-operations"] .sm590-archive-table>tbody>tr.sm590-archive-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px 9px;width:100%;padding:10px;border:1px solid #dce6eb;border-radius:12px;background:#fff}
  body[data-page="sales-operations"] .sm590-archive-table>tbody>tr.sm590-archive-row>td{display:flex;min-width:0;padding:0;border:0;flex-direction:column;align-items:flex-start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body[data-page="sales-operations"] .sm590-archive-table>tbody>tr.sm590-archive-row>td::before{content:attr(data-label);display:block;margin-bottom:3px;color:#6f8493;font-size:14px;font-weight:850}
  body[data-page="sales-operations"] .sm590-archive-table .sm590-archive-actions{grid-column:1/-1;padding-top:6px;border-top:1px solid #edf1f3}
  body[data-page="sales-operations"] .sm590-archive-table .sm148-row-actions{justify-content:flex-start}
}
@media (max-width:1366px) and (min-width:701px){
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-row-actions{gap:4px!important}
  body[data-page="sales-operations"] .sm590-expert-contact-table .sm148-icon-action{flex-basis:34px!important;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important}
}
@media (max-width:700px){
  body[data-page="sales-operations"] .sm590-archive-table,
  body[data-page="sales-operations"] .sm590-archive-table tbody{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
  body[data-page="sales-operations"] .sm590-archive-table>tbody>tr.sm590-archive-row{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
}
