.chat-page .consult-section { margin: 0 0 60px; }
.chat-page .case-study-intro { margin-bottom: 20px; }
.chat-page .case-study-intro h1 { margin-bottom: 0; }
.chat-page .case-study-intro + .consult-section { margin-top: 0; }
.chat-page .consult-section:last-of-type { margin-bottom: 0; }
.chat-page .case-study-copy { min-width: 0; }
.chat-page .case-study-copy ul { margin: 0 0 20px; padding-left: 20px; }
.chat-page .case-study-copy li { margin-bottom: 10px; padding-left: 2px; }
/* Compact evidence links reuse the site's neutral palette and product icons. */
.consult-resources { display: grid; gap: 12px; margin: 28px 0 20px; }
.consult-resources:last-child { margin-bottom: 0; }
.chat-page .consult-resource { display: flex; align-items: center; gap: 14px; padding: 20px 24px 20px 20px; border-radius: 12px; background: #f0f0f0; color: inherit; text-decoration: none; border: 0; }
.consult-resource-icon--placeholder { display: grid; place-items: center; border: 1px dashed #c9c9c9; color: var(--text-secondary); font-size: 10px; background: #e9e9e9; }
.consult-resource-icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; object-fit: cover; }
.consult-resource-copy { display: grid; gap: 4px; flex: 1; min-width: 0; }
.consult-resource-title { font-size: 14px; line-height: 1.5; }
.consult-resource-description { font-size: 13px; line-height: 1.6; color: var(--text-secondary); }
.consult-resource-arrow { color: var(--text-secondary); flex-shrink: 0; transition: transform 180ms ease; }
.consult-resource:hover .consult-resource-title { text-decoration: underline; text-underline-offset: 4px; }
.consult-resource:hover .consult-resource-arrow { transform: translate(2px,-2px); }
@media (max-width: 480px) {
 .chat-page .consult-resource { gap: 12px; padding: 16px 24px 16px 16px; }
}
.chat-page button:focus-visible, .chat-page a:focus-visible { outline: 2px solid #526d96; outline-offset: 4px; }

.consult-resources--intro { margin: 20px 0; }
.consult-price { color: #e54835; font-weight: 400; }

.chat-page .consult-intro-line { font-size: 14px; font-weight: 400; color: var(--ink); line-height: 1.55; letter-spacing: -.012em; }
.consult-intro-line + .case-study-copy .consult-resources--intro { margin-top: 0; }

/* Module spacing is measured from the final content edge to the next heading. */
.chat-page .consult-section > .case-study-copy > :last-child { margin-bottom: 0; }

.chat-page .case-study-copy li:last-child { margin-bottom: 0; }
.chat-page .join-panel { max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 640px), (max-height: 700px) {
 .chat-page .join-panel { bottom: 24px; max-height: calc(100dvh - 48px); }
}

.consult-topic { margin: 0 0 12px; padding: 20px 24px; border-radius: 12px; background: #f0f0f0; }
.consult-topic:last-of-type { margin-bottom: 0; }
.chat-page .consult-topic h3 { margin: 0 0 12px; }
.chat-page .consult-topic ul { margin: 0; }
@media (max-width: 480px) {
 .consult-topic { padding: 16px 20px; }
}
