/* Only the authenticated call details page renders this section. */
.usm-transcript-panel {margin-top:18px; padding:20px; min-width:0; grid-column:1/-1;}
.usm-transcript-toolbar {display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:16px 0 12px;}
.usm-transcript-search {flex:1 1 230px; min-width:0; max-width:430px; padding:10px 12px; border:1px solid #cbd5e1; border-radius:8px; background:#fff; color:#0f172a; font:inherit;}
.usm-transcript-count {font-size:12px; color:#64748b; margin-right:auto;}
.usm-transcript-lines {display:flex; flex-direction:column; gap:9px; max-height:640px; overflow:auto; padding:12px; border-radius:10px; border:1px solid #e2e8f0; background:#f8fafc;}
.usm-transcript-line {max-width:94%; padding:10px 12px; background:#fff; border:1px solid #e2e8f0; border-radius:9px;}
.usm-transcript-line.manager {align-self:flex-end; background:#eff6ff; border-color:#bfdbfe;}
.usm-transcript-line.client {align-self:flex-start; background:#fff;}
.usm-transcript-speaker {font-size:12px; font-weight:700; color:#334155; margin-bottom:5px;}
.usm-transcript-text {font-size:13px; line-height:1.55; white-space:pre-wrap; overflow-wrap:anywhere; color:#0f172a;}
.usm-transcript-text mark {background:#fef08a; color:#111827; border-radius:2px;}
.usm-transcript-empty {font-size:13px; color:#64748b; line-height:1.6; margin:12px 0 0;}
@media (max-width:640px){.usm-transcript-panel{padding:14px}.usm-transcript-line{max-width:100%}.usm-transcript-toolbar{gap:8px}}

/* USM_TRANSCRIPT_COMPACT_V2: keep the call analysis scrollable and transcript compact. */
#drawer > #drawerContent { flex:1 1 auto; min-height:0; overflow-y:auto; }
#drawer .usm-transcript-panel { margin:18px 0 0; padding:13px 14px; width:100%; box-shadow:none; }
#drawer .usm-transcript-panel .panel-head { margin:0; display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
#drawer .usm-transcript-panel .panel-title { font-size:14px; margin-bottom:3px; }
#drawer .usm-transcript-panel .panel-sub { font-size:11px; }
#drawer .usm-transcript-toggle { margin-left:auto; min-height:32px; }
#drawer .usm-transcript-content[hidden] { display:none !important; }
#drawer .usm-transcript-toolbar { margin:12px 0 9px; gap:8px; }
#drawer .usm-transcript-search { flex:1 1 155px; min-width:130px; }
#drawer .usm-transcript-count { margin-right:0; }
#drawer .usm-transcript-lines { max-height:clamp(160px,28vh,250px); overscroll-behavior:contain; padding:8px; gap:7px; }
#drawer .usm-transcript-line { padding:8px 10px; }
@media(max-width:640px) {
  #drawer .usm-transcript-panel { padding:11px 12px; }
  #drawer .usm-transcript-toggle { margin-left:0; }
  #drawer .usm-transcript-lines { max-height:clamp(130px,26vh,210px); }
}
