/* #how, queue #504, 2026-10-05.
   1. The four step panels wear the extension's own tokens (sidepanel/tokens.css + panel.css):
      bg #000, card #14171E, raised #232830, ink #F4F6F9 / #B0B8C4 / #959DA9, accent #F2A93B,
      accent ink #F5B45A, input radius 8, card radius 12, tags 600 pills. Borderless (law 1):
      no rings, no hairlines, separation by fill and space.
   2. Three flow lines join step 1 to 2 to 3 to 4 (lp-how.js draws them from the frames' boxes).
      Out of flow, under the frames, so nothing shifts. Dash travel runs only while #how is on
      screen (.is-run from an IntersectionObserver); reduced motion keeps a still line. */

/* ---------- panels ---------- */
#how .lp-pan-scr { background: #000; }
#how .lp-pan-conn { background: #232830; color: #B0B8C4; }
#how .lp-pan-conn.is-on { background: #182B29; color: #55D398; }
#how .lp-pan-well,
#how .lp-pan-search { background: #14171E; color: #B0B8C4; border-radius: 8px; }
#how .lp-pan-go {
  border-radius: 8px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 60%);
  box-shadow: 0 8px 22px -10px color-mix(in oklch, #F2A93B 35%, transparent);
}
#how .lp-pan-pub { border-radius: 8px; box-shadow: 0 8px 22px -10px rgba(8, 102, 255, .45); }
#how .lp-pan-chip { background: #232830; color: #B0B8C4; }
#how .lp-pan-chip.is-on { background: rgba(242, 169, 59, .20); color: #F5B45A; }
#how .lp-pan-row { border-radius: 8px; }
#how .lp-pan-row.is-pick { background: rgba(242, 169, 59, .12); }
#how .lp-pan-sh.is-more { background: #232830; }

/* the column map is an extension card: one fill, no ring, no rules between rows */
#how .lp-pan-fields {
  background: #14171E; background-image: none; box-shadow: none; border-radius: 12px; padding-block: .35em;
}
#how .lp-pan-field { box-shadow: none; }
#how .lp-pan-field > span {
  font-family: inherit; font-weight: 600; letter-spacing: 0;
  background: #232830; color: #B0B8C4; border-radius: 999px; padding: .15em .65em;
}

/* ---------- flow lines ---------- */
#how .lp-howrows { position: relative; }
#how .lp-howrows > .lp-flow {
  position: absolute; inset: 0; z-index: 0; inline-size: 100%; block-size: 100%;
  pointer-events: none; overflow: visible;
  /* lot-extra.css gives every child of a section's wrap a view() arrive; this layer stays put */
  animation: none;
}
#how .lp-howrows > .lp-step { z-index: 1; }
.lp-flow path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lp-flow .lp-flow-track { stroke: rgba(242, 169, 59, .16); stroke-width: 2; }
.lp-flow .lp-flow-run {
  stroke: #F2A93B; stroke-width: 2; stroke-dasharray: 2 22; opacity: .85;
  /* finite on purpose: site/proof.mjs fails any infinite loop; 12 passes, then the dots rest */
  animation: lp-flow-run 1.6s linear 12 paused;
}
.lp-flow circle { fill: #F2A93B; }
.lp-flow.is-run .lp-flow-run { animation-play-state: running; }
@keyframes lp-flow-run { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) {
  .lp-flow .lp-flow-run { animation: none; }
}
