/* ShahrVam v703 — sales-manager table readability.
   Scope is intentionally limited to the manager/supervisor follow-up table.
   Goal: larger readable typography without turning the dense two-line desktop layout into a tall card list. */

body[data-page="sales-operations"] #page-content .sm668-supervisor-table{
  --sm703-text:#15354f;
  --sm703-muted:#61798b;
}

/* Table hierarchy: headers are clear, data is comfortably readable, names lead visually. */
body[data-page="sales-operations"] #page-content .sm668-supervisor-table thead th{
  font-size:12.5px!important;
  line-height:1.45!important;
  font-weight:850!important;
  letter-spacing:0!important;
}
body[data-page="sales-operations"] #page-content .sm668-supervisor-table tbody td{
  font-size:13.5px!important;
  line-height:1.55!important;
  color:var(--sm703-text)!important;
}
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm148-row-person b,
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm564-person b,
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm564-sales-expert b{
  font-size:15px!important;
  line-height:1.5!important;
  font-weight:850!important;
}
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm148-row-person small,
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm564-person small,
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm564-sales-expert small,
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm664-handoff-date small{
  font-size:11.5px!important;
  line-height:1.5!important;
  color:var(--sm703-muted)!important;
}
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm564-phone-cell b,
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .ltr-cell{
  font-size:14px!important;
  line-height:1.5!important;
  font-weight:750!important;
  font-variant-numeric:tabular-nums!important;
}
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm664-handoff-date>b{
  font-size:13.5px!important;
  line-height:1.5!important;
  font-weight:800!important;
}

/* Contact result/select: previously 8–10px in this exact area and visibly too small. */
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm669-inline-contact{
  gap:6px!important;
}
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm669-contact-select{
  height:38px!important;
  min-height:38px!important;
  padding:5px 9px!important;
  border-radius:9px!important;
  font-size:13.5px!important;
  line-height:1.35!important;
  font-weight:850!important;
}
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm669-inline-followup{
  gap:6px!important;
}
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm669-inline-followup .date-control input{
  height:36px!important;
  min-height:36px!important;
  padding:5px 8px!important;
  font-size:12.5px!important;
  line-height:1.35!important;
  font-weight:750!important;
}
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm669-inline-followup .calendar-trigger{
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  padding:6px!important;
}
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm669-followup-save{
  height:36px!important;
  min-height:36px!important;
  padding:5px 10px!important;
  border-radius:8px!important;
  font-size:12.5px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm669-contact-meta{
  font-size:11.5px!important;
  line-height:1.45!important;
  font-weight:650!important;
  color:var(--sm703-muted)!important;
}

/* Business state: status and explanation should be readable at a glance. */
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm668-business-state{
  gap:5px!important;
}
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm668-business-state .badge{
  min-height:27px!important;
  padding:4px 9px!important;
  font-size:12.5px!important;
  line-height:1.3!important;
  font-weight:850!important;
}
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm668-business-state>small{
  font-size:11.5px!important;
  line-height:1.5!important;
  font-weight:650!important;
  color:var(--sm703-muted)!important;
}

/* Action icons gain a little breathing room to match the larger text, without growing the row excessively. */
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm564-queue-actions .sm148-icon-action,
body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm148-row-actions .sm148-icon-action{
  width:32px!important;
  min-width:32px!important;
  height:32px!important;
  min-height:32px!important;
  padding:6px!important;
}

/* Constrained desktop uses v672's two-line grid. Give the text enough vertical room while preserving two lines. */
@media (min-width:821px){
  @container sm672-contact-workbench (max-width:1540px){
    body[data-page="sales-operations"] #page-content .sm668-supervisor-table thead tr{
      min-height:76px!important;
      grid-template-rows:minmax(38px,auto) minmax(38px,auto)!important;
    }
    body[data-page="sales-operations"] #page-content .sm668-supervisor-table thead th{
      min-height:38px!important;
      padding:6px 8px!important;
      font-size:13.5px!important;
    }
    body[data-page="sales-operations"] #page-content .sm668-supervisor-table thead th:nth-child(1){
      min-height:76px!important;
    }
    body[data-page="sales-operations"] #page-content .sm668-supervisor-table tbody tr.sm564-queue-row{
      min-height:110px!important;
    }
    body[data-page="sales-operations"] #page-content .sm668-supervisor-table tbody tr.sm564-queue-row>td{
      min-height:54px!important;
      padding:7px 9px!important;
    }
    body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm669-contact-select{
      height:38px!important;
      min-height:38px!important;
      font-size:13.5px!important;
    }
    body[data-page="sales-operations"] #page-content .sm668-supervisor-table tbody tr.sm564-queue-row>td:nth-child(5):has(.sm669-inline-followup:not(.hidden)){
      min-height:112px!important;
      padding-block:8px!important;
    }
    body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm564-queue-actions{
      gap:5px!important;
    }
    body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm564-queue-actions .sm148-icon-action{
      width:32px!important;
      min-width:32px!important;
      height:32px!important;
      min-height:32px!important;
      flex:0 0 32px!important;
      padding:6px!important;
    }
  }
}

/* Mobile already uses a separate card-oriented layout. Keep its labels at a comfortable floor. */
@media (max-width:820px){
  body[data-page="sales-operations"] #page-content .sm668-supervisor-table tbody td{font-size:13.5px!important}
  body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm148-row-person b,
  body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm564-person b,
  body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm564-sales-expert b{font-size:15px!important}
  body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm669-contact-select{font-size:13.5px!important}
  body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm669-inline-followup .date-control input,
  body[data-page="sales-operations"] #page-content .sm668-supervisor-table .sm669-followup-save{font-size:12.5px!important}
}
