/* styles/dossier.css
   The Adyen Dossier — modal overlay shown after Biome 7 (Tide).
   Screenshot-shareable. Doubles as LinkedIn carousel source. */

#dossier-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  /* Solid scrim (no glassmorphism). The paper's drop-shadow + the
     deeper opacity here carry the "modal floating over world" feel
     without the AI-aesthetic blur and the GPU cost. */
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  transition: opacity 1200ms ease;
}
#dossier-modal.active    { display: flex; }
#dossier-modal.revealed  { opacity: 1; }

#dossier-paper {
  width: min(900px, 92vw);
  max-height: 92vh;
  overflow-y: auto;
  /* "Found document" feel — aged cream with subtle grain + corner coffee stain.
     The SVG noise filter provides a paper-fiber texture. */
  background-color: #f0e3c3;
  background-image:
    /* Faint coffee/water stain — bottom-right corner */
    radial-gradient(ellipse 60% 40% at 95% 95%, rgba(120, 60, 24, 0.10), transparent 60%),
    /* Subtle warm vignette top-left */
    radial-gradient(ellipse 50% 30% at 8% 6%,  rgba(60, 30, 12, 0.06),  transparent 70%),
    /* Faint horizontal ruling-line texture */
    repeating-linear-gradient(180deg,
      transparent 0px,
      transparent 31px,
      rgba(120, 80, 40, 0.04) 32px,
      transparent 33px),
    /* Paper-grain noise via inline SVG turbulence */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.20  0 0 0 0 0.10  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    linear-gradient(180deg, #f5e9cc 0%, #e8d8b2 100%);
  background-blend-mode: multiply, normal, multiply, multiply, normal;
  color: #2a1a0a;
  border-radius: 4px;
  /* Deeper drop-shadow compensates for the loss of backdrop blur —
     paper feels physically elevated above the dark scrim. */
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.9),
    0 12px 36px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(10, 191, 83, 0.35),
    0 0 80px rgba(10, 191, 83, 0.18),
    inset 0 0 0 1px rgba(60, 30, 12, 0.08);
  position: relative;
  font-family: 'Georgia', 'Iowan Old Style', serif;
  line-height: 1.6;
  transform: scale(0.97) translateY(8px);
  transition: transform 1200ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
#dossier-modal.revealed #dossier-paper {
  transform: scale(1) translateY(0);
}

/* Entrance flourish — bounce in + warm glow pulse. The .entering class
   is added at the same moment as .revealed and removed ~700ms later
   so the bounce only fires once. Without this, the dossier slid in
   flat after a 15-minute scenario; now it lands as an artifact. */
#dossier-modal.entering #dossier-paper {
  animation: dossier-entrance 700ms cubic-bezier(0.18, 0.9, 0.34, 1.18);
}
@keyframes dossier-entrance {
  0%   { transform: scale(0.92) translateY(14px); }
  60%  { transform: scale(1.015) translateY(-3px); }
  100% { transform: scale(1) translateY(0); }
}
#dossier-modal.entering #dossier-paper::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(255, 220, 140, 0);
  animation: dossier-glow-pulse 1200ms ease-out;
}
@keyframes dossier-glow-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 220, 140, 0); }
  35%  { box-shadow: 0 0 36px 6px rgba(255, 200, 120, 0.45); }
  100% { box-shadow: 0 0 60px 12px rgba(255, 200, 120, 0); }
}
@media (prefers-reduced-motion: reduce) {
  #dossier-modal.entering #dossier-paper {
    animation: none;
    transform: scale(1) translateY(0);
  }
  #dossier-modal.entering #dossier-paper::after { animation: none; }
}

/* Header */
#dossier-header {
  position: sticky;
  top: 0;
  z-index: 2;
  /* Solid sticky header (no blur). Slight gradient fade keeps content
     legible when scrolling beneath. */
  background: linear-gradient(180deg, rgba(245, 233, 204, 1) 70%, rgba(245, 233, 204, 0.85) 100%);
  padding: 28px 40px 16px 40px;
  border-bottom: 1px solid rgba(60, 30, 12, 0.22);
}
#dossier-eyebrow {
  font-family: 'JetBrains Mono', 'Menlo', 'Consolas', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: rgba(10, 138, 60, 0.95);
  text-transform: uppercase;
  margin-bottom: 8px;
}
#dossier-eyebrow::before {
  content: '— ';
  color: rgba(60, 30, 12, 0.5);
}
#dossier-eyebrow::after {
  content: ' —';
  color: rgba(60, 30, 12, 0.5);
}
#dossier-page-title {
  font-size: 2rem;
  font-style: italic;
  letter-spacing: -0.005em;
  margin: 0 0 4px 0;
  color: #1a0e0a;
}
#dossier-page-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(26, 14, 10, 0.55);
}

#dossier-close {
  position: absolute;
  top: 22px; right: 22px;
  width: 32px; height: 32px;
  background: transparent;
  border: 1px solid rgba(26, 14, 10, 0.3);
  color: rgba(26, 14, 10, 0.75);
  font-family: monospace;
  font-size: 1.1rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 150ms ease;
}
#dossier-close:hover {
  background: rgba(26, 14, 10, 0.08);
  border-color: rgba(26, 14, 10, 0.6);
}

/* Body */
#dossier-page-body {
  padding: 16px 40px 32px 40px;
}
.dossier-body { font-size: 1rem; }
/* Lead paragraph — distinguished by typography (size + italic + leading
   em-dash) rather than a side stripe. Reads as a printed-book opening
   line, fitting the "found document" aesthetic. */
.dossier-lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: rgba(26, 14, 10, 0.92);
  margin: 0 0 32px 0;
  font-style: italic;
  position: relative;
  padding-top: 8px;
}
.dossier-lead::before {
  content: '— ';
  color: #0a8838;
  font-style: normal;
  font-weight: bold;
  letter-spacing: -0.04em;
}
.dossier-lead em { color: #0a8838; font-style: italic; }

/* Selector updated for proper heading semantics — was .dossier-h3 on
   <h2>; now targets real <h3> within the dossier body. */
.dossier-body h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(10, 191, 83, 0.9);
  margin: 32px 0 12px 0;
  font-weight: bold;
}

/* Takeaway — full 1px border replaces the side-stripe; background tint
   and the "THE LESSON" mono-cap header carry the emphasis. */
.dossier-takeaway {
  margin-top: 28px;
  padding: 18px 22px;
  background: rgba(10, 138, 60, 0.10);
  border: 1px solid rgba(10, 138, 60, 0.45);
  border-radius: 2px;
  font-size: 0.98rem;
  position: relative;
}
.dossier-takeaway strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #0a7030;
  display: block;
  margin-bottom: 6px;
}

/* ---------- DOSSIER CALLBACK ("↩ You saw this at ...") ----------
   Inline reference to a specific gameplay moment the player just lived
   through. Distinct from .dossier-margin-note (which is the snarky
   analyst's voice). Callbacks point IN-GAME: "the panel you clicked at
   the Foundry," etc. Reinforces the play→lesson loop. */

.dossier-callback {
  margin: 18px 0 22px 0;
  padding: 12px 16px 12px 18px;
  background: rgba(10, 138, 60, 0.06);
  border: 1px solid rgba(10, 138, 60, 0.32);
  border-radius: 2px;
  font-style: italic;
  font-size: 0.92rem;
  color: rgba(26, 14, 10, 0.85);
  line-height: 1.45;
}
.dossier-callback .dc-eyebrow {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(10, 138, 60, 0.85);
  margin-bottom: 6px;
}
.dossier-callback em {
  color: #0a7030;
  font-style: italic;
  font-weight: bold;
}

/* ---------- HANDWRITTEN MARGIN ANNOTATIONS ----------
   Optional <span class="dossier-margin-note"> inside the page body —
   floats to the right margin, slight rotation, ink-blue handwriting.
   "Found document" affordance: a junior analyst scribbled here. */

.dossier-margin-note {
  display: block;
  float: right;
  width: 110px;
  margin: 4px 0 12px 16px;
  padding: 4px 8px;
  font-family: 'Bradley Hand', 'Comic Sans MS', cursive;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(36, 56, 120, 0.85);
  transform: rotate(-2deg);
  border-left: 1px dashed rgba(36, 56, 120, 0.35);
}
.dossier-margin-note::before {
  content: '↳ ';
  color: rgba(36, 56, 120, 0.55);
}

@media (max-width: 720px) {
  .dossier-margin-note {
    float: none;
    width: auto;
    margin: 8px 0;
    transform: rotate(-1deg);
    border-left: none;
    border-top: 1px dashed rgba(36, 56, 120, 0.35);
    padding-top: 8px;
  }
}

/* ---------- PAGE 1 — Four-Party Diagram ---------- */

.four-party-diagram {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 32px 0;
  flex-wrap: wrap;
}
.fp-party {
  background: white;
  border: 1px solid rgba(26, 14, 10, 0.2);
  border-radius: 4px;
  padding: 14px 12px;
  width: 130px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fp-party.adyen-owned {
  border-color: #0abf53;
  background: linear-gradient(180deg, white 0%, rgba(10, 191, 83, 0.08) 100%);
  box-shadow: 0 0 16px rgba(10, 191, 83, 0.15);
}
.fp-icon { font-size: 1.8rem; line-height: 1; }
.fp-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  font-weight: bold;
}
.fp-role {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(26, 14, 10, 0.65);
}
.fp-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: #0a8838;
  text-transform: uppercase;
  margin-top: 4px;
}
.fp-arrow {
  align-self: center;
  font-family: monospace;
  color: rgba(26, 14, 10, 0.35);
  font-size: 1.1rem;
}

/* Cycle stops key */
.dossier-cycle-key {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.cycle-stop {
  flex: 1;
  min-width: 90px;
  background: rgba(26, 14, 10, 0.06);
  border: 1px solid rgba(26, 14, 10, 0.2);
  border-radius: 3px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: 'JetBrains Mono', monospace;
}
.cycle-stop.adyen-owned {
  background: rgba(10, 191, 83, 0.12);
  border-color: rgba(10, 191, 83, 0.55);
}
.cycle-stop { position: relative; }
.cycle-stop::after {
  position: absolute;
  top: 2px;
  right: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  opacity: 0.85;
}
.cycle-stop.adyen-owned::after   { content: '◆'; color: #0a8838; }
.cycle-stop:not(.adyen-owned)::after { content: '○'; color: rgba(26, 14, 10, 0.4); }
.cycle-stop .stop-num {
  font-size: 0.65rem;
  color: rgba(26, 14, 10, 0.55);
  letter-spacing: 0.15em;
}
.cycle-stop .stop-name {
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  font-weight: bold;
  text-align: center;
}

.dossier-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  margin: 16px 0;
  color: rgba(26, 14, 10, 0.6);
}
.legend-swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid rgba(26, 14, 10, 0.3);
}
.legend-swatch.adyen-owned   { background: rgba(10, 191, 83, 0.4); border-color: #0abf53; }
.legend-swatch.adyen-depends { background: rgba(26, 14, 10, 0.1); }

/* ---------- PAGE 2 — Comparison cards ---------- */

.comparison-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px 0 28px 0;
}
.comp-card {
  flex: 1;
  background: white;
  border: 1px solid rgba(26, 14, 10, 0.2);
  border-radius: 4px;
  padding: 22px 18px;
  text-align: center;
  max-width: 280px;
}
.comp-card.comp-foreign {
  background: linear-gradient(180deg, white 0%, rgba(220, 80, 60, 0.08) 100%);
  border-color: rgba(220, 80, 60, 0.5);
}
.comp-card.comp-local {
  background: linear-gradient(180deg, white 0%, rgba(10, 191, 83, 0.12) 100%);
  border-color: #0abf53;
}
.comp-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(26, 14, 10, 0.55);
  margin-bottom: 12px;
}
.comp-rate {
  font-size: 3rem;
  font-weight: bold;
  font-family: 'JetBrains Mono', monospace;
  color: #1a0e0a;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.comp-foreign .comp-rate { color: rgba(180, 60, 40, 0.95); }
.comp-local   .comp-rate { color: #0a8838; }
.comp-unit {
  font-size: 1.4rem;
  vertical-align: super;
  font-weight: normal;
}
.comp-desc {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(26, 14, 10, 0.65);
  line-height: 1.4;
}
.comp-vs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(26, 14, 10, 0.4);
  text-transform: uppercase;
}

/* ---------- PAGE 2 — Two-routes diagram ----------
   The same payment routed two ways. Each route is a row of nodes
   connected by ASCII arrows. Foreign route in red-warm, local route
   in Adyen-green. Each row ends with a verdict label. */

.route-comparison {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0 24px 0;
}
.route {
  background: white;
  border: 1px solid rgba(26, 14, 10, 0.2);
  border-radius: 4px;
  padding: 16px 18px 14px 18px;
}
.route-foreign {
  background: linear-gradient(180deg, white 0%, rgba(220, 80, 60, 0.05) 100%);
  border-color: rgba(220, 80, 60, 0.45);
}
.route-local {
  background: linear-gradient(180deg, white 0%, rgba(10, 191, 83, 0.07) 100%);
  border-color: #0abf53;
  box-shadow: 0 0 16px rgba(10, 191, 83, 0.12);
}
.route-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(26, 14, 10, 0.55);
  margin-bottom: 12px;
  text-align: left;
}
.route-foreign .route-label { color: rgba(180, 60, 40, 0.8); }
.route-local   .route-label { color: #0a7030; }

.route-flow {
  display: flex;
  align-items: stretch;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.route-node {
  flex: 1;
  min-width: 92px;
  max-width: 140px;
  padding: 8px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  background: rgba(26, 14, 10, 0.04);
  border: 1px solid rgba(26, 14, 10, 0.18);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.route-node strong {
  font-weight: bold;
  font-size: 0.7rem;
  color: #1a0e0a;
}
.route-node span {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 0.7rem;
  color: rgba(26, 14, 10, 0.55);
  letter-spacing: 0;
  text-transform: none;
}
.route-node.route-acquirer {
  background: rgba(26, 14, 10, 0.08);
  border-color: rgba(26, 14, 10, 0.3);
}
.route-node.route-acquirer.adyen-owned {
  background: rgba(10, 191, 83, 0.18);
  border-color: #0abf53;
}
.route-node.route-acquirer.adyen-owned strong { color: #0a5020; }
.route-node.route-issuer {
  background: rgba(60, 30, 12, 0.08);
  border-color: rgba(60, 30, 12, 0.28);
}
.route-arrow {
  align-self: center;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(26, 14, 10, 0.38);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.route-verdict {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 0 0 0;
  margin-top: 12px;
  border-top: 1px dashed rgba(26, 14, 10, 0.2);
}
.route-verdict.route-bad  { color: rgba(180, 60, 40, 0.95); }
.route-verdict.route-good { color: #0a7030; font-weight: bold; }
.route-vs {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: rgba(26, 14, 10, 0.4);
  text-transform: uppercase;
}

/* ---------- PAGE 2 — Issuer's-eye view ----------
   Two side-by-side authorization-request listings showing what fields
   the issuer's risk engine sees. Same payment, different metadata. */

.issuer-view-comparison {
  display: flex;
  gap: 14px;
  margin: 16px 0 24px 0;
  flex-wrap: wrap;
}
.issuer-view {
  flex: 1;
  min-width: 240px;
  border-radius: 4px;
  padding: 14px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  border: 1px solid rgba(26, 14, 10, 0.25);
}
.issuer-view-foreign {
  background: linear-gradient(180deg, rgba(220, 80, 60, 0.04) 0%, rgba(220, 80, 60, 0.10) 100%);
  border-color: rgba(220, 80, 60, 0.5);
}
.issuer-view-local {
  background: linear-gradient(180deg, rgba(10, 191, 83, 0.04) 0%, rgba(10, 191, 83, 0.12) 100%);
  border-color: #0abf53;
}
.iv-header {
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(26, 14, 10, 0.55);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(26, 14, 10, 0.22);
}
.iv-field {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.iv-field span:first-child {
  color: rgba(26, 14, 10, 0.6);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.iv-field span:last-child {
  font-weight: bold;
  color: #1a0e0a;
  letter-spacing: 0.08em;
}
.iv-mismatch {
  color: rgba(180, 60, 40, 0.98) !important;
}
.iv-match {
  color: #0a7030 !important;
}
.iv-flag {
  margin-top: 12px;
  padding: 8px;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 2px;
  background: rgba(220, 80, 60, 0.18);
  color: rgba(180, 60, 40, 0.95);
  border: 1px solid rgba(220, 80, 60, 0.4);
}
.iv-flag-ok {
  background: rgba(10, 191, 83, 0.18);
  color: #0a7030;
  border-color: rgba(10, 191, 83, 0.5);
}

/* ---------- PAGE 2 — Acquiring footprint pill grid ----------
   Inline mono-cap country codes in green pills. Reads as a regulatory
   trophy case — each pill = one license = one local-route option. */

.footprint-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 16px 0;
  align-items: center;
}
.country-pill {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  background: rgba(10, 191, 83, 0.08);
  border: 1px solid rgba(10, 191, 83, 0.45);
  border-radius: 2px;
  color: #0a7030;
  font-weight: bold;
}
.country-pill.country-pill-more {
  background: rgba(26, 14, 10, 0.04);
  border-color: rgba(26, 14, 10, 0.25);
  color: rgba(26, 14, 10, 0.6);
  font-style: italic;
  font-weight: normal;
  letter-spacing: 0.12em;
}
.footprint-summary-line {
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  color: rgba(26, 14, 10, 0.78);
  margin: 0 0 24px 0;
  font-style: italic;
}
.footprint-summary-line em {
  font-style: italic;
  color: #0a7030;
  font-weight: bold;
}

/* ---------- PAGE 3 — Split diagram ---------- */

.split-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 28px 0;
  flex-wrap: wrap;
}
.split-source, .split-router, .split-target {
  background: white;
  border: 1px solid rgba(26, 14, 10, 0.2);
  border-radius: 4px;
  padding: 14px 16px;
  text-align: center;
  min-width: 140px;
}
.split-router {
  border-color: #0abf53;
  background: linear-gradient(180deg, white 0%, rgba(10, 191, 83, 0.1) 100%);
  box-shadow: 0 0 16px rgba(10, 191, 83, 0.18);
}
.split-target-platform {
  background: linear-gradient(180deg, white 0%, rgba(10, 191, 83, 0.08) 100%);
  border-color: rgba(10, 191, 83, 0.6);
}
.split-targets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.split-icon { font-size: 1.8rem; margin-bottom: 4px; }
.split-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  font-weight: bold;
  color: #1a0e0a;
  letter-spacing: 0.04em;
}
.split-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(26, 14, 10, 0.55);
  margin-top: 4px;
}
.split-arrow {
  font-family: monospace;
  color: rgba(26, 14, 10, 0.35);
  font-size: 1.4rem;
}

/* ---------- FOOTER (page indicator) ---------- */

#dossier-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px 24px 40px;
  border-top: 1px solid rgba(26, 14, 10, 0.15);
}
#dossier-page-indicator {
  display: flex;
  gap: 8px;
}
.page-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(26, 14, 10, 0.3);
  background: transparent;
}
.page-dot.unlocked {
  background: #0abf53;
  border-color: #0a8838;
  box-shadow: 0 0 8px rgba(10, 191, 83, 0.5);
}
#dossier-footer-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(26, 14, 10, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  #dossier-modal, #dossier-paper { transition-duration: 200ms; }
}

/* ---------- C11 — ADYEN PRODUCT NAMES ----------
   "What these stops are called inside Adyen" table on page 1, and
   "Adyen, by name" callouts on pages 2 + 3. Same paper-on-paper
   register as the rest of the dossier (warm cream + serif), but
   distinct enough that the reader recognises product-name content. */

.dossier-product-table {
  margin: 14px 0 8px 0;
  border-top: 1px dashed rgba(26, 14, 10, 0.25);
  border-bottom: 1px dashed rgba(26, 14, 10, 0.25);
}
.dp-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.55fr) 1fr;
  gap: 16px;
  padding: 10px 6px;
  border-bottom: 1px dashed rgba(26, 14, 10, 0.12);
  align-items: baseline;
}
.dp-row:last-child { border-bottom: none; }
.dp-stop {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(26, 14, 10, 0.65);
}
.dp-product {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(26, 14, 10, 0.92);
}
.dp-product em {
  font-style: italic;
  font-weight: 600;
  color: #0a7030;
}
.dp-product code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82em;
  padding: 1px 5px;
  background: rgba(26, 14, 10, 0.06);
  border-radius: 2px;
  color: rgba(26, 14, 10, 0.88);
}

.dossier-product-note {
  margin: 22px 0 14px 0;
  padding: 14px 16px 14px 18px;
  background: rgba(10, 191, 83, 0.06);
  border-left: 3px solid rgba(10, 138, 60, 0.55);
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(26, 14, 10, 0.92);
}
.dossier-product-note .dp-eyebrow {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #0a7030;
  margin-bottom: 6px;
}
.dossier-product-note em {
  font-style: italic;
  font-weight: 600;
  color: #0a7030;
}

@media (max-width: 520px) {
  .dp-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 4px;
  }
  .dp-stop { font-size: 0.58rem; }
  .dp-product { font-size: 0.86rem; }
  .dossier-product-note { font-size: 0.86rem; padding: 12px 14px; }
}
