/* INVIS 10.1.0 · Call Center Pro */
[data-callcenter-view] .nvis-ccpro-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:0 0 18px}
[data-callcenter-view] .nvis-ccpro-next{display:inline-flex;align-items:center;gap:9px;background:#087fb8;color:#fff;border:0;border-radius:13px;padding:13px 18px;font-weight:800;box-shadow:0 8px 22px rgba(8,127,184,.18)}
[data-callcenter-view] .nvis-ccpro-next:before{content:'☎';font-size:19px}
[data-callcenter-view] .nvis-callcenter-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
[data-callcenter-view] .nvis-ccpro-kpi-accent{border-left:4px solid #087fb8}
[data-callcenter-view] .nvis-ccpro-phone{width:44px;height:44px;border-radius:50%;border:0;background:#087fb8;color:#fff;display:inline-grid;place-items:center;font-size:20px;cursor:pointer;box-shadow:0 7px 16px rgba(8,127,184,.2)}
[data-callcenter-view] .nvis-ccpro-phone:hover{transform:translateY(-1px)}
[data-callcenter-view] .nvis-ccpro-phone[disabled]{opacity:.5;cursor:not-allowed}
[data-callcenter-view] .nvis-ccpro-priority{display:inline-flex!important;width:auto!important;padding:3px 8px;border-radius:999px;font-size:10px!important;font-weight:800;margin-top:6px;background:#edf6fa;color:#527087}
[data-callcenter-view] .nvis-ccpro-priority[data-priority="Alta"], [data-callcenter-view] .nvis-ccpro-priority[data-priority="Urgente"]{background:#fff0ec;color:#b44832}
[data-callcenter-view] .nvis-ccpro-call-banner{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;background:#eef8fc;border:1px solid #d1eaf5;border-radius:16px;padding:14px 16px;margin:14px 0 18px}
[data-callcenter-view] .nvis-ccpro-call-icon{width:48px;height:48px;border-radius:50%;background:#087fb8;color:#fff;display:grid;place-items:center;font-size:22px}
[data-callcenter-view] .nvis-ccpro-call-banner small,[data-callcenter-view] .nvis-ccpro-call-banner strong{display:block}.nvis-ccpro-call-banner small{color:#708499}.nvis-ccpro-call-banner strong{color:#173b61;font-size:18px}
[data-callcenter-view] .nvis-ccpro-history{margin-top:18px;border-top:1px solid #e0ebf1;padding-top:15px}
[data-callcenter-view] .nvis-ccpro-history h4{margin:0 0 10px;color:#173b61}.nvis-ccpro-history-item{display:grid;grid-template-columns:110px 1fr auto;gap:10px;border-bottom:1px solid #edf2f5;padding:9px 0;font-size:12px}.nvis-ccpro-history-item:last-child{border-bottom:0}
[data-callcenter-view] .nvis-ccpro-appointment{background:#f7fbfd;border:1px solid #dce9f0;border-radius:15px;padding:16px;margin-top:16px}.nvis-ccpro-appointment h4{margin:0 0 12px}.nvis-ccpro-appointment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
[data-callcenter-view] .nvis-ccpro-supervisor{background:#fff;border:1px solid #dce8ef;border-radius:16px;padding:18px;margin-bottom:18px}.nvis-ccpro-agent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.nvis-ccpro-agent-card{background:#f4f9fc;border-radius:12px;padding:12px}.nvis-ccpro-agent-card strong,.nvis-ccpro-agent-card span{display:block}.nvis-ccpro-agent-card span{color:#708397;font-size:12px;margin-top:4px}
@media(max-width:1350px){[data-callcenter-view] .nvis-callcenter-kpis{grid-template-columns:repeat(3,1fr)}.nvis-ccpro-agent-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){[data-callcenter-view] .nvis-callcenter-kpis,.nvis-ccpro-agent-grid{grid-template-columns:1fr 1fr}[data-callcenter-view] .nvis-ccpro-call-banner{grid-template-columns:auto 1fr}.nvis-ccpro-call-banner .nvis-ccpro-call-actions{grid-column:1/-1}.nvis-ccpro-appointment-grid{grid-template-columns:1fr}}
@media(max-width:480px){[data-callcenter-view] .nvis-callcenter-kpis,.nvis-ccpro-agent-grid{grid-template-columns:1fr}}


/* INVIS 10.1.1 · Productividad de agentes */
.nvis-ccprod-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:14px;align-items:end}.nvis-ccprod-filters label span{display:block;font-weight:800;color:#31475e;margin:0 0 7px}.nvis-ccprod-filters input,.nvis-ccprod-filters select,.nvis-ccprod-filters button{width:100%;min-height:48px}.nvis-ccprod-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);gap:18px}.nvis-ccprod-ranking{display:grid;gap:10px}.nvis-ccprod-rank-row{display:grid;grid-template-columns:42px minmax(0,1fr) 52px;gap:12px;align-items:center;border:1px solid #e0ebf1;border-radius:14px;padding:12px 14px;background:#fbfdfe}.nvis-ccprod-position{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e8f6fb;color:#087fb8;font-weight:900}.nvis-ccprod-rank-row strong,.nvis-ccprod-rank-row small{display:block}.nvis-ccprod-rank-row small{color:#74869a;margin-top:3px}.nvis-ccprod-rank-row>b{font-size:20px;color:#173b61;text-align:right}.nvis-ccprod-bar{height:9px;background:#e7f0f5;border-radius:999px;overflow:hidden;margin-top:8px}.nvis-ccprod-bar i{display:block;height:100%;background:linear-gradient(90deg,#087fb8,#18a4d5);border-radius:999px}.nvis-ccprod-outcome-list{display:grid;gap:15px}.nvis-ccprod-outcome-list>div{display:grid;grid-template-columns:150px minmax(0,1fr) 95px;gap:10px;align-items:center}.nvis-ccprod-outcome-list strong{text-align:right;color:#173b61}.nvis-ccprod-outcome-list strong small{color:#74869a;font-weight:600}.nvis-ccprod-trend{overflow-x:auto}.nvis-ccprod-trend-bars{display:flex;gap:14px;align-items:end;min-height:260px;min-width:680px;padding:18px 6px 4px}.nvis-ccprod-day{width:54px;text-align:center;display:grid;gap:4px}.nvis-ccprod-vbar{height:170px;position:relative;display:flex;align-items:end;justify-content:center;gap:5px}.nvis-ccprod-vbar i,.nvis-ccprod-vbar em{display:block;width:17px;border-radius:7px 7px 2px 2px;background:#087fb8}.nvis-ccprod-vbar em{background:#8dc458}.nvis-ccprod-day strong{font-size:16px}.nvis-ccprod-day span,.nvis-ccprod-day small{font-size:11px;color:#718398}.nvis-ccprod-table{min-width:1150px}.nvis-ccprod-table td:nth-child(n+3){text-align:center}.nvis-ccprod-kpis{margin-bottom:18px}@media(max-width:1250px){.nvis-ccprod-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.nvis-ccprod-filters button{grid-column:1/-1}.nvis-ccprod-grid{grid-template-columns:1fr}}@media(max-width:650px){.nvis-ccprod-filters{grid-template-columns:1fr}.nvis-ccprod-filters button{grid-column:auto}.nvis-ccprod-outcome-list>div{grid-template-columns:1fr 70px}.nvis-ccprod-outcome-list>div>span{grid-column:1/-1}}

/* INVIS 14.5.12.69 · Call Center CRM dinámico · Propuesta 2 */
[data-callcenter-view]:not([data-report-mode="1"]) .nvis-ccpro-toolbar{margin:0 0 14px}
[data-callcenter-view]:not([data-report-mode="1"]) .nvis-callcenter-kpis{margin:0 0 14px;gap:10px}
[data-callcenter-view]:not([data-report-mode="1"]) .nvis-callcenter-filters{display:grid;grid-template-columns:minmax(240px,1.4fr) repeat(4,minmax(145px,.7fr));gap:9px;align-items:center}
[data-callcenter-view]:not([data-report-mode="1"]) .nvis-callcenter-filters [data-cc-registered-by],
[data-callcenter-view]:not([data-report-mode="1"]) .nvis-callcenter-filters [data-cc-from],
[data-callcenter-view]:not([data-report-mode="1"]) .nvis-callcenter-filters [data-cc-to]{display:none}
[data-callcenter-view]:not([data-report-mode="1"]) .nvis-callcenter-filters [data-callcenter-apply]{min-height:44px}
.nvis-cccrm-shell{display:grid;grid-template-columns:minmax(360px,.92fr) minmax(470px,1.08fr);gap:14px;align-items:start;margin-top:14px}
.nvis-cccrm-list-panel{padding:0!important;overflow:hidden}
.nvis-cccrm-list-head{padding:15px 16px;border-bottom:1px solid #e5edf4;background:#fbfdff}.nvis-cccrm-list-head strong,.nvis-cccrm-list-head span{display:block}.nvis-cccrm-list-head strong{color:#12395d;font-size:14px}.nvis-cccrm-list-head span{color:#7b8ea1;font-size:11px;margin-top:3px}
.nvis-cccrm-list{display:grid;max-height:650px;overflow:auto;scrollbar-width:thin}
.nvis-cccrm-person{appearance:none;width:100%;border:0;border-bottom:1px solid #edf2f6;background:#fff;padding:13px 14px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;text-align:left;cursor:pointer;transition:.15s ease;color:#163b5d}
.nvis-cccrm-person:hover,.nvis-cccrm-person.is-selected{background:#f2f9fd}.nvis-cccrm-person.is-selected{box-shadow:inset 3px 0 #087fb8}
.nvis-cccrm-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e3f2fb;color:#0877b5;font-size:12px;font-weight:900;letter-spacing:.3px}.nvis-cccrm-avatar.is-large{width:48px;height:48px;font-size:14px}
.nvis-cccrm-person-main{min-width:0}.nvis-cccrm-person-main strong,.nvis-cccrm-person-main small,.nvis-cccrm-person-main em{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nvis-cccrm-person-main strong{font-size:13px}.nvis-cccrm-person-main small{font-size:11px;color:#58748e;margin-top:3px}.nvis-cccrm-person-main em{font-style:normal;font-size:10px;color:#9aa9b7;margin-top:2px}
.nvis-cccrm-person-meta{text-align:right;display:grid;justify-items:end;gap:4px}.nvis-cccrm-person-meta i,.nvis-cccrm-status{font-style:normal;font-size:9px;font-weight:900;text-transform:uppercase;padding:4px 7px;border-radius:999px;background:#fff3d7;color:#9a6b00;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nvis-cccrm-person-meta small{font-size:9px;color:#7c8d9c}
.nvis-cccrm-drawer{position:sticky;top:12px;background:#fff;border:1px solid #dfe9f1;border-radius:16px;overflow:hidden;min-height:520px;box-shadow:0 10px 30px rgba(20,61,94,.06)}.nvis-cccrm-drawer[hidden]{display:block!important;visibility:hidden;opacity:.55}.nvis-cccrm-open .nvis-cccrm-drawer{visibility:visible;opacity:1}
.nvis-cccrm-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;padding:17px 18px;border-bottom:1px solid #edf2f6}.nvis-cccrm-profile{display:flex;gap:11px;align-items:center}.nvis-cccrm-profile h3{margin:2px 0 5px;font-size:18px;color:#12395d}.nvis-cccrm-drawer .nvis-modal-close{position:static;width:34px;height:34px;border-radius:9px}
.nvis-cccrm-contact-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#e9f0f5;border-bottom:1px solid #e5edf4}.nvis-cccrm-contact-card>div{background:#fbfdff;padding:11px 13px;min-width:0}.nvis-cccrm-contact-card small,.nvis-cccrm-contact-card strong{display:block}.nvis-cccrm-contact-card small{font-size:9px;color:#8495a5;text-transform:uppercase;font-weight:800}.nvis-cccrm-contact-card strong{font-size:11px;color:#173c5d;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nvis-cccrm-quick-actions{display:flex;gap:8px;padding:13px 16px;border-bottom:1px solid #edf2f6}.nvis-cccrm-quick-actions>*{flex:1;min-height:39px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.nvis-cccrm-quick-actions .is-disabled{opacity:.45;pointer-events:none}
.nvis-cccrm-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #e5edf4}.nvis-cccrm-tabs button{border:0;background:#fff;padding:12px 8px;font-size:11px;font-weight:800;color:#6c8094;cursor:pointer;border-bottom:2px solid transparent}.nvis-cccrm-tabs button.is-active{color:#087fb8;border-bottom-color:#087fb8;background:#f8fcfe}
.nvis-cccrm-drawer [data-cc-tab-panel]{padding:16px}.nvis-cccrm-drawer form{display:grid;gap:12px}.nvis-cccrm-drawer label>span{display:block;font-size:10px;font-weight:800;color:#294b68;margin-bottom:6px}.nvis-cccrm-drawer input,.nvis-cccrm-drawer select,.nvis-cccrm-drawer textarea{width:100%;min-height:42px;border:1px solid #dbe6ee;border-radius:10px;padding:9px 10px;background:#fff;color:#173b5d}.nvis-cccrm-drawer textarea{resize:vertical}
.nvis-cccrm-result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.nvis-cccrm-result-grid button{border:1px solid #dce7ee;background:#fff;border-radius:11px;padding:9px 5px;min-height:58px;color:#46627b;font-weight:900;cursor:pointer}.nvis-cccrm-result-grid button span{display:block;font-size:9px;font-weight:700;margin-top:4px}.nvis-cccrm-result-grid button.is-active{border-color:#087fb8;background:#eef8fd;color:#087fb8}
.nvis-cccrm-info{display:grid;grid-template-columns:1fr 1fr;gap:10px}.nvis-cccrm-info>div{border:1px solid #e5edf3;border-radius:10px;padding:11px}.nvis-cccrm-info small,.nvis-cccrm-info strong{display:block}.nvis-cccrm-info small{color:#8495a5;font-size:9px;text-transform:uppercase}.nvis-cccrm-info strong{color:#173b5d;font-size:11px;margin-top:4px}
@media(max-width:1180px){.nvis-cccrm-shell{grid-template-columns:1fr}.nvis-cccrm-drawer{position:static}.nvis-cccrm-list{max-height:440px}[data-callcenter-view]:not([data-report-mode="1"]) .nvis-callcenter-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.nvis-cccrm-shell{display:block}.nvis-cccrm-drawer{margin-top:12px}.nvis-cccrm-contact-card{grid-template-columns:1fr 1fr}.nvis-cccrm-result-grid{grid-template-columns:1fr 1fr}.nvis-cccrm-info{grid-template-columns:1fr}.nvis-cccrm-quick-actions{flex-wrap:wrap}.nvis-cccrm-quick-actions>*{flex:1 1 45%}[data-callcenter-view]:not([data-report-mode="1"]) .nvis-callcenter-filters{grid-template-columns:1fr}}

/* INVIS 14.5.12.72 · Call Center Propuesta 1 */
[data-callcenter-view]:not([data-report-mode="1"]){--cc-blue:#087fc3;--cc-navy:#10395c;--cc-line:#dfe9f2;--cc-soft:#f6faff}
[data-callcenter-view]:not([data-report-mode="1"]) .nvis-ccpro-toolbar{display:none}
[data-callcenter-view]:not([data-report-mode="1"]) .nvis-callcenter-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0}
[data-callcenter-view]:not([data-report-mode="1"]) .nvis-ccpro-kpi-accent{min-height:76px;border:1px solid #dbe8f2;border-radius:12px;background:#f5faff;padding:13px 16px;box-shadow:none;display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-content:center}
[data-callcenter-view]:not([data-report-mode="1"]) .nvis-ccpro-kpi-accent small{grid-column:2;color:#45647f;font-size:11px}.nvis-ccpro-kpi-accent strong{grid-column:2;color:#12395d;font-size:23px;line-height:1}.nvis-ccpro-kpi-accent span{grid-column:2;font-size:10px;color:#7890a4}
[data-callcenter-view]:not([data-report-mode="1"]) .nvis-panel:has(.nvis-callcenter-filters){padding:12px!important;border-radius:12px}
[data-callcenter-view]:not([data-report-mode="1"]) .nvis-callcenter-filters{display:grid!important;grid-template-columns:minmax(260px,1.8fr) repeat(5,minmax(110px,.72fr)) minmax(135px,.8fr) minmax(135px,.8fr) 125px 85px!important;gap:8px!important;align-items:end}
.nvis-cc-filter-date{display:grid;gap:4px}.nvis-cc-filter-date>span{font-size:9px;font-weight:800;color:#617c94}.nvis-cc-filter-date input{width:100%}
.nvis-cccrm-shell{grid-template-columns:minmax(600px,1.08fr) minmax(520px,.92fr);gap:12px;margin-top:12px}
.nvis-cccrm-list-panel{border-radius:12px!important}.nvis-cccrm-list-head{padding:14px 16px}.nvis-cccrm-list-head span{display:none}
.nvis-cccrm-list{display:block;max-height:none;overflow:visible}.nvis-cctable-wrap{overflow:auto}.nvis-cctable{width:100%;border-collapse:collapse;min-width:720px}.nvis-cctable th{padding:10px 9px;background:#f8fbfe;color:#527089;font-size:9px;text-transform:uppercase;text-align:left;border-bottom:1px solid #dfe9f2}.nvis-cctable td{padding:9px;border-bottom:1px solid #edf2f6;color:#35536d;font-size:10px;vertical-align:middle}.nvis-cctable tr{cursor:pointer;transition:.15s}.nvis-cctable tbody tr:hover,.nvis-cctable tbody tr.is-selected{background:#f0f8fe}.nvis-cctable tbody tr.is-selected{box-shadow:inset 3px 0 #168bd0}.nvis-cctable-patient{display:flex;align-items:center;gap:9px}.nvis-cctable-patient strong,.nvis-cctable-patient small{display:block}.nvis-cctable-patient strong{color:#153c5e;font-size:11px}.nvis-cctable-patient small{color:#8a9baa;font-size:9px;margin-top:2px}.nvis-cctable .nvis-cccrm-avatar{width:31px;height:31px;font-size:10px;flex:0 0 auto}
.nvis-cc-state{display:inline-block;border-radius:999px;padding:5px 8px;background:#fff0c9;color:#916600;font-size:8px;font-weight:900;text-transform:uppercase;white-space:nowrap}.nvis-cc-state.is-contactado,.nvis-cc-state.is-cita-coordinada{background:#dff6e9;color:#087847}.nvis-cc-state.is-no-contesto,.nvis-cc-state.is-no-interesado,.nvis-cc-state.is-numero-incorrecto{background:#ffe2e2;color:#c43131}.nvis-cctable-actions{display:flex;gap:5px}.nvis-cctable-actions button{width:29px;height:29px;border:1px solid #dbe7ef;border-radius:7px;background:#fff;color:#0b789f;cursor:pointer;font-weight:900}.nvis-cctable-actions button:first-child,.nvis-cctable-actions button:nth-child(2){background:#079b70;color:#fff;border-color:#079b70}.nvis-cctable-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;color:#617b91;font-size:9px}.nvis-cctable-footer div{display:flex;gap:4px}.nvis-cctable-footer button{width:27px;height:27px;border:1px solid #dce7ef;border-radius:6px;background:#fff;color:#31536d}.nvis-cctable-footer button.is-active{background:#087fc3;color:#fff;border-color:#087fc3}
.nvis-cccrm-drawer{top:10px;border-radius:12px;min-height:560px}.nvis-cccrm-drawer[hidden]{display:block!important;visibility:visible;opacity:1}.nvis-cccrm-drawer-head{padding:14px 16px}.nvis-cccrm-profile h3{font-size:16px}.nvis-cccrm-contact-card{grid-template-columns:repeat(3,minmax(0,1fr))}.nvis-cccrm-quick-actions{position:absolute;right:48px;top:13px;padding:0;border:0}.nvis-cccrm-quick-actions>*{min-height:32px!important;padding:0 10px!important;font-size:9px!important;flex:none!important}.nvis-cccrm-tabs button{padding:10px 8px}.nvis-cccrm-drawer [data-cc-tab-panel]{padding:13px 15px}.nvis-cccrm-result-grid{grid-template-columns:repeat(5,1fr)}.nvis-cccrm-result-grid button{min-height:62px}.nvis-cccrm-result-grid button:last-child{display:none}.nvis-cccrm-drawer form{grid-template-columns:1fr 1fr;gap:10px}.nvis-cccrm-drawer form>.nvis-cccrm-result-grid,.nvis-cccrm-drawer form>.nvis-form-grid,.nvis-cccrm-drawer form>.nvis-form-actions,.nvis-cccrm-drawer form>.nvis-form-message{grid-column:1/-1}.nvis-cccrm-drawer form>label:nth-of-type(1){display:none}.nvis-cccrm-drawer form>label:nth-of-type(4){grid-column:1/-1}.nvis-cccrm-drawer textarea{min-height:78px}.nvis-cccrm-drawer .nvis-form-actions{justify-content:flex-end}
@media(max-width:1450px){[data-callcenter-view]:not([data-report-mode="1"]) .nvis-callcenter-filters{grid-template-columns:repeat(5,minmax(0,1fr))}.nvis-cccrm-shell{grid-template-columns:1fr}.nvis-cccrm-drawer{position:static}.nvis-cccrm-quick-actions{position:static;padding:10px 15px;border-bottom:1px solid #edf2f6}}
