/* Voice controls stay inside the attendance workspace; audio survives its renders. */
.cop-voice{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border:1px solid #e7ddef;border-radius:13px;background:#fcfaff;color:#765986;padding:16px 18px;margin:0 0 18px;font-size:12px}.cop-voice [hidden],.cop-voice[hidden]{display:none!important}.cop-voice-heading{display:flex;align-items:center;gap:12px}.cop-voice-icon{display:flex;align-items:center;justify-content:center;background:#f1e8fa;border:1px solid #e4d5f0;border-radius:11px;flex:0 0 38px;width:38px;height:38px;color:#9370ae}.cop-voice-icon svg{width:21px;height:21px}.cop-voice-heading h3{font-size:13px;font-weight:600;color:#75528d;margin:0 0 4px}.cop-voice-heading p{font-size:11px;color:#8d729e;margin:0}.cop-voice-extension{margin-left:auto;font-size:10px;white-space:nowrap;color:#8e72a0}.cop-voice-call{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:16px;margin-top:14px;border-top:1px solid #eee5f5}.cop-voice-call>div:first-child{min-width:0}.cop-voice-call span{display:block;color:#9c82ad;font-size:10px;margin-bottom:5px}.cop-voice-call strong{font-size:17px;font-weight:600;overflow-wrap:anywhere;color:#6d4b85}.cop-voice-call p{font-size:11px;line-height:1.6;margin:7px 0 0;color:#8c709e}.cop-voice-actions{display:flex;gap:8px;flex-wrap:wrap}.cop-voice-button{border:1px solid #dfd1ec;background:white;color:#825c9c;font:600 11px/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border-radius:8px;padding:10px 13px;min-height:36px;cursor:pointer;white-space:nowrap}.cop-voice-button.primary{background:#8b62ad;color:#fff;border-color:#8b62ad}.cop-voice-button.danger{color:#ac4d66;border-color:#f0d4dd;background:#fff8fa}.cop-voice-button:focus-visible,.cop-voice input:focus-visible{outline:3px solid #bf9edc;outline-offset:3px}.cop-voice-button:disabled{opacity:.6;cursor:wait}.cop-voice-audio{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:15px}.cop-voice-audio label{display:flex;align-items:center;gap:9px;color:#89649e;font-size:10px}.cop-voice-audio input{width:100px;accent-color:#9972b7}.cop-voice-notice{font-size:11px;line-height:1.6;margin:12px 0 0;color:#9b5e78}.cop-voice-recovery{display:flex;gap:8px;flex-wrap:wrap}.cop-voice-recovery:not(:empty){margin-top:10px}.cop-voice-recovery:has(button:not([hidden])){padding-top:3px}
@media(max-width:700px){.cop-voice{padding:14px}.cop-voice-call{align-items:flex-start;flex-direction:column;gap:12px}.cop-voice-actions{width:100%}.cop-voice-actions button{flex:1}.cop-voice-extension{display:none}.cop-voice-audio label{width:100%;margin-top:4px}.cop-voice-audio input{flex:1}.cop-voice-heading h3{font-size:12px}}
/* 1.4.137: ligação manual do operador */
.cop-manual{margin-top:14px;padding-top:14px;border-top:1px solid #eee5f5}.cop-manual[hidden]{display:none!important}.cop-manual-form{display:grid;gap:10px}.cop-manual-form label{display:grid;gap:6px;color:#89649e;font-size:11px;font-weight:600}.cop-manual-form input{border:1px solid #dfd1ec;border-radius:8px;padding:10px 12px;font:13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#5d3f73;background:#fff}.cop-manual-list{list-style:none;margin:0;padding:0;display:grid;gap:6px;max-height:220px;overflow:auto}.cop-manual-list:empty{display:none}.cop-manual-list button{width:100%;display:flex;justify-content:space-between;gap:10px;text-align:left;border:1px solid #eadff3;background:#fff;border-radius:8px;padding:9px 12px;cursor:pointer;color:#6d4b85;font:12px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.cop-manual-list button:hover,.cop-manual-list button:focus-visible{border-color:#bf9edc;background:#faf6fe}.cop-manual-list small{color:#9c82ad}.cop-manual-empty{color:#9c82ad;font-size:11px;padding:6px 2px}.cop-manual-hint{margin:0;font-size:11px;line-height:1.6;color:#8c709e}.cop-manual-actions{display:flex;gap:8px;flex-wrap:wrap}
/* 1.4.138: discador preview no painel do operador. */
.cop-dialer{margin-top:14px;padding-top:14px;border-top:1px solid #eee5f5}.cop-dialer[hidden]{display:none!important}.cop-dialer-card{display:grid;gap:8px}.cop-dialer-card>strong{font-size:15px;color:#4d2f66}.cop-dialer-card>small{color:#8c709e;font-size:12px}.cop-dialer-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.1px;color:#8a5cf6;text-transform:uppercase}.cop-dialer-list{list-style:none;margin:0;padding:0;display:grid;gap:4px;font-size:12px;color:#6d4b85}.cop-dialer-list small{color:#9c82ad;margin-left:4px}.cop-dialer-vars{margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:6px;background:#faf6fe;border:1px solid #eadff3;border-radius:8px;padding:8px 10px}.cop-dialer-vars div{min-width:0}.cop-dialer-vars dt{font-size:10px;color:#9c82ad;text-transform:uppercase;letter-spacing:.4px}.cop-dialer-vars dd{margin:0;font-size:12px;color:#5d3f73;overflow-wrap:anywhere}.cop-dialer-skip{display:grid;gap:8px}.cop-dialer-skip label{display:grid;gap:6px;color:#89649e;font-size:11px;font-weight:600}.cop-dialer-skip input{border:1px solid #dfd1ec;border-radius:8px;padding:10px 12px;font:13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#5d3f73;background:#fff}
/* 1.4.149: preview discado pelo PBX: situação da ligação e resultado (3 s antes do próximo contato). */
.cop-dialer-outcome{margin:0;font-size:14px;font-weight:700;color:#6d4b85}.cop-dialer-result{border-left:3px solid #c9b3dd;padding-left:10px}.cop-dialer-result.voicemail,.cop-dialer-result.no_answer,.cop-dialer-result.busy{border-left-color:#e0a63c}.cop-dialer-result.voicemail .cop-dialer-outcome,.cop-dialer-result.no_answer .cop-dialer-outcome,.cop-dialer-result.busy .cop-dialer-outcome{color:#9a6512}.cop-dialer-result.failed,.cop-dialer-result.invalid{border-left-color:#d4574e}.cop-dialer-result.failed .cop-dialer-outcome,.cop-dialer-result.invalid .cop-dialer-outcome{color:#b13d35}
/* 1.4.161: webphone na ligação de saída e do discador: visor (situação, tempo e teclas digitadas) e teclado. */
.cop-phone{margin-top:14px;display:grid;gap:10px;max-width:320px}.cop-phone[hidden]{display:none!important}
.cop-phone-screen{display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:center;background:#f4edfa;border:1px solid #e4d5f0;border-radius:10px;padding:10px 12px}
.cop-phone-screen span{font-size:11px;font-weight:600;color:#75528d}.cop-phone-screen time{font-variant-numeric:tabular-nums;font-weight:700;font-size:13px;color:#6d4b85}
.cop-phone-screen output{grid-column:1/-1;min-height:20px;font:600 16px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;color:#4f3366;overflow-wrap:anywhere}
.cop-phone-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.cop-phone-keypad button{display:grid;place-items:center;gap:1px;min-height:46px;border:1px solid #dfd1ec;border-radius:10px;background:#fff;color:#6d4b85;cursor:pointer;font-family:inherit}
.cop-phone-keypad button b{font-size:17px;font-weight:600;line-height:1}.cop-phone-keypad button small{font-size:8.5px;letter-spacing:.08em;color:#a088b3;min-height:10px}
.cop-phone-keypad button:hover{background:#f7f1fc}.cop-phone-keypad button:active{background:#ece0f6}
.cop-phone-keypad button:focus-visible{outline:3px solid #bf9edc;outline-offset:2px}
.cop-manual-keypad{max-width:280px}.cop-manual-keypad .cop-key-back{grid-column:3}
@media(max-width:700px){.cop-phone,.cop-manual-keypad{max-width:none}}
/* 1.4.161: retornos agendados no topo do painel do operador. */
.cop-schedule{border-left:3px solid #8b62ad;padding-left:10px}.cop-schedule+.cop-schedule{margin-top:12px}
.cop-schedule-note{margin:0;font-size:11.5px;line-height:1.5;color:#6d4b85;background:#f7f1fc;border-radius:8px;padding:6px 9px}
.cop-schedule-next{margin-top:12px;font-size:11px;color:#8c709e}.cop-schedule-next b{display:block;font-weight:600;color:#75528d;margin-bottom:4px}
.cop-schedule-next ul{margin:0;padding:0;list-style:none;display:grid;gap:3px}.cop-schedule-next li span{font-variant-numeric:tabular-nums;font-weight:600;color:#6d4b85}
