/* V167 standalone call-history styles: load after customer-voice-v164.css. */
/* V166: opaque, stable sticky table headings and keyboard-accessible page sorting. */
.v162-table-wrap{position:relative;isolation:isolate;overscroll-behavior:contain}
.v162-staff-card .v162-table-wrap{max-height:min(62vh,650px);overflow:auto}
.v162-table{border-collapse:separate;border-spacing:0}
.v162-table thead th{position:sticky;top:0;z-index:5;background:#eef5fa;box-shadow:0 1px 0 #c8dbe9;color:#315471;white-space:nowrap}
.v162-table .v162-sort-button{display:inline-flex!important;align-items:center;gap:7px;cursor:pointer;text-align:left;width:auto!important;max-width:100%;min-height:30px!important;margin:-5px -6px;padding:5px 6px!important;border:0!important;border-radius:5px!important;box-shadow:none!important;background:transparent!important;color:#234b69!important;font:inherit!important;font-weight:750!important;white-space:nowrap!important;line-height:1.2!important}
.v162-table .v162-sort-button:hover{background:#d7eafa!important}
.v162-table .v162-sort-button:focus-visible{outline:2px solid #1785c4!important;outline-offset:1px!important}
.v162-sort-arrow{display:inline-block;min-width:11px;font-size:11px;font-weight:800;color:#276d9c}
.v162-sort-note{color:#4c6880;font-size:12px;line-height:1.45;margin:8px 0 4px}
.v162-table-wrap:focus-visible{outline:2px solid #1785c4;outline-offset:2px}

/* V167: stronger header treatment in the Cloud Voice dialog and staff cards.
   Scope tightly to the call viewer: no global dialog or table overrides. */
.v164-voice-dialog .v162-table-wrap,
.v162-staff-card .v162-table-wrap { position:relative; isolation:isolate; overflow:auto; }
.v164-voice-dialog .v162-table,
.v162-staff-card .v162-table { border-collapse:separate!important; border-spacing:0!important; }
.v164-voice-dialog .v162-table thead th,
.v162-staff-card .v162-table thead th {
  position:sticky!important; top:0!important; z-index:25!important;
  background:#eaf3f9!important; background-clip:padding-box!important;
  box-shadow:inset 0 -2px 0 #c1d7e6!important;
  color:#254865!important;
}
.v164-voice-dialog .v162-table thead th .v162-sort-button,
.v162-staff-card .v162-table thead th .v162-sort-button {
  display:inline-flex!important; position:relative; z-index:1;
  text-align:left!important; white-space:nowrap!important;
}
