/* TrackToPaid dashboard preview. Scoped to the call-intelligence section. */
.cr-ci {
  --cr-ink:#14251f; --cr-soft:#486059; --cr-green:#0b663f; --cr-line:#dce6df; --cr-tint:#f3f8f4;
  background:var(--bg-canvas); color:var(--cr-ink); border-bottom:1px solid var(--cr-line);
  padding:clamp(36px,5.5vw,80px) 0; scroll-margin-top:70px;
}
.cr-ci [hidden] { display:none !important; }
.cr-ci button,.cr-ci select { font:inherit; }
.cr-ci button { cursor:pointer; }
.cr-ci :is(button,select,summary,a,input):focus-visible { outline:2px solid #07804f; outline-offset:3px; }
.cr-ci-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.cr-ci-heading { display:flex; justify-content:space-between; align-items:end; gap:24px; margin:0 0 25px; }
.cr-ci-eyebrow,.cr-ci-label { color:var(--cr-green); font-size:.69rem; letter-spacing:.12em; font-weight:800; line-height:1.35; }
.cr-ci-eyebrow { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.cr-ci-eyebrow > span { flex:0 0 8px; width:8px; height:8px; border-radius:50%; background:#10a16c; }
.cr-ci-heading h2 { margin:0; font-size:clamp(1.9rem,4.25vw,3.15rem); font-weight:800; line-height:1.06; letter-spacing:-.056em; text-wrap:balance; }
.cr-ci-heading p { margin:9px 0 0; max-width:615px; color:var(--cr-soft); font-size:1.02rem; }
.cr-ci-demo { flex:0 1 263px; padding:11px 14px; border:1px solid #d2e5d7; border-radius:10px; background:#edf6ee; }
.cr-ci-demo strong,.cr-ci-demo span { display:block; }
.cr-ci-demo strong { font-size:.77rem; color:#155a38; }
.cr-ci-demo span { margin-top:2px; color:var(--cr-soft); font-size:.73rem; line-height:1.35; }
.cr-ci-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:14px; }
.cr-ci-stat { min-width:0; padding:12px 15px; border:1px solid var(--cr-line); border-radius:12px; background:#fff; box-shadow:0 1px 2px #16332108; }
.cr-ci-stat span,.cr-ci-stat small { display:block; color:var(--cr-soft); }
.cr-ci-stat span { font-size:.77rem; font-weight:700; }
.cr-ci-stat strong { display:block; font-size:clamp(1.33rem,3vw,1.92rem); line-height:1.12; margin:4px 0 3px; letter-spacing:-.045em; font-variant-numeric:tabular-nums; }
.cr-ci-stat small { font-size:.7rem; line-height:1.4; }
.cr-ci-workspace { display:grid; grid-template-columns:minmax(0,2.06fr) minmax(0,1fr); align-items:start; gap:14px; }
.cr-ci-panel { min-width:0; padding:15px; border:1px solid var(--cr-line); border-radius:15px; background:#fff; box-shadow:0 2px 8px #16332106; scroll-margin-top:78px; }
.cr-ci-panel-heading { display:flex; align-items:end; justify-content:space-between; gap:4px 10px; }
.cr-ci-panel-heading .cr-ci-label { margin:0 0 3px; }
.cr-ci-panel-heading h3 { margin:0; font-size:clamp(1.05rem,1.8vw,1.32rem); font-weight:800; line-height:1.25; letter-spacing:-.035em; }
.cr-ci-results { margin:0; flex:none; color:var(--cr-soft); font-size:.72rem; }
.cr-ci-ad-jump { display:none; }
.cr-ci-filters { margin:13px 0; display:flex; align-items:end; flex-wrap:wrap; gap:7px; }
.cr-ci-filter { flex:1 1 120px; min-width:0; max-width:255px; }
.cr-ci-filter label { display:block; margin-bottom:3px; font-size:.69rem; color:var(--cr-soft); font-weight:700; }
.cr-ci-filter select { width:100%; height:36px; color:var(--cr-ink); font-size:.78rem; font-weight:650; background:#fff; padding:0 22px 0 8px; border:1px solid #cfddd2; border-radius:7px; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath stroke='%23445d50' stroke-width='1.5' d='m1 1 5 5 5-5' fill='none'/%3E%3C/svg%3E"); background-position:right 8px center; background-repeat:no-repeat; }
.cr-ci button.cr-ci-reset { color:var(--cr-green); border:0; background:none; padding:7px 3px; font-size:.72rem; font-weight:750; text-decoration:underline; text-underline-offset:.15em; }
.cr-ci-table { width:100%; border-collapse:separate; border-spacing:0; table-layout:fixed; font-size:.78rem; }
.cr-ci-table th { text-align:left; font-size:.64rem; letter-spacing:.045em; text-transform:uppercase; color:#466257; background:var(--cr-tint); font-weight:800; padding:8px 7px; line-height:1.2; }
.cr-ci-table th:first-child { width:19%; border-radius:7px 0 0 7px; }
.cr-ci-table th:nth-child(2) { width:34%; }
.cr-ci-table th:nth-child(3) { width:20%; }
.cr-ci-table th:nth-child(4) { width:14%; }
.cr-ci-table th:last-child { border-radius:0 7px 7px 0; }
.cr-ci-table td { padding:8px 7px; border-bottom:1px solid #e7eee8; vertical-align:middle; line-height:1.22; overflow-wrap:anywhere; }
.cr-ci-table tr:last-child td { border-bottom:0; }
.cr-ci-table :is(td time,td small) { display:block; color:var(--cr-soft); margin-top:3px; font-size:.66rem; }
.cr-ci-table td strong { font-weight:760; }
.cr-ci-table tbody tr { cursor:pointer; }
.cr-ci-table tbody tr:hover td,.cr-ci-table tbody tr:focus-within td { background:#f6faf7; }
.cr-ci-badge { display:inline-block; max-width:100%; border-radius:5px; padding:3px 6px; background:#edf1f3; color:#414f58; font-weight:800; font-size:.66rem; line-height:1.2; overflow-wrap:normal; }
.cr-ci-badge[data-outcome="Booked"] { background:#dff7e9; color:#12603a; }
.cr-ci-badge[data-outcome="Qualified"] { background:#e5f1f9; color:#174f76; }
.cr-ci-badge[data-outcome="Price Objection"] { background:#fff1d9; color:#765015; }
.cr-ci-speed { color:#80551d; font-weight:780; font-variant-numeric:tabular-nums; white-space:nowrap; }
.cr-ci-speed[data-prompt="true"] { color:var(--cr-green); }
.cr-ci button.cr-ci-open { color:var(--cr-green); background:#f1f7f1; border:1px solid #d7e7da; border-radius:7px; padding:5px 6px; font-weight:800; font-size:.68rem; min-height:31px; white-space:nowrap; }
.cr-ci button.cr-ci-open:hover { background:#e1f3e5; border-color:#a9d7b4; }
.cr-ci-empty,.cr-ci-noscript { margin:10px 0 0; border-radius:8px; background:var(--cr-tint); padding:12px; color:var(--cr-soft); font-size:.81rem; }
.cr-ci-panel-copy { color:var(--cr-soft); font-size:.78rem; margin:5px 0 10px; }
.cr-ci-rollups { display:grid; gap:9px; }
.cr-ci-rollup-group { border:1px solid var(--cr-line); border-radius:9px; overflow:hidden; }
.cr-ci button.cr-ci-rollup { width:100%; text-align:left; display:block; color:var(--cr-ink); border:0; background:var(--cr-tint); padding:8px 9px; }
.cr-ci button.cr-ci-rollup-ad { padding-left:15px; border-top:1px solid var(--cr-line); background:#fff; }
.cr-ci button.cr-ci-rollup[aria-pressed="true"],.cr-ci button.cr-ci-rollup:hover { background:#e5f5e9; }
.cr-ci button.cr-ci-rollup:focus-visible { outline-offset:-3px; }
.cr-ci-rollup-head { display:flex; align-items:baseline; justify-content:space-between; gap:3px 8px; }
.cr-ci-rollup-head strong { font-size:.78rem; line-height:1.25; }
.cr-ci-rollup-ad .cr-ci-rollup-head strong { font-size:.73rem; }
.cr-ci-rollup-head span { flex:none; color:var(--cr-green); font-weight:800; font-size:.67rem; white-space:nowrap; }
.cr-ci-rollup-metrics { display:flex; align-items:center; flex-wrap:wrap; gap:2px 6px; margin:3px 0 2px; color:#325746; font-size:.68rem; }
.cr-ci-rollup-metrics span:first-child { background:#edf4ed; border-radius:4px; padding:1px 4px; font-weight:770; }
.cr-ci-rollup-pattern,.cr-ci-rollup-tip { display:block; color:var(--cr-soft); font-size:.67rem; line-height:1.4; }
.cr-ci-rollup-tip { margin-top:2px; color:#7b5019; }
.cr-ci-footnote { color:var(--cr-soft); font-size:.68rem; margin:9px 0 0; }
.cr-ci-next { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:5px 15px; margin-top:14px; padding:12px 14px; border-radius:10px; background:#eaf4eb; border:1px solid #d1e4d4; }
.cr-ci-next p { margin:0; color:var(--cr-soft); font-size:.81rem; }
.cr-ci-next strong { color:var(--cr-ink); }
.cr-ci-next a { color:var(--cr-green); font-size:.79rem; font-weight:800; text-underline-offset:.2em; }

/* Modal dialog retains native focus trapping and Esc cancellation. */
body:has(.cr-ci-dialog[open]) { overflow:hidden; }
.cr-ci-dialog { position:fixed; inset:0 0 0 auto; width:min(100%,595px); max-width:100%; height:100%; height:100dvh; max-height:100%; margin:0; padding:0; border:0; background:transparent; color:var(--cr-ink); overflow:visible; }
.cr-ci-dialog::backdrop { background:rgb(10 21 17 / .58); animation:crCiBackdrop .22s ease-out; }
.cr-ci-dialog[open] .cr-ci-drawer { animation:crCiSlide .23s ease-out; }
@keyframes crCiBackdrop { from { opacity:0; } to { opacity:1; } }
@keyframes crCiSlide { from { transform:translateX(100%); } to { transform:translateX(0); } }
.cr-ci-drawer { height:100%; display:grid; grid-template-rows:auto minmax(0,1fr); min-width:0; background:#f4f8f4; box-shadow:-18px 0 55px #0b1c1952; }
.cr-ci-drawer-head { display:flex; align-items:start; justify-content:space-between; gap:8px; background:#14281f; color:#f4fbf5; padding:17px 20px; }
.cr-ci-drawer-head .cr-ci-label { color:#a1dfba; margin:0 0 4px; }
.cr-ci-drawer-head h2 { font-size:1.66rem; line-height:1.1; letter-spacing:-.045em; margin:0; }
.cr-ci-drawer-head p:last-child { margin:5px 0 0; color:#c0d8c9; font-size:.75rem; }
.cr-ci button.cr-ci-close { background:#223e30; color:#fff; border:1px solid #426c52; border-radius:7px; min-width:42px; min-height:42px; font-size:1.46rem; line-height:1; }
.cr-ci button.cr-ci-close:hover { background:#305541; }
.cr-ci button.cr-ci-close:focus-visible { outline-color:#a1dfba; }
.cr-ci-drawer-body { display:grid; align-content:start; gap:10px; min-width:0; padding:15px 20px 26px; padding-bottom:max(26px,env(safe-area-inset-bottom)); overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
.cr-ci-attribution,.cr-ci-drawer-card { min-width:0; background:#fff; border:1px solid var(--cr-line); border-radius:11px; padding:12px 13px; }
.cr-ci-attribution { background:#eaf5ed; border-color:#d6e9da; }
.cr-ci-attribution h3 { margin:0 0 6px; }
.cr-ci-crumbs { list-style:none; display:flex; flex-wrap:wrap; align-items:center; gap:2px 5px; padding:0; margin:0; font-size:.75rem; font-weight:780; }
.cr-ci-crumbs li + li::before { content:'→'; margin-right:5px; color:#527664; }
.cr-ci-deal { display:grid; grid-template-columns:1.18fr 1fr .95fr; gap:5px 9px; border-top:1px solid #d6e6d9; padding-top:6px; margin:8px 0 0; }
.cr-ci-deal dt,.cr-ci-summary-points dt { color:#32594a; font-weight:800; font-size:.69rem; }
.cr-ci-deal dd { margin:1px 0 0; font-size:.73rem; line-height:1.3; }
.cr-ci-card-heading { display:flex; align-items:start; justify-content:space-between; gap:5px 8px; }
.cr-ci-card-heading h3 { margin:0; letter-spacing:-.028em; font-weight:800; font-size:1.02rem; line-height:1.2; }
.cr-ci-card-heading p,.cr-ci-ghl p { margin:3px 0 0; color:var(--cr-soft); font-size:.72rem; }
.cr-ci-summary-points { margin:9px 0; padding:0; display:grid; gap:5px; }
.cr-ci-summary-points > div { border-left:2px solid #c3e5c9; padding-left:8px; }
.cr-ci-summary-points dd { margin:1px 0 0; font-size:.79rem; line-height:1.44; }
.cr-ci button.cr-ci-subbutton { border:1px solid #cee0d1; border-radius:7px; padding:6px 9px; min-height:34px; background:#f0f7f0; color:var(--cr-green); font-weight:800; font-size:.72rem; }
.cr-ci button.cr-ci-subbutton:hover { background:#e3f4e7; }
.cr-ci-copy-status { margin-left:6px; color:var(--cr-green); font-size:.71rem; }
.cr-ci-clipboard { position:fixed; left:1px; top:1px; width:1px; height:1px; opacity:0; }
.cr-ci-player { display:flex; gap:10px; align-items:center; margin:8px 0 6px; }
.cr-ci button.cr-ci-play { flex:none; color:#fff; background:#17643f; border:0; border-radius:7px; padding:6px 9px; min-width:75px; min-height:38px; font-weight:800; font-size:.75rem; }
.cr-ci button.cr-ci-play:hover { background:#0e492e; }
.cr-ci button.cr-ci-play:disabled,.cr-ci-player-track input:disabled { cursor:wait; opacity:.7; }
.cr-ci-player-track { flex:1; min-width:0; }
.cr-ci-player-track input { width:100%; margin:0; display:block; accent-color:#1b8251; cursor:pointer; }
.cr-ci-player-times { display:flex; justify-content:space-between; color:var(--cr-soft); margin-top:1px; font-size:.68rem; font-variant-numeric:tabular-nums; }
.cr-ci-player-error { margin:6px 0; font-size:.73rem; color:#834312; }
.cr-ci-details > summary { cursor:pointer; color:var(--cr-green); font-size:.77rem; font-weight:800; }
.cr-ci-details:not([open]) .cr-ci-when-open,.cr-ci-details[open] .cr-ci-when-closed { display:none; }
.cr-ci-transcript-lines,.cr-ci-timeline { list-style:none; padding:0; margin:7px 0 0; }
.cr-ci-transcript-lines li { display:grid; grid-template-columns:auto 1fr; gap:6px; align-items:start; border-top:1px solid #ebf1ec; padding:5px 0; font-size:.75rem; }
.cr-ci button.cr-ci-transcript-time { color:var(--cr-green); font-size:.7rem; border:1px solid #d7e6da; background:#f4f8f4; border-radius:4px; padding:3px 5px; font-variant-numeric:tabular-nums; }
.cr-ci-timeline li { margin:0 0 0 3px; padding:0 0 7px 12px; position:relative; border-left:1px solid #d3e4d7; }
.cr-ci-timeline li:last-child { padding-bottom:0; }
.cr-ci-timeline li::before { content:''; position:absolute; top:.43rem; left:-4px; width:7px; height:7px; border-radius:50%; background:#4a9b6b; }
.cr-ci-timeline li div { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; }
.cr-ci-timeline strong { font-size:.76rem; }
.cr-ci-timeline time { color:var(--cr-soft); font-size:.66rem; }
.cr-ci-timeline p { font-size:.74rem; margin:1px 0 0; }
.cr-ci-ghl code { background:#eef5ef; color:#254d3a; display:block; overflow-wrap:anywhere; font-size:.73rem; line-height:1.45; margin:6px 0; padding:8px; border-radius:6px; user-select:all; }
.cr-ci-ghl > summary { font-size:.83rem; }

@media(max-width:1150px) {
  .site-header .nav-links,.site-header .nav-actions { display:none; }
  .site-header .mobile-menu-btn { display:inline-flex; }
}
@media(max-width:870px) {
  .cr-ci-workspace { grid-template-columns:1fr; }
  .cr-ci-rollups { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cr-ci-ad-jump { display:inline-block; color:var(--cr-green); font-size:.71rem; font-weight:800; text-underline-offset:.16em; margin-top:5px; }
}
@media(max-width:560px) {
  .cr-ci .container { padding-inline:16px; }
  .cr-ci-heading { display:grid; gap:10px; margin-bottom:13px; }
  .cr-ci-heading p { font-size:.91rem; }
  .cr-ci-demo { padding:6px 8px; }
  .cr-ci-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin-bottom:9px; }
  .cr-ci-stat { padding:8px 9px; }
  .cr-ci-workspace { gap:9px; }
  .cr-ci-panel { padding:9px; border-radius:10px; }
  .cr-ci-panel-heading { align-items:start; flex-wrap:wrap; }
  .cr-ci-results { flex:auto; }
  .cr-ci-rollups { gap:5px; }
  .cr-ci button.cr-ci-rollup { padding:6px; }
  .cr-ci button.cr-ci-rollup-ad { padding-left:8px; }
  .cr-ci-rollup-head { align-items:start; flex-direction:column; }
  .cr-ci-filter { flex-basis:calc(50% - 7px); }
  .cr-ci-filter select { font-size:16px; max-width:100%; }
  .cr-ci-table,.cr-ci-table tbody { display:block; }
  .cr-ci-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .cr-ci-table tbody tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto; align-items:center; padding:5px 0; border-bottom:1px solid var(--cr-line); }
  .cr-ci-table tbody tr:last-child { border:0; }
  .cr-ci-table td { min-width:0; border:0; padding:4px; }
  .cr-ci-table td:nth-child(1) { grid-column:1; grid-row:1; }
  .cr-ci-table td:nth-child(2) { grid-column:2; grid-row:1; }
  .cr-ci-table td:nth-child(3) { grid-column:1; grid-row:2; }
  .cr-ci-table td:nth-child(4) { grid-column:2; grid-row:2; }
  .cr-ci-table td:nth-child(4)::before { content:'First attempt: '; color:var(--cr-soft); font-size:.67rem; }
  .cr-ci-table td:nth-child(5) { grid-column:3; grid-row:1 / span 2; }
  .cr-ci button.cr-ci-open { min-height:38px; padding-inline:7px; }
  .cr-ci-drawer-head { padding:11px 13px; }
  .cr-ci-drawer-body { padding:9px 10px 22px; padding-bottom:max(22px,env(safe-area-inset-bottom)); gap:7px; scrollbar-gutter:auto; }
  .cr-ci-attribution,.cr-ci-drawer-card { padding:9px; }
  .cr-ci-deal { gap:5px; }
  .cr-ci-deal dt { font-size:.64rem; }
  .cr-ci-deal dd { font-size:.69rem; }
}
@media(prefers-reduced-motion:reduce) { .cr-ci-dialog::backdrop,.cr-ci-dialog[open] .cr-ci-drawer { animation:none; } }
