/* $TRUMP: the known money flows. A research note on docshock.studio, not linked from the studio.
   Same-site fonts only, and no inline styles: the studio's content security policy allows neither. */

@font-face { font-family: "Purely Constructed"; font-weight: 400; src: url("/fonts/purely-constructed-book.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Purely Constructed"; font-weight: 600; src: url("/fonts/purely-constructed-demi.woff2") format("woff2"); font-display: swap; }

:root {
  --bg: #F6EFDD;
  --box: #FFFBF2;
  --ink: #3A2517;
  --muted: #6E5A47;
  --rule: #CDB98E;
  --cash: #1E4B47;
  --token: #9B2F22;
  --gold: #F0D9A6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #18211E;
    --box: #1F2A26;
    --ink: #E8DDC4;
    --muted: #B3A78F;
    --rule: #3C4943;
    --cash: #7CC3B6;
    --token: #E58A70;
    --gold: #4A3D1C;
  }
}

html { color-scheme: light dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Purely Constructed", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}
.masthead, main { max-width: 70rem; margin: 0 auto; padding: 0 1rem; }
.masthead { padding-top: 1.25rem; }
h1 { font-size: 2.1rem; line-height: 1.15; margin: 0.4rem 0 0.6rem; font-weight: 600; }
h2 { font-size: 1.3rem; margin: 2.2rem 0 0.6rem; font-weight: 600; }
.kicker { margin: 1rem 0 0; color: var(--muted); font-size: 0.95rem; }
.lede { max-width: 48rem; }
.note { color: var(--muted); margin-top: 0; }
a { color: var(--cash); }

.tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--rule);
  border-radius: 1rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
}
.tag::before { content: "\2190\00a0"; }
.tag:hover, .tag:focus-visible { border-color: var(--ink); }

.legend { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.legend li { display: flex; align-items: center; gap: 0.5rem; }
.key { width: 2.5rem; height: 0.7rem; }

.swipe-hint { display: none; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 60rem) { .swipe-hint { display: block; } }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
svg.flows { display: block; width: 100%; min-width: 56rem; height: auto; }
svg text { font-family: "Purely Constructed", system-ui, sans-serif; fill: var(--ink); }
.node rect { fill: var(--box); stroke: var(--muted); stroke-width: 1.2; }
.node.issuer rect { stroke: var(--token); stroke-width: 2.2; }
.node.mint rect { stroke: var(--token); stroke-width: 2.2; fill: var(--gold); }
.node.vault rect { stroke: var(--token); stroke-width: 1.6; }
.node.pool rect { stroke: var(--cash); stroke-width: 2.2; }
.node.public rect { stroke: var(--cash); stroke-width: 1.6; fill: var(--gold); }
.node.company rect { stroke: var(--ink); stroke-width: 2; }
.node .t { font-size: 14px; font-weight: 600; }
.node .s { font-size: 12px; fill: var(--muted); }
.edge { fill: none; stroke-width: 2; }
.edge.cash { stroke: var(--cash); }
.edge.token { stroke: var(--token); stroke-dasharray: 1 4.5; stroke-linecap: round; stroke-width: 2.6; }
.edge.untraced { stroke: var(--muted); stroke-dasharray: 7 5; }
.edge.own { stroke: var(--muted); stroke-width: 1.3; }
.arrow.cash { fill: var(--cash); }
.arrow.token { fill: var(--token); }
.arrow.untraced, .arrow.own { fill: var(--muted); }
.pill { fill: var(--bg); }
.lbl { font-size: 11.5px; }
.lbl.cash { fill: var(--cash); }
.lbl.token { fill: var(--token); }
.lbl.untraced, .lbl.own { fill: var(--muted); }

table { border-collapse: collapse; width: 100%; min-width: 44rem; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--rule); }
thead th { font-weight: 600; }
td.num { font-weight: 600; min-width: 8rem; }
th:nth-child(2), td:nth-child(2) { min-width: 12rem; }
blockquote { margin: 1.2rem 0; padding: 0.6rem 1rem; border-left: 3px solid var(--token); background: var(--box); }
blockquote p { margin: 0; }
ul { padding-left: 1.2rem; }
li { margin: 0.35rem 0; }
.sources { margin-bottom: 3rem; font-size: 0.95rem; }
