dana-handoff {display:block;scroll-margin-block-start:76px;background:#fff8fb;color:#30232e;font-family:var(--font-sans)}
.handoff-layout {max-width:1040px;margin:auto;padding:clamp(42px,5vw,76px) 22px;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(26px,5vw,72px);align-items:center}
.handoff-intro h2 {font-size:clamp(32px,3.8vw,52px);line-height:1.32;font-weight:750;margin:0;text-wrap:balance}
.handoff-intro em {color:#db0062;font-style:normal}
.handoff-intro>p {margin:14px 0 0;font-size:clamp(15px,1.5vw,18px);line-height:1.8;color:#655663}
.handoff-cue {position:relative;isolation:isolate;max-width:285px;margin:34px auto 9px;padding:18px 23px 22px;background:#fffdf7;border:1px solid #e6dae0;border-radius:13px;box-shadow:-4px 5px 0 #f9eff3,-5px 6px 0 #dfcfd7;transform:rotate(-3deg);text-align:left}
.handoff-cue figcaption {color:#846479;font:600 12px/1.5 var(--font-sans),sans-serif}
.handoff-cue blockquote {margin:9px 0 0;font:italic 30px/1.15 Georgia,serif;color:#4a2d40}
.handoff-chat {min-width:0;overflow:hidden;background:white;border:1px solid #ecbfd4;border-radius:20px;box-shadow:0 10px 28px #49213709}
.handoff-chat>header,.handoff-chat>header strong {display:flex;align-items:center;gap:8px}
.handoff-chat>header {padding:14px 18px;justify-content:space-between;border-bottom:1px solid #eee1e8}
.handoff-chat>header img {width:20px;height:20px}.handoff-chat>header small {color:#6c5c68;font-size:12px}
.handoff-messages {display:grid;gap:10px;margin:0;padding:16px;list-style:none}
.handoff-messages li:where(:not(.handoff-transfer)) {justify-self:start;max-width:90%;padding:8px 13px;text-align:start;background:#f7f5f7;border-radius:14px;border-start-start-radius:4px}
.handoff-avatar {display:inline-grid;place-items:center;width:24px;height:24px;flex:none;border-radius:50%;background:#ebe6ed}
.handoff-ai .handoff-avatar {background:#fff}
.handoff-human .handoff-avatar {background:#d9ebdf}
.handoff-avatar svg,.handoff-avatar img {display:block;width:16px;height:16px}
.handoff-messages small {display:flex;align-items:center;gap:6px;font-size:12px;color:#655563;font-weight:650}
.handoff-messages p {margin:2px 0 0;font-size:15px;line-height:1.6}
.handoff-messages .handoff-ai,.handoff-messages .handoff-human {justify-self:end;border-radius:14px;border-start-end-radius:4px}
.handoff-messages li.handoff-ai {background:#fff0f7;border:1px solid #f4d1e1}.handoff-ai small{color:#99245b}
.handoff-messages li.handoff-human {background:#edf6f0;border:1px solid #d3e6d9}.handoff-human small {color:#33664c}
.handoff-transfer {display:flex;align-items:center;gap:9px;color:#526456;font-size:12px}
.handoff-transfer span {padding:3px 12px;background:#e6f3ea;border:1px solid #c6dece;border-radius:999px;color:#28583e;font-size:13px;font-weight:700}
.handoff-transfer::before,.handoff-transfer::after {content:"";flex:1;height:1px;background:#dce7df}
@media(max-width:720px){
 .handoff-layout {max-width:490px;grid-template-columns:minmax(0,1fr);gap:18px;padding:38px 16px}
 .handoff-intro {text-align:center}.handoff-intro>p {margin-top:8px}.handoff-cue {display:none}
 .handoff-chat>header {padding:12px}.handoff-messages {padding:12px;gap:8px}.handoff-messages p {font-size:14px}
}
