/* Approved centered About composition, reusing the member composer and tokens. */
.about-hero:has(.center-stage) {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: calc(100svh - 144px);
  box-sizing: border-box;
}
.center-stage {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-block: var(--space-xl);
  gap: var(--space-lg);
}
.center-stage .tc-persona-card.about-hero-cta,
.tc-persona-card.member-strip {
  padding: 0;
  margin: 0;
  width: 100%;
  display: block;
}
.center-stage .about-insight {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
.center-stage .about-insight-header { display: block; }
.center-stage .about-insight-copy { margin-inline: auto; }
.center-stage .about-insight-copy > .tc-body { text-align: center; }
.center-stage .visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.center-stage .concierge-member-form button.btn {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
}
.member-strip figure { margin: 0 auto var(--space-lg); }
@media (max-width: 640px) {
  .center-stage { padding-block: var(--space-lg); }
  .about-hero:has(.center-stage) { min-height: calc(100svh - 156px); }
}

.about-concierge-hint { text-align: center; margin: 0 0 var(--space-md); }
.concierge-preview-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-md); border-bottom: 1px solid var(--about-border); }
.concierge-preview-row p { margin-block: 0 var(--space-sm); }
.concierge-user-turn { text-align: right; }
.concierge-assistant-turn > span:last-child { white-space: pre-line; }
@media (max-width: 640px) { .concierge-preview-row { align-items: flex-start; flex-direction: column; } }
/* Match the approved compact composer grouping, without changing member chat. */
.center-stage .about-insight::before,
.center-stage .about-insight::after { content: none; }
.center-stage .about-insight-copy.concierge-member { max-width: 656px; padding: 0; }
.center-stage .concierge-thread:empty { display: none; }
.center-stage .concierge-thread { padding-block: var(--space-sm); gap: var(--space-sm); }
.center-stage .concierge-member-form { position: relative; display: block; margin: var(--space-sm) 0; }
.center-stage .concierge-member-form textarea { min-height: 96px; padding: 12px 62px 12px 15px; resize: none; }
.center-stage [data-conversation="active"] .concierge-member-form textarea { min-height: 74px; }
.center-stage .concierge-member .concierge-member-form button.btn { position: absolute; right: 12px; bottom: 14px; }

.center-stage .concierge-member .concierge-member-form button.btn { height: 44px !important; min-height: 44px !important; max-height: 44px !important; }

/* About and its composer share the selected semantic theme. */
#about-concierge-entry {
  --composer-bg: var(--about-white);
  --composer-ink: var(--about-text);
  --composer-placeholder: var(--about-muted-text);
  --composer-edge: var(--about-control-text);
  --composer-focus: var(--about-ink);
}
#about-concierge-entry button.btn-primary:not(#tucasa-button-motion) {
  --btn-static-bg: var(--about-ink);
  --btn-static-color: var(--about-white);
  --btn-static-border: transparent;
}
#about-concierge-entry button.btn-primary:not(#tucasa-button-motion):disabled {
  --btn-static-bg: var(--about-border);
  --btn-static-color: var(--about-secondary-text);
  cursor: not-allowed;
}
html[data-tc-input-method="keyboard"] #about-concierge-entry :is(textarea, button):focus-visible {
  outline: 2px solid var(--composer-focus) !important;
  outline-offset: 3px !important;
}
#about-concierge-entry button.btn-primary:not(#tucasa-button-motion),
#about-concierge-entry button.btn-primary:not(#tucasa-button-motion):is(:hover, :active, :focus, :focus-visible) {
  background: var(--btn-static-bg) !important;
  color: var(--btn-static-color) !important;
  -webkit-text-fill-color: var(--btn-static-color) !important;
  border-color: var(--btn-static-border) !important;
}

.about-starter-examples { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.about-starter-examples[hidden] { display: none; }
.about-starter-examples button.btn {
  width: auto; height: auto; min-height: 44px; max-width: 100%;
  white-space: normal; text-align: left; line-height: var(--type-body-line);
  padding: var(--space-sm) var(--space-md); font-size: var(--type-meta);
  border-radius: var(--space-sm);
  --btn-static-bg: transparent; --btn-static-color: var(--about-text);
  --btn-static-border: transparent;
}
.about-starter-examples button.btn:not(#tucasa-button-motion),
.about-starter-examples button.btn:not(#tucasa-button-motion):is(:hover, :focus, :active) {
  background: var(--btn-static-bg) !important; color: var(--btn-static-color) !important;
  -webkit-text-fill-color: var(--btn-static-color) !important;
  border-color: var(--btn-static-border) !important;
}
html[data-theme="dark"] .tc-about-page .about-proof-logo img {
  filter: grayscale(1) brightness(0) invert(1);
}

.tc-about-page .site-footer-group h2,
.tc-about-page .site-footer-signup h2 {
  color: var(--text-muted);
}

/* Conversation turns use chat spacing, not marketing paragraph margins. */
.tc-about-page .about-insight-copy .concierge-thread { gap: var(--space-sm); padding-block: var(--space-sm); }
.tc-about-page .about-insight-copy .concierge-thread p { margin: 0; }

/* Active conversation is one flowing panel, never a nested scroll region. */
.tc-about-page .center-stage [data-conversation="active"] .about-insight-copy.concierge-member {
  box-sizing: border-box;
  border: 1px solid var(--about-border);
  border-radius: var(--modal-panel-radius);
  background: var(--about-white);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  row-gap: var(--space-sm);
  min-height: var(--chat-workspace-min, 0px);
}
.tc-about-page [data-conversation="active"] #about-concierge-entry { margin-top: auto; }
/* Landing introduction ends when a conversation begins, including native and
   restored searches. The document remains the only scrolling surface. */
.tc-about-page .about-hero:has([data-conversation="active"]) {
  min-height: 0;
  margin-top: 0;
}
.tc-about-page .center-stage:has([data-conversation="active"]) {
  flex: none;
  justify-content: flex-start;
  /* Shared header contributes 12px; this 8px inset completes the 20px gap. */
  padding-block: var(--space-xs) var(--space-lg);
}
.tc-about-page .center-stage:has([data-conversation="active"]) > .tc-persona-card--hero {
  display: none;
}
.tc-about-page .about-insight-copy .concierge-preview-row p {
  margin: 0;
  overflow-wrap: anywhere;
}
.tc-about-page .about-insight-copy .concierge-preview-row p + p { margin-top: var(--space-sm); }
.tc-about-page .about-insight-copy .concierge-preview-row > div { min-width: 0; }
.tc-about-page .about-insight-copy .concierge-preview-row > form { flex-shrink: 0; }

/* Compact reading hierarchy inside the accepted flowing conversation panel. */
.tc-about-page .about-insight-copy .concierge-results-heading {
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-medium);
  margin: var(--space-sm) 0;
}
.tc-about-page .about-insight-copy [data-public-results] > .form-note { margin: 0 0 var(--space-sm); }
.tc-about-page .about-insight-copy .concierge-preview-facts {
  margin: var(--space-sm) 0;
  padding-left: var(--space-md);
  color: var(--about-text);
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: var(--type-body-line);
  overflow-wrap: anywhere;
}
.tc-about-page .about-insight-copy .concierge-preview-facts li + li { margin-top: var(--space-xs); }

/* Enhanced entry only. Native multiline and the active74px composer stay intact. */
.center-stage [data-conversation="initial"][data-entry-sizing="auto"] .concierge-member-form textarea {
  display: block;
  min-height: 60px;
  line-height: 20px;
  padding: 19px 62px 19px 15px;
  border-radius: var(--modal-panel-radius);
}
.center-stage [data-conversation="initial"][data-entry-sizing="auto"] .concierge-member-form button.btn {
  right: 8px;
  bottom: 8px;
}

/* Distinguish the visitor without adding chrome to assistant replies. */
.tc-about-page .about-insight-copy .concierge-user-turn {
  align-self: flex-end;
  width: fit-content;
  max-width: 85%;
  box-sizing: border-box;
  text-align: left;
  padding: var(--space-sm);
  border-radius: var(--space-sm);
  background: var(--about-border);
  color: var(--text-primary);
  -webkit-text-fill-color: currentColor;
  overflow-wrap: anywhere;
}
.tc-about-page .concierge-user-turn span { color: inherit; -webkit-text-fill-color: currentColor; }
.tc-about-page [data-selection-message] { grid-column: 1 / -1; width: 100%; margin-block: var(--space-sm); }
.tc-about-page .concierge-preview-row:has([data-selection-message]) { flex-wrap: wrap; }
.tc-about-page .about-insight-copy [data-selection-message] p { margin: 0 0 var(--space-sm); }
.tc-about-page p[data-selection-lead][tabindex="-1"]:focus { outline: none !important; }
.concierge-selection-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
