/* CallCore "Comms Timeline" — the Salesforce package's stereo call timeline, ported for the brochure (see
   comms-timeline.js). Values are the package's own CSS (communicationTimeline, timelineItem, callInsightsPanel,
   audioPlayer, followUpList, conversationTranscriptModal, stereoCallPlayer, stereoPlayerTools, callInsightsStyles),
   re-scoped: LWC's shadow DOM kept each component's class names apart, so here every rule is under .cctl (the widget
   root, and its layer on <body> for the dialog / tooltip / menus / toasts) and a component class:
     .tl card + filters · .ti row · .cip expanded panel · .ap waveform player · .ful follow-ups · .ctm dialog ·
     .scp stereo player. No Tailwind dependency. */

.cctl {
  --sf-page: #f3f2f2;
  --sf-border: #e5e5e5;
  --sf-hair: #ececec;
  --sf-ink: #181818;
  --sf-ink2: #3e3e3c;
  --sf-label: #706e6b;
  --sf-link: #0176d3;
  --sans: -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--sf-ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
.cctl *, .cctl *::before, .cctl *::after { box-sizing: border-box; }
.cctl button { font-family: inherit; }
.cctl svg { display: block; }
.cctl :focus-visible { outline: 2px solid #1b96ff; outline-offset: 2px; border-radius: 6px; }
.cctl[data-cctl-root] { position: relative; z-index: 10; max-width: 640px; min-width: 0; }

/* ===================================================================== stage (in flow; hero flourishes at the end) */
.cctl .cc-stage { perspective: 1700px; }
.cctl .cc-tilt { position: relative; transform: none; transform-origin: center; }
.cctl .cc-frame {
  position: relative;
  background: var(--sf-page);
  border-radius: 14px;
  padding: clamp(10px, 2.5vw, 22px);
  box-shadow: 0 1px 2px rgba(16, 22, 26, .12), 0 24px 60px -30px rgba(16, 22, 26, .5);
  border: 1px solid rgba(0, 0, 0, .06);
}
.cctl .sf-tab { display: flex; align-items: center; gap: 8px; padding: 2px 4px 12px; color: var(--sf-ink2); }
.cctl .sf-tab .dots { display: flex; gap: 5px; }
.cctl .sf-tab .dots i { width: 9px; height: 9px; border-radius: 50%; background: #c9c7c5; display: block; }
.cctl .sf-tab .crumb { font-size: .72rem; color: var(--sf-label); font-weight: 600; }
.cctl .sf-tab .crumb b { color: var(--sf-ink2); }
.cctl .cc-hint { margin: 12px 4px 2px; font-size: .72rem; color: #8c8c8c; text-align: center; }
.cctl .cc-hint b { color: #5c5c5c; font-weight: 600; }

/* ===================================================================== communicationTimeline: the card */
.cctl .tl.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(19, 23, 38, .08), 0 0 0 1px rgba(19, 23, 38, .05);
  overflow: hidden;
}
.cctl .tl .cardHeader {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px; background: #e4e4ec; border-bottom: 1px solid #d2d2da;
}
.cctl .tl .cardTitle { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cctl .tl .cardIcon { width: 30px; height: 30px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center; color: var(--sf-link); background: #eaf1fc; }
.cctl .tl .cardIcon svg { width: 17px; height: 17px; }
.cctl .tl .cardTitleText { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; color: #1a1f2e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cctl .tl .demoChip { flex: none; font-size: .66rem; font-weight: 700; color: #5c5c5c; background: #fff; border: 1px solid #d2d2da; border-radius: 999px; padding: 1px 9px; cursor: default; }
.cctl .tl .cardBody { padding: 10px 18px 8px; }
.cctl .tl .list { list-style: none; padding: 0; margin: 0; }
/* "Earlier": the rest of the calls, after a moment's spin (communicationTimeline's loadEarlier pill) */
.cctl .tl .more { display: flex; align-items: center; justify-content: center; min-height: 31px; border-top: 1px solid #ececec; padding: 12px 0 6px; margin-top: 2px; }
.cctl .tl .more[hidden] { display: none; }
.cctl .tl .loadPill { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid #e6e4ec; color: var(--sf-label); font: inherit; font-size: .78rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.cctl .tl .loadPill:hover { background: #faf9fb; }
.cctl .tl .pillIcon { width: 14px; height: 14px; }
.cctl .tl .more .spinner { width: 1rem; height: 1rem; border-radius: 999px; border: 2px solid rgba(20, 49, 94, .25); border-top-color: #14315e; animation: ccSpin .8s linear infinite; }
.cctl .tl .empty { padding: .5rem 0; font-size: .84rem; color: var(--sf-label); }
.cctl .tl .loadErr { padding: 1rem 0; font-size: .84rem; color: #ba0517; }
.cctl .row { padding: .3rem 0 0; }
.cctl .row[hidden] { display: none; }
.cctl .row.ccIn { animation: ctFadeInUp .55s ease both; }
@keyframes ctFadeInUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cctl .ccload { display: flex; align-items: center; justify-content: center; min-height: 420px; }
.cctl .ccspin { width: 32px; height: 32px; border-radius: 50%; border: 3px solid rgba(1, 118, 211, .15); border-top-color: var(--sf-link); animation: ccSpin .7s linear infinite; }
@keyframes ccSpin { to { transform: rotate(360deg); } }

/* insightFilters */
.cctl .filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 2px 0 8px; }
.cctl .filters[hidden] { display: none; }
.cctl .fchip {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e5e5e5; border-radius: 999px; background: #fff;
  color: var(--sf-ink2); padding: 3px 10px; font-weight: 500; font-size: .72rem; line-height: 1.5; cursor: pointer;
}
.cctl .fchip:hover { background: #f7f8fa; }
.cctl .fchip b { font-variant-numeric: tabular-nums; }
.cctl .fchip.on { border-color: var(--sf-link); background: #eaf1fc; color: var(--sf-link); }
.cctl .mkChip { width: 16px; height: 16px; border-radius: 4px; margin-left: -4px; }

/* ===================================================================== callInsightsStyles (shared) */
.cctl .mk { width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; flex: none; border: 0; padding: 0; position: relative; font: 800 .72rem/1 var(--sans); }
.cctl button.mk { cursor: pointer; }
.cctl button.mk:not(.pin):hover { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.cctl .mkSmall { width: 18px; height: 18px; border-radius: 5px; }
.cctl .mk .g { width: 62%; height: 62%; }
.cctl .mk .t { font-weight: 800; font-size: .72rem; line-height: 1; }
.cctl .mk .t.small { font-size: .6rem; letter-spacing: -.02em; }
.cctl .mk-green { background: #dcefe2; color: #267a44; }
.cctl .mk-amber { background: #fbeccf; color: #a35a00; }
.cctl .mk-red { background: #fadfdc; color: #b50713; }
.cctl .mk-blue { background: #eaf1fc; color: #0176d3; }
.cctl .mk-violet { background: #ece6fa; color: #5b3fb0; }
.cctl .mk-grey { background: #ededed; color: #3e3e3c; }
.cctl .mk-neutral { background: #f3f2f2; color: #706e6b; }
.cctl .mk-teal { background: #dff3f1; color: #0b7a70; }
.cctl .mood { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.cctl .mood-positive { background: #2e844a; }
.cctl .mood-mixed { background: #c16905; }
.cctl .mood-negative { background: #b50713; }
.cctl .mood-neutral { background: #a0998f; }
.cctl .amount { font-weight: 700; color: #0b7a70; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cctl .role-handler { color: #0176d3; }
.cctl .role-external { color: #2e844a; }
.cctl .role-unknown { color: #706e6b; }
.cctl .role-mixed { color: #5a6b85; }
@keyframes ccShimmer { to { background-position: -200% 0; } }

/* followUpTaskIcon + the task chip */
.cctl .ico { width: 16px; height: 16px; }
.cctl .ico.open { color: #706e6b; }
.cctl .ico.done { color: #2e844a; }
.cctl .ico.today { color: #e8a200; }
.cctl .ico.overdue { color: #ea001e; }
.cctl .taskChip { flex: none; display: inline-flex; align-items: center; gap: 3px; font-size: .7rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cctl .taskChip.task-Overdue { color: #ea001e; }
.cctl .taskChip.task-DueToday { color: #b07b00; }
.cctl .taskChip.task-Open { color: #706e6b; }

/* the floating tooltip (playerInteractions.FloatingTip), on the layer */
.cctl .floatTip {
  position: fixed; left: 0; top: 0; z-index: 10060; max-width: 300px; width: max-content;
  background: #fff; border-radius: 10px; box-shadow: 0 10px 34px rgba(19, 23, 38, .2), 0 0 0 1px rgba(19, 23, 38, .06);
  padding: 8px 11px; font: 400 .75rem/1.45 var(--sans); color: #3e3e3c; white-space: pre-line; pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity .12s ease;
}
.cctl .floatTip.show { opacity: 1; visibility: visible; }
/* the self-demo's tooltip while the hero card is tilted: inside the card's frame, so it tilts with it */
.cctl .floatTip.inFrame { position: absolute; z-index: 70; }
.cctl .floatTip b { color: #181818; font-weight: 700; }

/* demo-only toast: what Salesforce would do */
.cctl .toastHost { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 10050; display: grid; gap: 8px; width: min(440px, calc(100vw - 24px)); pointer-events: none; }
.cctl .toast {
  display: flex; gap: 10px; align-items: flex-start; background: #1a1f2e; color: #fff; border-radius: 10px; padding: 10px 14px;
  font-size: .8rem; line-height: 1.45; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.cctl .toast.show { opacity: 1; transform: none; }
.cctl .toastTag { flex: none; font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: #0176d3; border-radius: 4px; padding: 2px 6px; margin-top: 1px; }

/* ===================================================================== timelineItem: one row */
.cctl .ti { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; }
.cctl .ti .gutter { display: flex; flex-direction: column; align-items: center; }
.cctl .ti .badge { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.cctl .ti .badgeIcon { width: 16px; height: 16px; }
.cctl .ti .badge-in { background: #dcefe2; color: #267a44; }
.cctl .ti .badge-out { background: #e3eaf5; color: #1b3a6b; }
.cctl .ti .badge-missed { background: #fadfdc; color: #b50713; }
.cctl .ti .badge-unanswered { background: #ededed; color: #8c8c8c; }
.cctl .ti .rail { width: 2px; flex: 1; background: #ececec; margin-top: 6px; }
.cctl .ti .rail.lastRail { display: none; }
.cctl .ti .body { min-width: 0; padding-bottom: 18px; border-radius: 8px; }
.cctl .ti .topline { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cctl .ti .who { display: flex; align-items: center; gap: 7px; min-width: 0; }
.cctl .ti .recIcon { width: 17px; height: 17px; border-radius: 4px; color: #fff; background: #a094ed; display: grid; place-items: center; flex: none; }
.cctl .ti .recIcon svg { width: 11px; height: 11px; }
.cctl .ti .recName { font-size: .8125rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; color: var(--sf-ink); }
.cctl .ti .phoneHeadline { font-size: .8125rem; font-weight: 500; color: var(--sf-ink); font-variant-numeric: tabular-nums; }
.cctl .ti .when { flex: none; font-size: .75rem; color: #8c8c8c; white-space: nowrap; }
.cctl .ti .whenWrap { flex: none; display: inline-flex; align-items: center; gap: 6px; align-self: center; }
.cctl .ti .taskSlot:empty { display: none; }
.cctl .ti .subline { display: flex; align-items: center; gap: 7px; margin-top: 5px; font-size: .78rem; color: var(--sf-label); min-width: 0; }
.cctl .ti .num { color: var(--sf-ink2); font-variant-numeric: tabular-nums; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cctl .ti .arrowSep { color: #c9c9c9; flex: none; }
.cctl .ti .handler { color: var(--sf-ink2); white-space: nowrap; }
.cctl .ti .right { display: flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; margin-left: auto; }
.cctl .ti .titleBadge {
  min-width: 0; max-width: 24em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .72rem; font-weight: 600;
  color: var(--sf-ink2); background: #fff; border: 1px solid #d2d2da; border-radius: 999px; padding: 1px 9px;
}
.cctl .ti .duration { font-weight: 600; color: var(--sf-ink2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cctl .ti .iconBtn { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: none; background: none; color: var(--sf-link); cursor: pointer; padding: 0; }
.cctl .ti .iconBtn svg { width: 16px; height: 16px; }
.cctl .ti .iconBtn[hidden] { display: none; }
.cctl .ti .sep { flex: none; width: 14px; display: flex; align-items: center; justify-content: center; }
.cctl .ti .transcriptInline { width: 14px; height: 14px; position: relative; }
.cctl .ti .transcriptInline svg { width: 14px; height: 14px; }
.cctl .ti .summaryChevron { float: right; margin-left: 8px; }
.cctl .ti .state { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; white-space: nowrap; }
.cctl .ti .state-missed { color: #ba0517; }
.cctl .ti .state-unanswered { color: #8c8c8c; }
.cctl .ti .dot { width: 6px; height: 6px; border-radius: 50%; background: #ba0517; }
.cctl .ti .summary { margin-top: 9px; font-size: .875rem; line-height: 1.5; color: var(--sf-ink2); overflow: hidden; transition: max-height .24s ease; }
.cctl .ti .summary.collapsed { max-height: 3em; }
.cctl .ti .summary.expanded { max-height: 40em; }
.cctl .ti .missedNote { margin-top: 9px; font-size: .84rem; line-height: 1.5; color: #a0998f; font-style: italic; }
.cctl .ti .expand { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s ease; }
.cctl .ti .expand.open { grid-template-rows: 1fr; margin-top: 11px; }
.cctl .ti .expandInner { overflow: hidden; min-height: 0; }
.cctl .ti .chevIcon { width: 16px; height: 16px; transition: transform .2s ease; }
.cctl .ti .chevOpen { transform: rotate(180deg); }
.cctl .ti .viewTranscript { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0 0 10px; color: var(--sf-link); font-size: .78rem; font-weight: 600; cursor: pointer; }
.cctl .ti .viewTranscript svg { width: 14px; height: 14px; }
.cctl .ti .viewTranscript:hover { text-decoration: underline; }
.cctl .ti .signals { display: flex; align-items: center; gap: 5px; margin-top: 7px; flex-wrap: wrap; min-width: 0; }
.cctl .ti .sigsep { width: 1px; height: 14px; background: #ececec; margin: 0 3px; }
.cctl .ti .qaChip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 2px 9px 2px 7px; font-weight: 700; font-size: .7rem; line-height: 1.5; white-space: nowrap; border: 0; cursor: pointer; position: relative; }
.cctl .ti .qaChip svg { width: 12px; height: 12px; }
.cctl .ti .qa-good { background: #dcefe2; color: #267a44; }
.cctl .ti .qa-coaching { background: #fbeccf; color: #a35a00; }
.cctl .ti .qa-review { background: #fadfdc; color: #b50713; }
.cctl .ti .qa-neutral { background: #ededed; color: #3e3e3c; }
.cctl .ti .relChip { display: inline-flex; align-items: center; border-radius: 999px; padding: 1px 8px; font-size: .68rem; font-weight: 600; color: #5c5c5c; border: 1px solid #dddbda; white-space: nowrap; position: relative; cursor: default; }
.cctl .ti .relChip.rel-triage { font-style: italic; font-weight: 500; color: #706e6b; }
.cctl .ti .analysing { display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; color: #706e6b; font-style: italic; }
.cctl .ti .liveDot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #2e844a; flex: none; }
.cctl .ti .ghost { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(90deg, #ececec, #f7f8fa, #ececec); background-size: 200% 100%; animation: ccShimmer 1.4s linear infinite; }

/* ===================================================================== callInsightsPanel: the expanded row */
.cctl .cip { display: grid; gap: 14px; padding-top: 4px; font-size: .8rem; color: var(--sf-ink2); }
.cctl .cip .loading { display: grid; gap: 8px; }
.cctl .cip .ghostBar, .cctl .cip .ghostLine { display: block; border-radius: 8px; background: linear-gradient(90deg, #ececec, #f7f8fa, #ececec); background-size: 200% 100%; animation: ccShimmer 1.4s linear infinite; }
.cctl .cip .ghostBar { height: 50px; }
.cctl .cip .ghostLine { height: 8px; width: 60%; }
.cctl .cip .muted { color: #706e6b; font-size: .78rem; }
.cctl .cip .stack { display: grid; gap: 14px; min-width: 0; }
.cctl .cip .sec h4 { margin: 0 0 6px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #706e6b; line-height: 1.4; }
.cctl .cip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cctl .cip .ts { color: var(--sf-link); font-variant-numeric: tabular-nums; }
.cctl .cip .chapRow {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px; width: calc(100% + 12px); text-align: left; border: 0; background: none;
  padding: 4px 6px; margin: 0 -6px; border-radius: 6px; font-size: .8rem; line-height: 1.5; color: var(--sf-ink2); cursor: pointer; transition: background .3s ease;
}
.cctl .cip .chapRow:hover { background: #f7f8fa; }
.cctl .cip .chapText { display: flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; }
.cctl .cip .chapText .mood { align-self: center; }
.cctl .cip .chapTitle { flex: none; }
.cctl .cip .chapSummary { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: .75rem; color: #706e6b; font-weight: 400; }
.cctl .cip .chapDash { flex: none; color: #b0adab; font-weight: 400; }
.cctl .cip .chapRow.now { background: #f1f6fd; color: #181818; font-weight: 600; }
.cctl .cip .triageNote { color: #706e6b; font-size: .8rem; font-style: italic; }
.cctl .cip .relHead { font-weight: 700; color: #181818; }
.cctl .cip .relHistory { color: #706e6b; font-size: .74rem; margin-top: 1px; }
.cctl .cip .relReason, .cctl .cip .relRollUp { margin: 5px 0 0; }
.cctl .cip .relRollUp { color: #5c5c5c; border-left: 2px solid #ececec; padding-left: 8px; }
.cctl .cip .relCovered { margin-top: 6px; font-size: .76rem; }
.cctl .cip .relCoveredLabel { color: #706e6b; }
.cctl .cip .relCoveredList { margin-top: 2px; }
.cctl .relCoveredList li::before { content: '\2713'; color: #267a44; font-weight: 800; margin-right: 6px; }
.cctl .cip .relToggle { border: 0; background: none; padding: 0; margin-top: 6px; font-size: .76rem; color: var(--sf-link); cursor: pointer; }
.cctl .cip .relToggle:hover { text-decoration: underline; }
/* CORE-879: the moments this call follows up on, and those carried so far; each a link to its call and time */
.cctl .relRefs { margin-top: 6px; font-size: .76rem; }
.cctl .relRefsLabel { color: #706e6b; }
.cctl .relRefList { list-style: none; margin: 2px 0 0; padding: 0; }
.cctl .relRef { display: flex; gap: 6px; align-items: baseline; width: 100%; border: 0; background: none; padding: 1px 0; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.cctl .relRefWhen { flex: none; color: var(--sf-link, #0b5cab); font-variant-numeric: tabular-nums; }
.cctl .relRefLabel { min-width: 0; }
.cctl .relRef:hover .relRefWhen, .cctl .relRef:focus-visible .relRefWhen { text-decoration: underline; }
.cctl .relFollows .relRefWhen::before { content: '\21A9'; margin-right: 4px; }
.cctl .scp .relRefs { margin-top: 8px; font-size: .78rem; color: var(--ink2); }
.cctl .scp .relRefsLabel { color: var(--label); }
.cctl .scp .relRefWhen { color: var(--link); }
.cctl .row.ccJumped { animation: ccJumped 1.6s ease; }
@keyframes ccJumped { 0%, 30% { background: rgba(11, 92, 171, .10); } 100% { background: transparent; } }

/* ===================================================================== audioPlayer: the waveform player */
.cctl .ap .wplayer { display: flex; align-items: center; gap: 12px; background: #f7f8fa; border: 1px solid #ececec; border-radius: 10px; padding: 10px 12px; }
.cctl .ap .playBtn { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; background: #0176d3; }
.cctl .ap .playBtn:hover { background: #0369c0; }
.cctl .ap .icon { width: 13px; height: 13px; fill: #fff; }
.cctl .ap .spinner { width: 14px; height: 14px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: ccSpin .8s linear infinite; }
.cctl .ap .hiddenAudio, .cctl .scp .hiddenAudio { display: none; }
.cctl .ap .wv { flex: 1; min-width: 0; position: relative; }
.cctl .ap .chap { position: relative; height: 0; opacity: 0; font-size: .66rem; color: #706e6b; overflow: hidden; transition: height .25s ease, opacity .25s ease; }
.cctl .ap .wplayer.exp .chap { height: 20px; opacity: 1; }
.cctl .ap .chapBtn {
  position: absolute; top: 0; bottom: 2px; border: 0; border-right: 1px solid #ececec; background: none; color: inherit; font-size: .66rem;
  line-height: 1.5; text-align: left; padding: 2px 6px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
}
.cctl .ap .chapBtn:last-child { border-right: 0; }
.cctl .ap .chapBtn:hover { color: #181818; }
.cctl .ap .chapBtn.now { color: #0176d3; font-weight: 700; box-shadow: inset 0 -2px #0176d3; }
.cctl .ap .wcan { position: relative; }
.cctl .ap canvas.wave { display: block; width: 100%; height: 28px; cursor: pointer; transition: height .28s cubic-bezier(.2, .7, .2, 1); }
.cctl .ap .wplayer.exp canvas.wave { height: 64px; }
.cctl .ap .pins { position: absolute; inset: 0; pointer-events: none; }
.cctl .ap .pin { position: absolute; width: 16px; height: 16px; border-radius: 5px; transform: translateX(-50%); pointer-events: auto; box-shadow: 0 0 0 1.5px #f7f8fa; transition: transform .15s ease; }
.cctl .ap .pin:hover, .cctl .ap .pin.demoNow { transform: translateX(-50%) scale(1.25); }
.cctl .ap .pinTop { top: -3px; }
.cctl .ap .pinBottom { bottom: -3px; }
.cctl .ap .pinMid { top: 50%; margin-top: -8px; }
.cctl .ap .wplayer:not(.exp) .pin { width: 12px; height: 12px; border-radius: 4px; }
.cctl .ap .wplayer:not(.exp) .pinMid { margin-top: -6px; }
.cctl .ap .chan { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; font-size: .68rem; color: #706e6b; margin-top: 4px; }
.cctl .ap .chan b { font-weight: 700; }
.cctl .ap .chanSide { color: #706e6b; }
.cctl .ap .chanSide.role-handler b { color: #0176d3; }
.cctl .ap .chanSide.role-external b { color: #2e844a; }
.cctl .ap .ptime { flex: none; min-width: 74px; text-align: right; font-size: .72rem; color: #706e6b; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cctl .ap .perr { margin-top: 6px; font-size: .75rem; color: #b50713; }
.cctl .ap .perr[hidden] { display: none; }

/* WaveSurface (both players): the bright copy of the bars, revealed up to the playhead by a clipping box, and the
   playhead line, moved by transform. Neither takes clicks: the canvas under them does. */
.cctl .played { position: absolute; top: 0; left: 0; bottom: 0; width: 0; overflow: hidden; pointer-events: none; }
.cctl .played canvas { position: absolute; top: 0; left: 0; height: 100%; display: block; }
.cctl .playhead { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: #181818; pointer-events: none; visibility: hidden; will-change: transform; }
.cctl .scp .playhead { width: 2px; margin-left: -1px; }

/* ===================================================================== followUpList */
.cctl .fuList { list-style: none; margin: 0; padding: 0; }
.cctl .fuList li { display: flex; align-items: flex-start; gap: 8px; font-size: .8rem; color: var(--sf-ink2); padding: 4px 0; }
.cctl .ful .slot { position: relative; flex: none; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.cctl .ful .iconBtn { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; padding: 0; border: 0; border-radius: 4px; background: none; cursor: pointer; }
.cctl .ful .iconBtn:hover { background: #f3f3f3; }
.cctl .ful .iconBtn svg { width: 16px; height: 16px; }
.cctl .ful .create { color: #0176d3; }
.cctl .ful .body { display: grid; gap: 1px; min-width: 0; flex: 1 1 auto; padding: 0; }
.cctl .ful .note { font-size: .74rem; color: #706e6b; }
.cctl .ful .tag { flex: none; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #a35a00; background: #fbeccf; border-radius: 4px; padding: 1px 6px; margin-top: 2px; }
.cctl .ful .tag.stale { color: #706e6b; background: #f3f3f3; }
.cctl .ful .linked { margin-top: 4px; font-size: .72rem; color: #8c8c8c; }
.cctl .fuMenu { position: fixed; z-index: 10030; display: grid; min-width: 200px; padding: 4px; background: #fff; border: 1px solid #d8dde6; border-radius: 8px; box-shadow: 0 4px 14px rgba(24, 24, 24, .14); }
.cctl .fuMenu button { text-align: left; border: 0; background: none; padding: 6px 10px; border-radius: 5px; font-size: .8rem; color: #181818; cursor: pointer; white-space: nowrap; }
.cctl .fuMenu button:hover, .cctl .fuMenu button:focus-visible { background: #f1f6fd; outline: none; }
.cctl .fuScrim { position: fixed; inset: 0; z-index: 10020; }

/* ===================================================================== conversationTranscriptModal: the dialog */
.cctl .ctm.backdrop {
  position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem;
  background: rgba(8, 12, 20, .45); animation: dlgBackdropIn .2s ease both;
}
@keyframes dlgBackdropIn { from { opacity: 0; } to { opacity: 1; } }
.cctl .ctm .dialog {
  display: flex; flex-direction: column; width: clamp(640px, 72vw, 900px); max-width: 96vw; max-height: 88vh; background: #fff; border-radius: 12px;
  box-shadow: 0 16px 44px rgba(19, 23, 38, .22), 0 0 0 1px rgba(19, 23, 38, .05); overflow: hidden; animation: dlgIn .2s ease both; transition: width .25s ease;
}
.cctl .ctm .dialog.wide { width: min(1320px, 96vw); height: 92vh; max-height: 92vh; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cctl .ctm .dlgHeader { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: #e4e4ec; border-bottom: 1px solid #d2d2da; position: relative; z-index: 50; }
.cctl .ctm .dlgTitleWrap { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.cctl .ctm .dlgTitleWrap .metaRow { flex: 1; min-width: 0; margin-left: 8px; }
.cctl .ctm .dlgBack { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px 0 6px; border: 1px solid #c9c9d3; border-radius: 14px; background: #fff; color: #0176d3; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.cctl .ctm .dlgBack:hover, .cctl .ctm .dlgBack:focus-visible { background: #eaf1fc; border-color: #0176d3; }
.cctl .ctm .dlgBack .backArrow { font-size: 1.25rem; line-height: 1; margin-top: -2px; }
.cctl .ctm .dlgIcon { flex: none; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: #eaf1fc; color: #0176d3; }
.cctl .ctm .dlgIcon svg { width: 15px; height: 15px; }
.cctl .ctm .dlgTitle { flex: none; font-size: 1rem; font-weight: 600; color: #1a1f2e; }
.cctl .ctm .metaRow { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .8125rem; color: #706e6b; }
.cctl .ctm .metaRow .dot, .cctl .ctm .metaRow .arrow { color: #b9b9c0; }
.cctl .ctm .fallback { color: #181818; font-weight: 600; }
.cctl .ctm .muted { color: #706e6b; }
.cctl .ctm .titleBadge { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; font-weight: 600; color: #3e3e3c; background: #fff; border: 1px solid #d2d2da; border-radius: 999px; padding: 2px 10px; margin-left: 4px; }
.cctl .ctm .dlgHeaderRight { flex: none; display: flex; align-items: center; gap: 14px; }
.cctl .ctm .toolsHost { display: flex; align-items: center; gap: 14px; }
.cctl .ctm .toolsHost:empty { display: none; }
.cctl .ctm .headerDivider { width: 1px; height: 20px; background: #c9c9d2; }
.cctl .ctm .closeX { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: none; border-radius: 6px; background: none; color: #706e6b; cursor: pointer; }
.cctl .ctm .closeX:hover { background: #d7d7df; color: #3e3e3c; }
.cctl .ctm .closeX svg { width: 14px; height: 14px; }
.cctl .ctm .metaBand { flex: none; display: flex; align-items: center; gap: 22px; padding: 14px 20px; background: #fafafa; border-bottom: 1px solid #f0f0f0; }
.cctl .ctm .metaText { flex: 1; min-width: 0; }
.cctl .ctm .summary { font-size: .84rem; line-height: 1.55; color: #3e3e3c; }
.cctl .ctm .dlgBody { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.cctl .ctm .bodyArea { flex: 1 1 auto; overflow: auto; padding: 18px 20px; }
.cctl .ctm .errorText { font-size: .84rem; color: #ba0517; }
.cctl .ctm .dlgFooter { flex: none; display: flex; align-items: center; gap: 20px; padding: 10px 20px; border-top: 1px solid #f0f0f0; }
.cctl .ctm .disclaimer { flex: 1; min-width: 0; font-size: .75rem; font-style: italic; color: #8c8c8c; line-height: 1.5; }
.cctl .ctm .btnClose { flex: none; border: none; border-radius: 9px; background: #0176d3; color: #fff; font-size: .84rem; font-weight: 600; padding: 8px 20px; cursor: pointer; }
.cctl .ctm .btnClose:hover { background: #015fb0; }
.cctl .ctm .playerArea { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.cctl .ctm .playerArea.reveal { animation: transcriptReveal .35s ease both; }
@keyframes transcriptReveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cctl .ctm .skeleton { gap: 16px; padding: 16px 20px; overflow: hidden; }
.cctl .ctm .shimmer { background: linear-gradient(90deg, #f0f1f4 25%, #e6e8ee 37%, #f0f1f4 63%); background-size: 400% 100%; animation: ccSkShimmer 1.4s ease infinite; }
@keyframes ccSkShimmer { from { background-position: 100% 50%; } to { background-position: 0 50%; } }
.cctl .ctm .skPlayer { flex: none; height: 84px; border-radius: 10px; }
.cctl .ctm .skBody { flex: 1 1 auto; min-height: 0; display: flex; gap: 20px; }
.cctl .ctm .skTranscript { flex: 1 1 auto; display: flex; flex-direction: column; gap: 14px; }
.cctl .ctm .skBubble { height: 44px; border-radius: 12px; }
.cctl .ctm .skBubble.left { align-self: flex-start; }
.cctl .ctm .skBubble.right { align-self: flex-end; }
.cctl .ctm .w40 { width: 40%; } .cctl .ctm .w45 { width: 45%; } .cctl .ctm .w55 { width: 55%; }
.cctl .ctm .w60 { width: 60%; } .cctl .ctm .w70 { width: 70%; } .cctl .ctm .w75 { width: 75%; }
.cctl .ctm .skSidebar { flex: none; width: 300px; display: flex; flex-direction: column; gap: 14px; }
.cctl .ctm .skCard { height: 110px; border-radius: 10px; }
.cctl .ctm .skCard.tall { height: 170px; }

/* stereoPlayerTools, in the dialog's grey header */
.cctl .ctm .tools { display: flex; align-items: center; gap: 2px; }
.cctl .ctm .tools .div { width: 1px; height: 18px; background: #d2d2da; margin: 0 4px; }
.cctl .ctm .tool { width: 30px; height: 30px; border-radius: 8px; border: 1px solid transparent; background: none; color: #706e6b; cursor: pointer; display: grid; place-items: center; padding: 0; position: relative; }
.cctl .ctm .tool svg { width: 17px; height: 17px; }
.cctl .ctm .tool:hover { background: #d7d7df; color: #3e3e3c; }
.cctl .ctm .tool[aria-pressed='true'] { background: #eaf1fc; color: #0176d3; border-color: #cfe0f8; }
.cctl .ctm .popwrap { position: relative; }
.cctl .ctm .pop {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 24px)); background: #fff; border-radius: 10px;
  box-shadow: 0 10px 34px rgba(19, 23, 38, .2), 0 0 0 1px rgba(19, 23, 38, .06); z-index: 40; overflow: hidden; opacity: 0; pointer-events: none;
  transform: translateY(-4px); transition: opacity .14s ease, transform .14s ease;
}
.cctl .ctm .popwrap:hover .pop, .cctl .ctm .popwrap:focus-within .pop { opacity: 1; pointer-events: auto; transform: none; }
.cctl .ctm .popwrap:hover::after, .cctl .ctm .popwrap:focus-within::after { content: ''; position: absolute; top: 100%; right: 0; width: 320px; height: 12px; }
.cctl .popHead { padding: 11px 14px; background: #f5f4f7; border-bottom: 1px solid #e6e5ea; }
.cctl .popTitle { font-size: .82rem; font-weight: 700; color: #1a1f2e; }
.cctl .popSub { font-size: .72rem; color: #8a8f9c; margin-top: 2px; }
.cctl .popList { list-style: none; margin: 0; padding: 4px 0; }
.cctl .popList li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 14px; font-size: .8rem; color: #3e3e3c; }
.cctl .popList li + li { border-top: 1px solid #f3f2f6; }
.cctl .popList .k { color: #706e6b; }
.cctl .popList .v { text-align: right; font-variant-numeric: tabular-nums; }

/* ===================================================================== stereoCallPlayer */
.cctl .scp {
  flex: 1 1 auto; min-height: 0; height: 100%;
  --page: #f3f2f2; --border: #e5e5e5; --hair: #ececec; --ink: #181818; --ink2: #3e3e3c; --label: #706e6b; --faint: #a0998f;
  --link: #0176d3; --lb: #0176d3; --rb: #2e844a; --lbub: #edf3fc; --rbub: #eaf5ee; --ubub: #f3f2f2; --hl: #ffe08a; --chip: #f0eff4;
}
.cctl .scp .scroller { height: 100%; overflow: auto; overscroll-behavior: contain; background: var(--page); padding: 0 16px 24px; outline: none; color: var(--ink); font-size: 14px; line-height: 1.5; }
.cctl .scp .card { background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 2px 2px rgba(0, 0, 0, .05); }
.cctl .scp .cardHeader { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border-bottom: 1px solid var(--hair); min-height: 48px; position: relative; }
.cctl .scp .cardIcon { width: 26px; height: 26px; border-radius: 6px; background: #eaf1fc; color: var(--link); display: grid; place-items: center; flex: none; }
.cctl .scp .cardIcon svg { width: 16px; height: 16px; }
.cctl .scp .cardTitleText { font-size: .95rem; font-weight: 700; white-space: nowrap; }
.cctl .scp .sideHeadInner .cardTitleText { margin-right: auto; }
.cctl .scp .count { font-size: .66rem; font-weight: 700; color: var(--label); background: var(--chip); border-radius: 999px; padding: 1px 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cctl .scp .stick { position: sticky; top: 0; z-index: 20; background: var(--page); padding: 12px 0; }
.cctl .scp .stick.wexp .pcard { box-shadow: 0 2px 2px rgba(0, 0, 0, .05), 0 18px 40px -18px rgba(16, 22, 26, .35); }
.cctl .scp .pbody { display: flex; gap: 12px; align-items: stretch; padding: 12px 14px; }
.cctl .scp .transport { flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.cctl .scp .pp { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--link); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; box-shadow: 0 2px 6px rgba(1, 118, 211, .32); }
.cctl .scp .pp:hover { background: #0b5cab; }
.cctl .scp .pp svg { width: 17px; height: 17px; }
.cctl .scp .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: ccSpin .8s linear infinite; }
.cctl .scp .clock { font-size: .7rem; color: var(--label); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cctl .scp .wavewrap { position: relative; flex: 1; min-width: 0; border: 1px solid #eceef2; border-radius: 10px; background: #f7f8fa; overflow: hidden; }
.cctl .scp .chapters { position: relative; height: 23px; font-size: .7rem; border-bottom: 1px solid #eceef2; background: #fff; }
.cctl .scp .chapSeg { position: absolute; top: 0; bottom: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 4px 8px 0; cursor: pointer; color: var(--label); border-right: 1px solid #eceef2; line-height: 1.4; }
.cctl .scp .chapSeg:last-child { border-right: 0; }
.cctl .scp .chapSeg:hover { background: #f7f8fa; color: var(--ink2); }
.cctl .scp .chapSeg.now { color: var(--link); font-weight: 600; box-shadow: inset 0 -2px var(--link); }
.cctl .scp .wv { position: relative; }
.cctl .scp canvas.wave { display: block; width: 100%; height: 30px; cursor: pointer; transition: height .28s cubic-bezier(.2, .7, .2, 1); }
.cctl .scp .stick.wexp canvas.wave { height: 76px; }
.cctl .scp .nowave { padding: 10px 12px; font-size: .75rem; color: var(--faint); }
.cctl .scp .pins { position: absolute; inset: 0; pointer-events: none; }
.cctl .scp .pin { position: absolute; width: 16px; height: 16px; border-radius: 5px; transform: translateX(-50%); pointer-events: auto; box-shadow: 0 0 0 1.5px #f7f8fa; }
.cctl .scp .pin:hover { transform: translateX(-50%) scale(1.25); }
.cctl .scp .pinTop { top: 2px; }
.cctl .scp .pinBottom { bottom: 2px; }
.cctl .scp .pinMid { top: 50%; margin-top: -8px; }
.cctl .scp .stick:not(.wexp) .pin { width: 12px; height: 12px; border-radius: 4px; }
.cctl .scp .stick:not(.wexp) .pinMid { margin-top: -6px; }
.cctl .scp .pin.flag { background: transparent; border: 0; padding: 0; box-shadow: none; color: #b50713; font-size: 13px; line-height: 1; cursor: pointer; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); display: grid; place-items: center; }
.cctl .scp .balrow { display: flex; align-items: center; gap: 10px; padding: 0 14px 12px 100px; font-size: .75rem; }
.cctl .scp .balName { font-weight: 700; white-space: nowrap; }
.cctl .scp .bal { flex: 1; min-width: 90px; max-width: 420px; cursor: pointer; accent-color: var(--link); }
.cctl .scp .balout { color: var(--label); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cctl .scp .mixnote { margin: 0 14px 12px; font-size: .75rem; color: #8a6d1f; background: #fdf6e9; border-radius: 6px; padding: 6px 10px; }
.cctl .scp .mixnote.err { color: #b50713; background: #fadfdc; }

.cctl .scp .grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.cctl .scp .side { display: flex; flex-direction: column; min-width: 0; }
.cctl .scp .side > * + * { margin-top: 14px; }
.cctl .scp .side > .sideHead + .sideBody { margin-top: 0; }
.cctl .scp .sideHead { position: relative; z-index: 2; height: 48px; display: flex; flex-direction: column; pointer-events: none; cursor: pointer; }
.cctl .scp .sideHeadInner { pointer-events: auto; height: 48px; min-height: 0; background: #fff; border: 1px solid var(--border); border-bottom-color: var(--hair); border-radius: 8px 8px 0 0; transition: height .15s ease, padding .15s ease, border-radius .15s ease, box-shadow .15s ease; }
.cctl .scp .sideBody { border-top: 0; border-radius: 0 0 8px 8px; }
.cctl .scp .sideHead.stuck .sideHeadInner { height: 32px; padding: 4px 10px; border-radius: 8px; border-bottom-color: var(--border); background: #fbfbfd; box-shadow: 0 0 0 2px var(--page), 0 2px 6px 2px rgba(16, 22, 26, .12); }
.cctl .scp .sideHead:not(.stuck) .stuckOnly { display: none; }
.cctl .scp .sideHead.stuck .count:not(.stuckOnly):has(~ .stuckOnly) { display: none; }
.cctl .scp .sideHead.stuckBottom { justify-content: flex-end; }
.cctl .scp .sideHead.stuck .cardIcon { width: 20px; height: 20px; }
.cctl .scp .sideHead.stuck .cardIcon svg { width: 13px; height: 13px; }
.cctl .scp .sideHead.stuck .cardTitleText { font-size: .82rem; }
.cctl .scp .sideHead:hover .sideHeadInner { background: #f7f8fa; }
.cctl .scp .fuChip:empty { display: none; }
@media (min-width: 1100px) {
  .cctl .scp .grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .cctl .scp .side { grid-column: 2; grid-row: 1; position: sticky; top: var(--side-top, 170px); align-self: start; max-height: var(--side-max, 70vh); overflow: auto; scrollbar-width: thin; border-radius: 8px; }
  .cctl .scp .sideHead { position: sticky; top: var(--sh-top, 0px); bottom: var(--sh-bottom, 0px); }
  .cctl .scp .tcard { grid-column: 1; grid-row: 1; }
}
.cctl .scp .grid.noside { grid-template-columns: minmax(0, 1fr); }

.cctl .scp .keys { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cctl .scp .keyChip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e1e0dd; border-radius: 999px; padding: 2px 10px; font-size: .72rem; color: var(--ink2); background: #fff; white-space: nowrap; }
.cctl .scp .keyDot { width: 8px; height: 8px; border-radius: 50%; display: block; background: currentColor; }
.cctl .scp .convo { padding: 8px 14px 16px; }
.cctl .scp .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0; padding: 0; align-items: start; }
.cctl .scp .lane { display: flex; flex-direction: column; min-width: 0; }
.cctl .scp .lane.L { grid-column: 1; align-items: flex-start; }
.cctl .scp .lane.R { grid-column: 2; align-items: flex-end; }
.cctl .scp .bubble { border-radius: 12px; padding: 6px 12px 8px; max-width: 100%; cursor: pointer; transition: opacity .2s ease; color: var(--ink); }
.cctl .scp .bubble.L { border-top-left-radius: 4px; opacity: var(--opL, 1); }
.cctl .scp .bubble.R { border-top-right-radius: 4px; opacity: var(--opR, 1); }
.cctl .scp .bubble.role-handler { background: var(--lbub); color: var(--ink); }
.cctl .scp .bubble.role-external { background: var(--rbub); color: var(--ink); }
.cctl .scp .bubble.role-unknown { background: var(--ubub); color: var(--ink); }
.cctl .scp .bubble.live.role-handler { box-shadow: 0 0 0 2px rgba(1, 118, 211, .5); }
.cctl .scp .bubble.live.role-external { box-shadow: 0 0 0 2px rgba(46, 132, 74, .5); }
.cctl .scp .bubble.live.role-unknown { box-shadow: 0 0 0 2px rgba(112, 110, 107, .5); }
.cctl .scp .bubble.hasMarkers { outline: 1.5px solid #fbe6ef; }
.cctl .scp .bmeta { display: flex; align-items: center; gap: 6px; font-size: .68rem; color: var(--label); margin-bottom: 1px; }
.cctl .scp .bwho { font-weight: 700; }
.cctl .scp .bubble.role-handler .bwho { color: var(--lb); }
.cctl .scp .bubble.role-external .bwho { color: var(--rb); }
.cctl .scp .btime { font-variant-numeric: tabular-nums; }
.cctl .scp .btext { font-size: .88rem; line-height: 1.5; }
.cctl .scp .w { color: #6b707c; border-radius: 3px; }
.cctl .scp .w.spoken { color: var(--ink); }
.cctl .scp .w.now { background: var(--hl); color: var(--ink); }
.cctl .scp .w[data-low] { text-decoration: underline dotted var(--faint); }
.cctl .scp .chHead { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--label); margin: 14px 0 6px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cctl .scp .chHead::after { content: ''; flex: 1; height: 1px; background: var(--hair); }
.cctl .scp .chTime { color: var(--link); font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.cctl .scp .truncNote { margin-top: 10px; font-size: .74rem; color: var(--faint); font-style: italic; }

.cctl .scp .list { list-style: none; margin: 0; padding: 12px 14px 2px; }
.cctl .scp .trow { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; }
.cctl .scp .gutter { display: flex; flex-direction: column; align-items: center; }
.cctl .scp .badge { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: .78rem; font-weight: 800; }
.cctl .scp .badge.seekable { cursor: pointer; transition: box-shadow .25s ease, transform .12s ease; }
.cctl .scp .badge.seekable:hover { transform: scale(1.12); box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(1, 118, 211, .35); }
.cctl .scp .b-pass { background: #dcefe2; color: #267a44; }
.cctl .scp .b-partial { background: #fbeccf; color: #c16905; }
.cctl .scp .b-fail { background: #fadfdc; color: #b50713; }
.cctl .scp .b-other { background: #ededed; color: #8c8c8c; }
.cctl .scp .b-chapter { background: #eaf1fc; color: var(--link); }
.cctl .scp .b-chapter.b-mood-positive { background: #dcefe2; color: #267a44; }
.cctl .scp .b-chapter.b-mood-mixed { background: #fbeccf; color: #c16905; }
.cctl .scp .b-chapter.b-mood-negative { background: #fadfdc; color: #b50713; }
.cctl .scp .b-chapter.b-mood-neutral { background: #ededed; color: #706e6b; }
.cctl .scp .badge.mk { border-radius: 50%; width: 28px; height: 28px; }
.cctl .scp .csum { margin: 2px 0 0; font-size: .78rem; color: #5c5c5c; line-height: 1.45; }
.cctl .scp .mdetail { font-size: .78rem; color: var(--ink2); margin-top: 1px; }
.cctl .scp .msentence { font-size: .76rem; color: var(--label); margin-top: 1px; }
.cctl .scp .reveal { border: 0; background: none; padding: 0; margin-top: 4px; font-size: .75rem; color: var(--link); cursor: pointer; }
.cctl .scp .reveal:hover { text-decoration: underline; }
.cctl .scp .rail { width: 2px; flex: 1; background: var(--hair); margin-top: 5px; min-height: 8px; }
.cctl .scp .trow:last-child .rail { display: none; }
.cctl .scp .tbody { min-width: 0; padding: 3px 8px 13px; margin: -3px -8px 0 -6px; border-radius: 8px; transition: background .5s ease; cursor: pointer; }
.cctl .scp .trow.now .tbody { background: #f3f7fd; }
.cctl .scp .trow.now .badge { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(1, 118, 211, .45); }
.cctl .scp .topline { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cctl .scp .tname { font-size: .84rem; font-weight: 600; color: var(--ink); min-width: 0; }
.cctl .scp .trow.flagged .tname { color: #b50713; }
.cctl .scp .mp { font-size: .6rem; font-weight: 700; color: #b50713; background: #fadfdc; border-radius: 999px; padding: 1px 7px; margin-left: 6px; white-space: nowrap; vertical-align: 1px; text-transform: uppercase; letter-spacing: .04em; }
.cctl .scp .when { flex: none; font-size: .75rem; color: var(--link); background: none; border: 0; padding: 0; cursor: pointer; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cctl .scp .when:hover { text-decoration: underline; }
.cctl .scp .subline { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: .78rem; color: var(--label); }
.cctl .scp .res { font-weight: 600; }
.cctl .scp .res.qa-pass { color: #267a44; }
.cctl .scp .res.qa-partial { color: #c16905; }
.cctl .scp .res.qa-fail { color: #b50713; }
.cctl .scp .res.qa-other { color: #8c8c8c; }
.cctl .scp .spk { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.cctl .scp .why { margin: 5px 0 0; font-size: .8rem; color: #5c5c5c; }
.cctl .scp .ev { margin: 6px 0 0; font-size: .8rem; color: var(--ink2); border-left: 2px solid var(--hair); padding-left: 9px; }
.cctl .scp .ev q { font-style: italic; quotes: none; }
.cctl .scp .ev .spk { margin-right: 6px; }
.cctl .scp .qaNa { margin: 0; padding: 12px 14px; font-size: .8rem; color: var(--label); }
.cctl .scp .triageNote { margin: 0; padding: 12px 14px; font-size: .84rem; font-style: italic; color: var(--label); }
.cctl .scp .relBody { padding: 12px 14px; }
.cctl .scp .relHead { font-size: .86rem; font-weight: 700; color: var(--ink); }
.cctl .scp .relHistory { font-size: .76rem; color: var(--label); margin-top: 2px; }
.cctl .scp .relCovered { margin-top: 8px; font-size: .78rem; color: var(--ink2); }
.cctl .scp .relCoveredLabel { color: var(--label); }
.cctl .scp .relCoveredList { list-style: none; margin: 3px 0 0; padding: 0; }
.cctl .scp .relToggle { border: 0; background: none; padding: 0; margin-top: 8px; font-size: .78rem; color: var(--link); cursor: pointer; }
.cctl .scp .relToggle:hover { text-decoration: underline; }
.cctl .scp .qhead { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--hair); }
.cctl .scp .verdict { font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.cctl .scp .verdict.qa-good { background: #dcefe2; color: #267a44; }
.cctl .scp .verdict.qa-coaching { background: #fbeccf; color: #8a5a00; }
.cctl .scp .verdict.qa-review { background: #fadfdc; color: #b50713; }
.cctl .scp .verdict.qa-neutral { background: #ededed; color: #5c5c5c; }
.cctl .scp .count.qaScore.qa-good { background: #dcefe2; color: #267a44; }
.cctl .scp .count.qaScore.qa-coaching { background: #fbeccf; color: #8a5a00; }
.cctl .scp .count.qaScore.qa-review { background: #fadfdc; color: #b50713; }
.cctl .scp .score { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .72rem; color: var(--label); font-variant-numeric: tabular-nums; }
.cctl .scp .score .bar { flex: 1; height: 7px; border-radius: 4px; background: #dbe0e8; overflow: hidden; min-width: 40px; }
.cctl .scp .qaFill { display: block; height: 100%; border-radius: 4px; }
.cctl .scp .qaFill.qa-good { background: #267a44; }
.cctl .scp .qaFill.qa-coaching { background: #c16905; }
.cctl .scp .qaFill.qa-review { background: #b50713; }
.cctl .scp .qaFill.qa-neutral { background: #706e6b; }
.cctl .scp .fuBody { padding: 8px 14px 10px; }

/* ===================================================================== narrow screens */
@media (max-width: 700px) {
  /* the dialog goes full-screen */
  .cctl .ctm.backdrop { padding: 0; }
  .cctl .ctm .dialog, .cctl .ctm .dialog.wide { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; }
  .cctl .ctm .dlgHeader { padding: 10px 12px; align-items: flex-start; }
  .cctl .ctm .dlgTitleWrap { flex-wrap: wrap; row-gap: 4px; }
  .cctl .ctm .dlgTitleWrap .metaRow { flex-basis: 100%; margin-left: 0; font-size: .75rem; }
  .cctl .ctm .dlgHeaderRight { gap: 6px; }
  .cctl .ctm .toolsHost { gap: 6px; }
  .cctl .ctm .headerDivider { display: none; }
  .cctl .ctm .metaBand { padding: 8px 12px; }
  .cctl .ctm .summary { font-size: .78rem; max-height: 4.8em; overflow: auto; }
  .cctl .ctm .dlgFooter { padding: 8px 12px; gap: 12px; }
  .cctl .ctm .disclaimer { font-size: .66rem; }
  .cctl .ctm .btnClose { padding: 7px 14px; }
  .cctl .ctm .skSidebar { display: none; }
  /* the stereo player, as the package does at this width */
  .cctl .scp .scroller { padding: 0 8px 20px; }
  .cctl .scp .stick { padding: 8px 0; }
  .cctl .scp .pbody { padding: 10px; gap: 8px; }
  .cctl .scp .transport { width: 56px; }
  .cctl .scp .balrow { padding: 0 10px 10px; flex-wrap: wrap; row-gap: 2px; }
  .cctl .scp .balout { flex-basis: 100%; text-align: center; }
  .cctl .scp .row { gap: 6px; }
  .cctl .scp .keys { display: none; }
  .cctl .scp .convo { padding: 6px 8px 12px; }
  .cctl .scp .bubble { padding: 5px 9px 7px; }
  /* a turn with nobody talking over it takes most of the width, still on its speaker's side */
  .cctl .scp .row.soloL .lane.L { grid-column: 1 / span 2; padding-right: 12%; }
  .cctl .scp .row.soloR .lane.R { grid-column: 1 / span 2; padding-left: 12%; }
}
@media (max-width: 560px) {
  .cctl[data-cctl-root] { max-width: none; }
  .cctl .tl .cardHeader { padding: 12px 12px; }
  .cctl .tl .cardBody { padding: 8px 12px 6px; }
  /* the filter chips: one row that scrolls sideways, rather than five lines of chips above the calls */
  .cctl .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 2px 12px 8px; }
  .cctl .filters::-webkit-scrollbar { display: none; }
  .cctl .fchip { flex: none; }
  .cctl .ti { column-gap: 10px; }
  .cctl .ti .subline { flex-wrap: wrap; row-gap: 4px; }
  .cctl .ti .right { flex: 1 1 100%; justify-content: space-between; margin-left: 0; }
  .cctl .ti .titleBadge { max-width: 100%; }
  .cctl .ap .wplayer { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; padding: 8px 10px; }
  .cctl .ap .ptime { grid-column: 2; min-width: 0; text-align: right; font-size: .68rem; }
  .cctl .ap .wplayer .wPlay { align-self: center; }
  .cctl .cip .chapRow { grid-template-columns: 38px minmax(0, 1fr); }
  .cctl .fuMenu { min-width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .cctl *, .cctl *::before, .cctl *::after { transition: none !important; animation: none !important; }
}

/* ===================================================================== the homepage hero (this sheet loads wherever
   the widget renders; these rules only apply inside the hero's .cc-hero-grid) */
/* Below desktop the timeline is in normal flow; overflow-x:clip keeps anything laid out past the edge from widening
   the page. */
.cc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: start; overflow-x: clip; }
@property --cc-fade { syntax: "<length-percentage>"; inherits: false; initial-value: 64%; }
/* Desktop: the copy on the left; the timeline out of flow (absolute) so its height — which grows as rows open —
   never pushes the next section down. It floats top-right, tilted back, its base fading out (a mask) over the section
   it overhangs; hovered or focused it eases flat and the fade recedes. */
@media (min-width: 1024px) {
  .cc-hero-grid { position: relative; display: block; overflow: visible; }
  .cc-hero-copy { max-width: 42%; }
  .cc-hero-grid .cctl[data-cctl-root] { position: absolute; top: 0; right: 0; width: 57%; max-width: none; margin: 0; z-index: 10; }
  .cc-hero-grid .cctl .cc-tilt {
    --cc-fade: 64%;
    transform: rotateY(-13deg);
    -webkit-mask-image: linear-gradient(to bottom, #000 var(--cc-fade), transparent);
    mask-image: linear-gradient(to bottom, #000 var(--cc-fade), transparent);
    transition: transform .55s cubic-bezier(.2, .7, .2, 1), --cc-fade .55s ease;
  }
  .cc-hero-grid .cctl .cc-stage:hover .cc-tilt, .cc-hero-grid .cctl .cc-stage:focus-within .cc-tilt { transform: none; --cc-fade: 135%; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  .cc-hero-grid .cctl .cc-tilt { transform: none; }
}

/* ===================================================================== transcript dialog: edge to edge
   No margins round the player, transcript or sidebar — one white surface, divided by hairlines. On wide screens the
   sidebar is a full-height column of its own beside the scroller (StereoPlayer moves it there — sideOutside), so the
   player spans only the transcript and the transcript's scrollbar sits between them. */
.cctl .scp { --page: #fff; }
.cctl .scp .scroller, .cctl .scp .stick { padding: 0; }
.cctl .scp .card { border-width: 0; border-radius: 0; box-shadow: none; }
.cctl .scp .pcard { border-bottom: 1px solid var(--border); }
.cctl .scp .stick.wexp .pcard { box-shadow: 0 18px 40px -18px rgba(16, 22, 26, .35); }
.cctl .scp .grid { gap: 0; }
.cctl .scp .side { border-bottom: 1px solid var(--border); }
.cctl .scp .side > * + * { margin-top: 0; }
.cctl .scp .sideHeadInner { border-width: 0 0 1px; border-radius: 0; }
.cctl .scp .sideBody { border-bottom: 1px solid var(--hair); }
.cctl .scp .side > .sideBody:last-child { border-bottom: 0; }
/* stuck bars tile exactly (one step tall), square, so nothing scrolls through between them */
.cctl .scp .sideHead.stuck .sideHeadInner { height: 34px; border-radius: 0; border-bottom-color: var(--hair); box-shadow: none; }
.cctl .scp.sideOut { display: grid; grid-template-columns: minmax(0, 1fr) 360px; }
.cctl .scp.sideOut > .scroller { min-height: 0; }
.cctl .scp.sideOut > .side {
  grid-column: 2; grid-row: 1; position: static; align-self: stretch; height: 100%; max-height: none; min-height: 0;
  overflow-y: auto; overflow-x: hidden; border-bottom: 0; border-left: 1px solid var(--border); border-radius: 0;
}
/* a money moment's value, spaced from its label */
.cctl .scp .tname .amount { margin-left: 6px; }
