/* CCDocs agent-screen skin for VICIdial 2.14 (vicidial.php) -- kf08, 2026-10-05.
   Served only on https://vici.ccdocs.com:8443/ccd/ (Apache file on vici, kf60). /agc/ is untouched.
   Look-only: never hides or disables a working control. VICIdial sets inline positions and bgcolor
   attributes, so colors/fonts need !important; layout positions are left alone.
   Brand (ccdocs.com): navy #0d1427, navy-2 #162040, blue #0aa4db, blue-dk #0883af, gold #ffcf00,
   bg #f3f5f9, ink #141b2d, green #16a34a, red #dc2626. Fonts: Inter (body), Montserrat (headings). */
/* v7.6.53: the Google Fonts @import moved to skin.js (added after the page loads) -- an @import here blocks every page
   script until fonts.googleapis.com answers, so a slow/blocked font server froze VICIdial itself (blank page, no polls). */
@import url("skin-dispo.css?v=7659"); /* outcome buttons: kf08 (was kf04) */
@import url("skin-login.css?v=7659"); /* login page: kf04 */

:root{
  --ccd-navy:#0d1427; --ccd-navy-2:#162040; --ccd-blue:#0aa4db; --ccd-blue-dk:#0883af;
  --ccd-gold:#ffcf00; --ccd-bg:#f3f5f9; --ccd-card:#fff; --ccd-line:#e3e8f0; --ccd-ink:#141b2d;
  --ccd-ink-2:#4a4c54; --ccd-green:#16a34a; --ccd-red:#dc2626; --ccd-gray:#eef1f5;
}

/* ---------- everywhere ---------- */
html,body{background:var(--ccd-bg) !important;color:var(--ccd-ink) !important;
  font-family:Inter,"Segoe UI",Arial,sans-serif !important;-webkit-font-smoothing:antialiased}
body,td,th,font,span,div,input,select,textarea,button{font-family:Inter,"Segoe UI",Arial,sans-serif !important}
a{color:var(--ccd-blue-dk)}
input[type=text],input[type=password],select,textarea{border:1.5px solid var(--ccd-line) !important;
  border-radius:10px !important;padding:8px 10px !important;background:#fff !important;color:var(--ccd-ink) !important;
  outline:none}
input[type=text]:focus,input[type=password]:focus,select:focus,textarea:focus{border-color:var(--ccd-blue) !important;
  box-shadow:0 0 0 3px rgba(10,164,219,.18)}
input[type=button],input[type=submit]{background:var(--ccd-navy) !important;color:#fff !important;border:0 !important;
  border-radius:10px !important;padding:9px 16px !important;font-weight:600 !important;cursor:pointer}

/* ---------- agent screen: top bar (Header + Tabs) ---------- */
#Header > table,#Header table[bgcolor]{background:var(--ccd-navy) !important;height:46px}
#Header,#Header font,#Header td{color:#b9c2d8 !important}
#Header a,#Header a font{color:#fff !important;font-weight:600 !important}
#Tabs > table{background:transparent !important}
#Tabs td{background:transparent !important;vertical-align:middle !important}
#Tabs font,#Tabs .queue_text,#Tabs .body_tiny{color:#b9c2d8 !important}
#Tabs img[src*="vicidial_admin_web_logo"]{opacity:0 !important}
#Tabs td:has(> a > img[src*="vicidial_admin_web_logo"]){background:transparent url("/ccdskin/ccdocs-logo.png") left center/auto 40px no-repeat !important}
/* tabs: invisible original image keeps the click; the pill is painted on the cell */
#Tabs td:has(> a > img[src*="vdc_tab_"]){position:relative}
#Tabs td > a > img[src*="vdc_tab_"]{opacity:0 !important;position:relative;z-index:2}
#Tabs td:has(> a > img[src*="vdc_tab_"])::after{position:absolute;left:3px;right:3px;top:3px;height:26px;display:flex;align-items:center;justify-content:center;
  border-radius:999px;background:var(--ccd-navy-2);color:#fff;font:600 13px Inter,sans-serif;pointer-events:none;z-index:1}
#Tabs td:has(> a > img[src*="vdc_tab_script.gif"])::after{content:"Script"}
#Tabs td:has(> a > img[src*="vdc_tab_script2"])::after{content:"Script 2"}
#Tabs td:has(> a > img[src*="vdc_tab_form"])::after{content:"Form"}
#Tabs td:has(> a > img[src*="vdc_tab_email"])::after{content:"Email"}
#Tabs td:has(> a > img[src*="vdc_tab_chat_internal"])::after{content:"Chat"}
#Tabs td:has(> a > img[src*="vdc_tab_chat_customer"])::after{content:"Customer chat"}
#Tabs td:has(> a > img[src*="_red"])::after,#Tabs td:has(> a > img[src*="_blink"])::after{background:var(--ccd-gold);color:var(--ccd-navy)}

/* the ONE status pill, painted on the Live Call light cell (img name=livecall stays, invisible).
   Default = PAUSED (manual campaigns sit paused with "Dial next"); READY only when VICIdial shows the active image;
   IN CALL / CALL ENDED come last so they win. */
#Tabs td:has(> img[name=livecall]){position:relative}
img[name=livecall]{opacity:0 !important}
#Tabs td:has(> img[name=livecall])::after{position:absolute;left:0;right:0;top:2px;height:28px;display:flex;align-items:center;
  justify-content:center;border-radius:999px;font:700 13px Montserrat,Inter,sans-serif;letter-spacing:.05em;pointer-events:none;
  content:"\25CF  PAUSED";background:#3a2f0a;color:var(--ccd-gold)}
body:has(#DiaLControl img[src*="vdc_LB_active"]) #Tabs td:has(> img[name=livecall])::after{content:"\25CF  READY";background:#0d3a22;color:#4ade80}
body:has(#Tabs img[name=livecall][src*="_DEAD"]) #Tabs td:has(> img[name=livecall])::after{content:"\25CF  CALL ENDED";background:#3a1414;color:#fca5a5}
body:has(#Tabs img[name=livecall][src*="live_call_ON"]) #Tabs td:has(> img[name=livecall])::after,
body:has(#Tabs img[name=livecall][src*="live_chat_ON"]) #Tabs td:has(> img[name=livecall])::after,
body:has(#Tabs img[name=livecall][src*="live_email_ON"]) #Tabs td:has(> img[name=livecall])::after{content:"\25CF  IN CALL";background:#06344a;color:#5fd3ff}

/* top line: start after the logo, readable on navy */
#Header td{padding-left:125px !important}
#Header font,#Header .queue_text{font-size:12px !important;color:#c9d1e4 !important}
#Tabs .body_tiny,#Tabs .body_tiny span,#Tabs .queue_text,#Tabs .body_text{font-size:12px !important;color:#d6dcec !important}

/* ---------- agent screen: page + panels ---------- */
#MainTable,#MaiNfooter{background:var(--ccd-bg) !important}
#MainPanel table[bgcolor],#MainPanel td[bgcolor],#MainPanel tr[bgcolor]{background-color:transparent !important}
#MainStatuSSpan{background:transparent !important;font-weight:600 !important;color:var(--ccd-ink) !important}
#SecondSspan font{font:700 15px Montserrat,Inter,sans-serif !important;color:var(--ccd-navy) !important}
#ScriptPanel > table,#Script2Panel > table,#FormPanel > table,#EmailPanel > table{background:var(--ccd-bg) !important}
#ScriptContents,#Script2Contents{background:#fff !important;border:1px solid var(--ccd-line) !important;border-radius:14px !important;
  box-shadow:0 1px 2px rgba(13,20,39,.06),0 4px 16px rgba(13,20,39,.06);padding:14px 18px !important;
  font-size:17px !important;line-height:1.55 !important;color:var(--ccd-ink) !important}
#ScriptContents iframe,#Script2Contents iframe{border:0 !important;border-radius:14px}
.body_small,.body_text,.sb_text,.skb_text,.log_title,.cust_form{color:var(--ccd-ink) !important}
#MaiNfooter font{color:var(--ccd-ink-2) !important}

/* ---------- left column buttons ----------
   Each control keeps its original <a onclick><img>. The image is stretched over the new button and made invisible,
   so a click still lands on VICIdial's own link. Labels follow the image VICIdial shows (on/_OFF). */
#DiaLControl,#RecorDControl,#WebFormSpan,#WebFormSpanTwo,#WebFormSpanThree,#ParkControl,#XferControl,#HangupControl{
  display:block !important;position:relative !important;width:140px;height:42px;margin:5px auto !important;
  border-radius:11px;background:var(--ccd-gray) !important;overflow:hidden}
:is(#DiaLControl,#RecorDControl,#WebFormSpan,#WebFormSpanTwo,#WebFormSpanThree,#ParkControl,#XferControl,#HangupControl) img{
  position:absolute !important;inset:0;width:100% !important;height:100% !important;opacity:0 !important;z-index:2}
:is(#DiaLControl,#RecorDControl,#WebFormSpan,#WebFormSpanTwo,#WebFormSpanThree,#ParkControl,#XferControl,#HangupControl)::after{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;
  font:700 14px Montserrat,Inter,sans-serif;color:#3a4256;pointer-events:none;z-index:1}
:is(#DiaLControl,#RecorDControl,#WebFormSpan,#WebFormSpanTwo,#WebFormSpanThree,#ParkControl,#XferControl,#HangupControl):has(img[src*="_OFF"]){opacity:.45}
#DiaLControl{height:56px;border-radius:13px}
#DiaLControl:has(img[src*="vdc_LB_paused"]){background:var(--ccd-green) !important}
#DiaLControl:has(img[src*="vdc_LB_paused"])::after{content:"\25B6  Start dialing";color:#fff;font-size:16px}
#DiaLControl:has(img[src*="vdc_LB_active"]){background:var(--ccd-gold) !important}
#DiaLControl:has(img[src*="vdc_LB_active"])::after{content:"\275A\275A  Pause";color:var(--ccd-navy);font-size:16px}
#DiaLControl:has(img[src*="dialnextnumber"])::after{content:"Dial next";color:#fff}
#DiaLControl:has(img[src*="dialnextnumber"]){background:var(--ccd-green) !important}
#DiaLControl:has(img[src*="blank_OFF"])::after{content:"\2014"}
#RecorDControl:has(img[src*="startrecording"])::after{content:"Start recording"}
#RecorDControl:has(img[src*="stoprecording"])::after{content:"\25CF  Stop recording";color:var(--ccd-red)}
#WebFormSpan::after{content:"Web form"}
#WebFormSpanTwo::after{content:"Web form 2"}
#WebFormSpanThree::after{content:"Web form 3"}
#WebFormSpan,#WebFormSpanTwo,#WebFormSpanThree{background:#fff !important;border:1.5px solid var(--ccd-line)}
:is(#WebFormSpan,#WebFormSpanTwo,#WebFormSpanThree)::after{color:var(--ccd-blue-dk)}
#ParkControl:has(img[src*="parkcall"])::after{content:"Park"}
#ParkControl:has(img[src*="grabparkedcall"])::after{content:"Pick up parked"}
#XferControl::after{content:"Transfer"}
#HangupControl{height:52px}
#HangupControl:has(img[src*="hangupcustomer.gif"]){background:var(--ccd-red) !important}
#HangupControl::after{content:"Hang up";font-size:16px}
#HangupControl:has(img[src*="hangupcustomer.gif"])::after{color:#fff}
#SpacerSpanA img,#SpacerSpanC img,#SpacerSpanD img{height:6px !important}
/* Send DTMF: same trick on its link; the digits box below stays a normal input */
#SendDTMF{background:transparent !important}
#SendDTMF > a{display:block;position:relative;width:140px;height:36px;margin:4px auto;border-radius:11px;background:var(--ccd-gray)}
#SendDTMF > a img{position:absolute !important;inset:0;width:100% !important;height:100% !important;opacity:0 !important;z-index:2}
#SendDTMF > a::after{content:"Send keypad tones";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font:700 13px Montserrat,Inter,sans-serif;color:#3a4256;pointer-events:none;z-index:1}
#SendDTMF input[name=conf_dtmf]{width:140px !important;box-sizing:border-box;margin-top:4px}
/* lead preview: plain small row, no colored box */
#DiaLLeaDPrevieW,#DiaLLeaDPrevieW font{background:transparent !important;color:var(--ccd-ink-2) !important;font-size:12px !important;font-weight:600 !important}
#DiaLLeaDPrevieW input{accent-color:var(--ccd-navy)}


/* ---------- full-screen boxes: dim navy backdrop + one white card ----------
   VICIdial shows these by flipping visibility on a full-screen table. We restyle the table and its text only;
   every link inside keeps its own onclick. Text swaps use font-size:0 + ::before/::after (pure paint). */
:is(#CustomerGoneBox,#NoneInSessionBox,#WrapupBox,#PauseCodeSelectBox,#CallBackSelectBox,#LogouTBox) > table{
  background:rgba(13,20,39,.82) !important}
:is(#CustomerGoneBox,#NoneInSessionBox,#WrapupBox,#LogouTBox) > table > tbody > tr > td{vertical-align:middle !important}
:is(#PauseCodeSelectBox,#CallBackSelectBox) > table > tbody > tr > td{padding-top:90px !important}
:is(#CustomerGoneBox,#NoneInSessionBox) td > font.sd_text,
#WrapupBox td,#PauseCodeSelectBox td > font:first-child,#CallBackSelectBox > table > tbody > tr > td,#LogouTBox td{
  font-family:Inter,sans-serif !important}
/* the card */
:is(#CustomerGoneBox,#NoneInSessionBox) td > font.sd_text{display:inline-flex !important;flex-direction:column;align-items:stretch;gap:12px;
  width:420px;background:#fff;border-radius:22px;padding:30px 34px;box-shadow:0 30px 80px rgba(0,0,0,.4);font-size:0 !important;color:var(--ccd-ink) !important}
:is(#CustomerGoneBox,#NoneInSessionBox) td > font.sd_text br{display:none}
:is(#CustomerGoneBox,#NoneInSessionBox) td > font.sd_text > span{display:none !important}
#CustomerGoneBox td > font.sd_text::before{content:"Call ended";font:800 28px Montserrat,Inter,sans-serif;color:var(--ccd-navy);text-align:left}
#CustomerGoneBox td > font.sd_text::after{content:"The customer hung up. Pick a result to save the call.";order:1;
  font:400 16px Inter,sans-serif;color:var(--ccd-ink-2);text-align:left;margin:-6px 0 6px}
#NoneInSessionBox td > font.sd_text::before{content:"Your phone line dropped";font:800 26px Montserrat,Inter,sans-serif;color:var(--ccd-navy);text-align:left}
:is(#CustomerGoneBox,#NoneInSessionBox) td > font.sd_text a{font-size:0 !important;display:block;border-radius:14px;padding:16px;
  text-align:center;text-decoration:none;order:2}
:is(#CustomerGoneBox,#NoneInSessionBox) td > font.sd_text a::after{font:700 18px Montserrat,Inter,sans-serif}
#CustomerGoneBox a[onclick*="CustomerGoneHangup"]{background:var(--ccd-green);order:2 !important}
#CustomerGoneBox a[onclick*="CustomerGoneHangup"]::after{content:"Pick a result";color:#fff}
#CustomerGoneBox a[onclick*="CustomerGoneOK"]{background:transparent;border:1.5px solid var(--ccd-line);order:3 !important}
#CustomerGoneBox a[onclick*="CustomerGoneOK"]::after{content:"Go back to the call screen";color:var(--ccd-blue-dk);font-size:15px !important}
#NoneInSessionBox a[onclick*="NoneInSessionCalL"]{background:var(--ccd-green);order:2 !important}
#NoneInSessionBox a[onclick*="NoneInSessionCalL"]::after{content:"Call my phone again";color:#fff}
#NoneInSessionBox a[onclick*="NoneInSessionOK"]{background:transparent;border:1.5px solid var(--ccd-line);order:3 !important}
#NoneInSessionBox a[onclick*="NoneInSessionOK"]::after{content:"Go back";color:var(--ccd-blue-dk);font-size:15px !important}

/* wrap-up timer */
#WrapupBox td{color:#fff !important}
#WrapupBox .sd_text{color:#fff !important;font:700 22px Montserrat,Inter,sans-serif !important}
#WrapupBox #WrapupTimer{color:var(--ccd-gold);font-size:30px}
#WrapupBox #WrapupMessage{color:#d6dcec !important;font-size:16px}
#WrapupBox #WrapupBypass a{display:inline-block;margin-top:8px;background:var(--ccd-green);color:#fff !important;border-radius:12px;
  padding:14px 26px;text-decoration:none;font:700 17px Montserrat,Inter,sans-serif !important}

/* pause reason + callback time pickers */
:is(#PauseCodeSelectBox,#CallBackSelectBox) .sd_text{color:#fff !important;font:800 24px Montserrat,Inter,sans-serif !important}
#PauseCodeSelectBox .sd_text{font-size:0 !important}
#PauseCodeSelectBox .sd_text::before{content:"Why are you pausing?";font:800 24px Montserrat,Inter,sans-serif}
#PauseCodeSelectContent{display:inline-block;margin-top:16px;background:#fff;border-radius:20px;padding:22px 26px;min-width:420px;
  box-shadow:0 30px 80px rgba(0,0,0,.4);text-align:left}
#PauseCodeSelectContent a{display:block;margin:0 0 8px;padding:14px 16px;border-radius:12px;background:var(--ccd-gray);color:var(--ccd-ink) !important;
  text-decoration:none;font:600 16px Inter,sans-serif !important}
#PauseCodeSelectContent a:hover{outline:3px solid var(--ccd-gold)}
#PauseCodeSelectContent br{display:none}
#CallBackSelectBox .sd_text{font-size:0 !important}
#CallBackSelectBox .sd_text::before{content:"Set a callback";font:800 24px Montserrat,Inter,sans-serif}
#CallBackSelectBox > table > tbody > tr > td{color:#fff !important}
#CallBackSelectBox .sh_text,#CallBackSelectBox font{color:#e6eaf3 !important;font-size:15px !important}
#CallBackSelectBox #CallBackDatEPrinT font,#CallBackSelectBox #CallBackTimEPrinT{color:var(--ccd-gold) !important;font-weight:700 !important}
#CallBackSelectBox select,#CallBackSelectBox input[type=text],#CallBackSelectBox textarea{background:#fff !important;color:var(--ccd-ink) !important}
#CallBackSelectBox table table{background:#fff !important;border-radius:14px;color:var(--ccd-ink) !important}
#CallBackSelectBox table table *{color:var(--ccd-ink) !important}
#CallBackSelectBox a{color:var(--ccd-blue) !important;font-weight:600}

/* logout */
#LogouTBox > table{background:var(--ccd-navy) url("/ccdskin/ccdocs-logo.png") center 18%/auto 90px no-repeat !important}
#LogouTBox .loading_text{color:#fff !important;font:700 22px Montserrat,Inter,sans-serif !important}
#LogouTBox img[src*="agent_loading_animation"]{width:72px !important;height:72px !important;opacity:.8}
#LogouTBox a{color:var(--ccd-gold) !important;font-weight:700}
#LogouTBoxLink a{display:inline-block;background:var(--ccd-green);color:#fff !important;border-radius:12px;padding:14px 26px;text-decoration:none;
  font:700 18px Montserrat,Inter,sans-serif !important}

/* ---------- web phone panel (top right) ----------
   The phone itself is an iframe from phone.viciphone.com -- another site, so its inside cannot be styled from here
   (that needs our own ViciPhone copy; see kf10's plan). We frame it as a navy card. */
#webphoneSpan{background:var(--ccd-navy) !important;border-radius:18px;padding:10px 12px 12px;height:auto !important;
  overflow:hidden !important;box-shadow:0 8px 28px rgba(13,20,39,.22);top:44px !important}
#webphoneSpan > table{width:100%}
#webphoneSpan td[rowspan]{display:none}
#webphoneSpan font.body_text{font-size:0 !important;display:block;text-align:left}
#webphoneSpan font.body_text::before{content:"PHONE";font:700 11px Inter,sans-serif;letter-spacing:.1em;color:var(--ccd-gold)}
#webphoneSpan iframe#webphone{border-radius:12px;display:block}
/* show/hide link stays the real link, restyled as a small pill */
#webphoneLink a{font-size:0 !important;text-decoration:none}
#webphoneLink a::after{font:600 12px Inter,sans-serif;color:var(--ccd-navy);background:#fff;border:1.5px solid var(--ccd-line);
  border-radius:999px;padding:4px 12px;display:inline-block}
#webphoneLink a[onclick*="'close'"]::after{content:"Hide phone"}
#webphoneLink a[onclick*="'open'"]::after{content:"Show phone"}
#webphoneLinkSpan{top:10px !important}

/* ---------- v4: paused / ready card instead of an empty customer form (kf08) ----------
   skin.js sets <html data-ccd-idle="yes"> only while NO lead is loaded AND no live call. Then the empty form is
   hidden (nothing in it to edit) and a card is painted in its place. Any lead or call -> the form is back as is. */
html[data-ccd-idle="yes"] #MainPanelCustInfo{visibility:hidden !important}
html[data-ccd-idle="yes"] #MainPanel::before,html[data-ccd-idle="yes"] #MainPanel::after{position:absolute;left:180px;width:860px;
  text-align:center;pointer-events:none;z-index:1}
html[data-ccd-idle="yes"] #MainPanel::before{top:120px;height:300px;padding-top:112px;box-sizing:border-box;background:#fff;
  border:1px solid var(--ccd-line);border-radius:18px;box-shadow:0 1px 2px rgba(13,20,39,.06),0 4px 16px rgba(13,20,39,.06);
  content:"You're paused";font:800 30px Montserrat,Inter,sans-serif;color:var(--ccd-navy);
  background-image:radial-gradient(circle at 50% 70px,var(--ccd-gold) 0 9px,#fff8d6 10px 34px,transparent 35px)}
html[data-ccd-idle="yes"] #MainPanel::after{top:280px;content:"Press Start dialing when you're ready. The script and your coach open here as soon as someone picks up.";
  font:400 17px/1.5 Inter,sans-serif;color:var(--ccd-ink-2);padding:0 120px;box-sizing:border-box}
html[data-ccd-idle="yes"] body:has(#DiaLControl img[src*="dialnextnumber"]) #MainPanel::after{content:"Press Dial next to call the next lead. The script and your coach open here as soon as someone picks up."}
/* ready = dialing for you: soft breathing ring, no flashing */
html[data-ccd-idle="yes"] body:has(#DiaLControl img[src*="vdc_LB_active"]) #MainPanel::before{content:"Ready \2014  dialing for you";
  background-image:radial-gradient(circle at 50% 70px,#16a34a 0 9px,#e7f6ec 10px 34px,transparent 35px);animation:ccd-breathe 2.4s ease-in-out infinite}
html[data-ccd-idle="yes"] body:has(#DiaLControl img[src*="vdc_LB_active"]) #MainPanel::after{content:"Stay on your headset. The next live person drops straight into this screen."}
@keyframes ccd-breathe{0%,100%{background-size:100% 100%}50%{background-size:108% 108%}}

/* ---------- v4: left column + footer clutter ---------- */
#NothingBox2{opacity:0 !important}            /* VICIdial's inert focus checkbox: kept, just not shown */
#RecorDingFilename,#RecorDID,#MainTable td[width="150px"] > font.body_text > center{font-size:11px !important;color:var(--ccd-ink-3,#8a90a0) !important}
#DiaLLeaDPrevieW{display:block;margin:6px 0}
#ManuaLDiaLButtons a,#CallLogLinkSpan a,#PauseCodeLinkSpan a,#CBstatusSpan a{display:inline-block;background:#fff;border:1.5px solid var(--ccd-line);
  border-radius:999px;padding:7px 14px;color:var(--ccd-navy) !important;font:600 13px Inter,sans-serif !important;text-decoration:none;margin-right:6px}
#ManuaLDiaLButtons a:hover,#CallLogLinkSpan a:hover,#PauseCodeLinkSpan a:hover{border-color:var(--ccd-blue)}
#MaiNfooter font,#MaiNfooter a{font-size:10px !important;color:#a3a9b8 !important}
#Tabs .body_tiny{display:none !important}      /* date + session id line (info only); Calls in Queue stays */
#Tabs #AgentStatusCalls font,#Tabs #AgentStatusEmails font{color:var(--ccd-ink-2) !important;font-size:12px !important}

/* ---------- v4: loading / waiting -- one calm CCDocs spinner (soft ring around the logo mark) ---------- */
@keyframes ccd-spin{to{transform:rotate(360deg)}}
img[src*="agent_loading_animation"]{opacity:0 !important}
#LoginLoadingBox,#LogouTProcess,#LoadingBox td{position:relative}
#LoginLoadingBox{display:block;min-height:120px}
#LoginLoadingBox::after,#LogouTProcess::after,#LoadingBox td::after{content:"";position:absolute;left:50%;width:64px;height:64px;margin-left:-32px;
  border-radius:50%;border:4px solid rgba(255,207,0,.18);border-top-color:var(--ccd-gold);animation:ccd-spin 1.1s linear infinite;pointer-events:none}
#LoginLoadingBox::after{top:46px}
#LogouTProcess::after{top:70px}
html[data-ccd-logout="busy"] #LogouTProcess::after{top:210px}
#LoadingBox > table{background:var(--ccd-navy) url("/ccdskin/ccdocs-logo.png") center 30%/auto 90px no-repeat !important}
#LoadingBox td{color:#fff !important}
#LoadingBox td::after{top:58%}
@media (prefers-reduced-motion:reduce){
  #LoginLoadingBox::after,#LogouTProcess::after,#LoadingBox td::after{animation-duration:3s}
  html[data-ccd-idle="yes"] #MainPanel::before{animation:none}
}

/* ---------- v5: "Another live agent session ... disabled" -> calm card, one Continue button ----------
   VICIdial's own OK link (hideDiv('DeactivateDOlDSessioNSpan')) is the button; only its look and words change. */
#DeactivateDOlDSessioNSpan > table{background:rgba(13,20,39,.82) !important}
#DeactivateDOlDSessioNSpan td{vertical-align:middle !important}
#DeactivateDOlDSessioNSpan font.sh_text{display:inline-flex !important;flex-direction:column;gap:14px;width:440px;background:#fff;
  border-radius:22px;padding:30px 34px;box-shadow:0 30px 80px rgba(0,0,0,.4);font-size:0 !important;text-align:left}
#DeactivateDOlDSessioNSpan font.sh_text br{display:none}
#DeactivateDOlDSessioNSpan font.sh_text::before{content:"You were signed in somewhere else \2014  we closed it.";
  font:800 24px/1.3 Montserrat,Inter,sans-serif;color:var(--ccd-navy)}
#DeactivateDOlDSessioNSpan a{display:block;background:var(--ccd-green);border-radius:14px;padding:16px;text-align:center;text-decoration:none}
#DeactivateDOlDSessioNSpan a::after{content:"Continue";font:700 18px Montserrat,Inter,sans-serif;color:#fff}

/* ---------- v5: VICIdial's HOT KEYS image (hover shows the key list) -> small pill, same hover ---------- */
#hotkeysdisplay a{display:inline-block;position:relative;width:118px;height:34px;border-radius:999px;background:#fff;
  border:1.5px solid var(--ccd-line);vertical-align:middle}
#hotkeysdisplay a img{position:absolute !important;inset:0;width:100% !important;height:100% !important;opacity:0 !important;z-index:2}
#hotkeysdisplay a::after{content:"\2328  Hotkeys";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font:600 13px Inter,sans-serif;color:var(--ccd-navy);pointer-events:none;z-index:1}
#hotkeysdisplay a:has(img[src*="hotkeysactive.gif"]){background:var(--ccd-navy);border-color:var(--ccd-navy)}
#hotkeysdisplay a:has(img[src*="hotkeysactive.gif"])::after{content:"\2328  Hotkeys on";color:var(--ccd-gold)}
/* the key list VICIdial shows on hover */
/* display-only list: let the mouse pass through to the pill, so moving away still fires VICIdial's HotKeys('OFF') (kf10) */
#HotKeyEntriesBox{pointer-events:none !important}
#HotKeyEntriesBox > table{background:#fff !important;border-radius:16px;box-shadow:0 12px 40px rgba(13,20,39,.25)}
#HotKeyEntriesBox tr[bgcolor]{background:transparent !important}
#HotKeyEntriesBox .sh_text{color:var(--ccd-navy) !important;font:700 14px Montserrat,Inter,sans-serif !important}
#HotKeyEntriesBox .body_small,#HotKeyEntriesBox .sk_text{color:var(--ccd-ink-2) !important;font-size:13px !important}

/* ======================= v6 (Jason Loom asks, 21:1x) ======================= */

/* (4) logo: drawn once at its true shape over the top-left corner; the MAIN tab link under it stays clickable */
#Tabs td:has(> a > img[src*="vicidial_admin_web_logo"]){background:none !important}
#Header::before{content:"";position:absolute;left:12px;top:4px;width:66px;height:38px;z-index:5;pointer-events:none;
  background:url("/ccdskin/ccdocs-logo.png") left center/contain no-repeat}

/* (3) top tabs: only Script stays (the script + coach; it also opens by itself on a call). The logo = MAIN. */
/* (Sprint campaigns only -- client campaigns keep every tab) */
:root[data-ccd-sprint="yes"] #Tabs td:has(> a > img[src*="vdc_tab_script2"]),
:root[data-ccd-sprint="yes"] #Tabs td:has(> a > img[src*="vdc_tab_form"]),
:root[data-ccd-sprint="yes"] #Tabs td:has(> a > img[src*="vdc_tab_email"]),
:root[data-ccd-sprint="yes"] #Tabs td:has(> a > img[src*="vdc_tab_chat"]){display:none !important}

/* (2)(8) phone: closed by default (skin.js uses VICIdial's own close). If opened, it docks on the right. */
#webphoneSpan{position:fixed !important;left:auto !important;right:16px !important;top:56px !important;z-index:60 !important}
#webphoneLinkSpan{position:fixed !important;left:auto !important;right:16px !important;top:10px !important;z-index:61 !important}
/* agents list: a clean card on the right */
#AgentViewSpan{position:fixed !important;left:auto !important;right:16px !important;top:56px !important;height:auto !important;
  max-height:60vh;overflow:auto !important;width:280px;background:#fff !important;border:1px solid var(--ccd-line);border-radius:16px;
  box-shadow:0 8px 28px rgba(13,20,39,.16);padding:12px 14px;z-index:59 !important}
#AgentViewSpan td[rowspan]{display:none}
#AgentViewSpan font.body_text{font-size:0 !important;display:block;text-align:left}
#AgentViewSpan font.body_text::before{content:"AGENTS LOGGED IN";font:700 11px Inter,sans-serif;letter-spacing:.1em;color:var(--ccd-ink-3,#8a90a0)}
/* v7.6.19 (kf10, Erick): keep VICIdial's own row + legend colours (bgcolor / inline style / font color) -- only the font is ours */
#AgentViewStatus{color:var(--ccd-ink);background:transparent !important}
#AgentViewStatus *{font:500 13px/1.6 Inter,sans-serif !important}
#AgentViewStatus table{width:100%;border-collapse:collapse}
#AgentViewStatus tr + tr td{border-top:1px solid var(--ccd-line)}
#AgentViewLink a{display:inline-block;background:#fff;border:1.5px solid var(--ccd-line);border-radius:999px;padding:5px 12px;
  color:var(--ccd-navy) !important;font:600 12px Inter,sans-serif !important;text-decoration:none}

/* (5) bottom row: callbacks / status / dial links as one tidy set of pills */
#CBstatusSpan,#CBstatusSpan a{font:600 13px Inter,sans-serif !important;color:var(--ccd-navy) !important;text-decoration:none}
#CallbacksButtons #CBstatusSpan{display:inline-block;background:#fff;border:1.5px solid var(--ccd-line);border-radius:999px;padding:7px 14px}
#AgentStatusSpan font{font:500 12px/1.5 Inter,sans-serif !important;color:var(--ccd-ink-2) !important}
#AgentStatusStatus{font-weight:700;color:var(--ccd-navy)}
#dialableleadsspan,#dialableleadsspan *{font:500 12px Inter,sans-serif !important;color:var(--ccd-ink-2) !important}
#callsinqueuelink a{display:inline-block;background:#fff;border:1.5px solid var(--ccd-line);border-radius:999px;padding:5px 12px;
  color:var(--ccd-navy) !important;font:600 12px Inter,sans-serif !important;text-decoration:none}

/* (7) Hotkeys pill: lower-right corner. Its key list shows as a strip along the very bottom (display-only, never on the
   script: the script panel below now ends above that strip). */
#hotkeysdisplay{position:fixed !important;right:16px !important;bottom:14px !important;left:auto !important;top:auto !important;z-index:70 !important}
#HotKeyEntriesBox{position:fixed !important;left:0 !important;right:0 !important;top:auto !important;bottom:0 !important;width:auto !important;z-index:69 !important}
#HotKeyEntriesBox > table{width:100% !important;height:64px !important;border-radius:0 !important;box-shadow:0 -6px 24px rgba(13,20,39,.12) !important}

/* (6) in call: the script panel fits the screen and scrolls by itself (leaves room for the bottom strip) */
#ScriptPanel > table,#Script2Panel > table{height:auto !important}
#ScriptContents,#Script2Contents{height:min(780px,calc(100vh - 150px)) !important;overflow-y:auto !important;overflow-x:hidden !important;
  box-sizing:border-box;overscroll-behavior:contain}
:root[data-ccd-sprint="yes"],:root[data-ccd-sprint="yes"] body{overflow-x:hidden}  /* Sprint only (v7.5) */

/* (1) logout: calm ring while signing out, then a check mark + "Sign in again" */
#LogouTBox td{font-size:0 !important}
#LogouTProcess,#LogouTBoxLink{display:block}
#LogouTBox #LogouTProcess .loading_text,#LogouTBox #LogouTBoxLink .loading_text,#LogouTProcess font,#LogouTBoxLink font{font-size:0 !important}
html[data-ccd-logout="busy"] #LogouTProcess::before{content:"Signing you out\2026";display:block;margin-top:150px;
  font:700 22px Montserrat,Inter,sans-serif;color:#fff}
html[data-ccd-logout="done"] #LogouTProcess::after{content:none}
html[data-ccd-logout="done"] #LogouTProcess::before{content:"\2713";display:flex;align-items:center;justify-content:center;
  width:84px;height:84px;margin:150px auto 18px;border-radius:50%;background:var(--ccd-green);color:#fff;
  font:800 44px/1 Inter,sans-serif;box-shadow:0 0 0 10px rgba(22,163,74,.18);animation:ccd-pop .45s ease-out both}
html[data-ccd-logout="done"] #LogouTBoxLink::before{content:"You're signed out";display:block;font:800 26px Montserrat,Inter,sans-serif;color:#fff}
html[data-ccd-logout="done"] #LogouTBoxLink::after{content:"Have a good one. You can close this window.";display:block;margin:6px 0 18px;
  font:400 16px Inter,sans-serif;color:#b9c2d8}
#LogouTBoxLink a{display:inline-block;margin-top:14px;background:var(--ccd-green);border-radius:12px;padding:14px 28px;text-decoration:none;font-size:0 !important}
#LogouTBoxLink a::after{content:"Sign in again";font:700 18px Montserrat,Inter,sans-serif;color:#fff}
html[data-ccd-logout="done"] #LogouTBoxLink{display:flex;flex-direction:column;align-items:center}
html[data-ccd-logout="done"] #LogouTBoxLink > *{order:3}
html[data-ccd-logout="done"] #LogouTBoxLink::after{order:2}
@keyframes ccd-pop{0%{transform:scale(.6);opacity:0}100%{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){html[data-ccd-logout="done"] #LogouTProcess::before{animation:none}}
/* logout covers the whole window, above the docked phone / pills */
#LogouTBox{position:fixed !important;inset:0 !important;z-index:300 !important}
#LogouTBox > table{width:100% !important;height:100% !important}
/* v6.2: last call's "STATUS: Called ... UID ..." line only while idle (no lead, no call) -> hidden; back on any call */
html[data-ccd-idle="yes"] #MainStatuSSpan{visibility:hidden !important}
html,body{overflow-y:auto}
/* v6.2 fit: VICIdial's full-screen boxes (hidden most of the time) stretch the page to ~1350px even when hidden.
   Pin them to the window (they scroll inside when open) and stop whole-page scrolling on the agent screen. */
:is(#DispoSelectBox,#CustomerGoneBox,#NoneInSessionBox,#WrapupBox,#FSCREENWrapupBox,#PauseCodeSelectBox,#PauseCodeMgrAprBox,
  #CallBackSelectBox,#DeactivateDOlDSessioNSpan,#WelcomeBoxA,#LoadingBox,#InvalidOpenerSpan){
  position:fixed !important;left:0 !important;top:0 !important;right:0 !important;bottom:0 !important;overflow:auto !important}
:is(#DispoSelectBox,#CustomerGoneBox,#NoneInSessionBox,#WrapupBox,#FSCREENWrapupBox,#PauseCodeSelectBox,#PauseCodeMgrAprBox,
  #CallBackSelectBox,#DeactivateDOlDSessioNSpan,#WelcomeBoxA,#LoadingBox,#InvalidOpenerSpan) > table{width:100% !important;min-height:100% !important;height:auto !important}
:root[data-ccd-sprint="yes"]:has(#MainPanel),:root[data-ccd-sprint="yes"] body:has(#MainPanel){overflow:hidden !important}  /* Sprint only */
/* full-screen boxes stay above the docked phone (60), agents card (59) and hotkeys (69/70); VICIdial's own order kept */
#WelcomeBoxA{z-index:105 !important}
#NoneInSessionBox{z-index:148 !important}
#CustomerGoneBox{z-index:149 !important}
#WrapupBox{z-index:150 !important}
#FSCREENWrapupBox{z-index:151 !important}
#DispoSelectBox{z-index:159 !important}
#CallBackSelectBox{z-index:160 !important}
#PauseCodeSelectBox{z-index:178 !important}
#PauseCodeMgrAprBox{z-index:179 !important}
#DeactivateDOlDSessioNSpan{z-index:186 !important}
#InvalidOpenerSpan{z-index:187 !important}

/* v6.3 quotes (Jason 21:13): small and calm; skin.js sets --ccd-quote. If quotes.js is missing nothing shows. */
/* login: under "Good evening / Sign in to start your shift" */
table[bgcolor="#D9E6FE"] tr:nth-child(3)::before{content:var(--ccd-quote);display:block;margin:-6px 0 18px;padding:10px 14px;
  border-left:3px solid var(--ccd-gold);background:#fffbea;border-radius:0 10px 10px 0;
  font:italic 500 14px/1.45 Inter,sans-serif;color:#5a4a12}
/* paused / ready card: one line at the bottom of the card (behind the Script panel if that is in front) */
html[data-ccd-idle="yes"] body:has(#MainPanel)::after{content:var(--ccd-quote);position:absolute;left:260px;top:400px;width:700px;
  text-align:center;font:italic 500 14px/1.45 Inter,sans-serif;color:#8a90a0;pointer-events:none;z-index:7}
/* after the call: foot of "How did the call go?" */
#DispoSelectBox > table > tbody > tr > td::after{content:var(--ccd-quote);display:block;margin:4px 28px 0;padding-top:12px;
  border-top:1px solid var(--ccd-line);font:italic 500 14px/1.45 Inter,sans-serif;color:#8a90a0}
/* v6.3 (kf10 BLOCK on v6.2): calls-in-queue list sat below the window once page scroll was off -> pin it above the
   bottom strip with its own scroll, so every TAKE CALL link is reachable at any window size. */
#callsinqueuedisplay{position:fixed !important;left:16px !important;top:auto !important;bottom:76px !important;
  width:min(1310px,calc(100vw - 32px)) !important;max-height:35vh !important;overflow:auto !important;z-index:66 !important;
  background:#fff !important;border:1px solid var(--ccd-line);border-radius:14px;box-shadow:0 8px 28px rgba(13,20,39,.18)}
#callsinqueuedisplay font.body_text{font:700 12px Inter,sans-serif !important;color:var(--ccd-navy) !important}
/* v6.5: VICIdial's own big check-mark / spinner pictures inside the logout box (ours are drawn) -- the relogin link
   keeps its drawn "Sign in again" label and click area */
#LogouTBox img{display:none !important}
/* v6.6 preview: VICIdial's DIAL LEAD / SKIP LEAD links in the status line as clear buttons (same links) */
#MainStatuSSpan a[onclick*="ManualDialOnly"],#MainStatuSSpan a[onclick*="ManualDialSkip"]{display:inline-block;margin:0 4px;
  padding:4px 14px;border-radius:999px;font:700 13px Inter,sans-serif !important;text-decoration:none;vertical-align:middle}
#MainStatuSSpan a[onclick*="ManualDialOnly"]{background:var(--ccd-green);color:#fff !important}
#MainStatuSSpan a[onclick*="ManualDialSkip"]{background:var(--ccd-gray);color:#3a4256 !important;border:1.5px solid var(--ccd-line)}
#MainStatuSSpan a font.preview_text{color:inherit !important;font:inherit !important;text-decoration:none !important}
/* v6.7 (kf60 live shot): DIAL LEAD / SKIP LEAD pills fit inside the status line (the script panel starts right under it) */
#MainStatuSSpan a[onclick*="ManualDialOnly"],#MainStatuSSpan a[onclick*="ManualDialSkip"]{padding:0 10px !important;line-height:16px !important;
  font-size:12px !important;vertical-align:baseline !important;margin:0 3px !important;position:relative;top:-2px}
/* Show phone pill: off the LOGOUT / PAUSED corner -> bottom-right, stacked above the Hotkeys pill */
#webphoneLinkSpan{top:auto !important;bottom:56px !important;right:16px !important}
#webphoneLink a::after{padding:7px 14px !important;font-size:13px !important;box-shadow:0 2px 8px rgba(13,20,39,.08)}

/* ======================= v7: the remaining VICIdial screens (kf28 10:0x capture) ======================= */
/* Full-screen green boxes -> navy backdrop + one white card (same look as the outcome screen). Every link, field and
   button inside stays VICIdial's own; only colour, type and spacing change. */
:is(#NeWManuaLDiaLBox,#CallBacKsLisTBox,#CalLLoGDisplaYBox,#LeaDInfOBox,#SearcHForMDisplaYBox,#SearcHResultSDisplaYBox,
  #CalLNotesDisplaYBox,#AgentTimeDisplayBox,#ManualValidateBox,#SearcHResultSContactsBox,#SearcHContactsDisplaYBox,
  #PresetsSelectBox,#VMMessageSelectBox,#GroupAliasSelectBox,#SCForceDialBox,#AgenTDisablEBoX,#SysteMDisablEBoX){
  position:fixed !important;left:0 !important;top:0 !important;right:0 !important;bottom:0 !important;overflow:auto !important;z-index:170 !important}
:is(#NeWManuaLDiaLBox,#CallBacKsLisTBox,#CalLLoGDisplaYBox,#LeaDInfOBox,#SearcHForMDisplaYBox,#SearcHResultSDisplaYBox,
  #CalLNotesDisplaYBox,#AgentTimeDisplayBox,#ManualValidateBox,#SearcHResultSContactsBox,#SearcHContactsDisplaYBox,
  #PresetsSelectBox,#VMMessageSelectBox,#GroupAliasSelectBox,#SCForceDialBox,#AgenTDisablEBoX,#SysteMDisablEBoX) > table{
  width:100% !important;min-height:100% !important;height:auto !important;background:rgba(13,20,39,.72) !important;border-spacing:48px 28px !important}
:is(#NeWManuaLDiaLBox,#CallBacKsLisTBox,#CalLLoGDisplaYBox,#LeaDInfOBox,#SearcHForMDisplaYBox,#SearcHResultSDisplaYBox,
  #CalLNotesDisplaYBox,#AgentTimeDisplayBox,#ManualValidateBox,#SearcHResultSContactsBox,#SearcHContactsDisplaYBox,
  #PresetsSelectBox,#VMMessageSelectBox,#GroupAliasSelectBox,#SCForceDialBox,#AgenTDisablEBoX,#SysteMDisablEBoX) > table > tbody > tr > td{
  background:#fff !important;border-radius:20px;padding:24px 28px !important;box-shadow:0 30px 80px rgba(0,0,0,.35);
  vertical-align:top !important;color:var(--ccd-ink) !important;font:15px/1.5 Inter,sans-serif}
/* the cards' own text, tables and links */
:is(#NeWManuaLDiaLBox,#CallBacKsLisTBox,#CalLLoGDisplaYBox,#LeaDInfOBox,#SearcHForMDisplaYBox,#SearcHResultSDisplaYBox,
  #CalLNotesDisplaYBox,#AgentTimeDisplayBox,#ManualValidateBox,#SearcHResultSContactsBox,#SearcHContactsDisplaYBox,
  #PresetsSelectBox,#VMMessageSelectBox,#GroupAliasSelectBox,#SCForceDialBox,#AgenTDisablEBoX,#SysteMDisablEBoX,
  #TransferMain,#ViewCommentsBox,#AlertBox,#TimerSpan,#CBcommentsBox) :is(.sd_text,.sh_text){
  color:var(--ccd-navy) !important;font:800 20px Montserrat,Inter,sans-serif !important}
:is(#NeWManuaLDiaLBox,#CallBacKsLisTBox,#CalLLoGDisplaYBox,#LeaDInfOBox,#SearcHForMDisplaYBox,#SearcHResultSDisplaYBox,
  #CalLNotesDisplaYBox,#AgentTimeDisplayBox,#ManualValidateBox,#SearcHResultSContactsBox,#SearcHContactsDisplaYBox,
  #ViewCommentsBox,#CBcommentsBox) table table{border-collapse:collapse !important;background:#fff !important;width:100%}
:is(#NeWManuaLDiaLBox,#CallBacKsLisTBox,#CalLLoGDisplaYBox,#LeaDInfOBox,#SearcHForMDisplaYBox,#SearcHResultSDisplaYBox,
  #CalLNotesDisplaYBox,#AgentTimeDisplayBox,#ManualValidateBox,#SearcHResultSContactsBox,#SearcHContactsDisplaYBox,
  #ViewCommentsBox,#CBcommentsBox) table table tr{background:#fff !important}
:is(#NeWManuaLDiaLBox,#CallBacKsLisTBox,#CalLLoGDisplaYBox,#LeaDInfOBox,#SearcHForMDisplaYBox,#SearcHResultSDisplaYBox,
  #CalLNotesDisplaYBox,#AgentTimeDisplayBox,#ManualValidateBox,#SearcHResultSContactsBox,#SearcHContactsDisplaYBox,
  #ViewCommentsBox,#CBcommentsBox) table table tr:nth-child(even){background:#f6f8fb !important}
:is(#NeWManuaLDiaLBox,#CallBacKsLisTBox,#CalLLoGDisplaYBox,#LeaDInfOBox,#SearcHForMDisplaYBox,#SearcHResultSDisplaYBox,
  #CalLNotesDisplaYBox,#AgentTimeDisplayBox,#ManualValidateBox,#SearcHResultSContactsBox,#SearcHContactsDisplaYBox,
  #ViewCommentsBox,#CBcommentsBox) table table td{border-bottom:1px solid var(--ccd-line);padding:6px 8px !important;
  background:transparent !important;font:13px/1.45 Inter,sans-serif !important;color:var(--ccd-ink) !important}
:is(#NeWManuaLDiaLBox,#CallBacKsLisTBox,#CalLLoGDisplaYBox,#LeaDInfOBox,#SearcHForMDisplaYBox,#SearcHResultSDisplaYBox,
  #CalLNotesDisplaYBox,#AgentTimeDisplayBox,#ManualValidateBox,#SearcHResultSContactsBox,#SearcHContactsDisplaYBox,
  #PresetsSelectBox,#VMMessageSelectBox,#GroupAliasSelectBox,#SCForceDialBox,
  #TransferMain,#ViewCommentsBox,#AlertBox,#TimerSpan,#CBcommentsBox) a{color:var(--ccd-blue-dk) !important;font-weight:600;text-decoration:none}
:is(#NeWManuaLDiaLBox,#CallBacKsLisTBox,#CalLLoGDisplaYBox,#LeaDInfOBox,#SearcHForMDisplaYBox,#SearcHResultSDisplaYBox,
  #CalLNotesDisplaYBox,#AgentTimeDisplayBox,#ManualValidateBox,#SearcHResultSContactsBox,#SearcHContactsDisplaYBox,
  #PresetsSelectBox,#VMMessageSelectBox,#GroupAliasSelectBox,#SCForceDialBox,
  #TransferMain,#ViewCommentsBox,#AlertBox,#TimerSpan,#CBcommentsBox) a:hover{text-decoration:underline}

/* hotkey result bar ("Lead Dispositioned As: X") and callback-comments bar: a clean strip at the bottom of the window */
#HotKeyActionBox,#CBcommentsBox{position:fixed !important;left:0 !important;right:0 !important;top:auto !important;bottom:0 !important;z-index:72 !important}
#HotKeyActionBox > table,#CBcommentsBox > table{width:100% !important;height:auto !important;min-height:64px;border-radius:0 !important}
#HotKeyActionBox > table,#HotKeyActionBox tr[bgcolor]{background:var(--ccd-navy) !important}
#HotKeyActionBox td{color:#fff !important;padding:10px 18px !important}
#HotKeyActionBox .sh_text{color:#b9c2d8 !important;font:700 12px Inter,sans-serif !important;letter-spacing:.08em;text-transform:uppercase}
#HotKeyActionBox .sd_text,#HotKeyDispo{color:var(--ccd-gold) !important;font:800 22px Montserrat,Inter,sans-serif !important}
#HKWrapupTimer,#HKWrapupMessage{color:#d6dcec !important}
#HKWrapupBypass a{display:inline-block;margin-left:12px;background:var(--ccd-green);color:#fff !important;border-radius:10px;padding:8px 16px;text-decoration:none;font-weight:700}
#CBcommentsBox > table,#CBcommentsBox tr[bgcolor]{background:#fff !important;box-shadow:0 -6px 24px rgba(13,20,39,.12)}

/* transfer panel, comments box, alert and timer pop-ups: white cards */
#TransferMain > table,#ViewCommentsBox > table,#TimerSpan > table{background:#fff !important;border-radius:18px;
  box-shadow:0 12px 40px rgba(13,20,39,.22);border:1px solid var(--ccd-line)}
#TransferMain td,#ViewCommentsBox td,#TimerSpan td{background:transparent !important}
#TransferMain img[src*="vdc_XB_header"]{display:none !important}
#TransferMain::before{content:"TRANSFER / CONFERENCE";display:block;position:absolute;top:-22px;left:8px;
  font:700 11px Inter,sans-serif;letter-spacing:.1em;color:var(--ccd-navy)}
#AlertBox{z-index:250 !important}
#AlertBox > table{background:#fff !important;border:0 !important;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.4);overflow:hidden}
#AlertBox td{background:#fff !important;padding:14px 18px !important;color:var(--ccd-ink) !important;font:15px/1.5 Inter,sans-serif !important}
/* transfer panel buttons: VICIdial's picture links get real labels; the picture stays on top, invisible, so the click is
   VICIdial's own. Disabled (_OFF) pictures are dimmed the same way. Small labels (seconds / channel / number) become text. */
#TransferMain a:has(> img[src*="vdc_XB_"]),#TransferMain span:has(> img[src*="vdc_XB_"][src*="_OFF"]){display:inline-block;position:relative;
  min-width:128px;height:32px;margin:3px 4px 3px 0;border-radius:10px;background:var(--ccd-gray);vertical-align:middle}
#TransferMain a > img[src*="vdc_XB_"],#TransferMain span > img[src*="vdc_XB_"][src*="_OFF"]{position:absolute !important;inset:0;
  width:100% !important;height:100% !important;opacity:0 !important;z-index:2}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_"])::after{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  padding:0 10px;font:700 12px Inter,sans-serif;color:#3a4256;pointer-events:none;z-index:1;white-space:nowrap}
#TransferMain :is(a,span):has(> img[src*="_OFF"]){opacity:.45}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_dialwithcustomer"]){background:var(--ccd-green)}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_dialwithcustomer"])::after{content:"Dial with customer";color:#fff}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_parkcustomerdial"])::after{content:"Park customer + dial"}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_blindtransfer"])::after{content:"Blind transfer"}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_ammessage"])::after{content:"Blind transfer to voicemail"}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_localcloser"])::after{content:"Local closer"}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_leave3waycall"])::after{content:"Leave 3-way call"}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_hangupxferline"]){background:#fdecec}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_hangupxferline"])::after{content:"Hang up transfer line";color:#b91c1c}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_hangupbothlines"]){background:var(--ccd-red)}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_hangupbothlines"])::after{content:"Hang up both lines";color:#fff}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_parkxferline"])::after{content:"Park transfer line"}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_parkxferline_GRAB"])::after{content:"Grab parked line"}
#TransferMain img[src*="vdc_XB_seconds"],#TransferMain img[src*="vdc_XB_channel"],#TransferMain img[src*="vdc_XB_number"]{display:none !important}
/* transfer panel anchored to the bottom of the window (grows upward), so every row stays on screen at any height */
#TransferMain{position:fixed !important;top:auto !important;bottom:12px !important;left:170px !important;z-index:68 !important}
#TransferMain :is(a,span):has(> img[src*="vdc_XB_"]){height:28px !important;margin:2px 4px 2px 0 !important}

/* v7.1 FIX (kf60 10:1x, Dial next after SKIP LEAD did nothing): VICIdial can draw TWO controls in #DiaLControl --
   e.g. Resume/Pause link + Dial next link, or Resume link + a disabled Dial next picture. The old rule stacked every
   picture over one button, so the LAST picture caught the click (a disabled picture => nothing happened).
   Now each VICIdial link is its own button; disabled pictures are hidden; "Please wait" shows only while no link exists. */
#DiaLControl{display:flex !important;flex-direction:column;gap:6px;height:auto !important;background:transparent !important;overflow:visible !important}
#DiaLControl::after{content:none !important}
#DiaLControl:not(:has(> a))::after{content:"Please wait\2026" !important;position:static;display:flex;align-items:center;justify-content:center;
  width:140px;height:52px;border-radius:13px;background:var(--ccd-gray);color:#8a90a0;font:700 15px Montserrat,Inter,sans-serif}
#DiaLControl > br{display:none !important}
#DiaLControl > img{display:none !important}
#DiaLControl > a{display:block;position:relative;width:140px;height:52px;border-radius:13px;background:var(--ccd-gray);overflow:hidden}
#DiaLControl > a > img{position:absolute !important;inset:0;width:100% !important;height:100% !important;opacity:0 !important;z-index:2}
#DiaLControl > a::after{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:1;
  font:700 16px Montserrat,Inter,sans-serif}
#DiaLControl > a:has(> img[src*="vdc_LB_paused"]){background:var(--ccd-green)}
#DiaLControl > a:has(> img[src*="vdc_LB_paused"])::after{content:"\25B6  Start dialing";color:#fff}
#DiaLControl > a:has(> img[src*="vdc_LB_active"]){background:var(--ccd-gold)}
#DiaLControl > a:has(> img[src*="vdc_LB_active"])::after{content:"\275A\275A  Pause";color:var(--ccd-navy)}
#DiaLControl > a:has(> img[src*="dialnextnumber.gif"]){background:var(--ccd-green)}
#DiaLControl > a:has(> img[src*="dialnextnumber.gif"])::after{content:"Dial next";color:#fff}
/* v7.1: DIAL LEAD / SKIP LEAD readable -- VICIdial's own light-green highlight on the link text removed, darker green */
#MainStatuSSpan a font,#MainStatuSSpan a .preview_text{background:transparent !important;background-color:transparent !important;color:inherit !important}
#MainStatuSSpan a[onclick*="ManualDialOnly"]{background:#12823b !important;color:#fff !important}
#MainStatuSSpan a[onclick*="ManualDialSkip"]{color:#1f2937 !important}

/* ======================= v7.2 (Jason 09:5x) ======================= */
/* (1) call timer: "seconds: NN" -> one m:ss pill (skin.js copies #SecondSDISP into --ccd-timer); hidden when empty */
#SecondSspan font{font-size:0 !important}
#SecondSspan font *{font-size:0 !important}
html[data-ccd-timer]:not([data-ccd-timer=""]) #SecondSspan::after{content:"\23F1  " var(--ccd-timer);display:inline-flex;align-items:center;
  padding:3px 12px;border-radius:999px;background:var(--ccd-navy);color:#fff;font:700 14px/1 Montserrat,Inter,sans-serif;position:relative;top:-6px;
  font-variant-numeric:tabular-nums;letter-spacing:.02em}
/* queue counters: Calls in Queue as a small pill; Emails in Queue hidden (email is not used, its tab is hidden) */
#AgentStatusCalls font.queue_text{display:inline-block;padding:3px 10px;border-radius:999px;background:var(--ccd-navy-2);
  color:#d6dcec !important;font:600 11px Inter,sans-serif !important}
:root[data-ccd-sprint="yes"] #AgentStatusEmails{display:none !important}

/* (2) Manual Dial box: its three links as real buttons (same links) */
#NeWManuaLDiaLBox a{display:inline-block;margin:6px 8px;padding:12px 22px;border-radius:12px;text-decoration:none !important;
  font:700 15px Montserrat,Inter,sans-serif !important;background:var(--ccd-gray);color:#3a4256 !important}
#NeWManuaLDiaLBox a[onclick*="'NOW'"]{background:var(--ccd-green);color:#fff !important}
#NeWManuaLDiaLBox a[onclick*="'PREVIEW'"]{background:var(--ccd-blue);color:#fff !important}
#NeWManuaLDiaLBox a:hover{outline:3px solid var(--ccd-gold);text-decoration:none !important}
#NeWManuaLDiaLBox :is(.sd_text,.sh_text){font-size:16px !important}
#NeWManuaLDiaLBox > table > tbody > tr > td > font.sd_text:first-child,#NeWManuaLDiaLBox .sd_text b{font-size:22px !important}
/* Transfer panel: D1-D5 preset links + the group picker tidy */
#TransferMain a:not(:has(img)){display:inline-block;padding:4px 9px;margin:0 2px;border-radius:8px;background:var(--ccd-blue-50,#e8f6fc);
  color:var(--ccd-blue-dk) !important;font:700 12px Inter,sans-serif !important}
#TransferMain select{max-width:300px}

/* (3) VICIdial alert pop-up -> centered CC Docs card with a big OK (the OK is VICIdial's own button) */
#AlertBox{position:fixed !important;left:50% !important;top:42% !important;transform:translate(-50%,-50%)}
#AlertBox > table{width:440px !important}
#AlertBox > table > tbody > tr:first-child td{background:var(--ccd-navy) !important;padding:14px 20px !important}
#AlertBox > table > tbody > tr:first-child font,#AlertBox > table > tbody > tr:first-child b{color:var(--ccd-gold) !important;
  font:700 12px Inter,sans-serif !important;letter-spacing:.1em;text-transform:uppercase}
#AlertBox table table{width:100% !important;background:#fff !important}
#AlertBox img[src*="alert"]{display:none !important}
#AlertBox td[width="50"]{display:none !important}
#AlertBoxContent{display:block;font:600 17px/1.5 Inter,sans-serif !important;color:var(--ccd-ink) !important;padding:6px 8px}
#alert_button{background:var(--ccd-green) !important;color:#fff !important;border:0 !important;border-radius:12px !important;
  padding:12px 48px !important;font:700 16px Montserrat,Inter,sans-serif !important;cursor:pointer}

/* (4) the rest of the 87 boxes that agents can see */
:is(#CloserSelectBox,#TerritorySelectBox,#DiaLInGrouPSelectBox,#blind_monitor_alert_span,#EAcommentsBox){
  position:fixed !important;left:0 !important;top:0 !important;right:0 !important;bottom:0 !important;overflow:auto !important;z-index:175 !important}
:is(#CloserSelectBox,#TerritorySelectBox,#DiaLInGrouPSelectBox,#blind_monitor_alert_span,#EAcommentsBox) > table{width:100% !important;
  min-height:100% !important;height:auto !important;background:rgba(13,20,39,.72) !important;border-spacing:48px 28px !important}
:is(#CloserSelectBox,#TerritorySelectBox,#DiaLInGrouPSelectBox,#blind_monitor_alert_span,#EAcommentsBox) > table > tbody > tr > td{
  background:#fff !important;border-radius:20px;padding:24px 28px !important;box-shadow:0 30px 80px rgba(0,0,0,.35);vertical-align:top !important}
:is(#CloserSelectBox,#TerritorySelectBox,#DiaLInGrouPSelectBox,#blind_monitor_alert_span,#EAcommentsBox) :is(.sd_text,.sh_text){
  color:var(--ccd-navy) !important;font:800 20px Montserrat,Inter,sans-serif !important}
:is(#CloserSelectBox,#TerritorySelectBox,#DiaLInGrouPSelectBox) a{display:inline-block;margin:6px;padding:10px 20px;border-radius:12px;
  background:var(--ccd-gray);color:#3a4256 !important;font:700 14px Inter,sans-serif !important;text-decoration:none}
:is(#CloserSelectBox,#TerritorySelectBox,#DiaLInGrouPSelectBox) a[onclick*="_submit"]{background:var(--ccd-green);color:#fff !important}
/* available-agents-for-transfer list: a clean panel */
#AgentXferViewSpan{background:rgba(13,20,39,.72) !important;z-index:171 !important}
#AgentXferViewSpan > center{display:block;max-width:720px;margin:60px auto;background:#fff;border-radius:20px;padding:24px 28px;
  box-shadow:0 30px 80px rgba(0,0,0,.35)}
#AgentXferViewSpan font.body_text{color:var(--ccd-navy) !important;font:800 18px Montserrat,Inter,sans-serif !important}
#AgentXferViewSpan a{display:inline-block;margin-top:10px;padding:10px 20px;border-radius:12px;background:var(--ccd-gray);
  color:#3a4256 !important;font:700 14px Inter,sans-serif !important;text-decoration:none}
/* small links in the corner: commit / refresh as quiet pills */
#MainCommit a,#ScriptRefresH a,#Script2RefresH a,#FormRefresH a,#EmailRefresH a{display:inline-block;padding:3px 10px;border-radius:999px;
  background:#fff;border:1.5px solid var(--ccd-line);text-decoration:none}
#MainCommit a font,#ScriptRefresH a font,#Script2RefresH a font,#FormRefresH a font,#EmailRefresH a font{color:var(--ccd-navy) !important;
  font:600 11px Inter,sans-serif !important}
/* volume up/down (VICIdial pictures) -> small pills, picture kept on top invisibly for the click */
#VolumeUpSpan,#VolumeDownSpan{display:inline-block;position:relative;width:64px;height:28px;margin:2px;border-radius:9px;background:var(--ccd-gray)}
#VolumeUpSpan img,#VolumeDownSpan img{position:absolute !important;inset:0;width:100% !important;height:100% !important;opacity:0 !important;z-index:2}
#VolumeUpSpan::after,#VolumeDownSpan::after{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font:700 12px Inter,sans-serif;color:#3a4256;pointer-events:none;z-index:1}
#VolumeUpSpan::after{content:"Vol +"}
#VolumeDownSpan::after{content:"Vol \2212"}
:is(#VolumeUpSpan,#VolumeDownSpan):has(img[src*="_off"]){opacity:.45}
/* the green blocks VICIdial lays over the left buttons during the outcome screen: page colour instead of green */
:is(#DispoButtonHideA,#DispoButtonHideB,#DispoButtonHideC) > table{background:var(--ccd-bg) !important}

/* v7.2 callback picker (Jason: "hideous") -> one white card: title, big time pickers, comment, green Save, clean calendars.
   Every field/link is VICIdial's own (CBT_hour / CBT_minute / CBT_ampm / comments / CallBackDatE_submit / day links). */
#CallBackSelectBox > table{background:rgba(13,20,39,.72) !important;border-spacing:48px 24px !important}
#CallBackSelectBox > table > tbody > tr > td{background:#fff !important;border-radius:20px;padding:24px 28px !important;
  box-shadow:0 30px 80px rgba(0,0,0,.35);color:var(--ccd-ink) !important;text-align:left !important}
#CallBackSelectBox .sd_text::before{color:var(--ccd-navy) !important}
#CallBackSelectBox .sh_text,#CallBackSelectBox font{color:var(--ccd-ink-2) !important;font:600 14px Inter,sans-serif !important}
#CallBackSelectBox #CallBackDatEPrinT font,#CallBackSelectBox #CallBackTimEPrinT{color:var(--ccd-blue-dk) !important;font:800 18px Montserrat,Inter,sans-serif !important}
#CallBackSelectBox select{font:700 18px Montserrat,Inter,sans-serif !important;padding:8px 12px !important;min-width:78px;border-radius:12px !important}
#CallBackCommenTsField{width:min(560px,90%) !important;font-size:15px !important;padding:10px 12px !important}
#CallBackTimezone font{display:inline-block;padding:4px 10px;border-radius:999px;background:var(--ccd-blue-50,#e8f6fc);color:var(--ccd-blue-dk) !important;font-weight:700 !important}
#CallBackSelectBox a[onclick^="CallBackDatE_submit"]{display:inline-block;margin:6px 0 10px;padding:13px 30px;border-radius:12px;background:var(--ccd-green);
  color:#fff !important;font:700 16px Montserrat,Inter,sans-serif !important;text-decoration:none}
#CallBackSelectBox a[onclick^="CallBackDatE_submit"] font{color:#fff !important;font:inherit !important}
#CallBackSelectBox a[onclick^="CallBackDatE_submit"]::after{content:"  \2014  save callback";font-weight:500;opacity:.85}
/* calendars: month cards side by side, days as round dates */
#CallBackDateContent > table{border-spacing:14px 10px !important}
#CallBackDateContent table table{border:0 !important;border-collapse:separate !important;border-spacing:3px !important;background:#fff !important;
  border-radius:14px;box-shadow:0 0 0 1px var(--ccd-line)}
#CallBackDateContent table table td{border:0 !important;background:transparent !important;padding:0 !important;text-align:center}
#CallBackDateContent table table td[colspan="7"]{background:var(--ccd-navy) !important;border-radius:10px;padding:6px 0 !important}
#CallBackDateContent table table td[colspan="7"] font{color:#fff !important;font:700 13px Montserrat,Inter,sans-serif !important}
#CallBackDateContent table table font{color:var(--ccd-ink-2) !important;font:600 12px Inter,sans-serif !important}
#CallBackDateContent table table td[bgcolor="#CCCCCC"] font{color:#c3c8d3 !important}
#CallBackDateContent table table a{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;
  text-decoration:none;background:var(--ccd-gray)}
#CallBackDateContent table table a font{color:var(--ccd-navy) !important;font:700 12px Inter,sans-serif !important}
#CallBackDateContent table table a:hover{background:var(--ccd-gold)}
#CallBackDateContent table table td[bgcolor="#FFCCCC"] a,#CallBackDateContent table table td[bgcolor="#FFCCCC"] font{background:var(--ccd-navy);color:#fff !important;border-radius:50%}

/* v7.2 hotkeys list (shown while hovering the Hotkeys pill): clean strip, keys as [n] chips like the result screen */
#HotKeyEntriesBox > table{background:#fff !important;height:auto !important}
#HotKeyEntriesBox tr[bgcolor]{background:#fff !important}
#HotKeyEntriesBox tr:first-child td{padding:10px 16px 4px !important}
#HotKeyEntriesBox tr:first-child .sh_text{font-size:0 !important}
#HotKeyEntriesBox tr:first-child .sh_text::before{content:"HOTKEYS";font:800 12px Inter,sans-serif;letter-spacing:.12em;color:var(--ccd-navy)}
#HotKeyEntriesBox tr:first-child .body_small{font-size:0 !important}
#HotKeyEntriesBox tr:first-child .body_small::before{content:"During a call, press a number: the call hangs up and saves that result.";
  font:500 13px Inter,sans-serif;color:var(--ccd-ink-2)}
#HotKeyEntriesBox tr + tr td{padding:4px 16px 12px !important;vertical-align:top}
#HotKeyEntriesBox .sk_text{font:600 13px/1.9 Inter,sans-serif !important;color:var(--ccd-ink) !important}
#HotKeyEntriesBox .sk_text .skb_text,#HotKeyEntriesBox span[id^="HotKeyBox"] .skb_text{display:inline-block;min-width:26px;margin-right:6px;
  text-align:center;border-radius:7px;background:var(--ccd-navy);color:var(--ccd-gold) !important;font:800 13px/22px Montserrat,Inter,sans-serif !important}
/* v7.2 compact so every calendar date stays inside Jason's 847px window (kf10 rule: no scrolling needed) */
#CallBackSelectBox > table{border-spacing:24px 10px !important}
#CallBackSelectBox > table > tbody > tr > td{padding:14px 20px !important}
#CallBackSelectBox select{font-size:16px !important;padding:5px 10px !important}
#CallBackDateContent > table{border-spacing:10px 6px !important}
#CallBackDateContent table table a{width:22px;height:22px}
#CallBackDateContent table table{border-spacing:2px !important}
#CallBackSelectBox a[onclick^="CallBackDatE_submit"]{padding:10px 26px;margin:2px 0 4px}
#CallBackTimezone font:empty{display:none !important}
/* v7.2.2 callback time zone label (kf60 10:0x: dialer clock = Eastern; Sprint campaigns have VICIdial's own TZ picker OFF,
   so the time saves exactly as typed in ET). Sprint only -- client campaigns keep whatever VICIdial shows. */
:root[data-ccd-sprint="yes"] #CallBackTimezone::before{content:"Eastern Time (ET)";display:inline-block;margin-left:6px;padding:4px 10px;
  border-radius:999px;background:var(--ccd-navy);color:var(--ccd-gold);font:700 12px Inter,sans-serif;vertical-align:middle}

/* ======================= v7.3 polish (kf60 robot pass, 10:2x) ======================= */
/* (1) pause-code box: VICIdial's lime inner table (empty when a campaign has no pause codes) -> white */
#PauseCodeSelectContent table,#PauseCodeSelectContent td,#PauseCodeSelectContent tr{background:transparent !important}
#PauseCodeSelectContent table[height],#PauseCodeSelectContent td[height]{height:auto !important}
/* (2) call timer: only while a call is live or just ended -- VICIdial leaves the last number sitting there while paused */
html[data-ccd-timer]:not([data-ccd-timer=""]) body:not(:has(img[name=livecall][src*="_ON"])):not(:has(img[name=livecall][src*="_DEAD"])) #SecondSspan::after{content:none !important}
/* (3) hotkey list: columns as wide as their lines, no wrapping */
#HotKeyEntriesBox td{width:auto !important}
#HotKeyEntriesBox .sk_text{white-space:nowrap}
/* (4) transfer-agents list: backdrop covers the whole window */
#AgentXferViewSpan{position:fixed !important;inset:0 !important;width:auto !important;height:auto !important;overflow:auto !important}
/* (5) manager-listening alert: a small card, not a full white sheet */
#blind_monitor_alert_span{background:rgba(13,20,39,.72) !important}
#blind_monitor_alert_span > table{width:min(560px,92vw) !important;min-height:0 !important;margin:14vh auto 0 !important;background:transparent !important;border-spacing:0 !important}
#blind_monitor_alert_span > table > tbody > tr > td{text-align:center !important}
#blind_monitor_alert_span .sd_text{display:block;margin-bottom:6px}
#blind_monitor_alert_span font[color="red"],#blind_monitor_alert_span font[color="red"] *{color:#b91c1c !important;font:700 18px/1.4 Inter,sans-serif !important}
#blind_monitor_alert_span a{display:inline-block;margin-top:14px;padding:12px 30px;border-radius:12px;background:var(--ccd-navy);color:#fff !important;
  font:700 15px Montserrat,Inter,sans-serif !important;text-decoration:none}
/* (6) transfer title inside the card (no overlap with the coach text behind it) */
#TransferMain > table{padding-top:24px !important}
#TransferMain::before{top:8px !important;left:16px !important;z-index:3}
#TransferMain input::placeholder{color:#9aa1b2;font-weight:500}

/* v7.4 (kf10 10:5x): pop-up backdrops nearly solid, like plain VICIdial's full-window boxes, so another open box behind
   (e.g. the call log title) never shows through the pause / outcome / callback screens */
:is(#DispoSelectBox,#PauseCodeSelectBox,#PauseCodeMgrAprBox,#CallBackSelectBox,#CustomerGoneBox,#NoneInSessionBox,#WrapupBox,
  #DeactivateDOlDSessioNSpan,#NeWManuaLDiaLBox,#CallBacKsLisTBox,#CalLLoGDisplaYBox,#LeaDInfOBox,#SearcHForMDisplaYBox,
  #SearcHResultSDisplaYBox,#CalLNotesDisplaYBox,#AgentTimeDisplayBox,#ManualValidateBox,#SearcHResultSContactsBox,
  #SearcHContactsDisplaYBox,#PresetsSelectBox,#VMMessageSelectBox,#GroupAliasSelectBox,#SCForceDialBox,#AgenTDisablEBoX,
  #SysteMDisablEBoX,#CloserSelectBox,#TerritorySelectBox,#DiaLInGrouPSelectBox,#EAcommentsBox) > table{background:#121a30 !important}
#blind_monitor_alert_span,#AgentXferViewSpan{background:#121a30 !important}
/* v7.4.1: transfer "Seconds" box wide enough for its label (kf60 v7.3 shot) */
#TransferMain input[name=xferlength]{min-width:76px !important}

/* ======================= v7.5 client screen (Jason 11:5x, his MWROOF call) ======================= */
/* (1) client campaigns: VICIdial's phone stays open as VICIdial sets it, docked top-right at 72% size; skin.js shrinks the
   page so phone + script sit side by side (phone never over the script). Sprint: phone collapsed as before. */
#webphoneSpan{transform:scale(.72);transform-origin:top right}  /* v7.6.3: every campaign, only when opened with Show phone */  /* only if an agent opens it with Show phone */
/* (2) "Calls In Queue" table only when there is at least one call in it */
#callsinqueuedisplay:not(:has(#callsinqueuelist tr:nth-child(2))){display:none !important}
#callsinqueuedisplay td{padding:3px 8px !important}
/* (5) "Please wait" only while VICIdial runs a skip/dial (disabled Dial next shown); during a call VICIdial greys the pause
   spot -> leave it empty instead of a stale "Please wait" */
#DiaLControl:not(:has(> a)):not(:has(> img[src*="dialnextnumber_OFF"]))::after{content:none !important}
/* v7.6.1: on client campaigns "Emails in Queue" stays -> same small pill, with room, so the Calls pill never covers it */
#AgentStatusCalls font.queue_text{margin-right:8px}
#AgentStatusEmails font.queue_text{display:inline-block;padding:3px 10px;border-radius:999px;background:var(--ccd-navy-2);
  color:#d6dcec !important;font:600 11px Inter,sans-serif !important}

/* ======================= v7.6.4 P0 (ReNu agents + Jason 13:43) ======================= */
/* (1) one tidy bottom bar: skin.js moves VICIdial's bottom-row spans (MANUAL DIAL / FAST DIAL / VIEW CALL LOG, callbacks,
   pause code, agent time + notes, dialable leads, calls-in-queue link, agents view) into #ccdBottomBar -- same ids/links;
   VICIdial still shows/hides each one. Wraps instead of overlapping at any width. */
#ccdBottomBar{position:fixed;left:0;right:0;bottom:0;z-index:58;display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;
  padding:7px 270px 7px 12px;background:#fff;border-top:1px solid var(--ccd-line);box-shadow:0 -4px 16px rgba(13,20,39,.06);
  box-sizing:border-box;min-height:46px}
#ccdBottomBar > span{position:static !important;left:auto !important;top:auto !important;display:inline-flex !important;align-items:center;
  gap:6px;flex-wrap:wrap;width:auto !important;height:auto !important}
#ccdBottomBar > span[style*="visibility: hidden"],#ccdBottomBar > span[style*="visibility:hidden"]{display:none !important}
#ccdBottomBar table{width:auto !important}
#ccdBottomBar br{display:none}
#ccdBottomBar font,#ccdBottomBar td{font:500 12px Inter,sans-serif !important;color:var(--ccd-ink-2) !important;white-space:nowrap}
#ccdBottomBar a,#ccdBottomBar #CBstatusSpan{display:inline-block;padding:5px 11px !important;margin:0 !important;border-radius:999px !important;
  background:#fff !important;border:1.5px solid var(--ccd-line) !important;color:var(--ccd-navy) !important;
  font:600 12px Inter,sans-serif !important;text-decoration:none !important;white-space:nowrap;line-height:1.3}
#ccdBottomBar #CBstatusSpan a{border:0 !important;padding:0 !important}
#ccdBottomBar a font{font:inherit !important;color:inherit !important}
#ccdBottomBar a[onclick*="NeWManuaLDiaLCalL('NO'"]{background:var(--ccd-green) !important;border-color:var(--ccd-green) !important;color:#fff !important}
#ccdBottomBar a:hover{border-color:var(--ccd-blue) !important}
/* pills that already sit bottom-right share the bar's row; panels anchored to the bottom sit above the bar */
#hotkeysdisplay{bottom:8px !important}
#webphoneLinkSpan{bottom:8px !important;right:146px !important}
#TransferMain{bottom:62px !important}
#callsinqueuedisplay{bottom:62px !important}
#MaiNfooterspan{padding-bottom:96px}  /* page can scroll everything above the bar */

/* (2) client campaigns: compact left column so it never runs into the bottom of the page (same buttons, same clicks) */
:root:not([data-ccd-sprint="yes"]) :is(#RecorDControl,#WebFormSpan,#WebFormSpanTwo,#WebFormSpanThree,#ParkControl,#XferControl){height:30px !important;margin:3px auto !important}
:root:not([data-ccd-sprint="yes"]) #HangupControl{height:36px !important;margin:4px auto !important}
:root:not([data-ccd-sprint="yes"]) #DiaLControl > a{height:40px !important}
:root:not([data-ccd-sprint="yes"]) :is(#RecorDControl,#WebFormSpan,#WebFormSpanTwo,#WebFormSpanThree,#ParkControl,#XferControl,#HangupControl)::after{font-size:13px !important}
:root:not([data-ccd-sprint="yes"]) #SendDTMF > a{height:30px !important}

/* (3) call state you cannot miss: the whole top bar changes colour (VICIdial's colours back) + bigger state pill */
body:has(img[name=livecall][src*="live_call_ON"]) #Header > table{background:#15803d !important}
body:has(img[name=livecall][src*="_DEAD"]) #Header > table{background:#b91c1c !important}
body:has(#DiaLControl img[src*="vdc_LB_active"]):not(:has(img[name=livecall][src*="_ON"])):not(:has(img[name=livecall][src*="_DEAD"])) #Header > table{background:#075985 !important}
#Tabs td:has(> img[name=livecall])::after{height:30px !important;top:1px !important;font-size:14px !important;box-shadow:0 0 0 2px rgba(255,255,255,.18)}
body:has(#Tabs img[name=livecall][src*="live_call_ON"]) #Tabs td:has(> img[name=livecall])::after{content:"\25CF  LIVE CALL" !important;background:#fff !important;color:#15803d !important}
body:has(#Tabs img[name=livecall][src*="_DEAD"]) #Tabs td:has(> img[name=livecall])::after{content:"\25CF  DEAD CALL" !important;background:#fff !important;color:#b91c1c !important}
/* (6) queue counters: small plain text, never a pill over the header / state pill */
#AgentStatusCalls font.queue_text,#AgentStatusEmails font.queue_text{display:inline !important;padding:0 !important;background:transparent !important;
  font:600 11px Inter,sans-serif !important;color:#c9d1e4 !important;white-space:nowrap}
/* v7.6.6 (kf60 TRENU live-call shot = Jose's screen): during a LIVE or just-ended call VICIdial greys Dial next; that is not
   "Please wait" -- show nothing there, so the red Hang up below is the obvious next step */
body:has(img[name=livecall][src*="_ON"]) #DiaLControl:not(:has(> a))::after,
body:has(img[name=livecall][src*="_DEAD"]) #DiaLControl:not(:has(> a))::after{content:none !important}

/* ======================= v7.6.7 phone on the LEFT (Jason 13:49) ======================= */
/* when VICIdial's phone is open (shown by default on ReNu etc.; via Show phone on Sprint/MWROOF) it docks top-LEFT at 72%
   and the agent screen moves right by the phone's width -- nothing is covered; skin.js already shrinks the page to fit both */
/* v7.6.8 (kf10 BLOCK on 7.6.7: body position+margin + Sprint scroll-lock clipped the WHOLE page): never touch <body>.
   Shift only VICIdial's own absolute screen pieces by the phone's width (margin on an absolute box moves it, nothing else
   changes); window-pinned boxes/bars are not in this list. */
html[data-ccd-phoneopen="yes"] :is(#Header,#Tabs,#MainPanel,#ScriptPanel,#Script2Panel,#FormPanel,#EmailPanel,#CustomerChatPanel,
  #InternalChatPanel,#MainCommit,#ScriptRefresH,#Script2RefresH,#FormRefresH,#EmailRefresH,#SecondSspan,#BannerPanel,#MaiNfooterspan,
  #debugbottomspan,#AgentStatusSpan,#VolumeControlSpan,#AgentMuteANDPreseTDiaL,#AgentMuteSpan,#ViewCommentsBox,#TimerSpan,
  #DispoButtonHideA,#DispoButtonHideB,#DispoButtonHideC,#OtherTabCommentsSpan,#LoadingBox){margin-left:362px !important}
html[data-ccd-phoneopen="yes"] #webphoneSpan{left:6px !important;right:auto !important;top:52px !important;transform-origin:top left !important}
html[data-ccd-phoneopen="yes"] #TransferMain{left:532px !important}
html[data-ccd-phoneopen="yes"] #callsinqueuedisplay{left:378px !important;width:min(1310px,calc(100vw - 400px)) !important}
/* v7.6.8 live-call banner (Jason: "a gorgeous live-call banner with VICIdial's call colors"): the status line under the
   top bar becomes a full-width strip -- green LIVE CALL / red DEAD CALL -- with VICIdial's own call details in it */
body:has(img[name=livecall][src*="live_call_ON"]) #MainStatuSSpan,
body:has(img[name=livecall][src*="_DEAD"]) #MainStatuSSpan{display:inline-block !important;min-width:min(1100px,92vw);box-sizing:border-box;
  padding:1px 14px 1px 10px !important;border-radius:0 999px 999px 0;color:#fff !important;line-height:17px;font-weight:600 !important}
body:has(img[name=livecall][src*="live_call_ON"]) #MainStatuSSpan{background:#15803d !important}
body:has(img[name=livecall][src*="_DEAD"]) #MainStatuSSpan{background:#b91c1c !important}
body:has(img[name=livecall][src*="live_call_ON"]) #MainStatuSSpan *,body:has(img[name=livecall][src*="_DEAD"]) #MainStatuSSpan *{color:#fff !important}
body:has(img[name=livecall][src*="live_call_ON"]) #MainStatuSSpan::before{content:"\25CF  LIVE CALL   ";font-weight:800;letter-spacing:.06em;
  animation:ccd-live 1.6s ease-in-out infinite}
body:has(img[name=livecall][src*="_DEAD"]) #MainStatuSSpan::before{content:"DEAD CALL \2014  hang up, then pick a result   ";font-weight:800;letter-spacing:.04em}
@keyframes ccd-live{0%,100%{opacity:1}50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){body:has(img[name=livecall][src*="live_call_ON"]) #MainStatuSSpan::before{animation:none}}
/* v7.6.9 time indicator on top (Schoens Rene 14:33 "like the old dialer"): the call time (skin.js --ccd-timer, m:ss) is shown
   INSIDE the top LIVE CALL / DEAD CALL pill and the green/red status strip -- always visible, wherever VICIdial put its own
   "seconds:" box. var() has an empty fallback, so a missing number never hides the label. */
body:has(#Tabs img[name=livecall][src*="live_call_ON"]) #Tabs td:has(> img[name=livecall])::after{content:"\25CF  LIVE CALL  " var(--ccd-timer,"") !important;
  font-variant-numeric:tabular-nums}
body:has(#Tabs img[name=livecall][src*="_DEAD"]) #Tabs td:has(> img[name=livecall])::after{content:"\25CF  DEAD CALL  " var(--ccd-timer,"") !important;
  font-variant-numeric:tabular-nums}
#Tabs td:has(> img[name=livecall]){min-width:150px}
body:has(img[name=livecall][src*="live_call_ON"]) #MainStatuSSpan::before{content:"\25CF  LIVE CALL  " var(--ccd-timer,"") "   " !important}
body:has(img[name=livecall][src*="_DEAD"]) #MainStatuSSpan::before{content:"DEAD CALL  " var(--ccd-timer,"") "  \2014  hang up, then pick a result   " !important}
/* v7.6.10 (kf28: 'PAUSED 05:30'): the PAUSED / READY pill shows how long the agent has been in that state (skin.js) */
#Tabs td:has(> img[name=livecall])::after{content:"\25CF  PAUSED  " var(--ccd-state-time,"") ;font-variant-numeric:tabular-nums}
body:has(#DiaLControl img[src*="vdc_LB_active"]) #Tabs td:has(> img[name=livecall])::after{content:"\25CF  READY  " var(--ccd-state-time,"")}
#Tabs td:has(> img[name=livecall]){min-width:170px}
/* v7.6.11 (kf10): WRAP-UP while the outcome screen is open, DIALING while a dial is ringing (skin.js data-ccd-state) */
html[data-ccd-state="wrapup"] #Tabs td:has(> img[name=livecall])::after{content:"\25CF  WRAP-UP  " var(--ccd-state-time,"");background:#3b2a5a;color:#e9d5ff}
html[data-ccd-state="dialing"] #Tabs td:has(> img[name=livecall])::after{content:"\25CF  DIALING  " var(--ccd-state-time,"");background:#06344a;color:#5fd3ff}
/* v7.6.12: lead preview -> pill "PREVIEW mm:ss"; the greyed Dial-next spot shows nothing (the action is DIAL LEAD / SKIP LEAD) */
html[data-ccd-state="preview"] #Tabs td:has(> img[name=livecall])::after{content:"\25CF  PREVIEW  " var(--ccd-state-time,"");background:#1e3a5f;color:#bfdbfe}
body:has(#MainStatuSSpan a[onclick*="ManualDialOnly"]) #DiaLControl:not(:has(> a))::after,
body:has(#MainStatuSSpan a[onclick*="ManualDialSkip"]) #DiaLControl:not(:has(> a))::after{content:none !important}
/* v7.6.14 Eastern clock (Schoens Rene): small pill at the start of the top bar's middle cell, before the queue counters */
#Tabs td:has(#AgentStatusCalls)::before{content:"\1F552  " var(--ccd-clock,"");display:inline-block;margin-right:10px;padding:2px 10px;border-radius:999px;
  background:rgba(255,255,255,.12);color:#fff;font:700 12px Inter,sans-serif;font-variant-numeric:tabular-nums;vertical-align:middle;white-space:nowrap}
html:not([style*="--ccd-clock"]) #Tabs td:has(#AgentStatusCalls)::before{content:none}
/* v7.6.15 (kf10): queue counters readable on any top-bar colour (an older rule painted them dark grey) */
#Tabs #AgentStatusCalls font,#Tabs #AgentStatusEmails font,#Tabs #AgentStatusCalls font.queue_text,#Tabs #AgentStatusEmails font.queue_text{
  color:#fff !important;opacity:.85}
/* v7.6.15 (kf60 v7.6.14 shots): (a) clock and queue counters on ONE line (VICIdial's line break in that cell dropped);
   (b) the Sprint paused-card quote moves with the screen when the phone is open (it peeked out beside Web form 2) */
#Tabs td:has(#AgentStatusCalls) br{display:none !important}
html[data-ccd-phoneopen="yes"] body:has(#MainPanel)::after{margin-left:362px}
/* v7.6.17 (Schoens Rene): lead card at the top of the outcome screen (skin.js leadCard, text only, read-only).
   Compact 2-column grid; comments + call notes capped at 3 lines and scroll inside the card, so the codes and SUBMIT never move far. */
#ccdLeadCard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 18px;margin:10px 28px 0;padding:10px 14px;
  background:#F4F7FC;border:1px solid #DCE3EF;border-radius:12px;font:13px/1.35 Inter,"Segoe UI",Arial,sans-serif;color:#141B2D;text-align:left}
#ccdLeadCard .ccd-lc-row{min-width:0}
#ccdLeadCard .ccd-lc-k{display:block;font:700 10px/1.3 Inter,Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#6B7590}
#ccdLeadCard .ccd-lc-v{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;min-height:1.35em}
#ccdLeadCard .ccd-lc-name .ccd-lc-v{font-weight:800}
#ccdLeadCard .ccd-lc-email{grid-column:span 4}
#ccdLeadCard .ccd-lc-email:has(.ccd-lc-v:empty){display:none}
#ccdLeadCard .ccd-lc-comments,#ccdLeadCard .ccd-lc-notes{grid-column:span 2}
#ccdLeadCard .ccd-lc-comments .ccd-lc-v,#ccdLeadCard .ccd-lc-notes .ccd-lc-v{white-space:pre-wrap;word-break:break-word;font-weight:500;
  max-height:4.05em;overflow-y:auto}
/* v7.6.18 (Schoens Jesus: "I hit START DIALING and it says PAUSE"): the button names the ACTION in big letters and the
   current STATE in a small second line; the pill says what is happening. Phone not Registered -> red warning + red pill. */
#DiaLControl > a:has(> img[src*="vdc_LB_paused"])::after,#DiaLControl > a:has(> img[src*="vdc_LB_active"])::after{padding-bottom:13px}
#DiaLControl > a:has(> img[src*="vdc_LB_active"])::after{content:"\275A\275A  Pause calls"}
#DiaLControl > a:has(> img[src*="vdc_LB_paused"])::before,#DiaLControl > a:has(> img[src*="vdc_LB_active"])::before{
  position:absolute;left:0;right:0;bottom:6px;text-align:center;pointer-events:none;z-index:1;font:600 10.5px/1 Inter,Arial,sans-serif;letter-spacing:.02em}
#DiaLControl > a:has(> img[src*="vdc_LB_paused"])::before{content:"you are paused";color:rgba(255,255,255,.85)}
#DiaLControl > a:has(> img[src*="vdc_LB_active"])::before{content:"you are taking calls";color:rgba(13,20,39,.75)}
html[data-ccd-state="paused"] body #Tabs td:has(> img[name=livecall])::after{content:"\25CF  PAUSED \2014  no calls  " var(--ccd-state-time,"")}
html[data-ccd-state="ready"] body:has(#DiaLControl) #Tabs td:has(> img[name=livecall])::after{content:"\25CF  READY \2014  waiting for calls  " var(--ccd-state-time,"")}
html[data-ccd-phonereg="no"][data-ccd-state="ready"] body:has(#DiaLControl) #Tabs td:has(> img[name=livecall])::after{
  content:"\26A0  READY \2014  PHONE NOT CONNECTED";background:#b91c1c;color:#fff}
html[data-ccd-phonereg="no"] #DiaLControl:has(> a > img[src*="vdc_LB_paused"], > a > img[src*="vdc_LB_active"])::before{
  content:"\26A0  Phone not connected. Wait until the phone says Registered, then start.";display:block;width:140px;margin:0 auto 6px;
  padding:6px 8px;box-sizing:border-box;border-radius:9px;background:#fee2e2;color:#991b1b;font:700 11px/1.3 Inter,Arial,sans-serif;text-align:center}
#Tabs td:has(> img[name=livecall])::after{white-space:nowrap;left:auto !important;right:0 !important;width:max-content;min-width:100%;box-sizing:border-box;padding:0 14px}
/* v7.6.19 (kf60 1023 shot): narrow windows -> the pill puts its words on 2 short lines so it never covers the queue counters */
@media (max-width:1359px){  /* v7.6.20 (kf10): 1200 -> 1360, READY one-liner covered Emails in Queue at a 1280 sign-in */
  html[data-ccd-state="paused"] body #Tabs td:has(> img[name=livecall])::after{content:"\25CF  PAUSED  " var(--ccd-state-time,"") "\A no calls"}
  html[data-ccd-state="ready"] body:has(#DiaLControl) #Tabs td:has(> img[name=livecall])::after{content:"\25CF  READY  " var(--ccd-state-time,"") "\A waiting for calls"}
  html[data-ccd-phonereg="no"][data-ccd-state="ready"] body:has(#DiaLControl) #Tabs td:has(> img[name=livecall])::after{content:"\26A0  READY\A phone not ready"}
  html[data-ccd-state="paused"] body #Tabs td:has(> img[name=livecall])::after,
  html[data-ccd-state="ready"] body:has(#DiaLControl) #Tabs td:has(> img[name=livecall])::after{white-space:pre;line-height:1.1;font-size:11.5px !important;text-align:center}
}
/* v7.6.22 (Rene P0): the last caller's script is still on screen until VICIdial's download of the new one returns ->
   grey it and say so (skin.js data-ccd-stale; cleared when the new script arrives, or after 5 s at most) */
:is(#ScriptContents,#Script2Contents)[data-ccd-stale]{position:relative}
:is(#ScriptContents,#Script2Contents)[data-ccd-stale] > *{visibility:hidden !important;pointer-events:none !important}
/* v7.6.59 (kf51): the PREVIOUS caller's script is fully hidden (not just faded) from the grey moment; only our caller card
   and our hotkey list stay visible inside the box */
:is(#ScriptContents,#Script2Contents)[data-ccd-stale] :is(#ccdNoScriptCard,#ccdHkLegend){visibility:visible !important;pointer-events:auto !important}
:is(#ScriptContents,#Script2Contents)[data-ccd-stale]::before{content:"Loading this caller\2019s script\2026";position:sticky;top:0;display:block;
  z-index:5;margin:-2px 0 10px;padding:10px 14px;border-radius:10px;background:#fff7d6;color:#7a5b00;font:700 15px Inter,Arial,sans-serif;text-align:center}
/* v7.6.22 layout (kf10/kf28): (1) the open Agents View box starts BELOW the top bar, never over the clock / counters;
   (2) narrow sign-ins: clock + "Calls in Queue" + "Emails in Queue" stay on one line (smaller type, no wrap);
   (3) VICIdial's "other tab comments" box fits the window (its 65-column text box ran ~80 px off the right) */
#AgentViewSpan{top:76px !important;max-height:calc(100vh - 150px) !important}
@media (max-width:1199px){
  #Tabs td:has(#AgentStatusCalls){white-space:nowrap}
  #Tabs #AgentStatusCalls font,#Tabs #AgentStatusEmails font{font-size:10.5px !important}
  #Tabs td:has(#AgentStatusCalls)::before{margin-right:6px;padding:2px 7px;font-size:11px}
  #Tabs td:has(#AgentStatusCalls) > font.body_text{font-size:9px !important}
  #Tabs td:has(> img[name=livecall]){min-width:128px !important}
}
#other_tab_comments{width:340px !important;max-width:340px;box-sizing:border-box}
#OtherTabCommentsSpan{left:auto !important;right:12px !important;margin-left:0 !important}
/* v7.6.23: the customer form is wider than VICIdial's own 760 (narrow sign-ins) -> the top bar follows the real width (skin.js --ccd-main-w) */
html[style*="--ccd-main-w"] :is(#Header,#Tabs) > table{width:var(--ccd-main-w) !important}
/* v7.6.48 (Jason Loom 384d): Sprint stretches the script panel to the window too (skin.js --ccd-script-w), not just the bar */
html[data-ccd-sprint="yes"][style*="--ccd-script-w"] :is(#ScriptPanel,#Script2Panel) > table{width:var(--ccd-script-w) !important}
html[data-ccd-sprint="yes"][style*="--ccd-script-w"] :is(#ScriptContents,#Script2Contents){width:calc(var(--ccd-script-w) - 6px) !important}  /* VICIdial .noscroll_script = table - 6 px */
html[data-ccd-sprint="yes"][style*="--ccd-script-w"] :is(#ScriptContents,#Script2Contents) > table{width:100% !important}  /* VICIdial wraps the script in <table width=script_width> */
/* v7.6.23 (kf28/kf60): script never reloaded -> stays grey and says so; FORM tab holding another caller's form -> grey + warning */
:is(#ScriptContents,#Script2Contents)[data-ccd-stale="2"]::before{content:"Script not loaded for this caller \2014  click \201Crefresh\201D (top right of the script) to load it";background:#fee2e2;color:#991b1b}
#FormContents[data-ccd-stale]{position:relative}
#FormContents[data-ccd-stale] > iframe{opacity:.15 !important;filter:blur(1.5px);pointer-events:none !important}  /* kf10: nobody can type into the previous caller's form */
#FormContents[data-ccd-stale]::before{content:"\26A0  This form is for the PREVIOUS caller \2014  click \201Creset form\201D (top right) to load this caller\2019s form";position:absolute;
  left:12px;right:12px;top:12px;z-index:5;padding:12px 14px;border-radius:10px;background:#fee2e2;color:#991b1b;font:700 15px Inter,Arial,sans-serif;text-align:center}
/* v7.6.26 (ReNu Erick): INBOUND live call = royal blue top bar + call strip + "INBOUND" in the pill (skin.js data-ccd-inbound) */
html[data-ccd-inbound="yes"] body:has(img[name=livecall][src*="live_call_ON"]) #Header > table{background:#4169E1 !important}
html[data-ccd-inbound="yes"] body:has(img[name=livecall][src*="live_call_ON"]) #MainStatuSSpan{background:#4169E1 !important}
html[data-ccd-inbound="yes"] body:has(img[name=livecall][src*="live_call_ON"]) #MainStatuSSpan::before{content:"\25CF  INBOUND CALL  " var(--ccd-timer,"") "   " !important}
html[data-ccd-inbound="yes"] body:has(#Tabs img[name=livecall][src*="live_call_ON"]) #Tabs td:has(> img[name=livecall])::after{content:"\25CF  INBOUND  " var(--ccd-timer,"") !important;color:#4169E1 !important}
/* v7.6.27 (kf10/kf28): (3) 'Logged in as ...' line white on the inbound royal blue bar */
html[data-ccd-inbound="yes"] body:has(img[name=livecall][src*="live_call_ON"]) :is(#Header font,#Header .queue_text,#Header td){color:rgba(255,255,255,.85) !important}
/* (1) compact top bar (skin.js data-ccd-tight, set only when the bar measured too wide or the counters spilled below it) */
html[data-ccd-tight="yes"] #Tabs td:has(#AgentStatusCalls){white-space:nowrap !important;vertical-align:top !important;padding-top:3px !important}
html[data-ccd-tight="yes"] #Tabs td:has(#AgentStatusCalls) > font.body_text{display:inline-block;vertical-align:middle;font-size:0 !important;text-align:left;line-height:1.15}
html[data-ccd-tight="yes"] #Tabs #AgentStatusCalls,html[data-ccd-tight="yes"] #Tabs #AgentStatusEmails{display:block}
html[data-ccd-tight="yes"] #Tabs #AgentStatusCalls font,html[data-ccd-tight="yes"] #Tabs #AgentStatusEmails font{font-size:10px !important;line-height:1.15 !important}
html[data-ccd-tight="yes"] #Tabs td:has(#AgentStatusCalls)::before{margin-right:6px;padding:1px 6px;font-size:10.5px}
html[data-ccd-tight="yes"] #Tabs td:has(> img[name=livecall]){min-width:104px !important}
html[data-ccd-tight="yes"] #Tabs td:has(> img[name=livecall])::after{font-size:11px !important;padding:0 10px}
html[data-ccd-tight="yes"][data-ccd-state="paused"] body #Tabs td:has(> img[name=livecall])::after{content:"\25CF  PAUSED  " var(--ccd-state-time,"") "\A no calls";white-space:pre;line-height:1.1;text-align:center}
html[data-ccd-tight="yes"][data-ccd-state="ready"] body:has(#DiaLControl) #Tabs td:has(> img[name=livecall])::after{content:"\25CF  READY  " var(--ccd-state-time,"") "\A waiting for calls";white-space:pre;line-height:1.1;text-align:center}
html[data-ccd-tight="yes"][data-ccd-phonereg="no"][data-ccd-state="ready"] body:has(#DiaLControl) #Tabs td:has(> img[name=livecall])::after{content:"\26A0  READY\A phone not ready"}
/* v7.6.29 (Jason: fill the whole screen): script / coach boxes reach the bottom button bar (skin.js --ccd-script-h) */
html[style*="--ccd-script-h"] :is(#ScriptContents,#Script2Contents){height:var(--ccd-script-h) !important;max-height:none !important}
/* v7.6.30 (Jason: compact the dark lead box): VICIdial turns every line break in a script's source into <br>, so
   Sprint's block-built script got a blank 17 px line between every block (and a tall band under the goal bar).
   Sprint only: hide the <br>s that sit directly in a container that holds blocks; a text block's own <br> stays. */
:root[data-ccd-sprint="yes"] :is(#ScriptContents,#Script2Contents) div:has(> div) > br{display:none !important}
/* v7.6.31: 'Back to outcomes' on the callback screen (skin.js callbackBack) */
#CallBackSelectBox #ccdCbBack,#ccdCbBack{display:inline-block;margin:0 16px 14px 0;padding:10px 18px !important;border-radius:999px;background:#eef2f8 !important;
  color:var(--ccd-navy,#0d1427) !important;font:700 16px/1 Inter,Arial,sans-serif !important;text-decoration:none !important;
  border:1.5px solid #9aa6bd;vertical-align:middle}
#CallBackSelectBox #ccdCbBack:hover,#ccdCbBack:hover{background:#dfe6f1 !important;border-color:var(--ccd-navy,#0d1427)}
/* v7.6.33 (ReNu Adolfo via kf52/kf28): VICIdial's comment-HISTORY button ('--' / count / 'HIDE') was a dark blob under
   Comments. Its wrapper becomes a light 'History' pill; VICIdial's own button lies transparent over the whole pill (still
   shows its count or HIDE at the right), so a click anywhere is VICIdial's own click. Look only. */
:is(#viewcommentsdisplay,#dispoviewcommentsdisplay,#otherviewcommentsdisplay,#cbviewcommentsdisplay){position:relative;display:inline-block;
  min-width:112px;height:30px;margin:4px 0;padding:0 12px;box-sizing:border-box;border-radius:999px;background:#eef2f8;border:1.5px solid #9aa6bd;
  font:700 13px/27px Inter,Arial,sans-serif;color:var(--ccd-navy,#0d1427);vertical-align:middle;text-align:left}
:is(#viewcommentsdisplay,#dispoviewcommentsdisplay,#otherviewcommentsdisplay,#cbviewcommentsdisplay):empty{display:none}
:is(#viewcommentsdisplay,#dispoviewcommentsdisplay,#otherviewcommentsdisplay,#cbviewcommentsdisplay)::before{content:"\1F4DC  History"}
:is(#viewcommentsdisplay,#dispoviewcommentsdisplay,#otherviewcommentsdisplay,#cbviewcommentsdisplay) input[type=button]{position:absolute !important;
  inset:0;width:100% !important;height:100% !important;margin:0 !important;padding:0 12px !important;border:0 !important;border-radius:999px !important;
  background:transparent !important;color:var(--ccd-navy,#0d1427) !important;box-shadow:none !important;text-align:right;cursor:pointer;
  font:700 12px Inter,Arial,sans-serif !important;opacity:.75}
:is(#viewcommentsdisplay,#dispoviewcommentsdisplay,#otherviewcommentsdisplay,#cbviewcommentsdisplay):hover{background:#dfe6f1;border-color:var(--ccd-navy,#0d1427)}
:is(#viewcommentsdisplay,#dispoviewcommentsdisplay,#otherviewcommentsdisplay,#cbviewcommentsdisplay):has(> input[value*="History" i])::before{content:"\1F4DC"}
/* v7.6.35 (Schoens Cristhian: no LOGOUT): on campaigns with inbound groups VICIdial puts 'GROUPS' + <br> + 'LOGOUT' in the
   top bar's right cell, so LOGOUT dropped to a 2nd line -- right under the PAUSED pill, covered. Keep both on the top line. */
#Header td[align="right"] br{display:none !important}
#Header td[align="right"]{white-space:nowrap !important}
#Header td[align="right"] a + a{margin-left:12px}
/* v7.6.36: the lead's live clock in the Sprint script (skin.js hisClock) */
.ccd-hisclock:not(:empty){margin-left:8px;font-weight:700;color:#fbbf24;white-space:nowrap}
/* v7.6.37 (Jason): callbacks list -- full comment, one line per callback, big DIAL, overdue red at the top (skin.js) */
#CallBacKsLisT table{width:100% !important}
#CallBacKsLisT tr.ccd-cb-custrow{display:none !important}
#CallBacKsLisT td{vertical-align:middle !important}
#CallBacKsLisT tr > td:nth-child(4){white-space:normal !important;text-align:left !important;max-width:520px;overflow-wrap:anywhere}
#CallBacKsLisT .ccd-cb-cust{display:block;margin-top:2px;font:600 11px Inter,Arial,sans-serif;color:#64748b;white-space:nowrap}
#CallBacKsLisT a[onclick^="new_callback_call"][onclick*="'MAIN'"]{display:inline-block;padding:8px 18px;border-radius:10px;background:var(--ccd-green,#16a34a);
  color:#fff !important;font:800 14px Inter,Arial,sans-serif !important;text-decoration:none !important}
#CallBacKsLisTBox #CallBacKsLisT tr.ccd-cb-overdue,#CallBacKsLisTBox #CallBacKsLisT tr.ccd-cb-overdue > td{background:#fee2e2 !important}
#CallBacKsLisT tr.ccd-cb-overdue{box-shadow:inset 4px 0 0 #dc2626}
#CallBacKsLisT tr.ccd-cb-overdue > td:nth-child(2) font{color:#b91c1c !important;font-weight:800 !important}
/* v7.6.39 (Jason): Sprint hotkey legend in the empty space right of the page (shown only when there is room) */
#ccdHkLegend{display:none}
html[data-ccd-hkleg="yes"] #ccdHkLegend.inline{display:block;position:static;width:auto;max-height:none;margin:0 0 10px;padding:10px 12px;border-radius:12px;
  background:#0d1427;color:#e2e8f0;font:600 14px/1.35 Inter,Arial,sans-serif}
html[data-ccd-hkleg="yes"][style*="--ccd-hk-w"] #ccdHkLegend{display:block;position:fixed;right:8px;top:84px;width:var(--ccd-hk-w);z-index:40;
  max-height:none;overflow:visible;box-sizing:border-box;padding:12px 14px;border-radius:14px;background:#0d1427;color:#e2e8f0;
  box-shadow:0 10px 30px rgba(13,20,39,.25);font:600 15px/1.35 Inter,Arial,sans-serif}
#ccdHkLegend .ccd-hk-h{font:800 13px Inter,Arial,sans-serif;letter-spacing:.12em;color:#fbbf24}
#ccdHkLegend .ccd-hk-st{margin:4px 0 10px;font:600 12px Inter,Arial,sans-serif;color:#94a3b8}
#ccdHkLegend .ccd-hk-st.on{color:#4ade80}
#ccdHkLegend .ccd-hk-r{display:flex;align-items:baseline;gap:10px;padding:5px 0;border-top:1px solid rgba(255,255,255,.08)}
#ccdHkLegend .ccd-hk-r b{flex:0 0 30px;text-align:center;padding:3px 0;border-radius:8px;background:#fbbf24;color:#0d1427;font:800 17px Inter,Arial,sans-serif}
#ccdHkLegend .ccd-hk-c{flex:0 0 auto;font-weight:800;color:#fff}
#ccdHkLegend .ccd-hk-n{flex:1 1 auto;color:#cbd5e1;font-weight:500;font-size:14px}
/* v7.6.41 (Jason): big PAUSE / RESUME state button in the top bar, right after the clock (skin.js) */
#ccdPauseBtn{display:inline-block;vertical-align:middle;margin:0 10px 0 2px;padding:7px 16px !important;border-radius:999px;border:2px solid transparent;
  font:800 13px/1 Inter,Arial,sans-serif !important;letter-spacing:.03em;cursor:pointer;white-space:nowrap;color:#fff !important}
#ccdPauseBtn[data-mode="ready"]{background:#16a34a !important;border-color:#86efac}
#ccdPauseBtn[data-mode="paused"]{background:#dc2626 !important;border-color:#fca5a5}
#ccdPauseBtn[data-mode="preview"]{background:#1d4ed8 !important;border-color:#93c5fd}
#ccdPauseBtn[data-mode="goafter"]{background:#16a34a !important;border-color:#86efac}
#ccdPauseBtn[data-mode="stopafter"]{background:#dc2626 !important;border-color:#fca5a5}
#ccdPauseBtn:is([data-mode="call"],[data-mode="wrap"],[data-mode="wait"]){background:#334155 !important;color:#cbd5e1 !important;cursor:default}
#ccdPauseBtn:not(:disabled):hover{filter:brightness(1.08)}
/* v7.6.41 (Jason via kf28): CALENDAR button, lower right, Sprint only ($10,000 Challenge booking, new tab). It sits in
   the bottom bar's row just left of 'Hide phone' + 'Hotkeys' (right:146px, about 120px wide / 16px), and the bar keeps that much more
   room free on Sprint, so it never covers a VICIdial link. */
#ccdCalBtn{position:fixed;right:278px;bottom:8px;z-index:60;display:inline-flex;align-items:center;height:34px;box-sizing:border-box;
  padding:0 16px;border-radius:999px;background:#0aa4db;color:#fff !important;font:800 13px/1 Inter,Arial,sans-serif;letter-spacing:.04em;
  text-decoration:none !important;border:1.5px solid #0aa4db;white-space:nowrap}
#ccdCalBtn:hover{background:#0883af;border-color:#0883af}
html:has(#ccdCalBtn) #ccdBottomBar{padding-right:430px}
/* v7.6.49 (Jason via kf22): plain-words DIAL ALERT on Sprint (skin.js re-words VICIdial's 'Call Rejected' text) */
#TimerContentSpan .ccd-dialalert{display:block;font:800 18px/1.3 Inter,Arial,sans-serif;color:#991b1b}
#TimerContentSpan .ccd-dialalert-code{margin-top:6px;font:500 12px Inter,Arial,sans-serif;color:#64748b}
/* v7.6.50 (Jason, kf51 VOICEMAIL-CHAIN-10): voicemail drop-down under the VMLEFT hotkey row, closed by default */
#ccdHkLegend .ccd-vm{margin:2px 0 6px 40px;font:600 13px/1.35 Inter,Arial,sans-serif}
#ccdHkLegend .ccd-vm summary{cursor:pointer;color:#fbbf24;list-style:revert}
#ccdHkLegend .ccd-vm-w{margin-top:6px;padding:8px 10px;border-radius:8px;background:#162040;color:#f1f5f9;font:500 14px/1.45 Inter,Arial,sans-serif}
/* v7.6.56 (Julio MWROOF): the caller's details card inside a 'Script not loaded' box (skin.js) -- not greyed */
:is(#ScriptContents,#Script2Contents)[data-ccd-stale] > #ccdNoScriptCard{opacity:1 !important;filter:none !important}
:is(#ScriptContents,#Script2Contents)[data-ccd-stale] #ccdNoScriptCard *{visibility:visible !important}
#ccdNoScriptCard{position:sticky;top:44px;z-index:4;margin:8px 14px 10px;padding:12px 16px;border-radius:12px;background:#fff;
  border:2px solid #0aa4db;box-shadow:0 6px 18px rgba(13,20,39,.12);font:500 15px/1.45 Inter,"Segoe UI",Arial,sans-serif;color:#141b2d}
#ccdNoScriptCard .ccd-ns-h{font:800 12px Inter,"Segoe UI",Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#0883af;margin-bottom:6px}
#ccdNoScriptCard{display:block !important;max-width:640px}
#ccdNoScriptCard .ccd-ns-h{display:block !important}
#ccdNoScriptCard .ccd-ns-r{display:flex !important;gap:12px;padding:3px 0;width:auto !important}
#ccdNoScriptCard .ccd-ns-k{flex:0 0 150px;color:#64748b !important;font:600 14px Inter,"Segoe UI",Arial,sans-serif !important;text-transform:none !important;letter-spacing:0 !important}
#ccdNoScriptCard .ccd-ns-v{flex:1 1 auto;color:#141b2d !important;font:700 16px Inter,"Segoe UI",Arial,sans-serif !important}
/* v7.6.57 (kf33/kf36): 'pick his time zone' choice above Book a call when the lead's zone is unknown */
#ccdTzPick{position:fixed;right:278px;bottom:50px;z-index:70;width:300px;padding:12px;border-radius:12px;background:#0d1427;color:#fff;
  box-shadow:0 10px 30px rgba(13,20,39,.35);display:flex;flex-wrap:wrap;gap:6px;font:600 13px Inter,"Segoe UI",Arial,sans-serif}
#ccdTzPick .ccd-tz-h{flex:1 1 100%;margin-bottom:4px;color:#fbbf24;font-weight:800}
#ccdTzPick button{flex:1 1 30%;padding:7px 6px;border-radius:8px;border:0;background:#0aa4db;color:#fff;font:700 13px Inter,"Segoe UI",Arial,sans-serif;cursor:pointer}
#ccdTzPick button:hover{background:#0883af}
#ccdTzPick .ccd-tz-x{background:#334155}
/* v7.6.61 (ReNu 10-14): INBOUND call on an already-booked lead -> banner (skin.js bookedBanner). Below every VICIdial box. */
#ccdBooked{position:fixed;top:104px;right:24px;width:min(560px,calc(100vw - 340px));z-index:140;background:#fff7ed;
  border:2px solid #ea580c;border-radius:14px;box-shadow:0 12px 32px rgba(13,20,39,.25);padding:12px 16px;
  color:var(--ccd-ink,#141b2d);font:500 15px/1.45 Inter,"Segoe UI",Arial,sans-serif}
#ccdBooked .ccd-bk-top{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
#ccdBooked .ccd-bk-t{color:#c2410c;font:800 18px Montserrat,Inter,"Segoe UI",Arial,sans-serif;letter-spacing:.02em}
#ccdBooked .ccd-bk-w{flex:1 1 auto;font-weight:600}
#ccdBooked .ccd-bk-x{margin-left:auto;padding:5px 12px;border-radius:999px;border:1.5px solid #ea580c;background:#fff;
  color:#c2410c;font:700 12px Inter,"Segoe UI",Arial,sans-serif;cursor:pointer}
#ccdBooked .ccd-bk-n{margin-top:6px;max-height:7.5em;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
#ccdBooked .ccd-bk-k{font-weight:700}

/* 10-28 Jason: the result screen minimize button works again. VICIdial minimize sets top:340px inline; the v6.2 pin above
   (top:0 !important) overrode it. Minimized = slide the box down to the bottom 45% so the lead and script above show. */
#DispoSelectBox[style*="top: 340px"],#DispoSelectBox[style*="top:340px"]{top:55vh !important}
