.satisfaction-nav{display:flex;gap:8px;margin:0 0 24px;flex-wrap:wrap}.satisfaction-nav a{padding:12px 22px;background:#fff;border:1px solid #d9e3f2;border-radius:10px;color:#54709a;font-weight:650}.satisfaction-nav a.active{background:#173f7d;color:#fff;border-color:#173f7d}.calls-panel{padding:24px;margin-bottom:24px}.calls-panel .panel-heading{padding:0 0 20px}.calls-intro{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:8px 0 28px}.calls-intro h2{font-size:22px;margin:12px 0 8px}.calls-intro p{color:#7187a2;font-size:14px;margin:8px 0}.calls-intro>div:last-child{text-align:right;font-size:13px}.calls-metrics .metric-card{display:block;padding:22px;background:#fff;border:1px solid #dce6f3;border-radius:12px;color:#284b79}.calls-metrics .metric-card>span{font-size:14px}.calls-metrics strong{display:block;font-size:32px;margin:14px 0}.calls-metrics strong small{font-size:13px;margin-left:6px;color:#8ba0ba}.calls-metrics p{color:#7890ac;font-size:12px;margin:0}.calls-upload-fields,.calls-filter{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.calls-upload-fields>label,.calls-filter label{display:flex;flex-direction:column;gap:8px;flex:1;min-width:150px;font-size:14px}.calls-upload-fields input,.calls-filter input,.calls-filter select,.calls-edit-grid input,.calls-edit-grid select{width:100%;min-height:43px}.calls-drop{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;border:1px dashed #b9cbea;border-radius:12px;padding:30px;margin-top:18px;background:#f7faff}.calls-drop span{color:#8297b2;font-size:13px;text-align:center}.calls-drop.dragging{background:#eaf2ff;border-color:#245195}.calls-engine{display:flex;gap:24px;flex-wrap:wrap;padding-top:12px;font-size:13px;color:#7186a3}.calls-engine .tag{margin-left:8px}.calls-trend{display:flex;gap:10px;height:180px;align-items:end}.calls-trend>a,.calls-trend>div{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;gap:8px;color:#42638e;font-size:12px;height:100%}.calls-trend>a>div,.calls-trend>div>div{height:130px;display:flex;align-items:end;width:100%;max-width:30px;background:#f2f6fc;border-radius:5px}.calls-trend i{width:100%;background:#7c9ed3;border-radius:5px;min-height:2px}.calls-trend small{white-space:nowrap;font-size:10px}.calls-bars>a{display:grid;grid-template-columns:minmax(100px,1fr) 1fr 26px;gap:14px;align-items:center;padding:12px 0;color:#405b7b;font-size:13px}.calls-bars a>div{height:7px;background:#edf2f8;border-radius:5px;overflow:hidden}.calls-bars i{display:block;height:7px;background:#557eba;border-radius:5px}.calls-bulk{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:18px 0}.calls-bulk small{color:#8294ad}.calls-table{min-width:840px}.calls-table th{white-space:nowrap}.calls-table td{vertical-align:top;font-size:13px;max-width:290px;overflow-wrap:anywhere}.calls-table td small,.calls-table td .text-link{display:block;margin-top:8px;color:#7c90a9}.calls-table td p{font-size:13px;line-height:1.7;margin:8px 0}.calls-table td:first-child input{width:18px;height:18px}.calls-pagination{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:22px;color:#7b8fab;font-size:13px}.calls-batches article{border-bottom:1px solid #e4ebf5;padding:18px 0}.calls-batches a{display:flex;justify-content:space-between;gap:16px;color:#375981}.calls-batches span,.calls-batches p{font-size:13px;color:#8396ac}.calls-notes{display:block;margin-bottom:20px}.calls-notes p{line-height:1.8}.calls-detail{padding:4px 0}.calls-detail audio{width:100%;margin:12px 0 22px}.calls-detail details{margin:16px 0;padding:16px;background:#f7f9fd;border:1px solid #e3eaf6;border-radius:10px}.calls-detail summary{cursor:pointer;font-weight:600;color:#48668f}.calls-detail fieldset{border:0;padding:0;min-width:0;margin-top:26px}.calls-detail legend{font-size:20px;font-weight:650;margin-bottom:20px}.calls-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.calls-edit-grid>label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#607a9e}.calls-detail textarea{width:100%;padding:12px;border:1px solid #d4e0f1;border-radius:7px;line-height:1.7;background:#fff;font:inherit}.calls-detail .form-field{display:flex;flex-direction:column;gap:10px;color:#647d9e;margin:18px 0;font-size:14px}.calls-segments{max-height:380px;overflow:auto;padding:5px 8px 5px 0;margin:16px 0}.calls-segments label{display:block;margin-bottom:14px}.calls-segments .text-link{font-size:12px;margin-bottom:6px}.calls-segments p{font-size:13px;line-height:1.8}.calls-evidence{max-height:260px;overflow:auto;margin-top:16px}.calls-evidence label{display:flex;gap:10px;font-size:13px;line-height:1.6;margin:10px 0}.calls-evidence input{flex-shrink:0;width:16px;height:16px;margin-top:3px}.calls-brief{background:#eff5ff;padding:20px;border-radius:10px;margin:22px 0}.calls-brief p{font-size:13px;color:#6f88aa;line-height:1.7}.calls-confirm{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.7;margin:20px 0}.calls-confirm input,.calls-brief input{width:17px;height:17px;margin-top:4px;flex-shrink:0}.calls-buttons{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.calls-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;color:#6e829e}.calls-dialog{max-width:1050px!important;width:calc(100vw - 40px)}
@media(max-width:900px){.calls-metrics{grid-template-columns:1fr 1fr!important}.calls-intro{align-items:flex-start;flex-direction:column;gap:8px}.calls-intro>div:last-child{text-align:left}.calls-panel{padding:18px}.calls-batches a{flex-direction:column;gap:8px}.calls-trend{gap:5px}.calls-trend small{font-size:9px}.calls-trend a:nth-child(even) small{visibility:hidden}}
@media(max-width:540px){.calls-edit-grid{grid-template-columns:1fr}.calls-metrics .metric-card{padding:16px}.calls-metrics strong{font-size:28px}.calls-upload-fields{flex-direction:column;align-items:stretch}.calls-upload-fields>label{min-width:0}.calls-intro h2{font-size:19px}.calls-dialog{width:calc(100vw - 16px)}.calls-engine{gap:12px}.calls-filter>label{min-width:100px}.calls-bars>a{grid-template-columns:1.3fr 1fr 24px}.calls-bulk small{width:100%}}
.calls-summary{border-left:4px solid #284f89;background:#f8fbff}.calls-summary h2{font-size:20px;margin:0 0 12px}.calls-summary p{font-size:14px;line-height:1.8;color:#607894}.calls-summary-links{display:flex;flex-wrap:wrap;gap:14px;margin:20px 0}.calls-summary-links a{padding:16px 20px;background:white;border:1px solid #dce6f3;border-radius:10px;color:#3d5e86}.calls-summary-links strong{font-size:25px;margin-right:6px}.calls-summary-links span{display:block;font-size:12px;margin-top:9px}.calls-summary-links .calls-alert{border-color:#ebc0bd;color:#a3423d;background:#fff8f7}.calls-quick{margin-top:12px}.calls-quick .button{padding:8px 12px;font-size:12px}.calls-quick audio{display:block;width:240px;max-width:100%;height:38px;margin-top:10px}.calls-quick audio[hidden]{display:none}@media(max-width:540px){.calls-summary-links{display:grid;grid-template-columns:1fr 1fr}.calls-summary-links .calls-alert{grid-column:1 / -1}.calls-summary-links a{padding:12px}.calls-summary p{font-size:13px}}

/* Scope wrapping to the recording list; other business tables keep their layout. */
.calls-table{min-width:0;width:100%;table-layout:fixed;white-space:normal}
.calls-table .calls-col-select{width:5%}.calls-table .calls-col-meta{width:22%}.calls-table .calls-col-summary{width:28%}.calls-table .calls-col-emotion{width:13%}.calls-table .calls-col-action{width:21%}.calls-table .calls-col-review{width:11%}
.calls-table th,.calls-table td{white-space:normal;overflow-wrap:anywhere;word-break:normal;max-width:none;padding:18px 12px;line-height:1.75}
.calls-table td b,.calls-table td p,.calls-table td small{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}
.calls-table .tag{white-space:normal;line-height:1.5}.calls-table .button,.calls-table .text-link{white-space:normal;text-align:left}
.calls-table .calls-filename{font-size:11px;color:#8192a8}.calls-quick audio{width:100%;min-width:0;height:44px}.calls-play-status:empty{display:none}.calls-play-status{font-size:12px}
.calls-detail{overflow-wrap:anywhere;white-space:normal}.calls-detail p{white-space:pre-wrap;line-height:1.8}.calls-detail .notice{white-space:normal}.calls-detail #call-detail-status{font-size:13px;color:#607a9e}
@media(max-width:1100px){
 .calls-table,.calls-table tbody,.calls-table tr,.calls-table td{display:block;width:100%;min-width:0;max-width:none}
 .calls-table colgroup{display:none}.calls-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .calls-table tr{border:1px solid #dae5f3;border-radius:12px;padding:16px;margin:16px 0;background:#fff}
 .calls-table td{padding:10px 0;border:0;line-height:1.8}.calls-table td[data-label]::before{content:attr(data-label);display:block;font-size:12px;font-weight:600;color:#7d90aa;margin-bottom:6px}
 .calls-table td.calls-select{display:flex;align-items:center;gap:12px;padding-top:0}.calls-table td.calls-select::before{margin:0}.calls-table td.calls-select input{margin:0}
 .calls-table .calls-quick audio{max-width:420px}.calls-table .calls-filename{font-size:11px}.calls-panel .table-wrap{overflow:visible}
}
@media(max-width:1100px){.calls-panel .table-wrap::before{display:none}}

.calls-update{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 16px;margin-bottom:18px;border:1px solid #dce6f3;border-radius:10px;background:#f7faff;color:#6b829f;font-size:12px;line-height:1.6}.calls-update .button{font-size:12px;padding:7px 12px}.calls-update [hidden]{display:none}

/* Batch progress updates independently of the recording list and player. */
.calls-progress-toolbar{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.calls-progress-toolbar label{display:flex;flex:1;min-width:0;flex-direction:column;gap:8px;font-size:13px;color:#607a9e}
.calls-progress-toolbar select{min-width:0;width:100%;min-height:44px;border:1px solid #d9e3f2;border-radius:8px;padding:8px;background:#fff;color:#284b79}
.calls-progress-summary{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
.calls-progress-summary strong{font-size:30px;color:#173f7d}.calls-progress-summary span{margin-left:16px;color:#607a9e;font-size:14px}
.calls-progress-summary p{color:#607a9e;font-size:14px;line-height:1.7}
.calls-progress-bar{display:block;width:100%;height:10px;border:0;border-radius:6px;overflow:hidden;margin:14px 0;background:#eaf0f8;accent-color:#285995}
.calls-progress-bar::-webkit-progress-bar{background:#eaf0f8;border-radius:6px}.calls-progress-bar::-webkit-progress-value{background:#285995;border-radius:6px}.calls-progress-bar::-moz-progress-bar{background:#285995;border-radius:6px}
.calls-progress-bar[hidden]{display:none}.calls-progress-bar:indeterminate{background:repeating-linear-gradient(100deg,#eaf0f8 0 16px,#cadbf2 16px 32px)}
.calls-progress-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}
.calls-progress-stages>div{border:1px solid #dce6f3;padding:16px;border-radius:10px;min-width:0}
.calls-progress-stages b{display:block;font-size:13px;color:#607a9e}.calls-progress-stages strong{display:block;font-size:19px;margin-top:10px;color:#284b79}.calls-progress-stages small{display:block;font-size:11px;color:#7d90aa;line-height:1.6}
.calls-progress-counts{display:flex;flex-wrap:wrap;gap:10px;font-size:13px;margin:16px 0}.calls-progress-counts span{padding:8px 12px;background:#f0f5fc;border-radius:6px}
.calls-progress-items{padding:0;list-style:none;font-size:13px;line-height:1.8;margin:12px 0}.calls-progress-items li{padding:12px 0;border-bottom:1px solid #e6edf6;overflow-wrap:anywhere;white-space:normal}.calls-progress-items small{display:block;color:#7d90aa}.calls-progress-items p{margin:5px 0;color:#7186a3;white-space:pre-wrap}
.calls-progress-attention{background:#fffbf3;border:1px solid #f0dfbd;border-radius:10px;padding:16px;margin:18px 0}.calls-progress-attention h3{font-size:14px;margin:0;color:#8b6b36}
#calls-progress-content{overflow-wrap:anywhere;min-width:0}#calls-progress-content .notice{display:block;white-space:normal;line-height:1.7}
@media(max-width:700px){.calls-progress-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.calls-progress-toolbar{align-items:stretch;flex-direction:column}.calls-progress-summary strong{font-size:26px}.calls-progress-summary p{margin:0}}

.calls-progress-batch-title{font-size:16px;margin:12px 0;color:#284b79}.calls-progress-items .text-link{border:0;background:none;padding:4px 0;font:inherit;color:#245995;cursor:pointer;text-align:left}
/* Call analytics workspace: intake, date-scoped analysis, then evidence. */
#calls-page{--call-blue:#173f7d;--call-muted:#74869f}
.calls-section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}.calls-section-title h2{margin:6px 0;font-size:21px}.calls-section-title small{color:#718ca5;letter-spacing:1px;font-weight:650;font-size:11px}.calls-section-title p{margin:8px 0;color:#7a8da5;font-size:13px}.calls-section-title>label{display:flex;align-items:center;gap:10px;white-space:nowrap;color:#69809e;font-size:13px}
#calls-page select,#calls-page input[type=date],#calls-page input[type=number]{border:1px solid #d5dfed;border-radius:7px;background:#fff;padding:9px 11px;color:#29476e;font:inherit;min-height:40px;max-width:100%}
.calls-intake-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.calls-intake-metrics>div{border:1px solid #e4eaf2;border-radius:10px;padding:18px;background:#f8fafd}.calls-intake-metrics span{display:block;color:#75879f;font-size:13px}.calls-intake-metrics strong{display:block;font-size:30px;margin-top:10px;color:#224a80}.calls-intake-metrics small{font-size:12px;font-weight:400;margin-left:7px;color:#7e8ea4}.calls-intake-metrics .green strong,.calls-outcome-success{color:#218570}.calls-intake-metrics .red strong,.calls-outcome-failed{color:#ba4758}.calls-intake-metrics .amber strong,.calls-outcome-processing{color:#b48329}
.calls-upload-table{width:100%;table-layout:fixed;min-width:650px}.calls-upload-table th:first-child{width:18%}.calls-upload-table th:last-child{width:38%}.calls-upload-table td{white-space:normal!important;vertical-align:top;line-height:1.7;overflow-wrap:anywhere;font-size:13px}.calls-upload-table small{display:block;font-size:11px;color:#8191a6;margin-top:5px}.calls-upload-table summary{cursor:pointer;color:#a75d45}.calls-upload-table details p{font-size:12px;line-height:1.6;padding:8px;background:#fff8f4}.calls-upload-table td a{font-weight:600}
.calls-collapsible{margin:18px 0}.calls-collapsible>summary{cursor:pointer;font-weight:600;color:#48668f;padding:10px 0;line-height:1.6}.calls-collapsible .calls-panel{border:0;box-shadow:none;padding:16px 0;margin:0}.calls-upload-overview>#calls-open-upload{margin-top:8px}
.calls-presets{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:16px}.calls-presets .button{padding:7px 13px;font-size:12px}.calls-presets small{color:#7e90a7;font-size:12px}.calls-analysis-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:28px 0 16px}.calls-analysis-heading h2{font-size:21px;margin:0}.calls-analysis-heading span{font-size:13px;color:#7e90a7}.calls-coverage{font-size:12px;color:#74869f;line-height:1.8;margin:14px 2px 24px}.calls-analysis-grid{align-items:stretch}.calls-analysis-grid>.panel{height:100%;min-width:0}.calls-chart-empty{padding:28px 8px;text-align:center;font-size:13px;color:#8392a6}
.calls-analytic-bars>a{grid-template-columns:minmax(100px,1.2fr) 1.5fr 32px 48px;gap:12px;padding:15px 0}.calls-analytic-bars small{text-align:right;color:#8291a7;font-size:11px}.calls-analytic-bars a>div{height:9px}.calls-analytic-bars i{height:9px;background:#557fb9}.calls-emotion-head{display:flex;align-items:center;gap:18px;margin:6px 0 22px}.calls-emotion-head strong{font-size:36px;color:#bd5863;letter-spacing:-1px}.calls-emotion-head span{font-size:14px;color:#425b7a}.calls-emotion-head small{display:block;color:#8291a7;font-size:11px;margin-top:5px}.calls-emotion-stack{display:flex;height:22px;border-radius:6px;overflow:hidden;background:#f1f4f8;gap:2px;margin-bottom:20px}.calls-emotion-stack a{min-width:2px;transition:opacity .2s}.calls-emotion-stack a:hover{opacity:.7}.calls-emotion-legend{display:grid;grid-template-columns:1fr 1fr;gap:15px 22px}.calls-emotion-legend a{display:flex;gap:8px;align-items:center;font-size:12px;color:#4e647f}.calls-emotion-legend i,.calls-chart-legend i{width:9px;height:9px;border-radius:3px;display:inline-block;flex-shrink:0}.calls-emotion-legend b{margin-left:auto;font-weight:600}.calls-emotion-legend small{font-size:10px;color:#8091a8}
.calls-chart-legend{display:flex;justify-content:flex-end;gap:18px;font-size:11px;color:#7b8da6;margin-bottom:12px}.calls-chart-legend span{display:flex;gap:7px;align-items:center}.calls-timeline{display:flex;gap:18px;overflow-x:auto;align-items:flex-end;min-height:180px;padding:10px 2px}.calls-timeline>a{display:flex;flex:1 0 42px;flex-direction:column;align-items:center;color:#647e9e;font-size:12px;gap:7px;max-width:100px}.calls-timeline-slot{height:120px;width:26px;background:#f5f7fb;display:flex;align-items:flex-end;border-radius:5px;overflow:hidden}.calls-timeline-slot>div{width:100%;display:flex;flex-direction:column;border-radius:5px;overflow:hidden}.calls-timeline-slot i{display:block;min-height:0}.calls-timeline small{font-size:10px}
.calls-insights article{padding:15px 0;border-bottom:1px solid #edf1f6}.calls-insights article:first-child{padding-top:0}.calls-insights article:last-child{border:0;padding-bottom:0}.calls-insights h3{font-size:14px;color:#244d83;margin:0 0 8px}.calls-insights p{line-height:1.8;font-size:13px;color:#6c809b;margin:0 0 8px}.calls-insights a{font-size:12px}
.calls-project-table{width:100%;min-width:650px}.calls-project-table td,.calls-project-table th{text-align:center;font-size:12px}.calls-project-table td:first-child,.calls-project-table th:first-child{text-align:left;min-width:140px}.calls-project-table small{display:block;font-size:11px;color:#8697ae;margin-top:5px}.calls-heat-cell{display:block;border-radius:5px;padding:8px;background:rgba(78,122,183,var(--heat));color:#143a70}.calls-heat-cell:hover{outline:1px solid #5b7eae}
.calls-pagination{justify-content:space-between;flex-wrap:wrap;gap:14px}.calls-pagination nav,.calls-pagination form{display:flex;align-items:center;gap:6px}.calls-pagination label{display:flex;align-items:center;gap:6px}.calls-pagination input{width:66px}.calls-pagination .button{padding:7px 12px;min-width:34px}.calls-pagination a.active{background:#173f7d;color:white;border-color:#173f7d}.calls-pagination select{min-width:80px}.calls-table .calls-col-meta{width:23%}.calls-table .calls-col-summary{width:27%}.calls-table .calls-col-emotion{width:14%}.calls-table .calls-col-action{width:22%}.calls-table .calls-col-review{width:14%}
@media(max-width:900px){.calls-section-title{align-items:flex-start;flex-direction:column;gap:12px}.calls-intake-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.calls-intake-metrics>div{padding:14px}.calls-intake-metrics strong{font-size:26px}.calls-analysis-heading{align-items:flex-start;flex-direction:column;gap:8px}.calls-emotion-legend{gap:14px}.calls-pagination nav{flex-wrap:wrap}.calls-pagination{justify-content:flex-start}.calls-upload-table{min-width:0}.calls-upload-table thead{display:none}.calls-upload-table,.calls-upload-table tbody,.calls-upload-table tr,.calls-upload-table td{display:block;width:100%}.calls-upload-table tr{border:1px solid #e2e9f3;border-radius:10px;padding:12px;margin-bottom:12px}.calls-upload-table td{border:0!important;padding:7px 0!important;display:grid;grid-template-columns:105px 1fr;gap:8px;min-width:0}.calls-upload-table td::before{content:attr(data-label);font-size:12px;color:#8192a9}.calls-upload-table td small,.calls-upload-table td>p{grid-column:2}.calls-upload-table td:last-child{display:block}.calls-upload-table td:last-child:before{display:block;margin-bottom:5px}.calls-analytic-bars>a{grid-template-columns:minmax(90px,1fr) 1fr 24px 42px;gap:8px}.calls-collapsible .calls-panel{padding:14px 0}.calls-analysis-grid>.panel{height:auto}.calls-section-title h2{font-size:19px}}

.calls-live-queue{padding:16px 18px;margin-bottom:18px;background:#eef5ff;border:1px solid #d7e5fa;border-radius:10px;overflow-wrap:anywhere}.calls-live-queue p{margin:8px 0}.calls-live-queue small,.calls-analysis-pending{color:#667c96}.calls-state-reason{line-height:1.65;white-space:normal;overflow-wrap:anywhere}[data-call-state]{display:grid;justify-items:start;gap:5px;margin-bottom:10px}[data-call-state] small{margin:0}
