{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "how-sticky-scroll",
  "type": "registry:component",
  "title": "How It Works: Sticky Scroll",
  "description": "Step descriptions on the left and a sticky product mockup on the right that switches screens as each step reaches the middle of the viewport. Steps are also clickable.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "how-it-works",
    "how it works",
    "sticky",
    "scroll",
    "product tour",
    "steps",
    "mockup"
  ],
  "docs": "https://hyperblur.dev/effects/how-sticky-scroll",
  "files": [
    {
      "path": "registry/hyperblur/how-sticky-scroll.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/how-sticky-scroll.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface HowStickyScrollStep {\n  title: string;\n  description: string;\n  points?: string[];\n}\n\nexport interface HowStickyScrollProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\"> {\n  eyebrow?: string;\n  title?: string;\n  subtitle?: string;\n  steps?: HowStickyScrollStep[];\n  defaultStep?: number;\n  onStepChange?: (index: number) => void;\n  accent?: string;\n}\n\nconst css = `\n@keyframes hb-kh2-in {\n  from { opacity: 0; transform: translate3d(0, 10px, 0); }\n  to { opacity: 1; transform: none; }\n}\n@keyframes hb-kh2-blink { 50% { opacity: 0; } }\n@keyframes hb-kh2-pulse {\n  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--hb-kh2-accent) 55%, transparent); }\n  100% { box-shadow: 0 0 0 8px transparent; }\n}\n.hb-kh2 {\n  --hb-kh2-accent: #34d399;\n  position: relative;\n  box-sizing: border-box;\n  width: 100%;\n  container-type: inline-size;\n  background: #0a0a0a;\n  color: #ededed;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-kh2 *, .hb-kh2 *::before, .hb-kh2 *::after { box-sizing: border-box; }\n.hb-kh2-in {\n  position: relative;\n  max-width: 1120px;\n  margin: 0 auto;\n  padding: 72px 20px 80px;\n}\n.hb-kh2-head { max-width: 620px; }\n.hb-kh2-eyebrow {\n  color: var(--hb-kh2-accent);\n  font-size: 13px;\n  font-weight: 600;\n  letter-spacing: 0.02em;\n}\n.hb-kh2-title {\n  margin: 12px 0 0;\n  font-size: clamp(30px, 4.4cqw, 44px);\n  font-weight: 600;\n  line-height: 1.06;\n  letter-spacing: -0.035em;\n  text-wrap: balance;\n}\n.hb-kh2-sub {\n  margin: 14px 0 0;\n  color: #8f8f8f;\n  font-size: 16px;\n  line-height: 1.6;\n  text-wrap: pretty;\n}\n.hb-kh2-body {\n  display: flex;\n  flex-direction: column-reverse;\n  gap: 28px;\n  margin-top: 40px;\n}\n.hb-kh2-steps {\n  display: flex;\n  flex-direction: column;\n  gap: 12px;\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n.hb-kh2-step {\n  position: relative;\n  display: block;\n  width: 100%;\n  margin: 0;\n  padding: 18px 18px 20px 22px;\n  border: 1px solid rgba(255, 255, 255, 0.06);\n  border-radius: 16px;\n  background: transparent;\n  color: inherit;\n  font: inherit;\n  text-align: left;\n  cursor: pointer;\n  opacity: 0.5;\n  transition: opacity 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;\n}\n.hb-kh2-step::before {\n  content: \"\";\n  position: absolute;\n  top: 18px;\n  bottom: 18px;\n  left: 0;\n  width: 2px;\n  border-radius: 2px;\n  background: var(--hb-kh2-accent);\n  transform: scaleY(0);\n  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);\n}\n.hb-kh2-step:hover { opacity: 0.8; }\n.hb-kh2-step[data-active=\"true\"] {\n  opacity: 1;\n  border-color: rgba(255, 255, 255, 0.1);\n  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));\n}\n.hb-kh2-step[data-active=\"true\"]::before { transform: scaleY(1); }\n.hb-kh2-step:focus-visible { outline: 2px solid var(--hb-kh2-accent); outline-offset: 2px; }\n.hb-kh2-num {\n  display: inline-flex;\n  align-items: center;\n  gap: 10px;\n  color: #8f8f8f;\n  font-size: 12px;\n  font-weight: 600;\n  letter-spacing: 0.06em;\n  font-variant-numeric: tabular-nums;\n}\n.hb-kh2-step[data-active=\"true\"] .hb-kh2-num { color: var(--hb-kh2-accent); }\n.hb-kh2-name {\n  display: block;\n  margin-top: 8px;\n  font-size: 20px;\n  font-weight: 600;\n  letter-spacing: -0.02em;\n}\n.hb-kh2-desc {\n  display: block;\n  margin-top: 8px;\n  color: #9a9a9a;\n  font-size: 15px;\n  line-height: 1.6;\n}\n.hb-kh2-points {\n  display: grid;\n  gap: 8px;\n  margin: 14px 0 0;\n  padding: 0;\n  list-style: none;\n}\n.hb-kh2-point {\n  display: flex;\n  align-items: flex-start;\n  gap: 10px;\n  color: #c9c9c9;\n  font-size: 14px;\n  line-height: 1.45;\n}\n.hb-kh2-points svg {\n  flex: none;\n  width: 16px;\n  height: 16px;\n  margin-top: 1px;\n  fill: none;\n  stroke: var(--hb-kh2-accent);\n  stroke-width: 2;\n  stroke-linecap: round;\n  stroke-linejoin: round;\n}\n.hb-kh2-stage { position: relative; min-width: 0; }\n.hb-kh2-mock {\n  position: relative;\n  overflow: hidden;\n  border: 1px solid rgba(255, 255, 255, 0.09);\n  border-radius: 18px;\n  background: linear-gradient(180deg, #131313, #0d0d0d);\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(255, 255, 255, 0.02);\n}\n.hb-kh2-mock::before {\n  content: \"\";\n  position: absolute;\n  inset: -40% -20% auto;\n  height: 70%;\n  pointer-events: none;\n  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--hb-kh2-accent) 18%, transparent), transparent 70%);\n  transform: translateX(var(--hb-kh2-glow, -20%));\n  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);\n}\n.hb-kh2-bar {\n  position: relative;\n  display: flex;\n  align-items: center;\n  gap: 10px;\n  height: 44px;\n  padding: 0 14px;\n  border-bottom: 1px solid rgba(255, 255, 255, 0.07);\n}\n.hb-kh2-dots { display: flex; gap: 6px; }\n.hb-kh2-dots i { width: 9px; height: 9px; border-radius: 50%; background: #262626; }\n.hb-kh2-url {\n  flex: 1;\n  min-width: 0;\n  overflow: hidden;\n  color: #8f8f8f;\n  font-size: 12px;\n  text-align: center;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.hb-kh2-progress { display: flex; gap: 4px; }\n.hb-kh2-progress i {\n  width: 18px;\n  height: 3px;\n  border-radius: 2px;\n  background: rgba(255, 255, 255, 0.12);\n  transition: background-color 0.3s ease;\n}\n.hb-kh2-progress i[data-on=\"true\"] { background: var(--hb-kh2-accent); }\n.hb-kh2-screen {\n  position: relative;\n  display: grid;\n  grid-template-columns: 1fr;\n  min-height: 430px;\n}\n.hb-kh2-side {\n  display: none;\n  flex-direction: column;\n  gap: 4px;\n  padding: 14px 10px;\n  border-right: 1px solid rgba(255, 255, 255, 0.06);\n}\n.hb-kh2-nav {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  height: 30px;\n  padding: 0 10px;\n  border-radius: 8px;\n  color: #8f8f8f;\n  font-size: 12.5px;\n}\n.hb-kh2-nav[data-on=\"true\"] { background: rgba(255, 255, 255, 0.05); color: #ededed; }\n.hb-kh2-nav b { font-weight: 500; color: #8f8f8f; font-size: 11px; }\n.hb-kh2-panes { position: relative; min-width: 0; }\n.hb-kh2-pane {\n  position: absolute;\n  inset: 0;\n  overflow: hidden;\n  padding: 16px;\n  opacity: 0;\n  visibility: hidden;\n  transform: translate3d(0, 12px, 0) scale(0.985);\n  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.45s;\n}\n.hb-kh2-pane[data-active=\"true\"] {\n  opacity: 1;\n  visibility: visible;\n  transform: none;\n  transition: opacity 0.45s ease 0.08s, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 0.08s, visibility 0s;\n}\n.hb-kh2-pane-head {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  margin-bottom: 12px;\n  font-size: 13px;\n  font-weight: 600;\n}\n.hb-kh2-meta { color: #8f8f8f; font-weight: 500; font-size: 12px; }\n.hb-kh2-live {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  color: #8f8f8f;\n  font-size: 12px;\n  font-weight: 500;\n}\n.hb-kh2-live::before {\n  content: \"\";\n  width: 6px;\n  height: 6px;\n  border-radius: 50%;\n  background: var(--hb-kh2-accent);\n  animation: hb-kh2-pulse 1.6s ease-out infinite;\n}\n.hb-kh2-rows { display: grid; gap: 8px; }\n.hb-kh2-row {\n  display: grid;\n  grid-template-columns: 28px minmax(0, 1fr) auto;\n  align-items: center;\n  gap: 10px;\n  padding: 10px;\n  border: 1px solid rgba(255, 255, 255, 0.06);\n  border-radius: 12px;\n  background: #121212;\n}\n.hb-kh2-pane[data-active=\"true\"] .hb-kh2-row { animation: hb-kh2-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i) * 70ms + 120ms); }\n.hb-kh2-av {\n  display: grid;\n  place-items: center;\n  width: 28px;\n  height: 28px;\n  border-radius: 50%;\n  color: #0a0a0a;\n  font-size: 11px;\n  font-weight: 700;\n}\n.hb-kh2-txt { min-width: 0; }\n.hb-kh2-txt strong, .hb-kh2-txt span {\n  display: block;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.hb-kh2-txt strong { font-size: 13px; font-weight: 600; }\n.hb-kh2-txt span { margin-top: 2px; color: #8f8f8f; font-size: 12px; }\n.hb-kh2-time { color: #6f6f6f; font-size: 11.5px; font-variant-numeric: tabular-nums; }\n.hb-kh2-tags { display: flex; align-items: center; gap: 6px; }\n.hb-kh2-tag {\n  padding: 2px 8px;\n  border-radius: 999px;\n  font-size: 11px;\n  font-weight: 600;\n  white-space: nowrap;\n}\n.hb-kh2-owner {\n  display: grid;\n  place-items: center;\n  width: 22px;\n  height: 22px;\n  border: 2px solid #121212;\n  border-radius: 50%;\n  color: #0a0a0a;\n  font-size: 9px;\n  font-weight: 700;\n}\n.hb-kh2-rule {\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  margin-bottom: 10px;\n  padding: 9px 12px;\n  border: 1px dashed color-mix(in srgb, var(--hb-kh2-accent) 45%, transparent);\n  border-radius: 10px;\n  background: color-mix(in srgb, var(--hb-kh2-accent) 7%, transparent);\n  color: #d6d6d6;\n  font-size: 12px;\n}\n.hb-kh2-rule code {\n  padding: 1px 6px;\n  border-radius: 6px;\n  background: rgba(255, 255, 255, 0.07);\n  color: #ededed;\n  font-family: var(--font-mono, ui-monospace), SFMono-Regular, Menlo, monospace;\n  font-size: 11px;\n}\n.hb-kh2-thread {\n  padding: 12px;\n  border: 1px solid rgba(255, 255, 255, 0.06);\n  border-radius: 12px;\n  background: #121212;\n  font-size: 13px;\n  line-height: 1.5;\n  color: #c9c9c9;\n}\n.hb-kh2-thread strong { color: #ededed; font-weight: 600; }\n.hb-kh2-compose {\n  margin-top: 10px;\n  padding: 12px;\n  border: 1px solid color-mix(in srgb, var(--hb-kh2-accent) 40%, rgba(255, 255, 255, 0.1));\n  border-radius: 12px;\n  background: #101010;\n  font-size: 13px;\n  line-height: 1.55;\n  color: #ededed;\n}\n.hb-kh2-compose em {\n  display: block;\n  margin-bottom: 6px;\n  color: var(--hb-kh2-accent);\n  font-size: 11px;\n  font-style: normal;\n  font-weight: 600;\n  letter-spacing: 0.04em;\n  text-transform: uppercase;\n}\n.hb-kh2-caret {\n  display: inline-block;\n  width: 2px;\n  height: 14px;\n  margin-left: 2px;\n  vertical-align: -2px;\n  background: var(--hb-kh2-accent);\n  animation: hb-kh2-blink 1s steps(1) infinite;\n}\n.hb-kh2-actions {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 8px;\n  margin-top: 10px;\n}\n.hb-kh2-stat { color: #8f8f8f; font-size: 12px; }\n.hb-kh2-stat b { color: #ededed; font-weight: 600; }\n.hb-kh2-send {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  height: 30px;\n  padding: 0 12px;\n  border-radius: 999px;\n  background: var(--hb-kh2-accent);\n  color: #04130d;\n  font-size: 12px;\n  font-weight: 700;\n}\n.hb-kh2-resolved {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  padding: 3px 9px;\n  border-radius: 999px;\n  background: color-mix(in srgb, var(--hb-kh2-accent) 16%, transparent);\n  color: var(--hb-kh2-accent);\n  font-size: 11px;\n  font-weight: 600;\n}\n@container (min-width: 520px) {\n  .hb-kh2-screen { grid-template-columns: 150px minmax(0, 1fr); min-height: 380px; }\n  .hb-kh2-side { display: flex; }\n}\n@container (min-width: 720px) {\n  .hb-kh2-in { padding: 96px 40px 112px; }\n}\n@container (min-width: 880px) {\n  .hb-kh2-body {\n    display: grid;\n    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);\n    align-items: start;\n    gap: 56px;\n    margin-top: 48px;\n  }\n  .hb-kh2-steps { gap: 0; padding: 4px 0 18vh; }\n  .hb-kh2-steps > li { min-height: 44vh; }\n  .hb-kh2-steps > li:first-child { min-height: 30vh; }\n  .hb-kh2-step { border-color: transparent; background: transparent; }\n  .hb-kh2-step[data-active=\"true\"] { border-color: transparent; background: transparent; }\n  .hb-kh2-stage { position: sticky; top: 88px; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-kh2 *, .hb-kh2 *::before, .hb-kh2 *::after { animation: none !important; transition: none !important; }\n}\n`;\n\nconst defaultSteps: HowStickyScrollStep[] = [\n  {\n    title: \"Capture every request\",\n    description: \"Email, chat and form submissions land in one shared inbox the moment they arrive.\",\n    points: [\"Forward support@ in under a minute\", \"Chat widget and web forms included\"],\n  },\n  {\n    title: \"Route it automatically\",\n    description: \"Rules read each message, tag it and hand it to the right owner before anyone triages.\",\n    points: [\"Match on plan, keyword or sentiment\", \"Round-robin across on-call agents\"],\n  },\n  {\n    title: \"Resolve with one reply\",\n    description: \"Suggested replies pull from your help center, so most tickets close in a single send.\",\n    points: [\"Drafts cite the article they used\", \"Median first response drops to 4 minutes\"],\n  },\n];\n\nconst people = [\n  { n: \"Maya Chen\", c: \"#7dd3fc\", s: \"Can't export invoices to CSV\", t: \"now\", tag: \"Billing\", tc: \"#fbbf24\", o: \"JR\", oc: \"#c4b5fd\" },\n  { n: \"Omar Haddad\", c: \"#fca5a5\", s: \"SSO login loops back to start\", t: \"2m\", tag: \"Urgent\", tc: \"#f87171\", o: \"AL\", oc: \"#86efac\" },\n  { n: \"Lena Fischer\", c: \"#fde68a\", s: \"How do I add a teammate?\", t: \"6m\", tag: \"How-to\", tc: \"#7dd3fc\", o: \"JR\", oc: \"#c4b5fd\" },\n  { n: \"Diego Ramos\", c: \"#a7f3d0\", s: \"Upgrade to annual plan\", t: \"11m\", tag: \"Sales\", tc: \"#34d399\", o: \"SK\", oc: \"#fda4af\" },\n];\n\nfunction initials(name: string) {\n  return name\n    .split(\" \")\n    .map((p) => p[0])\n    .slice(0, 2)\n    .join(\"\");\n}\n\nfunction tint(color: string) {\n  return { color, background: `color-mix(in srgb, ${color} 14%, transparent)` } as React.CSSProperties;\n}\n\nfunction Check() {\n  return (\n    <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\">\n      <path d=\"M3.5 8.5l3 3 6-7\" />\n    </svg>\n  );\n}\n\nexport function HowStickyScroll({\n  eyebrow = \"How Tandem works\",\n  title = \"Support that sorts itself, from first message to resolved\",\n  subtitle = \"Three steps replace the morning triage meeting. Scroll to see each one in the product.\",\n  steps = defaultSteps,\n  defaultStep = 0,\n  onStepChange,\n  accent = \"#34d399\",\n  className,\n  style,\n  ...rest\n}: HowStickyScrollProps) {\n  const [active, setActive] = React.useState(defaultStep);\n  const itemRefs = React.useRef<(HTMLLIElement | null)[]>([]);\n  const changeRef = React.useRef(onStepChange);\n  const lastRef = React.useRef(defaultStep);\n\n  React.useEffect(() => {\n    changeRef.current = onStepChange;\n  }, [onStepChange]);\n\n  React.useEffect(() => {\n    if (lastRef.current === active) return;\n    lastRef.current = active;\n    changeRef.current?.(active);\n  }, [active]);\n\n  const select = React.useCallback((i: number) => setActive(i), []);\n\n  React.useEffect(() => {\n    if (typeof IntersectionObserver === \"undefined\") return;\n    const nodes = itemRefs.current.filter((n): n is HTMLLIElement => Boolean(n));\n    const io = new IntersectionObserver(\n      (entries) => {\n        for (const entry of entries) {\n          if (!entry.isIntersecting) continue;\n          const i = Number((entry.target as HTMLElement).dataset.index);\n          if (!Number.isNaN(i)) select(i);\n        }\n      },\n      { rootMargin: \"-45% 0px -45% 0px\", threshold: 0 },\n    );\n    nodes.forEach((n) => io.observe(n));\n    return () => io.disconnect();\n  }, [select, steps.length]);\n\n  const glow = [\"-25%\", \"0%\", \"25%\"][active % 3];\n\n  return (\n    <section\n      className={[\"hb-kh2\", className].filter(Boolean).join(\" \")}\n      style={{ [\"--hb-kh2-accent\" as string]: accent, ...style } as React.CSSProperties}\n      {...rest}\n    >\n      <style href=\"hb-how-sticky-scroll\" precedence=\"default\">{css}</style>\n      <div className=\"hb-kh2-in\">\n        <header className=\"hb-kh2-head\">\n          {eyebrow ? <div className=\"hb-kh2-eyebrow\">{eyebrow}</div> : null}\n          <h2 className=\"hb-kh2-title\">{title}</h2>\n          {subtitle ? <p className=\"hb-kh2-sub\">{subtitle}</p> : null}\n        </header>\n        <div className=\"hb-kh2-body\">\n          <ol className=\"hb-kh2-steps\">\n            {steps.map((step, i) => (\n              <li\n                key={step.title + i}\n                data-index={i}\n                ref={(el) => {\n                  itemRefs.current[i] = el;\n                }}\n              >\n                <button\n                  type=\"button\"\n                  className=\"hb-kh2-step\"\n                  data-active={active === i ? \"true\" : \"false\"}\n                  aria-current={active === i ? \"step\" : undefined}\n                  onClick={() => select(i)}\n                >\n                  <span className=\"hb-kh2-num\">{String(i + 1).padStart(2, \"0\")} / {String(steps.length).padStart(2, \"0\")}</span>\n                  <span className=\"hb-kh2-name\">{step.title}</span>\n                  <span className=\"hb-kh2-desc\">{step.description}</span>\n                  {step.points && step.points.length ? (\n                    <span className=\"hb-kh2-points\" role=\"list\">\n                      {step.points.map((p) => (\n                        <span key={p} role=\"listitem\" className=\"hb-kh2-point\">\n                          <Check />\n                          {p}\n                        </span>\n                      ))}\n                    </span>\n                  ) : null}\n                </button>\n              </li>\n            ))}\n          </ol>\n          <div className=\"hb-kh2-stage\">\n            <div className=\"hb-kh2-mock\" style={{ [\"--hb-kh2-glow\" as string]: glow } as React.CSSProperties} aria-live=\"polite\">\n              <div className=\"hb-kh2-bar\">\n                <span className=\"hb-kh2-dots\" aria-hidden=\"true\">\n                  <i />\n                  <i />\n                  <i />\n                </span>\n                <span className=\"hb-kh2-url\">app.tandem.so/inbox</span>\n                <span className=\"hb-kh2-progress\" aria-hidden=\"true\">\n                  {[0, 1, 2].map((i) => (\n                    <i key={i} data-on={i <= active ? \"true\" : \"false\"} />\n                  ))}\n                </span>\n              </div>\n              <div className=\"hb-kh2-screen\">\n                <div className=\"hb-kh2-side\" aria-hidden=\"true\">\n                  <div className=\"hb-kh2-nav\" data-on={active === 0 ? \"true\" : \"false\"}>\n                    Inbox <b>{active === 0 ? 24 : active === 1 ? 6 : 2}</b>\n                  </div>\n                  <div className=\"hb-kh2-nav\" data-on={active === 1 ? \"true\" : \"false\"}>\n                    Rules <b>8</b>\n                  </div>\n                  <div className=\"hb-kh2-nav\" data-on={active === 2 ? \"true\" : \"false\"}>\n                    Resolved <b>{active === 2 ? 141 : 118}</b>\n                  </div>\n                  <div className=\"hb-kh2-nav\">Reports</div>\n                  <div className=\"hb-kh2-nav\">Settings</div>\n                </div>\n                <div className=\"hb-kh2-panes\">\n                  <div className=\"hb-kh2-pane\" data-active={active === 0 ? \"true\" : \"false\"} aria-hidden={active !== 0}>\n                    <div className=\"hb-kh2-pane-head\">\n                      All requests <span className=\"hb-kh2-live\">Receiving</span>\n                    </div>\n                    <div className=\"hb-kh2-rows\">\n                      {people.map((p, i) => (\n                        <div key={p.n} className=\"hb-kh2-row\" style={{ [\"--i\" as string]: i } as React.CSSProperties}>\n                          <span className=\"hb-kh2-av\" style={{ background: p.c }}>{initials(p.n)}</span>\n                          <span className=\"hb-kh2-txt\">\n                            <strong>{p.n}</strong>\n                            <span>{p.s}</span>\n                          </span>\n                          <span className=\"hb-kh2-time\">{p.t}</span>\n                        </div>\n                      ))}\n                    </div>\n                  </div>\n                  <div className=\"hb-kh2-pane\" data-active={active === 1 ? \"true\" : \"false\"} aria-hidden={active !== 1}>\n                    <div className=\"hb-kh2-pane-head\">\n                      Auto-routed <span className=\"hb-kh2-meta\">4 of 4 assigned</span>\n                    </div>\n                    <div className=\"hb-kh2-rule\">\n                      If subject has <code>invoice</code> then tag <code>Billing</code> and assign Jordan\n                    </div>\n                    <div className=\"hb-kh2-rows\">\n                      {people.map((p, i) => (\n                        <div key={p.n} className=\"hb-kh2-row\" style={{ [\"--i\" as string]: i } as React.CSSProperties}>\n                          <span className=\"hb-kh2-av\" style={{ background: p.c }}>{initials(p.n)}</span>\n                          <span className=\"hb-kh2-txt\">\n                            <strong>{p.s}</strong>\n                            <span>{p.n}</span>\n                          </span>\n                          <span className=\"hb-kh2-tags\">\n                            <span className=\"hb-kh2-tag\" style={tint(p.tc)}>{p.tag}</span>\n                            <span className=\"hb-kh2-owner\" style={{ background: p.oc }}>{p.o}</span>\n                          </span>\n                        </div>\n                      ))}\n                    </div>\n                  </div>\n                  <div className=\"hb-kh2-pane\" data-active={active === 2 ? \"true\" : \"false\"} aria-hidden={active !== 2}>\n                    <div className=\"hb-kh2-pane-head\">\n                      Can&apos;t export invoices to CSV <span className=\"hb-kh2-resolved\">Resolved</span>\n                    </div>\n                    <div className=\"hb-kh2-thread\">\n                      <strong>Maya Chen</strong> · Hi! The export button on the Invoices page is greyed out for me. We need last quarter&apos;s CSV for our accountant today.\n                    </div>\n                    <div className=\"hb-kh2-compose\">\n                      <em>Suggested reply · from Exporting invoices</em>\n                      Hi Maya, exports unlock for Admins only. I&apos;ve upgraded your role, so the button should be live now. Choose Q3 in the date filter and hit Export.\n                      <span className=\"hb-kh2-caret\" aria-hidden=\"true\" />\n                    </div>\n                    <div className=\"hb-kh2-actions\">\n                      <span className=\"hb-kh2-stat\">\n                        First response <b>3m 48s</b>\n                      </span>\n                      <span className=\"hb-kh2-send\">Send and resolve</span>\n                    </div>\n                  </div>\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}