/* m267 (BP-295, BP-258): Two roads to booked calls. The scroll is the only clock inside the phones: no transition runs
   there; the driver (assets/r98/m267/m208.js) sets each fade from the scroll. Words only fade, at their own place.
   The run is 1600 px (was 1200): the old pace per step, plus the Inbound booked-call end and its hold. Undo: no m267. */
html body section#route.m63-rt.m208.m208-js .m208-run{height: calc(1600px / var(--bpz, 1));}

/* no clock inside the phones or on the road labels: every fade follows the scroll */
html body #route.m63-rt.m208 .m63-ph.m267-in, html body #route.m63-rt.m208 .m63-ph.m267-in *,
html body #route.m63-rt.m208 .m63-ph.m267-out, html body #route.m63-rt.m208 .m63-ph.m267-out *,
html body #route.m63-rt.m208.m208-js .m208-road{transition: none !important;}

/* Inbound: the screens fade in place, one after the other (no sideways slide) */
html body #route.m63-rt.m208 [data-m63].m267-in .m63-stage > .m63-v{transform: none; visibility: visible; opacity: 0; pointer-events: none;}
html body #route.m63-rt.m208 [data-m63].m267-in .m63-stage > .m63-v.m63-feed{opacity: 1;}
html body #route.m63-rt.m208 [data-m63].m267-in .m63-stage{opacity: 1;}
/* the lime mark on the counts, set from the scroll */
html body #route.m63-rt.m208 [data-m63].m267-in .m63-soc{background: rgba(194, 245, 66, calc(0.32 * var(--m267-hi, 0)));box-shadow: 0 0 0 6px rgba(194, 245, 66, calc(0.32 * var(--m267-hi, 0)));color: rgba(0, 0, 0, .9);}
/* new rows: the blue mark of a new message fades with the scroll; the picked row (James T.) gets a tap shade */
html body #route.m63-rt.m208 [data-m63].m267-in .m63-rows .m63-row .m63-row__in{background-color: rgba(234, 243, 252, var(--m267-fr, 0));background-image: linear-gradient(rgba(0, 0, 0, calc(0.08 * var(--m267-pk, 0))), rgba(0, 0, 0, calc(0.08 * var(--m267-pk, 0))));}

/* Inbound end: James T.'s chat and the booked call */
html body #route.m63-rt.m208 [data-m63].m267-in .m267-book .m63-m > div{font-size: 13.5px;line-height: 1.4;}
html body #route.m63-rt.m208 [data-m63].m267-in .m267-card{display: flex;align-items: center;gap: 12px;margin: 8px 0 6px;padding: 12px 14px;border: 1px solid #d5e8a8;border-radius: 12px;background: #f5fbe4;}
html body #route.m63-rt.m208 [data-m63].m267-in .m267-ok{position: relative;flex: none;display: block;width: 38px;height: 38px;border-radius: 50%;background: #c2f542;color: #1c2800;}
html body #route.m63-rt.m208 [data-m63].m267-in .m267-ok svg{position: absolute;left: 50%;top: 50%;display: block;width: 22px;height: 22px;margin: -11px 0 0 -11px;}
html body #route.m63-rt.m208 [data-m63].m267-in .m267-card > div{min-width: 0;line-height: 1.3;}
html body #route.m63-rt.m208 [data-m63].m267-in .m267-card b{display: block;font-size: 17px;font-weight: 700;color: rgba(0, 0, 0, .9);}
html body #route.m63-rt.m208 [data-m63].m267-in .m267-card span{display: block;margin-top: 2px;font-size: 14.5px;font-weight: 600;color: rgba(0, 0, 0, .9);white-space: nowrap;}
html body #route.m63-rt.m208 [data-m63].m267-in .m267-card small{display: block;margin-top: 1px;font-size: 12px;color: rgba(0, 0, 0, .6);}

/* Outbound: every message keeps its own place from the start and fades in there; the typing dots sit in the place of
   Sam's reply (the driver measures it), so nothing pushes the chat up and nothing overlaps */
html body #route.m63-rt.m208 [data-m63].m267-out .m63-tbody{position: relative;}
html body #route.m63-rt.m208 [data-m63].m267-out .m63-tbody > .m63-step.m63-typing{position: absolute;left: 14px;right: 14px;top: var(--m267-ty, 0px);}

/* under 1100 px one phone shows at a time: the two cross-fade with the scroll (they swapped at once) */
@media (max-width: 1099.98px){
    html body #route.m63-rt.m208.m208-one:not(.m208-rm) .m63-roads .m63-col{visibility: visible !important;opacity: var(--m267-co, 1) !important;transition: none !important;}
    html body #route.m63-rt.m208.m208-one:not(.m208-rm) .m63-roads .m63-col.m267-gone{visibility: hidden !important;}
}
