/* The conversation is a quiet reading surface. Homepage controls keep their own styling. */
.mobile-ask-shell { --conversation-gutter: clamp(28px, 5vw, 88px); }
.conversation-sidebar,
.conversation-sidebar-mobile-toggle,
.conversation-sidebar-scrim,
.conversation-speaker { display: none; }

@media (min-width: 900px) {
  .mobile-ask-shell[data-signal-view="conversation"] .conversation-sidebar {
    position: fixed;
    z-index: 58;
    inset: var(--signal-nav-height) auto 0 0;
    display: flex;
    flex-direction: column;
    width: 244px;
    padding: 24px 14px 26px;
    border-right: 1px solid rgba(237, 214, 244, .10);
    background: #0e0b19;
  }
  .mobile-ask-shell[data-signal-view="conversation"].conversation-sidebar-collapsed .conversation-sidebar { transform: translateX(-100%); }
  .mobile-ask-shell[data-signal-view="conversation"].conversation-sidebar-collapsed .conversation-sidebar-mobile-toggle {
    position: fixed; z-index: 62; top: calc(var(--signal-nav-height) + 24px); left: 18px; display: grid;
  }
  .mobile-ask-shell[data-signal-view="conversation"] .page-layer { padding-left: 244px !important; }
  .mobile-ask-shell[data-signal-view="conversation"].conversation-sidebar-collapsed .page-layer { padding-left: 0 !important; }
  body .mobile-ask-shell[data-signal-view="conversation"] .ask-stage {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 40px var(--conversation-gutter) 165px !important;
  }
  body .mobile-ask-shell[data-signal-view="conversation"] .answer-shell {
    width: min(100%, 1020px) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }
  body .mobile-ask-shell[data-signal-view="conversation"] #ask-composer {
    left: 244px !important;
    right: 0 !important;
    margin-inline: auto !important;
    bottom: 26px !important;
    width: min(1020px, calc(100vw - 244px - var(--conversation-gutter) - var(--conversation-gutter))) !important;
    max-width: 1020px !important;
  }
  body .mobile-ask-shell[data-signal-view="conversation"].conversation-sidebar-collapsed #ask-composer {
    left: 0 !important;
    width: min(1020px, calc(100vw - var(--conversation-gutter) - var(--conversation-gutter))) !important;
  }
}

.conversation-sidebar-top { display: grid; gap: 13px; }
.conversation-sidebar-collapse,
.conversation-sidebar-mobile-toggle {
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: #c4b6ce; font-size: 23px; cursor: pointer;
}
.conversation-sidebar-collapse:hover,
.conversation-sidebar-mobile-toggle:hover { background: rgba(223, 177, 225, .10); }
.conversation-sidebar-new {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  color: #ebd9e5; font-size: 15px; text-decoration: none;
}
.conversation-sidebar-new:hover { color: #f6e2b7; }
.conversation-sidebar-new span { font-size: 20px; font-weight: 300; }
.conversation-sidebar-search {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  color: #91879a; font-size: 20px;
}
.conversation-sidebar-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: none; color: #e8dfe9; font: inherit; font-size: 14px; }
.conversation-sidebar-search input::placeholder { color: #91879a; }
.conversation-sidebar-person { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px; color: #91879a; font-size: 12px; }
.conversation-sidebar-person select { max-width: 175px; padding: 5px 18px 5px 4px; border: 0; background: transparent; color: #cbbfce; font: inherit; font-size: 12px; cursor: pointer; }
.conversation-sidebar-person select:focus-visible { outline: 1px solid #b68da9; outline-offset: 2px; }
.conversation-sidebar-list { margin-top: 34px; overflow-y: auto; }
.conversation-sidebar-caption { margin: 0 12px 12px; color: #978a9e; font-size: 12px; letter-spacing: .06em; }
.conversation-sidebar-item {
  display: block; overflow: hidden; padding: 10px 12px; border-radius: 8px;
  color: #cbbfce; font-size: 14px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap;
}
.conversation-sidebar-item:hover { background: rgba(221, 180, 230, .07); color: #f2e7ee; }
.conversation-sidebar-item.current { background: rgba(216, 167, 213, .13); color: #f4e6ed; }
.conversation-sidebar-item[hidden], .conversation-sidebar-empty[hidden] { display: none !important; }
.conversation-sidebar-empty { margin: 10px 12px; color: #968b9d; font-size: 13px; }

.mobile-ask-shell[data-signal-view="conversation"] .dialogue-head-badges {
  display: flex !important; align-items: center; flex-direction: row-reverse; justify-content: flex-end;
  gap: 8px; margin: 0 0 30px !important; padding: 0 !important;
}
.mobile-ask-shell[data-signal-view="conversation"] .dialogue-head-badges .turn-mode-badge {
  display: inline-flex !important; width: auto !important; min-width: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  color: #ab9dad !important; font-size: 13px !important; font-weight: 400 !important;
}
.mobile-ask-shell[data-signal-view="conversation"] .dialogue-head-badges .mode-glyph-wrap { display: none !important; }
.mobile-ask-shell[data-signal-view="conversation"] .dialogue-profile-badge::after { content: "·"; margin-left: 8px; color: #776a80; }
.mobile-ask-shell[data-signal-view="conversation"] .dialogue-turn {
  padding: 10px 0 12px !important; border: 0 !important; background: none !important;
}
.mobile-ask-shell[data-signal-view="conversation"] .dialogue-turn + .dialogue-turn { padding-top: 28px !important; border-top: 1px solid rgba(232, 203, 231, .08) !important; }
.mobile-ask-shell[data-signal-view="conversation"] .turn-question {
  min-width: 64px !important; margin-bottom: 36px !important; padding: 11px 16px !important; border: 1px solid rgba(226, 181, 221, .16) !important;
  border-radius: 14px !important; background: #302038 !important;
}
.mobile-ask-shell[data-signal-view="conversation"] .turn-question-text { color: #f0e5ed !important; font-size: 15px !important; font-weight: 400 !important; }
.mobile-ask-shell[data-signal-view="conversation"] .turn-question-stream .turn-question-label { display: none !important; }
.mobile-ask-shell[data-signal-view="conversation"] .answer-body.reading-md {
  color: #ece6ee !important; font-size: 16px !important; font-weight: 400 !important;
  line-height: 1.85 !important; letter-spacing: .015em !important;
}
.mobile-ask-shell[data-signal-view="conversation"] .answer-body.reading-md p { margin: 0 0 1.2em !important; }
.mobile-ask-shell[data-signal-view="conversation"] .answer-body.reading-md h1,
.mobile-ask-shell[data-signal-view="conversation"] .answer-body.reading-md h2,
.mobile-ask-shell[data-signal-view="conversation"] .answer-body.reading-md h3 { margin: 1.5em 0 .7em !important; color: #ead9dc !important; font-size: 17px !important; }
.mobile-ask-shell[data-signal-view="conversation"] .answer-feedback-bar { justify-content: flex-start !important; margin-top: 22px !important; gap: 4px !important; }
.mobile-ask-shell[data-signal-view="conversation"] .answer-feedback-option { width: 28px !important; height: 28px !important; border: 0 !important; background: transparent !important; opacity: .65; }
.mobile-ask-shell[data-signal-view="conversation"] .answer-feedback-option:hover { opacity: 1; }
.mobile-ask-shell[data-signal-view="conversation"] .answer-copy-button { margin-right: 9px; padding: 0 8px 0 0; border: 0; border-right: 1px solid rgba(218,195,218,.2); background: transparent; color: #a99bae; font-size: 12px; cursor: pointer; }
.mobile-ask-shell[data-signal-view="conversation"] .answer-copy-button:hover { color: #ead5df; }
.conversation-sidebar-item .conversation-sidebar-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-sidebar-item .conversation-sidebar-meta { display: block; overflow: hidden; margin-top: 3px; color: #8e8296; font-size: 11px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.mobile-ask-shell[data-signal-view="conversation"] .why-followup-actions { margin: 9px 0 0 !important; padding: 0 !important; border: 0 !important; }
.mobile-ask-shell[data-signal-view="conversation"] .why-followup-button { padding: 0 !important; border: 0 !important; background: none !important; color: #cbb6ca !important; font-size: 12px !important; }
.mobile-ask-shell[data-signal-view="conversation"] .why-followup-hint { color: #827587 !important; font-size: 11px !important; }
@media (min-width: 900px) {
  .mobile-ask-shell[data-signal-view="conversation"] .why-inline-panel { margin-top: 22px; padding: 22px 0 0; border-top: 1px solid rgba(222, 191, 219, .14); }
  .mobile-ask-shell[data-signal-view="conversation"] .why-inline-body { max-height: 340px; overflow-y: auto; padding-right: 20px; scrollbar-color: rgba(204, 163, 196, .4) transparent; scrollbar-width: thin; }
}
.mobile-ask-shell[data-signal-view="conversation"] .ask-share-actions.latest-answer-share {
  width: 100% !important; height: auto !important; min-height: 0 !important; margin: 5px 0 24px !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  color: #baabbc !important; text-align: left !important; overflow: visible !important;
}
.mobile-ask-shell[data-signal-view="conversation"] .ask-share-actions.latest-answer-share .mobile-share-inline { display: block !important; }
.mobile-ask-shell[data-signal-view="conversation"] .ask-share-actions.latest-answer-share .latest-answer-share-label { justify-content: flex-start !important; text-align: left !important; letter-spacing: 0 !important; }
.mobile-ask-shell[data-signal-view="conversation"] .ask-share-actions.latest-answer-share .mobile-share-actions--compact:empty { display: none !important; }
.mobile-ask-shell[data-signal-view="conversation"] .ask-share-actions.latest-answer-share::before,
.mobile-ask-shell[data-signal-view="conversation"] .ask-share-actions.latest-answer-share .latest-answer-share-label::before { display: none !important; }
.mobile-ask-shell[data-signal-view="conversation"] .latest-answer-share-label { margin: 0 !important; color: #baabbc !important; font-size: 12px !important; font-weight: 400 !important; }
.mobile-ask-shell[data-signal-view="conversation"] .answer-disclaimer { display: block !important; margin: 10px 0 0 !important; color: #817587 !important; font-size: 11px !important; line-height: 1.5 !important; }
body .mobile-ask-shell[data-signal-view="conversation"] #ask-composer .ask-input-wrap {
  display: flex !important; align-items: center !important; min-height: 64px !important; padding: 6px 8px 6px 9px !important;
  border: 1px solid rgba(222, 190, 221, .20) !important; border-radius: 34px !important;
  background: #251b31 !important; box-shadow: 0 14px 38px rgba(0,0,0,.22) !important;
  backdrop-filter: none !important;
}
.mobile-ask-shell[data-signal-view="conversation"] .conversation-speaker {
  display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; background: #4a3651; color: #f6dfbf; font-size: 17px;
}
.mobile-ask-shell[data-signal-view="conversation"] .input-mode-picker { display: none !important; }
.mobile-ask-shell[data-signal-view="conversation"] .ask-text-frame { flex: 1 1 auto !important; min-width: 0 !important; margin-left: 16px !important; }
.mobile-ask-shell[data-signal-view="conversation"] #ask-question-input { min-height: 35px !important; max-height: 120px !important; padding: 5px 0 !important; color: #f1eaf0 !important; font-size: 15px !important; }
body .mobile-ask-shell[data-signal-view="conversation"] #ask-question-input:placeholder-shown { height: 35px !important; }
body .mobile-ask-shell[data-signal-view="conversation"] #ask-composer .composer-actions { flex: 0 0 43px !important; width: 43px !important; height: 43px !important; opacity: 1 !important; }
body .mobile-ask-shell[data-signal-view="conversation"] #ask-composer .ask-submit { flex: 0 0 43px !important; width: 43px !important; min-width: 43px !important; max-width: 43px !important; height: 43px !important; min-height: 43px !important; max-height: 43px !important; aspect-ratio: 1 !important; border-radius: 50% !important; background: #dca0b9 !important; color: #2d1a31 !important; box-shadow: none !important; }
body .mobile-ask-shell[data-signal-view="conversation"] #ask-composer .ask-submit:disabled { opacity: .55 !important; }
.mobile-ask-shell[data-signal-view="conversation"] .audio-toggle {
  z-index: 80 !important; width: 42px !important; height: 42px !important;
  border: 1px solid rgba(211, 171, 204, .20) !important; background: #241b32 !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.25) !important;
}
.mobile-ask-shell[data-signal-view="conversation"] .audio-toggle .disc { background: radial-gradient(circle, #bfa5c4 0 2px, #211629 3px 7px, #634e6c 8px, #201625 14px) !important; box-shadow: 0 0 0 3px rgba(224,192,222,.07) !important; }

@media (max-width: 899px) {
  .mobile-ask-shell[data-signal-view="conversation"] .conversation-sidebar-mobile-toggle {
    position: fixed; display: grid; z-index: 85; top: calc(var(--signal-nav-height) + 12px); left: 12px; place-items: center;
    background: rgba(25, 17, 35, .92);
  }
  .mobile-ask-shell[data-signal-view="conversation"] .conversation-sidebar {
    position: fixed; z-index: 90; inset: var(--signal-nav-height) auto 0 0; display: flex;
    flex-direction: column; width: min(285px, 84vw); padding: 22px 14px;
    border-right: 1px solid rgba(237, 214, 244, .10); background: #0e0b19;
    transform: translateX(-105%); transition: transform .25s ease;
  }
  .mobile-ask-shell[data-signal-view="conversation"].conversation-sidebar-open .conversation-sidebar { transform: translateX(0); }
  .mobile-ask-shell[data-signal-view="conversation"].conversation-sidebar-open .conversation-sidebar-scrim { position: fixed; z-index: 89; inset: var(--signal-nav-height) 0 0; display: block; border: 0; background: rgba(0,0,0,.48); }
  .mobile-ask-shell[data-signal-view="conversation"] .ask-stage { padding: 62px 20px 148px !important; }
  .mobile-ask-shell[data-signal-view="conversation"] .answer-shell { width: 100% !important; }
  body .mobile-ask-shell[data-signal-view="conversation"] #ask-composer { left: 12px !important; bottom: calc(var(--safe-bottom) + 12px) !important; width: calc(100vw - 24px) !important; }
  .mobile-ask-shell[data-signal-view="conversation"] .turn-question { max-width: 90% !important; }
  .mobile-ask-shell[data-signal-view="conversation"] .answer-body.reading-md { font-size: 15px !important; }
}
