/* TIF Flow System — kit.css
   Shared foundations + primitives for Think It First AI data-flow visuals.
   Scoped under .tfv so it can sit inside a WordPress page without leaking.
   Colors + fonts come from thinkitfirst.ai (Saans / PP Fragment Glare / Apercu Mono).

   Semantic color (the one rule every visual follows):
     coral  = in motion          (a record travelling, a step running)
     teal   = done               (written, synced, delivered, approved)
     purple = needs a person     (exception, review, approval gate)
     lime   = extracted          (highlighter on the source text the system read)
     dashed = not connected yet  (a system or step that hasn't been touched) */
.tfv {
  --tfv-ink: #191919;
  --tfv-ink-2: #3c3c3c;
  --tfv-muted: #6b6661;
  --tfv-faint: #a8a29c;
  --tfv-line: rgba(25, 25, 25, 0.09);
  --tfv-dash: #c9c2ba;
  --tfv-wire: #d9d3cc;
  --tfv-paper: #fbfaf9;
  --tfv-card: #ffffff;
  --tfv-coral: #f16251;
  --tfv-coral-ink: #c4402e;
  --tfv-coral-tint: rgba(241, 98, 81, 0.1);
  --tfv-teal: #5eafbf;
  --tfv-teal-ink: #27707f;
  --tfv-teal-tint: rgba(94, 175, 191, 0.15);
  --tfv-purple: #9d6ac7;
  --tfv-purple-ink: #7143a0;
  --tfv-purple-tint: rgba(157, 106, 199, 0.13);
  --tfv-lime: #b9cc65;
  --tfv-lime-tint: rgba(185, 204, 101, 0.42);
  --tfv-sans: "Saans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --tfv-mono: "Apercu Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --tfv-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --tfv-r: 10px;

  container-type: inline-size;
  font-family: var(--tfv-sans);
  color: var(--tfv-ink);
  font-size: 13px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
.tfv *, .tfv *::before, .tfv *::after { box-sizing: border-box; }

/* ── Stage: graph-paper canvas; wires + packets sit on layers above the paper, below the cards ── */
.tfv-stage {
  position: relative;
  background-color: var(--tfv-paper);
  background-image:
    linear-gradient(rgba(25, 25, 25, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 25, 25, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--tfv-line);
  padding: 24px 18px;
}
/* Calm restart (Jen, Oct 30: "the flash that restarts the graphic is a little harsh").
   A paper veil with the same graph paper fades in over the stage, the visual resets underneath, then the veil fades out.
   Driven by s.rest() / s.lift() in kit.js. Undo: delete these two rules (rest() then only adds a 0.75s pause). */
.tfv-stage::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none;
  background: inherit; box-shadow: inherit; opacity: 0; transition: opacity 0.7s var(--tfv-ease); }
.tfv-stage.is-resting::after { opacity: 1; }
.tfv-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.tfv-stage > :not(.tfv-wires):not(.tfv-packet):not(.tfv-cursor) { position: relative; z-index: 1; }

/* Wires: orthogonal, rounded elbows, square terminals */
.tfv-wire { fill: none; stroke: var(--tfv-wire); stroke-width: 1.25; }
.tfv-term { fill: var(--tfv-paper); stroke: var(--tfv-wire); stroke-width: 1.25; transition: fill 0.3s, stroke 0.3s; }
.tfv-term[data-tone] { fill: var(--tfv-card); }
.tfv-flow { fill: none; stroke-width: 1.75; stroke-linecap: square; stroke-dasharray: 6 4; transition: opacity 0.35s var(--tfv-ease); }
/* Dashes march only while a packet travels; a wire that has delivered stays still (Jen, Oct 30: less going on at once).
   Undo: add "animation: tfv-march 0.8s linear infinite;" back to .tfv-flow above. */
.tfv-flow.is-running { animation: tfv-march 0.8s linear infinite; }
.tfv-mask { fill: none; stroke: #fff; stroke-width: 12; }
@keyframes tfv-march { to { stroke-dashoffset: -20; } }
.tfv-flow[data-tone="coral"], .tfv-term[data-tone="coral"] { stroke: var(--tfv-coral); }
.tfv-flow[data-tone="teal"], .tfv-term[data-tone="teal"] { stroke: var(--tfv-teal); }
.tfv-flow[data-tone="purple"], .tfv-term[data-tone="purple"] { stroke: var(--tfv-purple); }

/* Packet: the record itself travelling a wire */
.tfv-packet {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none;
  font-family: var(--tfv-mono); font-size: 11px; letter-spacing: 0.04em; white-space: nowrap;
  padding: 3px 6px; border-radius: 4px; color: #fff; background: var(--tfv-coral);
  box-shadow: 0 4px 12px rgba(25, 25, 25, 0.16);
  transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.15s;
}
.tfv-packet.is-dot { width: 8px; height: 8px; padding: 0; border-radius: 2px; }
.tfv-packet[data-tone="teal"] { background: var(--tfv-teal-ink); }
.tfv-packet[data-tone="purple"] { background: var(--tfv-purple); }

/* ── Type ── */
.tfv-eyebrow { font-family: var(--tfv-mono); font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--tfv-muted); }
.tfv-title { font-weight: 700; font-size: 13px; color: var(--tfv-ink); }
.tfv-sub { font-size: 12.5px; color: var(--tfv-muted); }
.tfv-meta { font-family: var(--tfv-mono); font-size: 11px; letter-spacing: 0.03em; color: var(--tfv-muted); }
/* No dot separators (Jen, Oct 30): document metadata as quiet pills, sentences in Saans with the count lightly bold,
   approval notes in ink with only the variables (name, time) in the state color. */
.tfv-tags { display: flex; flex-wrap: wrap; gap: 3px; }
.tfv-tag { display: inline-block; padding: 0 5px; border-radius: 999px; background: var(--tfv-card); box-shadow: inset 0 0 0 1px var(--tfv-line); line-height: 1.5; white-space: nowrap; }
.tfv-says { font-family: var(--tfv-sans); letter-spacing: 0; }
.tfv-says b, .tfv-count { font-weight: 700; color: var(--tfv-ink-2); }
.tfv-var { color: var(--tfv-var, inherit); }
.tfv-num { font-variant-numeric: tabular-nums; }

/* ── Tile: a system, document or outcome. Dashed until something touches it ── */
.tfv-card {
  background: var(--tfv-card);
  border-radius: var(--tfv-r);
  box-shadow: 0 0 0 1px var(--tfv-line), 0 1px 0 rgba(25, 25, 25, 0.04);
  padding: 10px 12px;
  transition: background 0.35s, box-shadow 0.35s var(--tfv-ease), opacity 0.35s, outline-color 0.35s;
}
.tfv-card[data-state="idle"] {
  background: transparent; box-shadow: none;
  outline: 1px dashed var(--tfv-dash); outline-offset: -1px;
}
.tfv-card[data-state="idle"] .tfv-title { color: var(--tfv-muted); }
.tfv-card[data-state="active"] { box-shadow: 0 0 0 1.5px var(--tfv-coral), 0 8px 22px rgba(25, 25, 25, 0.07); }
.tfv-card[data-state="done"] { box-shadow: 0 0 0 1px var(--tfv-line), 0 6px 18px rgba(25, 25, 25, 0.05); }
.tfv-card[data-state="flag"] { box-shadow: 0 0 0 1.5px var(--tfv-purple), 0 8px 22px rgba(25, 25, 25, 0.07); }
.tfv-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tfv-row > .tfv-grow { flex: 1; min-width: 0; }

.tfv-ico {
  flex: none; width: 28px; height: 28px; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--tfv-paper); box-shadow: inset 0 0 0 1px var(--tfv-line);
  color: var(--tfv-ink-2);
  transition: background 0.35s, color 0.35s, box-shadow 0.35s;
}
.tfv-ico svg, .tfv-svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tfv-card[data-state="idle"] .tfv-ico { background: transparent; color: var(--tfv-faint); }
.tfv-card[data-state="active"] .tfv-ico { background: var(--tfv-coral-tint); color: var(--tfv-coral-ink); box-shadow: none; }
.tfv-card[data-state="done"] .tfv-ico { background: var(--tfv-teal-tint); color: var(--tfv-teal-ink); box-shadow: none; }
.tfv-card[data-state="flag"] .tfv-ico { background: var(--tfv-purple-tint); color: var(--tfv-purple-ink); box-shadow: none; }

/* ── Badge: state label, mono like TIF eyebrows ── */
.tfv-badge {
  flex: none; font-family: var(--tfv-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 5px; white-space: nowrap;
  color: var(--tfv-muted); background: var(--tfv-paper); box-shadow: inset 0 0 0 1px var(--tfv-line);
  transition: background 0.3s, color 0.3s;
}
.tfv-badge[data-tone="done"] { color: var(--tfv-teal-ink); background: var(--tfv-teal-tint); box-shadow: none; }
.tfv-badge[data-tone="flag"] { color: var(--tfv-purple-ink); background: var(--tfv-purple-tint); box-shadow: none; }
.tfv-badge[data-tone="active"] { color: var(--tfv-coral-ink); background: var(--tfv-coral-tint); box-shadow: none; }
.tfv-badge[data-tone="ink"] { color: #fff; background: var(--tfv-ink); box-shadow: none; }

/* ── Slab: the layer Think It First builds. Ink block with TIF's parallel-stripe glyph; stripes run while busy ── */
.tfv-slab {
  position: relative; overflow: hidden;
  background: var(--tfv-ink); color: #fff; border-radius: var(--tfv-r);
  padding: 12px 14px; display: grid; gap: 3px;
  box-shadow: 0 14px 34px rgba(25, 25, 25, 0.18);
}
.tfv-slab .tfv-eyebrow { color: rgba(255, 255, 255, 0.6); }
.tfv-slab .tfv-title { color: #fff; }
.tfv-slab .tfv-sub { color: rgba(255, 255, 255, 0.66); }
.tfv-slab-glyph {
  position: absolute; top: 0; bottom: 0; right: 0; width: 64px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0 7px, transparent 7px 14px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 60%); mask: linear-gradient(90deg, transparent, #000 60%);
}
.tfv-slab.is-busy .tfv-slab-glyph { animation: tfv-stripes 0.7s linear infinite; }
/* Hidden Oct 30, 2026: on the dark slab the glyph read as a white shading bar drifting across the box (Jen).
   Undo: delete this rule. */
.tfv-slab-glyph { display: none; }
@keyframes tfv-stripes { to { background-position: 14px 0; } }
.tfv-slab > :not(.tfv-slab-glyph) { position: relative; }

/* ── Status pill ── */
.tfv-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 9px 3px 7px; border-radius: 5px;
  background: var(--tfv-coral-tint); color: var(--tfv-coral-ink); white-space: nowrap; justify-self: start;
  transition: background 0.3s, color 0.3s;
}
.tfv-pill::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; background: currentColor; }
.tfv-pill[data-tone="done"] { background: var(--tfv-teal-tint); color: var(--tfv-teal-ink); }
.tfv-pill[data-tone="flag"] { background: var(--tfv-purple-tint); color: var(--tfv-purple-ink); }
.tfv-slab .tfv-pill { background: rgba(241, 98, 81, 0.22); color: #ffb3a8; }
.tfv-slab .tfv-pill[data-tone="done"] { background: rgba(94, 175, 191, 0.25); color: #a9dde7; }

/* ── Check rows ── */
.tfv-checks { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.tfv-check { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--tfv-ink-2); opacity: 0; transform: translateY(3px); transition: opacity 0.3s, transform 0.3s; }
.tfv-check.is-in { opacity: 1; transform: none; }
.tfv-check i {
  flex: none; width: 15px; height: 15px; border-radius: 4px; margin-top: 1px;
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--tfv-dash);
}
.tfv-check i svg { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.tfv-check[data-state="pending"] i { box-shadow: inset 0 0 0 1.5px var(--tfv-coral); animation: tfv-blink 1.4s steps(2) infinite; }
.tfv-check[data-state="ok"] i { background: var(--tfv-teal); color: #fff; box-shadow: none; }
.tfv-check[data-state="flag"] i { background: var(--tfv-purple); color: #fff; box-shadow: none; }
.tfv-check[data-state="ok"] i svg, .tfv-check[data-state="flag"] i svg { opacity: 1; }
.tfv-check[data-state="flag"] { color: var(--tfv-purple-ink); }
.tfv-slab .tfv-check { color: rgba(255, 255, 255, 0.85); }
.tfv-slab .tfv-check[data-state="flag"] { color: #d9bdf0; }
.tfv-slab .tfv-check i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
@keyframes tfv-blink { 50% { opacity: 0.35; } }

/* ── Highlight: the lime marker on text the system extracted ── */
.tfv-hl {
  background-image: linear-gradient(var(--tfv-lime-tint), var(--tfv-lime-tint));
  background-repeat: no-repeat; background-size: 0% 100%; background-position: 0 0;
  transition: background-size 0.5s var(--tfv-ease); border-radius: 2px; padding-inline: 1px; margin-inline: -1px;
}
.tfv-hl.is-on { background-size: 100% 100%; }

/* ── Citation chip ── */
.tfv-cite {
  display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 4px;
  font-family: var(--tfv-mono); font-size: 11px; color: var(--tfv-ink); background: var(--tfv-lime-tint); vertical-align: 1px;
}

/* ── Person: avatar + human gate ── */
.tfv-avatar {
  flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; background: var(--tfv-purple-tint); color: var(--tfv-purple-ink);
}
.tfv-btn {
  font: inherit; font-size: 12px; font-weight: 700; border: 0; border-radius: 6px; padding: 5px 10px; cursor: default;
  background: var(--tfv-ink); color: #fff; transition: transform 0.12s, background 0.3s;
}
.tfv-btn.is-ghost { background: transparent; color: var(--tfv-ink-2); box-shadow: inset 0 0 0 1px var(--tfv-line); font-weight: 400; }
.tfv-btn.is-pressed { transform: scale(0.94); }
.tfv-btn.is-done { background: var(--tfv-teal-ink); }

/* ── Log: timestamped activity rows (shadcn table feel) ── */
.tfv-log { display: grid; font-size: 12.5px; }
.tfv-log-row {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 7px 2px; border-top: 1px solid var(--tfv-line);
  animation: tfv-rowin 0.35s var(--tfv-ease);
}
.tfv-log-row > :first-child { font-family: var(--tfv-mono); font-size: 11px; color: var(--tfv-muted); }
.tfv-log-row > :nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tfv-ink-2); }
@keyframes tfv-rowin { from { opacity: 0; transform: translateY(-4px); } }

/* ── Shells ── */
.tfv-pop { transition: opacity 0.35s var(--tfv-ease), transform 0.35s var(--tfv-ease); }
.tfv-pop:not(.is-open) { opacity: 0; transform: translateY(6px); }
/* Softer entrance since Oct 30 (was 0.5s and an 8px drop; it read as a blink on restart). */
.tfv-enter { animation: tfv-enter 0.9s var(--tfv-ease); }
@keyframes tfv-enter { from { opacity: 0; transform: translateY(-3px); } }
.tfv-typing::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--tfv-coral); animation: tfv-blink 0.9s steps(2) infinite; }

@media (prefers-reduced-motion: reduce) {
  .tfv-flow, .tfv-slab-glyph, .tfv-check[data-state="pending"] i, .tfv-typing::after, .tfv-log-row { animation: none !important; }
}

/* ══ Screens: the hero surfaces. Rule: the screen is the hero; wires and tiles only feed it. ══ */

/* Browser window */
.tfv-browser { background: var(--tfv-card); border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--tfv-line), 0 18px 44px rgba(25, 25, 25, 0.1); display: flex; flex-direction: column; min-width: 0; }
.tfv-browser-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: var(--tfv-paper); border-bottom: 1px solid var(--tfv-line); }
.tfv-browser-bar > i { flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--tfv-dash); }
.tfv-url { flex: 1; min-width: 0; margin-left: 6px; font-family: var(--tfv-mono); font-size: 11px; color: var(--tfv-muted); background: var(--tfv-card); border-radius: 5px; padding: 3px 8px; box-shadow: inset 0 0 0 1px var(--tfv-line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tfv-browser-body { position: relative; flex: 1; min-height: 0; padding: 12px 14px; display: grid; gap: 8px; align-content: start; }

/* App window: sidebar + main, for ERP / inbox / CRM style screens */
.tfv-app { display: grid; grid-template-columns: 116px minmax(0, 1fr); min-height: 0; }
.tfv-app-side { background: var(--tfv-paper); border-right: 1px solid var(--tfv-line); padding: 10px 8px; display: grid; gap: 3px; align-content: start; font-size: 12px; color: var(--tfv-muted); }
.tfv-app-side > span { padding: 4px 7px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tfv-app-side > span.is-on { background: var(--tfv-card); color: var(--tfv-ink); font-weight: 700; box-shadow: 0 0 0 1px var(--tfv-line); }
.tfv-app-main { padding: 12px 14px; display: grid; gap: 8px; align-content: start; min-width: 0; }
@container (max-width: 520px) { .tfv-app { grid-template-columns: minmax(0, 1fr); } .tfv-app-side { display: none; } }

/* Phone */
.tfv-phone { width: 220px; max-width: 100%; border-radius: 28px; padding: 8px; background: var(--tfv-ink); box-shadow: 0 22px 50px rgba(25, 25, 25, 0.22); }
.tfv-phone-screen { position: relative; border-radius: 21px; background: var(--tfv-paper); overflow: hidden; min-height: 380px; display: grid; align-content: start; gap: 8px; padding: 30px 10px 12px; }
.tfv-phone-screen::before { content: ""; position: absolute; top: 8px; left: 50%; width: 64px; height: 16px; margin-left: -32px; border-radius: 9px; background: var(--tfv-ink); }

/* Form field: label + value that types in */
.tfv-field { display: grid; gap: 3px; min-width: 0; }
.tfv-field > span:first-child { font-family: var(--tfv-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tfv-muted); }
.tfv-input { min-height: 26px; padding: 5px 8px; border-radius: 6px; background: var(--tfv-card); box-shadow: inset 0 0 0 1px var(--tfv-line); font-size: 12px; color: var(--tfv-ink); overflow: hidden; white-space: normal; overflow-wrap: anywhere; transition: box-shadow 0.3s, background 0.3s; }
/* Oct 31, 2026 (Jen #2, standing rule): text wraps to a new line, never spills out of its box or truncates with "…".
   Was: text-overflow: ellipsis; white-space: nowrap. */
.tfv-input.is-focus { box-shadow: inset 0 0 0 1.5px var(--tfv-coral); }
.tfv-input.is-filled { background: rgba(185, 204, 101, 0.16); }
.tfv-input.is-flag { box-shadow: inset 0 0 0 1.5px var(--tfv-purple); }

/* Chat */
.tfv-bubble { max-width: 86%; padding: 8px 11px; border-radius: 12px; font-size: 12px; line-height: 1.45; animation: tfv-enter 0.35s var(--tfv-ease); }
.tfv-bubble.is-user { justify-self: end; background: var(--tfv-ink); color: #fff; border-bottom-right-radius: 4px; }
.tfv-bubble.is-agent { justify-self: start; background: var(--tfv-card); color: var(--tfv-ink-2); box-shadow: 0 0 0 1px var(--tfv-line); border-bottom-left-radius: 4px; }
.tfv-dots { display: inline-flex; gap: 3px; padding: 4px 2px; }
.tfv-dots i { width: 5px; height: 5px; border-radius: 2px; background: var(--tfv-faint); animation: tfv-dot 1s infinite; }
.tfv-dots i:nth-child(2) { animation-delay: 0.15s; } .tfv-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tfv-dot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }

/* Notification (phone / desktop toast) */
.tfv-notice { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 2px 8px; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 0 0 1px var(--tfv-line), 0 10px 26px rgba(25, 25, 25, 0.12); font-size: 12.5px; animation: tfv-drop 0.45s var(--tfv-ease); }
.tfv-notice > .tfv-ico { grid-row: span 2; width: 26px; height: 26px; }
@keyframes tfv-drop { from { opacity: 0; transform: translateY(-14px); } }

/* Cursor: s.point(el, { click }) moves it; it is the viewer's stand-in, not the AI */
.tfv-cursor { position: absolute; left: 0; top: 0; z-index: 3; width: 18px; height: 18px; pointer-events: none; opacity: 0; transition: left 0.7s var(--tfv-ease), top 0.7s var(--tfv-ease), opacity 0.3s; }
.tfv-cursor svg { width: 18px; height: 18px; fill: var(--tfv-ink); stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 2px 3px rgba(25, 25, 25, 0.25)); }
.tfv-cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--tfv-coral); opacity: 0; transform: scale(0.4); }
.tfv-cursor.is-click::after { animation: tfv-ripple 0.45s var(--tfv-ease); }
@keyframes tfv-ripple { 0% { opacity: 0.9; transform: scale(0.4); } 100% { opacity: 0; transform: scale(1.6); } }

@media (prefers-reduced-motion: reduce) {
  .tfv-dots i, .tfv-bubble, .tfv-notice { animation: none !important; }
  .tfv-cursor { display: none; }
}

/* ── Pause / Play control (WCAG 2.2.2, Nov 6, 2026). Added by kit.js after the .tfv root. ── */
.tfv.is-paused, .tfv.is-paused *, .tfv.is-paused *::before, .tfv.is-paused *::after { animation-play-state: paused !important; }
.tfv-controls { display: flex; justify-content: flex-end; margin-top: 10px; }
.tfv-pause {
  align-items: center; background: transparent; border: 1px solid currentColor; border-radius: 100px; color: inherit; cursor: pointer;
  display: inline-flex; font-family: "Apercu Mono", ui-monospace, monospace; font-size: 12px; gap: 8px; letter-spacing: .06em;
  line-height: 1; min-height: 32px; padding: 6px 14px; text-transform: uppercase;
}
.tfv-pause:hover { background: rgba(127, 127, 127, .12); }
.tfv-pause:focus-visible { outline: 3px solid var(--tif-focus-ring, #c43e2e); outline-offset: 3px; }
.tfv-pause svg { fill: currentColor; flex: none; }
.tfv-pause .tfv-play-i, .tfv-pause[data-paused="true"] .tfv-pause-i { display: none; }
.tfv-pause[data-paused="true"] .tfv-play-i { display: inline; }
