/* Ask Q (2026-11-23): "Where exeral is today" as the app's own chat, in the morning film's look (the visitor's grey
   bubble, Q's orb and shimmering thinking line, the composer) at the page's reading size. The overview answers with
   three coloured tiles; a topic answers with rows, each with a small colour tile (the app-mark style).
   enterprise-ask-q.js runs it; without scripts the full answer shows as plain rows. */
.ex-askq { position: relative; box-sizing: border-box; display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 760px; margin: 0 auto max(5vw, 56px); padding: 26px 26px 20px;
  font-size: 15px; line-height: 1.5; background: #fff; border: 1px solid #E6E8EB; border-radius: 22px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 28px 60px -40px rgba(15, 34, 48, .4); }
.ex-askq [hidden] { display: none !important; }   /* the composer and chips show only once the script runs */
.ex-askq__log { display: flex; flex-direction: column; min-height: 23em; }
.ex-askq .ex-askq__log.is-greeting { min-height: 7em; }

/* (2026-11-24) while the card eases to a new height (enterprise-ask-q.js morph), the log gives way and clips, so the
   composer and suggestions travel with the card's bottom edge */
.ex-askq.is-morphing { overflow: hidden; }
.ex-askq.is-morphing .ex-askq__log { min-height: 0; flex: 1 1 0; overflow: hidden; }

/* the visitor's question: the app's grey bubble, right-aligned */
.ex-askq__me { align-self: flex-end; max-width: 80%; margin: 0 0 1.1em; padding: .5em 1em; border-radius: 1.4em; background: #EEF0F3; color: #222; }
/* Q's turn: its orb (with its own face, enterprise-q-char.js) and the film's thinking line */
.ex-askq .ex-app__qhead { margin-bottom: .55em; }
.ex-askq .ex-app__orb.ex-qorb { width: 1.75em; height: 1.75em; }
.ex-askq__think { color: #626264; }
.ex-askq__think.is-done { color: #8a8a8e; }
.ex-askq__lead { margin: 0 0 .8em; color: #222; }

/* a colour tile with a white glyph, like the app marks */
.ex-askq__tile { flex: none; display: inline-grid; place-items: center; border-radius: 28%; background: linear-gradient(180deg, var(--t1), var(--t2)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.ex-askq__tile svg { fill: none; stroke: #fff; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.ex-askq__tile--sm { width: 1.35em; height: 1.35em; }
.ex-askq__tile--sm svg { width: .82em; height: .82em; }
.ex-askq__tile--md { width: 2.2em; height: 2.2em; }
.ex-askq__tile--md svg { width: 1.2em; height: 1.2em; }

/* the overview: three tiles, each opening its list */
.ex-askq__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 .2em; }
.ex-askq__sum { appearance: none; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .75em; align-items: center; padding: .9em 1em; border: 1px solid #E6E8EB; border-radius: 14px; background: #fff; font: inherit; color: #222; text-align: left; cursor: pointer; transition: border-color .2s ease, box-shadow .25s ease, transform .25s cubic-bezier(.16, 1, .3, 1); }
.ex-askq__sum .ex-askq__tile { grid-row: 1 / 3; }
.ex-askq__sum b { font-size: 1.45em; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.ex-askq__sum span:not(.ex-askq__tile) { font-size: .86em; color: #4b4f56; }
.ex-askq__sum em { grid-column: 1 / 3; margin-top: .7em; font-style: normal; font-size: .8em; color: #8a8a8e; }
.ex-askq__sum:hover { border-color: #D2D6DB; box-shadow: 0 10px 24px -16px rgba(15, 34, 48, .35); transform: translateY(-1px); }
.ex-askq__sum:hover em { color: #222; }

/* a topic's rows: one phrase per row, a quiet line between rows, the group's colour tile */
.ex-askq__list { list-style: none; margin: 0 0 .3em; padding: 0; }
.ex-askq__list li { display: flex; align-items: center; gap: .75em; padding: .5em .2em; color: #222; }
.ex-askq__list li + li { box-shadow: 0 -1px 0 #F0F1F3; }
.ex-askq__list li > span:not(.ex-askq__tile) { flex: 1; min-width: 0; }

/* the static fallback (no scripts) */
.ex-askq__gh { margin: 1em 0 .3em; font-size: .82em; font-weight: 500; color: #626264; }

/* rows arrive one after another */
.ex-askq [data-in] { opacity: 0; transform: translateY(.35em); transition: opacity .38s ease, transform .5s cubic-bezier(.16, 1, .3, 1), border-color .2s ease, box-shadow .25s ease; }
.ex-askq [data-in="1"] { opacity: 1; transform: none; }
.ex-askq .ex-askq__sum[data-in="1"]:hover { transform: translateY(-1px); }

/* Q's offer to act, the film's verb button */
.ex-askq .q-act { display: block; margin-top: .9em; }
/* (2026-11-24, owner: Join wasn't in line with its sentence) the film lifts the pill .08em; here it sits on the
   sentence's baseline, so the verb and the words after it read as one line */
.ex-askq .q-verb { vertical-align: baseline; }
.ex-askq button.q-verb { font-family: inherit; color: inherit; cursor: pointer; }
.ex-askq button.q-verb:hover { background: #EFEFEF; }
.ex-askq button.q-verb:active { transform: translateY(1px); }
.ex-askq .q-act.is-live button.q-verb { cursor: default; }

/* suggested questions, centred over the composer */
.ex-askq__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ex-askq__chips button { appearance: none; height: 2.2em; padding: 0 .95em; border: 1px solid #DEDEDE; border-radius: 999px; background: #fff; font: inherit; font-size: .9em; color: #222; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.ex-askq__chips button:hover, .ex-askq__chips button.is-hover { background: #F3F4F5; border-color: #D2D4D7; }
.ex-askq__chips button.is-pressed { transform: translateY(1px); background: #ECEEF0; }
/* the hint, one chip after another: a soft ring, as if to say "pick me" */
.ex-askq__chips button { transition: background-color .15s ease, border-color .15s ease, box-shadow .35s ease; }
.ex-askq__chips button.is-hint { border-color: #C9CDD2; box-shadow: 0 0 0 4px rgba(79, 161, 253, .16); }

/* the composer: the film's, in the page's flow rather than pinned inside a screen */
.ex-askq .ex-askq__composer { position: relative; left: auto; bottom: auto; width: auto; margin: 0; font-size: 15px; }
.ex-askq__input { flex: 1; min-width: 0; height: 2.5em; border: 0; outline: 0; background: transparent; font: inherit; color: #222; }
.ex-askq__input::placeholder { color: #6B7079; }
.ex-askq__composer:focus-within { border-color: #9EA3AA; }
.ex-askq button.ex-app__send { border: 0; padding: 0; cursor: pointer; }

@media (max-width: 900px) {
  .ex-askq { padding: 18px 14px 14px; border-radius: 18px; font-size: 14.5px; }
  .ex-askq__log { min-height: 24em; }
  .ex-askq__tiles { grid-template-columns: 1fr; gap: 8px; }
  .ex-askq__sum { grid-template-columns: auto 1fr auto; grid-template-rows: auto; padding: .75em .9em; }
  .ex-askq__sum .ex-askq__tile { grid-row: auto; }
  .ex-askq__sum b { order: 3; font-size: 1.2em; }
  .ex-askq__sum span:not(.ex-askq__tile) { order: 2; font-size: .95em; color: #222; }
  .ex-askq__sum em { display: none; }
  .ex-askq__list li { align-items: flex-start; }
  .ex-askq__list .ex-askq__tile { margin-top: .1em; }
}
@media (prefers-reduced-motion: reduce) { .ex-askq [data-in] { transition: none; } }
