/* A progressing conversation: the surrounding work is the problem. */
.home-refresh .ba-stage,.home-refresh .ba-panel{min-height:0}
.home-refresh #ba-after{padding-bottom:1px}
.home-refresh #ba-before{background:#ffffff8f}
.buyer-hero-copy>.eyebrow{max-width:470px;line-height:1.65}
.buyer-call-note{max-width:430px}
.chat-playback{margin-left:auto;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#8a807a;flex:none}
.chat-playback:hover{background:rgb(var(--brand-burgundy-rgb) / 0.0314);color:var(--accent)}
.chat-playback svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round}
.deal-chat-window{height:332px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b7aaa055 transparent;scroll-behavior:smooth;mask-image:linear-gradient(transparent,#000 10px,#000 calc(100% - 4px),transparent)}
.deal-chat-stream{display:flex;flex-direction:column;gap:18px;padding:18px 22px 14px}
.deal-chat-message{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;animation:deal-message-in .45s ease both}
.deal-chat-message>img{width:30px;height:30px;border-radius:5px;object-fit:cover}
.deal-chat-author{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;margin-bottom:3px;font:13px/1.35 var(--sans);color:#302a27}
.deal-chat-author strong{font-weight:600}
.deal-chat-author time{font-size:10px;color:#8f8781}
.deal-chat-author>span{font:8px/1.5 var(--mono);color:#8c8179;margin-left:auto;padding-left:5px}
.deal-chat-message p{font:13px/1.5 var(--sans);color:#48403b;margin:0}
.deal-chat-message.is-reply{padding:10px 12px;margin-left:40px;border-radius:7px;background:#eae6e254}
.deal-chat-message.is-reply .deal-chat-author>span{font-size:8px}
.deal-chat-action{display:flex;align-items:flex-start;gap:9px;padding:9px 12px;margin-left:40px;border-left:1px solid #b3a39c;background:linear-gradient(90deg,#e8e2dd66,transparent);color:#84756c;font:11px/1.55 var(--sans);animation:deal-message-in .45s ease both}
.deal-chat-action svg{width:15px;height:15px;flex:none;stroke:currentColor;stroke-width:1.3;stroke-linejoin:round;stroke-linecap:round;fill:none;margin-top:1px}
.deal-chat-message small{display:block;font:10px/1.4 var(--sans);color:#9b8980;margin-top:5px}
.deal-chat-divider{display:flex;align-items:center;gap:12px;color:#9a8a82;font:9px/1.5 var(--mono);margin-block:6px}
.deal-chat-divider:before,.deal-chat-divider:after{content:'';height:1px;flex:1;background:#ded7d0}
.deal-chat-typing{display:flex;align-items:center;gap:8px;padding:11px 22px 13px;border-top:1px solid #e6dfd980;font:11px/1.4 var(--sans);color:#8a7d76}
.chat-typing-dots{display:flex;align-items:center;gap:3px;width:20px}
.chat-typing-dots i{width:3px;height:3px;border-radius:50%;background:#927e74;animation:deal-typing 1.5s ease-in-out infinite}
.chat-typing-dots i:nth-child(2){animation-delay:.18s}.chat-typing-dots i:nth-child(3){animation-delay:.36s}
#ba-before.chat-paused .chat-typing-dots i{animation-play-state:paused;opacity:.45}
@keyframes deal-typing{0%,70%,100%{opacity:.3;transform:none}35%{opacity:.9;transform:translateY(-2px)}}
@keyframes deal-message-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(max-width:640px){
 .deal-chat-window{height:328px}.deal-chat-stream{padding:16px;gap:16px}
 .deal-chat-message{grid-template-columns:27px minmax(0,1fr);gap:8px}.deal-chat-message>img{width:27px;height:27px}
 .deal-chat-author{font-size:12px}.deal-chat-message p{font-size:12px;line-height:1.5}.deal-chat-author>span{font-size:8px}
 .deal-chat-message.is-reply{margin-left:25px;padding:9px}.deal-chat-action{margin-left:35px;font-size:11px;padding:8px 10px}
 .deal-chat-typing{padding:10px 16px 12px}.hero-slack-thread{margin-bottom:18px}
}
@media(prefers-reduced-motion:reduce){.deal-chat-window{scroll-behavior:auto}.deal-chat-message,.deal-chat-action,.chat-typing-dots i{animation:none}.chat-playback,.deal-chat-typing{display:none}}

/* One persistent frame. The answer determines its height on either tab. */
.home-refresh .ba-stage{position:relative;min-height:0;isolation:isolate}
.home-refresh .ba-panel{animation:none;min-height:0}
.home-refresh #ba-after[hidden]{display:block!important;visibility:hidden;pointer-events:none}
.home-refresh #ba-before{position:absolute;inset:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.home-refresh #ba-before[hidden]{display:none!important}
.home-refresh .deal-chat-window{height:auto;min-height:0}
.home-refresh #ba-after .hero-slack-thread{margin-bottom:22px}
