/* Product mock-ups on the homepage: the live call, Mastermind and the four
   platform screens. Each is drawn at a fixed design size inside a .stage,
   which site.js scales to the column (and swaps to a compact design on
   phones where the stage says so). Without JavaScript the stage shows the
   design at full size, cropped. Tokens come from site.css. */

.stage {
  position: relative;
  height: var(--clip, var(--h));
  overflow: hidden;
}
.stage-inner {
  width: var(--w);
  height: var(--h);
  transform-origin: 0 0;
}

/* ---------------------------------------------------------------- shared UI parts */

.ui {
  position: relative;
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  box-shadow: var(--shadow-hero);
  font-size: 14px;
  line-height: 20px;
  color: var(--ink);
  text-align: left;
}
.ui-rail {
  width: 64px;
  flex: none;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18px;
  gap: 6px;
}
.ui-rail .mark { width: 28px; height: 28px; margin-bottom: 18px; color: var(--ink); }
.rail-item {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
}
.rail-item.is-active { background: var(--bg-subtle); color: var(--ink); }
.rail-avatar {
  margin-top: auto;
  margin-bottom: 18px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
}
img.rail-avatar { display: block; object-fit: cover; }
.av {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
}
.av-sm { width: 24px; height: 24px; border-radius: 6px; font-size: 11px; }
.av-blue { background: var(--blue-tint); color: var(--blue); }
.av-teal { background: var(--teal-tint); color: var(--teal-text); }
.av-gray { background: var(--bg-muted); color: var(--ink-3); }
.orb-20 { width: 20px; height: 20px; flex: none; background: var(--orb); }
.orb-12 { width: 12px; height: 12px; flex: none; background: var(--orb); }

.pill {
  height: 24px;
  padding: 0 10px;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}
.pill-sm { height: 22px; padding: 0 9px; gap: 5px; }
.pill-green { background: var(--green-tint); color: var(--green-text); }
.pill-amber { background: var(--amber-tint); color: var(--amber-text); }
.pill-red { background: var(--red-tint); color: var(--red-text); }
.pill-gray { background: var(--bg-subtle); color: var(--ink-3); font-weight: 400; }
.pill-fixed { width: 96px; justify-content: center; }
.dot { width: 6px; height: 6px; flex: none; border-radius: var(--radius-pill); background: currentColor; }
.pill-green .dot { background: var(--green); }
.pill-amber .dot { background: var(--amber); }

.ui-btn {
  height: 28px;
  padding: 0 12px;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-control);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.ui-btn-30 { height: 30px; }
.ui-btn-36 { height: 36px; padding: 0 16px; }
.ui-btn-ink { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.chip-sm {
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  font-size: 12px;
  color: var(--ink-2);
}
.bar { display: block; height: 6px; border-radius: var(--radius-pill); background: var(--line); }
.sq { display: block; width: 24px; height: 24px; flex: none; border-radius: 6px; background: var(--line); }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tnum { font-feature-settings: 'tnum'; }
.ink-3 { color: var(--ink-3); }

.ui-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 14px 16px;
}
.bubble {
  align-self: flex-end;
  max-width: 320px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--bg);
  box-shadow: var(--shadow-card);
  color: var(--ink-2);
}
.say { display: flex; gap: 10px; align-items: flex-start; padding-right: 40px; }

/* Things that arrive: fade up, or open with their height. */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
.reveal.is-on { opacity: 1; transform: none; }
.expand {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 450ms var(--ease-out), opacity 300ms var(--ease-out) 100ms;
}
.expand.is-on { max-height: var(--open, 220px); opacity: 1; }
.fades { transition: opacity 400ms var(--ease-out); }
.fades.is-out { opacity: 0; }

/* ---------------------------------------------------------------- live call (hero) */

.hc-panel {
  width: 440px;
  flex: none;
  display: flex;
  flex-direction: column;
  background: var(--bg-sunken);
  border-right: 1px solid var(--line);
}
.panel-head {
  height: 64px;
  flex: none;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.panel-head .name { font-weight: 500; }
.panel-head .sub { font-size: 13px; line-height: 18px; color: var(--ink-3); }
.panel-head .push { margin-left: auto; }
.hc-thread {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hc-card { margin-left: 30px; --open: 170px; }
.hc-card .ui-card { margin: 2px 2px 8px; }
.card-row { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; color: var(--ink-3); }
.card-ok { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--green-text); font-weight: 500; }
.card-title { margin-top: 10px; font-size: 16px; line-height: 22px; font-weight: 500; font-feature-settings: 'tnum'; }
.card-chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }

.hc-main { flex: 1; min-width: 0; padding: 24px; display: flex; flex-direction: column; }
.hc-hero { position: relative; overflow: hidden; flex: none; padding: 28px; border-radius: var(--radius-xl); background: var(--bg-subtle); }
.hc-hero .glow { top: -40px; right: -40px; bottom: -40px; left: 30%; width: auto; height: auto; filter: blur(20px); }
.hc-hero > div { position: relative; }
.hc-greet { color: var(--ink-3); }
.hc-sentence { margin-top: 8px; max-width: 560px; font-size: 40px; line-height: 46px; font-weight: 500; letter-spacing: -0.02em; }
.roll { display: inline-block; height: 46px; overflow: hidden; vertical-align: top; font-feature-settings: 'tnum'; }
.roll-col { display: flex; flex-direction: column; transition: transform 600ms var(--ease-out); }
.roll-col span { display: block; height: 46px; line-height: 46px; }
.list-head { margin-top: 28px; display: flex; align-items: baseline; gap: 8px; }
.list-head .h { font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -0.01em; }
.list-head .count { color: var(--ink-4); font-feature-settings: 'tnum'; }
.list-head .right { margin-left: auto; font-size: 13px; line-height: 18px; color: var(--ink-3); }
.trow {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 1.5fr) 104px;
  align-items: center;
  column-gap: 12px;
  height: 44px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
}
.trow:last-child { border-bottom: 0; }
.trow-head { margin-top: 12px; height: 32px; font-size: 12px; line-height: 16px; color: var(--ink-4); }
.trow.is-selected { margin-top: 4px; border-bottom: 0; border-radius: var(--radius-sm); background: var(--bg-hover); }
.cell { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cell-muted { gap: 6px; font-size: 13px; color: var(--ink-3); }
.cell-ink2 { color: var(--ink-2); }
.status { position: relative; display: block; width: 96px; height: 24px; }
.status > span {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out);
}
.status-a { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-2); }
.status-a .dot { background: var(--green); }
.status-b { background: var(--green-tint); color: var(--green-text); opacity: 0; transform: translateY(6px); }
.status.is-done .status-a { opacity: 0; transform: translateY(-6px); }
.status.is-done .status-b { opacity: 1; transform: none; }

/* Phones: the call panel alone, at 440 × 560. */
.is-compact .hc .ui-rail,
.is-compact .hc .hc-main { display: none; }
.is-compact .hc .hc-panel { width: 100%; border-right: 0; }

/* ---------------------------------------------------------------- Mastermind */

.mm-panel {
  position: relative;
  width: 400px;
  flex: none;
  display: flex;
  flex-direction: column;
  background: var(--bg-sunken);
  border-right: 1px solid var(--line);
}
.mm-panel .panel-head { gap: 10px; }
.mm-thread {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 20px 20px 132px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mm-thread .bubble { max-width: 290px; color: var(--ink); }
.mm-thread .say { padding-right: 24px; }
.source-chip {
  margin-top: 8px;
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 12px;
  color: var(--ink-3);
}
.mm-test { --open: 260px; }
.mm-test .ui-card { margin: 2px 2px 8px 32px; }
.mm-test .k { margin-top: 10px; font-size: 12px; line-height: 16px; color: var(--ink-3); }
.mm-test .k + .v { margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.mm-test .k.second { margin-top: 8px; }
.composer {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  min-height: 96px;
  padding: 12px 14px 44px;
  border-radius: var(--radius-md);
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-card);
}
.composer-ph { color: var(--ink-4); }
.composer-text { display: none; }
.composer.has-draft .composer-ph { display: none; }
.composer.has-draft .composer-text { display: block; }
.caret {
  display: inline-block;
  width: 1px;
  height: 16px;
  margin-left: 1px;
  vertical-align: -3px;
  background: var(--ink);
}
.send {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--on-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mm-doc { flex: 1; min-width: 0; padding: 28px 40px; display: flex; flex-direction: column; }
.mm-toolbar { height: 36px; display: flex; align-items: center; gap: 8px; }
.mm-toolbar .crumb { font-size: 13px; line-height: 18px; color: var(--ink-3); }
.mm-toolbar .crumb-now { font-size: 13px; line-height: 18px; }
.mm-toolbar .push { margin-left: auto; }
.mm-title { margin-top: 28px; font-size: 28px; line-height: 32px; font-weight: 500; letter-spacing: -0.01em; }
.mm-sub { margin-top: 6px; font-size: 13px; line-height: 18px; color: var(--ink-3); }
.mm-sections { margin-top: 28px; max-width: 620px; display: flex; flex-direction: column; gap: 24px; }
.mm-h { font-size: 16px; line-height: 22px; font-weight: 500; }
.mm-p { margin-top: 6px; font-size: 15px; line-height: 24px; color: var(--ink-2); }
.mm-bars { margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.sel {
  border-radius: 2px;
  background-image: linear-gradient(#d3e9e6, #d3e9e6);
  background-repeat: no-repeat;
  background-size: 0% 100%;
}
.sel.is-on { background-size: 100% 100%; transition: background-size 700ms linear; }
.suggest { --open: 220px; }
.suggest-box {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--purple-tint);
  transition: background-color 300ms var(--ease-out), padding 300ms var(--ease-out);
}
.suggest-label {
  max-height: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  font-size: 12px;
  line-height: 16px;
  color: var(--purple-text);
  transition: max-height 300ms var(--ease-out), padding 300ms var(--ease-out);
}
.suggest-text { font-size: 15px; line-height: 24px; color: var(--purple-text); transition: color 300ms var(--ease-out); }
.suggest-actions {
  max-height: 50px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  transition: max-height 300ms var(--ease-out), padding 300ms var(--ease-out);
}
.suggest-actions .quiet { padding: 0 10px; font-size: 13px; color: var(--ink-3); }
.suggest.is-accepted .suggest-box { background: transparent; padding: 0; }
.suggest.is-accepted .suggest-text { color: var(--ink-2); }
.suggest.is-accepted .suggest-label,
.suggest.is-accepted .suggest-actions { max-height: 0; padding: 0; }

/* Named cursors, after a showcase pointer. Moved with transforms. */
.cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 20;
  pointer-events: none;
  transition-property: transform, opacity;
  transition-timing-function: cubic-bezier(0.45, 0, 0.2, 1), var(--ease-out);
  transition-duration: 0ms, 250ms;
}
.cursor svg { position: absolute; overflow: visible; transition: opacity 120ms var(--ease-out), transform 120ms var(--ease-out); }
.cursor-arrow { left: -3px; top: -3px; transform-origin: 3px 3px; }
.cursor-beam { left: -10px; top: -10px; opacity: 0; }
.cursor.is-beam .cursor-arrow { opacity: 0; }
.cursor.is-beam .cursor-beam { opacity: 1; }
.cursor.is-press svg { transform: scale(0.86); }
.cursor.is-hidden { opacity: 0; }
.cursor-label {
  position: absolute;
  left: 14px;
  top: 18px;
  height: 22px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.12);
}
.cursor-dana .cursor-label { background: var(--teal-text); }
.cursor-mm .cursor-label { background: var(--ink); padding-left: 5px; }

/* Phones: the instructions over the chat, at 400 × 820. */
.is-compact .mm { flex-direction: column; }
.is-compact .mm .ui-rail,
.is-compact .mm-toolbar,
.is-compact .mm-title,
.is-compact .mm-sub,
.is-compact .mm-wide { display: none; }
.is-compact .mm-doc { order: 1; flex: none; padding: 20px 20px 16px; border-bottom: 1px solid var(--line); }
.is-compact .mm-sections { margin-top: 0; }
.is-compact .mm-panel { order: 2; width: 100%; flex: 1; border-right: 0; }

/* ---------------------------------------------------------------- platform screens */

.shot {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  font-size: 13px;
  line-height: 18px;
  color: var(--ink);
  text-align: left;
}
.shot-win {
  position: absolute;
  left: 32px;
  top: 32px;
  width: 820px;
  height: 560px;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 16px 40px -12px rgba(10, 10, 10, 0.14);
}
.shot-bar { height: 52px; border-bottom: 1px solid var(--line); }
.shot-bar-in { width: 740px; height: 52px; padding-left: 20px; display: flex; align-items: center; gap: 10px; }
.shot-bar .title { font-size: 14px; line-height: 20px; font-weight: 500; }
.shot-bar .push { margin-left: auto; }
.shot-body { display: flex; height: 508px; }
.shot-in { width: 740px; padding-left: 20px; }
.side {
  width: 176px;
  flex: none;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg-sunken);
  border-right: 1px solid var(--line);
}
.side span, .side button { height: 32px; padding: 0 10px; display: flex; align-items: center; border-radius: var(--radius-sm); color: var(--ink-3); }
.side .is-active, .side [aria-selected="true"] { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-control); color: var(--ink); font-weight: 500; }
/* A sidebar that opens screens (site.js, initShotTabs). */
.side button { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; transition: background-color var(--motion), color var(--motion); }
.side button:hover { color: var(--ink); }
.side button:focus-visible, .seg button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.shot-view { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.shot-view[hidden] { display: none; }
.shot-view > .flow-canvas { flex: 1; }
.shot-view:not([hidden]) > :first-child { animation: pm-in 260ms var(--ease-out) both; }
@media (prefers-reduced-motion: reduce) { .shot-view:not([hidden]) > :first-child { animation: none; } }
.box { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; }
.box-title { font-size: 14px; line-height: 20px; font-weight: 500; }
.small { font-size: 12px; line-height: 16px; color: var(--ink-3); }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--radius-pill); background: var(--bg-subtle); font-size: 12px; line-height: 16px; }
.seg span, .seg button { height: 24px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border-radius: var(--radius-pill); color: var(--ink-3); }
.seg button { border: 0; background: none; font: inherit; cursor: pointer; }
.seg button:hover { color: var(--ink); }
.seg [aria-pressed="true"], .seg .is-on { background: var(--bg); box-shadow: var(--shadow-control), inset 0 0 0 1px var(--line-strong); color: var(--ink); font-weight: 500; }

.src { height: 52px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.src-icon { width: 28px; height: 28px; flex: none; border-radius: var(--radius-sm); background: var(--bg-subtle); color: var(--ink-3); display: flex; align-items: center; justify-content: center; }
.src-icon img { width: 14px; height: 14px; }
.src-name { flex: 1; min-width: 0; }
.src-name b { display: block; font-size: 14px; line-height: 19px; font-weight: 400; }
.voice { margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-md); background: var(--bg-subtle); }
.voice-play { width: 32px; height: 32px; flex: none; border-radius: var(--radius-pill); background: var(--ink); color: var(--on-ink); display: flex; align-items: center; justify-content: center; }
.voice b { display: block; font-size: 14px; line-height: 19px; font-weight: 500; }
.wave { margin-left: auto; height: 24px; display: flex; align-items: center; gap: 3px; }
.wave i { display: block; width: 3px; border-radius: var(--radius-pill); background: var(--ink-4); }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 18px 0; border-bottom: 1px solid var(--line); }
.kpi-n { font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -0.01em; font-feature-settings: 'tnum'; }
.heat { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.heat-row { display: flex; align-items: center; gap: 4px; }
.heat-row > span:first-child { width: 30px; flex: none; font-size: 11px; line-height: 14px; color: var(--ink-3); }
.heat-row i { display: block; width: 24px; height: 18px; border-radius: 4px; background: rgba(10, 10, 10, var(--a)); }
.heat-hours { padding-left: 34px; display: flex; gap: 4px; font-size: 11px; line-height: 14px; color: var(--ink-3); }
.heat-hours span { width: 24px; text-align: center; }
.timeline { margin-top: 14px; list-style: none; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 10px; padding-bottom: 14px; }
.timeline li:last-child { padding-bottom: 0; }
.tl-mark { width: 10px; flex: none; display: flex; flex-direction: column; align-items: center; }
.tl-mark i { width: 8px; height: 8px; margin-top: 5px; border-radius: var(--radius-pill); background: var(--ink-5); }
.tl-mark b { flex: 1; width: 1px; margin-top: 4px; background: var(--line); }
.timeline li:last-child .tl-mark i { background: var(--green); }
.timeline li:last-child .tl-mark b { display: none; }
.tl-h { display: block; color: var(--ink-2); }
.timeline li:last-child .tl-h { color: var(--ink); font-weight: 500; }

.qa-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 64px;
  align-items: center;
  column-gap: 12px;
  height: 56px;
  padding: 0 8px;
  border-bottom: 1px solid var(--line);
}
.qa-head { height: 32px; font-size: 12px; line-height: 16px; color: var(--ink-4); border-bottom: 0; }
.qa-row.is-selected { border-bottom: 0; border-radius: var(--radius-sm); background: var(--bg-hover); }
.qa-row:last-child { border-bottom: 0; }
.qa-title { display: block; font-size: 14px; line-height: 19px; }
.qa-dots { display: flex; gap: 5px; }
.qa-dots i { width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--green); }
.qa-dots i.f { background: var(--red); }
.qa-dots i.w { background: var(--amber); }
.qa-detail { flex: 1; padding: 18px; background: var(--bg-sunken); border-left: 1px solid var(--line); }
.qa-detail-in { width: 256px; }
.quote { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg); box-shadow: var(--shadow-card); }
.meter { margin-top: 8px; height: 6px; border-radius: var(--radius-pill); background: var(--bg-muted); overflow: hidden; }
.meter i { display: block; height: 6px; width: 90%; border-radius: var(--radius-pill); background: var(--green); }

.kpi-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi-tile { padding: 14px; border-radius: var(--radius-md); background: var(--bg-subtle); }
.kpi-tile .delta { margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--green-text); font-feature-settings: 'tnum'; }
.topic + .topic { margin-top: 12px; }
.topic-row { display: flex; justify-content: space-between; gap: 8px; }
.topic-track { margin-top: 5px; height: 4px; border-radius: var(--radius-pill); background: var(--line); overflow: hidden; }
.topic-track i { display: block; height: 4px; border-radius: var(--radius-pill); background: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  /* Fewer and gentler, not none: things still fade in, nothing travels. */
  .reveal { transform: none; transition: opacity 200ms ease !important; }
  .fades, .expand { transition: opacity 200ms ease !important; }
  .roll-col, .status > span, .sel, .suggest-box, .suggest-label, .suggest-text, .suggest-actions, .cursor { transition: none !important; }
}

/* ---------------------------------------------------------------- one platform tiles */

/* Design the conversation: the workflow editor. */
.flow-win {
  position: absolute;
  left: 0;
  top: 0;
  width: 900px;
  height: 520px;
  display: flex;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: var(--radius-md);
  background: var(--bg);
  box-shadow: var(--shadow-card);
  font-size: 12px;
  line-height: 16px;
  color: var(--ink);
  text-align: left;
}
.flow-side { width: 200px; flex: none; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); }
.flow-brand { display: flex; align-items: center; gap: 8px; padding: 0 6px 12px; font-size: 13px; font-weight: 500; }
.flow-agent {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-control);
}
.flow-caret { margin-left: auto; transform: rotate(90deg); color: var(--ink-4); }
.orb-dot { width: 12px; height: 12px; flex: none; background: var(--orb); }
.flow-group { padding: 8px 8px 4px; font-size: 11px; color: var(--ink-4); }
.flow-tabs { display: flex; flex-direction: column; gap: 2px; }
.flow-item {
  width: 100%;
  height: 30px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--ink-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--motion), color var(--motion);
}
.flow-item svg { color: var(--ink-3); }
.flow-item:hover { background: var(--bg-subtle); color: var(--ink); }
.flow-item:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.flow-item[aria-selected="true"] { background: var(--bg-subtle); color: var(--ink); font-weight: 500; }
.flow-item[aria-selected="true"] svg { color: var(--ink); }
/* While the editor walks its screens (initPlatform), the open item fills
   a hairline, the same timer as the platform section's tabs. */
.flow-item { position: relative; }
.flow-item::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 1.5px; border-radius: 1px; background: var(--ink-4); transform: scaleX(0); transform-origin: 0 50%; opacity: 0; }
.is-cycling .flow-item[aria-selected="true"]::after { opacity: 1; animation: pf-fill var(--pf-dur, 7s) linear both; }
.flow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.flow-main[hidden] { display: none; }
.flow-main:not([hidden]) > :last-child { animation: pm-in 260ms var(--ease-out) both; }
@keyframes pm-in { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .flow-main:not([hidden]) > :last-child { animation: none; } }

/* The editor's other screens (pm-: platform mock). Built from the same
   pieces as the dashboard: boxed lists, pills, switches and small charts. */
.pm-push { margin-left: auto; }
.pm-body { flex: 1; min-height: 0; width: 560px; padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.pm-cols { flex-direction: row; gap: 20px; }
/* The tile shows the first 560px of the editor, so headers keep their
   actions inside it. */
.flow-main > .flow-head { padding-right: 156px; }
.pm-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pm-stack { gap: 8px; }
.pm-aside { width: 176px; flex: none; display: flex; flex-direction: column; gap: 8px; }
.pm-row { display: flex; align-items: center; gap: 8px; }
.pm-label { font-size: 12px; font-weight: 500; }
.pm-gap { margin-top: 10px; }
.pm-gap-sm { margin-top: 2px; }
.pm-box { border-radius: var(--radius-md); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pm-prompt { padding: 14px 16px 10px; font-size: 13px; line-height: 20px; color: var(--ink-2); }
.pm-prompt p + p { margin-top: 8px; }
.pm-foot { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.pm-var { padding: 1px 6px; border-radius: 6px; background: var(--blue-tint); color: var(--blue); font-size: 11px; }
.pm-code { font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 11.5px; }
b.pm-code { display: block; font-weight: 500; font-size: 12.5px; line-height: 18px; }
.pm-list { border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pm-li { height: 36px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.pm-li:first-child { border-top: 0; }
.pm-switch { position: relative; width: 26px; height: 16px; flex: none; border-radius: var(--radius-pill); background: var(--line-strong); }
.pm-switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); box-shadow: var(--shadow-control); }
.pm-switch.is-on { background: var(--ink); }
.pm-switch.is-on::after { left: 12px; }
.pm-swatch { width: 18px; height: 18px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--c) 70%); }
.pm-seg { display: flex; padding: 3px; border-radius: var(--radius-pill); background: var(--bg-subtle); }
.pm-seg span { flex: 1; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); color: var(--ink-3); }
.pm-seg .is-on { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-control); }
.pm-slider { position: relative; height: 4px; border-radius: var(--radius-pill); background: var(--line); }
.pm-slider span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--ink); }
.pm-slider span::after { content: ""; position: absolute; right: -7px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-control); }
/* Knowledge */
.pm-stats { padding: 12px 16px; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; }
.pm-stats > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pm-stats b { font-size: 14px; line-height: 19px; font-weight: 500; }
.pm-stats .bar { width: 100%; margin-top: 6px; overflow: hidden; }
.pm-fill { display: block; height: 100%; background: var(--ink); }
.pm-adds { display: flex; gap: 6px; }
.pm-adds span { flex: 1; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: var(--bg-subtle); font-size: 11px; color: var(--ink-2); }
.pm-srcs .src { height: 46px; }
.pm-srcs .src-name b { font-size: 13px; line-height: 18px; }
/* Tools */
.pm-tool { padding: 10px 12px; display: flex; align-items: center; gap: 12px; }
/* Tests */
.pm-table { border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pm-tr { height: 38px; padding: 0 14px; display: grid; grid-template-columns: 1fr 70px 70px 72px; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.pm-tr:first-child { border-top: 0; }
.pm-th { height: 32px; font-size: 11px; color: var(--ink-4); }
.pm-tr.is-open { background: var(--bg-subtle); }
.pm-checks { padding: 6px 14px; }
.pm-check { min-height: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.pm-check.is-ok svg { color: var(--green); }
.pm-check.is-bad svg { color: var(--red-text); }
.pm-check .small { flex-basis: 100%; padding: 0 0 8px 22px; }
/* Issues */
.pm-group { height: 30px; padding: 0 10px; display: flex; align-items: center; gap: 8px; border-radius: var(--radius-sm); background: var(--bg-subtle); font-weight: 500; }
.pm-ring { width: 12px; height: 12px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-4); }
.pm-ring.is-half { background: conic-gradient(var(--blue) 0 50%, transparent 0); box-shadow: inset 0 0 0 1.5px var(--blue); }
.pm-ring.is-done { background: var(--green); box-shadow: none; }
.pm-issue { height: 38px; margin-top: -8px; padding: 0 10px 0 30px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.pm-issue b { flex: 1; min-width: 0; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-issue.is-done b { color: var(--ink-3); }
.pm-nobody { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px dashed var(--ink-4); }
.pm-issue .small { width: 56px; text-align: right; }
/* Pulse */
.pm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pm-kpi { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.pm-kpi b { font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -0.01em; }
.pm-delta { font-size: 11px; color: var(--green-text); }
.pm-delta.is-flat { color: var(--ink-4); }
.pm-spark { height: 34px; margin-top: 8px; display: flex; align-items: flex-end; gap: 3px; }
.pm-spark i { flex: 1; border-radius: 2px; background: var(--line-strong); }
.pm-spark i:last-child { background: var(--ink); }
.pm-topics { padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.pm-topic { display: grid; grid-template-columns: 120px 1fr 80px; align-items: center; gap: 12px; }
.pm-topic .small { text-align: right; }
.pm-tbar { height: 8px; border-radius: var(--radius-pill); background: var(--bg-subtle); overflow: hidden; }
.pm-tbar span { display: block; height: 100%; border-radius: inherit; background: var(--ink-3); }
.flow-head { height: 44px; flex: none; padding: 0 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); font-size: 13px; }
.ink-5 { color: var(--ink-5); }
.flow-canvas {
  position: relative;
  flex: 1;
  background-color: var(--bg);
  background-image: radial-gradient(circle, #d9d9d9 1px, transparent 1.2px);
  background-size: 16px 16px;
}
.flow-tools {
  position: absolute;
  left: 16px;
  top: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-control);
}
.flow-tools span { height: 24px; min-width: 24px; padding: 0 6px; display: flex; align-items: center; justify-content: center; border-radius: 6px; color: var(--ink-2); }
.flow-tools-label { font-size: 11px; }
.flow-lines { position: absolute; left: 0; top: 0; overflow: visible; }
.flow-lines path { fill: none; stroke: var(--ink-5); stroke-width: 1.25; }
.flow-start {
  position: absolute;
  z-index: 1;
  width: 72px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-control);
  font-weight: 500;
}
.flow-node { position: absolute; z-index: 1; padding: 3px; border-radius: 10px; background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-card); }
.flow-node-h { display: flex; align-items: center; gap: 7px; padding: 6px 8px 7px; font-weight: 500; }
.flow-node-h svg { color: var(--ink-3); }
.flow-node-b { padding: 9px 10px; border-radius: 8px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 11px; line-height: 15px; color: var(--ink-3); }
.flow-label {
  position: absolute;
  z-index: 1;
  height: 22px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
}

/* Prove it: a simulated guest, the run, and its checks. */
.test-run { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 40px 32px 32px; }
.test-ask { width: 100%; max-width: 360px; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow-card); }
.test-ask-av { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--bg-muted); color: var(--ink-3); font-size: 12px; font-weight: 500; }
img.test-ask-av { width: 32px; height: 32px; display: block; object-fit: cover; }
.test-ask p { margin-top: 10px; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.test-line { position: relative; width: 1px; height: 64px; background: var(--line-strong); }
.test-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  box-shadow: var(--shadow-card);
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out);
}
.test-spinner::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--line-strong);
  border-top-color: var(--ink);
  animation: spin 900ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.test-run.is-done .test-spinner { opacity: 0; transform: scale(0.6); }
.test-checks { width: 100%; max-width: 360px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.test-checks li {
  height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-md);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.test-run.is-done .test-checks li { opacity: 1; transform: none; }
.test-run.is-done .test-checks li:nth-child(2) { transition-delay: 140ms; }
.test-run.is-done .test-checks li:nth-child(3) { transition-delay: 280ms; }
.test-pass {
  margin-top: 16px;
  height: 28px;
  padding: 0 12px 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  background: var(--green-tint);
  color: var(--green-text);
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 300ms var(--ease-out) 450ms;
}
.test-pass .dot { background: var(--green); }
.test-run.is-done .test-pass { opacity: 1; }

/* Measure: the analytics panel. */
.dash {
  position: absolute;
  left: 0;
  top: 0;
  width: 1032px;
  display: grid;
  grid-template-columns: 640px 352px;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: var(--radius-lg);
  background: #efefef;
  font-size: 12px;
  line-height: 16px;
  color: var(--ink);
  text-align: left;
}
.dash-card { padding: 18px 20px; border-radius: var(--radius-md); background: var(--bg); box-shadow: var(--shadow-card); }
.dash-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dash-title { font-size: 13px; line-height: 18px; font-weight: 500; }
.dash-value { margin-top: 6px; font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -0.01em; }
.dash-unit { margin-left: 4px; font-size: 14px; font-weight: 400; color: var(--ink-3); }
.dash-legend { margin-top: 8px; display: flex; gap: 16px; color: var(--ink-3); }
.dash-legend span, .dash-tip span { display: flex; align-items: center; gap: 6px; }
.lg-ink, .lg-gray { display: inline-block; width: 8px; height: 8px; border-radius: var(--radius-pill); }
.lg-ink { background: var(--ink); }
.lg-gray { background: var(--ink-4); }
.dash-plot { position: relative; height: 204px; margin-top: 18px; }
.dash-plot svg { position: absolute; left: 44px; top: 0; overflow: visible; }
.dash-y { position: absolute; left: 0; transform: translateY(-50%); font-size: 11px; color: var(--ink-4); }
.dash-x { position: absolute; top: 188px; font-size: 11px; color: var(--ink-4); }
.dash-tip {
  position: absolute;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 6px 16px rgba(10, 10, 10, 0.08);
  white-space: nowrap;
  font-feature-settings: 'tnum';
}
.dash-langs { display: flex; flex-direction: column; gap: 10px; }
.dash-langs .dash-title { margin-bottom: 4px; }
.lang { display: grid; grid-template-columns: minmax(0, 1fr) 56px; align-items: center; gap: 12px; }
.lang-bar { height: 28px; padding: 0 10px; display: flex; align-items: center; border-radius: 6px; background: var(--bg-subtle); color: var(--ink-2); }
.lang .tnum { text-align: right; color: var(--ink-3); }

/* Talk to it now: the orb, the call button, Voice or Chat. */
.orb-pane,
.chat-pane { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 28px 0; }
.orb-pane[hidden],
.chat-pane[hidden] { display: none; }
.orb-stage { position: relative; width: 260px; height: 260px; flex: none; }
.orb-canvas { position: absolute; left: -36px; top: -36px; width: 332px; height: 332px; }
.orb-fallback { position: absolute; inset: 20px; width: 220px; height: 220px; }
.has-orb .orb-fallback,
.ptile-orb:not(.has-orb) .orb-canvas { display: none; }
.orb-call {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.08), 0 6px 18px rgba(10, 10, 10, 0.12);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color var(--motion), color var(--motion);
}
@media (hover: hover) and (pointer: fine) {
  .orb-call:hover { transform: scale(1.06); }
}
.orb-call:active { transform: scale(0.95); }
.orb-call:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--radius-pill); }
.orb-call-end { display: none; }
.orb-call.is-live { background: var(--ink); color: var(--on-ink); }
.orb-call.is-live .orb-call-start { display: none; }
.orb-call.is-live .orb-call-end { display: block; }
.orb-status { margin-top: 20px; font-size: 14px; line-height: 20px; font-weight: 500; text-align: center; }
.orb-caption { min-height: 40px; max-width: 320px; margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--ink-3); text-align: center; }
.orb-note { margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--ink-3); text-align: center; }
.ptile-orb:not([data-state="idle"]) .orb-note { visibility: hidden; }
.mode-toggle {
  align-self: center;
  margin: 20px 0 28px;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: #ebebeb;
}
.mode-toggle button {
  height: 36px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  cursor: pointer;
  transition: background-color var(--motion), color var(--motion), transform 160ms var(--ease-out);
}
.mode-toggle button:active { transform: scale(0.97); }
.mode-toggle button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: var(--shadow-control), inset 0 0 0 1px var(--line-strong); }
.chat-pane { justify-content: flex-end; padding: 16px 20px 0; }
.chat-log { width: 100%; max-height: 340px; min-height: 200px; overflow-y: auto; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 4px; }
.chat-msg { max-width: 90%; display: flex; align-items: flex-start; gap: 8px; animation: chat-in 220ms var(--ease-out) both; }
@keyframes chat-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes chat-fade { from { opacity: 0; } }
.chat-msg p { font-size: 14px; line-height: 20px; }
.chat-agent .orb-dot { margin-top: 4px; }
.chat-user { align-self: flex-end; }
.chat-user p { padding: 8px 12px; border-radius: var(--radius-md); background: var(--bg); box-shadow: var(--shadow-card); }
.chat-msg.is-typing p { color: var(--ink-4); }
.chat-form {
  width: 100%;
  margin-top: 12px;
  padding: 6px 6px 6px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-control);
}
.chat-form:focus-within { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.chat-form input { flex: 1; min-width: 0; height: 32px; border: 0; outline: none; background: transparent; font: inherit; font-size: 14px; color: var(--ink); }
.chat-form input::placeholder { color: var(--ink-4); }
.chat-form button { width: 32px; height: 32px; flex: none; display: flex; align-items: center; justify-content: center; border: 0; border-radius: var(--radius-pill); background: var(--ink); color: var(--on-ink); cursor: pointer; transition: transform 160ms var(--ease-out); }
.chat-form button:active { transform: scale(0.95); }

/* A tool call in the sample call's transcript. */
.tool-row { align-self: flex-start; margin-left: 30px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: var(--radius-pill); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 13px; line-height: 18px; color: var(--ink-3); }
.tool-spin { width: 14px; height: 14px; flex: none; border-radius: var(--radius-pill); border: 2px solid var(--line-strong); border-top-color: var(--ink-3); animation: spin 800ms linear infinite; }
.tool-ok { display: none; flex: none; }
.tool-row.is-done .tool-spin { display: none; }
.tool-row.is-done .tool-ok { display: block; }
.tool-row.is-done { color: var(--ink-2); }
.hc-thread[hidden] { display: none; }
.hc-play { padding-bottom: 200px; }
.is-compact .hc-play { padding-bottom: 24px; }
.hc-play .hc-card { --open: 170px; }

@media (prefers-reduced-motion: reduce) {
  .test-spinner::after { animation-duration: 2.4s; }
  .test-checks li, .test-pass { transition: none; }
  .chat-msg { animation: chat-fade 150ms ease both; }
  .orb-call:active { transform: none; }
}
