/* Close-up conversations, in the established DAIS palette. */
.workflow-chat-section .section-title{margin-bottom:56px}
.workflow-chat-rows{display:grid;gap:78px}
.workflow-chat-row{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);grid-template-areas:'animation copy';gap:72px;align-items:center}
.workflow-chat-row.is-reversed{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);grid-template-areas:'copy animation'}
.workflow-chat-row+.workflow-chat-row{padding-top:78px;border-top:1px solid #d7e1d3}
.workflow-chat-copy{grid-area:copy;min-width:0}
.workflow-chat-copy h3{font:normal clamp(29px,3.1vw,39px)/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.7px;margin:0 0 22px;max-width:340px}
.workflow-chat-copy p{font-size:15px;line-height:1.75;color:#415746;margin:0 0 15px;max-width:370px}
.workflow-chat-copy .workflow-chat-detail{font-size:13px;line-height:1.75;color:#607361;margin-bottom:27px}
.workflow-chat-cta{border:0;border-bottom:1px solid #8ea58a;background:transparent;color:#294f39;font-size:12px;padding:5px 0;text-align:left;line-height:1.6}
.workflow-chat-cta:hover{color:#1e6556;border-color:#1e6556}
.workflow-chat-media{grid-area:animation;min-width:0;width:50%;justify-self:center}
.chat-scene-viewport{height:320px}
.chat-scene{width:200%;height:640px;position:relative;isolation:isolate;transform:scale(.5);transform-origin:top left}
.chat-scene:before{content:'';position:absolute;inset:8px 28px 9px;background:#dcebe3;border-radius:28px;z-index:-1}
.chat-thread{position:absolute;top:25px;left:0;right:0;display:flex;flex-direction:column;gap:14px}
.chat-prompt{background:#fff;border:1px solid #d9e2dc;border-radius:25px;padding:17px;box-shadow:0 12px 34px #294f3910;transition:transform .6s cubic-bezier(.2,.7,.2,1);will-change:transform}
.chat-prompt-bubble{background:#2c6654;color:#fff;border-radius:19px 19px 4px 19px;padding:16px 19px;font-size:16px;line-height:1.5;min-height:56px}
.chat-type-caret{display:none;height:17px;border-right:1px solid currentColor;vertical-align:-3px;margin-left:2px;animation:chat-caret .75s steps(1) infinite}
.chat-user-meta{display:flex;justify-content:flex-end;align-items:center;gap:7px;color:#687e6d;font-size:10px;padding:11px 2px 0}
.chat-user-avatar{height:23px;width:23px;border:1px solid #d9e4d9;border-radius:50%;display:grid;place-items:center;color:#68806b;background:#f2f7f1}
.chat-user-time{color:#768b7a}
.chat-send{display:grid;place-items:center;flex-shrink:0;height:28px;width:28px;padding:0;margin-left:6px;border:1px solid #c8d9cb;border-radius:50%;background:#f0f6f0;color:#295f47;transition:background .2s,transform .2s}
.chat-send.is-sending{background:#d9ebe0;transform:scale(.93)}
.chat-reply{background:#fff;border:1px solid #d9e2dc;border-radius:23px;padding:18px 20px;box-shadow:0 14px 38px #294f3912;transition:opacity .4s ease,transform .5s cubic-bezier(.2,.7,.2,1)}
.chat-reply-header{display:flex;align-items:center;gap:11px;min-height:28px;margin-bottom:10px;color:#6b806e;font-size:10px}
.chat-reply-header img{display:block;width:52px;height:auto;flex-shrink:0}
.chat-response-copy{font-size:13px;line-height:1.6;color:#354d3d;margin:0 0 12px}
.chat-response-copy:empty{display:none}
.chat-result-shell{display:grid;grid-template-rows:1fr;opacity:1;transition:grid-template-rows .5s cubic-bezier(.2,.7,.2,1),opacity .4s ease}
.chat-result-inner{overflow:hidden;min-height:0}
.chat-answer-metric{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 11px;margin:0 0 14px}
.chat-answer-metric strong{font-size:27px;line-height:1.2;font-weight:400;letter-spacing:-.5px;color:#234b36}
.chat-answer-metric>span{font-size:10px;line-height:1.5;color:#5b7562}
.chat-result-title{font-size:10px;color:#5d7564;margin-bottom:3px}
.chat-data-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 12px;padding:9px 0;border-bottom:1px solid #e3eae1}
.chat-row-copy{min-width:0}
.chat-row-copy strong{display:block;font-size:11px;font-weight:500;line-height:1.5;color:#385741}
.chat-row-copy>span{display:block;font-size:9px;line-height:1.5;color:#6b806e}
.chat-row-value{font-size:13px;color:#2c563e;font-variant-numeric:tabular-nums;white-space:nowrap}
.chat-bar-track{grid-column:1/-1;height:4px;border-radius:3px;background:#edf3eb;overflow:hidden}
.chat-bar-track i{display:block;height:100%;width:var(--bar-width);background:#6c9b83;border-radius:3px;transform-origin:left center;transform:scaleX(1);transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.chat-data-row:nth-child(2) .chat-bar-track i{transition-delay:.1s}
.chat-data-row:nth-child(3) .chat-bar-track i{transition-delay:.2s}
.chat-data-note{font-size:9px;color:#6c806f;line-height:1.5;margin:10px 0 0}
.chat-thinking{display:inline-flex;gap:4px;margin-left:auto}
.chat-thinking i{width:4px;height:4px;border-radius:50%;background:#6c9b83;animation:chat-thinking 1s ease infinite}
.chat-thinking i:nth-child(2){animation-delay:.15s}.chat-thinking i:nth-child(3){animation-delay:.3s}
.chat-player{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 5px 0;color:#647b68;font-size:10px}
.chat-player-actions{display:flex;align-items:center;gap:7px}
.chat-player-actions button{width:29px;height:29px;border:1px solid #b4c7b4;border-radius:50%;background:transparent;color:#365a40;display:grid;place-items:center;padding:0}
.chat-player-actions button:hover{background:#e1ecdf}
.chat-sample-note{font-size:9px;color:#6a7e6b;line-height:1.5;margin:6px 5px 0}
.chat-scene[data-chat-phase=typing] .chat-type-caret{display:inline-block}
.chat-scene.is-first[data-chat-phase=typing] .chat-prompt{transform:translateY(150px) scale(1.025)}
.chat-scene[data-chat-phase=typing] .chat-reply{opacity:0;transform:translateY(20px);pointer-events:none}
.chat-scene[data-chat-phase=typing] .chat-result-shell,.chat-scene[data-chat-phase=thinking] .chat-result-shell,.chat-scene[data-chat-phase=streaming] .chat-result-shell{grid-template-rows:0fr;opacity:0}
.chat-scene[data-chat-phase=typing] .chat-bar-track i,.chat-scene[data-chat-phase=thinking] .chat-bar-track i,.chat-scene[data-chat-phase=streaming] .chat-bar-track i{transform:scaleX(0)}
@keyframes chat-caret{50%{opacity:0}}
@keyframes chat-thinking{0%,75%,100%{opacity:.3;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
@media(max-width:1050px){.workflow-chat-row,.workflow-chat-row.is-reversed{gap:42px}.chat-prompt-bubble{font-size:15px;padding:15px 17px}.chat-reply{padding:18px}.workflow-chat-copy p{font-size:14px}}
@media(max-width:800px){
 .workflow-chat-section .section-title{margin-bottom:35px}
 .workflow-chat-rows{gap:46px}
 .workflow-chat-row,.workflow-chat-row.is-reversed{grid-template-columns:minmax(0,1fr);grid-template-areas:'copy' 'animation';gap:24px}
 .workflow-chat-row+.workflow-chat-row{padding-top:46px}
 .workflow-chat-copy h3{font-size:34px;margin-bottom:15px;max-width:500px}
 .workflow-chat-copy p,.workflow-chat-copy .workflow-chat-detail{max-width:540px}
 .workflow-chat-copy .workflow-chat-detail{margin-bottom:17px}
 .workflow-chat-media{width:min(270px,50%);margin:auto}
 .chat-scene-viewport{height:327.5px}
 .chat-scene{height:655px}
}
@media(max-width:480px){
 .chat-scene-viewport{height:335px}
 .chat-scene{height:670px}.chat-scene:before{inset:5px 20px 7px;border-radius:23px}
 .chat-thread{top:22px;gap:12px}.chat-prompt{padding:13px;border-radius:22px}
 .chat-prompt-bubble{font-size:14px;line-height:1.5;padding:14px 15px}
 .chat-reply{padding:16px 17px;border-radius:21px}
 .chat-response-copy{font-size:12px;line-height:1.65}
 .chat-answer-metric strong{font-size:25px}
 .chat-user-meta{font-size:9px}
 .chat-scene.is-first[data-chat-phase=typing] .chat-prompt{transform:translateY(160px) scale(1.01)}
}
@media(prefers-reduced-motion:reduce){
 .chat-prompt,.chat-reply,.chat-result-shell,.chat-bar-track i,.chat-send{transition:none!important;transform:none!important}
 .chat-type-caret,.chat-thinking i{animation:none!important}
}

.workflow-chat-media.is-paused .chat-type-caret,.workflow-chat-media.is-paused .chat-thinking i{animation-play-state:paused}
