/* Black Diamond motion kit v4: growth scenes (content, outbound, voice, funnel). Shell styles come from v3.css. */
.content4 { --glow: var(--p-purple); } .outbound4 { --glow: var(--p-orange); } .voice4 { --glow: var(--p-teal); } .funnel4 { --glow: var(--p-blue); }
.s3 .g-tx { min-width: 0; flex: 1; }
.s3 .g-tx b { display: block; font-weight: 700; font-size: max(12px, .92em); line-height: 1.25; }
.s3 .g-tx small { display: block; color: var(--muted); font-size: max(12px, .8em); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.3em; }
.s3 .g-big { display: block; font: 900 2em/1 var(--font); letter-spacing: -0.04em; margin-top: 4px; }
.s3 .g-stat { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; }

/* content */
.g-steps { padding: 8px 10px; display: grid; gap: 6px; }
.g-step { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.g-n { width: 22px; height: 22px; border-radius: 50%; background: var(--sunk); color: var(--muted); display: grid; place-items: center; font-weight: 800; font-size: max(12px, .74em); flex: none; }
.g-step .s3-ok { flex: none; }
.g-prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--p-purple); }
.g-thumb { width: 22px; height: 38px; border-radius: 5px; background: var(--sunk); border: 1px solid var(--line); overflow: hidden; position: relative; flex: none; }
.g-thumb i { position: absolute; inset: 0; transform-origin: bottom; background: linear-gradient(180deg, var(--p-purple), var(--p-pink)); }
.g-plat { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); }
.g-chips { display: flex; gap: 6px; }
.g-chip { position: relative; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.g-chip .ico { border: 0; padding: 0; width: 20px; height: 20px; background: none; }
.g-chip em { position: absolute; right: -5px; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: var(--p-green); color: var(--p-ink); font: 800 10px/16px var(--font); text-align: center; font-style: normal; }
.g-up { background: var(--p-green) !important; color: var(--p-ink) !important; }

/* outbound */
.g-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); transition: background .3s, opacity .3s; }
.s3-win > .g-row:last-child { border-bottom: 0; }
.g-score { width: 26%; height: 6px; border-radius: 99px; background: var(--sunk); overflow: hidden; flex: none; }
.g-score i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--p-orange); }
.g-fit { width: 2.2em; text-align: right; font-weight: 800; font-size: max(12px, .85em); font-variant-numeric: tabular-nums; }
.g-row.hot { background: color-mix(in srgb, var(--p-orange) 16%, var(--surface)); }
.g-row.cold { opacity: .45; }
.g-mail { padding: 10px 12px 12px; display: grid; gap: 6px; }
.g-mail small { color: var(--muted); font-size: max(12px, .8em); }
.g-mail p { margin: 0; min-height: 2.9em; font-size: max(12px, .9em); line-height: 1.45; color: var(--ink-2); }
.g-li { display: inline-flex; align-items: center; gap: 6px; font-size: max(12px, .78em); font-weight: 700; color: var(--muted); }
.g-li .ico { width: 16px; height: 16px; padding: 1px; }
.g-reply .g-row { border: 0; }
.g-reply .av { width: 28px; height: 28px; border-radius: 50%; background: var(--p-orange); color: var(--p-ink); display: grid; place-items: center; font-weight: 800; font-size: max(12px, .78em); flex: none; }

/* voice */
.g-phone { width: 24px; height: 24px; border-radius: 50%; background: var(--p-green); color: var(--p-ink); display: grid; place-items: center; flex: none; }
.g-phone svg { width: 13px; height: 13px; }
.g-caller { padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; border-bottom: 1px solid var(--line); }
.g-caller b { font-weight: 800; font-variant-numeric: tabular-nums; } .g-caller small { grid-row: 2; color: var(--muted); font-size: max(12px, .8em); }
.g-wave { grid-row: 1 / 3; grid-column: 2; display: flex; align-items: center; gap: 2px; height: 30px; }
.g-wave i { width: 3px; height: 100%; border-radius: 3px; background: var(--p-teal); transform-origin: center; }
.g-chat { padding: 10px 12px; display: grid; gap: 7px; }
.g-b { margin: 0; max-width: 84%; padding: 7px 11px; border-radius: 14px; font-size: max(12px, .88em); line-height: 1.35; min-height: 2.1em; }
.g-b.in { background: var(--sunk); border-bottom-left-radius: 4px; justify-self: start; }
.g-b.ai { background: color-mix(in srgb, var(--p-teal) 30%, var(--surface)); border-bottom-right-radius: 4px; justify-self: end; }
.g-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 12px; }
.g-slots span { border: 1px dashed var(--line-2); border-radius: 10px; padding: 6px 8px; font-size: max(12px, .78em); color: var(--muted); font-weight: 700; transition: background .3s, border-color .3s, color .3s; }
.g-slots b { display: block; color: var(--ink); font-size: 1.15em; }
.g-slots .g-x { opacity: .4; text-decoration: line-through; }
.g-slots span.booked { background: var(--mark); border: 1px solid var(--mark); color: var(--mark-ink); }
.g-slots span.booked b { color: var(--mark-ink); }

/* funnel */
.g-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.g-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.g-bar span { margin-left: 8px; flex: 1; text-align: center; font-size: max(12px, .76em); color: var(--muted); background: var(--sunk); border-radius: 999px; padding: 3px 8px; }
.g-page { padding: 14px 14px 10px; display: grid; justify-items: center; gap: 7px; }
.g-h1 { font: 900 1.15em/1.1 var(--font); letter-spacing: -0.02em; text-align: center; }
.g-sub { width: 70%; height: 6px; border-radius: 99px; background: var(--sunk); } .g-sub.s2 { width: 50%; }
.g-cta { margin-top: 3px; background: var(--mark); color: var(--mark-ink); font-weight: 800; font-size: max(12px, .82em); border-radius: 999px; padding: 6px 16px; }
.g-conv { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-top: 1px solid var(--line); }
.g-conv b { font: 900 1.25em/1 var(--font); letter-spacing: -0.03em; }
.g-src { display: flex; align-items: center; gap: 9px; padding: 7px 12px; border-bottom: 1px solid var(--line); }
.g-src:last-child { border-bottom: 0; }
.g-src .ico { width: 20px; height: 20px; padding: 2px; }
.g-src .g-tx { flex: none; width: 5.6em; }
.g-sb { flex: 1; height: 8px; border-radius: 99px; background: var(--sunk); overflow: hidden; }
.g-sb i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--p-blue); }
.g-src.top .g-sb i { background: var(--mark); }
.g-v { width: 3.6em; text-align: right; font-weight: 800; font-size: max(12px, .85em); }

/* scene heights fit each end state */
.content4 { height: 32em; } .outbound4 { height: 38em; } .voice4 { height: 38em; } .funnel4 { height: 28.5em; }
