/* Shared top navigation styles (match research.html) */

:root{
  --korthos-page-bg: #faf9f7;
  --korthos-module-bg: #faf9f7;
  --korthos-module-border: #d8d4cc;
  --korthos-module-radius: 7px;
  --korthos-module-shadow: 0 1px 2px rgba(20, 20, 16, .05), 0 12px 28px rgba(20, 20, 16, .06);
  --korthos-module-shadow-hover: 0 1px 2px rgba(20, 20, 16, .06), 0 16px 34px rgba(20, 20, 16, .075);
  --korthos-article-shadow: 0 1px 2px rgba(20, 20, 16, .035), 0 5px 14px rgba(20, 20, 16, .04);
  --korthos-article-shadow-hover: 0 1px 2px rgba(20, 20, 16, .045), 0 7px 18px rgba(20, 20, 16, .05);
  --paper: var(--korthos-page-bg) !important;
  --hairline: rgba(0,0,0,0.18);
  --site-display: "Korthos Bebas", "Bebas Neue", Impact, system-ui, sans-serif;
  --site-masthead: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --site-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --site-mono: "Korthos Mono", ui-monospace, monospace;
  --site-header-h: 57px;
  /* Section / column headers (company funding “Recent rounds” + matching rails elsewhere) */
  --korthos-header-font: var(--site-body);
  --korthos-header-size: clamp(14.5px, 1.1vw, 17.5px);
  --korthos-header-weight: 700;
  --korthos-header-tracking: 0.04em;
  --korthos-header-line-height: 1.16;
  --korthos-header-color: rgba(20, 20, 16, 0.96);
}

body {
  font-family: var(--site-body);
}

/* site-menu.js canonicalizes legacy page headers. Keep the pre-sync markup out
   of the first paint so page navigation cannot flash one set of labels/metrics
   and then snap to the shared masthead a moment later. */
html:not(.korthos-nav-ready) body:not(.marketplace-page):not(.profile-configurator-page) header.site-header nav {
  visibility: hidden !important;
}

h1, h2, h3 {
  font-family: var(--site-display);
}

/* Prevent cross-page horizontal "twitch" from scrollbar appearing/disappearing */
@supports (scrollbar-gutter: stable) {
  html { scrollbar-gutter: stable; }
}
@supports not (scrollbar-gutter: stable) {
  /* Fallback: always reserve scrollbar space */
  html { overflow-y: scroll; }
}

/* Prevent mobile browsers (Samsung/Chrome) from autoscaling text metrics */
html, body{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--korthos-page-bg) !important;
}

body,
.main-container,
.content-area,
.page-content,
.signal-feed-page,
.site-footer {
  background-color: var(--korthos-page-bg) !important;
}

main :is(
  .module,
  .panel,
  .card,
  [class$="-module"],
  [class*="-module "],
  [class$="-panel"],
  [class*="-panel "],
  [class$="-card"],
  [class*="-card "]
):not(
  .site-header,
  .site-footer,
  .modal,
  .popover,
  .dropdown,
  .menu,
  .button,
  .btn,
  .tag,
  .pill,
  .chip,
  .home-ftag,
  .search-card,
  .record-media
) {
  border-color: var(--korthos-module-border);
  border-radius: var(--korthos-module-radius);
  box-shadow: var(--korthos-article-shadow);
}

main :is(
  .module,
  .panel,
  .card,
  [class$="-module"],
  [class*="-module "],
  [class$="-panel"],
  [class*="-panel "],
  [class$="-card"],
  [class*="-card "]
):not(
  .site-header,
  .site-footer,
  .modal,
  .popover,
  .dropdown,
  .menu,
  .button,
  .btn,
  .tag,
  .pill,
  .chip,
  .home-ftag,
  .search-card,
  .record-media
):hover {
  box-shadow: var(--korthos-article-shadow-hover);
}

/* Directory cards should use the same surface family as profile/data modules.
   Keep media wells separate; this only normalizes the outer card and text body. */
body.product-directory-page main .product-card,
body.component-directory-page main .product-card,
body.supplier-directory-page main .supplier-card,
body.company-directory-page main .company-card,
body.company-directory-page main .ecosystem-card,
body.company-directory-page main .directory-card {
  background: var(--korthos-module-bg) !important;
  border-color: var(--korthos-module-border) !important;
  border-radius: var(--korthos-module-radius) !important;
  box-shadow: var(--korthos-article-shadow) !important;
}

body.product-directory-page main .product-card:hover,
body.component-directory-page main .product-card:hover,
body.supplier-directory-page main .supplier-card:hover,
body.company-directory-page main .company-card:hover,
body.company-directory-page main .ecosystem-card:hover,
body.company-directory-page main .directory-card:hover {
  border-color: rgba(20, 20, 16, .24) !important;
  background: var(--korthos-module-bg) !important;
  box-shadow: var(--korthos-article-shadow-hover) !important;
}

body.product-directory-page main .product-card__body,
body.component-directory-page main .product-card__body,
body.supplier-directory-page main .supplier-card__body,
body.company-directory-page main .company-card__body,
body.company-directory-page main .ecosystem-card__body,
body.company-directory-page main .directory-card__body {
  background: var(--korthos-module-bg) !important;
}

/* “Sidebar scroller” treatment (match `social-signal.html`, scaled for full pages)
   NOTE: WebKit scrollbar pseudo-elements must be attached to a selector. */
html{
  scrollbar-width: thin;
  scrollbar-color: #1A1A1A #faf9f7;
}

/* WebKit (Chrome/Edge/Safari) */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar{
  width: 8px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track{
  background: #faf9f7;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb{
  background: #1A1A1A;
  border-radius: 0;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover{
  background: rgba(26,26,26,0.75);
}

@font-face {
  /* Use a distinct family name so pages can't override with Google Bebas Neue */
  font-family: 'Korthos Bebas';
  src: url('fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  /* Site-owned mono so nav matches everywhere */
  font-family: 'Korthos Mono';
  src: url('fonts/JetBrainsMono-wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html body header.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 999999;
  width: 100%;
  box-sizing: border-box;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  height: 57px !important;
  padding: 0 20px !important;
  background-color: #faf9f7 !important;
  border-bottom: 1px solid #D8D4CC !important;
  overflow: visible;
}

header.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 999999;
  width: 100%;
  box-sizing: border-box;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  height: 57px !important;
  padding: 0 20px !important;
  background-color: #faf9f7 !important;
  border-bottom: 1px solid #D8D4CC !important;
  overflow: visible;
}

header.site-header nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Same masthead clustering as home.html: wordmark left · nav + search + hamburger on the right */
header.site-header .home-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  flex-shrink: 0;
  min-width: 0;
}
header.site-header .home-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 2px;
  position: relative;
  z-index: 5;
  pointer-events: auto;
}
header.site-header .home-site-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.15s ease;
  touch-action: manipulation;
}
header.site-header .home-site-search-trigger:hover {
  opacity: 0.52;
}
header.site-header .home-site-search-trigger:focus-visible {
  outline: 1px solid rgba(26, 26, 26, 0.35);
  outline-offset: 3px;
}

#home-ticker-wrap,
.home-ticker-wrap {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (min-width: 769px) {
  header.site-header .home-site-search-trigger {
    width: 40px;
    height: 40px;
  }
}

/* Live ticker (sticky, z-index above header) — nav sticks just below measured strip */
body.has-home-ticker header.site-header {
  top: 0 !important;
  transition: top 0.2s ease;
}

/* Inset hairline (matches intelligence page) */
header.site-header::after { display: none !important; }

header.site-header .home-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: inherit;
  text-decoration: none;
}

header.site-header .home-logo-text {
  font-size: 30px !important;
  font-weight: 850;
  color: #1a1a1a;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  letter-spacing: -0.055em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

@font-face {
  font-family: 'Korthos Geist Masthead';
  src: url('fonts/geist-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Shared chrome authority: the navigation is a floating module, not a page-wide strip. */
html body:not(.page-home) header.site-header.site-header {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body header.site-header .home-logo-text {
  font-family: var(--site-masthead, "Inter", system-ui, sans-serif) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -.04em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

/* Submit modal: the outer shell owns the radius; only the inset content scrolls. */
#submit-correction-overlay .corrections-modal {
  width: min(760px, calc(100vw - 36px)) !important;
  max-height: calc(100dvh - 36px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 30px !important;
  background: #f6f4ee !important;
  box-shadow: 0 32px 84px rgba(20,20,16,.25) !important;
}

#submit-correction-overlay .corrections-modal__scroll {
  width: 100% !important;
  max-height: calc(100dvh - 36px) !important;
  padding: 34px 40px 32px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(20,20,16,.22) transparent !important;
  box-sizing: border-box !important;
}

#submit-correction-overlay .corrections-modal__scroll::-webkit-scrollbar { width: 6px !important; }
#submit-correction-overlay .corrections-modal__scroll::-webkit-scrollbar-track { background: transparent !important; }
#submit-correction-overlay .corrections-modal__scroll::-webkit-scrollbar-thumb {
  border-radius: 999px !important;
  background: rgba(20,20,16,.22) !important;
}

#submit-correction-overlay .corrections-modal-close {
  z-index: 4 !important;
  top: 22px !important;
  right: 22px !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 13px !important;
}

#submit-correction-overlay .corrections-modal-title {
  margin-right: 52px !important;
  font-size: 26px !important;
}

#submit-correction-overlay .corrections-modal-copy,
#submit-correction-overlay .corrections-modal-contact {
  max-width: 62ch !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
}

#submit-correction-overlay .corrections-modal-contact { margin-bottom: 22px !important; }

#submit-correction-overlay .corrections-form {
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 14px 12px !important;
}

#submit-correction-overlay .corrections-form > .corrections-field:nth-of-type(3),
#submit-correction-overlay .corrections-form > .corrections-field-row,
#submit-correction-overlay .corrections-form > .corrections-actions {
  grid-column: 1 / -1 !important;
}

#submit-correction-overlay .corrections-field select,
#submit-correction-overlay .corrections-field input,
#submit-correction-overlay .corrections-field textarea,
#submit-correction-overlay .correction-k-select__button {
  min-height: 48px !important;
  border-radius: 15px !important;
  font-size: 13.5px !important;
}

#submit-correction-overlay .corrections-field textarea { min-height: 112px !important; }

@media (max-width: 560px) {
  #submit-correction-overlay .corrections-modal {
    width: min(500px, calc(100vw - 28px)) !important;
    max-width: min(500px, calc(100vw - 28px)) !important;
    max-height: calc(100dvh - 28px) !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 24px !important;
  }

  #submit-correction-overlay .corrections-modal__scroll {
    max-height: calc(100dvh - 28px) !important;
    padding: 24px 20px 18px !important;
    scrollbar-gutter: auto !important;
  }

  #submit-correction-overlay .corrections-form {
    grid-template-columns: 1fr !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }

  #submit-correction-overlay .corrections-form > * { grid-column: 1 !important; }
}

/* Opt-in shell for intentionally light pages: reverse the usual canvas/nav tones. */
html body.site-chrome-light:not(.page-home) header.site-header.site-header {
  background: #fbfaf7 !important;
  background-color: #fbfaf7 !important;
}
html body.site-chrome-light:not(.page-home) header.site-header.site-header nav.site-header-nav-desktop.site-header-nav-desktop {
  background: #efeee9 !important;
}
html body.site-chrome-light:not(.page-home) header.site-header.site-header nav.site-header-nav-desktop.site-header-nav-desktop > a.active,
html body.site-chrome-light:not(.page-home) header.site-header.site-header nav.site-header-nav-desktop.site-header-nav-desktop > .nav-dropdown > .nav-dropdown-toggle.active {
  background: #fbfaf7 !important;
}

/* Final shared chrome authority. */
html body:not(.page-home) header.site-header.site-header {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body header.site-header .home-logo-text {
  font-family: var(--site-masthead, "Inter", system-ui, sans-serif) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -.04em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

/* Site-wide source/action links: neutral text with no legacy rules or arrow glyphs. */
:is(
  a[class*="source"],
  a.source-click-link,
  .company-sci__sci-link a,
  .profile-resource-document__action a,
  .profile-resource-media__source,
  a.tweet-link
),
:is(
  a[class*="source"],
  a.source-click-link,
  .company-sci__sci-link a,
  .profile-resource-document__action a,
  .profile-resource-media__source,
  a.tweet-link
):is(:link,:visited,:hover,:focus-visible,:active) {
  border:0 !important;
  border-bottom:0 !important;
  color:inherit !important;
  text-decoration:none !important;
  text-decoration-line:none !important;
  box-shadow:none !important;
}
:is(
  a[class*="source"],
  a.source-click-link,
  .company-sci__sci-link a,
  .profile-resource-document__action a,
  .profile-resource-media__source,
  a.tweet-link
)::before,
:is(
  a[class*="source"],
  a.source-click-link,
  .company-sci__sci-link a,
  .profile-resource-document__action a,
  .profile-resource-media__source,
  a.tweet-link
)::after {
  display:none !important;
  content:none !important;
}

header.site-header .home-logo-icon {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

header.site-header .home-logo {
  gap: 0 !important;
}

@media (min-width: 981px) {
  header.site-header {
    padding-left: 0 !important;
  }

  header.site-header .home-logo {
    width: 184px !important;
    min-width: 184px !important;
    max-width: 184px !important;
  justify-content: space-between !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  header.site-header .home-logo-icon {
    display: none !important;
    visibility: hidden !important;
    flex: 0 0 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}

header.site-header .home-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background-color: transparent;
  padding-left: 0;
}

header.site-header nav {
  display: flex;
  gap: 44px;
  align-items: center;
  min-width: 0; /* allow horizontal overflow */
  border-bottom: none !important;
}

header.site-header > nav.site-header-nav-desktop,
header.site-header > nav.home-nav {
}

header.site-header > nav.site-header-nav-desktop + .home-header-actions,
header.site-header > nav.home-nav + .home-header-actions {
  margin-left: clamp(12px, 2vw, 28px) !important;
}

header.site-header > nav.site-header-nav-desktop + .home-header-actions .home-site-search-trigger,
header.site-header > nav.home-nav + .home-header-actions .home-site-search-trigger {
  margin-left: 0 !important;
}

header.site-header nav a {
  color: #11100E;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 0 !important;
  border-bottom: none !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

header.site-header nav a:hover {
  color: #11100E;
}

header.site-header nav a.active {
  color: #11100E !important;
  border-bottom: none !important;
  font-weight: 700 !important;
}

/* Prod nav: Analytics is not part of the public surface */
header.site-header nav a[href="/analytics"],
header.site-header nav a[href="index.html"] {
  display: none !important;
}

/* DATA dropdown */
/* Prod rollout gate: Top Movers isn't shipped yet */
header.site-header nav .nav-dropdown-menu a[href="/data/markets/top-movers"]{
  display: none !important;
}
header.site-header nav .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

header.site-header nav .nav-dropdown--discovery .nav-dropdown-toggle {
  position: relative;
}

header.site-header nav .nav-discovery-new {
  position: absolute;
  top: -14px;
  right: -7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 13px;
  padding: 2px 5px 1px;
  border-radius: 999px;
  background: #46e37b;
  color: #103b20;
  box-shadow: 0 2px 7px rgba(31, 164, 78, 0.2);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 7px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  pointer-events: none;
}

/* Hover bridge so the menu does not collapse while moving cursor down */
header.site-header nav .nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 14px;
}

header.site-header nav .nav-dropdown-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: #11100E;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 0 !important;
  border-bottom: none !important;
  margin: 0 !important;
  cursor: pointer;
  line-height: 1.2 !important;
}

header.site-header nav .nav-dropdown-toggle.active {
  color: #11100E !important;
  border-bottom: none !important;
  font-weight: 700 !important;
}

header.site-header nav .nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: max-content;
  min-width: 0;
  max-width: min(calc(100vw - 32px), 360px);
  box-sizing: border-box;
  background: var(--surface-card, var(--card-bg, #fbfaf6)) !important;
  border: 1px solid rgba(20, 20, 16, 0.12);
  box-shadow:
    0 18px 45px rgba(17, 16, 13, 0.08),
    0 2px 8px rgba(17, 16, 13, 0.04);
  border-radius: 10px;
  padding: 10px;
  z-index: 999;
}

header.site-header nav .nav-dropdown.is-open .nav-dropdown-menu,
header.site-header nav .nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

@media (hover:hover) and (pointer:fine) {
  header.site-header nav .nav-dropdown:hover .nav-dropdown-menu,
  header.site-header nav .nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
  }
}

header.site-header nav .nav-dropdown-section-label {
  display: block;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 14, 0.48);
  padding: 3px 12px 7px;
  margin: 0 0 2px;
  border-bottom: 0;
  pointer-events: none;
}

header.site-header nav .nav-dropdown-menu a.nav-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  border-bottom: 0 !important;
  border-radius: 7px;
  padding: 0 14px;
  margin-bottom: 0;
  font-size: 12px !important;
  line-height: 1.2;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.075em !important;
  text-transform: uppercase;
  color: rgba(17, 17, 14, 0.88);
  text-decoration: none !important;
  white-space: nowrap;
  max-width: 100%;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease, opacity 0.14s ease;
}

header.site-header nav .nav-dropdown-menu a.nav-dropdown-item + a.nav-dropdown-item {
  margin-top: 4px;
}

header.site-header nav .nav-dropdown-menu a.nav-dropdown-item.active,
header.site-header nav .nav-dropdown-menu a.nav-dropdown-item:hover {
  background: rgba(47, 92, 61, 0.055);
  color: rgba(17, 17, 14, 0.92);
  text-decoration: none !important;
  opacity: 1;
}

/* First-paint authority for the shared non-home masthead.
   Keep this in sync with syncMobileChrome() so route changes do not visibly
   resize or reposition the header while site-menu.js normalises its markup. */
@media (min-width: 769px) {
  html body:not(.page-home) header.site-header.site-header {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    margin: 0 !important;
    padding: 0 20px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  html body:not(.page-home) header.site-header > .home-logo {
    display: flex !important;
    width: 184px !important;
    min-width: 184px !important;
    max-width: 184px !important;
    flex: 0 0 184px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body:not(.page-home) header.site-header > nav {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: flex !important;
    width: 696px !important;
    height: auto !important;
    min-height: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 5px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #faf9f6 !important;
    box-sizing: border-box !important;
    transform: translate(-50%, -50%) !important;
  }

  html body.site-chrome-light:not(.page-home) header.site-header > nav {
    background: #efeee9 !important;
  }

  html body:not(.page-home) header.site-header > nav > a,
  html body:not(.page-home) header.site-header > nav > .nav-dropdown > .nav-dropdown-toggle {
    display: inline-flex !important;
    height: 34px !important;
    min-height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 11px !important;
    line-height: 1 !important;
  }

  html body:not(.page-home) header.site-header > nav > a {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .06em !important;
  }

  html body:not(.page-home) header.site-header > nav > .nav-dropdown > .nav-dropdown-toggle {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .045em !important;
  }
}

/* Shared data-page information control. These rules live in an existing,
   universally served asset because standalone new CSS files are not part of
   the server's static-file allow-list. */
html body .page-info-control {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: 40px !important;
  height: 40px !important;
  overflow: visible !important;
}
html body .page-info-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #2f684d !important;
  color: #fff !important;
  box-shadow: 0 1px 3px rgba(20,20,16,.12) !important;
  font-family: Georgia,serif !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: background-color .16s ease,color .16s ease,transform .16s ease !important;
}
html body .page-info-trigger:hover,
html body .page-info-trigger[aria-expanded="true"] {
  background: #25573f !important;
  color: #fff !important;
}
html body .page-info-trigger:active { transform: translateY(1px) !important; }
html body .page-info-trigger:focus-visible {
  outline: 2px solid rgba(47,104,77,.42) !important;
  outline-offset: 2px !important;
}
html body .page-info-popover {
  position: absolute !important;
  z-index: 1000 !important;
  top: calc(100% + 9px) !important;
  right: 0 !important;
  display: block !important;
  width: min(390px,calc(100vw - 32px)) !important;
  padding: 16px 17px 17px !important;
  border: 1px solid rgba(20,20,16,.10) !important;
  border-radius: 14px !important;
  background: #fbfaf7 !important;
  color: #171713 !important;
  box-shadow: 0 18px 42px rgba(20,20,16,.13),0 2px 7px rgba(20,20,16,.05) !important;
  text-align: left !important;
}
html body .page-info-popover[hidden] { display: none !important; }
html body .page-info-popover__head {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 0 8px !important;
}
html body .page-info-popover__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 23px !important;
  height: 23px !important;
  flex: 0 0 23px !important;
  border-radius: 999px !important;
  background: #dfece3 !important;
  color: #285b43 !important;
  font-size: 11px !important;
  font-weight: 760 !important;
}
html body .page-info-popover__head strong {
  color: #171713 !important;
  font: 760 13px/1.2 Inter,system-ui,sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html body .page-info-popover p {
  margin: 0 !important;
  color: rgba(20,20,16,.68) !important;
  font: 500 12px/1.48 Inter,system-ui,sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html body .page-info-popover p + p { margin-top: 8px !important; }
@media (max-width: 760px) {
  html body .page-info-popover {
    position: fixed !important;
    top: 72px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-height: calc(100dvh - 88px) !important;
    overflow-y: auto !important;
  }
}

/* Final desktop dropdown authority: light site panel, black text, green interaction state. */
@media (min-width: 769px) {
  html body header.site-header nav.site-header-nav-desktop .nav-dropdown > .nav-dropdown-menu {
    overflow: hidden !important;
    padding: 7px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #fbfaf7 !important;
    background-color: #fbfaf7 !important;
    color: #171713 !important;
    box-shadow: 0 22px 48px rgba(17, 17, 13, .14) !important;
  }

  html body header.site-header nav.site-header-nav-desktop .nav-dropdown > .nav-dropdown-menu > .nav-dropdown-section-label {
    color: rgba(23, 23, 19, .5) !important;
  }

  html body header.site-header nav.site-header-nav-desktop .nav-dropdown > .nav-dropdown-menu > a.nav-dropdown-item {
    min-height: 40px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: #171713 !important;
    text-shadow: none !important;
    box-shadow: none !important;
  }

  html body header.site-header nav.site-header-nav-desktop .nav-dropdown > .nav-dropdown-menu > a.nav-dropdown-item.active,
  html body header.site-header nav.site-header-nav-desktop .nav-dropdown > .nav-dropdown-menu > a.nav-dropdown-item:hover,
  html body header.site-header nav.site-header-nav-desktop .nav-dropdown > .nav-dropdown-menu > a.nav-dropdown-item:focus-visible {
    background: #dceee5 !important;
    color: #171713 !important;
    outline: none !important;
  }
}

/* Disabled nav items (used for DATA/ECOSYSTEM while not live) */
header.site-header nav a.nav-disabled,
header.site-header nav a[aria-disabled="true"]{
  pointer-events: none;
  opacity: 0.45;
  border-bottom-color: transparent !important;
}

/* ─── Mobile hamburger + slide-out sheet (replaces horizontal-scroll nav) ─── */

.home-menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0 -8px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.home-menu-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 1px;
}

/* Closed sheet must stack BELOW sticky header (999999). A full-viewport fixed layer
   above the header can steal taps on mobile even with visibility:hidden / pointer-events:none
   in some browsers. Open state jumps above all page UI. */
.home-menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 999990;
  visibility: hidden;
  pointer-events: none;
}
.home-menu-sheet.is-open {
  z-index: 10000000;
  visibility: visible;
  pointer-events: auto;
}
.home-menu-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.home-menu-sheet__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(252px, 74vw);
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  background: var(--surface-card, var(--card-bg, #fbfaf6));
  border-left: 1px solid rgba(20, 20, 16, 0.12);
  box-shadow: -18px 0 45px rgba(17, 16, 13, 0.12), -2px 0 8px rgba(17, 16, 13, 0.05);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}
.home-menu-sheet.is-open .home-menu-sheet__panel {
  transform: translateX(0);
}
.home-menu-sheet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  background: var(--surface-card, var(--card-bg, #fbfaf6));
}
.home-menu-sheet__title {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}
.home-menu-sheet__close {
  width: 40px;
  height: 40px;
  margin: -6px -6px -6px 0;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #1a1a1a;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.home-menu-sheet__nav {
  padding: 2px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.home-menu-sheet__nav > a.home-menu-sheet__home {
  display: block;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.home-menu-sheet__nav > a.home-menu-sheet__home:hover,
.home-menu-sheet__nav > a.home-menu-sheet__home:focus-visible {
  background: rgba(0, 0, 0, 0.04);
  outline: none;
}
.home-menu-sheet__nav > a.home-menu-sheet__home.home-menu-sheet__home--here {
  color: rgba(0, 0, 0, 0.58);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.02);
}
.home-menu-sheet__search {
  display: block;
  width: 100%;
  text-align: left;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  color: #1a1a1a;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #faf9f7;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.home-menu-sheet__search:hover,
.home-menu-sheet__search:focus-visible {
  background: rgba(0, 0, 0, 0.04);
  outline: none;
}
.home-menu-sheet__section {
  border-bottom: 1px solid rgba(20, 20, 16, 0.075);
}
.home-menu-sheet__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 10px 10px 12px;
  border-left: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.78);
  background: transparent;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.home-menu-sheet__summary::-webkit-details-marker {
  display: none;
}
.home-menu-sheet__summary::after {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-right: -2px;
  color: rgba(0, 0, 0, 0.44);
}
.home-menu-sheet__section[open] > .home-menu-sheet__summary::after {
  content: "\2013";
  font-size: 18px;
  line-height: 0.75;
  font-weight: 500;
}
.home-menu-sheet__section[open] > .home-menu-sheet__summary {
  background: rgba(47, 92, 61, 0.035);
  border-bottom: 1px solid rgba(20, 20, 16, 0.065);
}
.home-menu-sheet__section--current > .home-menu-sheet__summary {
  color: rgba(0, 0, 0, 0.52);
  font-weight: 700;
}
.home-menu-sheet__summary:hover,
.home-menu-sheet__summary:focus-visible {
  background: rgba(47, 92, 61, 0.045);
  outline: none;
}
.home-menu-sheet__section-body {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface-card, var(--card-bg, #fbfaf6));
}
.home-menu-sheet__section-body a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: rgba(17, 17, 14, 0.86);
  text-decoration: none;
  padding: 0 12px;
  border-radius: 7px;
}
.home-menu-sheet__section-body a:hover,
.home-menu-sheet__section-body a:focus-visible {
  background: rgba(47, 92, 61, 0.055);
  outline: none;
}
.home-menu-sheet__section-body a.home-menu-sheet__link--current {
  font-weight: 700;
  color: rgba(17, 17, 14, 0.92);
  background: rgba(47, 92, 61, 0.055);
}
.home-menu-sheet__section-body a.home-menu-sheet__link--secondary.home-menu-sheet__link--current {
  font-weight: 600;
  color: rgba(17, 17, 14, 0.58);
  background: rgba(47, 92, 61, 0.045);
}
.home-menu-sheet__section-body a.home-menu-sheet__link--secondary {
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.075em;
  color: rgba(17, 17, 14, 0.52);
}
.home-menu-sheet__section-body a.home-menu-sheet__link--secondary:hover,
.home-menu-sheet__section-body a.home-menu-sheet__link--secondary:focus-visible {
  color: rgba(17, 17, 14, 0.72);
}

/* Temporary: keep the Ecosystem Map route available while hiding it from Data navigation. */
.nav-dropdown-menu a[href="/data/ecosystem-map"],
.home-menu-sheet__section-body a[href="/data/ecosystem-map"] {
  display: none !important;
}

/* Shared submit/correction modal polish. Page-local copies still provide layout; this keeps typography consistent. */
#submit-correction-overlay.corrections-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
  box-sizing: border-box !important;
  background: rgba(17, 16, 13, 0.36) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#submit-correction-overlay.corrections-overlay[hidden] {
  display: none !important;
}

#submit-correction-overlay .corrections-modal {
  position: relative !important;
  width: min(720px, calc(100vw - 36px)) !important;
  max-height: calc(100dvh - 36px) !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  background: #f4f2ec !important;
  border: 0 !important;
  border-radius: 28px !important;
  box-shadow: 0 30px 80px rgba(20, 20, 16, 0.24) !important;
  padding: 32px !important;
  color: rgba(17, 17, 14, 0.94) !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

#submit-correction-overlay .corrections-modal-close {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: rgba(255, 255, 253, 0.7) !important;
  color: rgba(20, 20, 16, 0.48) !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 19px !important;
  line-height: 1 !important;
}

#submit-correction-overlay .corrections-modal-close:hover {
  color: rgba(20, 20, 16, 0.84) !important;
  background: rgba(255, 255, 253, 0.82) !important;
}

#submit-correction-overlay .corrections-modal-title {
  margin: 0 44px 10px 0 !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 23px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
  color: rgba(17, 17, 14, 0.94) !important;
}

#submit-correction-overlay .corrections-modal-copy,
#submit-correction-overlay .corrections-modal-contact {
  max-width: 58ch !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.48 !important;
  font-weight: 500 !important;
  color: rgba(20, 20, 16, 0.62) !important;
}

#submit-correction-overlay .corrections-modal-copy {
  margin: 0 0 8px !important;
}

#submit-correction-overlay .corrections-modal-contact {
  margin: 0 0 20px !important;
}

#submit-correction-overlay .corrections-modal-contact a {
  color: rgba(17, 17, 14, 0.90) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 2px !important;
}

#submit-correction-overlay .corrections-form {
  display: grid !important;
  gap: 12px !important;
}

#submit-correction-overlay .corrections-field {
  display: grid !important;
  gap: 5px !important;
}

#submit-correction-overlay .corrections-field-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

#submit-correction-overlay .corrections-field--half {
  min-width: 0 !important;
}

#submit-correction-overlay .corrections-field span {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: 0.075em !important;
  text-transform: uppercase !important;
  color: rgba(17, 16, 13, 0.54) !important;
}

#submit-correction-overlay .corrections-field select,
#submit-correction-overlay .corrections-field input,
#submit-correction-overlay .corrections-field textarea {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 44px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #fffdfa !important;
  color: rgba(17, 16, 13, 0.90) !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
}

#submit-correction-overlay .corrections-field select {
  appearance: none !important;
  padding-right: 42px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%235b5952' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
}

#submit-correction-overlay .corrections-field select:focus,
#submit-correction-overlay .corrections-field input:focus,
#submit-correction-overlay .corrections-field textarea:focus {
  outline: 2px solid rgba(47, 92, 61, 0.24) !important;
  outline-offset: 2px !important;
}

#submit-correction-overlay .corrections-field textarea {
  min-height: 96px !important;
}

#submit-correction-overlay .corrections-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 11px !important;
  padding-top: 5px !important;
}

#submit-correction-overlay .corrections-submit-btn {
  min-height: 42px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #171613 !important;
  color: #faf9f7 !important;
  padding: 0 20px !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: 0 1px 2px rgba(20, 20, 16, 0.08) !important;
}

#submit-correction-overlay .corrections-submit-btn:hover {
  background: #0f0e0c !important;
  border-color: #0f0e0c !important;
}

#submit-correction-overlay .corrections-status {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 12px !important;
  color: rgba(17, 16, 13, 0.58) !important;
}

@media (max-width: 560px) {
  #submit-correction-overlay.corrections-overlay {
    align-items: center !important;
    padding: 14px !important;
  }

  #submit-correction-overlay .corrections-modal {
    display: flex !important;
    flex-direction: column !important;
    width: min(500px, calc(100vw - 28px)) !important;
    max-width: min(500px, calc(100vw - 28px)) !important;
    max-height: calc(100dvh - 28px) !important;
    padding: 24px 20px 18px !important;
    overflow: hidden !important;
    border-radius: 24px !important;
  }

  #submit-correction-overlay .corrections-field-row {
    grid-template-columns: 1fr !important;
  }

  #submit-correction-overlay .corrections-form {
    min-height: 0 !important;
    padding-right: 5px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(20,20,16,.25) transparent !important;
  }

  #submit-correction-overlay .corrections-form::-webkit-scrollbar {
    width: 7px !important;
  }

  #submit-correction-overlay .corrections-form::-webkit-scrollbar-track {
    background: transparent !important;
  }

  #submit-correction-overlay .corrections-form::-webkit-scrollbar-thumb {
    border-radius: 999px !important;
    background: rgba(20,20,16,.25) !important;
  }

  #submit-correction-overlay .corrections-actions {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 2 !important;
    margin-top: 2px !important;
    padding: 12px 0 0 !important;
    background: #f4f2ec !important;
  }
}

body.site-menu-open {
  overflow: hidden;
}

/* Mobile: hamburger replaces horizontal nav */
@media (max-width: 768px) {
  html {
    scroll-padding-top: calc(var(--site-header-h, 57px) + var(--home-ticker-h, 0px));
  }

  body {
    /* Mobile chrome is fixed below; reserve its flow space so pages start in the same place. */
    padding-top: var(--site-header-h, 57px);
  }

  body.has-home-ticker {
    padding-top: var(--site-header-h, 57px) !important;
  }

  .home-ticker-wrap.is-visible {
    display: none !important;
  }

  header.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: row;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0;
    padding: 8px 14px !important;
  }

  body.has-home-ticker header.site-header {
    top: 0 !important;
  }

  header.site-header::after {
    left: 14px;
    right: 14px;
  }

  header.site-header nav,
  header.site-header .site-header-nav-desktop {
    display: none !important;
  }

  header.site-header .home-header-right {
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    justify-content: flex-end !important;
    gap: 0 !important;
  }

  header.site-header .home-header-actions {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  .home-menu-toggle {
    display: flex;
  }
}

@media (hover:none), (pointer:coarse) {
  header.site-header nav .nav-dropdown-menu { display: none; }
  header.site-header nav .nav-dropdown.is-open .nav-dropdown-menu,
  header.site-header nav .nav-dropdown.open .nav-dropdown-menu { display: block; }
}

/* Keep the seven-item desktop masthead clear of the wordmark before the mobile switch. */
@media (min-width: 769px) and (max-width: 900px) {
  header.site-header nav {
    gap: 10px !important;
  }

  header.site-header nav > a,
  header.site-header nav > .nav-dropdown > .nav-dropdown-toggle {
    font-size: 9px !important;
    letter-spacing: 0.035em !important;
  }
}

/* Product directory viewport strip fix */
@media (min-width: 721px) {
  body.product-directory-page {
    overflow: hidden !important;
    height: 100vh !important;
    min-height: 100vh !important;
  }

  body.product-directory-page .site-footer,
  body.product-directory-page footer.site-footer {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.product-directory-page .k-section.signal-feed-page {
    height: calc(100vh - var(--site-header-h, 57px)) !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding-bottom: 0 !important;
  }

  body.product-directory-page .product-directory-shell {
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body.product-directory-page .product-directory-main {
    height: 100% !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-bottom: 24px !important;
    scrollbar-gutter: stable !important;
  }

  body.product-directory-page .product-sidebar {
    position: static !important;
    top: auto !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 28px 20px 32px !important;
  }

  body.product-directory-page .product-sidebar__top {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    padding: 0 2px 14px !important;
    margin: 0 0 8px !important;
    border-bottom: 1px solid rgba(20,20,16,0.08) !important;
    background: #F7F6F2 !important;
    box-shadow: 0 -32px 0 #F7F6F2, 0 10px 0 #F7F6F2 !important;
  }

  body.product-directory-page .compare-bar:not(.compare-bar--visible) {
    display: none !important;
  }

  header.site-header .home-logo {
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: min(184px, calc(100% - 96px)) !important;
    margin: 0 auto 0 0 !important;
  }
}

/* Product directory sidebar sticky-header paint mask only; do not move header or alter layout. */
@media (min-width: 721px) {
  body.product-directory-page .product-sidebar__top {
    z-index: 80 !important;
    background: #F7F6F2 !important;
    isolation: isolate !important;
  }

  body.product-directory-page .product-sidebar__top::before {
    content: "" !important;
    position: absolute !important;
    inset: -36px -24px -12px -24px !important;
    z-index: -1 !important;
    display: block !important;
    background: #F7F6F2 !important;
    pointer-events: none !important;
  }
}

/* Final submit-modal shell: compact, modular and intentionally free of internal scrolling. */
#submit-correction-overlay.corrections-overlay {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
#submit-correction-overlay .corrections-modal {
  width: min(720px, calc(100vw - 36px)) !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 26px !important;
  background: #efeee8 !important;
  box-shadow: 0 32px 84px rgba(20,20,16,.25) !important;
}
#submit-correction-overlay .corrections-modal__scroll {
  width: 100% !important;
  max-height: none !important;
  padding: 30px 34px 28px !important;
  overflow: visible !important;
  scrollbar-gutter: auto !important;
  scrollbar-width: none !important;
  box-sizing: border-box !important;
}
#submit-correction-overlay .corrections-modal__scroll::-webkit-scrollbar { display: none !important; width: 0 !important; }
#submit-correction-overlay .corrections-modal-close {
  z-index: 4 !important;
  top: 18px !important;
  right: 18px !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 13px !important;
}
#submit-correction-overlay .corrections-modal-title { margin-right: 52px !important; font-size: 24px !important; line-height: 1.08 !important; }
#submit-correction-overlay .corrections-modal-copy,
#submit-correction-overlay .corrections-modal-contact { max-width: 62ch !important; font-size: 13.5px !important; line-height: 1.5 !important; }
#submit-correction-overlay .corrections-modal-contact { margin-bottom: 20px !important; }
#submit-correction-overlay .corrections-form { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px !important; }
#submit-correction-overlay .corrections-form > .corrections-field:nth-of-type(3),
#submit-correction-overlay .corrections-form > .corrections-field-row,
#submit-correction-overlay .corrections-form > .corrections-actions { grid-column: 1 / -1 !important; }
#submit-correction-overlay .corrections-field select,
#submit-correction-overlay .corrections-field input,
#submit-correction-overlay .corrections-field textarea,
#submit-correction-overlay .correction-k-select__button {
  min-height: 48px !important;
  padding: 0 15px !important;
  border: 0 !important;
  border-radius: 15px !important;
  background: #faf9f7 !important;
  font-size: 13.5px !important;
  line-height: 1.35 !important;
}
#submit-correction-overlay .corrections-field textarea {
  min-height: 106px !important;
  padding: 14px 15px !important;
  line-height: 1.45 !important;
}
#submit-correction-overlay .corrections-field input { padding: 0 15px !important; line-height: 48px !important; }
#submit-correction-overlay .corrections-field select { padding: 0 42px 0 15px !important; line-height: 48px !important; }
#submit-correction-overlay .correction-k-select { position:relative !important; z-index:12 !important; width:100% !important; }
#submit-correction-overlay .correction-k-select.is-open { z-index:60 !important; }
#submit-correction-overlay select.correction-k-select__native {
  position:absolute !important; width:1px !important; height:1px !important; padding:0 !important;
  opacity:0 !important; pointer-events:none !important;
}
#submit-correction-overlay .correction-k-select__button {
  display:flex !important; width:100% !important; align-items:center !important; justify-content:space-between !important;
  gap:12px !important; cursor:pointer !important; text-align:left !important;
  outline:0 !important; box-shadow:none !important; font-family:Inter,system-ui,sans-serif !important;
  font-weight:520 !important; letter-spacing:0 !important; text-transform:none !important;
}
#submit-correction-overlay .correction-k-select__button:focus-visible,
#submit-correction-overlay .correction-k-select.is-open .correction-k-select__button {
  box-shadow:0 0 0 3px rgba(47,109,73,.13) !important;
}
#submit-correction-overlay .correction-k-select__chevron {
  color:rgba(20,20,16,.48) !important; font-size:13px !important; transition:transform .16s ease !important;
}
#submit-correction-overlay .correction-k-select.is-open .correction-k-select__chevron { transform:rotate(180deg) !important; }
#submit-correction-overlay .correction-k-select__menu {
  position:absolute !important; z-index:80 !important; top:calc(100% + 7px) !important; left:0 !important;
  display:grid !important; width:100% !important; max-height:none !important; gap:3px !important; padding:7px !important;
  overflow:hidden !important; border:0 !important; border-radius:16px !important; background:#faf9f7 !important;
  box-shadow:0 24px 54px -24px rgba(20,20,16,.34) !important; box-sizing:border-box !important;
}
#submit-correction-overlay .correction-k-select__menu[hidden] { display:none !important; }
#submit-correction-overlay .correction-k-select__option {
  display:flex !important; width:100% !important; min-height:36px !important; align-items:center !important; gap:10px !important;
  padding:8px 10px !important; border:0 !important; border-radius:10px !important; background:transparent !important;
  color:rgba(20,20,16,.82) !important; font:560 12.5px/1.25 Inter,system-ui,sans-serif !important;
  text-align:left !important; cursor:pointer !important;
}
#submit-correction-overlay .correction-k-select__option::before {
  content:"" !important; width:9px !important; height:9px !important; flex:0 0 9px !important;
  border-radius:999px !important; background:#bfd5e8 !important;
}
#submit-correction-overlay .correction-k-select__option:nth-child(2)::before { background:#bcdcc8 !important; }
#submit-correction-overlay .correction-k-select__option:nth-child(3)::before { background:#d9c2e9 !important; }
#submit-correction-overlay .correction-k-select__option:nth-child(4)::before { background:#f2c4ba !important; }
#submit-correction-overlay .correction-k-select__option:nth-child(5)::before { background:#efd79e !important; }
#submit-correction-overlay .correction-k-select__option:nth-child(6)::before { background:#bfe0df !important; }
#submit-correction-overlay .correction-k-select__option:nth-child(7)::before { background:#d1cec5 !important; }
#submit-correction-overlay .correction-k-select__option:hover,
#submit-correction-overlay .correction-k-select__option:focus-visible { background:#efeee8 !important; outline:0 !important; }
#submit-correction-overlay .correction-k-select__option[aria-selected="true"] {
  background:#e0ece3 !important; color:#245a40 !important; font-weight:700 !important;
}
@media (max-width: 560px) {
  #submit-correction-overlay .corrections-modal {
    width: min(500px, calc(100vw - 28px)) !important;
    max-width: min(500px, calc(100vw - 28px)) !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 24px !important;
  }
  #submit-correction-overlay .corrections-modal__scroll {
    max-height: none !important;
    padding: 24px 20px 18px !important;
    overflow: visible !important;
  }
  #submit-correction-overlay .corrections-form { grid-template-columns: 1fr !important; padding-right: 0 !important; overflow: visible !important; }
  #submit-correction-overlay .corrections-form > * { grid-column: 1 !important; }
}

/* Shared masthead type authority.
   Funding Monitor is the reference: preserve each page's chrome colours while
   keeping the wordmark and primary navigation metrics identical everywhere. */
@media (min-width: 769px) {
  html body:not(.page-home) header.site-header.site-header:not(#korthos-nav-type-a):not(#korthos-nav-type-b) .home-logo-text {
    font-family: var(--site-masthead, "Inter", system-ui, sans-serif) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -.04em !important;
    text-transform: uppercase !important;
  }

  html body:not(.page-home) header.site-header.site-header:not(#korthos-nav-type-a):not(#korthos-nav-type-b) nav.site-header-nav-desktop.site-header-nav-desktop > a,
  html body:not(.page-home) header.site-header.site-header:not(#korthos-nav-type-a):not(#korthos-nav-type-b) nav.site-header-nav-desktop.site-header-nav-desktop > .nav-dropdown > .nav-dropdown-toggle {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;
  }
}
/* Homepage mobile composition authority. The extra selector weight is
   intentional: it overrides the shared mobile header without affecting any
   non-home route. */
@media (max-width: 768px) {
  html body.page-home header.site-header.site-header.site-header.site-header {
    position: absolute !important;
    inset: 12px auto auto 20px !important;
    z-index: 40 !important;
    width: calc(100% - 40px) !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    background: transparent !important;
  }
  html body.page-home header.site-header.site-header .home-logo-text {
    color: #fff !important;
  }
  html body.page-home header.site-header.site-header .home-site-search-trigger,
  html body.page-home header.site-header.site-header .search-icon {
    color: #11110f !important;
  }
  html body.page-home header.site-header.site-header .home-menu-toggle__bar {
    background: #11110f !important;
  }
  html body.page-home .home-content.home-content,
  html body.page-home .home-content .k-home-new.k-home-new {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  html body.page-home .home-content .k-home-new .k-home-new__hero-media,
  html body.page-home .home-content .k-home-new .k-home-new__intro {
    width: 100% !important;
    height: 100svh !important;
    min-height: 620px !important;
    max-height: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  html body.page-home .home-content .k-home-new .k-home-new__hero-media {
    position: relative !important;
    inset: auto !important;
    overflow: hidden !important;
  }
  html body.page-home .home-content .k-home-new .k-home-new__intro {
    position: absolute !important;
    inset: 0 0 auto !important;
  }
  html body.page-home .home-content .k-home-new .k-home-new__copy {
    left: 24px !important;
    right: 24px !important;
    bottom: clamp(44px, 7svh, 64px) !important;
  }
  html body.page-home .home-content .k-home-new .k-home-new__map-head { order: 1 !important; }
  html body.page-home .home-content .k-home-new .k-home-new__map-cards { order: 2 !important; }
  html body.page-home .home-content .k-home-new .k-home-new__map-stats { order: 3 !important; }
  html body.page-home .home-content .k-home-new .k-home-new__map-stats .k-home-new__stat,
  html body.page-home .home-content .k-home-new .k-home-new__map-stats .k-home-new__stat:nth-child(n) {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  html body.page-home .home-content .k-home-new .k-home-new__map-stats .k-home-new__number,
  html body.page-home .home-content .k-home-new .k-home-new__map-stats .k-home-new__label {
    width: 100% !important;
    text-align: center !important;
  }
}
