/* Flagship primitives (briefs 5, 6, 7): product sub-nav, polarity bands, snap carousel,
   frosted pills with native dialog sheets, bill teardown, telemetry labs, gauges,
   quorum lattice, reserve flow, device frames, hub rows, view transitions.
   GPU-only motion (transform, opacity, clip-path). Strict CSP: no inline styles. */

/* ---------- page-enter transitions (same-origin, progressive) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 160ms ease both fl-fade-out; }
::view-transition-new(root) { animation: 460ms var(--ease-expo) both fl-wipe-down; }
[data-project="trimline"]::view-transition-new(root) { animation-name: fl-wipe-right; }
[data-project="core"]::view-transition-new(root), [data-project="systems"]::view-transition-new(root), [data-project="labs"]::view-transition-new(root) { animation-name: fl-wipe-down; }
[data-project="humanity"]::view-transition-new(root) { animation-name: fl-orbit-rise; animation-duration: 560ms; }
[data-project="aegis"]::view-transition-new(root) { animation-name: fl-scan-lock; animation-duration: 340ms; }
[data-project="humn"]::view-transition-new(root) { animation-name: fl-ribbon; animation-duration: 480ms; }
[data-project="founder"]::view-transition-new(root) { animation-name: fl-settle; animation-duration: 560ms; }
html.is-telemetry::view-transition-new(root) { animation-name: fl-fade-in; animation-duration: 380ms; }
@keyframes fl-fade-out { to { opacity: 0; } }
@keyframes fl-fade-in { from { opacity: 0; } }
@keyframes fl-wipe-down { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fl-wipe-right { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fl-orbit-rise { from { clip-path: circle(12% at 50% 105%); } to { clip-path: circle(140% at 50% 105%); } }
@keyframes fl-scan-lock { from { clip-path: inset(50% 0 50% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fl-ribbon { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
@keyframes fl-settle { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* ---------- sticky product sub-nav ---------- */
.fl-subnav {
  position: sticky; top: 64px; z-index: 30;
  background: rgba(250, 249, 246, 0.82);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border-hairline);
}
.fl-subnav .fx-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; }
.fl-subnav__name { font-weight: 700; letter-spacing: -0.02em; font-size: 1.02rem; color: var(--ink-primary); text-decoration: none; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fl-subnav__right { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.fl-subnav details { position: relative; }
.fl-subnav summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.88rem; font-weight: 600; color: var(--ink-secondary); padding: 0.4rem 0.6rem; border-radius: var(--radius-pill); }
.fl-subnav summary::-webkit-details-marker { display: none; }
.fl-subnav summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 200ms var(--ease-expo); }
.fl-subnav details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.fl-subnav__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--bg-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-md); padding: 0.4rem; box-shadow: 0 18px 40px -20px rgba(17, 18, 20, 0.35); display: grid; }
.fl-subnav__menu a { padding: 0.55rem 0.75rem; border-radius: 10px; color: var(--ink-primary); text-decoration: none; font-size: 0.9rem; }
.fl-subnav__menu a:hover, .fl-subnav__menu a:focus-visible { background: var(--bg-muted); }
.fl-subnav__pill { display: inline-flex; align-items: center; padding: 0.42rem 0.95rem; border-radius: var(--radius-pill); background: var(--accent); color: #fff; font-weight: 600; font-size: 0.86rem; text-decoration: none; white-space: nowrap; }
@media (max-width: 1080px) { .fl-subnav { top: 60px; } }
@media (max-width: 520px) { .fl-subnav summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .fl-subnav__name { font-size: 0.95rem; } .fl-subnav .fx-wrap { gap: 0.5rem; } .fl-subnav__right { gap: 0.25rem; } .fl-subnav__pill { padding: 0.4rem 0.8rem; font-size: 0.82rem; } }

/* ---------- polarity bands: alabaster, obsidian proof, white values ---------- */
.fl-obsidian { background: #000; color: var(--ink-on-dark); }
.fl-obsidian .eyebrow { color: color-mix(in srgb, var(--accent) 45%, #fff); }
.fl-obsidian .fx-h2, .fl-obsidian h2, .fl-obsidian h3 { color: #fff; }
.fl-obsidian .fx-sub, .fl-obsidian p { color: var(--ink-on-dark-muted); }
.fl-obsidian p a, .fl-obsidian li a, .fl-obsidian td a { color: #fff; }
.fl-obsidian .fx-h1, .fl-obsidian h1 { color: #fff; }
.fl-obsidian .fx-lead { color: #C9CDD3; }
.fl-obsidian .fx-crumb, .fl-obsidian .fx-crumb a { color: #A1A6B0; }
.fl-obsidian .fx-meta { color: #8B929E; }
.fl-obsidian .fx-meta b { color: #E6E4DD; }
.fl-obsidian .fx-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: transparent; }
.fl-obsidian .fx-btn--white { color: #111214; background: #fff; }
.glass-icon-btn [hidden] { display: none !important; }
.fl-subnav details, .fl-subnav summary { border: 0; background: none; box-shadow: none; margin: 0; }
.fl-subnav details { padding: 0; }
.fl-lattice-ctl { margin-top: 1rem; }
.fl-white { background: #fff; }
.fl-band { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.fl-band > .fx-wrap > .fx-h2 { max-width: 22ch; }

/* ---------- huge telemetry stat stack ---------- */
.fl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg); overflow: hidden; margin: 2rem 0 0; }
.fl-stat { background: #000; padding: clamp(1.4rem, 3vw, 2.2rem); text-decoration: none; display: block; }
.fl-stat strong { display: block; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: #fff; }
.fl-stat span { display: block; margin-top: 0.7rem; color: var(--ink-on-dark-muted); font-size: 0.92rem; max-width: 30ch; }
.fl-stat em { display: inline-block; margin-top: 0.8rem; font-style: normal; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 50%, #fff); }
a.fl-stat:hover strong, a.fl-stat:focus-visible strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@supports (animation-timeline: view()) {
  .fl-stat strong { animation: fl-scale-in linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  @keyframes fl-scale-in { from { transform: scale(0.94); opacity: 0.4; } to { transform: scale(1); opacity: 1; } }
}

/* ---------- replayable telemetry timeline ---------- */
.fl-scope { margin-top: 2.25rem; background: #050607; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg); padding: clamp(1rem, 3vw, 1.75rem); }
.fl-scope__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.fl-scope__head h2, .fl-scope__head h3 { margin: 0; font-size: 1rem; color: #fff; }
.fl-scope svg { display: block; width: 100%; height: auto; }
.fl-scope figcaption { margin-top: 0.75rem; font-size: 0.8rem; color: var(--ink-on-dark-muted); }
.fl-trace { fill: none; stroke: var(--trace, #5EEAD4); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.fl-scope.is-on .fl-trace { animation: fl-draw 2.4s var(--ease-smooth) forwards; }
.fl-scope .fl-dot { opacity: 0; }
.fl-scope.is-on .fl-dot { animation: fl-pop 400ms ease forwards; animation-delay: var(--d, 2.2s); }
.fl-grid { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; }
.fl-axis { fill: #8B929E; font-size: 11px; font-family: var(--font-sans); }
.fl-lbl { fill: #fff; font-size: 13px; font-weight: 700; font-family: var(--font-sans); }
@keyframes fl-draw { to { stroke-dashoffset: 0; } }
@keyframes fl-pop { to { opacity: 1; } }
.fl-replay { border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); color: #fff; border-radius: var(--radius-pill); padding: 0.4rem 0.9rem; font: 600 0.82rem/1 var(--font-sans); cursor: pointer; }
.fl-replay:hover { background: rgba(255, 255, 255, 0.14); }
html[data-motion-paused] .fl-scope.is-on .fl-trace { animation-play-state: paused; }

/* ---------- "Take a closer look" snap carousel (brief 6 verbatim, tokens) ---------- */
.flagship-chapter { max-width: var(--max-width); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 1.25rem; }
.chapter-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem; margin-bottom: 2rem; }
.chapter-title { margin: 0.35rem 0 0; font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.1; }
.carousel-controls { display: inline-flex; align-items: center; gap: 0.55rem; }
.glass-icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-hairline); background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink-primary); display: grid; place-items: center; cursor: pointer; transition: transform 180ms var(--ease-expo), background 180ms ease, border-color 180ms ease; }
.glass-icon-btn:hover { background: #fff; border-color: var(--border-strong); transform: scale(1.06); }
.glass-icon-btn:active { transform: scale(0.95); }
.glass-icon-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.fl-obsidian .glass-icon-btn { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.fl-obsidian .glass-icon-btn:hover { background: rgba(255, 255, 255, 0.2); }
.fl-modes { display: inline-flex; gap: 0.35rem; padding: 0.25rem; border-radius: var(--radius-pill); background: var(--bg-muted); border: 1px solid var(--border-hairline); flex-wrap: wrap; }
.fl-modes button { border: 0; background: transparent; border-radius: var(--radius-pill); padding: 0.45rem 0.9rem; font: 600 0.84rem/1 var(--font-sans); color: var(--ink-secondary); cursor: pointer; }
.fl-modes button[aria-pressed="true"] { background: var(--bg-card); color: var(--ink-primary); box-shadow: 0 2px 8px -4px rgba(17, 18, 20, 0.3); }
.snap-carousel.is-snap { scroll-snap-type: x mandatory; }
.snap-carousel { display: flex; gap: 1.15rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 0.25rem 0.1rem 1rem; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.snap-carousel::-webkit-scrollbar { display: none; }
.snap-carousel:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius-lg); }
.snap-slide { flex: 0 0 min(86vw, 420px); scroll-snap-align: start; border-radius: var(--radius-lg); padding: clamp(1.6rem, 3.5vw, 2.25rem); min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--border-hairline); transition: transform 420ms var(--ease-expo), box-shadow 420ms var(--ease-expo); }
.snap-slide:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(17, 18, 20, 0.32); }
.snap-slide--dark { background: var(--band-dark); color: var(--ink-on-dark); border-color: var(--band-dark-border); }
.snap-slide--accent { background: linear-gradient(155deg, var(--accent) 0%, var(--band-dark) 125%); color: #fff; border-color: transparent; }
.snap-slide--light { background: var(--bg-card); color: var(--ink-primary); }
.snap-slide--dark a, .snap-slide--accent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.snap-slide--light a { color: var(--ink-primary); text-decoration: underline; text-underline-offset: 3px; }
.snap-slide[hidden] { display: none; }
.slide-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; margin-bottom: auto; }
.snap-slide h3 { margin: 1.25rem 0 0.55rem; font-size: 1.4rem; letter-spacing: -0.025em; line-height: 1.18; color: inherit; }
.snap-slide p { margin: 0; font-size: 0.96rem; opacity: 0.9; color: inherit; }
.snap-slide .fl-demo { margin: 1rem 0 0; width: 100%; height: 96px; }
.carousel-dots { display: flex; justify-content: center; gap: 0; margin-top: 0.5rem; }
.carousel-dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; transition: width 280ms var(--ease-expo); }
.carousel-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 999px; background: var(--border-strong); transform: translate(-50%, -50%); transition: width 280ms var(--ease-expo), background 200ms ease; }
.carousel-dot[aria-current="true"] { width: 36px; }
.carousel-dot[aria-current="true"]::after { width: 26px; background: var(--accent); }
.fl-obsidian .carousel-dot::after { background: rgba(255, 255, 255, 0.3); }
.fl-obsidian .carousel-dot[aria-current="true"]::after { background: #fff; }

/* animated waste demos inside slides (pause with the stage toggle) */
.fl-demo .bar { transform-box: fill-box; transform-origin: left center; animation: fl-shrink 3.2s var(--ease-smooth) infinite alternate; }
.fl-demo .blink { animation: fl-blink 1.6s ease-in-out infinite; }
.fl-demo .flow { stroke-dasharray: 6 8; animation: fl-flow 1.4s linear infinite; }
.fl-demo .rise { transform-box: fill-box; transform-origin: center bottom; animation: fl-rise 3s var(--ease-smooth) infinite alternate; }
@keyframes fl-shrink { from { transform: scaleX(1); } to { transform: scaleX(var(--to, 0.4)); } }
@keyframes fl-blink { 50% { opacity: 0.25; } }
@keyframes fl-flow { to { stroke-dashoffset: -28; } }
@keyframes fl-rise { from { transform: scaleY(1); } to { transform: scaleY(var(--to, 0.5)); } }
html[data-motion-paused] .fl-demo *, html[data-motion-paused] .fl-anim, html[data-motion-paused] .fl-anim * { animation-play-state: paused !important; }

/* ---------- floating frosted "+" deep-dive pill ---------- */
.glass-pill-dock { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 2rem; pointer-events: none; }
.glass-pill-dock--static { position: static; }
.glass-pill-btn { pointer-events: auto; display: inline-flex; align-items: center; gap: 0.85rem; padding: 0.6rem 0.6rem 0.6rem 1.25rem; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(242, 240, 234, 0.8); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); color: var(--ink-primary); font: 600 0.92rem/1.2 var(--font-sans); text-align: left; box-shadow: 0 14px 36px -14px rgba(17, 18, 20, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.65); cursor: pointer; transition: transform 240ms var(--ease-expo), box-shadow 240ms var(--ease-expo); max-width: 100%; }
.glass-pill-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 42px -12px rgba(17, 18, 20, 0.34); }
.glass-pill-plus { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; transition: transform 280ms var(--ease-expo); }
.glass-pill-btn:hover .glass-pill-plus { transform: rotate(90deg); }
.fl-obsidian .glass-pill-btn { background: rgba(30, 32, 36, 0.72); color: #fff; border-color: rgba(255, 255, 255, 0.18); box-shadow: 0 14px 36px -14px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12); }

/* ---------- native dialog deep-dive sheet ---------- */
.deep-dive-dialog { width: min(780px, calc(100vw - 1.5rem)); max-width: none; max-height: min(88dvh, 840px); margin: auto; padding: 0; border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); background: var(--bg-canvas); color: var(--ink-primary); box-shadow: 0 32px 90px -24px rgba(0, 0, 0, 0.45); overflow: hidden; opacity: 0; transform: translateY(28px) scale(0.97); transition: opacity 320ms var(--ease-expo), transform 380ms var(--ease-expo), overlay 380ms allow-discrete, display 380ms allow-discrete; }
.deep-dive-dialog[open] { opacity: 1; transform: translateY(0) scale(1); }
@starting-style { .deep-dive-dialog[open] { opacity: 0; transform: translateY(28px) scale(0.97); } }
.deep-dive-dialog::backdrop { background: rgba(11, 12, 14, 0.56); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
@media (max-width: 640px) { .deep-dive-dialog { margin: auto 0 0; width: 100vw; border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 90dvh; } }
.deep-dive-sheet { max-height: min(88dvh, 840px); overflow-y: auto; padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.75rem) 1.25rem; }
.deep-dive-header h2 { margin: 0.4rem 0 0.6rem; font-size: clamp(1.45rem, 3.2vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.15; }
.deep-dive-lead { margin: 0 0 1.5rem; color: var(--ink-secondary); max-width: 60ch; }
.deep-dive-body { display: grid; gap: 1rem; }
.spec-card { background: var(--bg-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-md); padding: 1.15rem 1.3rem; min-width: 0; }
.spec-card h3 { margin: 0 0 0.4rem; font-size: 1.02rem; }
.spec-card p, .spec-card li { margin: 0; color: var(--ink-secondary); font-size: 0.93rem; }
.spec-card ul, .spec-card ol { margin: 0.3rem 0 0; padding-left: 1.15rem; }
.spec-card pre { margin: 0.6rem 0 0; background: #0B0C0E; color: #E6E4DD; border-radius: 12px; padding: 0.9rem 1rem; overflow-x: auto; font: 0.76rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
.deep-dive-close-dock { position: sticky; bottom: 0.25rem; display: flex; justify-content: center; margin-top: 1.5rem; pointer-events: none; }
.glass-close-btn { pointer-events: auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(17, 18, 20, 0.84); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.45); transition: transform 220ms var(--ease-expo), background 180ms ease; }
.glass-close-btn:hover { background: #000; transform: scale(1.08) rotate(90deg); }
body.fl-lock { overflow: hidden; }

/* ---------- Trimline exploded bill teardown (brief 7, CSP-safe) ---------- */
.teardown-band { background: #000; color: var(--ink-on-dark); padding: clamp(3.5rem, 8vw, 6.5rem) 1.25rem; overflow: hidden; }
.teardown-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
.teardown-copy h2 { margin: 0.45rem 0 0.85rem; font-size: clamp(1.85rem, 4vw, 2.85rem); letter-spacing: -0.03em; line-height: 1.08; color: #fff; }
.teardown-copy .eyebrow { color: #5EEAD4; }
.teardown-sub { color: var(--ink-on-dark-muted); margin: 0 0 1.75rem; max-width: 48ch; }
.teardown-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin-bottom: 1.5rem; }
.td-stat { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; padding: 0.85rem 0.75rem; min-width: 0; }
.td-stat--accent { border-color: rgba(20, 184, 166, 0.7); background: rgba(15, 118, 110, 0.18); }
.td-label { display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; color: #A1A6B0; }
.td-val { display: block; margin-top: 0.3rem; font-size: clamp(1rem, 2.4vw, 1.45rem); color: #fff; font-variant-numeric: tabular-nums; }
.teardown-control { display: block; font-size: 0.84rem; color: #A1A6B0; margin-bottom: 1rem; }
.teardown-control input { width: 100%; margin-top: 0.5rem; accent-color: #14B8A6; cursor: pointer; }
.td-footnote { font-size: 0.8rem; color: #A1A6B0; margin: 0; }
.td-footnote a { color: #5EEAD4; }
/* h23: layers stack from the core upward; the stage shrinks with --compress so no dead void is left on mobile.
   Opaque cards with z-index stepping: the outer layer sits lowest and fades first, so text never bleeds through. */
.teardown-stage { --compress: 0; --step: 74px; position: relative; width: min(100%, 410px); margin: 0 auto; padding-top: calc(4 * var(--step) * (1 - var(--compress))); perspective: 1100px; transition: padding-top 60ms linear; }
.strata-layer { position: absolute; left: 0; right: 0; bottom: calc(var(--i) * var(--step) * (1 - var(--compress))); padding: 0.95rem 1.15rem; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(14, 28, 26, 0.94); display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 0.75rem; align-items: baseline; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.9); transform-origin: center bottom; }
.strata-code { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; color: #5EEAD4; }
.strata-layer strong { font-size: 1.02rem; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.strata-layer small { grid-column: 1 / -1; font-size: 0.78rem; color: #B8C4C2; }
.strata-layer--4 { --i: 4; z-index: 1; opacity: clamp(0, calc(1 - var(--compress) * 2.5), 1); transform: scale(calc(1 - 0.06 * var(--compress))); }
.strata-layer--3 { --i: 3; z-index: 2; opacity: clamp(0, calc(1 - (var(--compress) - 0.2) * 2.5), 1); transform: scale(calc(1 - 0.045 * var(--compress))); }
.strata-layer--2 { --i: 2; z-index: 3; opacity: clamp(0, calc(1 - (var(--compress) - 0.4) * 2.5), 1); transform: scale(calc(1 - 0.03 * var(--compress))); }
.strata-layer--1 { --i: 1; z-index: 4; opacity: clamp(0, calc(1 - (var(--compress) - 0.6) * 2.5), 1); transform: scale(calc(1 - 0.015 * var(--compress))); }
.strata-layer--core { position: relative; bottom: auto; z-index: 5; background: linear-gradient(135deg, #0F766E, #0B1A19); border-color: #2DD4BF; box-shadow: 0 24px 60px -20px rgba(20, 184, 166, 0.45); }
@media (max-width: 420px) { .teardown-metrics { grid-template-columns: 1fr 1fr; } .teardown-metrics .td-stat:first-child { grid-column: 1 / -1; } }

/* ---------- bespoke procedural card art (replaces the quarter-arc cutout) ---------- */
.editorial-card__art::after { content: none; display: none; }
.editorial-card__art { background: var(--band-dark); }
.editorial-card__art .fl-art { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 700ms var(--ease-expo); }
.editorial-card:hover .fl-art { transform: scale(1.04); }

/* ---------- gauges (Distance-to-Cure / readiness) ---------- */
.fl-gauge { width: 132px; height: 132px; flex: 0 0 auto; }
.fl-gauge .track { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 10; }
.fl-gauge .seg { fill: none; stroke: color-mix(in srgb, var(--accent) 60%, #fff); stroke-width: 10; stroke-linecap: butt; opacity: 0.35; stroke-dasharray: var(--len) 999; stroke-dashoffset: var(--len); }
.fl-gauge.is-on .seg { animation: fl-draw 1.2s var(--ease-smooth) forwards; animation-delay: var(--d, 0s); }
.fl-gauge .seg.sealed { opacity: 1; }
.fl-gauge text { fill: #fff; font-family: var(--font-sans); }
.fl-light .fl-gauge .track { stroke: var(--border-hairline); }
.fl-light .fl-gauge text { fill: var(--ink-primary); }
.fl-light .fl-gauge .seg { stroke: var(--accent); }

/* ---------- track chapter bands ---------- */
.fl-chapter { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); text-decoration: none; color: inherit; }
.fl-chapter:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.fl-chapter h3 { margin: 0 0 0.3rem; font-size: 1.25rem; color: #fff; }
.fl-chapter p { margin: 0; }
.fl-chapter .fl-go { font-weight: 600; color: #fff; white-space: nowrap; }
.fl-chapter:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { .fl-chapter { grid-template-columns: auto 1fr; } .fl-chapter .fl-go { grid-column: 2; } .fl-chapter .fl-gauge { width: 92px; height: 92px; } }
.fl-pillar-h { margin: 2.5rem 0 0.5rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 45%, #fff); font-weight: 700; }

/* ---------- recon cards / data tables ---------- */
.fl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.fl-card { background: var(--bg-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-md); padding: 1.2rem 1.3rem; min-width: 0; }
.fl-card h3 { margin: 0 0 0.45rem; font-size: 1rem; }
.fl-card p, .fl-card li { color: var(--ink-secondary); font-size: 0.92rem; margin: 0; }
.fl-card ul, .fl-card ol { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.fl-card li + li { margin-top: 0.35rem; }
.fl-card .fl-k { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink-primary); font-variant-numeric: tabular-nums; display: block; line-height: 1.1; }
.fl-src { font-size: 0.78rem; color: var(--ink-secondary); margin-top: 0.75rem; }
.fl-obsidian .fl-card { background: #0B0C0E; border-color: rgba(255, 255, 255, 0.12); }
.fl-obsidian .fl-card h3, .fl-obsidian .fl-card .fl-k { color: #fff; }
.fl-obsidian .fl-card p, .fl-obsidian .fl-card li { color: var(--ink-on-dark-muted); }
.fl-mono { font: 0.82rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.fl-codebox { display: flex; gap: 0.5rem; align-items: center; background: #0B0C0E; color: #E6E4DD; border-radius: 12px; padding: 0.7rem 0.8rem; margin-top: 0.5rem; }
.fl-codebox code { flex: 1 1 auto; min-width: 0; font: 0.8rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.fl-codebox button { flex: 0 0 auto; border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: #fff; border-radius: 999px; padding: 0.3rem 0.7rem; font: 600 0.76rem/1 var(--font-sans); cursor: pointer; }

/* ---------- AEGIS lattice + pipeline ---------- */
.fl-lattice { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #0F141B; border: 1px solid rgba(255, 255, 255, 0.1); }
.fl-lattice canvas { display: block; width: 100%; height: 340px; touch-action: pan-y; }
.fl-lattice figcaption { position: absolute; left: 1rem; bottom: 0.8rem; font-size: 0.78rem; color: #A1A6B0; pointer-events: none; }
.fl-pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; counter-reset: pipe; margin-top: 1.5rem; }
.fl-pipe li { list-style: none; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; padding: 1rem; color: #A1A6B0; transition: border-color 400ms ease, color 400ms ease, background 400ms ease; min-width: 0; }
.fl-pipe li strong { display: block; color: #fff; font-size: 0.95rem; margin-bottom: 0.3rem; }
.fl-pipe li.is-lit { border-color: #DC2626; background: rgba(220, 38, 38, 0.08); }
.fl-pipe li.is-ok { border-color: #22C55E; background: rgba(34, 197, 94, 0.08); }
@media (max-width: 720px) { .fl-pipe { grid-template-columns: 1fr 1fr; } }
.fl-sim { margin-top: 1.25rem; }
.fl-sim output { display: block; margin-top: 0.75rem; font: 0.8rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #E6E4DD; background: #0B0C0E; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 0.9rem 1rem; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 3.2rem; }
.fl-btn-crimson { background: #B91C1C; color: #fff; border: 0; border-radius: var(--radius-pill); padding: 0.7rem 1.2rem; font: 600 0.92rem/1 var(--font-sans); cursor: pointer; }
.fl-btn-crimson:hover { background: #991B1B; }

/* ---------- HUMN reserve flow ---------- */
.fl-flow { width: 100%; height: auto; display: block; }
.fl-flow .node { fill: #FFFDF8; stroke: #C9BFA6; }
.fl-flow .node-k { fill: #4D6B3C; }
.fl-flow text { font-family: var(--font-sans); fill: #2B2A26; }
.fl-flow .lane { fill: none; stroke: #4D6B3C; stroke-width: 2.5; stroke-dasharray: 7 9; animation: fl-flow 1.6s linear infinite; }
.fl-flow .lane.alt { stroke: #A0784B; }

/* ---------- device frames for real captures ---------- */
.fl-frames { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.fl-frame { margin: 0; background: var(--bg-card); border: 1px solid var(--border-hairline); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px -32px rgba(17, 18, 20, 0.45); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 300ms var(--ease-expo), box-shadow 300ms var(--ease-expo); }
a.fl-frame:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(17, 18, 20, 0.5); }
.fl-frame__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #F2F0EA; border-bottom: 1px solid var(--border-hairline); }
.fl-frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D4D0C5; }
.fl-frame__bar span { margin-left: 8px; font-size: 0.72rem; color: var(--ink-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: #F2F0EA; }
.fl-frame figcaption { padding: 0.85rem 1rem 1rem; font-size: 0.86rem; color: var(--ink-secondary); }
.fl-frame figcaption strong { display: block; color: var(--ink-primary); font-size: 1rem; margin-bottom: 0.2rem; }
.fl-showcase { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
.fl-showcase .fl-frames { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .fl-showcase, .fl-showcase .fl-frames { grid-template-columns: 1fr; } }

/* ---------- bento (founder monograph) ---------- */
.fl-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.fl-bento > * { grid-column: span 2; }
.fl-bento > .w3 { grid-column: span 3; }
.fl-bento > .w4 { grid-column: span 4; }
@media (max-width: 860px) { .fl-bento { grid-template-columns: 1fr 1fr; } .fl-bento > *, .fl-bento > .w3, .fl-bento > .w4 { grid-column: span 2; } }
.fl-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; padding: 1.3rem 1.4rem; border-radius: var(--radius-lg); border: 1px solid var(--border-hairline); background: var(--bg-card); text-decoration: none; color: inherit; overflow: hidden; transition: transform 300ms var(--ease-expo), border-color 200ms ease; }
.fl-tile:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.fl-tile h3 { margin: 0 0 0.3rem; font-size: 1.1rem; position: relative; }
.fl-tile p { margin: 0; color: var(--ink-secondary); font-size: 0.92rem; position: relative; }
.fl-tile .fl-art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 100%); mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 100%); }
.fl-tile--dark .fl-status, .fl-tile--dark h3, .fl-tile--dark p { position: relative; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }
.fl-tile--dark { background: var(--band-dark); color: #fff; border-color: transparent; }
.fl-tile--dark h3 { color: #fff; }
.fl-tile--dark p { color: var(--ink-on-dark-muted); }
.fl-status { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.76rem; font-weight: 600; color: var(--ink-secondary); margin-bottom: auto; position: relative; }
.fl-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18); }
.fl-status.is-planned::before { background: #A1A6B0; box-shadow: none; }
.fl-tile--dark .fl-status { color: var(--ink-on-dark-muted); }

/* founder linen daylight sweep */
[data-project="founder"] .hero-stage { background: linear-gradient(180deg, #F7F3EA, var(--bg-canvas)); }
.fl-daylight { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgba(255, 244, 214, 0.14) 48%, transparent 66%); background-size: 220% 100%; animation: fl-sweep 14s ease-in-out infinite alternate; }
@keyframes fl-sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- hub ---------- */
.fl-hub-summary { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin-top: 1.5rem; }
.fl-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; }
.fl-badge--pass { background: rgba(22, 163, 74, 0.14); color: #166534; }
.fl-badge--fail { background: rgba(220, 38, 38, 0.14); color: #B91C1C; }
.fl-badge--skip { background: rgba(161, 166, 176, 0.2); color: #4B5058; }
.fl-obsidian .fl-badge--pass { color: #4ADE80; }
.fl-obsidian .fl-badge--fail { color: #F87171; }
.fl-obsidian .fl-badge--skip { color: #C9CDD3; }
.fl-hub { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.fl-hub th, .fl-hub td { text-align: left; padding: 0.75rem 0.6rem; border-bottom: 1px solid var(--border-hairline); vertical-align: top; }
.fl-hub th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-secondary); }
.fl-hub td.fl-mono { font-size: 0.78rem; color: var(--ink-secondary); }
.fl-hub tr:target { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.fl-hub-wrap { overflow-x: auto; border: 1px solid var(--border-hairline); border-radius: var(--radius-md); background: var(--bg-card); }
@media (max-width: 720px) { .fl-hub thead { display: none; } .fl-hub tr { display: block; padding: 0.6rem 0; border-bottom: 1px solid var(--border-hairline); } .fl-hub td { display: block; border: 0; padding: 0.2rem 0.8rem; } }
.footer-hub-pill { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.8rem; color: var(--ink-on-dark-muted); text-decoration: none; border: 1px solid var(--band-dark-border); border-radius: 999px; padding: 0.35rem 0.8rem; }
.footer-hub-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.footer-hub-pill.is-warn::before { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2); }
.footer-hub-pill:hover { color: #fff; }
a.fx-mlink-hub { color: inherit; text-decoration: none; }
a.fx-mlink-hub:hover strong { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 404 ---------- */
.fl-404 { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 4rem 1.25rem; }
.fl-404 strong { display: block; font-size: clamp(4.5rem, 16vw, 9rem); line-height: 1; letter-spacing: -0.06em; color: var(--accent); font-variant-numeric: tabular-nums; }
.fl-404 .fx-cta-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .fl-demo *, .fl-flow .lane, .fl-daylight, .fl-anim, .fl-anim * { animation: none !important; }
  .fl-scope .fl-trace { stroke-dashoffset: 0; }
  .fl-scope .fl-dot { opacity: 1; }
  .fl-gauge .seg { stroke-dashoffset: 0; animation: none !important; }
}

/* ambient wash: the hovered product card tints the page edge with its own accent */
body::after { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(70% 55% at 50% 100%, var(--fl-wash, transparent), transparent 70%); opacity: 0; transition: opacity 600ms ease; }
body.fl-washing::after { opacity: 0.16; }
@media (prefers-reduced-motion: reduce) { body::after { transition: none; } }
.snap-slide .fl-src { display: block; margin-top: 0.85rem; color: inherit; opacity: 0.8; overflow-wrap: anywhere; }

@media (max-width: 600px) { .teardown-stage { --step: 64px; } .strata-layer { padding: 0.8rem 0.95rem; } }
@media (prefers-reduced-motion: reduce) { .teardown-stage { transition: none; } }

/* ---------- h23 QA fixes ---------- */
/* B1: anchor jumps land below the main nav plus the sticky product sub-nav */
html { scroll-padding-top: 88px; }
html:has(.fl-subnav) { scroll-padding-top: 140px; }
h2[id], section[id], [id].flagship-chapter { scroll-margin-top: 8px; }

/* h23: Tasks for Humanity mission builder and Connect Bot sheet */
.tfh-mission { padding: clamp(2rem, 5vw, 3.25rem) 0; background: var(--bg-card); border-bottom: 1px solid var(--border-hairline); }
.tfh-set { border: 0; margin: 1rem 0 0; padding: 0; min-width: 0; }
.tfh-set legend { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-secondary); margin-bottom: 0.5rem; }
.tfh-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tfh-chip { position: relative; display: inline-flex; }
.tfh-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tfh-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.95rem; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg-page, #fff); color: var(--ink-primary); font-size: 0.88rem; font-weight: 600; }
.tfh-chip input:checked + span { background: var(--ink-primary); color: #fff; border-color: var(--ink-primary); }
.tfh-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.tfh-chip--role input:checked + span { background: var(--accent); border-color: var(--accent); }
.tfh-mission__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.tfh-mission__status { margin: 0; color: var(--ink-secondary); font-size: 0.9rem; }
.tfh-mission__next { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tfh-next { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font: 700 0.85rem/1 inherit; text-decoration: none; cursor: pointer; }
.tfh-clear { min-height: 40px; padding: 0 0.9rem; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; color: var(--ink-primary); font: 600 0.85rem/1 inherit; cursor: pointer; margin-left: auto; }
.fl-chapter.is-muted { opacity: 0.38; filter: saturate(0.4); }
.tfh-tabs .fx-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1rem; }
.tfh-tabs .fx-tabs [role="tab"] { min-height: 40px; padding: 0 0.9rem; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; color: var(--ink-primary); font: 600 0.85rem/1 inherit; cursor: pointer; }
.tfh-tabs .fx-tabs [role="tab"][aria-selected="true"] { background: var(--ink-primary); color: #fff; border-color: var(--ink-primary); }
.tfh-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.tfh-step { padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--border-hairline); background: var(--bg-card); min-width: 0; }
.tfh-step h3 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.tfh-row { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.7rem; }
.tfh-row label { font-size: 0.85rem; font-weight: 600; }
.tfh-row label span { font-weight: 400; color: var(--ink-secondary); }
.tfh-row input, .tfh-row select { min-height: 44px; padding: 0 0.8rem; border-radius: 10px; border: 1px solid var(--border-strong); background: #fff; color: var(--ink-primary); font: 16px/1.2 inherit; }
.tfh-token { margin-top: 0.8rem; padding: 0.8rem; border-radius: 12px; background: #0B1A19; color: #E6F4F1; }
.tfh-token code { display: block; padding: 0.5rem 0; overflow-wrap: anywhere; word-break: break-all; font-size: 0.82rem; color: #5EEAD4; }
.tfh-token .fl-src { color: rgba(230, 244, 241, 0.75); }
.tfh-token .fx-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.tfh-copy { min-height: 36px; margin: 0.4rem 0; padding: 0 0.8rem; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; font: 600 0.8rem/1 inherit; cursor: pointer; }
.tfh-code { margin: 0; padding: 0.85rem; border-radius: 12px; background: #0B0D0F; color: #E5E7EB; font-size: 0.78rem; line-height: 1.5; overflow-x: auto; white-space: pre; max-width: 100%; }
.tfh-status { margin: 0.6rem 0 0; font-size: 0.85rem; color: var(--ink-secondary); }
.tfh-log { margin: 0.75rem 0 0; padding-left: 1.2rem; font-size: 0.84rem; overflow-wrap: anywhere; }
.tfh-log .is-ok { color: #047857; }
.tfh-log .is-bad { color: #B91C1C; }
.glass-pill-dock--static { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.tfh-chip--soon > span { border-style: dashed; color: var(--ink-secondary); background: transparent; }
.tfh-chip--soon small { font-weight: 500; margin-left: 0.3rem; }
.tfh-feed { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.85rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.tfh-feed__item { padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--border-hairline); background: var(--bg-card); min-width: 0; }
.tfh-feed__item.is-muted { display: none; }
.tfh-feed__item p { margin: 0 0 0.6rem; font-size: 0.92rem; line-height: 1.55; overflow-wrap: anywhere; }
.tfh-feed__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.75rem; font-size: 0.75rem !important; color: var(--ink-secondary); font-weight: 600; }
.tfh-pending { padding: 0.1rem 0.5rem; border-radius: 999px; background: #FEF3C7; color: #78350F; }
.tfh-feed__src { font-size: 0.82rem !important; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tfh-feed__src span { color: var(--ink-secondary); }

.tfh-token .fx-btn--ghost { background: transparent; }
.tfh-tabs .fx-tabs { background: none; padding: 0; border-radius: 0; box-shadow: none; border: 0; }
