/* vg-profile-sections-20261024.css — collapsible lead-profile sections + sticky jump bar (light + dark). */
@media screen {
#lead-profile-container .modal-header[data-vgps-hd] { position: sticky !important; top: var(--vgps-top, 0px) !important; margin-top: var(--vgps-top, 0px) !important; z-index: 30 !important; flex-wrap: wrap !important; row-gap: 8px; padding: 12px 20px 8px !important; background-color: #fff; }
#lead-profile-container .modal-header[data-vgps-hd] > h2 { font-size: 18px !important; }
#lead-profile-container .modal-header[data-vgps-hd] > .close-btn { top: 6px !important; right: 14px !important; }
#lead-profile-container .vgps-bar { flex: 1 0 100%; display: flex; align-items: center; gap: 8px; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.28); padding-top: 7px; font: 500 12px/1.2 Inter, system-ui, sans-serif; }
#lead-profile-container .vgps-bar { height: 30px; box-sizing: border-box; flex-wrap: nowrap !important; }
#lead-profile-container .vgps-jump { display: flex; flex-wrap: nowrap; gap: 0; min-width: 0; flex: 1 1 auto; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
#lead-profile-container .vgps-jump::-webkit-scrollbar { display: none; }
#lead-profile-container .modal-content[data-vgps-mc] { scrollbar-gutter: stable; }
#lead-profile-container .modal-content[data-vgps-mc]::after { content: ""; display: block; height: var(--vgps-pad, 0px); pointer-events: none; }
#lead-profile-container .vgps-bar button { all: unset; box-sizing: border-box; cursor: pointer; padding: 3px 8px; font: inherit; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.88); border-bottom: 2px solid transparent; white-space: nowrap; }
#lead-profile-container .vgps-bar button b { font-weight: 600; color: rgba(255,255,255,.7); margin-left: 2px; font-variant-numeric: tabular-nums; }
#lead-profile-container .vgps-bar button:hover { color: #fff; background: rgba(255,255,255,.12); }
#lead-profile-container .vgps-bar button.vgps-on { color: #fff; border-bottom-color: #fbbf24; }
#lead-profile-container .vgps-bar button:focus-visible { outline: 1px solid #f59e0b; outline-offset: -1px; }
#lead-profile-container .vgps-all { display: flex; flex: none; border-left: 1px solid rgba(255,255,255,.28); padding-left: 6px; }
#lead-profile-container .vgps-all button { color: rgba(255,255,255,.8); text-transform: none; letter-spacing: 0; }

#lead-profile-container .profile-section[data-vgps] > [data-vgps-head] { cursor: pointer; user-select: none; }
#lead-profile-container [data-vgps-title] { display: flex !important; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .06em; font-size: 13px !important; }
#lead-profile-container [data-vgps-title]::before { content: ""; flex: none; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 4px 3px 1px; opacity: .7; transition: transform .12s; }
#lead-profile-container .profile-section[data-vgps-c] [data-vgps-title]::before { transform: rotate(-45deg); margin: 0 4px 0 0; }
#lead-profile-container .profile-section[data-vgps-c] [data-vgps-title][data-vgps-sum]::after { content: attr(data-vgps-sum); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12px; opacity: .65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
#lead-profile-container .profile-section[data-vgps-c] > :not([data-vgps-head]) { display: none !important; }
#lead-profile-container .profile-section[data-vgps-c] { padding-top: 9px !important; padding-bottom: 9px !important; margin-bottom: 6px !important; }
#lead-profile-container .profile-section[data-vgps-c] > [data-vgps-head] { margin-bottom: 0 !important; }
#lead-profile-container .profile-section[data-vgps-c] > [data-vgps-head] [id^="callback-status-"],
#lead-profile-container .profile-section[data-vgps-c] > [data-vgps-head] [id^="reach-out-todo-"] { display: none !important; }
#lead-profile-container .profile-section[data-vgps] > [data-vgps-head]:focus-visible { outline: 1px solid #f59e0b; outline-offset: 2px; }

/* dark theme */
html.vg-dark #lead-profile-container .modal-header[data-vgps-hd] { background-color: var(--vgd-panel, #0f1724) !important; }
html.vg-dark #lead-profile-container .modal-header[data-vgps-hd] > .close-btn { color: #cbd5e1 !important; }
html.vg-dark #lead-profile-container .vgps-bar { border-top-color: rgba(148,163,184,.18); }
html.vg-dark #lead-profile-container .vgps-bar button { color: #a3b1c6; }
html.vg-dark #lead-profile-container .vgps-bar button b { color: #7c8ba1; font-family: var(--vgd-mono, ui-monospace, monospace); }
html.vg-dark #lead-profile-container .vgps-bar button:hover { color: #e5e7eb; background: rgba(148,163,184,.08); }
html.vg-dark #lead-profile-container .vgps-bar button.vgps-on { color: #f8fafc; border-bottom-color: var(--vgd-amber, #f59e0b); }
html.vg-dark #lead-profile-container .vgps-all { border-left-color: rgba(148,163,184,.18); }
html.vg-dark #lead-profile-container .vgps-all button { color: #7c8ba1; }
html.vg-dark #lead-profile-container .profile-section[data-vgps] > [data-vgps-head]:hover [data-vgps-title] { color: #f8fafc; }

/* collapsed bar polish (high specificity so the theme's header underline/padding yields) */
#lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2):not(#vgps3):not(#vgps4) .profile-section[data-vgps-c] [data-vgps-title] { border-bottom: 0 !important; padding-bottom: 0 !important; margin-bottom: 0 !important; }
#lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2):not(#vgps3):not(#vgps4) .profile-section[data-vgps-c] > [data-vgps-head] { border-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; margin: 0 !important; height: 28px !important; min-height: 28px !important; max-height: 28px !important; overflow: hidden !important; display: flex !important; align-items: center !important; flex-wrap: nowrap !important; box-sizing: border-box !important; }
#lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2):not(#vgps3):not(#vgps4) .profile-section[data-vgps-c] { padding-top: 8px !important; padding-bottom: 8px !important; }
#lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2):not(#vgps3):not(#vgps4) .profile-section[data-vgps-c] > [data-vgps-head] > :not([data-vgps-title]):not(button):not(:has(button)) { display: none !important; }
#lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2):not(#vgps3):not(#vgps4) .profile-section[data-vgps-c] [data-vgps-title] { margin: 0 !important; padding: 0 !important; line-height: 28px !important; flex: 1 1 auto; min-width: 0; }
#lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2):not(#vgps3):not(#vgps4) .profile-section[data-vgps-c] > [data-vgps-head] button { padding: 3px 10px !important; font-size: 12px !important; line-height: 18px !important; }
}
@media screen {
#lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2) .profile-section[data-vgps="call-recording"], #lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2) .profile-section[data-vgps="call-transcript"] { padding-left: 20px !important; padding-right: 20px !important; }
}
@media screen {
/* PS3: current-section underline drawn inside the button (never clipped by the fixed-height, scrolling bar) */
#lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2) .vgps-bar .vgps-jump button { line-height: 20px !important; height: 26px !important; border-bottom-color: transparent !important; }
#lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2) .vgps-bar .vgps-jump button.vgps-on { color: #fff !important; background: linear-gradient(#fbbf24, #fbbf24) left bottom / 100% 2px no-repeat, rgba(255,255,255,.10) !important; }
html.vg-dark #lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2) .vgps-bar .vgps-jump button.vgps-on { color: #f8fafc !important; background: linear-gradient(var(--vgd-amber, #f59e0b), var(--vgd-amber, #f59e0b)) left bottom / 100% 2px no-repeat, rgba(245,158,11,.10) !important; }
}
@media screen {
/* PS3: the bar never grows past the modal; tabs scroll inside it (last tabs stay reachable) */
#lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2) .modal-header > .vgps-bar { flex: 1 1 100% !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
#lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2) .vgps-bar > .vgps-all { flex: 0 0 auto !important; }
#lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2) .vgps-bar > .vgps-jump { flex: 1 1 0 !important; min-width: 0 !important; scroll-padding-inline: 24px; }
}
/* ps3: light profile header reaches the modal edges (it sat inside the 30px side padding of .modal-content) */
@media screen {
  html:not(.vg-dark) #lead-profile-container .modal-content > .modal-header { margin-left: -30px !important; margin-right: -30px !important; padding-left: 30px !important; padding-right: 30px !important; }
}
/* ps3: every section tab stays visible (Transcript was cut off at 1024-1366px): the strip wraps to a second row */
@media screen {
  #lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2) .modal-header > .vgps-bar { height: auto !important; min-height: 30px; align-items: flex-start !important; }
  #lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2) .vgps-bar > .vgps-jump { flex-wrap: wrap !important; overflow: visible !important; row-gap: 2px; }
  #lead-profile-container:not(#vgps0):not(#vgps1):not(#vgps2) .vgps-bar > .vgps-all { align-self: flex-start; }
}
@media print {
#lead-profile-container .vgps-bar { display: none !important; }
#lead-profile-container [data-vgps-title]::before, #lead-profile-container [data-vgps-title]::after { content: none !important; }
}
