/* SalesBook / Tools / Perspectives pages in the deck theme (Nov 21, 2026).
   Loaded after each page's inline <style>; re-maps the shared CSS variables and
   fixes the hard-coded colours those inline blocks use. Applied by scripts/retheme_tools.py. */
body.deck {
  --bg: #000; --surface: #141416; --surface-raised: #1a1b1e;
  --fg: #f4f4f2; --fg80: #c9ccd1; --fg60: #a3a7ae; --fg45: #8e9198;
  --line: #26282c; --line-strong: #3a3d42;
  --navy: #8dc63f; --navy-dim: rgba(141, 198, 63, 0.10); --navy-soft: rgba(141, 198, 63, 0.10); --navy-border: rgba(141, 198, 63, 0.45);
  --amber: #e2b45a; --amber-bg: rgba(226, 180, 90, 0.10); --amber-dim: rgba(226, 180, 90, 0.10); --amber-border: rgba(226, 180, 90, 0.35);
  --green: #8dc63f; --green-bg: rgba(141, 198, 63, 0.10); --green-border: rgba(141, 198, 63, 0.35);
  --font-sans: "Barlow", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: #000 !important; color: var(--fg); font-family: var(--font-sans);
}
body.deck ::selection { background: #8dc63f; color: #0b0b0c; }

/* Headings: white Barlow caps with the green dash on the page title */
body.deck h1, body.deck h2, body.deck h3 { font-family: "Barlow", sans-serif; color: #fff; }
body.deck h1, body.deck h2 { font-weight: 700; text-transform: uppercase; letter-spacing: 0.005em; }
body.deck h1::before { content: ''; display: block; width: 56px; height: 6px; background: #8dc63f; margin-bottom: 1.25rem; }
body.deck p, body.deck li, body.deck td, body.deck dd { color: var(--fg80); }
body.deck a { color: inherit; }
body.deck strong, body.deck b { color: #fff; }
body.deck code, body.deck pre { color: #e8e8e4; }

/* Nav: same frame as the homepage */
body.deck .nav { background: rgba(0, 0, 0, 0.92) !important; border-bottom: 1px solid #26282c !important; }
body.deck .nav-inner { max-width: 1080px; margin: 0 auto; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; position: relative; }
body.deck .nav-logo img { height: 26px; width: auto; display: block; }
body.deck .nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
body.deck .nav-links a { color: #c9ccd1 !important; text-decoration: none; font-size: 0.9rem; font-weight: 500; text-transform: none; letter-spacing: 0; opacity: 1 !important; }
body.deck .nav-links a:hover { color: #fff !important; box-shadow: 0 2px 0 #8dc63f; }
body.deck .nav-links a.nav-cta { background: #8dc63f !important; color: #0b0b0c !important; border: 0 !important; border-radius: 0 !important; padding: 0.55rem 1.1rem; font-weight: 600; box-shadow: none; }
body.deck .nav-links a.nav-cta:hover { background: #a2d85a !important; }
body.deck .nav-toggle { border-color: #3a3d42 !important; border-radius: 0 !important; }
body.deck .nav-toggle span, body.deck .nav-toggle span::before, body.deck .nav-toggle span::after { background: #f4f4f2 !important; }
body.deck .nav.open .nav-toggle span { background: transparent !important; }
@media (max-width: 1000px) {
  body.deck .nav-toggle { display: inline-flex !important; }
  body.deck .nav .nav-links { display: none !important; position: absolute; top: 100%; left: -16px; right: -16px; flex-direction: column; align-items: stretch; gap: 0 !important; background: #000 !important; border-bottom: 1px solid #26282c !important; padding: 0.5rem 16px 1rem; }
  body.deck .nav.open .nav-links { display: flex !important; }
  body.deck .nav .nav-links a { display: block; padding: 0.85rem 0; border-bottom: 1px solid #26282c !important; font-size: 1.05rem; }
  body.deck .nav .nav-links a.nav-cta { margin-top: 0.9rem; text-align: center; display: block; }
}

/* Footer with the quiet corner row */
body.deck .site-footer { max-width: 1080px; margin: 5rem auto 0; padding: 2rem 2rem 3.5rem; border-top: 1px solid #f4f4f2 !important; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 1rem 2rem; color: #8e9198; font-size: 0.9rem; }
body.deck .site-footer .fl { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
body.deck .site-footer a { color: #c9ccd1 !important; text-decoration: none; }
body.deck .site-footer a:hover { color: #fff !important; box-shadow: 0 2px 0 #8dc63f; }
body.deck .site-footer .fx { flex-basis: 100%; font-size: 0.8rem; color: #8e9198; }
body.deck .site-footer .fx a { color: #8e9198 !important; text-decoration: underline; text-decoration-color: #3a3d42; text-underline-offset: 3px; }

/* Hero bands: drop the orange glow and rails art, keep a flat black panel */
body.deck .home-hero, body.deck .hero-band { background: #000 !important; border-bottom: 1px solid #26282c; }
body.deck .home-hero::before, body.deck .home-hero::after, body.deck .hero-band::before, body.deck .hero-band::after { display: none !important; }
body.deck .home-hero .kicker, body.deck .hero-band .eyebrow, body.deck .hero-band .stat span, body.deck .hero-band .meta-line, body.deck .hero-band .lede.pv { color: #a3a7ae !important; }
body.deck .home-hero .lede, body.deck .hero-band .lede, body.deck .hero-band .meta-line a { color: #c9ccd1 !important; }
body.deck .hero-band h1 em { color: #8dc63f !important; }
body.deck .hero-band .stat b { color: #8dc63f !important; font-family: "Barlow", sans-serif; }
body.deck .hero-band .stats, body.deck .hero-band .stat { border-color: #26282c !important; }

/* SalesBook list page */
body.deck .controls { background: rgba(0, 0, 0, 0.96) !important; }
body.deck .chip[aria-pressed="true"] { background: #8dc63f !important; border-color: #8dc63f !important; color: #0b0b0c !important; }
body.deck .fx-n:not(:empty), body.deck .skip, body.deck .badge { background: #8dc63f !important; color: #0b0b0c !important; }
body.deck .badge.in { background: transparent !important; border-color: #8dc63f !important; color: #8dc63f !important; }
body.deck mark { background: rgba(141, 198, 63, 0.18); color: inherit; }
body.deck .btn:hover, body.deck .nav-links .nav-cta:hover { background: #8dc63f !important; color: #0b0b0c !important; }
body.deck .scrim { background: rgba(0, 0, 0, 0.6) !important; }
body.deck .panel { background: #141416 !important; box-shadow: -16px 0 40px rgba(0, 0, 0, 0.6) !important; }
body.deck .results .row:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5) !important; }
body.deck .results.table .thead { background: #0b0b0c !important; }
body.deck .results.table .row:hover { background: #141416 !important; }
body.deck .skel { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent) !important; }
body.deck .ar-mcp { background: rgba(141, 198, 63, 0.10) !important; color: #8dc63f !important; border-color: rgba(141, 198, 63, 0.35) !important; }
body.deck .bar i { background: #8dc63f !important; }

/* Profiles, sectors, answers, sources */
body.deck .pill.y, body.deck .sop-t td.y { border-color: #8dc63f !important; color: #8dc63f !important; }
body.deck .btn2.p { background: #8dc63f !important; color: #0b0b0c !important; border-color: #8dc63f !important; }
body.deck .sop-t th { background: #000 !important; }

/* Docs, privacy, agent mailbox */
body.deck pre, body.deck .endpoint, body.deck .protocol, body.deck .box-truth { background: #141416 !important; border: 1px solid #26282c; color: #e8e8e4 !important; }
body.deck .endpoint code { background: rgba(255, 255, 255, 0.06) !important; color: #e8e8e4 !important; }
body.deck .endpoint span, body.deck .truth-k, body.deck .protocol p { color: #a3a7ae !important; }
body.deck .box-truth .box-kicker { color: #8dc63f !important; }
body.deck .btn.primary { background: #8dc63f !important; color: #0b0b0c !important; border-color: #8dc63f !important; }
body.deck .agent-msg { background: #141416 !important; color: #e8e8e4 !important; }

/* Generic light panels that relied on white paper */
body.deck input, body.deck select, body.deck textarea { background: #0b0b0c !important; color: #f4f4f2 !important; border-color: #3a3d42 !important; }
body.deck input::placeholder, body.deck textarea::placeholder { color: #8e9198 !important; }
body.deck table th { color: #fff; }

/* Inline style attributes that assumed white paper */
body.deck { --red: #ff7a7a; }
body.deck [style*="background:#fff"], body.deck [style*="background: #fff"] { background: #141416 !important; }
body.deck [style*="color:#a94e00"], body.deck [style*="color: #a94e00"] { color: #8dc63f !important; }
body.deck [style*="color:#f59e0b"] { color: #e2b45a !important; }
