{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "audit-core",
  "title": "Audit Core",
  "description": "Shared kit behind the design-review components: redline rulers, issue boxes, radius arcs, token tags, layout guides, the scan band and a demo dashboard to measure.",
  "dependencies": ["remotion"],
  "files": [
    {
      "path": "registry/remocn/audit-core/index.tsx",
      "content": "\"use client\";\n\nimport {\n  type CSSProperties,\n  createContext,\n  type ReactNode,\n  useContext,\n} from \"react\";\nimport { Easing, interpolate, useCurrentFrame } from \"remotion\";\n\n/**\n * Shared kit behind the design-review family (redline-measure, audit-boxes,\n * scan-fix, token-tags, layout-guides, design-audit): the annotation marks a\n * design review paints over a UI, the scan band that sweeps a fix across it,\n * and a demo calendar dashboard the marks are measured against by default.\n *\n * Every coordinate is in composition pixels of a 1280x720 frame.\n */\n\nconst AuditSpeed = createContext(1);\n\n/** Scales the clock every mark below it reads. */\nexport function AuditClock({\n  speed,\n  children,\n}: {\n  speed: number;\n  children: ReactNode;\n}) {\n  return <AuditSpeed.Provider value={speed}>{children}</AuditSpeed.Provider>;\n}\n\nexport function useAuditFrame() {\n  return useCurrentFrame() * useContext(AuditSpeed);\n}\n\n/* Demo dashboard */\n/**\n * A calendar dashboard drawn from one layout function, so every annotation\n * can measure the exact rects the UI paints. Version 1 is the \"before\"\n * build with drifted spacing and radii, version 2 is the fixed one.\n */\n\nexport type Rect = { x: number; y: number; w: number; h: number };\nexport type Version = 1 | 2;\n\nexport const FONT =\n  \"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\";\nexport const MONO = \"ui-monospace, 'SF Mono', Menlo, Consolas, monospace\";\n\nconst C = {\n  stage: \"#EDEDEF\",\n  window: \"#FFFFFF\",\n  ink: \"#0E121B\",\n  sub: \"#525866\",\n  soft: \"#99A0AE\",\n  stroke: \"#E1E4EA\",\n  weak: \"#F5F7FA\",\n  primary: \"#7D52F4\",\n  success: \"#1FC16B\",\n  successBg: \"#E0FAEC\",\n  warning: \"#FA7319\",\n  warningBg: \"#FFF1EB\",\n  error: \"#FB3748\",\n  errorBg: \"#FFEBEC\",\n  blue: \"#335CFF\",\n  blueBg: \"#EBF1FF\",\n  orangeBg: \"#FFF3EB\",\n  purpleBg: \"#EFEBFF\",\n};\n\nexport const WIN: Rect = { x: 80, y: 64, w: 1120, h: 616 };\nconst SIDE_W = 216;\nconst HEADER_H = 56;\nconst MAIN_X = WIN.x + SIDE_W;\nconst MAIN_R = WIN.x + WIN.w;\n\nconst CARDS = [\n  {\n    title: \"Weekly team meeting\",\n    time: \"3:00 – 4:30 PM\",\n    status: \"Today\",\n    action: \"Join meeting\",\n    dot: C.success,\n    bg: C.successBg,\n  },\n  {\n    title: \"Product launch event\",\n    time: \"11:00 AM – 12:30 PM\",\n    status: \"2 conflicts\",\n    action: \"Review\",\n    dot: C.warning,\n    bg: C.warningBg,\n  },\n  {\n    title: \"Team building workshop\",\n    time: \"10:00 AM – 1:00 PM\",\n    status: \"Canceled\",\n    action: \"Fri, Nov 6\",\n    dot: C.error,\n    bg: C.errorBg,\n  },\n  {\n    title: \"Marketing campaign\",\n    time: \"2:30 – 4:00 PM\",\n    status: \"In 3 days\",\n    action: \"Thu, Nov 5\",\n    dot: C.soft,\n    bg: C.weak,\n  },\n];\n\nconst TABS = [\n  { label: \"All scheduled\", count: \"15\" },\n  { label: \"Meetings\", count: \"12\" },\n  { label: \"Events\", count: \"3\" },\n  { label: \"Conflicted\", count: \"2\" },\n  { label: \"Canceled\", count: \"1\" },\n];\n\nconst DAYS = [\"Mon 2\", \"Tue 3\", \"Wed 4\", \"Thu 5\", \"Fri 6\"];\nconst HOURS = [\"9 AM\", \"10 AM\", \"11 AM\", \"12 PM\", \"1 PM\"];\n\nconst EVENTS = [\n  { day: 0, from: 0, to: 0.5, title: \"Brainstorming session\", tone: \"gray\" },\n  { day: 0, from: 0.55, to: 1.05, title: \"Bi-weekly sync\", tone: \"gray\" },\n  { day: 1, from: 0, to: 0.45, title: \"Project review\", tone: \"blue\" },\n  { day: 1, from: 1.05, to: 2.6, title: \"Sales team training\", tone: \"blue\" },\n  { day: 2, from: 0.5, to: 1.0, title: \"Marketing strategy\", tone: \"blue\" },\n  { day: 2, from: 2.6, to: 3.6, title: \"Interview: frontend\", tone: \"purple\" },\n  { day: 3, from: 0, to: 1.0, title: \"Customer feedback\", tone: \"blue\" },\n  { day: 3, from: 2.2, to: 3.4, title: \"Product launch\", tone: \"orange\" },\n  { day: 0, from: 2.5, to: 3.7, title: \"Workshop: design\", tone: \"orange\" },\n  { day: 4, from: 1.1, to: 3.7, title: \"Team building\", tone: \"gray\" },\n] as const;\n\nconst TONES = {\n  gray: { bg: C.weak, ink: C.sub },\n  blue: { bg: C.blueBg, ink: \"#2547D0\" },\n  purple: { bg: C.purpleBg, ink: \"#5B3CC4\" },\n  orange: { bg: C.orangeBg, ink: \"#C2540A\" },\n};\n\n/** Every rect the dashboard paints, in composition pixels. */\nexport function demoLayout(v: Version) {\n  const pad = v === 2 ? 24 : 20;\n  const gap = v === 2 ? 16 : 10;\n  const cardPad = v === 2 ? 16 : 12;\n  const radius = v === 2 ? 12 : 6;\n  const contentX = MAIN_X + pad;\n  const contentW = MAIN_R - pad - contentX;\n\n  const header: Rect = { x: MAIN_X, y: WIN.y, w: MAIN_R - MAIN_X, h: HEADER_H };\n  const button: Rect = {\n    x: MAIN_R - pad - 128,\n    y: WIN.y + 12,\n    w: 128,\n    h: v === 2 ? 32 : 34,\n  };\n  const tabsY = WIN.y + HEADER_H + (v === 2 ? 16 : 12);\n  let tabX = contentX;\n  const tabs = TABS.map((tab, i) => {\n    const w = 46 + tab.label.length * 7.4 + (i === 0 ? 26 : 0);\n    const rect: Rect = { x: tabX, y: tabsY, w, h: 32 };\n    tabX += w + 14;\n    return rect;\n  });\n\n  const cardsY = tabsY + 32 + (v === 2 ? 16 : 12);\n  const cardW = (contentW - gap * 3) / 4;\n  const cards = CARDS.map((_, i) => {\n    const rect: Rect = {\n      x: contentX + i * (cardW + gap),\n      y: cardsY,\n      w: cardW,\n      h: 92,\n    };\n    return {\n      rect,\n      title: { x: rect.x + cardPad, y: rect.y + cardPad, w: 150, h: 18 },\n      time: { x: rect.x + cardPad, y: rect.y + cardPad + 21, w: 110, h: 15 },\n      status: {\n        x: rect.x + cardPad - 4,\n        y: rect.y + rect.h - cardPad - 24,\n        w: rect.w - cardPad * 2 + 8,\n        h: 26,\n      },\n      chevron: {\n        x: rect.x + rect.w - cardPad - 20,\n        y: rect.y + cardPad - 2,\n        w: 20,\n        h: 20,\n      },\n    };\n  });\n\n  const calY = cardsY + 92 + 22;\n  const calendar: Rect = {\n    x: contentX,\n    y: calY,\n    w: contentW,\n    h: WIN.y + WIN.h - calY - 16,\n  };\n  const gutter = 56;\n  const colW = (contentW - gutter) / DAYS.length;\n  const dayHeaderH = 30;\n  const hourH = (calendar.h - dayHeaderH) / 4;\n  const columns = DAYS.map(\n    (_, i): Rect => ({\n      x: contentX + gutter + i * colW,\n      y: calY,\n      w: colW,\n      h: calendar.h,\n    }),\n  );\n  const events = EVENTS.map((event) => ({\n    ...event,\n    rect: {\n      x: columns[event.day].x + 4,\n      y: calY + dayHeaderH + event.from * hourH + 3,\n      w: colW - 8,\n      h: (event.to - event.from) * hourH - 6,\n    } satisfies Rect,\n  }));\n\n  return {\n    v,\n    pad,\n    gap,\n    cardPad,\n    radius,\n    contentX,\n    header,\n    button,\n    tabs,\n    cards,\n    calendar,\n    columns,\n    gutter,\n    dayHeaderH,\n    hourH,\n    events,\n    sidebar: { x: WIN.x, y: WIN.y, w: SIDE_W, h: WIN.h } satisfies Rect,\n    sideActive: { x: WIN.x + 10, y: WIN.y + 158, w: SIDE_W - 20, h: 30 },\n  };\n}\n\nexport type DemoLayout = ReturnType<typeof demoLayout>;\n\nconst abs = (r: Rect): CSSProperties => ({\n  position: \"absolute\",\n  left: r.x,\n  top: r.y,\n  width: r.w,\n  height: r.h,\n});\n\nfunction Glyph({\n  size = 14,\n  color = C.soft,\n}: {\n  size?: number;\n  color?: string;\n}) {\n  return (\n    <div\n      style={{\n        width: size,\n        height: size,\n        borderRadius: 4,\n        border: `1.5px solid ${color}`,\n        flexShrink: 0,\n      }}\n    />\n  );\n}\n\nconst SIDE_ITEMS: (string | { section: string })[] = [\n  \"Inbox\",\n  \"Dashboard\",\n  { section: \"Workspace\" },\n  \"Calendar\",\n  \"Time off\",\n  \"People\",\n  \"Payroll\",\n  \"Projects\",\n  \"Documents\",\n  { section: \"Favorites\" },\n  \"Loom Mobile App\",\n  \"Monday Re-design\",\n  \"Udemy Courses\",\n];\n\nfunction Sidebar({ l }: { l: DemoLayout }) {\n  let y = WIN.y + 68;\n  return (\n    <>\n      <div\n        style={{\n          ...abs({ x: WIN.x, y: WIN.y, w: SIDE_W, h: WIN.h }),\n          borderRight: `1px solid ${C.stroke}`,\n        }}\n      />\n      <div\n        style={{\n          position: \"absolute\",\n          left: WIN.x + 18,\n          top: WIN.y + 18,\n          display: \"flex\",\n          alignItems: \"center\",\n          gap: 10,\n          fontSize: 14,\n          fontWeight: 600,\n          color: C.ink,\n        }}\n      >\n        <div\n          style={{\n            width: 22,\n            height: 22,\n            borderRadius: 11,\n            background: C.primary,\n          }}\n        />\n        Synergy\n      </div>\n      {SIDE_ITEMS.map((item) => {\n        const top = y;\n        if (typeof item !== \"string\") {\n          y += 30;\n          return (\n            <div\n              key={item.section}\n              style={{\n                position: \"absolute\",\n                left: WIN.x + 20,\n                top: top + 10,\n                fontSize: 11,\n                letterSpacing: \"0.04em\",\n                textTransform: \"uppercase\",\n                color: C.soft,\n              }}\n            >\n              {item.section}\n            </div>\n          );\n        }\n        y += 30;\n        const active = item === \"Calendar\";\n        return (\n          <div\n            key={item}\n            style={{\n              ...abs(\n                active\n                  ? l.sideActive\n                  : { x: WIN.x + 10, y: top, w: SIDE_W - 20, h: 30 },\n              ),\n              display: \"flex\",\n              alignItems: \"center\",\n              gap: 10,\n              paddingLeft: 10,\n              borderRadius: l.v === 2 ? 8 : 5,\n              background: active ? C.weak : undefined,\n              fontSize: 13,\n              fontWeight: active ? 500 : 400,\n              color: active ? C.ink : C.sub,\n            }}\n          >\n            <Glyph color={active ? C.primary : C.soft} />\n            {item}\n          </div>\n        );\n      })}\n      <div\n        style={{\n          position: \"absolute\",\n          left: WIN.x + 18,\n          top: WIN.y + WIN.h - 44,\n          display: \"flex\",\n          alignItems: \"center\",\n          gap: 10,\n          fontSize: 13,\n          color: C.ink,\n        }}\n      >\n        <div\n          style={{\n            width: 26,\n            height: 26,\n            borderRadius: 13,\n            background: \"linear-gradient(135deg,#FBC5A6,#F17B6A)\",\n          }}\n        />\n        Olivia Hart\n      </div>\n    </>\n  );\n}\n\nfunction Header({ l }: { l: DemoLayout }) {\n  return (\n    <>\n      <div\n        style={{\n          ...abs(l.header),\n          borderBottom: `1px solid ${C.stroke}`,\n          display: \"flex\",\n          alignItems: \"center\",\n          gap: 12,\n          paddingLeft: l.pad,\n          fontSize: 14,\n        }}\n      >\n        <Glyph size={16} color={C.sub} />\n        <span style={{ fontWeight: 600, color: C.ink }}>\n          Monday, November 2\n        </span>\n        <span style={{ color: C.soft }}>\n          You have 3 meetings and 1 event today.\n        </span>\n      </div>\n      <div\n        style={{\n          ...abs({ x: l.button.x - 104, y: l.button.y, w: 92, h: l.button.h }),\n          display: \"flex\",\n          alignItems: \"center\",\n          justifyContent: \"center\",\n          gap: 6,\n          borderRadius: l.v === 2 ? 8 : 6,\n          border: `1px solid ${C.stroke}`,\n          fontSize: 13,\n          color: C.sub,\n        }}\n      >\n        Schedule\n      </div>\n      <div\n        style={{\n          ...abs(l.button),\n          display: \"flex\",\n          alignItems: \"center\",\n          justifyContent: \"center\",\n          borderRadius: l.v === 2 ? 8 : 6,\n          background: l.v === 2 ? C.primary : \"#8B5CF6\",\n          color: \"#fff\",\n          fontSize: 13,\n          fontWeight: 500,\n        }}\n      >\n        + Create event\n      </div>\n    </>\n  );\n}\n\nfunction Tabs({ l }: { l: DemoLayout }) {\n  return (\n    <>\n      {TABS.map((tab, i) => (\n        <div\n          key={tab.label}\n          style={{\n            ...abs(l.tabs[i]),\n            display: \"flex\",\n            alignItems: \"center\",\n            gap: 7,\n            fontSize: 13,\n            fontWeight: i === 0 ? 500 : 400,\n            color: i === 0 ? C.ink : C.sub,\n            borderBottom: i === 0 ? `2px solid ${C.primary}` : undefined,\n          }}\n        >\n          <Glyph color={i === 0 ? C.primary : C.soft} />\n          {tab.label}\n          <span\n            style={{\n              fontSize: 11,\n              fontWeight: 500,\n              color: i === 0 ? \"#fff\" : C.soft,\n              background:\n                i === 0 ? (l.v === 2 ? C.primary : \"#8B5CF6\") : undefined,\n              borderRadius: 8,\n              padding: i === 0 ? \"1px 6px\" : 0,\n            }}\n          >\n            {tab.count}\n          </span>\n        </div>\n      ))}\n      <div\n        style={{\n          position: \"absolute\",\n          left: l.contentX,\n          top: l.tabs[0].y + 32,\n          width: WIN.x + WIN.w - l.pad - l.contentX,\n          height: 1,\n          background: C.stroke,\n        }}\n      />\n    </>\n  );\n}\n\nfunction Cards({ l }: { l: DemoLayout }) {\n  return (\n    <>\n      {CARDS.map((card, i) => {\n        const r = l.cards[i];\n        return (\n          <div key={card.title}>\n            <div\n              style={{\n                ...abs(r.rect),\n                borderRadius: l.radius,\n                border: `1px solid ${C.stroke}`,\n                background: \"#fff\",\n                boxShadow: \"0 1px 2px rgba(10,13,20,0.04)\",\n              }}\n            />\n            <div\n              style={{\n                ...abs(r.title),\n                width: r.rect.w - l.cardPad * 2 - 24,\n                fontSize: l.v === 2 ? 14 : 13.5,\n                fontWeight: 600,\n                color: C.ink,\n                whiteSpace: \"nowrap\",\n                overflow: \"hidden\",\n                textOverflow: \"ellipsis\",\n              }}\n            >\n              {card.title}\n            </div>\n            <div\n              style={{ ...abs(r.time), width: 160, fontSize: 12, color: C.sub }}\n            >\n              {card.time}\n            </div>\n            <div\n              style={{\n                ...abs(r.chevron),\n                display: \"flex\",\n                alignItems: \"center\",\n                justifyContent: \"center\",\n                color: C.soft,\n                fontSize: 11,\n              }}\n            >\n              ⌄\n            </div>\n            <div\n              style={{\n                ...abs(r.status),\n                display: \"flex\",\n                alignItems: \"center\",\n                justifyContent: \"space-between\",\n                padding: \"0 8px\",\n                borderRadius: l.v === 2 ? 6 : 4,\n                background: card.bg,\n                fontSize: 12,\n              }}\n            >\n              <span\n                style={{\n                  display: \"flex\",\n                  alignItems: \"center\",\n                  gap: 6,\n                  color: C.ink,\n                }}\n              >\n                <span\n                  style={{\n                    width: 8,\n                    height: 8,\n                    borderRadius: 4,\n                    background: card.dot,\n                  }}\n                />\n                {card.status}\n              </span>\n              <span\n                style={{\n                  color: C.sub,\n                  textDecoration: i === 0 ? \"underline\" : undefined,\n                }}\n              >\n                {card.action}\n              </span>\n            </div>\n          </div>\n        );\n      })}\n    </>\n  );\n}\n\nfunction Calendar({ l }: { l: DemoLayout }) {\n  const { calendar: cal, columns, dayHeaderH, hourH } = l;\n  return (\n    <>\n      {DAYS.map((day, i) => (\n        <div\n          key={day}\n          style={{\n            ...abs({\n              x: columns[i].x,\n              y: cal.y,\n              w: columns[i].w,\n              h: dayHeaderH,\n            }),\n            display: \"flex\",\n            alignItems: \"center\",\n            justifyContent: \"center\",\n            fontSize: 12,\n            fontWeight: i === 0 ? 600 : 400,\n            color: i === 0 ? C.ink : C.soft,\n            borderLeft: `1px solid ${C.stroke}`,\n            borderBottom: `1px solid ${C.stroke}`,\n          }}\n        >\n          {day}\n        </div>\n      ))}\n      {HOURS.slice(0, 4).map((hour, i) => (\n        <div\n          key={hour}\n          style={{\n            position: \"absolute\",\n            left: cal.x,\n            top: cal.y + dayHeaderH + i * hourH - 2,\n            width: l.gutter - 10,\n            textAlign: \"right\",\n            fontSize: 11,\n            color: C.soft,\n          }}\n        >\n          {hour}\n        </div>\n      ))}\n      {columns.map((col) => (\n        <div\n          key={col.x}\n          style={{\n            position: \"absolute\",\n            left: col.x,\n            top: cal.y + dayHeaderH,\n            width: 1,\n            height: cal.h - dayHeaderH,\n            background: C.stroke,\n          }}\n        />\n      ))}\n      {l.events.map((event) => {\n        const tone = TONES[event.tone];\n        return (\n          <div\n            key={`${event.day}-${event.from}`}\n            style={{\n              ...abs(event.rect),\n              borderRadius: l.v === 2 ? 8 : 4,\n              background: tone.bg,\n              padding: \"6px 8px\",\n              fontSize: 11.5,\n              fontWeight: 500,\n              color: tone.ink,\n              overflow: \"hidden\",\n              whiteSpace: \"nowrap\",\n              textOverflow: \"ellipsis\",\n            }}\n          >\n            {event.title}\n          </div>\n        );\n      })}\n    </>\n  );\n}\n\n/** The whole dashboard window, positioned in a 1280x720 frame. */\nexport function DemoDashboard({ v }: { v: Version }) {\n  const l = demoLayout(v);\n  return (\n    <div style={{ position: \"absolute\", inset: 0, fontFamily: FONT }}>\n      <div\n        style={{\n          ...abs(WIN),\n          background: C.window,\n          borderRadius: 16,\n          boxShadow:\n            \"0 0 0 1px rgba(10,13,20,0.04), 0 16px 40px -12px rgba(10,13,20,0.12)\",\n        }}\n      />\n      <div\n        style={{\n          ...abs(WIN),\n          borderRadius: 16,\n          overflow: \"hidden\",\n        }}\n      >\n        <div\n          style={{\n            position: \"absolute\",\n            left: -WIN.x,\n            top: -WIN.y,\n            width: 1280,\n            height: 720,\n          }}\n        >\n          <Sidebar l={l} />\n          <Header l={l} />\n          <Tabs l={l} />\n          <Cards l={l} />\n          <Calendar l={l} />\n        </div>\n      </div>\n    </div>\n  );\n}\n\n/* Marks */\n\n/**\n * Annotation primitives: the redline marks a design review paints over a UI.\n * Each takes a `delay` in frames and draws itself in from there.\n */\n\nconst clamp = {\n  extrapolateLeft: \"clamp\" as const,\n  extrapolateRight: \"clamp\" as const,\n};\n\nexport function progress(frame: number, start: number, duration: number) {\n  return interpolate(frame, [start, start + duration], [0, 1], {\n    ...clamp,\n    easing: Easing.out(Easing.cubic),\n  });\n}\n\n/** Pop-in for labels and chips: a cubic ease-out, no overshoot. */\nfunction usePop(delay: number) {\n  return progress(useAuditFrame(), delay, 12);\n}\n\nfunction Layer({ children }: { children: ReactNode }) {\n  return (\n    <svg\n      width={1280}\n      height={720}\n      viewBox=\"0 0 1280 720\"\n      style={{ position: \"absolute\", inset: 0, overflow: \"visible\" }}\n    >\n      {children}\n    </svg>\n  );\n}\n\nexport type Side =\n  | \"center\"\n  | \"above\"\n  | \"below\"\n  | \"left\"\n  | \"right\"\n  | \"aboveStart\"\n  | \"aboveEnd\"\n  | \"belowStart\";\n\n/** Small spec label: mono text on a solid color chip. */\nexport function Pill({\n  x,\n  y,\n  text,\n  color,\n  delay = 0,\n  anchor = \"center\",\n  ink = \"#fff\",\n}: {\n  x: number;\n  y: number;\n  text: string;\n  color: string;\n  delay?: number;\n  anchor?: Side;\n  ink?: string;\n}) {\n  const pop = usePop(delay);\n  const shift = {\n    center: \"translate(-50%, -50%)\",\n    above: \"translate(-50%, calc(-100% - 5px))\",\n    below: \"translate(-50%, 5px)\",\n    left: \"translate(calc(-100% - 6px), -50%)\",\n    right: \"translate(6px, -50%)\",\n    aboveStart: \"translate(0, calc(-100% - 5px))\",\n    aboveEnd: \"translate(-100%, calc(-100% - 5px))\",\n    belowStart: \"translate(0, 5px)\",\n  }[anchor];\n  return (\n    <div\n      style={{\n        position: \"absolute\",\n        left: x,\n        top: y,\n        transform: `${shift} scale(${0.7 + 0.3 * pop})`,\n        opacity: Math.min(1, pop * 1.4),\n        background: color,\n        color: ink,\n        fontFamily: MONO,\n        fontSize: 10.5,\n        fontWeight: 600,\n        lineHeight: \"15px\",\n        padding: \"0 5px\",\n        borderRadius: 3,\n        whiteSpace: \"nowrap\",\n      }}\n    >\n      {text}\n    </div>\n  );\n}\n\n/**\n * Measurement between two points on one axis: end ticks snap in, the line\n * grows out from its middle, then the value pops on.\n */\nexport function Ruler({\n  from,\n  to,\n  label,\n  color,\n  delay = 0,\n  labelSide,\n}: {\n  from: [number, number];\n  to: [number, number];\n  label: string;\n  color: string;\n  delay?: number;\n  labelSide?: Side;\n}) {\n  const frame = useAuditFrame();\n  const grow = progress(frame, delay, 12);\n  const ticks = progress(frame, delay - 2, 6);\n  const horizontal = Math.abs(to[0] - from[0]) >= Math.abs(to[1] - from[1]);\n  const mx = (from[0] + to[0]) / 2;\n  const my = (from[1] + to[1]) / 2;\n  const x1 = mx + (from[0] - mx) * grow;\n  const y1 = my + (from[1] - my) * grow;\n  const x2 = mx + (to[0] - mx) * grow;\n  const y2 = my + (to[1] - my) * grow;\n  const t = 4 * ticks;\n  const tick = (x: number, y: number) =>\n    horizontal ? `M${x} ${y - t}V${y + t}` : `M${x - t} ${y}H${x + t}`;\n  return (\n    <>\n      <Layer>\n        <path\n          d={`${tick(...from)}${tick(...to)}`}\n          stroke={color}\n          strokeWidth={1.25}\n          fill=\"none\"\n        />\n        <line\n          x1={x1}\n          y1={y1}\n          x2={x2}\n          y2={y2}\n          stroke={color}\n          strokeWidth={1.25}\n        />\n      </Layer>\n      <Pill\n        x={mx}\n        y={my}\n        text={label}\n        color={color}\n        delay={delay + 7}\n        anchor={labelSide ?? (horizontal ? \"above\" : \"left\")}\n      />\n    </>\n  );\n}\n\n/** Hairline box traced around an element, clockwise from the top left. */\nexport function OutlineBox({\n  rect,\n  color,\n  delay = 0,\n  radius = 3,\n  inset = -3,\n  dashed,\n  fill,\n}: {\n  rect: Rect;\n  color: string;\n  delay?: number;\n  radius?: number;\n  inset?: number;\n  dashed?: boolean;\n  fill?: string;\n}) {\n  const frame = useAuditFrame();\n  const draw = progress(frame, delay, 14);\n  const x = rect.x + inset;\n  const y = rect.y + inset;\n  const w = rect.w - inset * 2;\n  const h = rect.h - inset * 2;\n  return (\n    <Layer>\n      <rect\n        x={x}\n        y={y}\n        width={w}\n        height={h}\n        rx={radius}\n        fill={fill ?? \"none\"}\n        fillOpacity={draw}\n        stroke={color}\n        strokeWidth={1.25}\n        pathLength={1}\n        strokeDasharray={dashed ? undefined : `${draw} 1`}\n        strokeOpacity={dashed ? draw : 1}\n        style={dashed ? { strokeDasharray: \"3 3\" } : undefined}\n      />\n    </Layer>\n  );\n}\n\n/** Quarter arc swept into a corner to call out its radius. */\nexport function CornerArc({\n  x,\n  y,\n  r,\n  color,\n  label,\n  delay = 0,\n}: {\n  x: number;\n  y: number;\n  r: number;\n  color: string;\n  label: string;\n  delay?: number;\n}) {\n  const frame = useAuditFrame();\n  const draw = progress(frame, delay, 12);\n  const size = Math.max(r, 10) + 4;\n  return (\n    <>\n      <Layer>\n        <path\n          d={`M${x} ${y + size}A${size} ${size} 0 0 1 ${x + size} ${y}`}\n          stroke={color}\n          strokeWidth={1.5}\n          fill=\"none\"\n          pathLength={1}\n          strokeDasharray={`${draw} 1`}\n          strokeLinecap=\"round\"\n        />\n      </Layer>\n      <Pill\n        x={x - 2}\n        y={y - 2}\n        text={label}\n        color={color}\n        delay={delay + 8}\n        anchor=\"aboveStart\"\n      />\n    </>\n  );\n}\n\n/**\n * Design-token tag: a dot lands on the element, a leader line runs out with\n * one elbow, and a dark chip with the token name settles at its end.\n */\nexport function TokenTag({\n  anchor,\n  at,\n  label,\n  swatch,\n  delay = 0,\n  lineColor = \"#0E121B\",\n}: {\n  anchor: [number, number];\n  at: [number, number];\n  label: string;\n  swatch: string;\n  delay?: number;\n  lineColor?: string;\n}) {\n  const frame = useAuditFrame();\n  const dot = usePop(delay);\n  const draw = progress(frame, delay + 3, 14);\n  const elbowY = at[1];\n  const path = `M${anchor[0]} ${anchor[1]}L${anchor[0] + (at[0] - anchor[0]) * 0.35} ${elbowY}H${at[0]}`;\n  return (\n    <>\n      <Layer>\n        <path\n          d={path}\n          stroke={lineColor}\n          strokeOpacity={0.55}\n          strokeWidth={1}\n          fill=\"none\"\n          pathLength={1}\n          strokeDasharray={`${draw} 1`}\n        />\n        <circle\n          cx={anchor[0]}\n          cy={anchor[1]}\n          r={3.5 * dot}\n          fill=\"#fff\"\n          stroke={lineColor}\n          strokeWidth={1.5}\n        />\n      </Layer>\n      <TokenChip\n        x={at[0]}\n        y={at[1]}\n        label={label}\n        swatch={swatch}\n        delay={delay + 13}\n      />\n    </>\n  );\n}\n\nexport function TokenChip({\n  x,\n  y,\n  label,\n  swatch,\n  delay = 0,\n}: {\n  x: number;\n  y: number;\n  label: string;\n  swatch: string;\n  delay?: number;\n}) {\n  const pop = usePop(delay);\n  return (\n    <div\n      style={{\n        position: \"absolute\",\n        left: x,\n        top: y,\n        transform: `translate(-50%, -50%) translateY(${(1 - pop) * 6}px)`,\n        opacity: Math.min(1, pop * 1.4),\n        display: \"flex\",\n        alignItems: \"center\",\n        gap: 6,\n        background: \"#0E121B\",\n        color: \"#fff\",\n        fontFamily: MONO,\n        fontSize: 11,\n        lineHeight: \"22px\",\n        padding: \"0 8px\",\n        borderRadius: 5,\n        whiteSpace: \"nowrap\",\n        boxShadow: \"0 4px 10px -4px rgba(10,13,20,0.4)\",\n      }}\n    >\n      <span\n        style={{\n          width: 8,\n          height: 8,\n          borderRadius: 4,\n          background: swatch,\n          boxShadow: \"0 0 0 1px rgba(255,255,255,0.35)\",\n        }}\n      />\n      {label}\n    </div>\n  );\n}\n\n/** Guide line that drops down (vertical) or slides across (horizontal). */\nexport function Guide({\n  x,\n  y,\n  length,\n  vertical,\n  color,\n  delay = 0,\n  dashed,\n  width = 1,\n}: {\n  x: number;\n  y: number;\n  length: number;\n  vertical?: boolean;\n  color: string;\n  delay?: number;\n  dashed?: boolean;\n  width?: number;\n}) {\n  const frame = useAuditFrame();\n  const draw = progress(frame, delay, 16) * length;\n  return (\n    <Layer>\n      <line\n        x1={x}\n        y1={y}\n        x2={vertical ? x : x + draw}\n        y2={vertical ? y + draw : y}\n        stroke={color}\n        strokeWidth={width}\n        strokeDasharray={dashed ? \"4 4\" : undefined}\n      />\n    </Layer>\n  );\n}\n\n/**\n * Scan band: a crisp line with a soft wash trailing behind it, the way the\n * fix pass sweeps the screen. `y` is the line's position.\n */\nexport function ScanBand({\n  y,\n  color,\n  x = 0,\n  w = 1280,\n  trail = 90,\n  opacity = 1,\n}: {\n  y: number;\n  color: string;\n  x?: number;\n  w?: number;\n  trail?: number;\n  opacity?: number;\n}) {\n  return (\n    <div\n      style={{ position: \"absolute\", inset: 0, opacity, pointerEvents: \"none\" }}\n    >\n      <div\n        style={{\n          position: \"absolute\",\n          left: x,\n          width: w,\n          top: y - trail,\n          height: trail,\n          background: `linear-gradient(to bottom, transparent, ${color}2E)`,\n        }}\n      />\n      <div\n        style={{\n          position: \"absolute\",\n          left: x,\n          width: w,\n          top: y - 1,\n          height: 2,\n          background: color,\n          boxShadow: `0 0 12px 1px ${color}`,\n        }}\n      />\n    </div>\n  );\n}\n\n/** Stage-colored wash over everything except one rect, to push focus. */\nexport function Spotlight({\n  rect,\n  opacity,\n  color = C.stage,\n}: {\n  rect: Rect;\n  opacity: number;\n  color?: string;\n}) {\n  const pad = 10;\n  const x = rect.x - pad;\n  const y = rect.y - pad;\n  const w = rect.w + pad * 2;\n  const h = rect.h + pad * 2;\n  const r = 12;\n  return (\n    <svg\n      width={1280}\n      height={720}\n      style={{ position: \"absolute\", inset: 0, opacity }}\n    >\n      <path\n        fillRule=\"evenodd\"\n        fill={color}\n        fillOpacity={0.72}\n        d={`M0 0H1280V720H0Z M${x + r} ${y}H${x + w - r}Q${x + w} ${y} ${x + w} ${y + r}V${y + h - r}Q${x + w} ${y + h} ${x + w - r} ${y + h}H${x + r}Q${x} ${y + h} ${x} ${y + h - r}V${y + r}Q${x} ${y} ${x + r} ${y}Z`}\n      />\n    </svg>\n  );\n}\n\n/** Two full frames split at `y`: `top` shows above the line, `bottom` below. */\nexport function SplitAt({\n  y,\n  top,\n  bottom,\n}: {\n  y: number;\n  top: ReactNode;\n  bottom: ReactNode;\n}) {\n  return (\n    <>\n      <div\n        style={{\n          position: \"absolute\",\n          inset: 0,\n          clipPath: `inset(${Math.max(0, y)}px 0 0 0)`,\n        }}\n      >\n        {bottom}\n      </div>\n      <div\n        style={{\n          position: \"absolute\",\n          inset: 0,\n          clipPath: `inset(0 0 ${Math.max(0, 720 - y)}px 0)`,\n        }}\n      >\n        {top}\n      </div>\n    </>\n  );\n}\n\n/** Cubic ease-in-out between keyframes, clamped at both ends. */\nexport function easeInOut(frame: number, input: number[], output: number[]) {\n  return interpolate(frame, input, output, {\n    ...clamp,\n    easing: Easing.inOut(Easing.cubic),\n  });\n}\n\n/* Mark data */\n\nexport type Point = [number, number];\n\n/** A distance between two points on one axis, with its value. */\nexport type Measure = { from: Point; to: Point; label: string; side?: Side };\n/** A corner whose radius gets an arc and a label. `x`, `y` is the corner. */\nexport type RadiusMark = { x: number; y: number; r: number; label: string };\n/** An off-spec element and the fix it needs. */\nexport type Issue = {\n  rect: Rect;\n  note: string;\n  side?: \"start\" | \"end\" | \"below\";\n};\n/** A token tag: dot on `anchor`, chip centered on `at`. */\nexport type TokenSpec = {\n  anchor: Point;\n  at: Point;\n  label: string;\n  swatch: string;\n};\n/** Layout guides over a column grid. */\nexport type GuideSpec = {\n  /** x of every column edge, left to right. */\n  columns: number[];\n  top: number;\n  bottom: number;\n  /** One column (or any rect) to fill and label. */\n  highlight?: { rect: Rect; label: string };\n  /** A measurement drawn with the guides, like a gutter width. */\n  ruler?: Measure;\n  /** A horizontal marker line across the grid, like a calendar's now line. */\n  now?: { y: number; from: number; to: number; label: string };\n};\n\nexport const AUDIT_COLORS = {\n  audit: C.error,\n  fix: C.blue,\n  scan: C.primary,\n  ink: C.ink,\n  stage: C.stage,\n};\n\n/** Spacing and size redlines across the demo header, tabs and first cards. */\nfunction demoMeasures(l: DemoLayout): Measure[] {\n  const card = l.cards[0];\n  const next = l.cards[1];\n  const tabsBottom = l.tabs[0].y + 32;\n  const headerBottom = l.header.y + l.header.h;\n  const tabGapX = l.tabs[1].x + l.tabs[1].w + 7;\n  const right = l.button.x + l.button.w + 8;\n  return [\n    {\n      from: [l.header.x, l.tabs[0].y + 16],\n      to: [l.contentX, l.tabs[0].y + 16],\n      label: `pad ${l.pad}`,\n      side: \"below\",\n    },\n    {\n      from: [tabGapX, headerBottom],\n      to: [tabGapX, l.tabs[0].y],\n      label: `${l.tabs[0].y - headerBottom}`,\n      side: \"right\",\n    },\n    {\n      from: [next.rect.x + 150, tabsBottom],\n      to: [next.rect.x + 150, next.rect.y],\n      label: `${next.rect.y - tabsBottom}`,\n      side: \"right\",\n    },\n    {\n      from: [card.rect.x + card.rect.w, card.rect.y + 46],\n      to: [next.rect.x, card.rect.y + 46],\n      label: `gap ${l.gap}`,\n    },\n    {\n      from: [card.rect.x, card.title.y + 9],\n      to: [card.title.x, card.title.y + 9],\n      label: `${l.cardPad}`,\n      side: \"left\",\n    },\n    {\n      from: [card.title.x + 96, card.rect.y],\n      to: [card.title.x + 96, card.title.y],\n      label: `${l.cardPad}`,\n      side: \"right\",\n    },\n    {\n      from: [right, l.button.y],\n      to: [right, l.button.y + l.button.h],\n      label: `h ${l.button.h}`,\n      side: \"below\",\n    },\n  ];\n}\n\nfunction demoRadii(l: DemoLayout): RadiusMark[] {\n  const next = l.cards[1].rect;\n  return [{ x: next.x, y: next.y, r: l.radius, label: `radius ${l.radius}` }];\n}\n\nfunction demoIssues(l: DemoLayout): Issue[] {\n  return [\n    { rect: l.cards[0].title, note: \"13.5 → 14\", side: \"start\" },\n    { rect: l.cards[0].status, note: \"radius 4 → 6\", side: \"below\" },\n    { rect: l.cards[0].chevron, note: \"hit 20 → 24\", side: \"end\" },\n    { rect: l.button, note: \"#8B5CF6 ≠ primary\", side: \"end\" },\n    { rect: l.sideActive, note: \"radius 5 → 8\", side: \"start\" },\n    { rect: l.events[2].rect, note: \"radius 4 → 8\", side: \"start\" },\n    { rect: l.events[6].rect, note: \"pad 6 → 8\", side: \"start\" },\n  ];\n}\n\nfunction demoTokens(l: DemoLayout): TokenSpec[] {\n  const [c0, c1, c2, c3] = l.cards;\n  const chipY = l.calendar.y + 70;\n  return [\n    {\n      anchor: [c0.status.x + 12, c0.status.y + 13],\n      at: [c0.rect.x + 50, chipY + 50],\n      label: \"state/success/lighter\",\n      swatch: C.successBg,\n    },\n    {\n      anchor: [c0.title.x + 40, c0.title.y + 9],\n      at: [c0.rect.x + 170, chipY],\n      label: \"text/strong-950\",\n      swatch: C.ink,\n    },\n    {\n      anchor: [c1.status.x + 12, c1.status.y + 13],\n      at: [c1.rect.x + 110, chipY + 92],\n      label: \"state/warning/base\",\n      swatch: C.warning,\n    },\n    {\n      anchor: [c2.status.x + 12, c2.status.y + 13],\n      at: [c2.rect.x + 90, chipY + 20],\n      label: \"state/error/base\",\n      swatch: C.error,\n    },\n    {\n      anchor: [c3.rect.x + c3.rect.w, c3.rect.y + 40],\n      at: [c3.rect.x + 90, chipY + 70],\n      label: \"stroke/soft-200\",\n      swatch: C.stroke,\n    },\n  ];\n}\n\nfunction demoGuides(l: DemoLayout): GuideSpec {\n  const cal = l.calendar;\n  const today = l.columns[0];\n  return {\n    columns: [...l.columns.map((col) => col.x), cal.x + cal.w],\n    top: cal.y,\n    bottom: cal.y + cal.h,\n    highlight: { rect: today, label: \"Mon 2 · today\" },\n    ruler: {\n      from: [cal.x, cal.y + l.dayHeaderH + 14],\n      to: [cal.x + l.gutter, cal.y + l.dayHeaderH + 14],\n      label: `w ${l.gutter}`,\n      side: \"below\",\n    },\n    now: {\n      y: cal.y + l.dayHeaderH + 1.25 * l.hourH,\n      from: cal.x + l.gutter,\n      to: cal.x + cal.w,\n      label: \"10:15 AM\",\n    },\n  };\n}\n\n/** Close-up spec of the first card, sized for a zoomed camera. */\nfunction demoFocus(l: DemoLayout) {\n  const card = l.cards[0];\n  const r = card.rect;\n  const below = r.y + r.h + 34;\n  return {\n    rect: r,\n    measures: [\n      {\n        from: [r.x, card.title.y + 9],\n        to: [card.title.x, card.title.y + 9],\n        label: `${l.cardPad}`,\n        side: \"below\",\n      },\n      {\n        from: [card.title.x + 110, r.y],\n        to: [card.title.x + 110, card.title.y],\n        label: `${l.cardPad}`,\n        side: \"right\",\n      },\n      {\n        from: [r.x + r.w + 8, card.status.y],\n        to: [r.x + r.w + 8, card.status.y + card.status.h],\n        label: `h ${card.status.h}`,\n        side: \"right\",\n      },\n      {\n        from: [card.chevron.x - 2, card.chevron.y - 6],\n        to: [card.chevron.x + card.chevron.w + 2, card.chevron.y - 6],\n        label: \"24\",\n      },\n    ] as Measure[],\n    radii: [{ x: r.x, y: r.y, r: l.radius, label: `radius ${l.radius}` }],\n    tokens: [\n      {\n        anchor: [card.status.x + 12, card.status.y + 13],\n        at: [r.x + 40, below],\n        label: \"state/success/base\",\n        swatch: C.success,\n      },\n      {\n        anchor: [card.title.x + 60, card.title.y + 9],\n        at: [r.x + 205, below - 4],\n        label: \"text/strong-950\",\n        swatch: C.ink,\n      },\n      {\n        anchor: [card.time.x + 40, card.time.y + 8],\n        at: [r.x + 70, below + 30],\n        label: \"text/sub-600\",\n        swatch: C.sub,\n      },\n      {\n        anchor: [r.x + r.w, r.y + 30],\n        at: [r.x + 230, below + 30],\n        label: \"stroke/soft-200\",\n        swatch: C.stroke,\n      },\n    ] as TokenSpec[],\n  };\n}\n\nfunction demoSet(v: Version) {\n  const l = demoLayout(v);\n  return {\n    layout: l,\n    measures: demoMeasures(l),\n    radii: demoRadii(l),\n    issues: demoIssues(l),\n    tokens: demoTokens(l),\n    guides: demoGuides(l),\n    focus: demoFocus(l),\n    /** Rect around the tabs and the card row. */\n    cardRow: {\n      x: l.contentX,\n      y: l.tabs[0].y,\n      w: l.calendar.w,\n      h: l.cards[0].rect.y + 92 - l.tabs[0].y,\n    } satisfies Rect,\n  };\n}\n\n/** Mark data measured off the demo dashboard: `before` is v1, `after` v2. */\nexport const DEMO = { before: demoSet(1), after: demoSet(2) };\nexport const DEMO_WINDOW = WIN;\n\n/* Mark sets */\n\n/** Rulers then radius arcs, each `stagger` frames after the last. */\nexport function MeasureMarks({\n  measures,\n  radii = [],\n  color,\n  start = 0,\n  stagger = 5,\n}: {\n  measures: Measure[];\n  radii?: RadiusMark[];\n  color: string;\n  start?: number;\n  stagger?: number;\n}) {\n  return (\n    <>\n      {measures.map((m, i) => (\n        <Ruler\n          key={`${m.from.join()}-${m.to.join()}`}\n          from={m.from}\n          to={m.to}\n          label={m.label}\n          color={color}\n          delay={start + i * stagger}\n          labelSide={m.side}\n        />\n      ))}\n      {radii.map((r, i) => (\n        <CornerArc\n          key={`${r.x}-${r.y}`}\n          x={r.x}\n          y={r.y}\n          r={r.r}\n          label={r.label}\n          color={color}\n          delay={start + (measures.length + i) * stagger}\n        />\n      ))}\n    </>\n  );\n}\n\nconst NOTE_SPOT = {\n  start: (r: Rect) => ({\n    x: r.x - 3,\n    y: r.y - 3,\n    anchor: \"aboveStart\" as const,\n  }),\n  end: (r: Rect) => ({\n    x: r.x + r.w + 3,\n    y: r.y - 3,\n    anchor: \"aboveEnd\" as const,\n  }),\n  below: (r: Rect) => ({\n    x: r.x - 3,\n    y: r.y + r.h + 3,\n    anchor: \"belowStart\" as const,\n  }),\n};\n\n/** Every issue boxed, with its note popping on once the box closes. */\nexport function IssueMarks({\n  issues,\n  color,\n  start = 0,\n  stagger = 4,\n}: {\n  issues: Issue[];\n  color: string;\n  start?: number;\n  stagger?: number;\n}) {\n  return (\n    <>\n      {issues.map((issue, i) => (\n        <div key={`${issue.rect.x}-${issue.rect.y}-${issue.note}`}>\n          <OutlineBox\n            rect={issue.rect}\n            color={color}\n            delay={start + i * stagger}\n          />\n          <Pill\n            {...NOTE_SPOT[issue.side ?? \"start\"](issue.rect)}\n            text={issue.note}\n            color={color}\n            delay={start + i * stagger + 10}\n          />\n        </div>\n      ))}\n    </>\n  );\n}\n\nexport function TokenMarks({\n  tokens,\n  start = 0,\n  stagger = 6,\n  lineColor,\n}: {\n  tokens: TokenSpec[];\n  start?: number;\n  stagger?: number;\n  lineColor?: string;\n}) {\n  return (\n    <>\n      {tokens.map((tag, i) => (\n        <TokenTag\n          key={`${tag.label}-${tag.anchor.join()}`}\n          anchor={tag.anchor}\n          at={tag.at}\n          label={tag.label}\n          swatch={tag.swatch}\n          lineColor={lineColor}\n          delay={start + i * stagger}\n        />\n      ))}\n    </>\n  );\n}\n\n/** Column guides drop in, the highlight fills, then the now line slides across. */\nexport function GuideMarks({\n  guides,\n  color,\n  nowColor = C.primary,\n  start = 0,\n}: {\n  guides: GuideSpec;\n  color: string;\n  nowColor?: string;\n  start?: number;\n}) {\n  const { columns, top, bottom, highlight, ruler, now } = guides;\n  const h = highlight?.rect;\n  return (\n    <>\n      {columns.map((x, i) => (\n        <Guide\n          key={x}\n          x={x}\n          y={top}\n          length={bottom - top}\n          vertical\n          color={color}\n          dashed\n          delay={start + i * 3}\n        />\n      ))}\n      {h && highlight && (\n        <>\n          <OutlineBox\n            rect={h}\n            color={color}\n            fill={`${color}14`}\n            inset={0}\n            radius={0}\n            delay={start + 14}\n          />\n          <OutlineBox\n            rect={{ x: h.x + 6, y: h.y + 4, w: h.w - 12, h: 22 }}\n            color={color}\n            radius={4}\n            inset={0}\n            delay={start + 20}\n          />\n          <Pill\n            x={h.x + h.w / 2}\n            y={h.y + 4}\n            text={highlight.label}\n            color={color}\n            delay={start + 26}\n            anchor=\"above\"\n          />\n        </>\n      )}\n      {ruler && (\n        <Ruler\n          from={ruler.from}\n          to={ruler.to}\n          label={ruler.label}\n          color={color}\n          delay={start + 24}\n          labelSide={ruler.side}\n        />\n      )}\n      {now && (\n        <>\n          <Guide\n            x={now.from}\n            y={now.y}\n            length={now.to - now.from}\n            color={nowColor}\n            width={1.5}\n            delay={start + 30}\n          />\n          <Pill\n            x={now.from}\n            y={now.y}\n            text={now.label}\n            color={nowColor}\n            delay={start + 30}\n            anchor=\"left\"\n          />\n        </>\n      )}\n    </>\n  );\n}\n\n/** Brand name with a version chip that flips once the fix lands. */\nexport function VersionChip({\n  brand,\n  versions,\n  fixed,\n  colors,\n}: {\n  brand: string;\n  versions: [string, string];\n  fixed: boolean;\n  colors: [string, string];\n}) {\n  return (\n    <div\n      style={{\n        position: \"absolute\",\n        left: WIN.x,\n        top: 26,\n        display: \"flex\",\n        alignItems: \"center\",\n        gap: 8,\n        fontSize: 15,\n        fontWeight: 600,\n        color: C.ink,\n      }}\n    >\n      {brand}\n      <span\n        style={{\n          fontFamily: MONO,\n          fontSize: 11,\n          color: \"#fff\",\n          background: fixed ? colors[1] : colors[0],\n          borderRadius: 999,\n          padding: \"1px 8px\",\n        }}\n      >\n        {fixed ? versions[1] : versions[0]}\n      </span>\n    </div>\n  );\n}\n",
      "type": "registry:lib",
      "target": "lib/remocn/audit-core.tsx"
    }
  ],
  "type": "registry:lib"
}
