/* Front site (front page and the B1-B11 pages): ONE structure, two brand layers (Austen, 2026-10-12; 03 §19).
   Layout and components are shared; each brand supplies only tokens (fonts, colours, radius, shadow, glow), from the
   Microdramas structure canvas v2 / design-source/front_gen.py and Brand's design systems. Dark theme, as approved. */

/* ---------- fonts ---------- */
/* Cabinet Grotesk by Indian Type Foundry, from Fontshare (fontshare.com), free under the ITF Free Font License.
   Self-hosted for VerticalSmarts (Austen, 2026-10-12). Bad Lucy's Syne and Bricolage Grotesque come from Google. */
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/CabinetGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/CabinetGrotesk-Extrabold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- brand layers: tokens only ---------- */
body.fp-vs {
  --bg-canvas:#0b0f19; --bg-surface:#161e2e; --bg-surface-elevated:#1e293b; --bg-row-stripe:#111726;
  --line:#1e293b; --border-focus:#3b82f6;
  --text-primary:#f8fafc; --text-secondary:#94a3b8; --text-muted:#8a99ad;
  --font-sans:Inter,system-ui,-apple-system,sans-serif;
  --f-display:"Cabinet Grotesk","Playfair Display",serif; --f-head:"Cabinet Grotesk","Playfair Display",serif;
  --f-accent:#3b82f6; --f-accent-h:#60a5fa; --f-on:#0b0f19; --f-link:#3b82f6; --f-link-h:#60a5fa;
  --f-line2:#334155; --f-frame:#334155; --f-tag:#f97316; --f-r:8px;
  --f-h1:38px; --f-h2:24px; --f-feat:38px; --f-fig:38px;
  --f-shadow:0 4px 6px -1px rgba(0,0,0,0.5),0 2px 4px -2px rgba(0,0,0,0.3); --f-glow:none;
  --f-t0:rgba(249,115,22,0.16); --f-t1:rgba(59,130,246,0.16); --f-t2:rgba(74,222,128,0.14);
  --f-k0:#f97316; --f-k1:#60a5fa; --f-k2:#4ade80; --f-warn:#f97316; --f-pos:#4ade80;
}
body.fp-bl {
  --bg-canvas:#090a0f; --bg-surface:#12151e; --bg-surface-elevated:#1b1f2d; --bg-row-stripe:#0e1119;
  --line:#1b1f2d; --border-focus:#ef4444;
  --text-primary:#f3f4f6; --text-secondary:#9ca3af; --text-muted:#8b929e;
  --font-sans:Inter,system-ui,sans-serif;
  --f-display:Syne,sans-serif; --f-head:"Bricolage Grotesque",Inter,sans-serif;
  --f-accent:#ef4444; --f-accent-h:#f87171; --f-on:#090a0f; --f-link:#f87171; --f-link-h:#fca5a5;
  --f-line2:#2a2f40; --f-frame:rgba(239,68,68,0.35); --f-tag:#ef4444; --f-r:12px;
  --f-h1:31px; --f-h2:22px; --f-feat:28px; --f-fig:34px;
  --f-shadow:0 10px 15px -3px rgba(0,0,0,0.7),0 4px 6px -4px rgba(239,68,68,0.1); --f-glow:0 0 12px rgba(239,68,68,0.25);
  --f-t0:rgba(239,68,68,0.14); --f-t1:rgba(245,158,11,0.14); --f-t2:rgba(192,132,252,0.14);
  --f-k0:#f87171; --f-k1:#f59e0b; --f-k2:#c084fc; --f-warn:#f59e0b; --f-pos:#34d399;
  --brand-heart:#ef4444; --brand-heart-glow:rgba(239,68,68,0.25);
}
body.fp { margin: 0; background: var(--bg-canvas, #0b0f19); color: var(--text-primary, #f8fafc); font: 16px/1.5 var(--font-sans, system-ui); font-variant-numeric: tabular-nums; color-scheme: dark; position: relative; min-height: 100vh; overflow-x: hidden; }
body.fp :where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }

/* ---------- brand imagery (layer hooks: logo heart, lattice texture) ---------- */
.bl-heart { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.bl-heart path { fill: var(--brand-heart); }
.bl-heart-outline path { fill: none; stroke: var(--brand-heart); stroke-width: 2; stroke-linejoin: round; }
.bl-heart-glow { filter: drop-shadow(0 0 6px var(--brand-heart-glow)); }
.bl-lattice { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- shared components ---------- */
.fp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.fp-card { background: var(--bg-surface); border: 1px solid var(--line); border-radius: var(--f-r); box-shadow: var(--f-shadow); color: var(--text-primary); min-width: 0; box-sizing: border-box; }
a.fp-card { text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
a.fp-card:hover, a.fp-card:focus-visible { border-color: var(--f-accent); box-shadow: var(--f-shadow), var(--f-glow); }
.fp-card-t { font: 700 18px/1.2 var(--f-head); font-optical-sizing: auto; }
.fp-card-p { font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.fp-lnk { color: var(--f-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fp-lnk:hover { color: var(--f-link-h); }
.fp-lbl { font: 600 12px/16px var(--font-sans); letter-spacing: .04em; color: var(--text-secondary); }
.fp-pill { display: inline-block; font: 600 12px/16px var(--font-sans); letter-spacing: .04em; padding: 2px 8px; border-radius: 9999px; border: 1px solid var(--f-line2); color: var(--text-secondary); white-space: nowrap; }
.fp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14px/20px var(--font-sans); min-height: 44px; padding: 0 18px; box-sizing: border-box; border-radius: var(--f-r); text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.fp-btn-pri { background: var(--f-accent); color: var(--f-on); }
.fp-btn-pri:hover { background: var(--f-accent-h); }
.fp-btn-sec { background: transparent; color: var(--text-primary); border-color: var(--f-line2); }
.fp-btn-sec:hover { border-color: var(--f-accent); }
.fp-more { align-self: flex-start; font-size: 16px; min-height: 48px; padding: 0 24px; }
.fp-h2 { margin: 0; font: 700 var(--f-h2)/1.2 var(--f-head); }
.fp-demo { position: absolute; top: 10px; left: 10px; font: 600 11px/14px var(--font-sans); letter-spacing: .04em; background: var(--bg-canvas); color: var(--text-primary); border: 1px solid var(--f-tag); border-radius: 4px; padding: 2px 6px; z-index: 1; }
.fp-tbl-frame { overflow-x: auto; }
.fp-tbl { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.fp-tbl th { text-align: left; font: 600 12px/16px var(--font-sans); letter-spacing: .04em; color: var(--text-secondary); padding: 10px 12px; border-bottom: 1px solid var(--f-line2); white-space: nowrap; }
.fp-tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fp-tbl tbody tr:last-child td { border-bottom: 0; }
.fp-tbl tbody tr:hover { background: var(--bg-surface-elevated); }
.fp-tbl .fp-r { text-align: right; }
.fp-row-a { color: var(--text-primary); font-weight: 500; text-decoration: none; }
.fp-row-a:hover { color: var(--f-link-h); text-decoration: underline; }
.fp-row-meta { display: block; margin-top: 4px; }

/* ---------- shared layout ---------- */
.fp-wrap { max-width: 1280px; margin: 0 auto; padding-left: 16px; padding-right: 16px; box-sizing: border-box; position: relative; }
.fp-head { position: relative; background: var(--bg-surface); border-bottom: 1px solid var(--line); }
.fp-head-in { padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.fp-logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text-primary); text-decoration: none; }
.fp-wm { font-family: var(--f-display); font-weight: 800; }
.fp-nav { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: 14px; line-height: 20px; }
.fp-nav a { color: var(--text-secondary); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.fp-nav a:hover, .fp-nav a[aria-current] { color: var(--text-primary); }
.fp-search { flex: 1 1 280px; display: flex; min-width: 0; margin: 0; }
.fp-search input { flex: 1; min-width: 0; font: 400 14px/20px var(--font-sans); color: var(--text-primary); background: var(--bg-canvas); border: 1px solid var(--f-line2); border-radius: var(--f-r) 0 0 var(--f-r); padding: 11px 12px; }
.fp-search button { font: 600 14px var(--font-sans); background: var(--bg-surface-elevated); color: var(--text-primary); border: 0; border-radius: 0 var(--f-r) var(--f-r) 0; padding: 0 16px; min-height: 44px; cursor: pointer; }
.fp-acct { display: flex; gap: 8px; align-items: center; }
.fp-main { padding-top: 20px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 48px; }
.fp-split { display: flex; flex-wrap: wrap; gap: 20px; }
.fp-wide { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.fp-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
#market.fp-side { flex-basis: 340px; }
.fp-sec { display: flex; flex-direction: column; gap: 14px; }
.fp-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.fp-kicker { margin: 0; }
.fp-sub { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.fp-small { font-size: 14px; line-height: 20px; }
.fp-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fp-foot { position: relative; border-top: 1px solid var(--line); background: var(--bg-surface); }
.fp-foot-in { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text-muted); }
.fp-foot-links { display: flex; flex-wrap: wrap; gap: 4px 12px; }

/* ---------- front page blocks, in order ---------- */
/* 1 Headline */
/* The heading takes the full width and wraps in balanced lines; only the paragraph keeps the 760px measure
   (Austen, 2026-10-12: "why does this break to the next line for no reason?"; base canvas v8). */
.fp-hero-sec { gap: 12px; }
.fp-hero-sec p { max-width: 760px; }
.fp-eyebrow { color: var(--f-link); }
.fp-hero { margin: 0; font: 800 clamp(28px, 7.5vw, var(--f-h1))/1.1 var(--f-display); overflow-wrap: anywhere; text-wrap: balance; }
/* 2 Audience cards */
.fp-audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: -24px; }
.fp-aud { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.fp-aud .fp-lnk { margin-top: 4px; }
/* 3 Microdramas are exploding: the box fits its content (Austen: "wildly misproportioned"). The CNBC explainer sits
   beside the text, capped at 560px; the four vertical clips spread full width (Austen, 2026-10-12; base canvas v4). */
.fp-intro { display: flex; flex-direction: column; gap: 20px; padding: clamp(16px, 3vw, 28px); }
.fp-intro-top { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; }
.fp-intro-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.fp-intro-h { margin: 0; font: 700 28px/1.15 var(--f-head); }
.fp-intro-figs { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 6px; }
.fp-intro-fig { display: flex; flex-direction: column; gap: 4px; }
.fp-fig-v { font: 800 var(--f-fig)/1.1 var(--f-display); }
.fp-clips { flex: 1 1 400px; max-width: 560px; min-width: 0; }
.fp-clips-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.fp-clip { position: relative; min-width: 0; }
.fp-clip-ph.vw-landscape { aspect-ratio: 16 / 9; } .fp-clip-ph.vw-portrait { aspect-ratio: 9 / 16; }
.fp-clips-4 .vw-play { width: 48px; height: 48px; }
.fp-clips-4 .vw-play svg { width: 20px; height: 20px; }
/* The clip tag sits at the foot of the picture, clear of the full-screen button at the top right (VS front v28, BL front v39). */
.fp-clip .vw-mid { position: relative; }
.fp-demo.fp-demo-clip { top: 8px; left: 8px; pointer-events: none; max-width: calc(100% - 76px); box-sizing: border-box; z-index: 1; }
.fp-clips-4 .fp-demo.fp-demo-clip { top: auto; bottom: 8px; right: 8px; max-width: none; text-align: center; }
.fp-clip:has(.vw-playing) .fp-demo-clip, .fp-clip:has(.vw-expanded) .fp-demo-clip { display: none; }
@media (max-width: 600px) {
  .fp-clips-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 4 Gets you in the know */
.fp-know { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.fp-know-text { flex: 1 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fp-know .fp-lnk { min-height: 44px; display: inline-flex; align-items: center; }
/* 5 Featured story + Up next */
.fp-feature { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; }
.fp-poster { flex: 0 0 220px; aspect-ratio: 9 / 16; position: relative; overflow: hidden; border-right: 1px solid var(--line); }
.fp-feature-body { flex: 1 1 320px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.fp-feat-h { margin: 0; font: 800 var(--f-feat)/1.15 var(--f-display); }
.fp-arrows { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; }
.fp-arrows button { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-canvas); color: var(--text-primary); }
.fp-arrows button:disabled { opacity: .55; cursor: default; }
.fp-up { display: flex; gap: 12px; padding: 12px; box-shadow: none; }
.fp-thumb { flex: 0 0 54px; aspect-ratio: 9 / 16; border-radius: 4px; }
.fp-up-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; align-items: flex-start; }
/* 6 Shows we follow */
.fp-posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; }
.fp-show { overflow: hidden; display: flex; flex-direction: column; }
.fp-show-art { aspect-ratio: 9 / 13; position: relative; overflow: hidden; background: var(--bg-surface-elevated); }
.fp-show-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.fp-show-t { font: 700 18px/1.25 var(--f-head); }
/* 7 Buyer feed + market figures */
.fp-fig { padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
/* 8 Actor tools */
.fp-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.fp-tool { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
/* 9 Join */
.fp-join { border-color: var(--f-accent); box-shadow: var(--f-shadow), var(--f-glow); padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.fp-join-text { flex: 1 1 360px; min-width: 0; display: flex; gap: 16px; align-items: flex-start; }
@media (max-width: 600px) {
  .fp-poster { flex-basis: 100%; aspect-ratio: auto; min-height: 160px; border-right: 0; border-bottom: 1px solid var(--line); }
  .fp-feature-body { padding: 20px 16px; }
  .fp-join { padding: 20px 16px; }
}

/* ---------- link-destination pages B1-B11 (03 §18), same structure on both brands ---------- */
.fp-page { gap: 32px; }
.fp-page-intro { gap: 12px; }
.fp-crumb { margin: 0; }
.fp-page-h { margin: 0; font: 800 clamp(28px, 7vw, 38px)/1.15 var(--f-display); overflow-wrap: anywhere; }
.fp-page-p { margin: 0; color: var(--text-secondary); max-width: 72ch; }
.fp-nowrap { white-space: nowrap; }
.fp-pill-unc { border-color: var(--f-warn); color: var(--text-primary); }
.fp-pill-off { border-color: var(--f-pos); color: var(--text-primary); }
.fp-coming { margin-left: 8px; vertical-align: 2px; }
.fp-card > .fp-coming, .fp-panel > .fp-coming { margin-left: 0; align-self: flex-start; }
.fp-pill-corr { border-color: var(--f-accent); color: var(--text-primary); margin-left: 8px; }
.fp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-chip { font: 600 14px/20px var(--font-sans); min-height: 44px; padding: 0 16px; border-radius: 9999px; border: 1px solid var(--f-line2); background: transparent; color: var(--text-primary); cursor: pointer; }
.fp-chip[aria-pressed="true"] { background: var(--f-accent); border-color: var(--f-accent); color: var(--f-on); }
.fp-tbl tbody tr:target { background: var(--bg-surface-elevated); box-shadow: inset 3px 0 0 var(--f-accent); }
.fp-panel { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.fp-cta { padding: 24px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.fp-cta-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.fp-co-head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; justify-content: space-between; }
.fp-co-act { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.fp-co-name { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.fp-fact { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.fp-fact:last-child { border-bottom: 0; padding-bottom: 0; }
.fp-fact-d { flex: 0 0 96px; }
.fp-fact-b { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.fp-series { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.fp-ser { padding: 16px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.fp-person-row { display: flex; flex-direction: column; gap: 2px; }
.fp-meter { display: flex; gap: 6px; }
.fp-meter span { flex: 1; height: 6px; border-radius: 9999px; background: var(--bg-surface-elevated); }
.fp-watch { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.fp-watch-i { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.fp-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.fp-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.fp-def { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; gap: 6px 16px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fp-def:last-of-type { border-bottom: 0; }
.fp-defs { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 0 24px; }
.fp-form { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.fp-form [data-general] { display: flex; flex-direction: column; gap: 18px; }
.fp-form [hidden] { display: none !important; }
.fp-field { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.fp-field > label:first-child { font: 600 14px/20px var(--font-sans); }
.fp-input { font: 400 16px/24px var(--font-sans); color: var(--text-primary); background: var(--bg-canvas); border: 1px solid var(--f-line2); border-radius: var(--f-r); padding: 10px 12px; min-height: 44px; box-sizing: border-box; width: 100%; }
textarea.fp-input { resize: vertical; }
.fp-file { position: relative; }
.fp-file:focus-within { outline: 2px solid var(--border-focus); outline-offset: 2px; }
.fp-note { margin: 0; padding: 10px 12px; border-radius: var(--f-r); border: 1px solid var(--line); }
.fp-note-good { border-color: var(--f-pos); }
.fp-note-error { border-color: var(--f-warn); }
.fp-search-page { flex: 0 1 640px; }
.fp-results { display: flex; flex-direction: column; gap: 28px; }
.fp-hit { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 600px) {
  .fp-def { grid-template-columns: 1fr; }
  .fp-defs, .fp-blocks { grid-template-columns: 1fr; }
  .fp-form, .fp-cta { padding: 20px 16px; }
}

/* ---------- clip windows (video.js): brand colours from the tokens ---------- */
.fp .vw-stage { border-radius: var(--f-r); background: var(--bg-canvas); border-color: var(--f-frame); box-shadow: var(--f-glow); }
.fp .vw-play { background: var(--f-accent); color: var(--f-on); }
.fp .vw-full { border: 1px solid var(--f-frame); background: color-mix(in srgb, var(--bg-canvas) 85%, transparent); color: var(--text-primary); }
.fp .vw-caption { font: 600 12px/16px var(--font-sans); letter-spacing: .04em; color: var(--text-secondary); }
.fp .vw.vw-expanded { color: var(--text-primary); }
.fp .vw.vw-expanded .vw-stage { box-shadow: none; background: var(--bg-canvas); }
.fp .vw-source, .fp .vw-hint, .fp .vw-ends { color: var(--text-secondary); }
.fp .vw-close { border: 1px solid var(--f-frame); background: var(--bg-surface); color: var(--text-primary); }
.fp .vw-yt { color: var(--f-link); }
/* Featured-story and show-card posters: a click-to-play clip filling the picture area. */
.fp-cardclip { position: absolute; inset: 0; }
.fp-cardclip > .vw:not(.vw-expanded) { height: 100%; gap: 0; }
.fp-cardclip > .vw:not(.vw-expanded) .vw-mid { height: 100%; }
.fp-cardclip > .vw:not(.vw-expanded) .vw-stage { aspect-ratio: auto; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.fp-cardclip .vw-caption { display: none; }
.fp-cardclip .vw-play { width: 48px; height: 48px; }
.fp-cardclip .vw-play svg { width: 20px; height: 20px; }
.fp-cardclip ~ .fp-demo { z-index: 3; pointer-events: none; }
*:has(> .fp-cardclip .vw-playing) > .fp-demo { display: none; }

/* ---------- Send feedback (Reviewer accounts only), and the same dialog as the app pages ---------- */
.fp-fb { position: fixed; right: 24px; bottom: 24px; z-index: 20; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.fp-fb-btn { font: 600 14px/1 var(--font-sans); border: 0; border-radius: 9999px; padding: 14px 20px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; background: var(--f-accent); color: var(--f-on); box-shadow: var(--f-shadow), var(--f-glow); }
.fp-fb-btn:hover { background: var(--f-accent-h); }
@media (max-width: 600px) { .fp-fb { right: 16px; bottom: 16px; } }
body.fp dialog.feedback { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); box-sizing: border-box; padding: 20px; color: var(--text-primary); background: var(--bg-surface); border: 1px solid var(--line); border-radius: 12px; font: 16px/1.5 var(--font-sans); }
body.fp dialog.feedback::backdrop { background: rgb(0 0 0 / 0.6); }
body.fp dialog.feedback form { display: flex; flex-direction: column; gap: 14px; }
body.fp dialog.feedback h2 { font: 700 22px/1.2 var(--f-head); }
body.fp dialog.feedback .muted { color: var(--text-secondary); }
body.fp dialog.feedback .small { font-size: 14px; line-height: 20px; }
body.fp dialog.feedback label { display: flex; flex-direction: column; gap: 6px; font: 600 12px/16px var(--font-sans); letter-spacing: .04em; }
body.fp dialog.feedback textarea { width: 100%; box-sizing: border-box; font: 400 16px/1.5 var(--font-sans); color: var(--text-primary); background: var(--bg-canvas); border: 1px solid #4b5563; border-radius: 8px; padding: 11px 12px; }
body.fp dialog.feedback .actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
body.fp dialog.feedback button { font: 600 14px/1 var(--font-sans); min-height: 44px; padding: 11px 16px; border-radius: 8px; cursor: pointer; border: 1px solid var(--f-link); background: var(--f-link); color: var(--bg-canvas); }
body.fp dialog.feedback button.secondary { background: transparent; color: var(--f-link); }
body.fp dialog.feedback .notice { border-radius: 8px; padding: 10px 12px; margin: 0; border: 1px solid var(--line); }
body.fp dialog.feedback .notice.good { color: #4ade80; border-color: currentColor; }
body.fp dialog.feedback .notice.error { color: #f97316; border-color: currentColor; }

/* News: The Wire / The Word (Austen, 2026-10-12). Like the Seabird Wire: a lead story, the last 48 hours, then three
   columns of headline links. Round 2 (TECH-22): headlines are bold white until opened, then grey (news-only exception to
   the one link style, 10a/10b); the brand display font only on the "Lead story" label, the headline in plain bold. */
body.fp-vs { --f-news-new:#ffffff; --f-news-read:#8a99ad; }
body.fp-bl { --f-news-new:#ffffff; --f-news-read:#8b929e; }
/* Light mode equivalent (bold near-black, then grey), for when the front site shows a light theme; it is dark-only today. */
body.fp.fp-light { --f-news-new:#0f172a; --f-news-read:#5b6b80; }
.fp-news-a { color: var(--f-news-new); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.fp-news-a:visited, .fp-news-a.is-read { color: var(--f-news-read); }
.fp-news-a:hover, .fp-news-a:focus-visible { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fp-wire-lead { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 24px 0; border-block: 1px solid var(--f-line2); }
.fp-wire-kicker { margin: 0; font: 700 13px/1.2 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--f-tag); }
.fp-wire-lead-a { font: 800 clamp(22px, 4.5vw, 34px)/1.2 var(--font-sans); max-width: 34ch; }
.fp-wire-meta { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: inherit; gap: 6px; }
.fp-wire-lead .fp-wire-meta { justify-content: center; }
.fp-wire-colhead { margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--f-line2); font: 700 13px/1.2 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
.fp-wire-break { margin-bottom: 8px; }
.fp-wire-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px 28px; }
.fp-wire { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.fp-wire-col { list-style: none; margin: 0; padding: 0 20px; display: flex; flex-direction: column; gap: 18px; }
.fp-wire-col + .fp-wire-col { border-left: 1px solid var(--f-line2); }
.fp-wire-col:first-child { padding-left: 0; }
.fp-wire-col:last-child { padding-right: 0; }
.fp-wire-i { display: flex; flex-direction: column; gap: 4px; }
.fp-wire-a { font: 700 16px/1.35 var(--f-head); }
@media (max-width: 760px) {
  .fp-wire { grid-template-columns: 1fr; gap: 18px; }
  .fp-wire-col, .fp-wire-col:first-child, .fp-wire-col:last-child { padding: 0; }
  .fp-wire-col + .fp-wire-col { border-left: 0; }
}

/* Several sources on one story: a small arrow under the headline opens the list (Austen, 2026-10-12). */
.fp-srcs { margin-top: 4px; }
.fp-srcs summary { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; list-style: none; min-height: 24px; }
.fp-srcs summary::-webkit-details-marker { display: none; }
.fp-srcs-chev { transition: transform .15s; }
.fp-srcs[open] .fp-srcs-chev { transform: rotate(180deg); }
.fp-srcs a, .fp-srcs a:visited { color: var(--text-secondary); }
.fp-srcs ul { list-style: none; margin: 4px 0 0; padding: 0 0 0 10px; border-left: 1px solid var(--f-line2); display: flex; flex-direction: column; gap: 4px; }
.fp-wire-lead .fp-srcs ul { text-align: left; }

/* D-30 directory profiles, person and show pages (base v9; 03 §20) */
.fp-ref { font-size: 11px; line-height: 14px; font-weight: 600; vertical-align: super; margin-left: 2px; text-decoration: none; }
.fp-profile { margin: 4px 0 0; max-width: 760px; }
.fp-kv { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fp-kv:last-child { border-bottom: 0; }
.fp-kv-k { flex: 0 0 160px; }
.fp-kv-v { flex: 1 1 280px; min-width: 0; }
.fp-entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 14px; }
.fp-entry { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.fp-src-ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 20px; }
.fp-ser[aria-current="page"] { outline: 2px solid var(--f-accent); outline-offset: -2px; }

/* D-41 Shows by country (base v14, board B6); D-62 three where-to-watch states and a key (base v38, 03 §29):
   live link = link colour, solid outline, arrow; on this platform, no link yet = solid positive chip (base v42);
   not found = muted text, dashed outline (no fade: it failed AA). Colours from existing tokens. */
.fp-h2-lg { font-size: 28px; }
a.fp-chip { display: inline-flex; align-items: center; text-decoration: none; }
body.fp-vs { --f-won:#4ade80; --f-won-on:#0b0f19; }
body.fp-bl { --f-won:#34d399; --f-won-on:#090a0f; }
body.fp-vs.fp-light { --f-won:#15803d; --f-won-on:#ffffff; } /* light theme (dark-only today) */
body.fp-bl.fp-light { --f-won:#047857; --f-won-on:#ffffff; }
.fp-w { text-align: center; }
.fp-w-on, .fp-w-in, .fp-w-off { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; min-width: 72px; padding: 0 10px; border-radius: 9999px; font: 600 12px/16px var(--font-sans); white-space: nowrap; box-sizing: border-box; }
.fp-w-on { border: 1px solid var(--f-link); color: var(--f-link); text-decoration: none; }
.fp-w-on svg { margin-left: 4px; }
a.fp-w-on:hover { color: var(--f-link-h); border-color: var(--f-link-h); }
.fp-w-in { border: 1px solid var(--f-won); background: var(--f-won); color: var(--f-won-on); cursor: default; } /* solid (Austen, 2026-10-13: "improve both branded sites now"; base v42) */
.fp-w-off { border: 1px dashed var(--f-line2); color: var(--text-muted); }
.fp-key { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.fp-key > span { display: inline-flex; gap: 8px; align-items: center; }
.fp-gone { font: 600 12px/16px var(--font-sans); color: var(--text-muted); white-space: nowrap; } /* TECH-23 */

/* D-51 public bot page (VerticalSmarts only; base v18, Bot.dc.html) */
.fp-bot { max-width: 760px; margin: 0 auto; padding: 48px 16px 64px; box-sizing: border-box; display: flex; flex-direction: column; }
.fp-bot .fp-page-h { margin: 0 0 12px; }
.fp-bot-lead { margin: 0 0 24px; font-size: 18px; color: var(--text-secondary); }
.fp-bot-row { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }
.fp-bot-h { margin: 0; font: 700 20px/1.2 var(--f-head); }
.fp-code { font: 500 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-surface-elevated); border-radius: 4px; padding: 1px 6px; overflow-wrap: anywhere; }

/* D-36 VerticalSmarts logo file (Option E) in the header: 24px high, never re-spaced or re-coloured */
.fp-logo-img { height: 24px; width: auto; display: block; }

/* D-58 (03 §25): reactions under every item, and the forum (Perspectives / The Gossip). As drawn on base v31. */
.fp-react { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.fp-react[hidden] { display: none; }
.fp-rb { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 9999px; border: 1px solid var(--f-line2); background: transparent; color: var(--text-secondary); font: 600 13px/1 var(--font-sans); text-decoration: none; cursor: pointer; }
.fp-rb[aria-pressed="true"] { border-color: var(--f-accent); color: var(--text-primary); }
.fp-rb:hover, .fp-rb:focus-visible { color: var(--text-primary); }
.fp-forum { gap: 24px; max-width: 880px; }
.fp-thread { display: flex; flex-direction: column; }
.fp-cmt { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid var(--f-line2); }
.fp-cmt-act { display: flex; gap: 14px; align-items: center; }
.fp-linkbtn { background: none; border: 0; padding: 0; min-height: 32px; font: 600 12px/16px var(--font-sans); color: var(--text-secondary); cursor: pointer; }
.fp-linkbtn:hover, .fp-linkbtn:focus-visible { color: var(--text-primary); text-decoration: underline; }
.fp-warn { border: 1px solid #f59e0b; border-radius: var(--f-r); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.fp-warn[hidden] { display: none; }
.fp-form[hidden] { display: none; }

/* D-59 (03 §26): Check an offer against scale, Cast-cost floor */
.fp-step { display: inline-flex; align-items: center; gap: 6px; }
.fp-step button { width: 44px; height: 44px; border-radius: var(--f-r); border: 1px solid var(--f-line2); background: transparent; color: var(--text-primary); font: 600 18px/1 var(--font-sans); cursor: pointer; }
.fp-step button:hover, .fp-step button:focus-visible { border-color: var(--f-accent); }
.fp-step output { min-width: 88px; text-align: center; font: 700 18px/24px var(--font-sans); font-variant-numeric: tabular-nums; }
.fp-big { font: 800 34px/1.1 var(--font-sans); font-variant-numeric: tabular-nums; }
.fp-sum { border-top: 1px solid var(--f-line2); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.fp-bar { height: 10px; border-radius: 9999px; background: var(--f-line2); overflow: hidden; }
.fp-bar span { display: block; height: 100%; background: var(--f-accent); }

/* ---------- D-63 company watch and the Do Not Work check (boards Company-Watch, DNW-Lookup; same on both brands) ---------- */
.fp-h3 { margin: 0; font: 700 17px/1.25 var(--f-head); }
.fp-cw-muted { color: var(--text-secondary); }
.fp-cw-changes { flex: 999 1 640px; min-width: 0; }
.fp-cw-watch { flex: 1 1 340px; min-width: 0; }
.fp-cw-alerts { max-width: 640px; box-sizing: border-box; }
.fp-cw-alerts[hidden] { display: none; }
.fp-cw-item { display: flex; flex-direction: column; gap: 6px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.fp-cw-fact { font-weight: 600; }
.fp-cw-src { display: flex; flex-direction: column; gap: 2px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.fp-cw-state { display: flex; flex-direction: column; gap: 8px; }
.fp-cw-reply { margin: 0; display: flex; flex-direction: column; gap: 2px; padding-left: 12px; border-left: 2px solid var(--f-line2); }
.fp-warn.fp-cw-warn, [aria-labelledby="dn-h"] .fp-warn { border-color: var(--f-warn); }
.fp-tog { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; border-top: 1px solid var(--line); }
.fp-sw { width: 48px; height: 28px; border-radius: 9999px; border: 1px solid var(--f-line2); background: var(--bg-surface-elevated); position: relative; flex: 0 0 auto; cursor: pointer; padding: 0; }
.fp-sw span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 9999px; background: var(--text-secondary); }
.fp-sw[aria-checked="true"] { background: var(--f-accent); border-color: var(--f-accent); }
.fp-sw[aria-checked="true"] span { left: 23px; background: var(--f-on); }
.fp-cw-form { display: flex; flex-direction: column; gap: 10px; padding: 12px 0 0; }
.fp-cw-form[hidden] { display: none; }
.fp-btn[data-alerts-open][hidden] { display: none; }

/* D9 (03 §36): the news page's two tabs, the Implications / The Whisper tab and the front-page block under the buyer feed */
.fp-tabs { display: flex; flex-wrap: wrap; gap: 4px 24px; border-bottom: 1px solid var(--line); }
.fp-tab { min-height: 44px; display: inline-flex; align-items: center; color: var(--text-secondary); text-decoration: none; font-weight: 500; }
.fp-tab:hover { color: var(--text-primary); }
.fp-tab[aria-current="page"] { color: var(--text-primary); font-weight: 700; border-bottom: 3px solid var(--f-k1); margin-bottom: -1px; }
.fp-pill-k1 { color: var(--f-k1); border-color: var(--f-k1); }
.fp-impl-intro { margin: 4px 0 0; font-size: 14px; line-height: 20px; }
.fp-impl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.fp-impl-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.fp-impl-card-t { font: 700 18px/1.25 var(--f-head, var(--f-display)); }
.fp-impl-for { color: var(--text-secondary); }
.fp-impl-list { display: flex; flex-direction: column; gap: 32px; }
.fp-impl-item { padding: clamp(16px, 3vw, 28px); display: flex; flex-direction: column; gap: 16px; }
.fp-impl-h { margin: 0; font: 700 var(--f-h2, 24px)/1.2 var(--f-display); }
.fp-impl-cols { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.fp-impl-col { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.fp-impl-col:first-child { flex-basis: 420px; }
.fp-impl-mean { margin: 0; max-width: 64ch; }
.fp-impl-src { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.fp-impl-src-a { color: var(--text-primary); font-size: 14px; line-height: 20px; font-weight: 500; }
.fp-impl-rule { display: flex; flex-wrap: wrap; gap: 12px 32px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; line-height: 20px; }
.fp-impl-rule p { margin: 0; flex: 1 1 380px; min-width: 0; }

/* Shows directory on the Smart profile templates (approved 2026-10-24; base v70, board Shows-States) */
.fp-sd-list { display: flex; flex-direction: column; }
.fp-sd-row { border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.fp-sd-row:last-child { border-bottom: 0; }
.fp-sd-btn { all: unset; box-sizing: border-box; min-height: 56px; padding: 12px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
button.fp-sd-btn { cursor: pointer; }
button.fp-sd-btn:focus-visible { outline: 2px solid var(--f-accent); outline-offset: -2px; }
.fp-sd-arrow { width: 16px; color: var(--text-secondary); }
.fp-sd-t { font-weight: 600; flex: 0 1 300px; min-width: 0; }
.fp-sd-key { flex: 1 1 260px; min-width: 0; }
.fp-sd-short { padding: 0 20px 18px 52px; display: flex; flex-direction: column; gap: 12px; }
.fp-sd-bio { margin: 0; max-width: 72ch; }
.fp-sd-facts { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.fp-sd-fact, .fp-sd-line, .fp-sd-cast { font-size: 14px; line-height: 20px; }
.fp-sd-line { margin: 0; }
.fp-sd-cast { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fp-sd-exp { display: flex; flex-wrap: wrap; gap: 20px 32px; padding-top: 6px; }
.fp-sd-main { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fp-sd-side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fp-sd-h { margin: 8px 0 0; }
.fp-sd-main > .fp-sd-h:first-child, .fp-sd-side > .fp-sd-h:first-child { margin-top: 0; }
.fp-sd-link { display: flex; flex-direction: column; }
.fp-tbl-scroll { overflow-x: auto; }
/* D-81 where to watch in each open row (base v75) */
.fp-sd-watchbox { display: flex; flex-direction: column; gap: 8px; }
.fp-sd-watchbox > .fp-sd-h { margin-top: 0; }
.fp-sd-watch { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.fp-sd-w { display: flex; flex-direction: column; align-items: center; gap: 4px; }
@media (max-width: 600px) { .fp-sd-short { padding-left: 20px; } }

/* Trademark sign after the logo (Austen, 2026-10-30). */
.fp-logo .tm { align-self: flex-start; margin: 10px 0 0 -5.5px; font-size: 10px; line-height: 1; font-weight: 500; color: var(--text-secondary); } /* Brand 8, 10a/10b §4.1 */
body.fp-bl .fp-logo .tm { margin-left: -4px; }

/* Topic directories (03 §39, approved 2026-10-27): the dashed Inferred pill on figures and definitions, At a glance as a grid. */
.fp-pill-inf { border-style: dashed; }
.fp-pill-ho { border-style: dashed; } /* D-86 "Headline only" (03 §43) */
.fp-tp-fig { display: inline-flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.fp-tp-def { display: flex; flex-direction: column; gap: 4px; }
.fp-tp-glance { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 28px; }
.fp-tp-dd { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fp-tp-dd dd { margin: 0; }
.fp-tp-ex { padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; border-bottom: 1px solid var(--line); }
.fp-tp-ex:last-child { border-bottom: 0; }
.fp-tp-src { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 20px; }
