.call-center-page{max-width:1450px;margin:auto;color:#142544}.call-tabs{display:flex;gap:6px;padding:5px;background:#eef3fa;border:1px solid #dce5f2;border-radius:10px;margin-bottom:18px;overflow:auto}.call-tabs button{border:0;background:transparent;padding:10px 18px;border-radius:7px;color:#526581;white-space:nowrap;font-size:12px}.call-tabs [aria-pressed=true]{background:#fff;color:#1d4ed8;box-shadow:0 2px 5px #173b7012}.call-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;border:1px solid #e5d6a6;background:#fffbeb;border-radius:11px;margin-bottom:16px;font-size:11px}.call-banner.enabled{background:#ecfdf5;border-color:#a7e3cb}.call-banner strong{display:block;font-size:13px}.call-banner small{display:block;margin-top:5px;font-size:11px;line-height:1.6;color:#526581}.call-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:16px}.call-stats article{padding:15px;background:#fff;border:1px solid #dce5f2;border-radius:10px}.call-stats span{display:block;font-size:10px;color:#526581}.call-stats strong{display:block;font-size:23px;margin-top:8px;color:#1d4ed8}.call-panel{padding:20px;margin-bottom:16px;min-width:0}.call-panel h2{font-size:15px;margin:0 0 12px}.call-panel header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.call-panel header h2{margin:0}.call-panel .muted{font-size:11px;line-height:1.7}.call-panel label{font-size:11px}.call-panel input,.call-panel select{font-size:12px}.call-panel small{display:block;font-size:10px;line-height:1.6;max-width:320px;color:#60718b;margin-top:4px}.call-two-column{display:grid;grid-template-columns:1fr 1fr;gap:16px}.call-balance{display:flex;gap:35px;font-size:11px;color:#526581}.call-balance strong{display:block;font-size:20px;margin:8px 0;color:#142544}.call-facts{margin:0;font-size:11px}.call-facts>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0}.call-facts dt{color:#526581}.call-facts dd{margin:0}.call-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 22px}.call-switches{display:grid;grid-template-columns:1fr 1fr;gap:12px}.call-check{display:flex!important;align-items:center;gap:9px;line-height:1.6;margin:12px 0}.call-check input{width:15px!important;min-height:15px!important;margin:0;flex-shrink:0}.call-dtmf-row{display:grid;grid-template-columns:80px 1fr 1fr auto;align-items:end;gap:10px;margin-bottom:12px}.call-dtmf-row .btn{margin-bottom:1px}.call-voice-form{display:grid;grid-template-columns:1fr 1fr 1fr auto;align-items:end;gap:12px}.call-voice-form .form-error{grid-column:1/-1}.call-voice-list article{display:flex;align-items:center;gap:15px;border-top:1px solid #e5ebf4;padding:12px 0}.call-voice-list strong{font-size:12px;flex:1}.call-voice-list audio{height:32px;max-width:260px}.call-log-filter{display:flex;gap:10px;margin-bottom:14px}.call-log-filter input{flex:1;min-width:0}.call-log-filter select{width:160px}.call-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:15px;font-size:11px}.call-pagination span{margin-right:auto}.call-panel summary{cursor:pointer;font-size:12px;font-weight:600}.call-attempt{border-top:1px solid #dce5f2;padding:14px 0;font-size:12px}.call-center-page .table-wrap{overflow-x:auto}.call-center-page table{min-width:700px}.call-center-page .form-error:empty{display:none}
@media(max-width:1100px){.call-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.call-voice-form{grid-template-columns:1fr 1fr}.call-two-column{grid-template-columns:1fr}.call-dtmf-row{grid-template-columns:65px 1fr 1fr}.call-dtmf-row .btn{grid-column:3;justify-self:end}}
@media(max-width:650px){.call-panel{padding:14px}.call-banner{align-items:flex-start;flex-direction:column;padding:13px}.call-tabs button{padding:9px 12px;font-size:11px}.call-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.call-stats article{padding:12px}.call-settings-grid,.call-switches,.call-voice-form{grid-template-columns:1fr}.call-dtmf-row{grid-template-columns:60px 1fr}.call-dtmf-row label:nth-child(3){grid-column:1/-1}.call-dtmf-row .btn{grid-column:2}.call-voice-list article{flex-wrap:wrap}.call-voice-list audio{max-width:100%;width:100%;order:3}.call-log-filter{flex-wrap:wrap}.call-log-filter input{flex-basis:100%}.call-panel header{flex-wrap:wrap}.call-pagination{flex-wrap:wrap}.call-panel .btn{font-size:11px}}

/* Voice upload and selection match the compact library workflow. */
.call-voice-upload .call-voice-form{display:block}.call-upload-row{display:grid;grid-template-columns:minmax(150px,1.6fr) minmax(170px,1fr) auto;align-items:center;gap:10px}.call-upload-row input{margin:0;min-width:0;background:#f8faff;border-color:#dce5f2}.call-upload-row .btn{white-space:nowrap;color:#1d4ed8;background:#f8faff}.call-voice-form>.muted{margin:8px 0 10px}.call-url-option{margin:10px 0 18px;color:#526581}.call-url-option summary{font-weight:400;font-size:11px}.call-url-option label{margin-top:12px}.call-question-voice{margin-top:20px}.call-question-voice>label{margin-bottom:4px;font-size:12px}.call-question-voice>.muted{margin-bottom:8px}.call-voice-picker{display:flex;align-items:center;gap:8px;min-width:0}.call-voice-picker select{flex:1;min-width:0;margin:0;background:#f8faff;border-color:#dce5f2}.call-voice-picker .call-voice-play{flex:0 0 40px;width:40px;min-height:40px;padding:8px;color:#1d4ed8;background:#f8faff;margin:0}.call-voice-picker .call-voice-play[aria-pressed=true]{background:#e6efff}.call-library{margin-top:17px;border-top:1px solid #e5ebf4;padding-top:12px}.call-library>summary{font-size:11px;font-weight:400;color:#526581}.call-library .call-voice-list{margin-top:10px}.call-dtmf-row>label{min-width:0}.call-dtmf-row>label>.call-voice-picker{margin-top:6px}
@media(max-width:800px){.call-upload-row{grid-template-columns:1fr 1fr}.call-upload-row>.btn{grid-column:1/-1;justify-self:end}}
@media(max-width:650px){.call-upload-row{grid-template-columns:1fr}.call-upload-row>.btn{width:100%}.call-dtmf-row .call-voice-picker .call-voice-play{grid-column:auto;justify-self:auto}.call-voice-picker{gap:6px}}

.call-backup-tools{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:17px;padding-top:14px;border-top:1px solid #e5ebf4}.call-backup-tools form{display:flex;flex:1;align-items:end;gap:10px;min-width:0}.call-backup-tools label{flex:1;min-width:0;margin:0}.call-backup-tools input{min-width:0}.call-backup-tools .form-error{flex-basis:100%}.call-backup-tools .btn{flex-shrink:0}@media(max-width:650px){.call-backup-tools{align-items:stretch;flex-direction:column}.call-backup-tools form{flex-wrap:wrap}.call-backup-tools label{flex-basis:100%}}

.call-order-tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:10px;margin-bottom:14px;border-bottom:1px solid #e5ebf4}.call-order-tabs button{display:flex;gap:8px;align-items:center;white-space:nowrap;border:1px solid #dce5f2;background:#fff;border-radius:8px;padding:8px 11px;font-size:11px;color:#526581}.call-order-tabs button[aria-pressed=true]{background:#eaf2ff;border-color:#9ebffc;color:#1d4ed8}.call-order-tabs span{background:#f1f4f9;padding:1px 5px;border-radius:5px;font-size:10px}.call-order-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:14px}.call-order-toolbar input{max-width:380px;min-width:0;margin:0}.call-order-toolbar>span{font-size:11px;white-space:nowrap;color:#526581}.call-bulk-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px}.call-bulk-footer .call-check{margin:0}@media(max-width:650px){.call-order-toolbar,.call-bulk-footer{flex-wrap:wrap}.call-order-toolbar input{max-width:none;flex-basis:100%}.call-bulk-footer .btn{width:100%}}
.call-balance>span{min-width:0;overflow-wrap:anywhere}
.call-dtmf-row .call-transfer-phone{grid-column:1/-1}.call-transfer-phone input{margin-top:4px}.call-transfer-phone small{display:block;margin-top:4px}
.call-transfer-phone[hidden]{display:none!important}
#live-calls-panel{position:fixed;z-index:1200;top:84px;right:20px;width:min(420px,calc(100vw - 32px));max-height:calc(100vh - 110px);display:flex;flex-direction:column;background:#fff;border:1px solid #e4e7ec;border-radius:14px;box-shadow:0 12px 40px #26344b26,0 2px 8px #26344b0a;color:#101828}
#live-calls-panel>header{display:flex;justify-content:space-between;gap:12px;padding:16px 18px 12px;border-bottom:1px solid #eaecf0}
#live-calls-panel h2{margin:0 0 4px;font-size:16px}#live-calls-panel header p{margin:0;font-size:11px;line-height:1.45}
#live-calls-panel .icon-button{border:0;background:transparent;font-size:22px;line-height:1;cursor:pointer;color:#667085;padding:0 4px}
.live-calls-body{overflow:auto;padding:12px 14px;display:grid;gap:10px}
.live-calls-empty{text-align:center;padding:24px 0}
#live-calls-panel>footer{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;border-top:1px solid #eaecf0}
.live-call{border:1px solid #eaecf0;border-radius:11px;padding:12px;background:#fff}
.live-call.wants-talk{border-color:#d9d6fe;background:#faf9ff;box-shadow:0 0 0 3px #f4f3ff}
.live-call-head{display:flex;justify-content:space-between;gap:10px;font-size:13px}.live-call-head time{font-size:11px;color:#667085;white-space:nowrap}
.live-call-flag{margin:6px 0 0;font-size:11px;font-weight:600;color:#5925dc}
.live-call-body{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-top:8px;font-size:12px}
.live-call-body a{font-weight:700;color:#175cd3}.live-call-body p{margin:5px 0 0;line-height:1.45}
.live-call-body .order-call-result{min-width:0;max-width:150px;text-align:right}
.live-call-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.live-call-alert{position:fixed;z-index:1250;right:20px;bottom:24px;display:grid;gap:6px;max-width:320px;padding:14px 16px;background:#fff;border:1px solid #d9d6fe;border-left:4px solid #7a5af8;border-radius:12px;box-shadow:0 12px 32px #26344b26;font-size:12px;color:#101828}
.live-call-alert span{color:#667085}.live-call-alert .btn{justify-self:start}
@media(max-width:650px){#live-calls-panel{top:auto;bottom:12px;right:16px}.live-call-alert{left:16px;right:16px;max-width:none}}
#live-calls-panel[hidden]{display:none!important}
