/* CBSTRIP1 2026-11-14 (Grant): the 4px callback bar at the row's right edge (red = callback overdue, blue = callback due later today,
   drawn by vg-layout LY7d/CBL1 as an inset shadow on the Actions cell) expands when the mouse is over the Actions cell or the bar is
   clicked, and shows the callback time. vg-lead-info sets data-vg-cbtime / data-vg-cbkind on the Actions cell. */
html.vgl #leadsTable > tbody > tr > td:last-child[data-vg-cbtime] { position: sticky; }
html.vgl #leadsTable > tbody > tr > td:last-child[data-vg-cbtime]::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 4px; box-sizing: border-box; z-index: 3;
  display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap; padding: 0;
  font: 700 10.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; color: #fff;
  background: #ef4444; cursor: pointer; transition: width .15s ease, padding .15s ease;
}
html.vgl #leadsTable > tbody > tr > td:last-child[data-vg-cbkind="today"]::after { background: #3b82f6; }
/* CBSTRIP1b (Grant 11/14): open only while the mouse is to the RIGHT of the 3-dots button (js sets tr.vg-cb-hover), never over the buttons;
   the label lets clicks through (pointer-events: none) so the eye / archive / menu buttons stay clickable underneath. */
html.vgl #leadsTable > tbody > tr.vg-cb-hover > td:last-child[data-vg-cbtime]::after,
html.vgl #leadsTable > tbody > tr.vg-cb-open > td:last-child[data-vg-cbtime]::after { content: attr(data-vg-cbtime); width: auto; padding: 0 8px 0 10px; }
html.vgl #leadsTable > tbody > tr > td:last-child[data-vg-cbtime]::after { pointer-events: none; }
html.vgl:not(.vg-dark) #leadsTable > tbody > tr > td:last-child[data-vg-cbkind="overdue"]::after { background: #dc2626; }
/* the action buttons sit under the expanded label, so keep them clickable when it is closed */
html.vgl #leadsTable > tbody > tr > td:last-child[data-vg-cbtime] > .action-buttons { position: relative; z-index: 1; }
/* BIND1 2026-11-18 (Grant t720u): Ready to Bind = green bar (outranks red overdue / blue today), green button right of Schedule Callback,
   green card in the lead's callback list. vg-lead-info sets tr.vg-row-bind + data-vg-cbkind="bind"; same look in all three themes. */
html.vgl:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) #leadsTable > tbody > tr.vg-row-bind > td:last-child { box-shadow: inset -4px 0 0 #16a34a !important; }
html.vgl.vg-dark:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) #leadsTable > tbody > tr.vg-row-bind > td:last-child { box-shadow: inset -4px 0 0 #22c55e !important; }
html.vgl:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) #leadsTable > tbody > tr > td:last-child[data-vg-cbkind="bind"]::after { background: #16a34a !important; }
html.vgl.vg-dark:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) #leadsTable > tbody > tr > td:last-child[data-vg-cbkind="bind"]::after { background: #22c55e !important; }
html:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) #lead-profile-container button.vg-bind-btn, html:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) button.vg-bind-btn { background: #16a34a !important; background-image: none !important; border: 1px solid #16a34a !important; color: #fff !important; }
html:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) #lead-profile-container button.vg-bind-btn:hover, html:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) button.vg-bind-btn:hover { background: #15803d !important; border-color: #15803d !important; color: #fff !important; }
html:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) button.vg-bind-btn i { color: #fff !important; }
html:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) #lead-profile-container .vg-bind-card { background: #dcfce7 !important; border-left: 4px solid #16a34a !important; }
html:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) #lead-profile-container .vg-bind-card, html:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) #lead-profile-container .vg-bind-card div:first-child > div:first-child { color: #15803d; }
html.vg-dark:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) #lead-profile-container .vg-bind-card { background: rgba(22,163,74,.16) !important; }
html.vg-dark:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) #lead-profile-container .vg-bind-card div:first-child > div:first-child { color: #4ade80 !important; }
html:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) #leadsTable td.lead-name > .vg-cb-pill.vg-cb-pill-bind, html:not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) .vg-cb-pill.vg-cb-pill-bind { background: #16a34a !important; border-color: #16a34a !important; color: #fff !important; }
html:is(.vgt-t-saas,.vgt-t-classic):not(#lb0):not(#lb1):not(#lb2):not(#lb3):not(#lb4):not(#lb5):not(#lb6):not(#lb7):not(#lb8):not(#lb9):not(#lb10):not(#lb11):not(#lb12):not(#lb13):not(#lb14):not(#lb15) #lead-profile-container .vg-bind-card button[onclick^="showCallbackScheduler"] { color: #fff !important; }
/* COLD1 2026-11-19 (Grant t730u): purple cold-lead line = no response 48 h after the info-request email (weekends not counted).
   vg-lead-info sets tr.vg-row-cold + data-vg-cold (tooltip text) on the Actions cell from /api/leads/cold. Fixed 4px at the far right,
   NEVER expands (no hover/open rule). With a callback bar (red / blue / green) the bar moves 6px left and still expands from there.
   Same look in all three themes (dark = lighter purple). */
html.vgl #leadsTable > tbody > tr > td:last-child[data-vg-cold] { position: sticky; }
html.vgl:not(#lc0):not(#lc1):not(#lc2):not(#lc3):not(#lc4):not(#lc5):not(#lc6):not(#lc7):not(#lc8):not(#lc9):not(#lc10):not(#lc11):not(#lc12):not(#lc13):not(#lc14):not(#lc15):not(#lc16) #leadsTable > tbody > tr > td:last-child[data-vg-cold]::before { content: "" !important; position: absolute !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important; width: 4px !important; height: auto !important; padding: 0 !important; margin: 0 !important; background: #7c3aed !important; z-index: 4 !important; pointer-events: none !important; transition: none !important; display: block !important; }
html.vgl.vg-dark:not(#lc0):not(#lc1):not(#lc2):not(#lc3):not(#lc4):not(#lc5):not(#lc6):not(#lc7):not(#lc8):not(#lc9):not(#lc10):not(#lc11):not(#lc12):not(#lc13):not(#lc14):not(#lc15):not(#lc16) #leadsTable > tbody > tr > td:last-child[data-vg-cold]::before { background: #a78bfa !important; }
html.vgl:not(#lc0):not(#lc1):not(#lc2):not(#lc3):not(#lc4):not(#lc5):not(#lc6):not(#lc7):not(#lc8):not(#lc9):not(#lc10):not(#lc11):not(#lc12):not(#lc13):not(#lc14):not(#lc15):not(#lc16) #leadsTable > tbody > tr.vg-row-cold > td:last-child[data-vg-cold] { box-shadow: none !important; }
html.vgl:not(#lc0):not(#lc1):not(#lc2):not(#lc3):not(#lc4):not(#lc5):not(#lc6):not(#lc7):not(#lc8):not(#lc9):not(#lc10):not(#lc11):not(#lc12):not(#lc13):not(#lc14):not(#lc15):not(#lc16) #leadsTable > tbody > tr.vg-row-cold > td:last-child[data-vg-cold][data-vg-cbtime]::after { right: 6px !important; }
/* COLD2 2026-11-21 (Grant): same purple line, darker once the no-response time passes 96 h (weekends not counted): vg-lead-info sets data-vg-cold-deep="1". */
html.vgl:not(#lc0):not(#lc1):not(#lc2):not(#lc3):not(#lc4):not(#lc5):not(#lc6):not(#lc7):not(#lc8):not(#lc9):not(#lc10):not(#lc11):not(#lc12):not(#lc13):not(#lc14):not(#lc15):not(#lc16) #leadsTable > tbody > tr > td:last-child[data-vg-cold][data-vg-cold-deep]::before { background: #5b21b6 !important; }
html.vgl.vg-dark:not(#lc0):not(#lc1):not(#lc2):not(#lc3):not(#lc4):not(#lc5):not(#lc6):not(#lc7):not(#lc8):not(#lc9):not(#lc10):not(#lc11):not(#lc12):not(#lc13):not(#lc14):not(#lc15):not(#lc16) #leadsTable > tbody > tr > td:last-child[data-vg-cold][data-vg-cold-deep]::before { background: #7c3aed !important; }
