/* The profile is an entry point; the transcript lives in the dedicated chat view. */
#profile-page-root #companion-entry-history { display: none; }
#profile-page-root[hidden], #creator-chat-page[hidden] { display: none !important; }
#creator-chat-page { width: min(100% - 24px, 960px); margin: 24px auto; color: var(--text, #f6f7fb); }
.creator-chat-page__header { display: grid; gap: 12px; margin-bottom: 16px; }
.creator-chat-page__header h1 { margin: 0; font-size: clamp(1.25rem, 4vw, 1.75rem); overflow-wrap: anywhere; }
.creator-chat-page__header a, .creator-chat-page__open { color: inherit; min-height: 44px; display: inline-flex; align-items: center; width: fit-content; }
.creator-chat-page__header a:focus-visible, .creator-chat-page__open:focus-visible { outline: 2px solid #a4dff0; outline-offset: 3px; }
#creator-chat-page .profile-section { margin: 0; }
#creator-chat-page .companion-entry { display: flex; flex-direction: column; gap: 12px; min-height: 320px; height: max(320px, calc(100dvh - 240px)); }
#creator-chat-page .companion-entry__header, #creator-chat-page .creator-chat-page__open { display: none; }
#creator-chat-page .companion-entry__history { display: grid; order: 1; flex: 1; min-height: 0; max-height: none; margin: 0; align-content: start; }
#creator-chat-page .companion-entry__body { order: 2; flex-shrink: 0; }
#creator-chat-page .companion-entry__meta { order: 3; margin: 0; flex-shrink: 0; }

#profile-page-root .creator-chat-page__open { min-height: 0; font-size: .75rem; white-space: nowrap; }
#profile-page-root .companion-entry__accent { display: none; }
