/* "Ask a human expert for advice" (FANTENNA-1020).
   Mounted by /v2/experts.js from the footer partial, so it is on every built
   page. Inherits the marketing tokens; nothing here restyles the brand. */

/* The page, dimmed behind an open panel. Fixed and full-screen, under the
   widget and over everything else, including the site header. */
.ask-scrim {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(10, 10, 10, .38);
  opacity: 0; transition: opacity .18s ease;
}
.ask-scrim[data-on="true"] { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ask-scrim { transition: none; } }

/* It arrives a moment after the page, so it arrives rather than appears. */
@keyframes ask-fade-in { from { opacity: 0; } to { opacity: 1; } }
.ask-root--in { animation: ask-fade-in .25s ease both; }
@media (prefers-reduced-motion: reduce) { .ask-root--in { animation: none; } }

.ask-root {
  /* The widget's accent. The endpoint sets it from config; this is the
     fallback when it does not. */
  --ask-accent: var(--coral-ink);
  position: fixed; right: calc(20px * var(--s, 1)); bottom: calc(20px * var(--s, 1)); z-index: 401;
  display: flex; flex-direction: column; align-items: flex-end; gap: calc(10px * var(--s, 1));
  font-family: var(--sans);
}

/* --- one face ------------------------------------------------------------ */
.ask-face {
  position: relative; flex: none;
  width: var(--ask-size, calc(42px * var(--s, 1))); height: var(--ask-size, calc(42px * var(--s, 1))); border-radius: 50%;
}
.ask-face img {
  position: relative; z-index: 1; display: block;
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--paper);
}
/* Under the photograph, not instead of it: this is what shows when Slack has
   no image, when it has not loaded, and when it is blocked. */
.ask-face__ini {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: calc(15px * var(--s, 1));
  color: var(--ink); background: var(--paper-2);
  border-radius: 50%; border: 2px solid var(--paper);
}
.ask-face__dot {
  position: absolute; z-index: 2; right: -1px; bottom: -1px;
  width: calc(13px * var(--s, 1)); height: calc(13px * var(--s, 1)); border-radius: 50%; border: 2.5px solid var(--paper);
}
.ask-face[data-state="active"] .ask-face__dot { background: #1F7A4D; }
.ask-face[data-state="away"]   .ask-face__dot { background: #8A8A84; }
/* Not known draws nothing. Slack returns unknown on an outage, and a guess
   costs the visitor a wait. */
.ask-face[data-state="unknown"] .ask-face__dot { display: none; }

/* Who a face belongs to, on hover, without opening anything. */
.ask-tip {
  position: absolute; left: 50%; bottom: calc(100% + calc(10px * var(--s, 1))); transform: translateX(-50%);
  display: none; z-index: 3; width: max-content; max-width: calc(240px * var(--s, 1));
  padding: calc(8px * var(--s, 1)) calc(11px * var(--s, 1)); border-radius: calc(10px * var(--s, 1));
  background: var(--ink); color: var(--paper);
  box-shadow: 0 8px 24px rgba(10,10,10,.22);
  pointer-events: none; text-align: left;
}
.ask-tip b { display: block; font-size: calc(15px * var(--s, 1)); font-weight: 700; }
.ask-tip i { display: block; font-size: calc(14px * var(--s, 1)); font-style: normal; opacity: .8; }
.ask-tip::after {
  content: ""; position: absolute; top: 100%; left: 50%; margin-left: calc(-5px * var(--s, 1));
  border: 5px solid transparent; border-top-color: var(--ink);
}
.ask-face:hover .ask-tip { display: block; }
@media (hover: none) { .ask-tip { display: none !important; } }

/* --- the launcher --------------------------------------------------------- */
.ask-launcher {
  display: flex; align-items: center; gap: calc(12px * var(--s, 1)); cursor: pointer;
  font: inherit; text-align: left;   /* a button does not inherit the page font */
  padding: calc(9px * var(--s, 1)) calc(24px * var(--s, 1)) calc(9px * var(--s, 1)) calc(10px * var(--s, 1)); border-radius: calc(999px * var(--s, 1));
  /* One fixed height whatever the invitation says. A two-line bio grew the
     pill and the hero row jumped with it every time the invitation cycled
     to a wordier person (Tom, 2026-09-07). The phone layout overrides this:
     stacked faces-over-text needs the room. */
  height: calc(68px * var(--s, 1)); box-sizing: border-box;
  /* Never wider than whatever it is mounted in. Without this the pill is sized
     by its content, so on a narrow column a long invitation overflowed the page
     (Tom, 2026-09-08, the retention blog post). The hero never showed it because
     the hero is wide and its invitation is short. */
  max-width: 100%;
  background: #fff; background: var(--paper, #fff); color: var(--ink, #0b0f1c);
  border: 1px solid #E4E4E8;    /* --rule is #F5F7FB on a #F8F8FA ground: invisible */
  box-shadow: 0 1px 2px rgba(10,10,10,.06), 0 10px 28px rgba(10,10,10,.12);
  transition: box-shadow .16s ease;
}
.ask-launcher:hover { box-shadow: 0 2px 6px rgba(10,10,10,.10), 0 20px 48px rgba(10,10,10,.18); }
/* A ring in ink, for a keyboard, and none at all after a tap or a click. The
   coral outline drew a red border round the pill the moment somebody used it,
   which read as an error rather than as focus. */
.ask-launcher:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ask-root[data-input="pointer"] .ask-launcher:focus-visible,
.ask-root[data-input="pointer"] .ask-row:focus-visible { outline: none; }
/* Loading placeholder, the size and shape of the pill, shown while the people
   load so the slot is never an empty gap or a flash (Tom, 2026-09-08). */
.ask-skeleton {
  display: flex; align-items: center; gap: calc(12px * var(--s, 1));
  width: fit-content; margin: 0 auto; box-sizing: border-box;
  padding: calc(9px * var(--s, 1)) calc(24px * var(--s, 1)) calc(9px * var(--s, 1)) calc(10px * var(--s, 1)); border-radius: calc(999px * var(--s, 1)); min-height: calc(76px * var(--s, 1));
  background: var(--paper, #fff); border: 1px solid #E4E4E8;
  box-shadow: 0 1px 2px rgba(10,10,10,.06), 0 10px 28px rgba(10,10,10,.12);
}
.ask-skeleton__faces { display: flex; align-items: center; flex: none; }
.ask-skeleton__faces > * + * { margin-left: calc(-14px * var(--s, 1)); }
.ask-skeleton__face, .ask-skeleton__more { border: 2px solid var(--paper, #fff); }
.ask-skeleton__face, .ask-skeleton__more {
  width: calc(40px * var(--s, 1)); height: calc(40px * var(--s, 1)); border-radius: 50%; background: #E9EAF0;
  animation: ask-skeleton-pulse 1.4s ease-in-out infinite;
}
@keyframes ask-skeleton-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  .ask-skeleton__face, .ask-skeleton__more { animation: none; opacity: .7; }
}
@media (max-width: 600px) {
  .ask-skeleton {
    flex-direction: column; gap: calc(8px * var(--s, 1)); padding: calc(12px * var(--s, 1)) calc(16px * var(--s, 1));
    border-radius: calc(22px * var(--s, 1)); min-height: calc(122px * var(--s, 1));
  }
}

/* The classic overlapping stack, not a row of equals. The person the line
   names is first in the DOM (facesFirst) and sits ON TOP; everyone else tucks
   in behind them in order. Each face already carries a 2px paper-coloured ring,
   which is what separates them once they overlap.

   The z-index ladder is doing the real work here. Later siblings paint over
   earlier ones by default, which is the wrong way round for a stack led by its
   first face, so the order is reversed explicitly. FACES is 4, plus the "+N"
   counter, so five rungs covers it. */
/* flex: none, so the faces keep their width: on a phone they were squeezed,
   spilled out of their box, and the +N badge sat on the title's first letter. */
.ask-launcher__faces { display: flex; align-items: center; flex: none; }
.ask-launcher__faces > * { position: relative; }
.ask-launcher__faces > * + * { margin-left: calc(-14px * var(--s, 1)); }
.ask-launcher__faces > :nth-child(1) { z-index: 6; }
.ask-launcher__faces > :nth-child(2) { z-index: 5; }
.ask-launcher__faces > :nth-child(3) { z-index: 4; }
.ask-launcher__faces > :nth-child(4) { z-index: 3; }
.ask-launcher__faces > :nth-child(5) { z-index: 2; }
/* Whoever is hovered comes to the front, or their tooltip would be painted
   over by the face stacked in front of them. */
.ask-launcher__faces > .ask-face:hover { z-index: 7; }
.ask-launcher__more {
  display: grid; place-items: center; width: calc(40px * var(--s, 1)); height: calc(40px * var(--s, 1)); border-radius: 50%;
  background: var(--paper-2); border: 2px solid var(--paper); flex: none;
  font-size: calc(15px * var(--s, 1)); font-weight: 700; color: var(--ink-2);
}
/* A face with no photograph shows its initials, and in the stack every face
   after the first has its left 14px tucked under the one before it. Centred
   in the full circle, the first letter was half hidden, so "MD" read as "4D".
   The letters move into the part of the circle that shows, a size down, and
   the "+N" does the same. A photograph covers all of this. */
.ask-launcher__faces .ask-face__ini {
  font-family: var(--sans); font-size: calc(12px * var(--s, 1)); font-weight: 700; letter-spacing: 0.02em;
  color: var(--ink-2); background: color-mix(in srgb, var(--ink) 9%, var(--paper));
}
.ask-launcher__faces > * + * .ask-face__ini,
.ask-launcher__faces > * + .ask-launcher__more { padding-left: calc(13px * var(--s, 1)); }
.ask-launcher__faces > .ask-launcher__more {
  font-size: calc(12px * var(--s, 1)); background: color-mix(in srgb, var(--ink) 9%, var(--paper));
}
/* "We'll reply to t**@domain [Change]", above the composer. Quiet: it is a
   reassurance, not an instruction, and it must not compete with the send
   button beside it. */
.ask-replyto {
  margin: 0; padding: calc(8px * var(--s, 1)) calc(16px * var(--s, 1)) 0; font-size: calc(13px * var(--s, 1)); color: var(--ink-2);
  display: flex; align-items: baseline; gap: calc(6px * var(--s, 1)); flex-wrap: wrap;
}
.ask-replyto__edit {
  font: inherit; color: var(--ink); background: none; border: 0; padding: 0;
  text-decoration: underline; cursor: pointer;
}
/* Not while they are editing that address. The details step IS the answer to
   "where does the reply go", so restating the old address above the field
   that changes it is both redundant and, for the moment they are typing, a
   lie. */
.ask-chat[data-step="details"] .ask-replyto { display: none; }
.ask-replyto__edit:hover { opacity: .75; }
.ask-replyto__edit:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* --- the compact pill ----------------------------------------------------- */
/* One face and three words, for a spot that cannot carry the full pill. It
   shrinks the height and closes up the right-hand padding, which on the full
   pill is there to give a two-line invitation room it no longer needs. */
.ask-root[data-variant="compact"] .ask-launcher {
  height: calc(56px * var(--s, 1)); padding: calc(6px * var(--s, 1)) calc(22px * var(--s, 1)) calc(6px * var(--s, 1)) calc(6px * var(--s, 1)); gap: calc(12px * var(--s, 1));
}
/* Never the sub, the count or the invitation: the compact pill is the title. */
.ask-root[data-variant="compact"] .ask-launcher__sub,
.ask-root[data-variant="compact"] .ask-launcher__more,
.ask-root[data-variant="compact"] .ask-nudge { display: none; }
/* The full pill hides its text once the invitation is showing. The compact
   pill has no invitation, so that rule must not reach it. */
.ask-root[data-variant="compact"][data-unfolded="true"] .ask-launcher__text { display: block; }
/* The phone rule below stretches the pill to the full width of its column.
   Compact is a chip and should stay the width of its own content. */
.ask-root[data-variant="compact"] .ask-launcher { width: auto; }

/* The text column must be allowed to shrink. A flex child defaults to
   min-width: auto and refuses to go narrower than its content, so a long
   invitation pushed the pill straight through the side of the page instead of
   wrapping - which is what a topic invitation did on the blog (Tom,
   2026-09-08). Same trap as .ask-body's min-height, one axis over. */
.ask-launcher__text { text-align: left; min-width: 0; }
/* Two lines, then ellipsis. The pill's height is deliberately fixed so the row
   does not jump as the invitation cycles, so the title cannot be allowed to
   grow it: it has to be clamped rather than wrapped freely. */
.ask-launcher__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; font-size: calc(17px * var(--s, 1)); font-weight: 700;
}
/* --ink-3 measured 3.43:1 on this ground. The reassurance has to be legible. */
.ask-launcher__sub { display: block; font-size: calc(15px * var(--s, 1)); color: var(--ink-2); }

/* --- the list ------------------------------------------------------------- */
/* Focused programmatically when it opens, so it must not draw a ring of its
   own: the ring belongs on controls a keyboard is moving between. */
.ask-list:focus { outline: none; }
.ask-list {
  display: none; width: calc(475px * var(--s, 1)); max-width: calc(100vw - calc(24px * var(--s, 1)));
  /* About five people, then the list scrolls (Tom, 2026-09-07): ten rows
     stood taller than the hero on a desktop. The fade at the foot already
     says there is more; the phone takeover overrides this with the full
     screen. */
  max-height: min(calc(430px * var(--s, 1)), calc(100dvh - calc(40px * var(--s, 1))));
  /* #fff behind the token, not instead of it: on somebody else's site the
     mount point declares these names with their brand's values, and if one is
     missing the panel used to render transparent with the page showing
     through the list of people. A wrong shade is recoverable; a see-through
     panel is not. */
  background: #fff; background: var(--paper, #fff);
  border: 1px solid #E4E4E8; border-radius: calc(14px * var(--s, 1));
  box-shadow: 0 2px 6px rgba(10,10,10,.10), 0 20px 48px rgba(10,10,10,.18);
  flex-direction: column; overflow: hidden;
}
.ask-root[data-open="true"] .ask-list { display: flex; }
.ask-root[data-open="true"] .ask-launcher { display: none; }

.ask-head {
  display: flex; align-items: center; gap: calc(12px * var(--s, 1)); flex: none;
  padding: calc(12px * var(--s, 1)) calc(10px * var(--s, 1)) calc(12px * var(--s, 1)) calc(16px * var(--s, 1)); border-bottom: 1px solid #E4E4E8;
}
.ask-head .ask-face { flex: none; }
/* The panel's own headline, a couple of points up on a row title: it is the
   first thing read and it was competing with the names below it. */
.ask-head__title { font-family: var(--display); font-size: calc(21px * var(--s, 1)); font-weight: 700; margin: 0; line-height: 1.15; }
.ask-head__sub { font-size: calc(15px * var(--s, 1)); color: var(--ink-2); margin: calc(3px * var(--s, 1)) 0 0; }
/* The London clock. Quieter than the subtitle: context, not a headline. */
.ask-head__uktime { font-size: calc(13px * var(--s, 1)); color: var(--ink-2); margin: 2px 0 0; }
/* The conversation header carries a person's name, which is a row title
   rather than a headline. */
.ask-chat .ask-head__title { font-family: var(--sans); font-size: calc(17px * var(--s, 1)); }
.ask-head__spacer { flex: 1; }
/* Quiet. A close control is furniture: it should be findable and then
   forgotten, not the most coloured thing on the panel. The coral focus ring
   fired the moment the panel opened and read as an alert. */
.ask-icon {
  min-width: calc(44px * var(--s, 1)); min-height: calc(44px * var(--s, 1)); border: 0; border-radius: calc(10px * var(--s, 1));
  background: none; color: var(--ink-2); cursor: pointer;
  font-size: calc(20px * var(--s, 1)); line-height: 1; opacity: .7;
  transition: opacity .12s ease, background-color .12s ease;
}
.ask-icon:hover { background: var(--paper-2); color: var(--ink); opacity: 1; }
.ask-icon:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ask-icon { transition: none; } }

/* `min-height: 0` is what makes the scrolling actually happen. .ask-body is a
   flex child of the column, and a flex child's default `min-height: auto`
   refuses to shrink below its content - so the panel grew to fit ten people
   instead of the list scrolling inside it (Tom, 2026-09-08). The chat's
   .ask-msgs sets its own flex below and still wins. */
.ask-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ask-group__label { font-size: calc(15px * var(--s, 1)); font-weight: 700; color: var(--ink-2); padding: calc(14px * var(--s, 1)) calc(16px * var(--s, 1)) 2px; margin: 0; }
.ask-group__note { font-size: calc(15px * var(--s, 1)); color: var(--ink-2); padding: 0 calc(16px * var(--s, 1)) calc(6px * var(--s, 1)); margin: 0; }

/* One person, one row, one tap. This is what replaces a hover rollover: the
   role and the reply time are on the row, because a phone has no hover and a
   visitor should not have to choose between strangers by looking at dots. */
/* A <button>, so the browser's own button styling has to be turned off in
   full: without this each person renders as a grey system button, centred and
   only as wide as its text. */
.ask-row {
  display: flex; align-items: flex-start; gap: calc(12px * var(--s, 1));
  padding: calc(12px * var(--s, 1)) calc(16px * var(--s, 1)); text-decoration: none; color: inherit;
  width: 100%; text-align: left; font: inherit;
  background: none; border: 0; cursor: pointer;
}
.ask-row:hover { background: var(--paper-2); }
.ask-row:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
/* The name sits level with the top of the photograph. Left alone, the text
   column's first line-box started above it. */
.ask-row__text { min-width: 0; padding-top: calc(3px * var(--s, 1)); }
.ask-row__name { display: block; font-size: calc(17px * var(--s, 1)); font-weight: 700; color: var(--ink); line-height: 1.2; }
.ask-row__role { display: block; font-size: calc(15px * var(--s, 1)); color: var(--ink-2); }
/* Presence is a different KIND of fact from the description above it, so it
   is set differently: smaller, and coloured by what it says. */
.ask-row__state { display: block; font-size: calc(13px * var(--s, 1)); margin-top: calc(4px * var(--s, 1)); color: #8A8A84; }
.ask-row[data-state="active"] .ask-row__state { color: #1F7A4D; font-weight: 700; }
/* A row is a button, and nothing about it said so. The chevron is the only
   thing on the row that is decoration, and it earns its place by naming the
   affordance. */
.ask-row__go { margin-left: auto; align-self: center; font-size: calc(22px * var(--s, 1)); color: var(--ink-2); }

/* A reply arrived while they were away. The dot lives on the person's row
   only: the panel now opens ITSELF when an answer lands (experts.js,
   FANTENNA-1070), and the pill-level dot on top of that read as a second,
   redder thing gone wrong (Tom, 2026-09-07: "remove the red icon"). */
.ask-row[data-unread="true"] .ask-row__go::after {
  content: ""; display: block; width: calc(10px * var(--s, 1)); height: calc(10px * var(--s, 1)); border-radius: 50%;
  background: var(--ask-accent); border: 2px solid var(--paper);
}
.ask-row[data-unread="true"] .ask-row__go { position: relative; }
.ask-row[data-unread="true"] .ask-row__go::after {
  position: absolute; top: -2px; right: -2px;
}
.ask-row:hover .ask-row__go { color: var(--ink); }

/* Nobody at a desk. Said once, at the top, in the same voice as the rest. */
.ask-quiet { padding-top: calc(14px * var(--s, 1)); }

/* The list runs past the bottom of the panel, and a row cut clean in half
   looks like a rendering fault rather than more to scroll. */
.ask-list { position: relative; }
.ask-list[data-scroll="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(28px * var(--s, 1));
  background: linear-gradient(rgba(255,255,255,0), var(--paper));
  pointer-events: none;
}

@media (max-width: 600px) {
  .ask-root { right: calc(12px * var(--s, 1)); left: calc(12px * var(--s, 1)); bottom: calc(12px * var(--s, 1)); align-items: stretch; }
  .ask-launcher { width: 100%; }
  /* The label ran off the screen when it was one nowrap line. It wraps in
     place now, and the count goes: the list is one tap away and says it
     better. */
  .ask-launcher__sub { display: none; }
  .ask-list { width: 100%; max-width: 100%; }
  /* The corner pill on a phone: the invitation's question was held to one
     line and ran out of the pill ("Do you have any questio"). It wraps to two
     lines here, and the line under it goes, as the count above does, so the
     pill keeps its height. The hero pill has its own rules further down. */
  .ask-root:not(.ask-root--hero) .ask-nudge { min-width: 0; }
  .ask-root:not(.ask-root--hero) .ask-nudge__q { white-space: normal; line-height: 1.2; }
  .ask-root:not(.ask-root--hero) .ask-nudge__who { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ask-launcher { transition: none; }
}

/* --- the debug panel (FANTENNA-1052) ---------------------------------------
   Five taps on the title. Deliberately plain: it is read aloud on a support
   call and pasted into an email, not admired. */
.ask-debug {
  flex: none; border-top: 1px solid #E4E4E8; padding: calc(12px * var(--s, 1)) calc(16px * var(--s, 1)) calc(14px * var(--s, 1));
  background: var(--paper-2); max-height: calc(300px * var(--s, 1)); overflow-y: auto;
}
.ask-debug__head {
  display: flex; align-items: center; gap: calc(10px * var(--s, 1));
  margin: 0 0 calc(8px * var(--s, 1)); font-size: calc(15px * var(--s, 1)); font-weight: 700; color: var(--ink);
}
.ask-debug__copy {
  margin-left: auto; font: inherit; font-size: calc(14px * var(--s, 1)); min-height: calc(32px * var(--s, 1));
  padding: 0 calc(12px * var(--s, 1)); border-radius: calc(999px * var(--s, 1)); cursor: pointer;
  background: var(--paper); border: 1px solid rgba(10,10,10,.22); color: var(--ink);
}
.ask-debug__done { font-size: calc(14px * var(--s, 1)); font-weight: 400; color: var(--ink-2); }
.ask-debug__grid {
  display: grid; grid-template-columns: auto 1fr; gap: calc(3px * var(--s, 1)) calc(12px * var(--s, 1)); margin: 0;
  font-size: calc(14px * var(--s, 1));
}
.ask-debug__grid dt { color: var(--ink-2); }
.ask-debug__grid dd { margin: 0; color: var(--ink); word-break: break-all; }
.ask-debug__log {
  margin: calc(10px * var(--s, 1)) 0 0; padding: calc(8px * var(--s, 1)) calc(10px * var(--s, 1)); border-radius: calc(8px * var(--s, 1));
  background: var(--paper); border: 1px solid #E4E4E8;
  font-size: calc(13px * var(--s, 1)); line-height: 1.5; white-space: pre-wrap;
  color: var(--ink-2); max-height: calc(140px * var(--s, 1)); overflow-y: auto;
  font-family: inherit;   /* no typewriter faces */
}

/* --- the conversation ------------------------------------------------------
   One shell, three views. The launcher, the list of people and a conversation
   are the same box in three states, so the widget never grows a second
   floating thing on the page. */
.ask-chat {
  display: none; width: calc(475px * var(--s, 1)); max-width: calc(100vw - calc(24px * var(--s, 1)));
  /* A height it keeps. Sized to the content, the panel was a header, one
     message and a box, and every reply made it jump taller - which reads as
     the page moving under you rather than as a conversation. Room for about
     four messages, and it still shrinks on a short screen. */
  height: calc(460px * var(--s, 1)); max-height: calc(100dvh - calc(40px * var(--s, 1)));
  /* #fff behind the token, not instead of it: on somebody else's site the
     mount point declares these names with their brand's values, and if one is
     missing the panel used to render transparent with the page showing
     through the list of people. A wrong shade is recoverable; a see-through
     panel is not. */
  background: #fff; background: var(--paper, #fff);
  border: 1px solid #E4E4E8; border-radius: calc(14px * var(--s, 1));
  box-shadow: 0 2px 6px rgba(10,10,10,.10), 0 20px 48px rgba(10,10,10,.18);
  flex-direction: column; overflow: hidden;
}
.ask-root[data-open="true"][data-view="chat"] .ask-chat { display: flex; }
/* Before anybody has said anything there is nothing to hold a height open for,
   and 440px of white above the box reads as a broken panel rather than as a
   waiting conversation. So: compact until the first message, the full height
   from then on. The height Tom asked for exists to stop the panel jumping
   taller with EVERY reply; growing once, when the conversation starts, is what
   a chat window does when it opens. Falls back to the full height where :has()
   is not supported, which is the old behaviour rather than a broken one. */
.ask-root[data-open="true"][data-view="chat"] .ask-chat:has(.ask-msgs:empty) {
  height: auto;
}
.ask-root[data-open="true"][data-view="chat"] .ask-list { display: none; }

/* Picking a person swapped one panel for another in a single frame, which
   reads as a page load rather than as a step forward. A short rise and fade
   is enough to say the two are the same panel in two states. */
@keyframes ask-view-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.ask-root[data-open="true"][data-view="chat"] .ask-chat,
.ask-root[data-open="true"]:not([data-view="chat"]) .ask-list {
  animation: ask-view-in .18s cubic-bezier(.2,.8,.2,1) both;
}
@media (prefers-reduced-motion: reduce) {
  .ask-root[data-open="true"][data-view="chat"] .ask-chat,
  .ask-root[data-open="true"]:not([data-view="chat"]) .ask-list { animation: none; }
}

/* The conversation gets the room the panel has left over, with a floor: the
   address form and the composer between them squeezed the thread down to one
   visible message. */
.ask-msgs {
  display: flex; flex-direction: column; gap: calc(12px * var(--s, 1)); padding: calc(12px * var(--s, 1)) calc(16px * var(--s, 1));
  flex: 1 1 auto; min-height: calc(88px * var(--s, 1));
}
/* An empty thread KEEPS its space. It used to collapse, which was right when
   the panel sized itself to its content, and became the bug in the screenshot
   Tom sent from his phone: the panel now has a height, so a collapsed thread
   put the composer directly under the header with the rest of the panel a
   white void beneath it. The empty area above the composer is what every chat
   window looks like before anybody has said anything. */
.ask-msgs:empty { min-height: 0; }
/* While the details step is up, the thread gives it the room: the question is
   already visible as a pending message, and "Send question" must not be below
   the bottom of the panel. */
.ask-chat[data-step="details"] .ask-msgs {
  flex: 0 0 auto; min-height: 0; max-height: calc(116px * var(--s, 1)); overflow-y: auto;
  /* Faded at the bottom edge, because a long question is cut off there and a
     line of text sliced through the middle reads as a broken panel. The fade
     says there is more, which is true and is what the scroll is for. */
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
}
.ask-msg--pending .ask-msg__text { opacity: .8; }
/* No initials until they have told us a name: a "?" in a circle is a worse
   answer than no circle. */
.ask-msg--pending .ask-ini { display: none; }
.ask-msg { max-width: 92%; }
.ask-msg--mine { align-self: flex-end; }
/* A message is an avatar and a column: who said it, what they said, when.
   The visitor's own avatar is their initials, drawn from the name they gave. */
.ask-msg__row { display: flex; align-items: flex-end; gap: calc(8px * var(--s, 1)); }
.ask-msg--mine .ask-msg__row { flex-direction: row; justify-content: flex-end; }
.ask-msg__col { min-width: 0; }
.ask-msg__text {
  margin: 0; font-size: calc(17px * var(--s, 1)); padding: calc(10px * var(--s, 1)) calc(13px * var(--s, 1)); border-radius: calc(14px * var(--s, 1));
  background: var(--paper-2); color: var(--ink);
  border-bottom-left-radius: 4px;
}
.ask-msg--mine .ask-msg__text {
  background: var(--ask-accent); color: #fff;
  border-bottom-left-radius: 14px; border-bottom-right-radius: 4px;
}
.ask-msg__who { margin: 0 0 calc(4px * var(--s, 1)); font-size: calc(15px * var(--s, 1)); color: var(--ink-2); }
.ask-msg__time { margin: calc(3px * var(--s, 1)) 2px 0; font-size: calc(13px * var(--s, 1)); color: var(--ink-2); }
.ask-msg--mine .ask-msg__time { text-align: right; }
.ask-ini {
  flex: none; width: calc(28px * var(--s, 1)); height: calc(28px * var(--s, 1)); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: calc(12px * var(--s, 1));
  background: var(--paper-2); color: var(--ink);
}

/* Waiting for a reply. One dot, breathing, and a sentence saying they can
   leave. It was three staggered dots, which squashed against the wrapped
   sentence beside them and read as a typing indicator - a promise that
   somebody is mid-sentence, which we cannot make. One slow pulse says the
   line is open, in the same visual language as the presence dots. */
.ask-wait {
  display: flex; align-items: flex-start; gap: calc(8px * var(--s, 1)); margin: 2px 0 0;
  font-size: calc(15px * var(--s, 1)); color: var(--ink-2);
}
.ask-dots {
  flex: none; width: calc(8px * var(--s, 1)); height: calc(8px * var(--s, 1)); margin-top: calc(6px * var(--s, 1)); border-radius: 50%;
  background: var(--ink-2);
  animation: ask-pulse 2s infinite ease-in-out;
}
.ask-dots i { display: none; }
@keyframes ask-pulse { 0%, 100% { opacity: .3; } 50% { opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .ask-dots { animation: none; opacity: .5; } }

/* Who is asking. Between writing the question and sending it. */
/* Takes the room the panel has left and scrolls inside it. It used to be
   flex:none, which was fine when the panel grew to fit the form; with the
   panel holding a height, a form taller than the space left ran its Send
   button off the bottom edge - and on a phone with the keyboard up there is
   not much space left. Four fields and a tick now scroll rather than
   disappear. */
.ask-details {
  flex: 1 1 auto; min-height: 0; padding: calc(12px * var(--s, 1)) calc(16px * var(--s, 1)) calc(14px * var(--s, 1));
  border-top: 1px solid #E4E4E8; overflow-y: auto;
}
.ask-details__lede { margin: 0 0 calc(10px * var(--s, 1)); font-size: calc(17px * var(--s, 1)); color: var(--ink-2); }
/* Two fields to a row, so the tick and Send stay on screen. Even on a phone
   each field keeps ~160px, which holds a name or an email placeholder. */
.ask-details__row { display: flex; gap: calc(10px * var(--s, 1)); }
.ask-details__row .ask-field { flex: 1 1 0; min-width: 0; }
.ask-field { display: block; margin-bottom: calc(10px * var(--s, 1)); }
.ask-field > span { display: block; font-size: calc(15px * var(--s, 1)); color: var(--ink-2); margin-bottom: calc(4px * var(--s, 1)); }
.ask-field input {
  width: 100%; box-sizing: border-box; font: inherit; font-size: calc(17px * var(--s, 1)); color: var(--ink);
  background: var(--paper); border: 1px solid rgba(10,10,10,.22);
  border-radius: calc(10px * var(--s, 1)); padding: calc(11px * var(--s, 1)) calc(13px * var(--s, 1));
}
/* Same reason as the composer: a coloured ring on an empty field reads as an
   error the visitor has not made yet. */
.ask-field input:focus {
  outline: none; border-color: var(--ink, #0b0f1c); box-shadow: 0 0 0 3px rgba(10, 10, 10, .12);
}
.ask-check { display: flex; gap: calc(10px * var(--s, 1)); align-items: flex-start; font-size: calc(15px * var(--s, 1)); margin: calc(12px * var(--s, 1)) 0 2px; }
.ask-check input { width: calc(20px * var(--s, 1)); height: calc(20px * var(--s, 1)); margin: 0; flex: none; accent-color: var(--ask-accent); }
/* Beside the question about who they are, not under the send button where it
   fell off the bottom of the panel. */
.ask-back {
  font: inherit; font-size: calc(15px * var(--s, 1)); padding: 0;
  background: none; border: 0; color: var(--ink-2); cursor: pointer; text-decoration: underline;
}
.ask-back:hover { color: var(--ink); }
/* The handover line. One sentence, no apology; the reason underneath is the
   person's own words, never something this product wrote for them. */
.ask-handover {
  margin: 0 0 calc(6px * var(--s, 1)); font-size: calc(15px * var(--s, 1)); color: var(--ink-2);
  border-left: 2px solid var(--ask-accent); padding-left: calc(10px * var(--s, 1));
}

.ask-compose { flex: none; padding: calc(10px * var(--s, 1)) calc(12px * var(--s, 1)) calc(12px * var(--s, 1)); border-top: 1px solid #E4E4E8; }
/* One line that grows, with the send control beside it. */
.ask-composeRow { display: flex; align-items: flex-end; gap: calc(8px * var(--s, 1)); }
.ask-composeRow textarea {
  flex: 1 1 auto; min-height: calc(44px * var(--s, 1)); max-height: calc(132px * var(--s, 1)); resize: none;
  border-radius: calc(22px * var(--s, 1)); padding: calc(11px * var(--s, 1)) calc(16px * var(--s, 1));
}
.ask-sendbtn {
  flex: none; width: calc(44px * var(--s, 1)); height: calc(44px * var(--s, 1)); border: 0; border-radius: 50%;
  background: var(--ask-accent); color: #fff; cursor: pointer;
  font-size: calc(20px * var(--s, 1)); line-height: 1; display: grid; place-items: center;
}
.ask-sendbtn:disabled { opacity: .6; cursor: wait; }
.ask-sendbtn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ask-compose textarea, .ask-email input {
  /* border-box, or width:100% plus padding runs the field past the panel edge
     - the marketing stylesheet does not set it globally. */
  width: 100%; box-sizing: border-box; font: inherit; font-size: calc(17px * var(--s, 1)); color: var(--ink);
  background: var(--paper); border: 1px solid rgba(10,10,10,.22);
  border-radius: calc(10px * var(--s, 1)); padding: calc(11px * var(--s, 1)) calc(13px * var(--s, 1)); resize: vertical;
}
.ask-compose ::placeholder, .ask-email ::placeholder { color: var(--ink-2); opacity: 1; }
/* Centre the single line optically. The shared rule above leaves the line box
   to the font, and at 17px in a 44px field the text sat a couple of pixels
   low (Tom, 2026-09-07). A fixed 22px line in 10+12 padding puts the ink on
   centre for one line and keeps the same rhythm as it grows. */
.ask-composeRow textarea { line-height: 22px; padding-top: calc(10px * var(--s, 1)); padding-bottom: calc(12px * var(--s, 1)); }
/* Ink, not the accent. The accent ring drew a red box round the composer the
   moment somebody clicked into it, which reads as a validation error on a
   field they have not filled in yet - the same objection as the pill. */
.ask-compose textarea:focus, .ask-email input:focus {
  outline: none; border-color: var(--ink, #0b0f1c);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, .12);
}
.ask-send {
  width: 100%; box-sizing: border-box; margin-top: calc(10px * var(--s, 1)); font: inherit; font-size: calc(17px * var(--s, 1)); font-weight: 700;
  min-height: calc(48px * var(--s, 1)); border: 0; border-radius: calc(999px * var(--s, 1));
  background: var(--ask-accent); color: #fff; cursor: pointer;
}
.ask-send:disabled { opacity: .6; cursor: wait; }
/* The consent tick and the button stay on screen while the fields scroll
   behind them. On a phone the four fields plus the tick are taller than the
   sheet, so "Send question" sat below the fold inside a form the visitor had
   no reason to think scrolled. They are pinned together because the tick is
   required: a visible button over a hidden tick means tapping Send does
   nothing and the reason why is off screen. Sticky rather than a separate
   element outside the form, so the button stays its submit button. */
.ask-details__foot {
  position: sticky; bottom: 0; z-index: 1;
  padding-top: calc(8px * var(--s, 1)); margin-top: calc(4px * var(--s, 1));
  background: #fff; background: var(--paper, #fff);
  box-shadow: 0 -8px 10px -8px rgba(10, 10, 10, .18);
}
/* Sending the question is the primary action. Leaving an address is optional
   and secondary, so it does not get a second coral button under the first. */
.ask-send--quiet {
  background: none; color: var(--ink); border: 1px solid rgba(10,10,10,.22);
}
.ask-send--quiet:hover { background: var(--paper-2); }
.ask-send:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ask-email { margin-top: calc(12px * var(--s, 1)); }
/* The confirmation after a send. It stays on screen. */
.ask-hint { margin: calc(10px * var(--s, 1)) 0 0; font-size: calc(15px * var(--s, 1)); color: var(--ink-2); }
/* The line that confirms a message went. In the thread, under the message. */
.ask-status { margin: 2px 0 0; font-size: calc(15px * var(--s, 1)); color: var(--ink-2); }
.ask-email { border-bottom: 1px solid #E4E4E8; padding-bottom: calc(12px * var(--s, 1)); margin-bottom: calc(4px * var(--s, 1)); }
/* Off-screen rather than display:none: a field a bot can see and a person
   cannot. Hidden from assistive tech too, so nobody is asked to fill it. */
.ask-pot { position: absolute; left: calc(-9999px * var(--s, 1)); width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 600px) {
  .ask-chat { width: 100%; max-width: 100%; }
}

/* ===========================================================================
   IN THE HERO (FANTENNA-1020)

   Snitcher put their "Talk to sales" pill under the sub-headline beside the
   primary button, and that placement is right: the question somebody has is
   usually the reason they have not pressed the button yet. Bottom-right is
   where a widget goes to be ignored.

   What is NOT taken from them: the overlapping avatar stack. You cannot pick a
   face you cannot see, and picking a person is the whole idea.
=========================================================================== */
/* The mount point holds the pill's height from first paint. experts.js hides
   the slot when there is nobody to show, so an empty hero has no gap. */
[data-experts-pill] { min-height: calc(76px * var(--s, 1)); }

.ask-root--hero {
  position: static; right: auto; bottom: auto;
  /* Above the reel now, so the space belongs to it rather than to the gap
     under the button. */
  /* In flow, so a z-index only bites once it is positioned; the open state
     lifts it above the dimmed page. */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 0 auto calc(18px * var(--s, 1)); width: 100%;
  /* Space for the taller unfolded state is reserved from the start. Without
     it the pill grows after four seconds and shoves the rest of the hero down
     the page while somebody is reading it. */
  min-height: calc(76px * var(--s, 1));
}
.ask-root--hero .ask-launcher { margin: 0 auto; }

/* THE OPEN PANEL IS A CENTRED DIALOG.
   The script moves the widget to the body first, so this measures against the
   viewport and not against whichever ancestor in the hero carries a
   transform. Anchored to the pill it sat wherever the pill sat, which on a
   laptop is the fold, and half of it hung off the bottom of the screen. */
.ask-root.ask-root--open {
  position: fixed; top: 50%; left: 50%; right: auto; bottom: auto;
  transform: translate(-50%, -50%);
  width: calc(475px * var(--s, 1)); max-width: calc(100vw - calc(24px * var(--s, 1)));
  margin: 0; min-height: 0; z-index: 402; align-items: stretch;
}
.ask-root.ask-root--open .ask-list,
.ask-root.ask-root--open .ask-chat {
  position: static; transform: none; margin: 0;
  width: 100%; max-width: none; max-height: calc(100dvh - calc(48px * var(--s, 1)));
}
/* The picker is a list and should behave like one: at most 60% of the viewport,
   and the people scroll inside it (Tom, 2026-09-08). Opening it used to lift
   the closed-state 430px cap to nearly the full screen, so ten people covered
   the page they were asked about. The chat keeps the taller bound above - it
   has a composer to fit, not a list to scroll. The phone takeover below clears
   this again, because full screen is right on a phone. */
.ask-root.ask-root--open .ask-list { max-height: 60dvh; }
.ask-root--hero { position: relative; }
.ask-root--hero[data-open="true"] { z-index: 402; }

/* The unfold. It sits still, then says something. */
.ask-nudge {
  display: none; text-align: left; padding-left: calc(4px * var(--s, 1));
  /* 34ch put "Ask Tom, CEO, Co-Founder and LFC Fan" hard against the right
     edge of the pill and broke it over two lines with one word on the second.
     A person's description is editable in admin and gets longer, not shorter. */
  max-width: 42ch;
}
.ask-root[data-unfolded="true"] .ask-nudge { display: block; }
/* The question holds one line: broken over two it reads as a paragraph rather
   than an invitation. The description under it may wrap. */
.ask-nudge__q { display: block; font-size: calc(17px * var(--s, 1)); font-weight: 700; color: var(--ink); white-space: nowrap; }
/* Two lines at most. The bio is editable in admin, and a long one would both
   unbalance the pill and break the height the hero reserves for it. */
/* The invitation moving on to the next online person. Opacity only: a line
   that slides as well as fades is a line showing off. */
.ask-nudge__who { transition: opacity .35s ease; }
.ask-nudge__who[data-fading="true"] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .ask-nudge__who { transition: none; }
}

.ask-nudge__who {
  /* One line inside the fixed-height pill; a long bio ends in an ellipsis
     rather than a taller pill. The phone override below allows two. */
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
  overflow: hidden; font-size: calc(15px * var(--s, 1)); color: var(--ink-2);
}
/* When the nudge appears the title is redundant: the question IS the invitation. */
.ask-root[data-unfolded="true"] .ask-launcher__text { display: none; }

/* No reveal animation: the invitation is the pill's resting state from load,
   not something that unfolds, so there is nothing to animate in (Tom,
   2026-09-08). */

@media (max-width: 600px) {
  /* On a phone the hero pill stays in the hero, but its panel becomes the
     bottom sheet the corner version already uses: a 475px popover anchored
     mid-page is unreachable with a thumb. */
  /* A phone gets the WHOLE SCREEN, not a sheet floating over a page that is
     still scrolling behind it (Tom, 2026-09-06: maximise, do not shrink).
     --ask-vh is the height visualViewport reports, so the panel is sized to
     what is actually left once the keyboard is up: iOS Safari does not shrink
     dvh for the keyboard, and a panel sized in dvh puts its own footer
     underneath it. dvh is the fallback for a browser without visualViewport,
     which is the old behaviour rather than a broken one. */
  .ask-root.ask-root--open {
    /* Anchored to the visual viewport, not the layout one. --ask-top follows
       visualViewport.offsetTop and --ask-vh its height (experts.js), so when
       the keyboard opens the sheet moves and shrinks with it instead of the
       fixed panel staying behind and the composer riding up over the page.
       No bottom pin: top + bottom + height over-constrains and the browser
       drops the height, which is what put the footer under the keyboard. */
    top: var(--ask-top, 0); bottom: auto; left: 0; right: 0;
    transform: none; width: auto; max-width: none;
    height: var(--ask-vh, 100dvh);
    align-items: stretch;
  }
  .ask-root.ask-root--open .ask-list,
  .ask-root.ask-root--open .ask-chat {
    width: auto; max-width: none; border-radius: 0; border: 0;
    height: 100%; max-height: none; flex: 1 1 auto; min-height: 0;
    /* Clear of the notch and the home indicator. */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: none;
  }
  /* Full screen, so the growth from empty to conversation has nothing to
     grow into and no longer applies. */
  .ask-root[data-open="true"][data-view="chat"] .ask-chat:has(.ask-msgs:empty) { height: 100%; }
  /* Pinned. The header is how somebody gets back to the list or out, and it
     scrolled off the top when the keyboard pushed the panel up. */
  .ask-root.ask-root--open .ask-head { position: sticky; top: 0; z-index: 2; background: var(--paper, #fff); }
  /* One scroller. The question above the form does not need its own, and two
     nested ones mean a drag sometimes moves the wrong thing. */
  .ask-chat[data-step="details"] .ask-msgs { overflow: hidden; }
  /* A drag that reaches the end of the list must stop there, not carry on
     into the page behind. The body lock in experts.js is the belt; this is
     the braces, and it is the one that stops the rubber-band on iOS. */
  .ask-root.ask-root--open .ask-body,
  .ask-root.ask-root--open .ask-msgs,
  .ask-root.ask-root--open .ask-details { overscroll-behavior: contain; }
  /* The question is already written and the visitor knows what it says. On a
     phone the room belongs to the form they still have to fill in. */
  .ask-chat[data-step="details"] .ask-msgs { max-height: calc(76px * var(--s, 1)); }
  /* The description gets one line in the conversation header; the NAME is
     never clipped. A three-line description took a quarter of the sheet before
     the conversation had started, but "Rodney Asangalis..." is a person's name
     cut in half, which is worse than the space it saves. */
  .ask-chat .ask-head__sub {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
    overflow: hidden;
  }

  /* Faces beside text needs about 500px. Below that the row is stacked:
     four faces on top, the invitation under them, still one pill. Side by
     side it either overflowed the screen or squeezed the question into four
     words a line. */
  /* Stacked, so the pill is taller and the hero reserves more for it. Measured
     on the built page: 100px at rest, 122px unfolded. */
  [data-experts-pill] { min-height: calc(122px * var(--s, 1)); }
  /* The corner variant's left/right pin does not belong to the hero one, and
     it was offsetting the pill 12px and pushing its right edge off the slot. */
  .ask-root--hero { left: auto; right: auto; }
  .ask-root--hero { min-height: 0; }
  .ask-root--hero .ask-launcher {
    flex-direction: column; gap: calc(8px * var(--s, 1)); width: 100%;
    padding: calc(12px * var(--s, 1)) calc(16px * var(--s, 1)); border-radius: calc(22px * var(--s, 1));
    /* Stacked faces-over-text: the fixed desktop height cannot hold it. */
    height: auto;
  }
  .ask-root--hero .ask-launcher__text,
  .ask-root--hero .ask-nudge { text-align: center; max-width: none; padding-left: 0; }
  .ask-root--hero .ask-nudge__q { white-space: normal; }
  .ask-root--hero .ask-nudge__who { -webkit-line-clamp: 2; }
}

/* ---- the topic-describe step (FANTENNA-1076) --------------------------- */
/* .ask-topic shares .ask-list's shell (size, paper, shadow) and swaps in
   for it: the people list hides while the visitor describes their topic. */
.ask-topic { display: none; }
/* The describe panel carries the picker's .ask-list class for its shell, so the
   open-state "show every .ask-list" rule would paint it on top of the picker in
   any non-topic view. Hide it unless the topic view is the one on screen (Tom,
   2026-09-07: the picker and "What would you like to talk about?" overlapping). */
.ask-root[data-open="true"]:not([data-view="topic"]) .ask-topic { display: none; }
.ask-root[data-open="true"][data-view="topic"] .ask-list:not(.ask-topic) { display: none; }
.ask-root[data-open="true"][data-view="topic"] .ask-topic { display: flex; }
.ask-topicForm { display: flex; flex-direction: column; gap: calc(10px * var(--s, 1)); padding: calc(12px * var(--s, 1)) calc(16px * var(--s, 1)) calc(16px * var(--s, 1)); }
.ask-topicForm textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: calc(17px * var(--s, 1)); color: var(--ink);
  background: var(--paper); border: 1px solid rgba(10,10,10,.22);
  border-radius: calc(10px * var(--s, 1)); padding: calc(11px * var(--s, 1)) calc(13px * var(--s, 1)); resize: none; min-height: calc(84px * var(--s, 1));
}
.ask-topicForm textarea:focus { outline: none; border-color: var(--ink, #0b0f1c); box-shadow: 0 0 0 3px rgba(10,10,10,.12); }
.ask-topicNote { margin: 0; font-size: calc(15px * var(--s, 1)); color: var(--ink-2); min-height: calc(20px * var(--s, 1)); }
/* On a phone the describe step owns the whole screen, so give the box room to
   write in rather than a small field marooned above a white void (Tom,
   2026-09-07). The send arrow sits at its foot. */
@media (max-width: 600px) { .ask-topicForm textarea { min-height: calc(150px * var(--s, 1)); } }
.ask-topicChoices { display: flex; gap: calc(10px * var(--s, 1)); }
.ask-topicChoices .ask-send { margin-top: 0; }
.ask-send--ghost { background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); }

/* The corner widget is fixed to the bottom-right, which is where the footer's
   last row ends: at the very bottom of a page it sat over the contact address
   (reported on launch day, FANTENNA-2847). A page that has the widget in its
   corner gives the footer room for it, so the last row stops above it. The
   hero version of the widget is not in the corner and needs no room. The
   room on a desktop covers the name card that floats above the widget too. */
body:has(> .ask-root) footer { padding-bottom: calc(176px * var(--s, 1)); }
@media (max-width: 600px) {
  body:has(> .ask-root) footer { padding-bottom: calc(128px * var(--s, 1)); }
}

/* --- tucked: the corner pill once the page is being read -------------------
   Faces only (experts.js, tuckOnScroll). The words stay in the button for a
   screen reader and leave the screen, so the pill covers a corner and not a
   line of the page. Never the hero's pill, which sits in the page's flow. */
.ask-root[data-tucked="true"]:not(.ask-root--hero) .ask-launcher {
  width: auto; align-self: flex-end; gap: 0;
  padding-right: calc(10px * var(--s, 1));
}
.ask-root[data-tucked="true"]:not(.ask-root--hero) .ask-launcher__text,
.ask-root[data-tucked="true"]:not(.ask-root--hero) .ask-nudge {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
/* On a phone four faces and a count are still two fifths of the screen's
   width, enough to cover the end of a heading. Two faces say "people" as well. */
@media (max-width: 600px) {
  .ask-root[data-tucked="true"]:not(.ask-root--hero) .ask-launcher {
    height: calc(56px * var(--s, 1)); padding: calc(6px * var(--s, 1));
  }
  .ask-root[data-tucked="true"]:not(.ask-root--hero) .ask-launcher__faces > :nth-child(n+3) { display: none; }
}
