/* Er Call Center native agent cockpit */
.ecc-agent{color:#eaf2fc;font:inherit;min-width:0}
.ecc-agent button,.ecc-agent a,.ecc-agent input,.ecc-agent select,.ecc-agent textarea{font:inherit}
.ecc-agent-toolbar,.ecc-agent-summary,.ecc-agent-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ecc-agent-toolbar{flex-wrap:wrap;padding:15px 16px;border:1px solid #293c54;border-radius:16px;background:#111e2f}
.ecc-agent-eyebrow{display:block;color:#f6c46e;font-weight:900;font-size:10px;letter-spacing:.12em}
.ecc-agent-toolbar h3{font-size:20px;line-height:1.25;margin:3px 0 0}
.ecc-agent-refresh,.ecc-agent-phone-open{min-height:42px;border:1px solid #3a4c63;background:#1a2a3d;
  color:#e6f0fa;border-radius:10px;padding:8px 13px;cursor:pointer;font-weight:750;font-size:13px}
.ecc-agent-refresh:hover,.ecc-agent-phone-open:hover{border-color:#f6b73c}
.ecc-agent-summary{flex-wrap:wrap;padding:13px 2px;color:#96acc5;font-size:13px}
.ecc-agent-campaign{font-weight:750;color:#e7c486}
.ecc-agent-notice:not([hidden]){margin:12px 0;padding:12px 14px;background:#372d1e;border:1px solid #6d4e25;
  border-radius:11px;color:#ffd99e;font-size:13px;line-height:1.5}
.ecc-agent-notice[data-kind=success]{border-color:#1f7862;background:#10352f;color:#9eeccb}
.ecc-agent-notice[data-kind=info]{border-color:#344d65;background:#152338;color:#b7cce2}
.ecc-agent-layout{display:grid;grid-template-columns:minmax(235px,.75fr) minmax(0,1.75fr);
  align-items:start;gap:14px;min-width:0}
.ecc-agent-list,.ecc-agent-detail{background:#101c2c;border:1px solid #2b3b50;
  border-radius:15px;min-width:0;overflow:hidden}
.ecc-agent-section-head{padding:15px 16px;border-bottom:1px solid #26394f;flex-wrap:wrap}
.ecc-agent-section-head h4{margin:0;color:#fff;font-size:15px}
.ecc-agent-section-head span{font-size:11px;color:#8096ae}
.ecc-agent-rows{max-height:675px;overflow-y:auto;padding:7px}
.ecc-agent-row{display:block;text-align:left;width:100%;padding:12px;border:1px solid transparent;
  border-radius:10px;margin-bottom:4px;background:transparent;color:#e8f1f9;
  min-height:70px;cursor:pointer}
.ecc-agent-row strong{font-size:13px;display:block}
.ecc-agent-row span{display:block;margin-top:5px;color:#99abc1;line-height:1.45;font-size:11px;overflow-wrap:anywhere}
.ecc-agent-row:hover,.ecc-agent-row.is-active{background:#1c2c41;border-color:#a47a3d}
.ecc-agent-row:disabled{opacity:.6;cursor:wait}
.ecc-agent-detail-body{padding:17px}
.ecc-agent-lead-name{font-size:clamp(17px,2vw,23px);margin:0 0 9px}
.ecc-agent-meta{display:flex;gap:7px;flex-wrap:wrap}
.ecc-agent-meta span{background:#1b2b40;color:#a8bfda;padding:6px 9px;border-radius:7px;font-size:11px}
.ecc-agent-contact-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:17px 0;
  padding:13px;border-radius:11px;background:#0b1826;border:1px solid #283a50}
.ecc-agent-call{background:linear-gradient(135deg,#f6b73c,#ffdf89);color:#17202a!important;text-decoration:none!important;
  display:inline-flex;align-items:center;justify-content:center;min-height:45px;
  padding:9px 14px;border-radius:10px;font-size:13px;font-weight:900}
.ecc-agent-phone{font-size:13px;color:#d5e1ee;overflow-wrap:anywhere}
.ecc-agent-form{display:grid;gap:13px}
.ecc-agent-field{display:grid;gap:7px;color:#c5d5e7;font-size:12px;font-weight:750}
.ecc-agent-field select,.ecc-agent-field input,.ecc-agent-field textarea{
  width:100%;min-width:0;min-height:46px;border-radius:10px;padding:10px;
  background:#0a1421;color:#f1f6fb;border:1px solid #375069;font-size:16px;box-sizing:border-box}
.ecc-agent-field textarea{min-height:105px;resize:vertical;line-height:1.5}
.ecc-agent-field select:focus-visible,.ecc-agent-field textarea:focus-visible,
.ecc-agent-field input:focus-visible{outline:2px solid #ffcc75;outline-offset:2px}
.ecc-agent-hint{margin:0;color:#93aac1;font-size:12px;line-height:1.55}
.ecc-agent-submit{background:linear-gradient(135deg,#f6b73c,#ffda8d);color:#101c2b;
  border:0;border-radius:11px;min-height:49px;padding:11px 17px;font-weight:900;cursor:pointer}
.ecc-agent-submit:disabled{opacity:.55;cursor:not-allowed}
.ecc-agent-script{margin-top:19px;border:1px solid #31445d;border-radius:12px;background:#0b1724}
.ecc-agent-script summary{padding:14px;cursor:pointer;font-size:13px;font-weight:800;color:#f0cc83;min-height:42px}
.ecc-agent-script-content{white-space:pre-wrap;overflow-wrap:anywhere;padding:0 16px 16px;
  font-size:13px;line-height:1.7;color:#cedbe9}
.ecc-agent-empty{padding:20px;color:#9cb0c6;font-size:13px;line-height:1.6}
@media(max-width:850px){
 .ecc-agent-layout{grid-template-columns:minmax(0,1fr)}
 .ecc-agent-rows{display:flex;overflow-x:auto;overflow-y:hidden;max-height:none;gap:8px;padding:10px;
   scroll-snap-type:x proximity}
 .ecc-agent-row{flex:0 0 min(235px,80vw);min-height:78px;scroll-snap-align:start}
 .ecc-agent-detail-body{padding:13px}
 .ecc-agent-toolbar{padding:13px}
}
@media(max-width:390px){.ecc-agent-contact-actions{padding:10px}.ecc-agent-call,.ecc-agent-phone-open{width:100%}}
@media(prefers-reduced-motion:reduce){.ecc-agent *{scroll-behavior:auto!important}}
