/* ==========================================================================
   film.css — the hero film: one PlansFlow project, live (v1, 2026-09-24)
   --------------------------------------------------------------------------
   The hero figure is not a video. It is a working replica of the PlansFlow
   workspace in plain HTML and CSS, driven by film.js on a 20.6 s loop: the
   canvas, the console band, the prompt panel and its thread, blocks,
   selection and connections. A "camera" moves over the replica the way a
   screen recording zooms, so the chat reads in close-up and the board reads
   in the wide shot.

   Source of truth for every value below (nothing is invented):
     prompt panel   app  src/styles/prompt-panel-v2.css  (.pb-*, ported
                    verbatim where the film uses it, scoped to .pff-app)
     blocks         app  src/styles/canvas.css (.pf-img-rail, selection,
                    image frame), text-block.css (.pf-text),
                    note-block.css (.pf-note), YouTubeBlock.tsx,
                    LinkCardBlock.tsx, ConnectionLine.tsx
     band           Desktop/PlansFlow Canvas Console Mockup/console.css,
                    as the live app renders it (flanks 132 px, 16 px gaps,
                    measured on the owner's 2026-09-23 screenshots)
     header         app  src/components/Layout/Header.tsx
     tokens         app  src/styles/base.css (.dark)
   App fonts are used inside the replica on purpose (Inter, Roboto Mono,
   the system sans of text blocks, Clepto for the wordmark); the page loads
   them already. The film is dark in both site themes, like the canvas demo
   in section 01: it is the product, in its own colours.

   Contents
     1 figure chrome · 2 replica base · 3 header · 4 canvas and blocks
     5 selection · 6 band · 7 prompt panel · 8 cursor · 9 states
   ========================================================================== */

/* ---------- 1. The figure --------------------------------------------------- */
.pff {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  margin: 0;
}
.pff-frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 300px;
  overflow: hidden;
  background: #101214;
  contain: layout paint;
}
/* on the dark page the product would dissolve into it: one hairline edge */
.pff-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0);
}
:root[data-theme="dark"] .pff-frame::after { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); }

.pff-cam {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  /* the default framing without script: the whole replica at the hero width */
  transform: scale(var(--pff-k, 0.571));
}

/* chapters: five indexed segments that fill as the loop plays, the toggle,
   and one line under them for the beat in play */
.pff-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "chapters toggle" "now now";
  align-items: start;
  column-gap: 20px;
  row-gap: 8px;
}
.pff-chapters {
  grid-area: chapters;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pff-ch {
  position: relative;
  display: block;
  width: 100%;
  min-height: 32px;
  padding: 9px 0 0;
  border: 0;
  background: none;
  color: var(--sw-muted);
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: color 160ms var(--sw-ease);
}
.pff-ch::before,
.pff-ch > i {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--sw-line);
}
.pff-ch > i {
  height: 2px;
  top: -0.5px;
  background: var(--sw-ink);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}
.pff-ch > .eyebrow { display: block; line-height: 1; }
.pff-ch > span:last-child { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pff-ch:hover,
.pff-ch[aria-current="step"] { color: var(--sw-ink); }
.pff-ch:focus-visible { outline: 2px solid var(--sw-accent); outline-offset: 4px; }

.pff-now {
  grid-area: now;
  margin: 0;
  font-family: var(--sw-sans);
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--sw-ink);
}
.pff-now span { font-family: var(--sw-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--sw-muted); margin-right: 10px; vertical-align: 1px; }

.pff-toggle {
  grid-area: toggle;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin-top: -6px;
  padding: 0 0 0 2px;
  border: 0;
  background: none;
  color: var(--sw-ink);
  font-family: var(--sw-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.pff-toggle svg { width: 10px; height: 10px; fill: currentColor; }
.pff-toggle .pff-i-play { display: none; }
.pff-toggle[data-paused="true"] .pff-i-play { display: block; }
.pff-toggle[data-paused="true"] .pff-i-pause { display: none; }
.pff-toggle:focus-visible { outline: 2px solid var(--sw-accent); outline-offset: 4px; }
.pff-toggle:hover { text-decoration: underline; text-underline-offset: 4px; }

.pff-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 2. The replica ---------------------------------------------------- */
/* Everything inside is decorative (aria-hidden, inert): the real pointer never
   reaches it, so no hover rule can fire. film.js sets the states. */
.pff-app {
  --bg: #101214;
  --card: #16181B;
  --raised: #1A1D21;
  --border: #24272E;              /* hsl(220 6% 16%) */
  --fg: #FAFAFA;                  /* hsl(0 0% 98%) */
  --fg-muted: #B4B6BB;            /* hsl(220 5% 72%) */
  --accent: #FF5E24;              /* hsl(16 100% 57%) — selection */
  --brand: #FF7A3D;               /* hsl(18 100% 62%) — the drawer glyph */
  --app-sans: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  --app-mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --app-ui: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Hebrew", "Heebo", Arial, sans-serif;

  position: relative;
  width: 1120px;
  height: var(--pff-h, 840px);
  overflow: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--app-mono);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.pff-app *, .pff-app *::before, .pff-app *::after { box-sizing: border-box; }
.pff-app p, .pff-app h3, .pff-app h4, .pff-app ul, .pff-app ol, .pff-app figure { margin: 0; }
.pff-app ul, .pff-app ol { padding: 0; list-style: none; }
.pff-app img { display: block; max-width: none; }
.pff-app svg { display: block; overflow: visible; }
.pff-app [hidden] { display: none !important; }

/* one icon rule for the lucide sprite: stroke icons, currentColor */
.pff-app .ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3. Header (Header.tsx) -------------------------------------------- */
.pff-hd {
  position: absolute;
  z-index: 40;
  inset: 0 0 auto 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: rgb(255 255 255 / 0.02);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}
.pff-hd-l, .pff-hd-r { display: flex; align-items: center; }
.pff-hd-l { gap: 14px; }
.pff-hd-r { gap: 24px; }
.pff-hd-tog { width: 36px; height: 36px; display: grid; place-items: center; color: var(--brand); }
.pff-hd-tog svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pff-hd-mark { font-family: "Clepto", var(--app-sans); font-size: 18px; line-height: 1; letter-spacing: 0.02em; color: var(--fg); }
.pff-hd-r .ic { width: 16px; height: 16px; color: rgb(255 255 255 / 0.5); }
.pff-hd-user { display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 13px; letter-spacing: 0.01em; color: rgb(255 255 255 / 0.6); }
.pff-hd-user i {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #2A2D33;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1);
  font: 500 11px/1 var(--app-sans);
  font-style: normal;
  color: var(--fg);
}

/* ---------- 4. Canvas, world and blocks ----------------------------------------- */
.pff-cv {
  position: absolute;
  inset: 56px 0 0 0;
  overflow: hidden;
  background-color: var(--bg);
}
/* the board: dots, blocks and connections — the layer the loop's seam fades */
.pff-scene {
  position: absolute;
  inset: 0;
  /* InfiniteGrid: #666 dots, alpha from the zoom, 20 px pitch × zoom (film.js) */
  background-image: radial-gradient(circle, var(--dot, rgb(102 102 102 / 0.225)) var(--dot-r, 0.54px), transparent var(--dot-r, 0.54px));
  background-size: 9px 9px;
  background-position: 0 0;
}
.pff-world {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform-origin: 0 0;
  /* default: the opening view (45 %), centred; film.js takes over */
  transform: translate(560px, 392px) scale(0.45);
}
.pff-b {
  position: absolute;
  left: calc(var(--x) * 1px);
  top: calc(var(--y) * 1px);
  width: calc(var(--w, 300) * 1px);
}
.pff-b[style*="--h"] { height: calc(var(--h) * 1px); }

/* connections: flow curves, foreground at 70 %, 2.25 wide, small head */
.pff-wires { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; }
.pff-wires path { fill: none; stroke: var(--fg); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.pff-wires path.tip { fill: var(--fg); stroke: none; }

/* image block — .canvas-image-frame */
.pff-img {
  overflow: hidden;
  border-radius: 10px;
  background: #0D0E10;
  box-shadow: inset 0 0 0 1.5px rgb(36 39 46 / 0.6), 0 1px 2px rgb(0 0 0 / 0.05);
}
.pff-img img { width: 100%; height: 100%; object-fit: cover; }
.pff-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px rgb(36 39 46 / 0.6); pointer-events: none; }

/* YouTube block — YouTubeBlock.tsx */
.pff-yt {
  overflow: hidden;
  border-radius: 12px;
  background: rgb(22 24 27 / 0.9);
  box-shadow: inset 0 0 0 1px rgb(36 39 46 / 0.4);
}
.pff-yt-grip { height: 24px; display: grid; place-items: center; background: rgb(26 29 33 / 0.2); color: rgb(180 182 187 / 0.4); }
.pff-yt-grip .ic { width: 16px; height: 16px; }
.pff-yt-media { position: relative; aspect-ratio: 16 / 9; background: #0D0E10; }
.pff-yt-media img { width: 100%; height: 100%; object-fit: cover; }
.pff-yt-media::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / 0.2); }
.pff-yt-play {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  width: 56px; height: 40px; margin: -20px 0 0 -28px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: #7F1D1D;              /* --destructive, dark */
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.pff-yt-play .ic { width: 24px; height: 24px; margin-left: 2px; color: var(--fg); fill: var(--fg); }
.pff-yt-info { height: 52px; display: flex; flex-direction: column; justify-content: center; padding: 8px 12px; min-width: 0; }
.pff-yt-info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500; line-height: 1.25; color: var(--fg); }
.pff-yt-info small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 1.35; color: var(--fg-muted); }

/* text block — .pf-text, clamped */
.pff-text {
  overflow: hidden;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgb(22 24 27 / 0.8);
  box-shadow: inset 0 0 0 1px rgb(36 39 46 / 0.5);
  font-family: var(--app-ui);
  font-size: 16px;
  line-height: 1.65;
  color: rgb(250 250 250 / 0.9);
}
.pff-text > div { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent); height: 100%; overflow: hidden; }
.pff-text p { margin: 0.35em 0; color: rgb(250 250 250 / 0.85); }
.pff-text > div > :first-child { margin-top: 0; }
.pff-text strong { font-weight: 700; color: var(--fg); }
.pff-text ul { margin: 0.3em 0; padding-inline-start: 1.4em; color: rgb(250 250 250 / 0.85); }
.pff-text li { margin: 0.15em 0; }

/* note block — .pf-note, paper on the board */
.pff-note {
  padding: 13px 16px 13px 22px;
  border-radius: 8px;
  background: #1F1E1D;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.09), 0 1px 0 rgb(255 255 255 / 0.03) inset, 0 2px 6px rgb(0 0 0 / 0.35), 0 14px 28px -16px rgb(0 0 0 / 0.6);
  font-family: var(--app-sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: #CFCCC7;
}
.pff-note::before { content: ""; position: absolute; inset-block: 11px; inset-inline-start: 11px; width: 1px; border-radius: 1px; background: rgb(255 255 255 / 0.17); }
.pff-note b { font-weight: 500; color: #EDEBE7; }

/* link card — LinkCardBlock.tsx */
.pff-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 8px 14px 14px;
  border-radius: 12px;
  background: rgb(22 24 27 / 0.95);
  box-shadow: inset 0 0 0 1px rgb(36 39 46 / 0.4);
}
.pff-fav { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgb(26 29 33 / 0.3); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.04); font: 600 15px/1 Georgia, "Times New Roman", serif; color: #E8E8EA; }
.pff-fav[data-f="dji"] { font: 700 11px/1 var(--app-sans); letter-spacing: -0.02em; color: #F4F4F5; }
.pff-link > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pff-link b { font-size: 13px; font-weight: 600; line-height: 1.375; color: var(--fg); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pff-link small { font-size: 11px; line-height: 1.3; color: rgb(180 182 187 / 0.7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pff-link .ic { width: 14px; height: 14px; margin: 0 6px; color: rgb(180 182 187 / 0.6); }

/* heading block */
.pff-heading { width: auto; font-family: var(--app-mono); font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; color: var(--fg); }

/* blocks that arrive from the panel ("Add with sources") */
.pff-new { opacity: 0; transform: translateY(8px) scale(0.96); transition: opacity 260ms cubic-bezier(0.2, 0, 0, 1), transform 320ms cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.pff-new.is-in { opacity: 1; transform: none; }

/* ---------- 5. Selection, the image rail, the drag ------------------------------ */
.pff-sel {
  position: absolute;
  z-index: 20;
  left: calc(var(--x) * 1px);
  top: calc(var(--y) * 1px);
  width: calc(var(--w) * 1px);
  height: calc(var(--h) * 1px);
  pointer-events: none;
}
.pff-sel::before { content: ""; position: absolute; inset: -1px; border: 2px solid var(--accent); border-radius: var(--r, 11px); }
.pff-sel[data-drag="true"]::before { box-shadow: 0 0 0 1px var(--accent), 0 16px 40px rgb(255 94 36 / 0.15); }
.pff-sel > i { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; }
.pff-sel > i.c { background: #F4F4F5; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.35); }
.pff-sel > i.e { background: #1A1C1F; box-shadow: inset 0 0 0 1.5px #9A9CA1; }
.pff-sel > i:nth-child(1) { left: 0; top: 0; }
.pff-sel > i:nth-child(2) { left: 100%; top: 0; }
.pff-sel > i:nth-child(3) { left: 0; top: 100%; }
.pff-sel > i:nth-child(4) { left: 100%; top: 100%; }
.pff-sel > i:nth-child(5) { left: 50%; top: 0; }
.pff-sel > i:nth-child(6) { left: 100%; top: 50%; }
.pff-sel > i:nth-child(7) { left: 50%; top: 100%; }
.pff-sel > i:nth-child(8) { left: 0; top: 50%; }
.pff-sel-grip { position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: rgb(40 42 46 / 0.86); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); color: #D4D4D8; }
.pff-sel-grip .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.pff-sel[data-grip="false"] .pff-sel-grip { display: none; }

/* the vertical rail beside a selected image — canvas.css .pf-img-rail */
.pff-rail {
  position: absolute;
  top: 50%;
  left: 100%;
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  border: 1px solid hsl(220 6% 16%);
  border-radius: 18px;
  background: #1a1d21;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.03);
  transform: translate(0, -50%);
}
.pff-sel[data-rail="false"] .pff-rail { display: none; }
.pff-rail > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: hsl(220 5% 63%); }
.pff-rail > span.ai { color: hsl(16 100% 57%); }
.pff-rail > span.del { color: #ff453a; }
.pff-rail > span .ic { width: 16px; height: 16px; stroke-width: 1.6; }
.pff-rail > span .ic.fill { fill: currentColor; }
.pff-rail > b { height: 1px; margin: 4px 6px; background: hsl(220 6% 16%); }

/* ---------- 6. The console band (tools · prompt · view) ------------------------- */
.pff-flank {
  position: absolute;
  z-index: 30;
  bottom: 24px;
  width: 132px;
  height: 88px;
  padding: 6px 8px;
  display: grid;
  grid-template-rows: 32px 32px;
  row-gap: 12px;
  border-radius: 14px;
  background: #16181B;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.26), inset 0 0 0 1px rgb(255 255 255 / 0.09);
  font-family: var(--app-sans);
  color: #ECECEE;
}
.pff-flank::before { content: ""; position: absolute; left: 8px; right: 8px; top: 43.5px; height: 1px; background: rgb(255 255 255 / 0.08); }
.pff-flank--tools { left: calc(50% - 370px - 16px - 132px); }
.pff-flank--view { left: calc(50% + 370px + 16px); }
.pff-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.pff-ib { position: relative; width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 8px; color: rgb(236 236 238 / 0.72); transition: background 140ms, color 140ms; }
.pff-ib .ic { width: 18px; height: 18px; stroke-width: 1.5; }
.pff-ib.is-on { color: #ECECEE; background: linear-gradient(#ECECEE, #ECECEE) 50% calc(100% - 4px) / 10px 2px no-repeat rgb(255 255 255 / 0.1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.15); }
.pff-ib.is-press { background-color: rgb(255 255 255 / 0.1); color: #ECECEE; }
.pff-zoom { flex: 1; text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; color: #ECECEE; }
.pff-add { width: 100%; height: 32px; display: flex; align-items: center; gap: 9px; padding: 0 8px 0 7px; border-radius: 8px; background: #1A1D21; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.pff-add .ic { width: 18px; height: 18px; stroke-width: 1.5; }
.pff-add .ic:last-child { width: 14px; height: 14px; margin-left: auto; color: rgb(236 236 238 / 0.56); }

/* ---------- 7. The prompt panel — prompt-panel-v2.css, scoped -------------------- */
.pff-app .pb-root {
  --pf-page: #101214; --pf-surface: #16181B; --pf-well: #1A1D21;
  --pf-hover: rgba(255, 255, 255, 0.045); --pf-active: rgba(255, 255, 255, 0.07);
  --pf-line: rgba(255, 255, 255, 0.08); --pf-edge: rgba(255, 255, 255, 0.09);
  --pf-selected: rgba(255, 255, 255, 0.10); --pf-selected-line: rgba(255, 255, 255, 0.14);
  --pf-well-inset: rgba(255, 255, 255, 0.035);
  --pf-ink: #F4F3F1; --pf-text: #DBD9D5; --pf-text-2: #A6A39E; --pf-text-3: #8B8783;
  --pf-accent: #FF7A3D; --pf-accent-fg: #1A0E06; --pf-focus: rgba(255, 255, 255, 0.72);
  --pf-success: #5FB37A;
  --pf-surface-top: rgba(255, 255, 255, 0.035);
  --pf-shadow: 0 1px 2px rgba(0, 0, 0, 0.30), 0 6px 20px rgba(0, 0, 0, 0.22);
  --pf-shadow-lift: 0 18px 44px rgba(0, 0, 0, 0.34);
  --pf-thumb-b: #1C1F24;
  --pf-scrim: rgba(0, 0, 0, 0.62); --pf-on-scrim: #FFFFFF;
  --pf-send-bg: #F4F3F1; --pf-send-fg: #101214;
  --pf-sans: var(--app-sans); --pf-mono: var(--app-mono);
  --ease: cubic-bezier(0.16, 1, 0.3, 1); --ease-quiet: cubic-bezier(0.2, 0, 0, 1);
  --t-fast: 140ms; --t-base: 200ms; --t-open: 240ms; --t-morph: 220ms;
  --pb-col: 640px;

  position: absolute;
  inset: 56px 0 0 0;
  z-index: 30;
  font-family: var(--pf-sans);
  font-size: 13px;
  line-height: 1.45;
  color: var(--pf-text);
}
.pff-app .pb-i { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.pff-app .pb-ico { width: 30px; height: 30px; flex: none; display: inline-grid; place-items: center; border-radius: 8px; color: var(--pf-text-3); transition: background var(--t-fast) var(--ease-quiet), color var(--t-fast) var(--ease-quiet), transform var(--t-fast) var(--ease); }
.pff-app .pb-ico.is-hover { background: var(--pf-hover); color: var(--pf-ink); }
.pff-app .pb-ico.is-press { transform: scale(0.94); }
.pff-app .pb-btn { height: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; border-radius: 8px; color: var(--pf-text-2); font-size: 12.5px; font-weight: 450; white-space: nowrap; transition: background var(--t-fast) var(--ease-quiet), color var(--t-fast) var(--ease-quiet), box-shadow var(--t-fast) var(--ease-quiet); }
.pff-app .pb-btn .pb-i { width: 13.5px; height: 13.5px; opacity: 0.85; }
.pff-app .pb-kbd { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 5px; background: var(--pf-well-inset); box-shadow: inset 0 0 0 1px var(--pf-line); color: var(--pf-text-3); font-family: var(--pf-mono); font-size: 11px; flex: none; }
.pff-app .pb-mono { font-family: var(--pf-mono); font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

.pff-app .pb-box {
  position: absolute; z-index: 10;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  width: 740px;
  border-radius: 16px;
  background: var(--pf-surface);
  box-shadow: var(--pf-shadow), inset 0 0 0 1px var(--pf-edge), inset 0 1px 0 var(--pf-surface-top);
  transition: box-shadow var(--t-base) var(--ease-quiet);
}
.pff-app .pb-root[data-state="active"] .pb-box { box-shadow: var(--pf-shadow-lift), inset 0 0 0 1.5px color-mix(in srgb, var(--pf-focus) 62%, transparent), inset 0 1px 0 var(--pf-surface-top); }
.pff-app .pb-root[data-state="active"][data-thread="open"] .pb-box { box-shadow: var(--pf-shadow-lift), inset 0 0 0 1px var(--pf-edge), inset 0 1px 0 var(--pf-surface-top); }
.pff-app .pb-root[data-state="active"][data-focused="true"] .pb-box { box-shadow: var(--pf-shadow-lift), inset 0 0 0 1.5px color-mix(in srgb, var(--pf-focus) 62%, transparent), inset 0 1px 0 var(--pf-surface-top); }
.pff-app .pb-seam { position: absolute; left: 50%; bottom: 0; z-index: 4; width: 72%; height: 1.5px; transform: translateX(-50%) scaleX(0); background: linear-gradient(90deg, transparent, var(--pf-focus) 22%, var(--pf-focus) 78%, transparent); opacity: 0; transition: transform 240ms var(--ease), opacity 200ms var(--ease-quiet); }
.pff-app .pb-root[data-focused="true"] .pb-seam { transform: translateX(-50%) scaleX(1); opacity: 0.42; }

/* thread */
.pff-app .pb-thread-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-open) var(--ease); }
.pff-app .pb-root[data-thread="open"] .pb-thread-wrap { grid-template-rows: 1fr; }
.pff-app .pb-thread { min-height: 0; overflow: hidden; display: flex; flex-direction: column; max-height: var(--pb-thread-h, 470px); opacity: 0; transform: translateY(8px) scaleY(0.985); transform-origin: 50% 100%; visibility: hidden; transition: opacity var(--t-open) var(--ease), transform var(--t-open) var(--ease), visibility 0s linear var(--t-open); }
.pff-app .pb-root[data-thread="open"] .pb-thread { opacity: 1; transform: none; visibility: visible; transition-delay: 0s, 0s, 0s; }
.pff-app .pb-thread-head { flex: none; height: 38px; display: flex; align-items: center; gap: 6px; padding: 2px 8px 0 12px; box-shadow: inset 0 -1px transparent; transition: box-shadow var(--t-fast) var(--ease-quiet); }
.pff-app .pb-thread[data-scrolled="true"] .pb-thread-head { box-shadow: inset 0 -1px var(--pf-line); }
.pff-app .pb-title { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 7px 0 8px; border-radius: 7px; color: var(--pf-ink); font-size: 12.5px; font-weight: 500; letter-spacing: -0.01em; }
.pff-app .pb-title .pb-i { width: 12px; height: 12px; color: var(--pf-text-3); }
.pff-app .pb-spacer { flex: 1; }
.pff-app .pb-thread-head .pb-btn { height: 26px; font-size: 12px; color: var(--pf-text-3); }
.pff-app .pb-thread-head .pb-ico { width: 26px; height: 26px; }
.pff-app .pb-new-chat { margin-inline-end: 5px; padding-inline: 10px 11px; color: var(--pf-text) !important; background: var(--pf-well-inset); box-shadow: inset 0 0 0 1px var(--pf-line); }
.pff-app .pb-capacity { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; color: var(--pf-text-2); }
.pff-app .pb-capacity svg { width: 18px; height: 18px; transform: rotate(-90deg); }
.pff-app .pb-capacity circle { fill: none; stroke-width: 1.6; }
.pff-app .pb-capacity-track { stroke: var(--pf-line); }
.pff-app .pb-capacity-value { stroke: currentColor; stroke-linecap: round; }

.pff-app .pb-thread-body { position: relative; flex: 1; min-height: 0; overflow: hidden; padding: 14px 24px 20px; }

/* turns */
.pff-app .pb-turn { position: relative; max-width: var(--pb-col); }
.pff-app .pb-turn.is-rise { animation: pff-rise var(--t-open) var(--ease) both; }
.pff-app .pb-turn[data-role="user"] { padding-top: 16px; margin-top: 20px; margin-inline-start: auto; margin-inline-end: 0; max-width: min(var(--pb-col), 86%); text-align: end; }
.pff-app .pb-turn[data-role="user"]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--pf-line); }
.pff-app .pb-turn[data-role="user"]:first-child { padding-top: 0; margin-top: 0; }
.pff-app .pb-turn[data-role="user"]:first-child::before { display: none; }
.pff-app .pb-turn-meta { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 7px; font-family: var(--pf-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pf-text-3); }
.pff-app .pb-turn-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.pff-app .pb-turn-meta .pb-i { width: 11px; height: 11px; opacity: 0.8; }
.pff-app .pb-turn[data-role="user"] p { display: inline-block; max-width: 100%; margin: 0; padding: 8px 12px; border-radius: 12px 12px 4px 12px; background: var(--pf-well-inset); box-shadow: inset 0 0 0 1px var(--pf-line); font-size: 16.5px; line-height: 1.5; font-weight: 500; color: var(--pf-ink); text-align: start; white-space: pre-wrap; }
.pff-app .pb-turn[data-role="assistant"] { margin-top: 14px; margin-inline-end: auto; text-align: start; }

.pff-app .pb-answer { color: var(--pf-text); font-size: 16.5px; line-height: 1.62; font-weight: 420; }
.pff-app .pb-answer p { margin: 0; }
.pff-app .pb-answer p + p, .pff-app .pb-answer p + ul, .pff-app .pb-answer ul + p { margin-top: 12px; }
.pff-app .pb-answer b { font-weight: 500; color: var(--pf-ink); }
.pff-app .pb-answer ul { margin: 8px 0 0; padding-inline-start: 22px; list-style: disc; }
.pff-app .pb-answer li { margin: 4px 0; }
.pff-app .pb-answer li::marker { color: var(--pf-text-3); font-family: var(--pf-mono); font-size: 0.85em; }

/* media */
.pff-app .pb-media { margin: 10px 0 2px; min-width: 0; }
.pff-app .pb-media-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-family: var(--pf-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pf-text-3); }
.pff-app .pb-media-head .pb-i { width: 12px; height: 12px; }
.pff-app .pb-carousel { display: flex; gap: 9px; margin: 0 -6px; padding: 5px 6px 10px; overflow: hidden; }
.pff-app .pb-video { position: relative; flex: 0 0 auto; width: 264px; border-radius: 8px; }
.pff-app .pb-video > a { display: grid; gap: 6px; color: inherit; text-decoration: none; }
.pff-app .pb-video-thumb { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--pf-thumb-b); box-shadow: inset 0 0 0 1px var(--pf-line); }
.pff-app .pb-video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pff-app .pb-video-thumb small { position: absolute; right: 5px; bottom: 5px; padding: 1px 5px; border-radius: 3px; background: var(--pf-scrim); color: var(--pf-on-scrim); font-family: var(--pf-mono); font-size: 10px; }
.pff-app .pb-video b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 12.5px; font-weight: 500; line-height: 1.35; color: var(--pf-text); }
.pff-app .pb-video small.ch { display: block; margin-top: 2px; font-family: var(--pf-mono); font-size: 11px; color: var(--pf-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* sources */
.pff-app .pb-sources { margin-top: 10px; }
.pff-app .pb-sources-toggle { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; margin-inline-start: -8px; border-radius: 7px; color: var(--pf-text-3); font-family: var(--pf-mono); font-size: 11px; letter-spacing: 0.04em; transition: background var(--t-fast) var(--ease-quiet), color var(--t-fast) var(--ease-quiet); }
.pff-app .pb-sources-toggle.is-hover, .pff-app .pb-sources-toggle[aria-expanded="true"] { background: var(--pf-hover); color: var(--pf-text); }
.pff-app .pb-sources-toggle .pb-i { width: 12px; height: 12px; transition: transform var(--t-base) var(--ease); }
.pff-app .pb-sources-toggle[aria-expanded="true"] .pb-i { transform: rotate(180deg); }
.pff-app .pb-srcstack { display: inline-flex; align-items: center; margin-inline-end: 2px; }
.pff-app .pb-srcstack i { width: 16px; height: 16px; margin-inline-start: -5px; border-radius: 4px; background: var(--pf-well); box-shadow: 0 0 0 1px var(--pf-line), 0 0 0 2px var(--pf-surface); display: grid; place-items: center; font-style: normal; font-family: var(--pf-sans); font-size: 8.5px; font-weight: 600; color: var(--pf-text); }
.pff-app .pb-srcstack i:first-child { margin-inline-start: 0; }
.pff-app .pb-sources-list { margin: 4px 0 0; }
.pff-app .pb-sources-list.is-rise { animation: pff-rise 220ms var(--ease) both; }
.pff-app .pb-source { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 8px; margin: 0 -6px; padding: 6px; border-radius: 6px; }
.pff-app .pb-source-mark { display: grid; place-items: center; width: 24px; height: 22px; color: var(--pf-text-3); font: 10.5px/1 var(--pf-mono); }
.pff-app .pb-source > div { min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.pff-app .pb-source b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 500; color: var(--pf-text); }
.pff-app .pb-source small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--pf-mono); font-size: 11px; color: var(--pf-text-3); }

/* actions */
.pff-app .pb-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 4px; margin-top: 10px; }
.pff-app .pb-actions .pb-btn { height: 26px; font-size: 12.5px; color: var(--pf-text-3); padding: 0 8px; }
.pff-app .pb-actions .pb-btn:first-child { margin-inline-start: -8px; }
.pff-app .pb-actions .pb-btn.is-copy { color: var(--pf-text-2); box-shadow: inset 0 0 0 1px var(--pf-line); }
.pff-app .pb-actions .pb-btn.is-copy .pb-i { opacity: 1; }
.pff-app .pb-actions .pb-btn.is-place { color: var(--pf-text); box-shadow: inset 0 0 0 1px var(--pf-line); }
.pff-app .pb-actions .pb-btn.is-place.is-hover { color: var(--pf-ink); background: var(--pf-selected); box-shadow: inset 0 0 0 1px var(--pf-selected-line); }
.pff-app .pb-actions .pb-btn.is-place .pb-i { display: none; }
.pff-app .pb-actions .pb-btn.is-place[data-added="true"] .pb-i { display: block; }
.pff-app .pb-attr { margin-inline-start: auto; padding-inline-start: 12px; font-family: var(--pf-mono); font-size: 11px; color: var(--pf-text-3); white-space: nowrap; letter-spacing: 0.02em; opacity: 0; transition: opacity var(--t-fast) var(--ease-quiet); }
.pff-app .pb-attr b { font-weight: 400; color: var(--pf-text-2); }
.pff-app .pb-attr i { font-style: normal; color: var(--pf-text-3); }
.pff-app .pb-turn.is-hover .pb-attr { opacity: 1; }

/* follow-ups */
.pff-app .pb-followups { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 4px; max-width: 64ch; }
.pff-app .pb-followup { display: grid; grid-template-columns: 22px minmax(0, 1fr) 14px; align-items: start; gap: 8px; width: 100%; padding: 5px 6px 5px 0; margin-inline-start: -2px; border-radius: 7px; color: var(--pf-text-2); font-size: 13.5px; line-height: 1.35; }
.pff-app .pb-followup > i { font-style: normal; font-family: var(--pf-mono); font-size: 11px; line-height: 1.5; letter-spacing: 0.06em; color: var(--pf-text-3); }
.pff-app .pb-root[data-typing="true"] .pb-turn.is-last-a1 .pb-followups { display: none; }

/* activity trace */
.pff-app .pb-trace { margin: 6px 0 2px; }
.pff-app .pb-trace-head { display: inline-flex; align-items: center; gap: 7px; padding: 4px 2px; color: var(--pf-text-3); font-size: 12px; }
.pff-app .pb-trace-head .pb-i { width: 12px; height: 12px; transition: transform .18s ease; }
.pff-app .pb-trace[data-open="true"] .pb-trace-head .pb-i { transform: rotate(180deg); }
.pff-app .pb-trace-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pf-text-3); }
.pff-app .pb-trace-dot[data-state="live"] { background: var(--pf-accent); animation: pff-breathe 1.6s ease-in-out infinite; }
.pff-app .pb-trace-list { list-style: none; margin: 2px 0 0; padding: 0 0 0 3px; display: grid; gap: 3px; }
.pff-app .pb-trace[data-open="false"] .pb-trace-list { display: none; }
.pff-app .pb-trace-list li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--pf-text-3); }
.pff-app .pb-trace-list li[data-status="done"] { color: var(--pf-text-2); }
.pff-app .pb-trace-list li[data-status="active"] { color: var(--pf-ink); }
.pff-app .pb-trace-mark { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .55; flex: none; }

/* composer */
.pff-app .pb-composer { position: relative; }
.pff-app .pb-root[data-thread="open"] .pb-composer { box-shadow: inset 0 1px 0 var(--pf-line); }
.pff-app .pb-field { position: relative; display: block; padding: 14px 20px 2px; transition: padding var(--t-morph) var(--ease); }
.pff-app .pb-root[data-state="active"] .pb-field { padding: 16px 20px 4px; }
.pff-app .pb-ta { position: relative; min-height: 25px; font-size: 16px; line-height: 1.55; letter-spacing: -0.003em; color: var(--pf-ink); white-space: pre-wrap; transition: min-height var(--t-morph) var(--ease); }
.pff-app .pb-root[data-state="active"] .pb-ta { min-height: 56px; }
.pff-app .pb-ta-ph { position: absolute; left: 0; top: 0; color: var(--pf-text-3); white-space: nowrap; }
.pff-app .pb-root[data-focused="true"] .pb-ta-ph { opacity: 0.75; }
.pff-app .pb-ta[data-empty="false"] .pb-ta-ph { display: none; }
.pff-app .pb-ta-caret { display: inline-block; width: 1.5px; height: 1.2em; margin-inline-start: 1px; vertical-align: -0.22em; background: var(--pf-ink); opacity: 0; }
.pff-app .pb-root[data-focused="true"] .pb-ta-caret { opacity: 1; animation: pff-blink 1.05s steps(1, end) infinite; }
.pff-app .pb-root[data-focused="true"][data-typing="true"] .pb-ta-caret { animation: none; }
.pff-app .pb-ta[data-empty="true"] .pb-ta-caret { position: absolute; left: 0; top: 0.18em; margin: 0; }

.pff-app .pb-rail-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 44px; padding: 0 12px 0 13px; }
.pff-app .pb-rail-group { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pff-app .pb-web { min-width: 112px; height: 30px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 10px; border-radius: 7px; color: var(--pf-text-3); font-size: 12.5px; font-weight: 450; white-space: nowrap; box-shadow: inset 0 0 0 1px transparent; }
.pff-app .pb-web .pb-i { width: 14px; height: 14px; }
.pff-app .pb-web[aria-pressed="true"] { background: var(--pf-selected); box-shadow: inset 0 0 0 1px var(--pf-selected-line); color: var(--pf-ink); }
.pff-app .pb-web[aria-pressed="true"] .pb-i { color: var(--pf-accent); }
.pff-app .pb-ctx { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 9px 0 4px; border-radius: 8px; color: var(--pf-text-2); }
.pff-app .pb-ctx.is-rise { animation: pff-rise 160ms var(--ease) both; }
.pff-app .pb-stack { display: flex; align-items: center; padding-inline-start: 5px; }
.pff-app .pb-stack > * { width: 20px; height: 20px; margin-inline-start: -7px; border-radius: 5px; background: var(--pf-surface); box-shadow: 0 0 0 1px var(--pf-selected-line), 0 0 0 2.5px var(--pf-surface); overflow: hidden; }
.pff-app .pb-stack > *:first-child { margin-inline-start: 0; }
.pff-app .pb-stack img { width: 100%; height: 100%; object-fit: cover; }
.pff-app .pb-stack .is-selected { box-shadow: 0 0 0 1px var(--pf-accent), 0 0 0 2.5px var(--pf-surface); }
.pff-app .pb-provider { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px; border: 1px solid var(--pf-line); border-radius: 7px; color: var(--pf-text-2); font-size: 12px; letter-spacing: .01em; white-space: nowrap; }
.pff-app .pb-provider .pb-i { width: 13px; height: 13px; color: var(--pf-accent); stroke-width: 1.6; }
.pff-app .pb-rail-row .pb-kbd { opacity: 0; transform: translateX(4px); transition: opacity var(--t-base) var(--ease-quiet), transform var(--t-base) var(--ease); }
.pff-app .pb-composer[data-armed="true"] .pb-rail-row .pb-kbd { opacity: 1; transform: none; }
.pff-app .pb-send { position: relative; width: 42px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--pf-well-inset); box-shadow: inset 0 0 0 1px var(--pf-line); color: var(--pf-text-3); transition: background var(--t-base) var(--ease-quiet), color var(--t-base) var(--ease-quiet), box-shadow var(--t-base) var(--ease-quiet), transform var(--t-fast) var(--ease); }
.pff-app .pb-send .pb-i { width: 16px; height: 16px; stroke-width: 2; }
.pff-app .pb-send .pb-i-stop { display: none; }
.pff-app .pb-composer[data-armed="true"] .pb-send { background: var(--pf-send-bg); color: var(--pf-send-fg); box-shadow: var(--pf-shadow); }
.pff-app .pb-send.is-press { transform: scale(0.94); }
.pff-app .pb-root[data-working="true"] .pb-send { background: transparent; color: var(--pf-ink); box-shadow: inset 0 0 0 1px var(--pf-edge); }
.pff-app .pb-root[data-working="true"] .pb-send .pb-i-send { display: none; }
.pff-app .pb-root[data-working="true"] .pb-send .pb-i-stop { display: block; width: 11px; height: 11px; fill: currentColor; stroke: none; }

/* ---------- 8. The cursor ------------------------------------------------------ */
.pff-cursor {
  position: absolute;
  z-index: 60;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  opacity: 0;
  transform: translate(900px, 300px);
}
.pff-cursor svg { position: absolute; width: 30px; height: 30px; overflow: visible; filter: drop-shadow(0 1px 1.5px rgb(0 0 0 / 0.45)); display: none; }
.pff-cursor[data-kind="arrow"] .cu-arrow,
.pff-cursor[data-kind="hand"] .cu-hand,
.pff-cursor[data-kind="beam"] .cu-beam,
.pff-cursor[data-kind="grab"] .cu-grab,
.pff-cursor[data-kind="grabbing"] .cu-grabbing { display: block; }
/* hot spots: the arrow's tip, the finger's tip, the beam's centre, the palm */
.pff-cursor .cu-arrow { left: -4.5px; top: -3px; }
.pff-cursor .cu-hand { left: -12.6px; top: -2.4px; }
.pff-cursor .cu-beam { left: -15px; top: -15px; }
.pff-cursor .cu-grab, .pff-cursor .cu-grabbing { left: -15px; top: -13px; }
.pff-cursor .k { fill: #0B0B0C; }
.pff-cursor .w { fill: #FFFFFF; }
.pff-cursor .ko { fill: none; stroke: #0B0B0C; stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.pff-cursor .wo { fill: none; stroke: #FFFFFF; stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.pff-cursor .ln { fill: none; stroke: #0B0B0C; stroke-width: 1.1; stroke-linecap: round; }
.pff-ring {
  position: absolute;
  z-index: 59;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.6);
  opacity: 0;
  pointer-events: none;
}

/* ---------- 9. States ---------------------------------------------------------- */
/* measuring: every transition and animation off, so film.js reads final layout */
.pff-app.is-measuring, .pff-app.is-measuring *, .pff-app.is-measuring *::before, .pff-app.is-measuring *::after,
.pff-app.is-seeking, .pff-app.is-seeking *, .pff-app.is-seeking *::before, .pff-app.is-seeking *::after {
  transition: none !important;
  animation: none !important;
}

@keyframes pff-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pff-breathe { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes pff-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .pff-app *, .pff-app *::before, .pff-app *::after { animation: none !important; transition: none !important; }
  .pff-ch > i { transition: none; }
}
