.crm-telephony{display:grid;gap:18px;min-width:0}.crm-telephony h1,.crm-telephony h2,.crm-telephony p{margin:0;overflow-wrap:anywhere}.crm-telephony h1{font-size:27px}.crm-telephony h2{font-size:18px}.telephony-heading,.telephony-call-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-width:0}.telephony-heading>div,.telephony-call-top>div{display:grid;gap:8px;min-width:0}.telephony-muted{font-size:13px;color:var(--muted,#657487);line-height:1.55;overflow-wrap:anywhere}.telephony-surface,.telephony-call-card{display:grid;gap:16px;padding:20px;border:1px solid var(--line,#dce2e9);border-radius:13px;background:#fff;min-width:0}.telephony-actions,.telephony-tabs,.telephony-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-width:0}.telephony-fields,.telephony-bindings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.telephony-bindings>p{grid-column:1/-1}.telephony-field{display:grid;gap:7px;min-width:0;align-content:start}.telephony-field label{font-size:13px;color:#34485a;margin:0}.telephony-input-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}.telephony-input-row>.telephony-field{flex:1 1 150px;min-width:0}.telephony-input-row>.btn{flex:0 0 auto;align-self:flex-end;margin:0}.telephony-input-row>.telephony-field:has(input[type=date]){flex:0 1 170px}.telephony-copy-row>.telephony-field{flex:1 1 400px}.telephony-filter-main{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr));gap:12px}.telephony-check{display:flex;gap:10px;align-items:center;min-height:44px;margin:0;cursor:pointer}.telephony-check input[type=checkbox]{width:20px!important;min-width:20px;height:20px!important;min-height:20px;flex:0 0 20px;padding:0;appearance:auto}.telephony-notice{padding:13px 15px;border-radius:9px;background:#edf5f6;color:#285d59;line-height:1.5;font-size:14px;overflow-wrap:anywhere}.telephony-notice.is-error{background:#fff0ef;color:#9b2920}.telephony-sync-form,.telephony-sync-status,.telephony-detail-body,.telephony-call-list,.telephony-recording,.telephony-leg-list{display:grid;gap:13px;min-width:0}.telephony-sync-status progress{width:100%;height:8px;accent-color:#26736a}.telephony-summary{display:flex;flex-wrap:wrap;gap:10px}.telephony-summary-item{display:grid;gap:5px;flex:1 1 125px;background:#fff;border:1px solid var(--line,#dce2e9);border-radius:10px;padding:13px 15px;min-width:0}.telephony-summary-item span{font-size:13px;color:var(--muted,#657487)}.telephony-summary-item strong{font-size:23px}.telephony-call-name{font-weight:650;font-size:17px;color:#183f50;overflow-wrap:anywhere}.telephony-state{display:inline-flex;align-items:center;min-height:30px;border-radius:30px;padding:5px 11px;font-size:12px;line-height:1.4;flex:0 0 auto;background:#edf4f4;color:#2b665d}.telephony-state.is-missed{background:#fff1e6;color:#925200}.telephony-facts{display:grid;grid-template-columns:minmax(100px,.6fr) minmax(0,1.4fr);gap:8px 14px;margin:0}.telephony-facts dt{font-size:13px;color:var(--muted,#657487);font-weight:400}.telephony-facts dd{margin:0;overflow-wrap:anywhere}.telephony-recording audio{width:100%;max-width:560px;height:44px}.telephony-empty{display:grid;gap:10px;padding:36px 20px;text-align:center;border:1px dashed var(--line,#dce2e9);border-radius:12px;background:#fff}.crm-telephony .btn,.crm-telephony .form-control,.crm-telephony .form-select{min-height:44px;max-width:100%;box-sizing:border-box}.crm-telephony .btn{display:inline-flex;align-items:center;justify-content:center;white-space:normal;overflow-wrap:anywhere;margin-top:0}.crm-telephony [hidden]{display:none!important}.crm-telephony [role=alert]:empty,.crm-telephony [role=status]:empty,.telephony-summary:empty,.telephony-bindings:empty{display:none}.crm-telephony details summary{min-height:30px;cursor:pointer}.crm-telephony details[open] summary{margin-bottom:12px}
@media(max-width:767px){.crm-telephony{gap:14px}.crm-telephony h1{font-size:24px}.telephony-heading,.telephony-call-top{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.telephony-heading>.telephony-actions{display:flex}.telephony-surface,.telephony-call-card{padding:15px;gap:14px}.telephony-fields,.telephony-bindings,.telephony-filter-main{grid-template-columns:minmax(0,1fr)}.telephony-input-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.telephony-input-row>.telephony-field,.telephony-input-row>.telephony-field:has(input[type=date]){width:auto;min-width:0}.telephony-input-row>.telephony-field:has(select),.telephony-copy-row>.telephony-field{grid-column:1/-1}.telephony-copy-row>.btn{grid-column:1/-1}.telephony-input-row>.btn{width:100%}.telephony-summary-item{flex-basis:calc(50% - 10px);padding:12px}.telephony-state{justify-self:start;max-width:100%;white-space:normal;overflow-wrap:anywhere}.telephony-actions>.btn{max-width:100%}.telephony-facts{grid-template-columns:minmax(90px,.6fr) minmax(0,1.4fr)}.telephony-tabs>.btn{flex:1}.telephony-recording audio{max-width:100%}}
.telephony-transcription{display:grid;gap:12px;min-width:0;padding-top:15px;border-top:1px solid var(--line,#dce2e9)}.telephony-transcript-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.telephony-transcription progress{width:100%;height:8px;accent-color:#26736a}.telephony-transcript-text{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;line-height:1.65;font-size:14px;padding:14px 16px;border:1px solid var(--line,#dce2e9);border-radius:9px;background:#f7f9fb;max-height:340px;overflow-y:auto;min-width:0}.telephony-transcript-text.is-expanded{max-height:none;overflow:visible}.telephony-transcript-text:focus-visible{outline:2px solid #26736a;outline-offset:2px}.telephony-transcription>.telephony-actions:has(>.btn:not([hidden])){min-height:44px}.telephony-transcription>.telephony-actions:not(:has(>.btn:not([hidden]))){display:none}
.telephony-sip-heading,.telephony-sip-status,.telephony-sip-conflict{display:grid;gap:10px;min-width:0}
.telephony-call-relations>.telephony-actions:empty{display:none}
.telephony-candidates{display:grid;gap:10px;min-width:0}.telephony-candidates h3{font-size:15px;margin:0}.telephony-candidate{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:12px;border:1px solid var(--line,#dce2e9);border-radius:9px}.telephony-candidate>div{min-width:0;overflow-wrap:anywhere}.telephony-candidate>.btn{flex-shrink:0}.telephony-candidate>.btn-link{flex-shrink:1;justify-content:flex-start;padding-left:0;text-align:left}
@media(max-width:767px){.telephony-call-relations>.telephony-actions>.btn{flex:1 1 100%}.telephony-candidate{display:grid;grid-template-columns:minmax(0,1fr)}.telephony-candidate>.btn{width:100%}}
.telephony-sip-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:end}
.telephony-sip-fields .form-control{height:44px;margin:0;min-width:0;width:100%}
.telephony-sip-form progress{width:100%;height:8px;accent-color:#26736a}
.telephony-sip-secret-action{margin-top:-8px;justify-content:flex-end}
.telephony-sip-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;counter-reset:sip-step;margin:0;padding:0;font-size:13px;color:#657487}
.telephony-sip-steps li{display:flex;gap:7px;align-items:center;counter-increment:sip-step;min-width:0;overflow-wrap:anywhere}
.telephony-sip-steps li::before{content:counter(sip-step);display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border:1px solid #dce2e9;border-radius:50%;background:#f5f7fa}
.telephony-sip-steps .is-current{color:#185e56;font-weight:600}.telephony-sip-steps .is-done::before{content:'✓';background:#e4f3ed;color:#216c57;border-color:#a4cdbf}
.telephony-sip-conflict{padding:14px;border:1px solid #e1c185;border-radius:9px;background:#fffaf0}
.telephony-sip-form .telephony-facts:empty,.telephony-sip-form [aria-live]:empty{display:none}
@media(max-width:767px){.telephony-sip-fields{grid-template-columns:minmax(0,1fr);gap:12px}.telephony-sip-steps{grid-template-columns:minmax(0,1fr);gap:9px}.telephony-sip-form>.telephony-actions>.btn{flex:1 1 180px}.telephony-sip-secret-action{justify-content:flex-start}.telephony-sip-secret-action>.btn{flex:0 1 auto!important;justify-content:flex-start}}
