/* On the business: the masthead (shell.header_html, bizhead.js).
   Self-contained: the business Worker also swaps it into pages that come from otrecord.news, which
   load the main site's styles.css (and sometimes records.css, sports.css ...). So every rule here is
   scoped under .bh and every class starts with bh-; nothing generic, nothing borrowed.

   Two rows on black: wordmark, search, On the record's other desks, Sign in (56px); then six menus
   (44px). Scrolling down past 120px tucks row 1 away; scrolling up brings it back. The masthead's
   current height is --bh-h on the root, for anything that sticks below it (table heads, rails, the
   company page's section bar). Phones: menu, wordmark, Sign in, with search on a row under them. */

:root { --bh-full: 100px; --bh-small: 44px; --bh-h: var(--bh-full); }
html.bh-up { --bh-h: var(--bh-small); }
html { scroll-padding-top: calc(var(--bh-h) + 16px); }
@media (max-width: 900px) { :root { --bh-full: 56px; --bh-small: 56px; } }
@media (max-width: 640px) { :root { --bh-full: 104px; --bh-small: 52px; } }

/* ---------- Reset inside the bar (the host page's styles must not leak in) ---------- */
.bh, .bh *, .bh *::before, .bh *::after { box-sizing: border-box; }
.bh { position: sticky; top: 0; z-index: 60; background: #000; color: #fff; font: 400 15px/1.3 "Public Sans", "Helvetica Neue", Arial, sans-serif;
      letter-spacing: normal; text-transform: none; text-align: left; -webkit-font-smoothing: antialiased; transition: transform .22s cubic-bezier(.2, .7, .1, 1); }
.bh a { color: inherit; text-decoration: none; }
.bh img, .bh svg { display: block; max-width: none; }
.bh ul { list-style: none; margin: 0; padding: 0; }
.bh li { margin: 0; padding: 0; max-width: none; }
.bh p { margin: 0; max-width: none; }
.bh b { font-weight: 800; }
.bh button { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; margin: 0; padding: 0; cursor: pointer; text-transform: none; letter-spacing: inherit; -webkit-appearance: none; appearance: none; }
.bh :focus-visible { outline: 3px solid #8FA8FF; outline-offset: 2px; }
.bh [hidden] { display: none !important; }
.bh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bh-in { max-width: 1320px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; }

/* ---------- Row 1: wordmark, search, desks, Sign in ---------- */
.bh-r1 { border-bottom: 1px solid #2B2B2B; }
.bh-r1 > .bh-in { height: 56px; gap: 28px; }
.bh-logo { flex: none; display: flex; align-items: center; }
.bh-logo img { height: 22px; width: auto; }
.bh .bh-ib { flex: none; width: 36px; height: 36px; display: grid; place-items: center; color: #fff; }
@media (hover: hover) { .bh .bh-ib:hover { background: #1F1F1F; } }
.bh .bh-burger, .bh .bh-sopen { display: none; }
.bh-burger .bh-i2 { display: none; }
.bh-burger[aria-expanded="true"] .bh-i1 { display: none; }
.bh-burger[aria-expanded="true"] .bh-i2 { display: inline; }

/* Search: a real box, `/` focuses it */
.bh-search { position: relative; flex: 0 1 440px; min-width: 180px; margin: 0; }
.bh-search input { display: block; width: 100%; height: 36px; margin: 0; padding: 0 36px 0 38px; font: 400 15px/1 "Public Sans", "Helvetica Neue", Arial, sans-serif;
                   color: #fff; background: #161616; border: 1px solid #5C5C5C; border-radius: 0; box-shadow: none; -webkit-appearance: none; appearance: none; }
.bh-search input::placeholder { color: #A8A8A8; opacity: 1; }
.bh-search input::-webkit-search-cancel-button, .bh-search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.bh-search input:hover { border-color: #8A8A8A; }
.bh-search input:focus { outline: none; border-color: #fff; background: #000; box-shadow: inset 0 0 0 1px #fff; }
.bh-search input:focus-visible { outline: none; }
.bh-sic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #A8A8A8; pointer-events: none; display: flex; }
.bh-sic svg { width: 16px; height: 16px; }
.bh-kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); font: 600 12px/1 "Public Sans", "Helvetica Neue", Arial, sans-serif; color: #A8A8A8;
          border: 1px solid #5C5C5C; padding: 3px 6px 2px; pointer-events: none; background: none; box-shadow: none; border-radius: 0; }
.bh-search:focus-within .bh-kbd, .bh-search input:not(:placeholder-shown) ~ .bh-kbd { display: none; }

/* Results: companies, then people; the exact ticker first */
.bh-res { position: absolute; left: 0; top: calc(100% + 6px); width: max(100%, 520px); max-height: min(70vh, 560px); overflow-y: auto; overscroll-behavior: contain;
          background: #fff; color: #000; border: 1px solid #000; border-top-width: 2px; z-index: 3; padding: 0 0 6px; }
.bh-res .bh-grp { padding: 12px 14px 4px; font-size: 12px; font-weight: 800; color: #6B6B6B; }
.bh-res a { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 14px; }
.bh-res a:hover, .bh-res li[aria-selected="true"] > a { background: #F4F4F1; }
.bh-res li[aria-selected="true"] > a { box-shadow: inset 3px 0 0 #000; }
.bh-res .bh-ic { width: 32px; height: 32px; border: 1px solid #CFCFCA; background: #fff; display: grid; place-items: center; overflow: hidden; font-size: 12px; font-weight: 800; color: #6B6B6B; }
.bh-res .bh-ic img { width: 24px; height: 24px; object-fit: contain; }
.bh-res .bh-ic.bh-pp img { width: 100%; height: 100%; object-fit: cover; }
.bh-res .bh-rn { display: block; min-width: 0; }
.bh-res .bh-rn b { display: block; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-res .bh-rd { display: block; font-size: 13px; color: #6B6B6B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-res .bh-tk { font-size: 12px; font-weight: 800; border: 1px solid #000; padding: 2px 5px 1px; white-space: nowrap; }
.bh-res .bh-none { padding: 14px; color: #6B6B6B; font-size: 14px; }

/* On the record's other desks, inside the bar; Business is this one */
.bh-sis { flex: none; margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.bh-sis a { color: #A8A8A8; white-space: nowrap; padding: 6px 0; }
.bh-sis a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.bh-sis a[aria-current] { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.bh-acct { flex: none; display: inline-block; font-size: 14px; font-weight: 600; line-height: 1; padding: 10px 14px 9px; border: 1px solid #fff; color: #fff;
           white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.bh-acct:hover, .bh-acct[aria-current] { background: #fff; color: #000; }

/* ---------- Row 2: the menus ---------- */
.bh-r2 { position: relative; }
.bh-r2 > .bh-in { height: 44px; }
.bh-mini { display: none; flex: none; margin-right: 22px; }
.bh-mini img { height: 16px; width: auto; }
.bh-nav { display: flex; align-items: stretch; height: 100%; margin-left: -12px; min-width: 0; }
.bh-m { display: flex; }
.bh .bh-mb { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 12px; font-size: 15px; font-weight: 600; line-height: 1; color: #E6E6E1; white-space: nowrap; }
.bh button.bh-mb::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.75px 1.75px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.bh .bh-mb:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.bh .bh-mb[data-cur], .bh a.bh-mb[aria-current] { color: #fff; box-shadow: inset 0 -3px 0 #fff; }
.bh .bh-mb[aria-expanded="true"] { background: #fff; color: #000; box-shadow: none; text-decoration: none; }
.bh .bh-mb[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.bh-tools { display: none; margin-left: auto; align-items: center; gap: 10px; }
.bh .bh-tools .bh-sopen { display: grid; }
.bh-acct2 { padding: 7px 12px 6px; font-size: 13px; }

/* Panels: full width, white, under the bar. The hub pages with a line each, then every sub-page in
   small titled groups set in balanced columns, then the live card. A panel taller than the screen
   scrolls inside itself (.bh-ps), so the bar and the page stay put. */
.bh-p { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: #000; border-bottom: 2px solid #000; }
.bh-p::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% + 2px); height: 100vh; background: rgba(0, 0, 0, .14); pointer-events: none; }
.bh-ps { max-height: calc(100vh - var(--bh-h) - 12px); max-height: calc(100dvh - var(--bh-h) - 12px); overflow-y: auto; overscroll-behavior: contain; }
.bh-pg { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 48px; align-items: start; padding-top: 24px; padding-bottom: 28px; }
.bh-pm { min-width: 0; }
.bh-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.bh-links a { display: block; height: 100%; padding: 10px 0 14px; border-top: 2px solid #000; }
.bh-links b { display: block; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
.bh-links span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: #6B6B6B; }
.bh-links a:hover b, .bh-links a[aria-current] b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* Groups in four columns, dealt out at build time (shell._menu_columns) so no group breaks apart */
.bh-gs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin-top: 10px; }
.bh-col { min-width: 0; }
.bh-g { padding: 12px 0 10px; border-top: 1px solid #000; }
.bh-g + .bh-g { margin-top: 6px; }
.bh .bh-gh { margin: 0 0 4px; font-size: 13px; font-weight: 800; line-height: 1.3; color: #000; }
.bh-g a { display: block; padding: 4px 0; font-size: 15px; line-height: 1.3; color: #000; }
.bh-g a:hover, .bh-g a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bh-g a[aria-current] { font-weight: 600; }
.bh-p :focus-visible, .bh-sheet :focus-visible, .bh-res :focus-visible { outline-color: #1F48B8; }

/* The live card: figures written at build time */
.bh-card { border-top: 5px solid #000; padding-top: 12px; font-variant-numeric: tabular-nums; }
.bh-ch { font-size: 15px; font-weight: 800; margin: 0 0 4px; }
.bh-ch a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bh-cl li { display: grid; grid-template-columns: minmax(0, 1fr) auto 70px; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid #E9E9E6; font-size: 14px; }
.bh-cl li > .bh-hl, .bh-cl li.bh-none { grid-column: 1 / -1; }
.bh-cl li.bh-none { color: #6B6B6B; }
.bh-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-nm span { color: #6B6B6B; }
a.bh-nm:hover b, .bh-hl a:hover, a.bh-hl:hover b { text-decoration: underline; }
.bh-v { font-weight: 600; text-align: right; white-space: nowrap; }
.bh-pct { justify-self: end; font-size: 13px; font-weight: 800; padding: 2px 6px; white-space: nowrap; }
.bh-pct.up { color: #0B6B2E; background: #E3F4E8; }
.bh-pct.down { color: #B00020; background: #FBE5E8; }
.bh-hl { display: block; min-width: 0; }
.bh-hl > b { display: block; font-size: 15px; line-height: 1.3; }
.bh-hl > b a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bh-hl > span { display: block; margin-top: 2px; font-size: 13px; color: #6B6B6B; }
.bh-hl > .bh-k { margin: 0 0 2px; font-size: 12px; font-weight: 600; }
.bh-cs { margin-top: 8px; font-size: 12px; line-height: 1.4; color: #6B6B6B; }

/* ---------- Scrolled: row 1 tucks away, row 2 keeps a small wordmark, search and Sign in ---------- */
@media (min-width: 901px) {
  html.bh-up .bh { transform: translateY(-56px); }
  html.bh-up .bh-mini { display: block; }
  html.bh-up .bh-tools { display: flex; }
  html.bh-up .bh-nav { margin-left: 0; }
}

/* ---------- The menu sheet (tablets and phones) ---------- */
.bh-sheet { position: fixed; left: 0; right: 0; top: var(--bh-h); bottom: 0; z-index: 2; overflow-y: auto; overscroll-behavior: contain; background: #fff; color: #000; padding: 16px 32px 48px; }
.bh-sw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #000; margin: 0 0 8px; }
.bh-sw a { display: block; text-align: center; padding: 11px 4px 10px; font-size: 14px; font-weight: 600; border-left: 1px solid #000; }
.bh-sw a:first-child { border-left: 0; }
.bh-sw a[aria-current] { background: #000; color: #fff; }
.bh-acc { border-bottom: 1px solid #000; }
.bh-acc > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 19px; font-weight: 800; letter-spacing: -.01em; cursor: pointer; }
.bh-acc > summary::-webkit-details-marker { display: none; }
.bh-acc > summary::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); margin-right: 4px; }
.bh-acc[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.bh-accb { padding: 0 0 16px; }
.bh-sh li a { display: block; padding: 10px 0; border-top: 1px solid #E9E9E6; }
.bh-sh li a b { display: block; font-size: 16px; }
.bh-sh li a span { display: block; margin-top: 2px; font-size: 14px; color: #6B6B6B; }
.bh-sh li a[aria-current] b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bh .bh-sgh { margin: 14px 0 0; padding: 10px 0 2px; border-top: 1px solid #000; font-size: 13px; font-weight: 800; }
.bh-sg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.bh-sg a { display: block; padding: 9px 0 8px; font-size: 15px; line-height: 1.3; }
.bh-sg a[aria-current] { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bh-acc-a { display: block; padding: 16px 0; font-size: 19px; font-weight: 800; letter-spacing: -.01em; border-bottom: 1px solid #000; }
.bh-sheet-f { margin-top: 24px; font-size: 14px; color: #6B6B6B; }
.bh-sheet-f a { text-decoration: underline; text-underline-offset: 3px; }
html.bh-lock, html.bh-lock body { overflow: hidden; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1180px) {
  .bh-r1 > .bh-in { gap: 20px; }
  .bh-sis { gap: 16px; }
  .bh-pg { grid-template-columns: minmax(0, 1fr) 232px; gap: 32px; }
  .bh-links b { font-size: 16px; }
  .bh-links span { font-size: 13px; }
  .bh-gs { gap: 0 20px; }
  .bh-g a { font-size: 14px; }
}
/* Between the menus' breakpoint and 1099 the card drops (as sidebars do), so the four columns keep their room */
@media (max-width: 1099px) {
  .bh-pg { grid-template-columns: minmax(0, 1fr); }
  .bh-pg > .bh-card { display: none; }
  .bh-gs { gap: 0 24px; }
}
@media (max-width: 900px) {
  .bh-r2, .bh-sis { display: none; }
  .bh-r1 { border-bottom: 0; }
  .bh .bh-burger { display: grid; margin-left: -8px; }
  .bh-r1 > .bh-in { gap: 14px; }
  .bh-search { flex: 1 1 auto; }
  .bh-acct { margin-left: auto; }
}
@media (max-width: 640px) {
  .bh-in { padding: 0 16px; }
  .bh-r1 > .bh-in { height: auto; flex-wrap: wrap; column-gap: 8px; row-gap: 0; }
  .bh .bh-burger { height: 52px; width: 40px; margin-left: -10px; }
  .bh-logo { height: 52px; margin-right: auto; }
  .bh-logo img { height: 18px; }
  .bh-acct { margin-left: 0; padding: 8px 11px 7px; font-size: 13px; }
  .bh-search { order: 9; flex: 0 0 100%; min-width: 0; margin: 0 0 12px; }
  .bh-search input { height: 40px; font-size: 16px; }
  .bh-kbd { display: none; }
  .bh-res { width: 100%; max-height: calc(100vh - 140px); }
  .bh-sheet { padding: 12px 16px 40px; }
  html.bh-up .bh { clip-path: inset(0 0 52px 0); }
  html.bh-up .bh-r1 .bh-sopen { display: grid; }
}
@media (prefers-reduced-motion: reduce) { .bh, .bh *, .bh *::after { transition: none !important; } }
@media print { .bh { position: static; transform: none !important; } .bh-r2, .bh-search, .bh-sis, .bh-acct, .bh-ib, .bh-sheet { display: none !important; } }

/* Search never moves the page (Nov 23): while the search box has focus the bar stays fully shown with no animation, and
   the results stay an overlay with their own scroll. Nothing here changes layout outside the sticky bar. */
/* the cause: html's scroll-padding-top (header height + 16px) covers the sticky bar itself, so the browser kept
   scrolling the page up to "reveal" the focused box below that padding on focus and on every keystroke */
html.bh-q { scroll-padding-top: 0 !important; }
html.bh-q .bh { transform: none !important; clip-path: none !important; transition: none !important; }
.bh-search { position: relative; }
.bh-res { z-index: 80; overflow-anchor: none; }
.bh-res .bh-art { width: 48px; height: 32px; border-radius: 0; overflow: hidden; background: #F4F4F1; }
.bh-res .bh-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.bh-res a:has(.bh-art) { grid-template-columns: 48px minmax(0, 1fr) auto; }
.bh-res .bh-all a { display: block; padding: 10px 14px 6px; font-weight: 800; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Photos: a visible frame on every photo (user, Nov 23: "a border around all the photos";
   the first 1px #C4CCD8 inset line disappeared into the pictures). A 1px dark ring OUTSIDE the image
   (box-shadow, so nothing moves or changes size), square corners; round headshots keep their circle with the
   same ring. Logos, icons, the wordmark, charts (SVG) and ad slots are left alone. Same as otrecord.news. */
:root { --photo-line: #111; }
main img:not(.lg img):not(.co-logo img):not(.bp-who img):not(.mono img):not([src*="logo" i]):not([src$=".svg"]):not([src*=".svg?"]):not([width="16"]):not([width="18"]):not([width="20"]):not([width="24"]):not(.eg-bar img):not(.pk-k img):not(.pk-tracked img):not(.adsbygoogle img):not([aria-hidden="true"]),
.jy-card img, .co-photo img, .pe-photo img {
  outline: 0; box-shadow: 0 0 0 1px var(--photo-line);
}
main img.bn-ph, main .lead-photo img, main .in-photo img, main .co-photo img, main .hp-ph, main .jy-card img, main img.pk-thumb { border-radius: 0; }
/* photos inside a clipping wrapper (search results): frame the wrapper, the image's own ring would be cut off */
main .sres-fph, main .sres-ph:not(.is-logo) { box-shadow: 0 0 0 1px var(--photo-line); }
main .sres-fph img, main .sres-ph img { box-shadow: none; }
