/* A complete conversation settles below the navigation, without scaling text. */
#ask-sunday {
  --ask-sticky-top: 86px;
  --ask-view-height: calc(100svh - var(--ask-sticky-top));
  --ask-scroll-distance: 120px;
  --ask-card-pad: 20px;
  --ask-header-gap: 10px;
  --ask-track-gap: 10px;
  --ask-question-pad: 8px 12px;
  --ask-body-size: 15px;
  --ask-thread-indent: 32px;
  --ask-reply-top: 10px;
  --ask-reply-height: 90px;
  --ask-answer-leading: 1.55;
  --ask-source-top: 6px;
  --ask-stage-height: 205px;
  --ask-stage-top: 10px;
  --ask-list-size: 13px;
  --ask-list-pad: 4px;
  --ask-visit-pad: 12px;
  --ask-visit-gap: 8px;
  --ask-options-gap: 8px;
  --ask-control-height: 34px;
  --ask-playback-gap: 6px;
  --ask-playback-height: 30px;
  --ask-bottom-gap: 8px;
  position: relative;
  padding: 0;
  overflow: clip;
  scroll-margin-top: var(--ask-sticky-top);
}

#ask-sunday .ask-pin {
  position: relative;
  height: auto;
  padding-block: 64px 72px;
}

#ask-sunday .ask-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(30px, 4.5vw, 58px);
  max-width: 1120px;
  height: auto;
  min-height: 0;
  padding-block: 0;
}

#ask-sunday .ask-copy,
#ask-sunday .ask-story { min-width: 0; }

#ask-sunday .ask-copy .animated-sun { width: 64px; height: 64px; margin-bottom: 20px; }
#ask-sunday .ask-copy .eyebrow { margin-bottom: 14px; font-size: 11px; line-height: 1.4; }
#ask-sunday .ask-copy h2 { font-size: clamp(38px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
#ask-sunday .ask-copy > p { margin-top: 20px; font-size: 14px; line-height: 1.75; }
#ask-sunday .ask-copy .button { min-height: 46px; margin-top: 22px; padding: 12px 20px; }
#ask-sunday .ask-footnote { margin-top: 14px; font-size: 10px; line-height: 1.5; color: #adb1c0; }

/* These sizes apply before pinning too, keeping the controller's fit check stable. */
#ask-sunday .ask-story { position: relative; width: 100%; margin: 0; padding: var(--ask-card-pad); overflow: visible; }
#ask-sunday .ask-example-top { min-height: 18px; margin-bottom: var(--ask-header-gap); }
#ask-sunday .ask-example-top > span:first-child { font-size: 10px; letter-spacing: 1px; color: #755c70; }
#ask-sunday .example-badge { padding: 4px 7px; font-size: 10px; line-height: 1.3; letter-spacing: .4px; color: #755c70; }
#ask-sunday .ask-story-track { margin-bottom: var(--ask-track-gap); font-size: 10px; line-height: 1.3; color: #806779; }
#ask-sunday .ask-story-question { margin-left: var(--ask-thread-indent); padding: var(--ask-question-pad); font-size: var(--ask-body-size); line-height: 1.45; color: #6b4d64; }
#ask-sunday .ask-send-mark { width: 32px; height: 32px; min-width: 32px; min-height: 32px; padding: 0; }
#ask-sunday .ask-story[data-ask-stage="sending"] .ask-send-mark { opacity: 1; transform: none; }
#ask-sunday .ask-story[data-ask-stage="sending"] .ask-story-track span:first-child { color: #72516a; }
#ask-sunday .ask-story .example-answer { min-height: var(--ask-reply-height); margin-top: var(--ask-reply-top); }
#ask-sunday .ask-story .example-answer p { font-size: var(--ask-body-size); line-height: var(--ask-answer-leading); }
#ask-sunday .ask-thinking { font-size: 12px; color: #795e72; }
#ask-sunday .ask-story .source-chip { margin-top: var(--ask-source-top); padding: 4px 7px; font-size: 10px; line-height: 1.35; color: #74566b; }
#ask-sunday .ask-action-stage { min-height: var(--ask-stage-height); margin: var(--ask-stage-top) 0 0 var(--ask-thread-indent); }
#ask-sunday .ask-list-label { margin-bottom: 5px; font-size: 10px; line-height: 1.35; letter-spacing: .5px; color: #775b70; }
#ask-sunday .ask-question-list li { padding-block: var(--ask-list-pad); font-size: var(--ask-list-size); line-height: 1.4; color: #594b59; }
#ask-sunday .ask-question-list li::before { font-size: 10px; line-height: 1.8; color: #8a6d80; }
#ask-sunday .ask-add-questions { min-height: 34px; margin-top: 8px; padding: 7px 11px; font-size: 11px; }
#ask-sunday .ask-visit-card { padding: var(--ask-visit-pad); }
#ask-sunday .ask-visit-confirmation { margin-bottom: var(--ask-visit-gap); font-size: 11px; line-height: 1.35; color: #6d4f65; }
#ask-sunday .ask-visit-heading strong { font-size: 14px; line-height: 1.3; }
#ask-sunday .ask-visit-heading > div > span { margin-top: 2px; font-size: 10px; line-height: 1.35; color: #785e71; }
#ask-sunday .ask-visit-count { font-size: 10px; color: #785e71; }
#ask-sunday .ask-saved-questions { margin: 8px 0 6px; font-size: var(--ask-list-size); line-height: 1.4; color: #685262; }
#ask-sunday .ask-saved-questions li { padding-block: 2px; }
#ask-sunday .ask-saved-questions li::marker { font-size: 10px; color: #8a6d80; }
#ask-sunday .ask-visit-note { display: block; font-size: 10px; line-height: 1.35; color: #785e71; }
#ask-sunday .ask-context-card .ask-list-label { margin-bottom: var(--ask-visit-gap); }
#ask-sunday .ask-context-person { margin-top: var(--ask-visit-gap); }
#ask-sunday .ask-context-person strong { font-size: 12px; line-height: 1.35; color: #6e5267; }
#ask-sunday .ask-context-person span { font-size: 11px; line-height: 1.4; color: #785e71; }
#ask-sunday .ask-context-description { margin-top: var(--ask-visit-gap); font-size: 12px; line-height: 1.5; color: #785e71; }
#ask-sunday .ask-context-link { min-height: 32px; margin-top: var(--ask-visit-gap); padding-top: var(--ask-visit-gap); font-size: 11px; color: #6d4e65; }
#ask-sunday .ask-story .example-options { margin-top: var(--ask-options-gap); padding-top: var(--ask-options-gap); }
#ask-sunday .ask-story .example-options button { min-height: var(--ask-control-height); padding: 6px 10px; font-size: 11px; color: #78596f; }
#ask-sunday .ask-story .example-options button[aria-pressed="true"] { color: white; }
#ask-sunday .ask-story-playback { margin-top: var(--ask-playback-gap); gap: 8px; }
#ask-sunday .ask-playback-caption { min-width: 0; font-size: 10px; line-height: 1.35; color: #785e71; }
#ask-sunday .ask-playback-controls { flex: 0 0 auto; }
#ask-sunday .ask-playback-controls button { min-height: var(--ask-playback-height); font-size: 11px; color: #74566b; }
#ask-sunday .ask-story-progress { margin-top: 4px; }
#ask-sunday .ask-story .ask-example-bottom { margin-top: var(--ask-bottom-gap); font-size: 10px; line-height: 1.4; color: #785e71; }

/* The halo is deliberately translucent so the control's label stays readable. */
#ask-sunday .ask-click-cue {
  position: absolute;
  z-index: 3;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.7);
  background: radial-gradient(circle, #f0c7b85c 0%, #c49bb152 30%, #b58aa629 48%, transparent 72%);
}

/* Appointment and document details stay inside the same local action card. */
#ask-sunday .ask-context-card { min-height: var(--ask-stage-height); }
#ask-sunday [data-ask-context-summary],
#ask-sunday [data-ask-context-detail] { min-width: 0; }
#ask-sunday .ask-detail-back { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; margin: 0 0 5px; padding: 0; font-size: 11px; line-height: 1.3; color: #6d4e65; }
#ask-sunday .ask-detail-back .icon { width: 13px; height: 13px; transform: rotate(180deg); }
#ask-sunday .ask-detail-heading strong { display: block; font-size: 14px; line-height: 1.3; font-weight: 500; }
#ask-sunday .ask-detail-heading > span { display: block; margin-top: 3px; font-size: 11px; line-height: 1.35; color: #785e71; }
#ask-sunday .ask-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 14px; margin-top: 9px; }
#ask-sunday .ask-detail-grid > div { min-width: 0; }
#ask-sunday .ask-detail-grid > div > span,
#ask-sunday .ask-detail-label { display: block; font-size: 10px; line-height: 1.3; color: #785e71; }
#ask-sunday .ask-detail-grid strong { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; font-weight: 500; overflow-wrap: anywhere; }
#ask-sunday .ask-document-excerpt { margin-top: 9px; padding-left: 10px; border-left: 2px solid #d4bccb; }
#ask-sunday .ask-detail-label { margin-bottom: 5px; }
#ask-sunday .ask-document-excerpt p { font-size: 12px; line-height: 1.45; color: #685262; }

@media (min-width: 901px) {
  #ask-sunday.is-ask-pinned { height: calc(var(--ask-view-height) + var(--ask-scroll-distance)); }
  #ask-sunday.is-ask-pinned .ask-pin { position: sticky; top: var(--ask-sticky-top); height: var(--ask-view-height); padding: 0; }
  #ask-sunday.is-ask-pinned .ask-layout { height: 100%; padding-block: 12px; }
}

@media (min-width: 901px) and (max-height: 720px) {
  #ask-sunday {
    --ask-card-pad: 18px;
    --ask-header-gap: 8px;
    --ask-track-gap: 8px;
    --ask-reply-height: 88px;
    --ask-reply-top: 8px;
    --ask-stage-height: 200px;
    --ask-stage-top: 8px;
    --ask-list-pad: 4px;
  }
  #ask-sunday .ask-copy .animated-sun { width: 56px; height: 56px; margin-bottom: 16px; }
  #ask-sunday .ask-copy h2 { font-size: 40px; }
  #ask-sunday .ask-copy > p { margin-top: 17px; font-size: 13px; line-height: 1.7; }
  #ask-sunday .ask-copy .button { margin-top: 18px; }
}

@media (min-width: 901px) and (max-height: 680px) {
  #ask-sunday {
    --ask-card-pad: 16px;
    --ask-header-gap: 7px;
    --ask-question-pad: 7px 12px;
    --ask-body-size: 14px;
    --ask-thread-indent: 30px;
    --ask-reply-height: 80px;
    --ask-reply-top: 8px;
    --ask-answer-leading: 1.5;
    --ask-source-top: 6px;
    --ask-stage-height: 190px;
    --ask-list-size: 12px;
    --ask-visit-gap: 6px;
    --ask-options-gap: 7px;
    --ask-playback-gap: 5px;
  }
  #ask-sunday .ask-copy .animated-sun { width: 48px; height: 48px; margin-bottom: 14px; }
  #ask-sunday .ask-copy .eyebrow { margin-bottom: 11px; }
  #ask-sunday .ask-copy h2 { font-size: 37px; }
  #ask-sunday .ask-copy .button { min-height: 44px; }
  #ask-sunday .ask-footnote { margin-top: 11px; }
  #ask-sunday .ask-story-question { font-size: var(--ask-body-size); }
  #ask-sunday .ask-story .small-animated-sun { width: 22px; height: 22px; }
  #ask-sunday .ask-send-mark { width: 30px; height: 30px; min-width: 30px; min-height: 30px; }
}

@media (min-width: 901px) and (max-height: 620px) {
  #ask-sunday {
    --ask-card-pad: 12px;
    --ask-header-gap: 6px;
    --ask-question-pad: 6px 12px;
    --ask-thread-indent: 28px;
    --ask-reply-height: 76px;
    --ask-reply-top: 7px;
    --ask-answer-leading: 1.5;
    --ask-stage-height: 180px;
    --ask-stage-top: 6px;
    --ask-list-pad: 3px;
    --ask-visit-pad: 9px;
    --ask-visit-gap: 5px;
    --ask-options-gap: 6px;
    --ask-control-height: 30px;
    --ask-playback-gap: 4px;
    --ask-playback-height: 26px;
    --ask-bottom-gap: 6px;
  }
  #ask-sunday .ask-copy .animated-sun { width: 42px; height: 42px; margin-bottom: 12px; }
  #ask-sunday .ask-copy .eyebrow { margin-bottom: 9px; }
  #ask-sunday .ask-copy h2 { font-size: 34px; }
  #ask-sunday .ask-copy > p { margin-top: 14px; line-height: 1.65; }
  #ask-sunday .ask-copy .button { min-height: 42px; margin-top: 16px; padding-block: 10px; }
  #ask-sunday .ask-footnote { margin-top: 10px; }
  #ask-sunday .ask-story-track { display: none; }
  #ask-sunday .ask-story .example-answer { gap: 6px; }
  #ask-sunday .ask-add-questions { min-height: 32px; margin-top: 6px; padding-block: 6px; }
  #ask-sunday .ask-saved-questions { margin-block: 6px 5px; line-height: 1.35; }
  #ask-sunday .ask-context-description { font-size: 12px; line-height: 1.4; }
  #ask-sunday .ask-context-link { min-height: 30px; }
  #ask-sunday .ask-story .example-options button { padding-block: 5px; }
  #ask-sunday .ask-story-progress { margin-top: 3px; }
  #ask-sunday .ask-detail-back { min-height: 24px; margin-bottom: 4px; }
  #ask-sunday .ask-detail-heading strong { font-size: 13px; }
  #ask-sunday .ask-detail-grid { margin-top: 7px; gap: 6px 12px; }
  #ask-sunday .ask-document-excerpt { margin-top: 7px; }
}

/* Touch layouts remain a readable, naturally scrolling section. */
@media (max-width: 900px) {
  #ask-sunday { --ask-body-size: 14px; --ask-list-size: 12px; }
  #ask-sunday.is-ask-pinned { height: auto; }
  #ask-sunday .ask-pin { position: relative; top: auto; height: auto; padding-block: 64px 72px; }
  #ask-sunday .ask-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 620px; height: auto; padding-block: 0; }
  #ask-sunday .ask-copy { width: 100%; max-width: 560px; margin-inline: auto; }
  #ask-sunday .ask-copy .animated-sun { width: 56px; height: 56px; margin-bottom: 18px; }
  #ask-sunday .ask-copy h2 { font-size: clamp(34px, 6vw, 42px); }
  #ask-sunday .ask-copy > p { max-width: 480px; }
  #ask-sunday .ask-story { max-width: 560px; margin-inline: auto; }
}

@media (max-width: 650px) {
  #ask-sunday {
    --ask-sticky-top: 74px;
    --ask-card-pad: 22px 19px;
    --ask-thread-indent: 30px;
    --ask-reply-height: 127px;
    --ask-stage-height: 215px;
    --ask-list-size: 12px;
  }
  #ask-sunday .ask-story-question { margin-left: 25px; font-size: var(--ask-body-size); }
  #ask-sunday .ask-copy > p { font-size: 13px; }
  #ask-sunday .ask-visit-heading strong { font-size: 13px; }
}

.reduce-motion #ask-sunday .ask-click-cue { display: none; }
@media (prefers-reduced-motion: reduce) {
  #ask-sunday .ask-click-cue { display: none; }
}
