/* Site-wide semantic colour and divider authority.
   Keep modules separated by space, never by legacy horizontal rules. */

:root {
  --korthos-semantic-0-bg: #ffd9d2;
  --korthos-semantic-0-ink: #7a3026;
  --korthos-semantic-1-bg: #d8e7ff;
  --korthos-semantic-1-ink: #244b72;
  --korthos-semantic-2-bg: #d9f2e5;
  --korthos-semantic-2-ink: #234f3c;
  --korthos-semantic-3-bg: #eadcff;
  --korthos-semantic-3-ink: #4c3569;
  --korthos-semantic-4-bg: #fff0a8;
  --korthos-semantic-4-ink: #62500b;
  --korthos-semantic-5-bg: #d5f2ff;
  --korthos-semantic-5-ink: #285f72;
  --korthos-semantic-6-bg: #ffd9e3;
  --korthos-semantic-6-ink: #76354a;
  --korthos-semantic-7-bg: #d4f3f1;
  --korthos-semantic-7-ink: #245e5a;
  --korthos-semantic-8-bg: #e1ddff;
  --korthos-semantic-8-ink: #494073;
  --korthos-semantic-9-bg: #e1f3b8;
  --korthos-semantic-9-ink: #45601a;
  --korthos-semantic-10-bg: #d3eee7;
  --korthos-semantic-10-ink: #286052;
  --korthos-semantic-11-bg: #f5d9ef;
  --korthos-semantic-11-ink: #6b3860;
}

/* Profile In Context: the highlighted entity is a fixed reference row.
   Hover/focus must not change its inset or make the red bar grow. */
html body.page-product main#product-main.ecosystem-profile-page #product-spec-context .spec-context__row.spec-context__row--current,
html body.page-product main#product-main.ecosystem-profile-page #product-spec-context .spec-context__row.spec-context__row--current:hover,
html body.page-product main#product-main.ecosystem-profile-page #product-spec-context .spec-context__row.spec-context__row--current:focus-within,
html body[data-company-subpage] main#profile-main.ecosystem-profile-page #company-subpage-root .spec-context__row.spec-context__row--current,
html body[data-company-subpage] main#profile-main.ecosystem-profile-page #company-subpage-root .spec-context__row.spec-context__row--current:hover,
html body[data-company-subpage] main#profile-main.ecosystem-profile-page #company-subpage-root .spec-context__row.spec-context__row--current:focus-within,
html body[data-company-subpage] main#profile-main.ecosystem-profile-page #company-context-section .spec-context__row.spec-context__row--current,
html body[data-company-subpage] main#profile-main.ecosystem-profile-page #company-context-section .spec-context__row.spec-context__row--current:hover,
html body[data-company-subpage] main#profile-main.ecosystem-profile-page #company-context-section .spec-context__row.spec-context__row--current:focus-within {
  padding: 12px 4px 12px 14px !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}

html body.page-product main#product-main.ecosystem-profile-page #product-spec-context .spec-context__row.spec-context__row--current *,
html body.page-product main#product-main.ecosystem-profile-page #product-spec-context .spec-context__row.spec-context__row--current::before,
html body[data-company-subpage] main#profile-main.ecosystem-profile-page #company-subpage-root .spec-context__row.spec-context__row--current *,
html body[data-company-subpage] main#profile-main.ecosystem-profile-page #company-subpage-root .spec-context__row.spec-context__row--current::before,
html body[data-company-subpage] main#profile-main.ecosystem-profile-page #company-context-section .spec-context__row.spec-context__row--current *,
html body[data-company-subpage] main#profile-main.ecosystem-profile-page #company-context-section .spec-context__row.spec-context__row--current::before {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}

html body[data-company-subpage] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-context-in-context-slot .spec-context__row.spec-context__row--current,
html body[data-company-subpage] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-context-in-context-slot .spec-context__row.spec-context__row--current:hover,
html body[data-company-subpage] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-context-in-context-slot .spec-context__row.spec-context__row--current:focus-within {
  padding: 12px 4px 12px 14px !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}

/* Shared interaction quality authority. Keyboard focus must remain visible
   even on older pages that suppress native outlines. */
html body :is(
  a[href], button, input, select, textarea, summary,
  [role="button"], [role="tab"], [tabindex]:not([tabindex="-1"])
):focus-visible {
  outline: 3px solid rgba(31, 104, 72, .58) !important;
  outline-offset: 3px !important;
}

/* Search inputs commonly sit inside the site's rounded composite controls.
   Keep the keyboard ring on that visible shell instead of drawing a square
   outline through the middle of it. */
html body :is(.et-search, .home-site-search__field) > input[type="search"]:not([disabled]):focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
}

html body :is(.et-search, .home-site-search__field):has(> input[type="search"]:focus-visible) {
  outline: 3px solid rgba(31, 104, 72, .58) !important;
  outline-offset: 2px !important;
}

html body :is(section[id], article[id], [data-scroll-anchor], .profile-section) {
  scroll-margin-top: 18px;
}

html body :is(a[href], button, summary, [role="button"], [role="tab"]) {
  touch-action: manipulation;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto !important; }
  html body *, html body *::before, html body *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 768px), (pointer: coarse) {
  html body :is(
    .home-site-search-trigger, .home-menu-toggle,
    .home-menu-sheet__close, .home-site-search__close,
    .corrections-modal-close, .k-watch,
    .carousel-prev, .carousel-next
  ) {
    min-width: 44px !important;
    min-height: 44px !important;
  }
}

html body :is(.home-ftag--tint-0, .funding-round-badge--tint-0, .profile-product-card__pill--tint-0, .team-tag--tint-0, .timeline-event-badge--tint-0) { background: var(--korthos-semantic-0-bg) !important; color: var(--korthos-semantic-0-ink) !important; }
html body :is(.home-ftag--tint-1, .funding-round-badge--tint-1, .profile-product-card__pill--tint-1, .team-tag--tint-1, .timeline-event-badge--tint-1, .briefing-chart-card__type--tint-1) { background: var(--korthos-semantic-1-bg) !important; color: var(--korthos-semantic-1-ink) !important; }
html body :is(.home-ftag--tint-2, .funding-round-badge--tint-2, .profile-product-card__pill--tint-2, .team-tag--tint-2, .timeline-event-badge--tint-2, .briefing-chart-card__type--tint-2) { background: var(--korthos-semantic-2-bg) !important; color: var(--korthos-semantic-2-ink) !important; }
html body :is(.home-ftag--tint-3, .funding-round-badge--tint-3, .profile-product-card__pill--tint-3, .team-tag--tint-3, .timeline-event-badge--tint-3, .briefing-chart-card__type--tint-3) { background: var(--korthos-semantic-3-bg) !important; color: var(--korthos-semantic-3-ink) !important; }
html body :is(.home-ftag--tint-4, .funding-round-badge--tint-4, .profile-product-card__pill--tint-4, .team-tag--tint-4, .timeline-event-badge--tint-4, .briefing-chart-card__type--tint-4) { background: var(--korthos-semantic-4-bg) !important; color: var(--korthos-semantic-4-ink) !important; }
html body :is(.home-ftag--tint-5, .funding-round-badge--tint-5, .profile-product-card__pill--tint-5, .team-tag--tint-5, .timeline-event-badge--tint-5, .briefing-chart-card__type--tint-5) { background: var(--korthos-semantic-5-bg) !important; color: var(--korthos-semantic-5-ink) !important; }
html body :is(.home-ftag--tint-6, .funding-round-badge--tint-6, .profile-product-card__pill--tint-6, .team-tag--tint-6, .timeline-event-badge--tint-6, .briefing-chart-card__type--tint-6) { background: var(--korthos-semantic-6-bg) !important; color: var(--korthos-semantic-6-ink) !important; }
html body :is(.home-ftag--tint-7, .funding-round-badge--tint-7, .profile-product-card__pill--tint-7, .team-tag--tint-7, .timeline-event-badge--tint-7, .briefing-chart-card__type--tint-7) { background: var(--korthos-semantic-7-bg) !important; color: var(--korthos-semantic-7-ink) !important; }
html body :is(.home-ftag--tint-8, .funding-round-badge--tint-8, .profile-product-card__pill--tint-8, .team-tag--tint-8, .timeline-event-badge--tint-8, .briefing-chart-card__type--tint-8) { background: var(--korthos-semantic-8-bg) !important; color: var(--korthos-semantic-8-ink) !important; }
html body :is(.home-ftag--tint-9, .funding-round-badge--tint-9, .profile-product-card__pill--tint-9, .team-tag--tint-9, .timeline-event-badge--tint-9) { background: var(--korthos-semantic-9-bg) !important; color: var(--korthos-semantic-9-ink) !important; }
html body :is(.home-ftag--tint-10, .funding-round-badge--tint-10, .profile-product-card__pill--tint-10, .team-tag--tint-10, .timeline-event-badge--tint-10) { background: var(--korthos-semantic-10-bg) !important; color: var(--korthos-semantic-10-ink) !important; }
html body :is(.home-ftag--tint-11, .funding-round-badge--tint-11, .profile-product-card__pill--tint-11, .team-tag--tint-11, .timeline-event-badge--tint-11) { background: var(--korthos-semantic-11-bg) !important; color: var(--korthos-semantic-11-ink) !important; }

/* Evidence confidence is semantic, not beige/brown. */
html body :is(.investor-pill--medium, .deployment-pill--medium) {
  background: var(--korthos-semantic-3-bg) !important;
  border-color: transparent !important;
  color: var(--korthos-semantic-3-ink) !important;
}

/* Profile modules and compact lists use spacing in place of divider rules. */
html body :is(
  .investor-card-head,
  .investor-table th,
  .investor-table td,
  .investor-metric-row,
  .investor-mini-list li,
  .investor-signal-list li,
  .deployment-profile-grid,
  .deployment-profile-grid__item,
  .deployment-mini-list li,
  .deployment-card-head,
  .profile-operations-compare__head,
  .profile-operations-card,
  .profile-operations-card__facts,
  .profile-operations-compare-card__title,
  .profile-operations-compare-row,
  .funding-feature-module__stats,
  .funding-feature-module__keypoints,
  .funding-round-read__detail,
  .funding-ledger-row,
  .funding-round-read,
  .profile-resource-document,
  .site-footer,
  .site-footer--editorial
) {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

html body :is(.investor-mini-list, .investor-signal-list, .deployment-mini-list) {
  display: grid;
  gap: 8px;
}

/* Investors: protect human-readable dates and give the narrative columns room. */
body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table--rounds th:nth-child(1) { width: 18% !important; }
body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table--rounds th:nth-child(2) { width: 18% !important; }
body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table--rounds th:nth-child(3) { width: 17% !important; }
body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table--rounds th:nth-child(4) { width: 35% !important; }
body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table--rounds th:nth-child(5) { width: 12% !important; }
body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table--rounds td:first-child {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
}

/* On phones, tables become spaced inset records instead of compressed columns. */
@media (max-width: 720px) {
  body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-investors-page,
  body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-layout {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table tbody {
    display: grid !important;
    gap: 8px !important;
    padding: 0 10px 10px !important;
  }

  body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table tr,
  body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table tr:first-child {
    min-width: 0 !important;
    padding: 13px 14px !important;
    border: 0 !important;
    border-radius: 15px !important;
    background: #f3f2ed !important;
  }

  /* Investment history is already contained by the parent module. Keep its
     rows flat so they do not read as a stack of selected/highlighted cards. */
  body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table--rounds tbody {
    gap: 0 !important;
  }

  body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table--rounds tr,
  body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table--rounds tr:first-child {
    border-radius: 0 !important;
    background: transparent !important;
  }

  body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table--rounds tr + tr {
    border-top: 1px solid rgba(17, 17, 15, .06) !important;
  }

  body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table--rounds td {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table--rounds td:first-child {
    white-space: nowrap !important;
  }

  body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-table--rounds td:nth-child(4) {
    align-items: start !important;
  }

  body[data-company-subpage="investors"] main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .investor-side-card {
    border-radius: 18px !important;
  }
}

/* Mobile event ledgers: a drawn chevron replaces the uneven text glyph, and
   Research uses the same compact collapsed-row rhythm as Verified events. */
html body:is([data-company-subpage="timeline"],[data-company-subpage="research"])
main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-timeline-event__chevron {
  display: none !important;
}

html body[data-company-subpage="research"]
main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-research-event .profile-timeline-event__details-toggle,
html body[data-company-subpage="research"]
main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-research-event .profile-timeline-event__source--details {
  display: none !important;
}

@media (max-width: 640px) {
  html body:is([data-company-subpage="timeline"],[data-company-subpage="research"])
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-timeline-event__chevron {
    position: absolute !important;
    top: 10px !important;
    right: 8px !important;
    display: grid !important;
    place-items: center !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #efeee9 !important;
    color: rgba(17, 17, 15, .68) !important;
    box-shadow: none !important;
  }

  html body:is([data-company-subpage="timeline"],[data-company-subpage="research"])
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-timeline-event__chevron-mark {
    display: block !important;
    width: 6px !important;
    height: 6px !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    transform: rotate(45deg) translate(-1px, -1px) !important;
    transform-origin: center !important;
    transition: transform 140ms ease !important;
  }

  html body:is([data-company-subpage="timeline"],[data-company-subpage="research"])
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-timeline-event__chevron[aria-expanded="true"] .profile-timeline-event__chevron-mark {
    transform: rotate(225deg) translate(-1px, -1px) !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root :is(.timeline-event-ledger__list,.profile-timeline-events__list) {
    display: grid !important;
    gap: 2px !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-research-event {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 14px 42px 14px 8px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-research-event:is(:hover,.is-expanded) {
    background: #f3f2ed !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-research-event .profile-timeline-event__meta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-research-event .profile-timeline-event__date {
    margin: 0 !important;
    font-size: 9px !important;
    font-weight: 750 !important;
    line-height: 1.1 !important;
    letter-spacing: .045em !important;
    white-space: nowrap !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-research-event .timeline-event-badge {
    min-height: 18px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    font-size: 7.5px !important;
    letter-spacing: .045em !important;
    white-space: nowrap !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-research-event .profile-timeline-event__meta .profile-research-event__source {
    display: none !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-research-event .profile-timeline-event__title {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 760 !important;
    line-height: 1.32 !important;
    letter-spacing: -.015em !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-research-event .profile-timeline-event__details {
    margin: 9px 0 0 !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-research-event .profile-timeline-event__bullets {
    margin: 0 0 0 16px !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-research-event .profile-timeline-event__source--details {
    display: inline-flex !important;
    margin-top: 9px !important;
    font-size: 10px !important;
  }
}

/* Tool-page mastheads use Funding Monitor's compact product-page scale.
   Marketing/editorial pages are intentionally excluded. */
@media (min-width: 769px) {
  html body.page-market-signals.page-market-signals .ms-title,
  html body.page-geography.page-geography .gm-title,
  html body.page-markets-overview.page-markets-overview .markets-title,
  html body.page-humanoid-operations.page-humanoid-operations .title,
  html body.page-research-pulse.page-research-pulse .rp-title,
  html body.page-scp.page-scp.page-scp h1,
  html body.page-markets.page-markets .page-title {
    font-size: 38px !important;
    line-height: .96 !important;
  }
}

@media (max-width: 768px) {
  html body.page-geography.page-geography .gm-title,
  html body.page-markets-overview.page-markets-overview .markets-title,
  html body.page-markets.page-markets .page-title,
  html body.page-scp.page-scp.sci-analytics-standalone h1 {
    font-size: 34px !important;
    line-height: .96 !important;
  }
}

/* Research stays condensed only on mobile. Desktop Research is restored to
   the same open event hierarchy and two-column rhythm as Timeline below. */
html body:is([data-company-subpage="research"],[data-product-subpage="research"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
:is(#company-subpage-root,#product-subpage-root) .profile-research-event {
  position: relative !important;
  padding-right: 58px !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  transition: background-color 140ms ease !important;
}

html body:is([data-company-subpage="research"],[data-product-subpage="research"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
:is(#company-subpage-root,#product-subpage-root) .profile-research-event:is(:hover,.is-expanded) {
  background: #f3f2ed !important;
}

html body:is([data-company-subpage="research"],[data-product-subpage="research"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
:is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__chevron {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #efeee9 !important;
  color: rgba(17,17,15,.68) !important;
  box-shadow: none !important;
}

html body:is([data-company-subpage="research"],[data-product-subpage="research"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
:is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__chevron-mark {
  display: block !important;
  width: 7px !important;
  height: 7px !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  transform: rotate(45deg) translate(-1px,-1px) !important;
  transform-origin: center !important;
  transition: transform 140ms ease !important;
}

html body:is([data-company-subpage="research"],[data-product-subpage="research"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
:is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__chevron[aria-expanded="true"] .profile-timeline-event__chevron-mark {
  transform: rotate(225deg) translate(-1px,-1px) !important;
}

html body:is([data-company-subpage="research"],[data-product-subpage="research"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
:is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__details-toggle {
  display: none !important;
}

html body:is([data-company-subpage="research"],[data-product-subpage="research"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
:is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__details {
  margin-top: 12px !important;
}

@media (min-width: 641px) {
  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
  main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) :is(.timeline-event-ledger__list,.profile-timeline-events__list) {
    display: grid !important;
    gap: 0 !important;
  }

  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
  main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) .profile-research-event {
    display: grid !important;
    grid-template-columns: minmax(150px,.23fr) minmax(0,1fr) !important;
    align-items: start !important;
    gap: 28px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 22px 12px 24px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: none !important;
  }

  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
  main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) .profile-research-event:is(:hover,.is-expanded) {
    background: transparent !important;
  }

  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
  main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
  main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__date {
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    letter-spacing: .015em !important;
    text-transform: none !important;
  }

  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
  main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__title {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 720 !important;
    line-height: 1.28 !important;
    letter-spacing: -.018em !important;
  }

  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
  main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__details {
    margin: 14px 0 0 !important;
  }

  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
  main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__bullets {
    margin: 0 0 0 18px !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
  main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__chevron {
    display: none !important;
  }
}

/* Like is always an icon action. The button's aria-label still announces
   Like/Unlike and its entity to assistive technology. */
html body .k-watch .k-watch__label {
  display: none !important;
}

html body :is(.research-card-watch,.product-card-watch,.artifact-save.k-watch) {
  gap: 0 !important;
}

/* Context cards must grow with wrapped taxonomy. The legacy percentage
   min-height created a cyclic grid size, so a third tag row could extend
   beneath the rounded footer and be clipped. */
html body:is([data-company-subpage="context"],[data-product-subpage="context"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
:is(#company-subpage-root,#product-subpage-root) :is(.profile-context-card,.profile-related-company-card) {
  min-height: 0 !important;
  height: auto !important;
  align-self: stretch !important;
}

html body:is([data-company-subpage="context"],[data-product-subpage="context"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
:is(#company-subpage-root,#product-subpage-root) :is(.profile-context-card__meta,.profile-related-company-card__meta) {
  flex: 0 0 auto !important;
  align-items: flex-start !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 10px 0 0 !important;
  padding: 0 16px 18px !important;
  overflow: visible !important;
}

html body:is([data-company-subpage="context"],[data-product-subpage="context"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
:is(#company-subpage-root,#product-subpage-root) :is(.profile-context-card__tags,.profile-related-company-card__tags) {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  align-content: flex-start !important;
  overflow: visible !important;
}

html body:is([data-company-subpage="context"],[data-product-subpage="context"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
:is(#company-subpage-root,#product-subpage-root) :is(.profile-context-card__tags,.profile-related-company-card__tags) .home-ftag {
  max-width: 100% !important;
  white-space: normal !important;
}

html body[data-product-subpage="research"]
main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-research-event__watch {
  display: flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  height: 30px !important;
  margin: 0 !important;
}

html body[data-product-subpage="research"]
main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-research-event__watch .research-card-watch {
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border-radius: 9px !important;
}

@media (max-width: 640px) {
  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) :is(.timeline-event-ledger__list,.profile-timeline-events__list) {
    display: grid !important;
    gap: 2px !important;
  }

  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) .profile-research-event {
    display: block !important;
    margin: 0 !important;
    padding: 14px 42px 14px 8px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__chevron {
    top: 10px !important;
    right: 8px !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
  }

  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__meta {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
  }

  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__date {
    margin: 0 !important;
    font-size: 9px !important;
    font-weight: 750 !important;
    line-height: 1.1 !important;
    letter-spacing: .045em !important;
    white-space: nowrap !important;
  }

  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__title {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 760 !important;
    line-height: 1.32 !important;
    letter-spacing: -.015em !important;
  }

  html body:is([data-company-subpage="research"],[data-product-subpage="research"])
main:is(#profile-main,#product-main).profile.ecosystem-profile-page
  :is(#company-subpage-root,#product-subpage-root) .profile-research-event .profile-timeline-event__bullets {
    margin: 0 0 0 16px !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }
}

/* Product Timeline follows the company-level mobile priority: metadata and
   title are the scan row; evidence expands only when requested. */
html body[data-product-subpage="timeline"]
main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-event__chevron {
  display: none !important;
}

html body[data-product-subpage="timeline"]
main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-event__details-toggle {
  display: none !important;
}

@media (max-width: 640px) {
  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .timeline-event-ledger__top {
    margin-bottom: 8px !important;
    padding: 16px 14px !important;
    border-radius: 18px !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .timeline-event-ledger__head {
    font-size: 15px !important;
    font-weight: 760 !important;
    line-height: 1.25 !important;
    letter-spacing: -.015em !important;
    text-transform: none !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .product-timeline-tools {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 10px 0 0 !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .timeline-event-filter {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .timeline-event-filter__button {
    min-height: 32px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #efeee9 !important;
    white-space: nowrap !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-events__list {
    gap: 2px !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-event {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 14px 42px 14px 10px !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-event:is(:hover,.is-expanded) {
    background: #f3f2ed !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-event__meta {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-event__date {
    margin: 0 !important;
    font-size: 9px !important;
    font-weight: 750 !important;
    line-height: 1.1 !important;
    letter-spacing: .045em !important;
    white-space: nowrap !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-event .home-ftag {
    min-height: 18px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    font-size: 7.5px !important;
    letter-spacing: .045em !important;
    white-space: nowrap !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-event__title {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 760 !important;
    line-height: 1.32 !important;
    letter-spacing: -.015em !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-event__details {
    margin: 9px 0 0 !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-event__bullets {
    margin: 0 0 0 16px !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-event__chevron {
    position: absolute !important;
    top: 10px !important;
    right: 8px !important;
    display: grid !important;
    place-items: center !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #efeee9 !important;
    color: rgba(17,17,15,.68) !important;
    box-shadow: none !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-event__chevron-mark {
    display: block !important;
    width: 6px !important;
    height: 6px !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    transform: rotate(45deg) translate(-1px,-1px) !important;
    transform-origin: center !important;
    transition: transform 140ms ease !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-event__chevron[aria-expanded="true"] .profile-timeline-event__chevron-mark {
    transform: rotate(225deg) translate(-1px,-1px) !important;
  }
}

/* Sitewide dropdown interaction authority. Open/focus state belongs to the
   rounded trigger only: never paint a second square wrapper or a second
   highlight over the selected option. */
html body :is(
  .fm-filter-group,
  .fm-k-select,
  .ms-control,
  .ms-k-select,
  .gm-control,
  .gm-k-select,
  .ops-k-select,
  .correction-k-select,
  .sci-cb-wrap,
  .markets-sort-stack,
  .markets-select-shell,
  .timeline-event-filter
):is(:hover,:focus,:focus-visible,:focus-within,.is-open) {
  outline:0 !important;
  box-shadow:none !important;
}

html body :is(
  .fm-filter-group,
  .ms-control,
  .gm-control,
  .markets-sort-stack,
  .heatmap-country-control,
  .timeline-event-filter
):is(:hover,:focus-within) {
  background:transparent !important;
}
html body :is(
  .fm-k-select__button,
  .ms-k-select__button,
  .gm-k-select__button,
  .ops-k-select__button,
  .correction-k-select__button,
  .sci-cb-btn,
  .markets-select-button,
  .timeline-event-filter__button,
  .product-spec-context-filter__button
):is(:focus,:focus-visible) {
  outline:0 !important;
  box-shadow:inset 0 0 0 2px rgba(47,104,77,.18) !important;
}
html body :is(
  .fm-k-select.is-open .fm-k-select__button,
  .ms-k-select.is-open .ms-k-select__button,
  .gm-k-select.is-open .gm-k-select__button,
  .ops-k-select.is-open .ops-k-select__button,
  .correction-k-select.is-open .correction-k-select__button,
  .sci-cb-btn[aria-expanded="true"],
  .markets-select-shell.is-open .markets-select-button,
  .timeline-event-filter__button[aria-expanded="true"],
  .product-spec-context-filter__button[aria-expanded="true"]
) {
  outline:0 !important;
  box-shadow:inset 0 0 0 2px rgba(47,104,77,.18) !important;
}
html body :is(
  .fm-k-select__menu,
  .ms-k-select__menu,
  .gm-k-select__menu,
  .ops-k-select__menu,
  .correction-k-select__menu,
  .sci-cb-popup,
  .markets-select-menu,
  .timeline-event-filter__menu,
  .product-spec-context-filter__menu
) {
  border:0 !important;
  border-radius:16px !important;
  outline:0 !important;
  background-clip:padding-box !important;
  box-shadow:0 20px 46px -26px rgba(20,20,16,.46) !important;
}
html body :is(
  .fm-k-select__option,
  .ms-k-select__option,
  .gm-k-select__option,
  .ops-k-select__option,
  .correction-k-select__option,
  .sci-cb-item,
  .markets-select-option,
  .product-spec-context-filter__option
):focus-visible {
  outline:0 !important;
  box-shadow:none !important;
}
html body :is(
  .fm-k-select__option[aria-selected="true"],
  .ms-k-select__option[aria-selected="true"],
  .gm-k-select__option[aria-selected="true"],
  .ops-k-select__option[aria-selected="true"],
  .correction-k-select__option[aria-selected="true"],
  .sci-cb-item.is-selected,
  .markets-select-option[aria-selected="true"],
  .product-spec-context-filter__option[aria-selected="true"]
):is(:hover,:focus,:focus-visible) {
  background:#e1eee5 !important;
  color:#285a43 !important;
  outline:0 !important;
  box-shadow:none !important;
}

/* Shared mobile In Context selector. The module can appear on Overview and
   other profile tabs, so its control must not depend on Context being active. */
@media (max-width: 720px) {
  html body[data-company-subpage] .company-context-mode-filter,
  html body.page-product .product-spec-context-filter {
    width: min(176px, 100%) !important;
    min-width: 0 !important;
  }

  html body[data-company-subpage] .company-context-mode-filter .timeline-event-filter__button,
  html body.page-product .product-spec-context-filter__button {
    width: 100% !important;
    min-height: 38px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #efeee9 !important;
    font-size: 11.5px !important;
    font-weight: 650 !important;
    text-align: left !important;
    box-shadow: none !important;
  }

  html body[data-company-subpage] .company-context-mode-filter .timeline-event-filter__text,
  html body.page-product .product-spec-context-filter__text {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body[data-company-subpage] .company-context-mode-filter .timeline-event-filter__chev,
  html body.page-product .product-spec-context-filter__chev {
    display: block !important;
    flex: 0 0 auto !important;
    margin-left: 10px !important;
  }

  html body[data-company-subpage] .company-context-mode-filter .timeline-event-filter__menu,
  html body.page-product .product-spec-context-filter__menu {
    left: 0 !important;
    right: auto !important;
    width: min(224px, calc(100vw - 48px)) !important;
    min-width: 0 !important;
    top: calc(100% + 6px) !important;
  }

  html body[data-company-subpage] .company-context .spec-context__tools,
  html body.page-product #product-spec-context .spec-context__tools {
    width: auto !important;
    min-width: 0 !important;
    justify-self: start !important;
  }
}

/* Keep compact Timeline/Research records inside the light profile module.
   The shared mobile tab rail remains authoritative for both profile types. */
@media (max-width: 640px) {
  html body:is([data-product-subpage="timeline"],[data-product-subpage="research"])
  main#product-main.profile.ecosystem-profile-page #product-subpage-root
  :is(.timeline-event-ledger__list,.profile-timeline-events__list) {
    display: grid !important;
    gap: 2px !important;
    padding: 6px !important;
    border-radius: 18px !important;
    background: var(--product-profile-module, #faf9f7) !important;
    overflow: hidden !important;
  }

  html body:is([data-product-subpage="timeline"],[data-product-subpage="research"])
  main#product-main.profile.ecosystem-profile-page #product-subpage-root
  :is(.profile-timeline-event,.profile-research-event) {
    border-radius: 12px !important;
    background: transparent !important;
  }

  html body:is([data-product-subpage="timeline"],[data-product-subpage="research"])
  main#product-main.profile.ecosystem-profile-page #product-subpage-root
  :is(.profile-timeline-event,.profile-research-event):is(:hover,.is-expanded) {
    background: #f3f2ed !important;
  }
}

/* Product Timeline / Research mobile controls are a flat toolbar, while row
   expansion uses a plain chevron and one shared metadata baseline. */
@media (max-width: 640px) {
  html body:is([data-product-subpage="timeline"],[data-product-subpage="research"])
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .timeline-event-ledger__top {
    margin: 0 0 10px !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body:is([data-product-subpage="timeline"],[data-product-subpage="research"])
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .timeline-event-ledger__head {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
    text-transform: none !important;
  }

  html body:is([data-product-subpage="timeline"],[data-product-subpage="research"])
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .product-timeline-tools {
    margin-top: 7px !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .timeline-event-filter__button {
    min-height: 29px !important;
    padding: 0 9px !important;
    border-radius: 9px !important;
    background: #f6f5f1 !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .timeline-event-filter__menu {
    background: #f8f7f4 !important;
  }

  html body[data-product-subpage="timeline"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .timeline-event-filter__option {
    padding: 7px 9px !important;
    font-size: 10.5px !important;
    font-weight: 560 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  html body[data-product-subpage="research"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-research-filter {
    min-height: 27px !important;
    padding: 0 9px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #f6f5f1 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  html body[data-product-subpage="research"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-research-filter--active {
    background: #eceae4 !important;
    color: rgba(17, 17, 15, .9) !important;
  }

  html body:is([data-product-subpage="timeline"],[data-product-subpage="research"])
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-event__chevron {
    top: 12px !important;
    right: 10px !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body[data-product-subpage="research"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-research-event .profile-timeline-event__chevron {
    border-radius: 0 !important;
    background: transparent !important;
  }

  html body[data-product-subpage="research"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-research-event .profile-timeline-event__meta {
    align-items: baseline !important;
  }

  html body[data-product-subpage="research"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-research-event .home-ftag--research-artifact {
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 8.5px !important;
    line-height: 1.1 !important;
    letter-spacing: .025em !important;
    text-transform: none !important;
  }

  html body[data-product-subpage="research"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-research-event .profile-timeline-event__source {
    display: inline-flex !important;
    align-items: baseline !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    line-height: 1.1 !important;
  }
}

/* Mobile profile Research parity: Research is the same light ledger used by
   Timeline, with plain month labels and the same inset collapsible rows. */
@media (max-width: 640px) {
  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .timeline-event-ledger {
    margin: 0 0 14px !important;
    padding: 10px 16px 18px !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: var(--company-profile-module, #faf9f7) !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root
  :is(.timeline-event-ledger__list,.profile-timeline-events__list) {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-timeline-month {
    margin: 20px 10px 4px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-research-event {
    margin: 0 4px 4px !important;
    padding: 16px 34px 16px 10px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body[data-company-subpage="research"]
  main#profile-main.profile.page-container.ecosystem-profile-page #company-subpage-root .profile-research-event .profile-timeline-event__chevron {
    top: 10px !important;
    right: 8px !important;
  }

  html body[data-product-subpage="research"]
  main#product-main.profile.ecosystem-profile-page #product-subpage-root .profile-timeline-month {
    margin: 20px 10px 4px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* Shared public loading state. Keep it quiet and static so loading never
   competes with the profile content that is about to replace it. */
html body .korthos-loading-state {
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  min-height:40px !important;
  margin:0 !important;
  padding:8px 2px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:rgba(20,20,16,.62) !important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif !important;
  font-size:11px !important;
  font-weight:650 !important;
  line-height:1.35 !important;
  letter-spacing:0 !important;
  text-align:left !important;
  text-transform:none !important;
  box-shadow:none !important;
}
html body .korthos-loading-state::before {
  content:"" !important;
  display:block !important;
  flex:0 0 auto !important;
  width:6px !important;
  height:6px !important;
  border-radius:50% !important;
  background:rgba(47,104,77,.68) !important;
  animation:none !important;
}
@media (max-width: 600px) {
  html body .korthos-loading-state {
    gap:8px !important;
    min-height:36px !important;
    padding:7px 2px !important;
    font-size:10px !important;
  }
  html body .korthos-loading-state::before { width:5px !important; height:5px !important; }
}
