@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/ibm-plex-sans-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans Condensed";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-condensed-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans Condensed";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/ibm-plex-sans-condensed-latin-700-normal.woff2) format("woff2")}
/* StockTies. Color carries meaning: cobalt = suppliers, ember = customers, violet = outside forces. Navy is the brand. */
:root{
  --paper:#FFFFFF;--surface:#FFFFFF;--sunk:#F2F4F8;
  --ink:#16213A;--body:#3A465E;--muted:#5D687F;--line:#E1E6EE;--line2:#B3BCCB;
  --navy:#16213A;--navy2:#22304F;--on-navy:#FFFFFF;--on-navy2:#C2CCE0;--navy-line:#33456B;
  --hero:#F3F6FB;--hero-ink:#16213A;--hero-ink2:#4A5670;--hero-line:#E3E8F0;--hero-card:#FFFFFF;
  --sup:#2F6BD6;--sup-tint:#E3EDFF;--sup-line:#B5CCF5;--sup-panel:#EEF4FF;
  --cus:#B9521F;--cus-tint:#FFE7DA;--cus-line:#F1C3A8;--cus-panel:#FFF3EC;
  --frc:#8F6A00;--frc-tint:#FFF0C7;--frc-line:#EBD38A;--frc-panel:#FFF8E5;
  --map-panel:#F5F7FB;--plain-panel:#F5F7FB;
  --link:#2F6BD6;--link-hover:#1F4FA8;
  --btn:#2F6BD6;--btn-hover:#2559B8;
  --beat:#127238;--beat-bg:#E4F5EA;--miss:#B42020;--miss-bg:#FCEAEA;--flat:#33405C;--flat-bg:#E9EDF3;
  --wire:#C5CDDC;--shadow:0 1px 2px rgba(22,33,58,.05),0 3px 12px rgba(22,33,58,.05);
  --head:"IBM Plex Sans Condensed","IBM Plex Sans",system-ui,sans-serif;
  --text:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:light
}
:root[data-theme="dark"]{
  --paper:#0A1120;--surface:#111A2D;--sunk:#0D1526;
  --ink:#E8EDF7;--body:#C1CADB;--muted:#93A0B9;--line:#22304B;--line2:#3B4A69;
  --navy:#1A2A4F;--navy2:#172750;--on-navy:#FFFFFF;--on-navy2:#AEBBD8;--navy-line:#2F4472;
  --hero:#0F1930;--hero-ink:#FFFFFF;--hero-ink2:#AEBBD8;--hero-line:#22304B;--hero-card:#152240;
  --sup:#86A9FF;--sup-tint:#18284D;--sup-line:#2F4687;--sup-panel:#101B34;
  --cus:#FF9E70;--cus-tint:#33200F;--cus-line:#6A3A1D;--cus-panel:#1D1510;
  --frc:#E8C45A;--frc-tint:#2E2610;--frc-line:#5E4D1E;--frc-panel:#1B1810;
  --map-panel:#0F1729;--plain-panel:#0F1729;
  --link:#86A9FF;--link-hover:#B3C7FF;
  --btn:#3563EE;--btn-hover:#4C77F3;
  --beat:#74E0A0;--beat-bg:#0F2C1D;--miss:#FF9C9C;--miss-bg:#361416;--flat:#C1CADB;--flat-bg:#1C2740;
  --wire:#33415E;--shadow:0 1px 2px rgba(0,0,0,.3),0 6px 18px rgba(0,0,0,.25);
  color-scheme:dark
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--text);font-size:16px;line-height:1.6;font-feature-settings:"tnum" 0}
a{color:var(--link);text-underline-offset:2px}a:hover{color:var(--link-hover)}
:focus-visible{outline:3px solid var(--sup);outline-offset:2px;border-radius:4px}
h1,h2,h3,p{margin:0}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.muted{color:var(--muted)}
.body2{color:var(--body)}

/* ---------- header ---------- */
.top{background:var(--surface);border-bottom:1px solid var(--line);position:relative;z-index:20}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:64px}
.logo{display:flex;align-items:center;gap:8px;color:var(--ink);text-decoration:none;min-height:44px}
.logo svg{flex:0 0 auto}
.logo b{font-family:var(--head);font-weight:700;font-size:23px;letter-spacing:-.01em}
.logo:hover{color:var(--ink)}
.navr{display:flex;align-items:center;gap:6px 14px;position:relative}
.nav{display:flex;gap:0 18px}
.nav a{min-height:44px;display:flex;align-items:center;color:var(--body);text-decoration:none;font-weight:500;font-size:15px}
.nav a:hover{color:var(--ink)}
.theme-btn{display:none;width:42px;height:42px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;align-items:center;justify-content:center}
:root[data-theme] .theme-btn{display:inline-flex}
.theme-btn:hover{border-color:var(--line2);background:var(--sunk)}
.theme-btn .sun{display:none}
:root[data-theme="dark"] .theme-btn .sun{display:block}
:root[data-theme="dark"] .theme-btn .moon{display:none}
.tip{position:absolute;top:calc(100% + 10px);right:0;z-index:30;background:var(--btn);color:#fff;border-radius:10px;padding:8px 6px 8px 14px;font-size:14px;font-weight:600;display:flex;align-items:center;gap:6px;white-space:nowrap;box-shadow:0 10px 28px rgba(8,16,40,.45);animation:tipIn .35s cubic-bezier(.2,.7,.2,1) both}
.tip::before{content:"";position:absolute;top:-6px;right:15px;width:12px;height:12px;background:inherit;transform:rotate(45deg);border-radius:2px}
.tip[hidden]{display:none}
.tip button{width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:18px;line-height:1;cursor:pointer;opacity:.75}
.tip button:hover{opacity:1;background:rgba(255,255,255,.12)}
@keyframes tipIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

/* ---------- navy band (page hero) ---------- */
.band{background:var(--hero);color:var(--hero-ink);border-bottom:1px solid var(--hero-line)}
.band .wrap{padding-top:40px;padding-bottom:36px;display:flex;flex-direction:column;gap:14px}
.band h1{font-family:var(--head);font-weight:700;font-size:clamp(36px,6vw,58px);line-height:1.04;letter-spacing:-.015em;max-width:18ch}
.band .lede{font-size:18px;line-height:1.55;color:var(--hero-ink2);max-width:62ch}
.band a{color:var(--hero-ink)}
.idrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
.tk{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:14px;padding:5px 11px;border-radius:8px;background:var(--navy);color:#fff}
.tk span{font-weight:500;color:var(--on-navy2)}
.chk{font-size:14px;color:var(--hero-ink2)}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:14px;color:var(--hero-ink2)}
.crumbs a{color:var(--hero-ink2);text-underline-offset:3px}
.crumbs a:hover{color:var(--hero-ink)}
.crumbs [aria-current]{color:var(--hero-ink)}
.band .ties{font-size:16px;line-height:1.55;color:var(--hero-ink2);max-width:70ch}
.band .ties strong{color:var(--hero-ink);font-weight:600}
.band .ties a{color:var(--hero-ink);text-underline-offset:3px;text-decoration-color:var(--line2)}
.pslot{display:none}
.js .pslot{height:30px;display:flex;align-items:center}

/* legend tiles in the band: the map's color key and a summary in one */
.legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;max-width:720px}
.legend a{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:10px;background:var(--navy2);border:1px solid var(--navy-line);text-decoration:none;color:var(--on-navy);box-shadow:inset 0 3px 0 var(--c)}
.legend a:hover{border-color:var(--c);color:#fff}
.legend b{font-family:var(--head);font-size:26px;line-height:1.1;font-weight:700}
.legend span{font-size:14px;color:var(--on-navy2)}
.legend .s{--c:var(--sup)}.legend .c{--c:var(--cus)}.legend .f{--c:var(--frc)}
@media (max-width:520px){.legend{gap:8px}.legend a{padding:10px}.legend b{font-size:22px}.legend span{font-size:13px}}

/* ---------- sticky section menu ---------- */
.subnav{position:sticky;top:0;z-index:15;background:color-mix(in srgb,var(--paper) 92%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.subnav .wrap{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.subnav .wrap::-webkit-scrollbar{display:none}
.subnav a{flex:0 0 auto;display:flex;align-items:center;min-height:48px;padding:0 12px;color:var(--muted);text-decoration:none;font-weight:500;font-size:15px;border-bottom:2px solid transparent;margin-bottom:-1px}
.subnav a:hover{color:var(--ink)}
.subnav a.on{color:var(--ink);border-bottom-color:var(--ink);font-weight:600}

/* ---------- page body ---------- */
main.page{padding-top:32px;padding-bottom:72px;display:flex;flex-direction:column;gap:40px}
.sec{display:flex;flex-direction:column;gap:18px;scroll-margin-top:64px}
.sh{display:flex;flex-direction:column;gap:4px}
.sh h2{font-family:var(--head);font-weight:700;font-size:28px;line-height:1.15;letter-spacing:-.01em;display:flex;align-items:center;gap:10px}

.sh p{color:var(--muted);max-width:68ch}
.k-sup{--k:var(--sup)}.k-cus{--k:var(--cus)}.k-frc{--k:var(--frc)}

.card{background:var(--surface);border:1px solid var(--line);border-radius:12px}
/* Each group sits on its own softly tinted block (Nov 21 redesign). Cards inside are plain white. */
.blk{padding:28px;border-radius:20px;background:var(--plain-panel)}
#map.blk{background:var(--map-panel)}#forces.blk{background:var(--frc-panel)}
#suppliers.blk{background:var(--sup-panel)}#customers.blk{background:var(--cus-panel)}
.blk .card{border-color:transparent;box-shadow:var(--shadow)}
@media (max-width:640px){.blk{padding:20px 14px;border-radius:16px;margin:0 -8px}}
.btn{min-height:44px;padding:8px 18px;border-radius:10px;font:inherit;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;transition:background-color .15s ease,border-color .15s ease}
.btn.primary{background:var(--btn);color:#fff;border:0}
.btn.primary:hover{background:var(--btn-hover);color:#fff}
.btn.ghost{background:var(--surface);color:var(--ink);border:1px solid var(--line2)}
.btn.ghost:hover{background:var(--sunk)}
.btn:active{transform:scale(.98)}

/* ---------- map ---------- */
.mapgrid{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}
.mapcol{flex:0 0 354px;max-width:100%;background:var(--surface);border:1px solid transparent;border-radius:14px;padding:16px;box-shadow:var(--shadow)}
.map{position:relative;width:320px}
.map .lab{position:absolute;font-size:13px;line-height:16px;font-weight:600}
.map .lab.up{color:var(--sup);left:0;width:320px;text-align:center}
.map .lab.down{color:var(--cus);left:0;width:140px}
.wires{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}
.wire{fill:none;stroke:var(--wire);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;animation:draw .75s cubic-bezier(.3,.6,.2,1) forwards;animation-delay:var(--d,0ms);transition:stroke .25s ease,stroke-width .25s ease}
.wire.hint{stroke:var(--line2)}
.wire.on.up{stroke:var(--sup);stroke-width:3}
.wire.on.down{stroke:var(--cus);stroke-width:3}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes nodeIn{from{opacity:0;scale:.9;translate:0 8px}to{opacity:1;scale:1;translate:0 0}}
.node{position:absolute;width:132px;height:72px;padding:6px;border-radius:10px;border:1.5px solid var(--line2);background:var(--surface);color:var(--ink);font:inherit;font-size:15px;line-height:19px;text-align:center;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;animation:nodeIn .5s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--d,0ms);transition:transform .18s ease,box-shadow .18s ease,border-color .2s ease,background-color .2s ease}
.node.up{border-color:var(--sup-line)}
.node.down{border-color:var(--cus-line)}
.node b{font-weight:600}
.node small{font-size:12px;line-height:15px}
.node.up small{color:var(--sup)}
.node.down small{color:var(--cus)}
.node:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.node.up[aria-pressed="true"]{border:2px solid var(--sup);background:var(--sup-tint)}
.node.down[aria-pressed="true"]{border:2px solid var(--cus);background:var(--cus-tint)}
.node .lk{position:absolute;top:6px;right:6px;color:var(--muted)}
.node.up[aria-pressed="true"] .lk{color:var(--sup)}
.node.down[aria-pressed="true"] .lk{color:var(--cus)}
.center{position:absolute;left:60px;width:200px;height:88px;border-radius:12px;background:var(--navy);color:#fff;border:1px solid var(--navy-line);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:8px 10px;font-size:12.5px;line-height:16px;color-scheme:dark;animation:nodeIn .55s cubic-bezier(.2,.7,.2,1) both;view-transition-name:hub}
.center span{color:var(--on-navy2)}
.center b{font-family:var(--head);font-size:26px;line-height:30px;font-weight:700}
.center.long b{font-size:20px;line-height:24px}
.center span{overflow-wrap:anywhere}
.center::after{content:"";position:absolute;inset:0;border-radius:12px;pointer-events:none}
.center.pulse.up::after{animation:ringU .8s ease-out}
.center.pulse.down::after{animation:ringD .8s ease-out}
@keyframes ringU{from{box-shadow:0 0 0 0 rgba(35,80,216,.45)}to{box-shadow:0 0 0 16px rgba(35,80,216,0)}}
@keyframes ringD{from{box-shadow:0 0 0 0 rgba(194,68,14,.45)}to{box-shadow:0 0 0 16px rgba(194,68,14,0)}}
.vt .center{animation:none}
@view-transition{navigation:auto}
::view-transition-group(hub){animation-duration:.5s;animation-timing-function:cubic-bezier(.2,.7,.2,1)}
::view-transition-old(root),::view-transition-new(root){animation-duration:.25s}

.side{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:12px}
.panel{padding:22px;display:flex;flex-direction:column;gap:10px;box-shadow:inset 0 4px 0 var(--sup)}
.panel.down{box-shadow:inset 0 4px 0 var(--cus)}
.panel .meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:13px}
.panel .grp{font-weight:600}
.grp.up{color:var(--sup)}.grp.down{color:var(--cus)}
.panel h3{font-family:var(--head);font-size:28px;line-height:1.15;font-weight:700}
.panel .src{font-size:14px;color:var(--muted);display:flex;flex-direction:column;gap:4px;border-top:1px solid var(--line);padding-top:10px}
.panel .src a{color:var(--body)}
.swap{animation:swap .3s cubic-bezier(.2,.7,.2,1) both}
@keyframes swap{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.steps{display:flex;gap:12px}
.steps .btn{flex:1 1 0;min-height:48px}
.how{font-size:14px;color:var(--muted);padding:0 4px}
.ph{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}

/* ---------- outside forces ---------- */
.forces{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;align-items:start}
.force{background:var(--surface);border:1px solid transparent;border-radius:12px;box-shadow:var(--shadow)}
.force details{interpolate-size:allow-keywords}
.force summary{list-style:none;cursor:pointer;padding:16px 16px 10px;display:flex;flex-direction:column;gap:10px;border-radius:12px}
.force summary::-webkit-details-marker{display:none}
.force summary .t{font-family:var(--head);font-size:19px;font-weight:700;display:block;margin-bottom:4px}
.force summary .d{color:var(--body);display:block;font-size:15px}
.force .wl{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:600;color:var(--frc);align-self:flex-start}
.force .chev{flex:0 0 auto;transition:transform .25s ease}
.force details[open] .chev{transform:rotate(180deg)}
.force:has(details[open]){border-color:var(--frc-line)}
.force .more{padding:0 16px 8px;color:var(--body);font-size:15px}
.force details::details-content{block-size:0;overflow-y:clip;transition:block-size .28s cubic-bezier(.2,.7,.2,1),content-visibility .28s allow-discrete}
.force details[open]::details-content{block-size:auto}
.force .fsrc{padding:0 16px 14px;font-size:13px;color:var(--muted)}
.force .fsrc a{color:var(--muted)}

/* ---------- connection lists ---------- */
.clist{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:12px}
.citem{padding:18px;display:flex;flex-direction:column;gap:8px}
.citem .hd{display:flex;justify-content:space-between;gap:8px 10px;align-items:center;flex-wrap:wrap}
.citem h3,.citem h4{font-family:var(--head);font-size:20px;font-weight:700}
.role{font-size:12.5px;font-weight:600;padding:3px 9px;border-radius:6px;background:var(--sup-tint);color:var(--sup)}
.citem.down .role{background:var(--cus-tint);color:var(--cus)}
.citem p{font-size:15px}
.citem .src{font-size:13px;color:var(--muted)}
.citem .src a{color:var(--muted)}
.citem .acts{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:14px;font-weight:600;margin-top:auto;padding-top:4px}
.citem .acts a{text-decoration:none}
.citem .acts a:hover{text-decoration:underline}

/* ---------- rivals ---------- */
.rivals{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.rival,a.card.rival{padding:14px 16px;display:flex;flex-direction:column;gap:2px;color:inherit;text-decoration:none}
a.card.rival:hover{border-color:var(--line2);box-shadow:var(--shadow)}
.rival b{font-weight:600}
.rival span{font-size:14px;color:var(--muted)}
.rival .go{font-size:13px;font-weight:600;color:var(--link);margin-top:6px}
.sec > .src{font-size:13px;color:var(--muted)}
.sec > .src a{color:var(--muted)}

/* ---------- questions ---------- */
.faq{display:flex;flex-direction:column;padding:4px 22px}
.faq .q{padding:18px 0;display:grid;gap:6px;border-bottom:1px solid var(--line)}
.faq .q:last-child{border-bottom:0}
.faq h3{font-family:var(--head);font-size:19px;font-weight:700;line-height:1.3}
.faq p{color:var(--body);max-width:75ch}
@media (min-width:860px){.faq .q{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px}}

/* ---------- latest earnings ---------- */
.earnbox{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;scroll-margin-top:64px}
.earnbox .eh{background:var(--sunk);border-bottom:1px solid var(--line);padding:18px 24px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px}
.earnbox .eh h2{font-family:var(--head);font-weight:700;font-size:28px;line-height:1.15;display:flex;align-items:center;gap:10px}
.earnbox .eh h2 svg{color:var(--sup)}
.earnbox .eh p{color:var(--muted);font-size:15px}
.earnbox .date{font-size:14px;font-weight:600;padding:5px 11px;border-radius:8px;background:var(--surface);border:1px solid var(--line);color:var(--body)}
.earnbox .eb{padding:22px 24px;display:flex;flex-direction:column;gap:18px}
.earn{display:grid;gap:12px}
@media (min-width:640px){.earn{grid-template-columns:repeat(2,minmax(0,1fr))}}
.metric{padding:18px 20px;display:flex;flex-direction:column;gap:2px;border:1px solid var(--line);border-radius:12px}
.metric .ml{font-size:14px;font-weight:600;color:var(--muted);margin:0 0 6px}
.metric .mv{font-family:var(--head);font-weight:700;font-size:36px;line-height:1.05;color:var(--ink);font-variant-numeric:tabular-nums}
.metric .mx{font-size:15px;color:var(--muted);font-variant-numeric:tabular-nums}
.metric .mn{font-size:14px;color:var(--muted);margin-top:8px}
.earn-more{display:flex;flex-direction:column;gap:8px;font-size:15px;color:var(--body)}
.earn-more .src{font-size:14px;color:var(--muted)}
.earn-more .src a{color:var(--body)}
@media (max-width:520px){.earnbox .eh,.earnbox .eb{padding-left:16px;padding-right:16px}}

.note{padding:18px 20px;font-size:14px;color:var(--muted);display:flex;flex-direction:column;gap:6px;background:transparent;border-style:dashed}
.note strong{color:var(--ink)}

/* ---------- home ---------- */
.hband .wrap{flex-direction:row;display:flex;flex-wrap:wrap;align-items:center;gap:36px;padding-top:56px;padding-bottom:56px}
.hband .l{flex:999 1 440px;min-width:0;display:flex;flex-direction:column;gap:16px}
.hband h1{max-width:14ch}
.hband .sub{font-family:var(--head);font-size:clamp(20px,2.6vw,26px);font-weight:600;color:var(--hero-ink2);line-height:1.25}
.search{position:relative;max-width:460px;display:flex;flex-direction:column;gap:6px;margin-top:6px;z-index:3}
.search label{font-size:14px;color:var(--hero-ink2);font-weight:500}
.search input{width:100%;min-height:52px;padding:10px 16px;border:1px solid var(--line2);border-radius:10px;font:inherit;font-size:17px;background:var(--surface);color:var(--ink)}
.search input::placeholder{color:#7A849A}
.search input:focus-visible{outline:3px solid var(--sup);outline-offset:2px}
.sug{position:absolute;top:100%;left:0;right:0;margin-top:6px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 32px rgba(14,26,54,.2);padding:6px;display:flex;flex-direction:column;gap:2px;animation:tipIn .18s ease-out both}
.sug[hidden]{display:none}
.sug a{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 10px;border-radius:8px;color:var(--ink);text-decoration:none}
.sug a:hover,.sug a.act{background:var(--sunk)}
.sug b{min-width:54px}
.sug .nm{flex:1 1 auto}
.sug .go{font-size:13px;font-weight:600;color:var(--link)}
.sug .soon{font-size:12px;font-weight:600;color:var(--muted)}
.sug p{padding:10px;color:var(--muted)}
.try{display:flex;flex-wrap:wrap;align-items:center;gap:0 14px;color:var(--hero-ink2);font-size:15px}
.try a{min-height:44px;display:inline-flex;align-items:center;font-weight:600;color:var(--hero-ink)}
.mini{flex:1 1 320px;min-width:0;max-width:400px;display:block;background:var(--navy);border:1px solid var(--navy-line);border-radius:16px;padding:18px;color:#fff;text-decoration:none}
.mini:hover{border-color:#4A62A0;color:#fff}
.mini svg{display:block;width:100%;height:auto}
.mini .cap{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:var(--on-navy2);margin-top:10px}
.mini .cap b{color:#fff;font-weight:600}

.key{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.key .card{padding:22px;display:flex;flex-direction:column;gap:6px;background:var(--kp);border-color:transparent;border-radius:18px}
.key h3{font-family:var(--head);font-size:21px;font-weight:700;color:var(--k)}
.key p{color:var(--body);font-size:15px}

.chain{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;position:relative}
.chain a{position:relative;display:flex;flex-direction:column;gap:4px;padding:16px 12px 14px;text-decoration:none;color:var(--ink);border-radius:12px}
.chain a:hover{background:var(--surface);box-shadow:var(--shadow)}
.chain .dot{width:14px;height:14px;border-radius:50%;background:var(--surface);border:3px solid var(--sup);position:relative;z-index:1;margin-bottom:6px}
.chain a::before{content:"";position:absolute;top:22px;left:12px;right:-12px;height:3px;background:var(--sup-line)}
.chain a:last-child::before{display:none}
.chain b{font-family:var(--head);font-size:20px;font-weight:700}
.chain span{font-size:14px;color:var(--muted);line-height:1.4}
@media (max-width:900px){
  .chain{grid-template-columns:1fr}
  .chain a{flex-direction:row;align-items:baseline;gap:12px;padding:10px 12px 10px 36px}
  .chain .dot{position:absolute;left:12px;top:16px;margin:0}
  .chain a::before{top:30px;bottom:-16px;left:17px;right:auto;width:3px;height:auto}
  .chain b{min-width:92px;font-size:18px}
}

.tabs{display:flex;flex-wrap:wrap;gap:8px}
.tab{min-height:40px;padding:6px 14px;border-radius:8px;border:1px solid var(--line);background:var(--surface);color:var(--body);font:inherit;font-weight:600;font-size:15px;cursor:pointer}
.tab:hover{border-color:var(--line2)}
.tab[aria-pressed="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.grid20{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.chip{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);text-decoration:none;min-height:64px}
.chip:hover{border-color:var(--line2);box-shadow:var(--shadow);color:var(--ink)}
.chip .t{flex:0 0 auto;min-width:54px;text-align:center;font-weight:700;font-size:13px;padding:5px 6px;border-radius:7px;background:var(--navy);color:#fff}
.chip .n{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.chip .n b{font-weight:600}
.chip .n span{font-size:13px;color:var(--muted)}
.chip.fade{animation:fade .25s ease-out both}
@keyframes fade{from{opacity:0}to{opacity:1}}
.chip[hidden]{display:none}
.next{background:var(--plain-panel);color:var(--ink);border-radius:20px;padding:28px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px 32px}
.next h2{font-family:var(--head);font-size:26px;font-weight:700;line-height:1.2}
.next p{color:var(--body);max-width:60ch;margin-top:6px}

/* ---------- prose pages ---------- */
.prose{max-width:720px;display:flex;flex-direction:column;gap:16px}
.prose h2{font-family:var(--head);font-size:24px;font-weight:700;margin-top:12px}
.prose p,.prose li{color:var(--body)}
.prose ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}

/* ---------- footer ---------- */
footer.foot{background:var(--hero);color:var(--hero-ink2);border-top:1px solid var(--hero-line)}
footer.foot .wrap{padding-top:28px;padding-bottom:32px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px 32px;font-size:14px}
footer.foot .brand{display:flex;flex-direction:column;gap:6px;max-width:44ch}
footer.foot .brand b{font-family:var(--head);font-size:20px;color:var(--hero-ink);display:flex;align-items:center;gap:8px}
footer.foot nav{display:flex;flex-wrap:wrap;gap:4px 20px;align-items:flex-start}
footer.foot a{color:var(--hero-ink);text-decoration:none;min-height:32px;display:inline-flex;align-items:center}
footer.foot a:hover{text-decoration:underline;color:var(--hero-ink)}

/* live price tags (TradingView Ticker Tag) */
.tq{display:none;align-items:center;--tv-widget-font-family:"IBM Plex Sans",system-ui,sans-serif}
.tq.live{display:inline-flex;animation:fadeQ .4s ease both}
.tq.off{display:none}
@keyframes fadeQ{from{opacity:0}to{opacity:1}}

.rise{animation:rise .5s cubic-bezier(.2,.7,.2,1) both}
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.wire{stroke-dashoffset:0}@view-transition{navigation:none}}
@media (max-width:420px){.mapcol{flex-basis:100%;padding:12px}.map{margin:0 auto}.nav{gap:0 12px}.nav a{font-size:14.5px}.logo b{font-size:21px}.top .wrap{gap:6px}.navr{gap:6px 10px}}

/* checked date next to sources (ST-017) */
.src .ck{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.src .ck::before{content:". "}

/* back chip when arriving from another map (ST-036) */
.backslot{margin:0 0 12px}
.backchip{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-weight:600;font-size:15px;text-decoration:none}
.backchip:hover{border-color:var(--sup);color:var(--sup)}
.citem:target{outline:3px solid var(--sup);outline-offset:2px}
.citem.down:target{outline-color:var(--cus)}

/* phone bottom sheet for the map detail (ST-035) */
.sheethd{display:none}
@media (max-width:719px){
  .side.open{position:fixed;left:0;right:0;bottom:0;z-index:70;max-height:62vh;overflow-y:auto;overscroll-behavior:contain;
    background:var(--paper);border-top:1px solid var(--line);border-radius:18px 18px 0 0;box-shadow:0 -12px 32px rgba(10,17,32,.28);
    padding:10px 14px calc(16px + env(safe-area-inset-bottom));gap:10px;animation:sheetUp .28s cubic-bezier(.2,.7,.2,1) both}
  .side.open .sheethd{display:flex;order:-2;justify-content:center;position:relative;padding-top:18px;margin:-10px -14px 0;padding-bottom:2px;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
  .side.open .sheethd::before{content:"";position:absolute;top:8px;left:50%;width:44px;height:5px;margin-left:-22px;border-radius:3px;background:var(--line2)}
  .side.open .sheethd .btn{min-height:40px;padding:6px 14px;font-size:15px}
  .side.open .steps{order:-1}
  .side.open .how{display:none}
  .side.open .panel{padding:18px}
  .side.open .panel h3{font-size:24px}
}
@keyframes sheetUp{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}

/* ---------- search (ST-008) ---------- */
.hsearch{position:relative;width:220px}
.hsearch input{width:100%;min-height:40px;padding:6px 12px 6px 34px;border:1px solid var(--line);border-radius:10px;font:inherit;font-size:15px;background:var(--sunk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none' stroke='%235A6580' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='5.5'/%3E%3Cpath d='M13 13 L17.5 17.5'/%3E%3C/svg%3E") no-repeat 11px center;color:var(--ink)}
.hsearch input:focus-visible{outline:3px solid var(--sup);outline-offset:1px;background-color:var(--surface)}
.hsearch .sug{left:auto;right:0;width:min(380px,92vw);z-index:40}
.hsearch-btn{display:none;width:44px;height:44px;align-items:center;justify-content:center;border-radius:10px;color:var(--body)}
.hsearch-btn:hover{color:var(--ink);background:var(--sunk)}
@media (max-width:860px){.hsearch{display:none}.hsearch-btn{display:inline-flex}}
.sug .opt b{min-width:54px}
.sug .mention .nm{font-size:15px;color:var(--body)}
.sug .mention .nm b{color:var(--ink);min-width:0;margin-right:2px}
.sug .soon{margin-left:auto;font-size:12.5px;color:var(--muted);white-space:nowrap}
.sug .go{margin-left:auto;font-size:13px;color:var(--sup);font-weight:600;white-space:nowrap}
.sug .none{padding:10px 12px;color:var(--body);display:flex;flex-direction:column;gap:8px}
.sug .none .links{display:flex;flex-wrap:wrap;gap:8px 16px}
.sug .none a{color:var(--sup);font-weight:600}
.pagesearch{max-width:560px;margin:0 0 8px}
.pagesearch label{color:var(--body)}
.pagesearch input{border-color:var(--line2)}
.pagesearch .sug{position:static;margin-top:8px;box-shadow:none}
.mentions{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:8px 20px;color:var(--body);font-size:15px}
.mentions b{color:var(--ink)}
.log{display:flex;flex-direction:column;gap:8px}
.log time{font-weight:600;color:var(--ink)}
.nav a{white-space:nowrap}
@media (max-width:440px){.nav .nstocks{display:none}.hsearch-btn{width:40px}}

/* counts in the section menu (replace the three summary tiles) */
.subnav a .n{margin-left:6px;min-width:22px;padding:0 6px;border-radius:999px;font-size:12.5px;font-weight:600;line-height:20px;text-align:center;background:var(--sunk);color:var(--body)}
.subnav a.m-suppliers .n{background:var(--sup-tint);color:var(--sup)}
.subnav a.m-customers .n{background:var(--cus-tint);color:var(--cus)}
.subnav a.m-forces .n{background:var(--frc-tint);color:var(--frc)}
/* in the map detail panel the sources are a list, so the checked date gets its own line */
.panel .src .ck{display:block;margin-top:6px}
.panel .src .ck::before{content:none}
@media (min-width:1000px){.forces{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}

/* ST-050..052: earnings dates, quarter chart, sales mix, every-connection dropdown */
.earnbox .dates{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.earnbox .date.nrep{font-weight:500;color:var(--muted)}
.earnbox .date.nrep time{font-weight:600;color:var(--ink)}
.earnbox .date.nrep a{color:var(--link);font-weight:600}
.qchart{margin:0;display:flex;flex-direction:column;gap:12px;padding:18px 20px;border:1px solid var(--line);border-radius:12px}
.qchart figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 12px;align-items:baseline}
.qchart figcaption b{font-size:16px;color:var(--ink)}
.qchart figcaption span{font-size:14px;color:var(--muted)}
.bars{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end}
.bars .q{display:flex;flex-direction:column;align-items:stretch;gap:6px;text-align:center}
.bars .bv{font-size:14px;font-weight:600;color:var(--body);font-variant-numeric:tabular-nums;white-space:nowrap}
.bars .bt{height:130px;display:flex;align-items:flex-end}
.bars .bar{display:block;width:100%;border-radius:6px 6px 2px 2px;background:var(--line2)}
.bars .now .bar{background:var(--sup)}
.bars .now .bv{color:var(--ink)}
.bars .bl{font-size:13px;color:var(--muted);line-height:1.3}
.bars .now .bl{color:var(--ink);font-weight:600}
.qchart .qn{font-size:14px;color:var(--muted)}
.qchart .src{font-size:13px;color:var(--muted)}
.qchart .src a{color:var(--muted)}
@media (max-width:420px){.bars{gap:6px}.bars .bv{font-size:12.5px}.bars .bt{height:110px}.qchart{padding:16px 14px}}
.mix{padding:22px 24px;display:flex;flex-direction:column;gap:14px}
.mixcols{display:grid;gap:22px 40px}
@media (min-width:860px){.mixcols.two{grid-template-columns:repeat(2,minmax(0,1fr))}}
.mixcol h3{font-family:var(--head);font-size:19px;font-weight:700;margin-bottom:10px}
.mix{--c1:#2a78d6;--c2:#eb6834;--c3:#6250d6;--c4:#eda100;--c5:#e87ba4;--on1:#fff;--on2:#16213A;--on3:#fff;--on4:#16213A;--on5:#16213A}
:root[data-theme="dark"] .mix{--c1:#3987e5;--c2:#d95926;--c3:#9085e9;--c4:#c98500;--c5:#d55181;--on1:#0A1120;--on2:#0A1120;--on3:#0A1120;--on4:#0A1120;--on5:#0A1120}
.seg{display:flex;gap:3px;height:16px;margin-bottom:16px}
.seg .s{min-width:4px;flex-basis:0;border-radius:4px}
.s1{background:var(--c1);color:var(--on1)}.s2{background:var(--c2);color:var(--on2)}.s3{background:var(--c3);color:var(--on3)}.s4{background:var(--c4);color:var(--on4)}.s5{background:var(--c5);color:var(--on5)}
.mleg{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.mleg li{display:grid;grid-template-columns:12px 1fr auto;gap:10px;align-items:baseline}
.mleg .sw{width:12px;height:12px;border-radius:3px;transform:translateY(1px)}
.mleg .mn{font-size:15px;color:var(--body)}
.mleg .ma{display:flex;gap:8px;justify-content:flex-end;font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.mleg .ma b{color:var(--ink);font-weight:600;min-width:3.2em;text-align:right}
@media (forced-colors:active){.seg .s{border:1px solid CanvasText}}
.mix .mxn{font-size:14px;color:var(--muted)}
.mix .src{font-size:13px;color:var(--muted)}
.mix .src a{color:var(--muted)}
@media (max-width:520px){.mix{padding:18px 16px}}
.allconn{background:var(--plain-panel);border-radius:20px}
.allconn>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px 20px;padding:22px 28px;border-radius:20px}
.allconn>summary::-webkit-details-marker{display:none}
.allconn>summary .t{display:block;font-family:var(--head);font-weight:700;font-size:28px;line-height:1.15;color:var(--ink)}
.allconn>summary .d{display:block;margin-top:4px;font-size:15px;color:var(--muted)}
.allconn>summary .wl{display:inline-flex;align-items:center;gap:6px;flex:none;font-weight:600;font-size:15px;color:var(--link);padding:9px 14px;border-radius:10px;background:var(--surface);box-shadow:var(--shadow)}
.allconn>summary .sh2{display:none}
.allconn[open]>summary .sh1{display:none}.allconn[open]>summary .sh2{display:inline}
.allconn[open]>summary .chev{transform:rotate(180deg)}
.allconn>summary:focus-visible{outline:3px solid var(--link);outline-offset:2px}
.allin{display:flex;flex-direction:column;gap:14px;padding:0 14px 14px}
.allin .blk{scroll-margin-top:64px}
.allin .sh h3{font-family:var(--head);font-weight:700;font-size:22px}
@media (max-width:640px){.allconn{margin:0 -8px;border-radius:16px}.allconn>summary{padding:18px 16px;flex-wrap:wrap}.allconn>summary .t{font-size:24px}.allin{padding:0 6px 8px}.allin .blk{margin:0}}
.allconn .citem{scroll-margin-top:72px}

/* ST-041: without JavaScript the boxes are plain links to their cards and the step buttons are hidden */
.node{text-decoration:none}
html:not(.js) .steps,html:not(.js) .how,html:not(.js) .sheethd{display:none}
.size{font-size:14px;color:var(--body);display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.size .szk{font-size:12px;font-weight:600;color:var(--muted);padding:1px 7px;border-radius:6px;background:var(--sunk)}
.size.none{color:var(--muted)}

/* ST-026: chain pages */
.cchain{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;align-items:stretch}
.cstep{background:var(--surface);border-radius:14px;box-shadow:var(--shadow);padding:16px 18px;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;align-items:start}
.cstep .num{grid-row:span 2;width:30px;height:30px;border-radius:50%;background:var(--navy);color:var(--on-navy);font-family:var(--head);font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center}
.cstep .ct{display:flex;flex-direction:column;gap:2px}
.cstep .ct b{font-family:var(--head);font-size:20px;font-weight:700;color:var(--ink)}
.cstep .cd{font-size:14px;color:var(--muted)}
.cstep .cos{display:flex;flex-wrap:wrap;gap:6px}
.cstep .cos a{font-size:14px;font-weight:600;color:var(--link);text-decoration:none;padding:4px 10px;border-radius:8px;background:var(--sunk)}
.cstep .cos a:hover{text-decoration:underline}
.cstep .also{grid-column:2;font-size:13px;color:var(--muted)}
.carrow{display:flex;align-items:center;gap:10px;padding:6px 0 6px 30px;color:var(--muted);font-size:13px;font-weight:600}
.carrow::before{content:"";width:2px;height:28px;background:var(--line2);border-radius:2px}
.carrow{position:relative}.carrow::after{content:"";position:absolute;left:26px;bottom:2px;border:5px solid transparent;border-top:7px solid var(--line2);border-bottom:0}
@media (min-width:1060px){
 .cchain{flex-direction:row;align-items:stretch}
 .cstep{flex:1 1 0;min-width:0;grid-template-columns:1fr;align-content:start}
 .cstep .num{grid-row:auto}
 .cstep .also{grid-column:1}
 .carrow{flex:0 0 74px;flex-direction:column;justify-content:center;padding:0 4px;text-align:center;gap:6px;font-size:12px;line-height:1.3}
 .carrow::before{width:100%;height:2px}
 .carrow::after{left:auto;right:0;bottom:auto;top:50%;transform:translateY(-50%);border:5px solid transparent;border-left:7px solid var(--line2);border-right:0}
}
.chainpage .cblock{display:flex;flex-direction:column;gap:10px;max-width:75ch}
.chainpage .cblock h3{font-family:var(--head);font-size:21px;font-weight:700;color:var(--ink);margin-top:6px}
.chainpage .cblock p,.chainpage .sintro{color:var(--body);font-size:16px;line-height:1.6}
.chainpage .sintro{max-width:75ch}
.chainpage .src{font-size:13px;color:var(--muted)}
.chainpage .src a{color:var(--muted)}
.ties-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px}
.tie{padding:18px 20px;display:flex;flex-direction:column;gap:8px}
.tie h3{font-family:var(--head);font-size:19px;font-weight:700;line-height:1.25;color:var(--ink)}
.tie p{font-size:15px;color:var(--body)}
.tie .maps{font-size:14px;color:var(--muted)}
.tie .maps a{font-weight:600;margin-right:6px}
.tie .src{margin-top:auto}
.examples{display:grid;gap:12px}
@media (min-width:860px){.examples{grid-template-columns:repeat(2,minmax(0,1fr))}}
.example{padding:18px 20px}
.example h3{font-family:var(--head);font-size:19px;font-weight:700;margin-bottom:8px}
.example ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px;color:var(--body)}
.nbtns{display:flex;flex-wrap:wrap;gap:10px}
@media (max-width:420px){.ties-grid{grid-template-columns:1fr}}
.cstrip{padding:16px 20px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.cstrip h2{font-family:var(--head);font-size:18px;font-weight:700}
.cstrip h2 a{color:var(--ink);text-decoration:none}.cstrip h2 a:hover{text-decoration:underline}
.cstrip ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 0;font-size:14px}
.cstrip li{display:flex;align-items:center}
.cstrip li+li::before{content:"›";color:var(--line2);margin:0 8px;font-weight:600}
.cstrip li a{color:var(--body)}
.cstrip [aria-current]{font-weight:700;color:var(--ink)}
.cstrip .all{margin-left:auto;font-size:14px;font-weight:600}
@media (max-width:640px){.cstrip .all{margin-left:0}}
.chainmore{font-size:15px;color:var(--body)}
.chainmore a{font-weight:600}
/* ST-043: S&P 500 names that don't have a map yet */
.sug .soonrow{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 10px;border-radius:8px;color:var(--body)}
.sug .soonrow b{color:var(--ink)}
/* ST-046: explainer links on the maps they cover */
.gstrip{padding:16px 20px;margin-top:16px}
.gstrip h2{font-family:var(--head);font-size:18px;font-weight:700;margin-bottom:8px}
.gstrip ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.gstrip a{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:var(--body);min-height:44px}
.gstrip a b{color:var(--ink);font-weight:600}
.gstrip a:hover b{text-decoration:underline}
