/* The conversation changes; its surrounding layout stays still. */
.ask-story { padding: 25px; }
.ask-story [hidden] { display: none !important; }
.ask-story .ask-example-top { margin-bottom: 19px; }
.ask-story-track { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: #a4929f; font-size: 9px; }
.ask-story-track i { width: 28px; height: 1px; background: #e6dce2; }
.ask-story-track span { transition: color .35s ease; }
.ask-story[data-ask-stage="question"] .ask-story-track span:first-child,
.ask-story[data-ask-stage="thinking"] .ask-story-track span:first-child,
.ask-story[data-ask-stage="answer"] .ask-story-track span:nth-of-type(2),
.ask-story[data-ask-stage="questions"] .ask-story-track span:nth-of-type(2),
.ask-story[data-ask-stage="action"] .ask-story-track span:nth-of-type(2),
.ask-story[data-ask-stage="saving"] .ask-story-track span:last-child,
.ask-story[data-ask-stage="complete"] .ask-story-track span:last-child { color: #72516a; }
.ask-story-question { display: flex; align-items: center; gap: 10px; margin-left: 35px; padding: 14px 16px; font-size: 13px; line-height: 1.65; }
.ask-type-stack { display: grid; min-width: 0; flex: 1; }
.ask-type-stack > span { grid-area: 1 / 1; }
.ask-type-full { opacity: 0; user-select: none; pointer-events: none; }
.ask-send-mark { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; color: #7d5a74; background: #fcfaf8; opacity: 0; transform: translateX(-3px); transition: opacity .3s ease, transform .3s ease; }
.ask-send-mark .icon { width: 13px; height: 13px; transform: rotate(-90deg); }
.ask-story[data-ask-stage="question"] .ask-send-mark { opacity: 1; transform: none; }
.ask-story[data-ask-stage="question"] [data-ask-question]::after,
.ask-story[data-ask-stage="answer"] [data-ask-answer]::after { content: ''; display: inline-block; width: 1px; height: 1em; margin-left: 2px; background: currentColor; vertical-align: -.08em; animation: ask-caret .8s steps(1) infinite; }
.ask-story .example-answer { gap: 10px; margin-top: 16px; min-height: 96px; }
.ask-story .small-animated-sun { width: 25px; height: 25px; margin-top: 1px; }
.ask-reply-body { position: relative; flex: 1; min-width: 0; }
.ask-story .example-answer p { font-size: 12px; line-height: 1.8; min-height: 0; }
.ask-story .source-chip { margin-top: 10px; font-size: 8px; line-height: 1.4; padding: 6px 8px; }
.ask-thinking { position: absolute; top: 2px; left: 0; display: flex; align-items: center; gap: 9px; min-height: 20px; color: #96828f; font-size: 10px; }
.ask-thinking-dots { display: flex; align-items: center; gap: 3px; }
.ask-thinking-dots i { width: 4px; height: 4px; background: #a27c96; border-radius: 50%; animation: ask-thinking 1.25s ease-in-out infinite; }
.ask-thinking-dots i:nth-child(2) { animation-delay: .15s; }
.ask-thinking-dots i:nth-child(3) { animation-delay: .3s; }
.ask-action-stage { display: grid; align-items: start; min-height: 185px; margin: 12px 0 0 35px; }
.ask-action-stage > div { grid-area: 1 / 1; min-width: 0; }
.ask-list-label { display: block; font-size: 8px; letter-spacing: .8px; color: #947c8e; text-transform: uppercase; margin-bottom: 7px; }
.ask-question-list ol { list-style: none; counter-reset: ask-question; padding: 0; margin: 0; }
.ask-question-list li { display: flex; gap: 8px; padding: 8px 0; font-size: 11px; line-height: 1.55; color: #5c5160; border-bottom: 1px solid #ede4e8; counter-increment: ask-question; }
.ask-question-list li::before { content: counter(ask-question, decimal-leading-zero); flex: 0 0 16px; color: #b098aa; font-size: 8px; line-height: 2.1; }
.ask-question-number { display: none; }
.ask-add-questions { display: flex; align-items: center; gap: 7px; width: 100%; min-height: 36px; margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: #7d5a74; color: white; font-size: 10px; text-align: left; transition: background .25s ease, transform .25s ease, box-shadow .3s ease; }
.ask-add-questions > .icon { width: 13px; height: 13px; flex-shrink: 0; }
.ask-add-questions > .icon:last-child { margin-left: auto; }
.ask-add-questions:hover { background: #694960; }
.ask-add-questions:active,
.ask-story[data-ask-stage="saving"] .ask-add-questions { transform: scale(.985); background: #694960; }
.ask-story[data-ask-stage="action"] .ask-add-questions { box-shadow: 0 0 0 4px #7d5a7410; }
.ask-visit-card { background: #f5f0f3; border: 1px solid #e6dce3; border-radius: 13px; padding: 13px 14px; }
.ask-visit-confirmation { display: flex; align-items: center; gap: 6px; color: #795c72; font-size: 9px; margin-bottom: 13px; }
.ask-visit-confirmation .icon { width: 13px; height: 13px; }
.ask-visit-heading { display: flex; align-items: center; gap: 8px; }
.ask-visit-icon { display: grid; place-items: center; color: #93728a; }
.ask-visit-icon .icon { width: 21px; height: 21px; }
.ask-visit-heading > div { min-width: 0; }
.ask-visit-heading strong { display: block; font-size: 12px; font-weight: 500; line-height: 1.4; }
.ask-visit-heading > div > span { display: block; color: #96828f; font-size: 8px; margin-top: 3px; }
.ask-visit-count { margin-left: auto; color: #9a8493; font-size: 8px; white-space: nowrap; }
.ask-saved-questions { margin: 12px 0 9px; padding-left: 16px; color: #796775; font-size: 10px; line-height: 1.55; }
.ask-saved-questions li { padding: 3px 0 3px 3px; }
.ask-saved-questions li::marker { color: #ad95a5; font-size: 8px; }
.ask-visit-note { color: #a08c9a; font-size: 8px; }
.ask-context-card { padding: 18px; }
.ask-context-card .ask-list-label { margin-bottom: 17px; }
.ask-context-person { display: flex; align-items: center; gap: 9px; margin-top: 18px; }
.ask-context-person img { width: 29px; height: 29px; border-radius: 50%; object-fit: cover; }
.ask-context-person strong { display: block; color: #806578; font-size: 10px; font-weight: 500; }
.ask-context-person span { display: block; margin-top: 3px; color: #a08b99; font-size: 9px; line-height: 1.6; }
.ask-context-description { margin-top: 17px; color: #9a8493; font-size: 11px; line-height: 1.8; }
.ask-context-link { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 35px; margin-top: 17px; padding-top: 12px; border-top: 1px solid #e6dce3; color: #806178; font-size: 10px; text-align: left; }
.ask-context-link .icon { width: 13px; height: 13px; margin-left: auto; }
.ask-story .example-options { gap: 6px; margin-top: 14px; padding-top: 14px; }
.ask-story .example-options button { min-height: 34px; padding: 9px 11px; font-size: 9px; }
.ask-story-playback { display: none; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.ask-story.is-animated .ask-story-playback { display: flex; }
.ask-playback-caption { display: flex; align-items: center; gap: 5px; color: #a38f9d; font-size: 8px; }
.ask-playback-dot { width: 4px; height: 4px; background: #b79aaa; border-radius: 50%; }
.ask-playback-controls { display: flex; align-items: center; gap: 12px; }
.ask-playback-controls button { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; color: #8d7285; font-size: 9px; }
.ask-playback-controls button:disabled { opacity: .45; cursor: default; }
.ask-playback-controls .icon { width: 12px; height: 12px; }
.ask-control-symbol { width: 7px; height: 9px; border-inline: 2px solid currentColor; }
[data-ask-pause][aria-pressed="true"] .ask-control-symbol { width: 8px; height: 9px; border: 0; background: currentColor; clip-path: polygon(0 0,100% 50%,0 100%); }
.ask-story-progress { display: none; height: 1px; margin-top: 6px; overflow: hidden; background: #eee6eb; }
.ask-story.is-animated .ask-story-progress { display: block; }
.ask-story-progress::after { content: ''; display: block; height: 100%; width: 100%; background: #c5a5b8; transform: scaleX(var(--ask-progress, 1)); transform-origin: left; }
.ask-story .ask-example-bottom { align-items: flex-start; gap: 7px; margin-top: 12px; font-size: 8px; line-height: 1.7; }
.ask-story .ask-example-bottom .icon { margin-top: 2px; flex-shrink: 0; }
.ask-story.is-animated [data-ask-confirmation]:not([hidden]) { animation: ask-reveal .55s cubic-bezier(.22,1,.36,1) both; }
.ask-story.is-animated [data-ask-context]:not([hidden]) { animation: ask-reveal .55s cubic-bezier(.22,1,.36,1) both; }
.ask-story.is-animated [data-ask-suggestion]:not([hidden]) { animation: ask-reveal .4s cubic-bezier(.22,1,.36,1) both; }
.ask-story[data-ask-running="false"] .small-animated-sun,
.ask-story[data-ask-running="false"] .ask-thinking-dots i,
.ask-story[data-ask-running="false"] [data-ask-question]::after,
.ask-story[data-ask-running="false"] [data-ask-answer]::after { animation-play-state: paused; }
.ask-story:not(.is-animated) .ask-story-options { display: none; }
.ask-story[data-ask-scenario="help"] .ask-action-stage,
.ask-story[data-ask-scenario="document"] .ask-action-stage { min-height: 185px; }
.ask-story[data-ask-scenario="help"] .ask-story-track,
.ask-story[data-ask-scenario="document"] .ask-story-track { visibility: hidden; }
@keyframes ask-caret { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes ask-thinking { 0%,60%,100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes ask-reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) and (min-width: 801px) {
  .ask-layout { gap: 45px; grid-template-columns: .88fr 1.12fr; }
  .ask-story { padding: 24px; }
}
@media (max-width: 650px) {
  .ask-story { padding: 22px 19px; }
  .ask-story-question { margin-left: 25px; font-size: 12px; padding: 13px 14px; }
  .ask-story .example-answer { min-height: 127px; gap: 8px; }
  .ask-story .small-animated-sun { width: 22px; height: 22px; }
  .ask-story .example-answer p { font-size: 12px; line-height: 1.75; }
  .ask-story .source-chip { font-size: 7px; }
  .ask-action-stage { margin-left: 30px; min-height: 215px; }
  .ask-story[data-ask-scenario="help"] .ask-action-stage,
  .ask-story[data-ask-scenario="document"] .ask-action-stage { min-height: 215px; }
  .ask-question-list li { font-size: 10px; }
  .ask-visit-card { padding: 12px; }
  .ask-visit-count { display: none; }
  .ask-visit-heading strong { font-size: 11px; }
  .ask-saved-questions { font-size: 10px; }
  .ask-story .example-options { gap: 5px; }
  .ask-story .example-options button { padding: 8px 9px; font-size: 8px; }
  .ask-playback-controls { gap: 10px; }
  .ask-playback-caption { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .ask-story *, .ask-story *::after { animation: none !important; transition: none !important; }
}
.reduce-motion .ask-story *, .reduce-motion .ask-story *::after { animation: none !important; transition: none !important; }
