/* Billionaires Digest v2: news + tools pages in the casino world (index, sectors, calendar, archive, about, flows,
   quarterly, copycat, network, compare, property, and the generated people/ companies/ editions/ guides/ pages).
   Needs tokens.css + ui.css first. Replaces assets/site.css, tools.css, tools4.css and quarterly.css on those pages:
   it styles every class the v1 renderers use (assets/common.js, calendar.js, flows.js, quarterly.js, copycat.js,
   network.js, compare.js, property.js, the inline page scripts and scripts/lib/pages/*).
   Look: dark felt, brass frames, gold + neon (mockups/team-arcade). Reading text stays plain: Barlow 17px on dark
   panels, lines kept near 70 characters. No endless motion; nothing moves with prefers-reduced-motion.
   Body class: "v2 nw". New classes use the nw- prefix. */

.nw {
  /* v1 names the renderers still reference (inline styles use var(--accent) and var(--line)) */
  --accent: var(--gold, #F5C542);
  --accent-ink: var(--gold-ink, #2A1D00);
  --line2: var(--line-2, #8C7A4A);
  --soft: #E6E0D2;
  --up: var(--positive, #39E07A);
  --down: var(--negative, #FF5A52);
  --tape-bg: #000;
  --tape-text: var(--gold-2, #FFE08A);
  --dot: #8C8574;
  /* casino set used below (fallbacks match tokens.css) */
  --nw-panel: var(--surface, #121418);
  --nw-panel-2: var(--panel-2, #0B0C0F);
  --nw-gold: var(--gold, #F5C542);
  --nw-gold-2: var(--gold-2, #FFE08A);
  --nw-gold-dk: var(--gold-dk, #8E6B1C);
  --nw-rule: #2A2618;
  --nw-red: #D62D27;
  --nw-text: var(--text, #F4F1E8);
  --nw-muted: var(--text-muted, #BDB6A4);
  --nw-info: var(--info-ink, #8CC8FF);
  --nw-brass: var(--brass, linear-gradient(145deg, #FBEAB0 0%, #B98E32 22%, #F5C542 45%, #7A5A1A 70%, #E9C766 100%));
  --nw-chrome: var(--chrome, linear-gradient(145deg, #F4F6F8 0%, #8C949D 25%, #E9EDF1 48%, #5F6770 72%, #D5DAE0 100%));
  --nw-goldbtn: var(--gold-btn, linear-gradient(180deg, #FFE9A0 0%, #F5C542 45%, #C9971F 100%));
  --nw-cab: radial-gradient(ellipse at 50% 0%, #2A0E0D 0%, #110708 55%, #07080A 100%);
  --nw-card: linear-gradient(180deg, #14161B 0%, #0C0D10 100%);
  font-variant-numeric: tabular-nums;
}
.nw a { color: var(--nw-gold-2); text-underline-offset: 2px; }
.nw a:hover { color: #fff; }
.nw-main:focus { outline: none; }
.nw :focus-visible { outline: 3px solid var(--focus, #5CE1FF); outline-offset: 2px; }

/* ---------- base v1 helpers ---------- */
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.serif { font-family: var(--font-body); font-weight: 700; }
.display { font-family: var(--font-display); font-weight: var(--fw-display); text-transform: uppercase; letter-spacing: .02em; }
.label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nw-muted); }
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--nw-muted); }
.note { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--nw-muted); }
.sr-only, .t4sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
img { max-width: 100%; }

/* section headings: gold marquee lettering */
.feedhead h2, .feedhead h1, .tsec > h2, .sech2, .t4h2, .cch2, .earlierh, .about h2, .box h3, .tboard h3, .propreg > h2 {
  font-family: var(--font-display); font-weight: var(--fw-display); font-style: normal; text-transform: uppercase;
  letter-spacing: .04em; color: var(--nw-gold); text-shadow: 0 2px 0 #4A360A;
}

/* ---------- LED status line (dateline / updated) ---------- */
.nw-ledbar { background: #000; border-bottom: 1px solid var(--nw-rule); }
.nw-led {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 0;
  padding-top: 8px; padding-bottom: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nw-gold-2);
  text-shadow: 0 0 8px rgba(245, 197, 66, .35);
}
.nw-led span:empty { display: none; }
.pagehead .nw-led { justify-content: center; padding: 0; margin: 14px 0 0; color: var(--nw-gold-2); }

/* ---------- page head: marquee cabinet ---------- */
.pagehead, .nw-head {
  position: relative; max-width: min(1360px, calc(100% - 2 * clamp(16px, 3vw, 40px)));
  margin: 24px auto 0; padding: 34px clamp(18px, 4vw, 48px) 32px; text-align: center;
  border: 6px solid transparent; border-radius: 18px;
  background: var(--nw-cab) padding-box, var(--nw-brass) border-box;
  box-shadow: inset 0 0 0 2px rgba(214, 45, 39, .85), inset 0 0 0 4px #5A0F0C, inset 0 0 40px rgba(0, 0, 0, .8),
    0 18px 50px rgba(0, 0, 0, .55), 0 0 40px rgba(245, 197, 66, .1);
}
.pagehead::before, .pagehead::after, .nw-head::before, .nw-head::after, .lede .wrap::before, .lede .wrap::after {
  content: ''; position: absolute; left: 22px; right: 22px; height: 12px; pointer-events: none;
  background-image: radial-gradient(circle at center, #FFF5D6 0 2px, #FFE08A 3px, rgba(255, 224, 138, .35) 5px, transparent 6px);
  background-size: 22px 12px; background-repeat: repeat-x; background-position: center;
}
.pagehead::before, .nw-head::before, .lede .wrap::before { top: 8px; }
.pagehead::after, .nw-head::after, .lede .wrap::after { bottom: 8px; }
.nw-kicker {
  display: inline-block; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--nw-gold); margin-bottom: 4px;
}
.pagehead h1, .nw-title {
  margin: 2px 0 0; font-family: var(--font-display); font-weight: var(--fw-display); font-style: normal;
  text-transform: uppercase; letter-spacing: .03em; line-height: .98; color: #fff; overflow-wrap: anywhere;
  font-size: clamp(38px, 6vw, 68px);
  text-shadow: 0 3px 0 var(--nw-red), 0 6px 0 #5A0F0C, 0 0 24px rgba(255, 90, 82, .3);
}
.nw-title--sm { font-size: clamp(32px, 4.6vw, 52px); }
.pagehead p, .nw-head p { max-width: 64ch; margin: 12px auto 0; color: var(--soft); font-size: 17px; line-height: 1.55; }
.pagehead p.qlead { font-size: 15px; color: var(--nw-muted); }
.pagehead .tcta { justify-content: center; }
.pagehead .ccmethod { margin-left: auto; margin-right: auto; text-align: left; }
.pagebody { padding-bottom: 48px; }
.backlink {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
}
.nw a.backlink { color: var(--nw-gold-2); }
.backlink:hover { text-decoration: underline; }

/* breadcrumbs (generated pages) */
.crumbs { padding-top: 10px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nw-muted); }
.crumbs li + li::before { content: '›'; margin-right: 8px; color: var(--nw-gold-dk); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- lede of the day: marquee cabinet hero ---------- */
.lede { padding: 24px 0 8px; }
.lede .wrap {
  position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: center;
  max-width: min(1360px, calc(100% - 2 * clamp(16px, 3vw, 40px)));
  padding: 40px clamp(20px, 4vw, 56px) 38px;
  border: 6px solid transparent; border-radius: 18px;
  background: var(--nw-cab) padding-box, var(--nw-brass) border-box;
  box-shadow: inset 0 0 0 2px rgba(214, 45, 39, .85), inset 0 0 0 4px #5A0F0C, inset 0 0 40px rgba(0, 0, 0, .8),
    0 18px 50px rgba(0, 0, 0, .55), 0 0 40px rgba(245, 197, 66, .12);
}
.lede .label {
  font-family: var(--font-display); font-weight: var(--fw-display); font-size: 22px; letter-spacing: .14em;
  color: var(--nw-gold); text-shadow: 0 0 12px rgba(245, 197, 66, .5);
}
.lede h1 {
  margin: 10px 0 14px; font-family: var(--font-display); font-weight: var(--fw-display); text-transform: uppercase;
  letter-spacing: .02em; font-size: clamp(34px, 5.2vw, 64px); line-height: 1; color: #fff; overflow-wrap: anywhere;
  text-shadow: 0 3px 0 var(--nw-red), 0 6px 0 #5A0F0C;
}
.lede p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--soft); max-width: 62ch; }
.portrait { width: min(240px, 100%); margin: 0 auto; }
.portrait .av .avimg { border-width: 5px; box-shadow: 0 0 28px rgba(245, 197, 66, .3); }

/* ---------- avatars: sector plate in a brass ring, initials on a gold chip ---------- */
.av { position: relative; display: block; flex: none; width: var(--av, 56px); aspect-ratio: 1; overflow: visible; }
.av .avimg {
  display: block; width: 100%; height: 100%; border-radius: 50%; background-color: #0F100D;
  background-size: cover; background-position: center; background-repeat: no-repeat; border: 2px solid var(--nw-gold-dk);
}
.av .avini {
  position: absolute; left: 50%; transform: translateX(-50%); line-height: 1.25; padding: 1px 7px; border-radius: 4px;
  background: var(--nw-goldbtn); color: #2A1D00;
  font-family: var(--font-display); font-weight: var(--fw-display); white-space: nowrap; text-transform: uppercase; letter-spacing: .02em;
}

/* ---------- net worth strip: LED reel windows, scroll by hand, never auto-scrolls ---------- */
.tape {
  background: var(--tape-bg); color: var(--tape-text); overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-top: 2px solid var(--nw-gold-dk); border-bottom: 2px solid var(--nw-gold-dk);
  scrollbar-width: thin; scrollbar-color: var(--nw-gold-dk) #000;
}
.tape .wrap { display: flex; align-items: stretch; gap: 8px; white-space: nowrap; padding-top: 10px; padding-bottom: 10px; width: max-content; min-width: 100%; }
.tape .wrap > b {
  display: inline-flex; align-items: center; padding: 0 12px; border-radius: 6px; background: var(--nw-red); color: #fff;
  font-family: var(--font-display); font-weight: var(--fw-display); font-size: 16px; letter-spacing: .12em;
  box-shadow: 0 0 12px rgba(255, 59, 59, .35);
}
.tape span {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 6px;
  background: linear-gradient(180deg, #000 0%, #16181C 20%, #1E2126 50%, #16181C 80%, #000 100%);
  box-shadow: inset 0 0 0 1px #3A3220;
  font-family: var(--font-display); font-weight: var(--fw-display); font-size: 21px; line-height: 1.1; color: var(--nw-gold-2);
  text-shadow: 0 0 8px rgba(245, 197, 66, .45);
}
.tape span b { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--nw-muted); text-shadow: none; }

/* ---------- top 10 reel ---------- */
.topten .wrap { padding-top: 22px; }
.tengrid { display: grid; grid-template-columns: repeat(10, minmax(112px, 1fr)); gap: 8px; overflow-x: auto; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--nw-gold-dk) transparent; }
.person {
  display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; min-height: 44px; padding: 14px 6px 12px;
  background: var(--nw-card); border: 2px solid var(--nw-rule); border-radius: 12px; color: inherit; font: inherit; text-align: center;
  overflow: visible; cursor: none; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.person:hover { border-color: var(--nw-gold-dk); box-shadow: 0 0 16px rgba(245, 197, 66, .2); }
.person[aria-pressed="true"] { border-color: var(--nw-gold); box-shadow: 0 0 18px rgba(245, 197, 66, .4), inset 0 -3px 0 var(--nw-gold); background: linear-gradient(180deg, #2A220D 0%, #151006 100%); }
.person:focus-visible { outline-offset: -3px; }
.person .label { color: var(--nw-muted); }
.pname { font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1.15; max-width: 100%; overflow-wrap: break-word; text-transform: none; letter-spacing: 0; color: #fff; }
.pworth { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 20px; color: var(--nw-gold); }
.ptoday { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--up); }
.asof { font-size: 12px; color: var(--nw-muted); letter-spacing: .06em; padding: 0 0 8px; }
#chomp { position: fixed; left: 0; top: 0; display: none; color: var(--nw-gold); pointer-events: none; z-index: 50; transform: translate(-50%, -50%); }
#chomp .av { margin: 0; }
#chomp.on { display: block; animation: nw-chomp .22s infinite alternate; }
#chomp.on .avimg { animation: nw-chompmouth .22s infinite alternate; }
@keyframes nw-chomp { to { transform: translate(-50%, -50%) scaleY(.85); } }
@keyframes nw-chompmouth { to { border-radius: 50% 50% 28% 28% / 58% 58% 42% 42%; } }
@media (hover: none) { .person { cursor: pointer; } #chomp { display: none !important; } }
@media (prefers-reduced-motion: reduce) { #chomp.on, #chomp.on .avimg { animation: none; } }

/* ---------- feed + sidebar layout ---------- */
.main .wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; padding-top: 28px; padding-bottom: 48px; align-items: start; }
.feedhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 2px solid var(--nw-gold-dk); }
.feedhead h2, .feedhead h1 { margin: 0; font-size: 36px; line-height: 1; }
.earlierh { margin: 36px 0 0; padding-bottom: 10px; border-bottom: 2px solid var(--nw-gold-dk); font-size: 28px; }

/* chips (sector filters, calendar types) */
.chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 0 4px; }
.chip {
  min-height: 44px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  background: var(--nw-panel-2); color: var(--nw-text); border: 2px solid var(--line2);
  font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.chip:hover { border-color: var(--nw-gold); }
.chip[aria-pressed="true"] { background: var(--nw-goldbtn); color: #2A1D00; border-color: var(--nw-gold); box-shadow: 0 0 12px rgba(245, 197, 66, .35); }
.chipgrp { display: inline-flex; align-items: stretch; }
.chipgrp .chip { border-radius: 999px 0 0 999px; }
.chipgo, .nw a.chipgo {
  min-height: 44px; min-width: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--line2); border-left: none; border-radius: 0 999px 999px 0; color: var(--nw-gold-2); text-decoration: none; font-size: 14px;
}
.chipgo:hover { background: rgba(245, 197, 66, .12); }
.flowgo, .nw a.flowgo { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; margin: -12px -10px -12px 0; color: var(--nw-gold-2); text-decoration: none; font-size: 14px; }

/* ---------- stories ---------- */
.story {
  margin-top: 20px; padding: 22px 24px 16px; border-radius: 14px; border: 2px solid transparent;
  background: var(--nw-card) padding-box, linear-gradient(145deg, #6E5418 0%, #2F2A1C 40%, #2F2A1C 60%, #8E6B1C 100%) border-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.sgrid { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; }
.sart { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 12px; border: 2px solid #8C949D; background: #0F100D; }
.sbody { min-width: 0; }
.srow { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; font-size: 13px; }
.who, .nw a.who { color: var(--nw-gold-2); font-weight: 700; font-size: 16px; }
a.who { text-decoration: none; overflow-wrap: anywhere; }
a.who:hover { text-decoration: underline; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border: 1px solid var(--line2); border-radius: 999px; color: var(--nw-muted); }
.srow .label { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 15px; letter-spacing: .08em; color: var(--nw-gold-2); }
.read { margin-left: auto; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px currentColor; }
.story h3 { margin: 12px 0 16px; font-family: var(--font-body); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.22; color: #fff; max-width: 40ch; }
.correction { margin: -6px 0 16px; padding: 8px 12px; border-left: 3px solid var(--warning, #FFC862); background: rgba(255, 200, 98, .08); font-size: 15px; line-height: 1.5; color: var(--nw-text); max-width: 70ch; }
.quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.quad h4 { margin: 0 0 6px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.quad p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--soft); max-width: 70ch; }
/* "The move" = the facts: a solid fact sheet across the card. Opinion blocks follow with a dashed rule. */
.q-move { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .045); box-shadow: inset 4px 0 0 #C9CED4, inset 0 0 0 1px #3A3F47; }
.q-move h4 { color: #fff; }
.q-move p { color: #fff; }
.q-why, .q-bear, .q-watch { padding-left: 14px; border-left: 2px dashed var(--nw-gold-dk); }
.q-why h4 { color: var(--nw-gold); }
.q-bear { border-left-color: #8A2A24; } .q-bear h4 { color: var(--down); }
.q-watch { border-left-color: #2F5570; } .q-watch h4 { color: var(--nw-info); }
.src { display: flex; gap: 8px 14px; align-items: center; flex-wrap: wrap; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--nw-rule); font-size: 13px; color: var(--nw-muted); }
.src a, .nw .src a {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 2px solid var(--nw-gold-dk);
  color: var(--nw-gold-2); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.src a:hover { background: rgba(245, 197, 66, .12); color: #fff; }
.src a.report, .nw .src a.report { margin-left: auto; padding: 0; border: none; border-radius: 0; color: var(--nw-muted); text-transform: none; letter-spacing: .02em; font-weight: 400; text-decoration: underline; }
.src a.report:hover { background: none; color: var(--nw-gold-2); }
.storydate { padding-bottom: 8px; }

/* ---------- sidebar boxes ---------- */
.side { display: flex; flex-direction: column; gap: 20px; }
.box { padding: 20px; border-radius: 14px; background: var(--nw-card); border: 2px solid var(--nw-rule); }
.box.strong { border-color: transparent; background: var(--nw-card) padding-box, var(--nw-brass) border-box; }
.box h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.05; }
.list { display: flex; flex-direction: column; font-size: 15px; line-height: 1.55; color: var(--soft); }
.list span + span { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--nw-rule); }
.consensus {
  position: relative; padding: 22px; border-radius: 14px; border: 3px solid transparent; color: var(--nw-text);
  background: var(--nw-cab) padding-box, var(--nw-brass) border-box; box-shadow: inset 0 0 0 1px rgba(214, 45, 39, .8);
}
.consensus .cart { position: absolute; top: 22px; right: 22px; display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 50%; border: 2px solid var(--nw-gold); background: #0F100D; }
.consensus .label, .consensus .t { padding-right: 80px; }
.consensus .label { color: #FF7B76; text-shadow: 0 0 10px rgba(255, 59, 59, .45); }
.consensus .t { font-family: var(--font-body); font-weight: 700; font-size: 22px; line-height: 1.25; margin: 8px 0; color: #fff; }
.consensus p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--soft); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags span { font-size: 12px; font-weight: 700; padding: 4px 10px; border: 1px solid var(--nw-gold-dk); border-radius: 999px; color: var(--nw-gold-2); }
.ledger .mark { font-size: 30px; line-height: 1; color: var(--nw-gold); text-shadow: 0 0 14px rgba(245, 197, 66, .45); }
.ledger .t { font-family: var(--font-body); font-weight: 700; font-size: 22px; line-height: 1.25; margin: 10px 0; color: #fff; }
.ledger p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--soft); }
.frow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 14px; padding: 10px 0; border-top: 1px solid var(--nw-rule); }
.frow.h { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nw-muted); }
.flow { display: flex; flex-direction: column; gap: 12px; }
.flowrow { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.flowrow .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.flowrow .sname { display: flex; align-items: center; gap: 10px; min-width: 0; }
.flowrow .top .fr { display: inline-flex; align-items: center; gap: 6px; }
.fart { display: block; flex: none; width: 28px; height: 28px; object-fit: cover; border-radius: 6px; border: 1px solid var(--nw-gold-dk); background: #0F100D; }
.bar { height: 10px; border-radius: 999px; background: #1E1C16; box-shadow: inset 0 0 0 1px var(--nw-rule); overflow: hidden; }
.bar i { display: block; height: 10px; border-radius: 999px; background: var(--nw-goldbtn); box-shadow: 0 0 8px rgba(245, 197, 66, .5); }

/* SEC filings rows */
.filrow { padding: 10px 0; border-top: 1px solid var(--nw-rule); font-size: 14px; line-height: 1.5; }
.filtop { display: flex; justify-content: space-between; align-items: baseline; gap: 2px 12px; flex-wrap: wrap; }
.filwho { color: #fff; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.nw a.filwho { color: #fff; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; margin: -13px 0; }
a.filwho:hover { text-decoration: underline; }
.filform { font-size: 12px; letter-spacing: .04em; color: var(--nw-muted); }
.nw a.filform { color: var(--nw-gold-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; margin: -13px 0; }
a.filform:hover { text-decoration: underline; }
.filtx { margin-top: 4px; }
.filtx span { display: block; overflow-wrap: anywhere; }
.filmeta { margin-top: 2px; font-size: 12px; color: var(--nw-muted); overflow-wrap: anywhere; }

/* ---------- person card (index #person= and people/ pages) ---------- */
.pcard { margin-top: 20px; padding: 22px 24px 12px; border-radius: 16px; border: 3px solid transparent; background: var(--nw-card) padding-box, var(--nw-brass) border-box; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.pchead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 20px; flex-wrap: wrap; }
.pcwho { min-width: 0; flex: 1 1 260px; }
.pcrank { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--nw-red); color: #fff; font-family: var(--font-display); font-weight: var(--fw-display); font-size: 18px; letter-spacing: .06em; }
.pcname { margin: 8px 0 6px; font-size: 36px; line-height: 1.1; color: #fff; overflow-wrap: anywhere; }
.nw .pcrank a { color: #fff; }
.pcsrc { font-size: 13px; color: var(--nw-muted); }
.pcside { display: flex; align-items: center; gap: 14px; }
.pcworth { margin-top: 16px; padding: 16px; border-radius: 12px; background: #000; box-shadow: inset 0 0 0 2px #2A2618, inset 0 0 24px rgba(0, 0, 0, .8); }
.pcval { margin-top: 4px; font-family: var(--font-display); font-weight: var(--fw-display); font-size: 52px; line-height: 1; color: var(--nw-gold); text-shadow: 0 0 14px rgba(245, 197, 66, .45); overflow-wrap: anywhere; }
.pcsub { font-size: 13px; color: var(--nw-muted); margin-top: 4px; }
.pcest { font-size: 14px; color: var(--soft); margin-top: 6px; }
.estmore { display: inline; }
.estmore summary { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 44px; margin: -14px 0; cursor: pointer; color: var(--nw-gold-2); font-weight: 700; list-style: none; }
.estmore summary::-webkit-details-marker { display: none; }
.estmethod { display: block; margin: 8px 0 2px; padding: 8px 12px; border-left: 2px solid var(--line2); font-size: 13px; line-height: 1.55; color: var(--nw-muted); max-width: 560px; }
.spark { padding: 16px 0 14px; border-bottom: 1px solid var(--nw-rule); }
.spark svg { display: block; width: 100%; height: 90px; margin-top: 8px; overflow: visible; }
.sparkax { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--nw-muted); letter-spacing: .04em; margin-top: 6px; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--nw-rule); margin-top: 8px; }
.tab {
  min-height: 44px; padding: 8px 16px; margin-bottom: -2px; background: transparent; color: var(--nw-muted); border: none; border-bottom: 3px solid transparent;
  font-family: var(--font-display); font-weight: var(--fw-display); font-size: 18px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { color: var(--nw-gold); border-bottom-color: var(--nw-gold); }
.tab:focus-visible { outline-offset: -3px; }
.tabpanel { padding: 4px 0 10px; }
.fpg h4, .fpg .fph { margin: 18px 0 4px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nw-gold); }
.fprow { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px 16px; padding: 10px 0; border-top: 1px solid var(--nw-rule); font-size: 15px; line-height: 1.55; }
.fprow .fpmain { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; }
.fprow .fpdet { display: block; font-size: 13px; color: var(--nw-muted); margin-top: 2px; }
.fprow a { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .06em; min-height: 44px; display: inline-flex; align-items: center; margin: -10px 0; }
.fprow .fpmain a.colink { display: inline; font-size: inherit; letter-spacing: inherit; font-weight: 700; min-height: 0; margin: 0; }
.fprow .fpsrcs { flex: none; display: inline-flex; flex-wrap: wrap; gap: 0 12px; }
.fpq { white-space: nowrap; }
.fpmore { margin-top: 2px; }
.fpmore summary { display: inline-flex; align-items: center; min-height: 44px; margin: -6px 0 -10px; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nw-gold-2); list-style: none; }
.fpmore summary::-webkit-details-marker { display: none; }
.fpmore summary::before { content: '+'; display: inline-block; width: 14px; font-weight: 700; }
.fpmore[open] summary::before { content: '−'; }
.fpmore dl { margin: 10px 0 2px; padding: 10px 12px; border-left: 2px solid var(--line2); font-size: 14px; line-height: 1.55; color: var(--soft); }
.fpmore dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nw-muted); }
.fpmore dd { margin: 0 0 8px; overflow-wrap: anywhere; }
.fpmore dd:last-child { margin-bottom: 0; }
.pcnote { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: var(--nw-muted); }
.tabpanel .filrow { font-size: 15px; }

/* generated person / company pages */
.pp { max-width: 940px; padding-bottom: 48px; }
.pp .pcard { padding-top: 18px; }
.livelink { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.livelink:hover { text-decoration: underline; }
.ppsec { margin-top: 8px; }
.quotenote { margin: 12px 0 0; }

/* ---------- empty edition ---------- */
.empty { padding: 60px 0; text-align: center; }
.pressart { width: min(520px, 100%); height: auto; display: block; margin: 0 auto 18px; border-radius: 14px; border: 3px solid var(--nw-gold-dk); }
.empty .big { font-size: clamp(32px, 6vw, 60px); line-height: 1.02; color: var(--nw-gold); text-shadow: 0 3px 0 #4A360A; }
.empty p { color: var(--nw-muted); font-size: 16px; max-width: 520px; margin: 12px auto 0; }

/* ---------- about ---------- */
.about { max-width: 780px; padding-top: 8px; padding-bottom: 48px; }
.about section { margin-top: 20px; padding: 22px 24px 12px; border-radius: 14px; background: var(--nw-card); border: 2px solid var(--nw-rule); }
.about section:target { border-color: var(--nw-gold); box-shadow: 0 0 18px rgba(245, 197, 66, .25); }
.about h2 { margin: 0 0 12px; font-size: 28px; line-height: 1.05; }
.about p, .about li { margin: 0 0 10px; font-size: 17px; line-height: 1.65; color: var(--soft); max-width: 70ch; }
.about ul { margin: 0 0 10px; padding-left: 22px; }
.about a { overflow-wrap: anywhere; }

/* ---------- archive list ---------- */
.edlist { list-style: none; margin: 0; padding: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.edrow a, .nw .edrow a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; align-items: center; min-height: 44px; padding: 16px 20px;
  border-radius: 12px; background: var(--nw-card); border: 2px solid var(--nw-rule); color: inherit; text-decoration: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.edrow a:hover { border-color: var(--nw-gold-dk); box-shadow: 0 0 16px rgba(245, 197, 66, .18); }
.edrow a:hover .edh { text-decoration: underline; }
.eddate { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--nw-gold); }
.edh { margin: 4px 0; font-size: clamp(20px, 2.4vw, 25px); line-height: 1.2; color: #fff; }
.edmeta { font-size: 13px; color: var(--nw-muted); }
.edavs { display: flex; gap: 8px; align-items: flex-start; }
.edrow.loading .edh { color: var(--nw-muted); }
.edsentinel { height: 1px; }
.edmore { margin: 18px 0 0; }
.edgrid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 36px; padding-top: 24px; align-items: start; }

/* ---------- sectors ---------- */
.secgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 24px; }
.sectile, .nw a.sectile {
  display: flex; flex-direction: column; min-height: 44px; overflow: hidden; color: inherit; text-decoration: none;
  border-radius: 14px; border: 3px solid transparent; background: var(--nw-card) padding-box, var(--nw-brass) border-box;
  transition: box-shadow var(--t-fast) var(--ease);
}
.sectile:hover { box-shadow: 0 0 22px rgba(245, 197, 66, .3); }
.sectile:hover .secname { text-decoration: underline; }
.sectile img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #0F100D; border-bottom: 2px solid var(--nw-gold-dk); }
.sectile .secbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.secname { font-size: 20px; line-height: 1.15; color: #fff; }
.secstat { font-size: 13px; color: var(--nw-muted); }
.secstat b { color: var(--nw-gold-2); font-weight: 700; }
.sechero {
  display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 8px; padding: 20px;
  border-radius: 16px; border: 3px solid transparent; background: var(--nw-cab) padding-box, var(--nw-brass) border-box;
}
.sechero img { display: block; width: 160px; height: 160px; object-fit: cover; border-radius: 12px; border: 2px solid var(--nw-gold-dk); background: #0F100D; }
.sechero h1 { margin: 4px 0 6px; font-family: var(--font-display); font-weight: var(--fw-display); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(34px, 5vw, 56px); line-height: 1; color: #fff; text-shadow: 0 3px 0 var(--nw-red), 0 6px 0 #5A0F0C; }
.sechero p { margin: 0; color: var(--soft); font-size: 16px; }
.sechero .label { color: var(--nw-gold); }
.sech2 { margin: 32px 0 0; padding-bottom: 10px; border-bottom: 2px solid var(--nw-gold-dk); font-size: 28px; line-height: 1.05; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 24px; }
.plist li { border-bottom: 1px solid var(--nw-rule); }
.plist a, .nw .plist a { display: flex; align-items: center; gap: 14px; padding: 12px 0 10px; min-height: 44px; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.plist a:hover .pln { text-decoration: underline; }
.plinfo { min-width: 0; display: flex; flex-direction: column; }
.pln { font-size: 17px; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.plw { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 17px; letter-spacing: .02em; color: var(--nw-gold); }
.plx { font-size: 13px; color: var(--nw-muted); overflow-wrap: anywhere; }

/* ---------- tools (calendar, flows) ---------- */
.tools { padding-bottom: 48px; }
.tsec { padding-top: 32px; }
.tsec > h2 { margin: 0; padding-bottom: 10px; border-bottom: 2px solid var(--nw-gold-dk); font-size: clamp(24px, 3vw, 32px); line-height: 1.05; }
.tsec > .tlead { margin: 12px 0 0; font-size: 16px; line-height: 1.65; color: var(--soft); max-width: 70ch; }
.tnote { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--nw-muted); max-width: 820px; }
.tnote a { overflow-wrap: anywhere; }
.tempty { padding: 18px 0; font-size: 15px; color: var(--nw-muted); border-bottom: 1px solid var(--nw-rule); }
.estflag { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--warning, #FFC862); border-radius: 999px; color: var(--warning, #FFC862); vertical-align: middle; }
.tcta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; }
.tbtn, .nw a.tbtn {
  min-height: 44px; display: inline-flex; align-items: center; padding: 8px 22px; border-radius: 999px; border: 2px solid transparent;
  background: var(--nw-goldbtn); color: #2A1D00; box-shadow: 0 3px 0 #6E4F0E, 0 0 16px rgba(245, 197, 66, .3);
  font-family: var(--font-display); font-weight: var(--fw-display); font-size: 18px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
}
.tbtn:hover, .nw a.tbtn:hover { filter: brightness(1.08); color: #2A1D00; }
.tbtn.ghost, .nw a.tbtn.ghost { background: transparent; color: var(--nw-text); border-color: var(--line2); box-shadow: none; }
.tbtn.ghost:hover, .nw a.tbtn.ghost:hover { border-color: var(--nw-gold); color: #fff; filter: none; }
.tcta .tsmall { font-size: 13px; color: var(--nw-muted); }
.pagehead .tcta .tsmall { flex-basis: 100%; }
.trows { list-style: none; margin: 0; padding: 0; }
.trow { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 4px 18px; padding: 14px 0; border-bottom: 1px solid var(--nw-rule); align-items: start; }
.tdate { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--nw-gold); line-height: 1.25; padding-top: 2px; }
.tdate .approx { color: var(--nw-muted); }
.tmain { min-width: 0; }
.ttitle { margin: 0; font-size: 17px; line-height: 1.45; color: #fff; overflow-wrap: anywhere; }
.tmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 8px; font-size: 13px; color: var(--nw-muted); }
.tperson, .nw a.tperson { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: -4px 0 0; color: var(--nw-text); text-decoration: none; }
a.tperson:hover .tpname { text-decoration: underline; }
.tpname { font-weight: 700; overflow-wrap: anywhere; }
.tsrc { display: inline-flex; align-items: center; min-height: 44px; margin: -6px 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ttype { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--line2); border-radius: 999px; }
.tfig { color: #fff; }
.tgroup { margin: 24px 0 0; padding-bottom: 8px; border-bottom: 2px solid var(--nw-gold-dk); font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nw-muted); }
.tgroup .cnt { color: var(--nw-gold); margin-left: 6px; }
/* headline stat: odometer windows */
.tstat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.tstat > div { padding: 16px; border-radius: 12px; background: #000; box-shadow: inset 0 0 0 2px #2A2618, inset 0 0 24px rgba(0, 0, 0, .8); min-width: 0; }
.tstat .big { margin-top: 6px; font-family: var(--font-display); font-weight: var(--fw-display); font-size: clamp(32px, 4.4vw, 48px); line-height: 1; overflow-wrap: anywhere; text-shadow: 0 0 14px currentColor; }
.tstat .big.flat { color: var(--nw-gold); }
.tstat .sub { font-size: 13px; color: var(--nw-muted); margin-top: 6px; }
.tchart { margin-top: 18px; padding: 14px; border-radius: 12px; background: var(--nw-panel-2); box-shadow: inset 0 0 0 2px var(--nw-rule); }
.tchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.tchart .axis { stroke: var(--line2); stroke-width: 1; }
.tchart .grid { stroke: var(--nw-rule); stroke-width: 1; }
.tchart .bbuy { fill: var(--up); }
.tchart .bsell { fill: var(--down); }
.tchart text { fill: var(--nw-muted); font-size: 11px; font-family: var(--font-body); }
.tlegend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; color: var(--soft); }
.tlegend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.tlegend .lbuy { background: var(--up); } .tlegend .lsell { background: var(--down); }
.ttable-wrap { overflow-x: auto; margin-top: 12px; max-width: 100%; }
.ttable, .qtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ttable caption, .qtable caption { text-align: left; font-size: 12px; color: var(--nw-muted); padding-bottom: 8px; }
.ttable th, .ttable td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--nw-rule); text-align: right; vertical-align: top; }
.ttable th:first-child, .ttable td:first-child { text-align: left; }
.ttable thead th, .qtable th { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nw-gold); border-bottom: 2px solid var(--nw-gold-dk); }
.ttable td.up, .qtable td.up { color: var(--up); } .ttable td.down, .qtable td.down { color: var(--down); }
.tdetails { margin-top: 12px; }
.tdetails summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nw-gold-2); }
.tcols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.tboard h3 { margin: 24px 0 0; padding-bottom: 8px; border-bottom: 2px solid var(--nw-gold-dk); font-size: 22px; line-height: 1.1; }
.tboard h3 .estflag { margin-left: 8px; text-shadow: none; }
.tboard .tnote { margin-top: 8px; }
.trank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.trank > li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--nw-rule); counter-increment: r; }
.trank > li::before {
  content: counter(r); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-top: 7px; border-radius: 50%;
  background: var(--nw-goldbtn); color: #2A1D00; font-family: var(--font-display); font-weight: var(--fw-display); font-size: 16px; box-shadow: 0 0 0 2px #6E4F0E;
}
.trank .rmain { min-width: 0; }
.trank .rval { font-size: 16px; font-weight: 700; text-align: right; white-space: nowrap; padding-top: 10px; }
.trank .rsrc { display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: 2px; font-size: 12px; color: var(--nw-muted); }
.trank .rsrc a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0 -12px; overflow-wrap: anywhere; }

/* ---------- tools: network, compare, property ---------- */
.t4intro { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: flex-end; justify-content: space-between; padding-top: 20px; }
.t4field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.t4field label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nw-muted); }
.t4input, .t4select { min-height: 44px; max-width: 100%; padding: 8px 12px; border-radius: 8px; background: var(--nw-panel-2); color: var(--nw-text); border: 2px solid var(--line2); font: inherit; font-size: 16px; }
.t4select { padding-right: 32px; }
.t4input:hover, .t4select:hover { border-color: var(--nw-gold); }
.t4btn { min-height: 44px; padding: 8px 16px; border-radius: 999px; background: transparent; color: var(--nw-text); border: 2px solid var(--line2); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.t4btn:hover { border-color: var(--nw-gold); }
.t4msg { margin: 8px 0 0; font-size: 14px; color: var(--nw-muted); min-height: 1.5em; }
.t4note { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: var(--nw-muted); max-width: 70ch; }
.t4h2 { margin: 32px 0 0; padding-bottom: 10px; border-bottom: 2px solid var(--nw-gold-dk); font-size: 28px; line-height: 1.05; }
.t4src { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; margin: -10px 0; }
.t4srcs { display: inline-flex; flex-wrap: wrap; gap: 0 14px; }
.t4tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--nw-gold); border-radius: 999px; color: var(--nw-gold); vertical-align: 1px; }
.t4bar { display: block; height: 8px; margin-top: 6px; border-radius: 999px; background: #1E1C16; overflow: hidden; }
.t4bar i { display: block; height: 8px; border-radius: 999px; background: var(--nw-goldbtn); }

.netgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding-top: 20px; align-items: start; }
.netbox {
  overflow: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 3px solid transparent;
  background: radial-gradient(ellipse at 50% 30%, #173524 0%, #0B1A12 60%, #07080A 100%) padding-box, var(--nw-brass) border-box;
}
.netbox svg { display: block; width: 100%; height: auto; min-width: 640px; }
.netlegend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 13px; color: var(--nw-muted); }
.nedge { stroke: #8C7A4A; stroke-linecap: round; opacity: .7; }
.nedge.on { stroke: var(--nw-gold); opacity: 1; }
.nedge.off { opacity: .15; }
.nnode { cursor: pointer; outline: none; }
.nnode .nplate { stroke: #E9C766; stroke-width: 1.5; }
.nnode .nring { fill: none; stroke: transparent; stroke-width: 3; }
.nnode .nini { fill: var(--nw-gold-2); font-family: var(--font-display); font-weight: var(--fw-display); text-anchor: middle; dominant-baseline: central; pointer-events: none; paint-order: stroke; stroke: #000; stroke-width: 3px; stroke-linejoin: round; }
.nnode .nname { fill: #fff; font-size: 11px; font-family: var(--font-body); font-weight: 700; text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: #07120C; stroke-width: 3px; stroke-linejoin: round; opacity: 0; }
.nnode:hover .nring, .nnode.hot .nring { stroke: var(--nw-gold); }
.nnode:focus-visible .nring, .nnode:focus .nring { stroke: var(--focus, #5CE1FF); stroke-width: 4; }
.nnode.sel .nring { stroke: var(--nw-gold); stroke-width: 4; }
.nnode.hot .nname, .nnode.sel .nname, .nnode.nb .nname, .nnode:focus .nname { opacity: 1; }
.nnode.off { opacity: .3; }
.netside { min-width: 0; padding: 18px 18px 12px; border-radius: 14px; background: var(--nw-card); border: 2px solid var(--nw-rule); }
.netside h2 { margin: 0; font-size: 26px; line-height: 1.15; color: #fff; overflow-wrap: anywhere; }
.netside .nsub { font-size: 13px; color: var(--nw-muted); margin-top: 4px; }
.nshead { display: flex; gap: 14px; align-items: center; }
.nsnb { padding: 10px 0; border-top: 1px solid var(--nw-rule); }
.nsnb:first-of-type { margin-top: 12px; }
.nsnbh { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.nslink { background: none; border: none; padding: 0; font: inherit; color: var(--nw-gold-2); text-align: left; cursor: pointer; min-height: 44px; font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.nslink:hover { text-decoration: underline; }
.nscount { flex: none; font-size: 12px; color: var(--nw-muted); }
.nsco { list-style: none; margin: 0; padding: 0; }
.nsco li { padding: 6px 0 6px 12px; border-left: 2px solid var(--nw-gold-dk); margin: 4px 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.nsco .how { display: block; font-size: 12px; color: var(--nw-muted); }
.netlist { margin-top: 28px; border-top: 2px solid var(--nw-rule); }
.netlist summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nw-gold-2); list-style: none; }
.netlist summary::-webkit-details-marker { display: none; }
.netlist summary::before { content: '+'; display: inline-block; width: 16px; font-weight: 700; }
.netlist[open] summary::before { content: '−'; }
.pairs { list-style: none; margin: 0; padding: 0; }
.pairs > li { padding: 12px 0; border-top: 1px solid var(--nw-rule); font-size: 14px; line-height: 1.55; }
.pairs .ph { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.pairs .ph b { font-weight: 700; color: #fff; }
.pairs .ph a { min-height: 44px; display: inline-flex; align-items: center; margin: -12px 0; }
.pairs .nsco { margin-top: 6px; }

.cmppick { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px 16px; align-items: end; padding-top: 20px; }
.cmppick .t4select { width: 100%; }
.cmpgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 16px; }
.cmpcol { min-width: 0; padding: 4px 20px 16px; border-radius: 14px; background: var(--nw-card); border: 2px solid var(--nw-rule); }
.cmphead { display: flex; gap: 16px; align-items: center; padding: 18px 0 14px; border-bottom: 1px solid var(--nw-rule); }
.cmphead h2 { margin: 2px 0 0; font-size: 28px; line-height: 1.1; color: #fff; overflow-wrap: anywhere; }
.cmphead h2 a { color: inherit; text-decoration: none; }
.cmphead h2 a:hover { text-decoration: underline; }
.cmprank { font-size: 13px; font-weight: 700; color: var(--nw-gold); letter-spacing: .08em; }
.cmpworth { padding: 14px 0; border-bottom: 1px solid var(--nw-rule); }
.cmpworth .v { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 42px; line-height: 1; color: var(--nw-gold); text-shadow: 0 0 12px rgba(245, 197, 66, .4); }
.cmpworth .s { font-size: 13px; color: var(--nw-muted); margin-top: 4px; }
.cmpworth .e { font-size: 14px; color: var(--soft); margin-top: 6px; }
.cmpstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--nw-rule); }
.cmpstats div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dotted var(--nw-rule); font-size: 14px; }
.cmpstats dt { color: var(--nw-muted); }
.cmpstats dd { margin: 0; font-weight: 700; }
.cmpsec h3 { margin: 18px 0 4px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nw-gold); }
.cmprow { display: flex; justify-content: space-between; align-items: flex-start; gap: 4px 14px; padding: 8px 0; border-top: 1px solid var(--nw-rule); font-size: 14px; line-height: 1.5; }
.cmprow .m { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; }
.cmprow .d { display: block; font-size: 12px; color: var(--nw-muted); }
.cmprow.shared { background: linear-gradient(90deg, rgba(245, 197, 66, .12), transparent); box-shadow: inset 3px 0 0 var(--nw-gold); padding-left: 10px; }
.cmpshared { margin-top: 8px; }
.cmpshared .nsco li { font-size: 15px; }

.privnote { margin-top: 18px; padding: 12px 16px; border-left: 3px solid var(--nw-gold); border-radius: 0 10px 10px 0; background: var(--nw-panel); font-size: 15px; line-height: 1.6; max-width: 70ch; }
.propsum { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; font-size: 14px; color: var(--nw-muted); }
.propsum b { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 30px; color: var(--nw-gold); margin-right: 6px; }
.propreg { margin-top: 8px; }
.propreg > h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 28px 0 0; padding-bottom: 8px; border-bottom: 2px solid var(--nw-gold-dk); font-size: 26px; line-height: 1.1; }
.propreg > h2 span { flex: none; font-family: var(--font-body); font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--nw-muted); text-shadow: none; }
.proparea { border-bottom: 1px solid var(--nw-rule); }
.proparea summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; min-height: 44px; padding: 10px 0; cursor: pointer; list-style: none; }
.proparea summary::-webkit-details-marker { display: none; }
.proparea .an { font-size: 17px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.proparea .an::before { content: '+'; display: inline-block; width: 16px; color: var(--nw-gold); font-weight: 700; }
.proparea[open] .an::before { content: '−'; }
.proparea .ac { font-size: 13px; color: var(--nw-muted); text-align: right; }
.proparea .t4bar { grid-column: 1 / -1; margin-top: 2px; max-width: 420px; }
.propents { list-style: none; margin: 0 0 12px; padding: 0 0 0 16px; }
.propents li { padding: 10px 0; border-top: 1px dotted var(--nw-rule); font-size: 15px; line-height: 1.55; }
.propents .pe1 { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; }
.propents .pe1 a.who { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; margin: -12px 0; }
.propents .pe2 { color: var(--soft); overflow-wrap: anywhere; }
.propents .pe3 { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12px; color: var(--nw-muted); align-items: center; }

/* ---------- quarterly 13F + copycat ---------- */
.qlead { margin: 10px 0 0; font-size: 15px; color: var(--soft); max-width: 70ch; line-height: 1.6; }
.qlead a { white-space: nowrap; }
.qjump { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 4px; }
.qjump a, .nw .qjump a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 2px solid var(--line2); color: var(--nw-text); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.qjump a:hover { border-color: var(--nw-gold); }
.fcard { margin-top: 20px; padding: 22px 24px 20px; border-radius: 14px; background: var(--nw-card); border: 2px solid var(--nw-rule); }
.fcard:target { border-color: var(--nw-gold); box-shadow: 0 0 18px rgba(245, 197, 66, .25); }
.fcard:target .fname { color: var(--nw-gold); }
.fhead { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.fwho { min-width: 0; flex: 1 1 280px; }
.fperson { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.fperson a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; margin: -12px 0; }
.fperson a:hover { text-decoration: underline; }
.fname { margin: 2px 0 4px; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; color: #fff; overflow-wrap: anywhere; }
.fmeta { font-size: 13px; color: var(--nw-muted); }
.flink { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; }
.fstats { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 16px 0 0; font-size: 13px; color: var(--nw-muted); }
.fstats > * { padding: 10px 14px; border-radius: 10px; background: #000; box-shadow: inset 0 0 0 1px #2A2618; }
.fstats b { display: block; font-family: var(--font-display); font-weight: var(--fw-display); font-size: 24px; line-height: 1.1; color: var(--nw-gold); }
.fnote { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--nw-muted); max-width: 70ch; }
.fconf { margin: 14px 0 0; padding: 10px 12px; border-left: 3px solid var(--nw-gold); font-size: 15px; color: var(--soft); }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px 36px; margin-top: 18px; }
.fsec h3 { margin: 0 0 8px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nw-gold); }
.fsec h3 .cnt { color: var(--nw-muted); }
.chgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.chg h3.new, .chg h3.inc { color: var(--up); } .chg h3.exited, .chg h3.dec { color: var(--down); }
.qtable th { text-align: left; padding: 6px 8px 6px 0; white-space: nowrap; }
.qtable td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--nw-rule); vertical-align: top; }
.qtable th.n, .qtable td.n { text-align: right; white-space: nowrap; }
.qtable tr:last-child td { border-bottom: none; }
.qtable .co { overflow-wrap: anywhere; }
.qtable .sub { display: block; font-size: 12px; color: var(--nw-muted); font-weight: 400; }
.qtable .sub.hide-sm-inv { display: none; }
.qtable td.up, .qtable td.down { font-weight: 700; }
.qtable a { text-decoration: none; }
.qtable a:hover { text-decoration: underline; }
.qtable td a.src { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; padding: 0; border: none; font-size: 12px; letter-spacing: .06em; }
.pctbar { display: block; height: 4px; margin-top: 4px; border-radius: 999px; background: #1E1C16; overflow: hidden; }
.pctbar i { display: block; height: 4px; background: var(--nw-gold); }
.chrow { display: flex; justify-content: space-between; gap: 4px 12px; padding: 8px 0; border-top: 1px solid var(--nw-rule); font-size: 14px; line-height: 1.45; }
.chrow:first-of-type { border-top: none; }
.chrow .co { min-width: 0; overflow-wrap: anywhere; }
.chrow .co .sub, .chrow .nums .sub { display: block; font-size: 12px; color: var(--nw-muted); }
.chrow .nums { flex: none; text-align: right; white-space: nowrap; }
.chnone { font-size: 14px; color: var(--nw-muted); padding: 6px 0; }
.morebtn { min-height: 44px; padding: 0 14px; margin-top: 6px; border-radius: 999px; background: transparent; color: var(--nw-gold-2); border: 2px solid var(--line2); font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.morebtn:hover { border-color: var(--nw-gold); }
.ccmethod { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; border: 2px dashed var(--nw-gold); background: rgba(245, 197, 66, .06); font-size: 15px; line-height: 1.6; max-width: 820px; color: var(--nw-text); }
.ccmethod strong { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nw-gold); }
.cchero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 36px; padding: 22px 0 18px; border-bottom: 1px solid var(--nw-rule); }
.ccbig { display: inline-block; padding: 8px 18px; border-radius: 12px; background: #000; box-shadow: inset 0 0 0 2px #2A2618, inset 0 0 24px rgba(0, 0, 0, .8); font-family: var(--font-display); font-weight: var(--fw-display); font-size: clamp(48px, 9vw, 88px); line-height: 1; text-shadow: 0 0 16px currentColor; }
.ccbig.flat { color: var(--nw-gold); }
.cchero .ccsub { font-size: 15px; color: var(--soft); max-width: 60ch; }
.ccstats { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--nw-muted); }
.ccstats b { display: block; font-family: var(--font-display); font-weight: var(--fw-display); font-size: 24px; line-height: 1.1; color: var(--nw-gold); }
.ccgrid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 36px; padding-top: 24px; align-items: start; }
.cch2 { margin: 0 0 10px; font-size: 26px; }
.ccperson { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--nw-rule); }
.ccperson:first-of-type { border-top: none; }
.ccperson .who { min-width: 0; flex: 1 1 auto; font-size: 15px; font-weight: 400; color: var(--nw-text); overflow-wrap: anywhere; }
.ccperson .who a { text-decoration: none; font-weight: 700; }
.ccperson .who a:hover { text-decoration: underline; }
.ccperson .who .sub { display: block; font-size: 12px; color: var(--nw-muted); }
.ccperson .ret { flex: none; text-align: right; font-weight: 700; font-size: 16px; }
.ccdetail { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: var(--nw-muted); max-width: 820px; }

/* ---------- markets.html forwarder ---------- */
.nw-moved { max-width: 640px; margin: 40px auto 64px; }
.nw-moved .tcta { justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .lede .wrap, .main .wrap { grid-template-columns: minmax(0, 1fr); }
  .portrait { width: 160px; }
  .quad { grid-template-columns: minmax(0, 1fr); }
  .read { margin-left: 0; }
  .secgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .edgrid, .netgrid, .fgrid, .ccgrid, .tcols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .cmppick, .cmpgrid { grid-template-columns: minmax(0, 1fr); }
  .cmprow { flex-direction: column; }
}
@media (max-width: 600px) {
  .pagehead, .nw-head { margin-top: 16px; padding: 30px 16px 28px; border-width: 5px; border-radius: 14px; }
  .pagehead p, .nw-head p { font-size: 16px; }
  .lede { padding-top: 16px; }
  .lede .wrap { padding: 34px 18px 32px; border-width: 5px; border-radius: 14px; gap: 20px; }
  .lede p { font-size: 17px; }
  .story { padding: 18px 16px 12px; }
  .sgrid { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .sart { width: 48px; height: 48px; border-radius: 10px; }
  .quad p { font-size: 16px; }
  .src a.report { margin-left: 0; }
  .tengrid .av { --av: 48px !important; }
  .feedhead h2, .feedhead h1 { font-size: 30px; }
  .pcard { padding: 18px 16px 10px; }
  .pcname { font-size: 28px; }
  .pcval { font-size: 40px; }
  .pcside { width: 100%; justify-content: space-between; }
  .fprow { flex-direction: column; }
  .fprow a { margin: -8px 0 -10px; }
  .edrow a, .nw .edrow a { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .sechero { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 14px; }
  .sechero img { width: 88px; height: 88px; }
  .secname { font-size: 17px; }
  .sectile .secbody { padding: 10px 10px 12px; }
  .about section { padding: 18px 16px 8px; }
  .trow { grid-template-columns: minmax(0, 1fr); }
  .tstat { grid-template-columns: minmax(0, 1fr); }
  .trank > li { grid-template-columns: 34px minmax(0, 1fr); }
  .trank .rval { grid-column: 2; text-align: left; padding-top: 0; }
  .chgrid { grid-template-columns: minmax(0, 1fr); }
  .qjump { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
  .qjump a { flex: none; white-space: nowrap; }
  .fcard { padding: 18px 16px; }
  .fhead .av { --av: 48px !important; }
  .qtable { font-size: 13px; }
  .qtable th, .qtable td { padding-right: 6px; }
  .qtable .hide-sm { display: none; }
  .qtable .sub.hide-sm-inv { display: block; }
  .ccbig { font-size: 56px; }
  .cmpcol { padding: 4px 14px 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .nedge, .nnode { transition: opacity .15s ease, stroke .15s ease; }
}

/* index: slim marquee sign above the lede cabinet */
.nw-head--slim { padding-top: 28px; padding-bottom: 24px; }
.nw-head--slim p:not(.nw-title) { margin-top: 8px; font-size: 16px; color: var(--nw-muted); }
.nw-head p.nw-title { max-width: none; margin: 2px 0 0; color: #fff; line-height: .98; font-size: clamp(38px, 6vw, 68px); }
.nw-head p.nw-title--sm { font-size: clamp(32px, 4.6vw, 52px); }
