.stat-cell.is-clickable {
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.stat-cell.is-clickable:hover,
.stat-cell.is-clickable.active-stat {
  background: var(--gold-tint);
  box-shadow: inset 0 -4px 0 var(--gold);
}

.summary-detail.active {
  display: block;
}

.drilldown-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 12px 0;
  font-family: Arial, sans-serif;
}

.drilldown-toolbar input {
  flex: 1;
  min-width: 240px;
  border: 1px solid var(--line-mid);
  border-radius: 4px;
  padding: 9px 11px;
  font-size: 13px;
}

.collaboration-view-toggle {
  display: inline-flex;
  border: 1px solid var(--line-mid);
  background: #f7f5f2;
}

.collaboration-view-button {
  border: 0;
  border-right: 1px solid var(--line-mid);
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 12px;
}

.collaboration-view-button:last-child {
  border-right: 0;
}

.collaboration-view-button.active {
  background: var(--brown);
  color: #fff;
}

.drilldown-count {
  color: var(--gray);
  font-size: 12px;
}

.metric-drilldown {
  cursor: pointer;
}

.metric-drilldown:hover {
  background: var(--gold-tint);
}

.faculty-row-link,
.collaboration-row-link,
.grant-row-link {
  cursor: pointer;
}

.faculty-row-link:hover,
.faculty-row-link:focus,
.collaboration-row-link:hover,
.collaboration-row-link:focus,
.collaboration-row-link.active,
.grant-row-link:hover,
.grant-row-link:focus,
.grant-row-link.active {
  background: var(--gold-tint);
}

.faculty-row-link:focus-visible,
.collaboration-row-link:focus-visible,
.grant-row-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.drilldown-table-wrap {
  border: 1px solid var(--line-soft);
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
}

.drilldown-table-wrap table {
  min-width: 760px;
}

.grant-paper-detail-row td,
.collaboration-paper-detail-row td {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  padding: 14px 12px;
}

.drilldown-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid var(--line-soft);
  border-top: 0;
  background: var(--surface-tint);
  padding: 10px;
  flex-wrap: wrap;
  font-family: Arial, sans-serif;
}

.drilldown-page-button,
.drilldown-page-step {
  border: 1px solid var(--line-mid);
  background: #fff;
  color: var(--brown);
  cursor: pointer;
  min-width: 36px;
  height: 34px;
  border-radius: 4px;
  font-weight: 700;
}

.drilldown-page-step {
  padding: 0 12px;
}

.drilldown-page-button.active {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
}

.drilldown-page-step:disabled {
  cursor: default;
  opacity: 0.45;
}

.drilldown-page-ellipsis {
  color: var(--gray);
  padding: 0 2px;
}

.paper-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.paper-link:hover {
  text-decoration: underline;
}

.loading-row {
  padding: 16px;
  font-family: Arial, sans-serif;
  color: var(--gray);
}

.global-search-panel {
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 16px;
  margin-bottom: 14px;
  min-width: 0;
}

.global-search-main {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}

.global-search-main input {
  flex: 1;
  min-width: 280px;
  border: 1px solid #cfc7bc;
  border-radius: 4px;
  padding: 11px 12px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.global-search-main input:focus {
  border-color: var(--navy);
  outline: 2px solid rgba(89, 203, 232, 0.28);
  outline-offset: 1px;
}

.data-coverage-note {
  border-top: 1px solid var(--line-soft);
  color: var(--text-muted);
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 10px;
  padding-top: 9px;
}

.global-year-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.global-year-filter select {
  min-width: 132px;
  border: 1px solid #cfc7bc;
  border-radius: 4px;
  background: #fff;
  color: var(--brown);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 32px 10px 10px;
}

.global-year-filter select:focus {
  border-color: var(--navy);
  outline: 2px solid rgba(89, 203, 232, 0.28);
  outline-offset: 1px;
}

.department-table-box {
  overflow: visible;
}

.department-connection-count {
  color: var(--text-muted);
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.department-connections-table {
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
}

.department-connections-table table {
  min-width: 940px;
}

.department-connection-badge {
  display: inline-block;
  border: 1px solid #cfc7bc;
  border-radius: 999px;
  color: var(--brown);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 4px 7px;
  text-transform: uppercase;
  white-space: nowrap;
}

.department-connection-badge.cross {
  background: #fff5cf;
  border-color: var(--gold);
}

.department-connection-badge.within {
  background: #f5f3f0;
  border-color: var(--taupe);
}

.dashboard-tabs {
  margin-top: 8px;
  min-width: 0;
}

.dashboard-tab-list {
  display: flex;
  gap: 0;
  align-items: center;
  border-bottom: 1px solid var(--taupe);
  margin-bottom: 18px;
  overflow-x: auto;
  min-width: 0;
}

.dashboard-tab-button {
  border: 1px solid var(--line-mid);
  border-bottom: 0;
  background: #fff;
  color: var(--brown);
  cursor: pointer;
  padding: 11px 18px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-tab-button.active {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
  box-shadow: inset 0 -4px 0 var(--gold);
}

.dashboard-tab-panel {
  display: none;
}

.dashboard-tab-panel.active {
  display: block;
}

.dashboard-tab-panel .charts-grid {
  margin-top: 0;
}

.dashboard-tab-panel .section-title:first-child {
  margin-top: 0;
}

.refresh-button,
.new-badge {
  display: inline-block;
  border: 1px solid #cfc7bc;
  border-radius: 4px;
  background: #fff;
  color: var(--brown);
  padding: 6px 10px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.refresh-button {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
  cursor: pointer;
}

.refresh-button:hover,
.refresh-button:focus {
  background: var(--deep-red);
  border-color: var(--deep-red);
}

.refresh-button:disabled {
  cursor: default;
  opacity: 0.6;
}

.new-badge {
  border-radius: 999px;
  border-color: var(--gold);
  background: #fff5cf;
  margin-left: 6px;
}

.global-search-results {
  display: block;
  margin-top: 12px;
  font-family: Arial, sans-serif;
}

.global-search-results:empty {
  display: none;
  margin-top: 0;
}

.global-result-count {
  border-top: 1px solid var(--line-soft);
  color: var(--gray);
  padding-top: 10px;
  font-size: 12px;
}

.global-search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.global-filter-tab {
  border: 1px solid var(--line-mid);
  background: #fff;
  color: var(--brown);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
}

.global-filter-tab span {
  color: var(--gray);
  font-weight: 700;
}

.global-filter-tab.active {
  border-color: var(--brown);
  background: var(--brown);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.global-filter-tab.active span {
  color: #fff;
}

.global-filter-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.global-page-count {
  color: var(--gray);
  font-size: 12px;
  font-weight: 700;
  margin-top: 9px;
}

.global-hit-list {
  display: block;
  border: 1px solid var(--line-soft);
  border-bottom: 0;
  background: #fff;
  margin-top: 9px;
}

.global-hit {
  display: grid;
  grid-template-columns: minmax(188px, 220px) minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 4px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-left: 4px solid transparent;
  border-radius: 0;
  background: #fff;
  color: var(--brown);
  min-height: 48px;
  padding: 9px 12px 9px 10px;
  text-decoration: none;
}

.global-hit--official-nih-award {
  border-left-color: var(--navy);
}

.global-hit--publication-grant-link,
.global-hit--r01-summary {
  border-left-color: var(--gold);
}

.global-hit--faculty {
  border-left-color: var(--deep-red);
}

.global-hit--paper {
  border-left-color: var(--emerald);
}

.global-hit--co-op,
.global-hit--internal-collaboration,
.global-hit--co-author {
  border-left-color: var(--taupe);
}

.global-hit:hover {
  background: var(--surface-tint);
}

.global-hit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.global-hit-type {
  align-self: start;
  border: 0;
  border-radius: 0;
  color: var(--brown);
  padding: 3px 0 0;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  max-width: 220px;
  overflow-wrap: anywhere;
  white-space: normal;
}

.global-hit-type--official-nih-award {
  color: var(--navy);
  background: transparent;
}

.global-hit-type--publication-grant-link {
  color: var(--brown);
  background: transparent;
}

.global-hit-type--r01-summary {
  color: var(--brown);
  background: transparent;
}

.global-hit-type--faculty {
  color: var(--deep-red);
  background: transparent;
}

.global-hit-type--paper {
  color: #007f68;
  background: transparent;
}

.global-hit-content {
  display: block;
  min-width: 0;
}

.global-hit-main {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.global-hit-meta,
.global-result.muted {
  color: var(--gray);
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.faculty-tabs {
  margin-top: 16px;
  border: 1px solid var(--line);
}

.faculty-tab-buttons {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line-soft);
  background: #f5f3f0;
}

.faculty-tab-buttons button {
  border: 0;
  border-right: 1px solid var(--line-soft);
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  padding: 10px 14px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.faculty-tab-buttons button.active {
  background: #fff;
  box-shadow: inset 0 -3px 0 var(--deep-red);
}

.faculty-tab-panel {
  padding: 14px;
  background: #fff;
  min-height: 760px;
}

@media (max-width: 900px) {
  .faculty-tab-panel {
    min-height: 0;
  }
}

.faculty-tab-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--brown);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.faculty-tab-heading span {
  color: var(--gray);
  font-size: 12px;
  font-weight: 400;
}

.faculty-tab-search {
  margin-bottom: 12px;
}

.faculty-tab-search input {
  width: 100%;
  border: 1px solid #d8d1c8;
  background: #fff;
  color: var(--ink);
  display: block;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  padding: 10px 12px;
}

.faculty-tab-search input:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 2px rgba(78, 54, 41, 0.08);
  outline: none;
}

.paper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.paper-tags span {
  border: 1px solid #e0d8cc;
  border-radius: 999px;
  background: #fff;
  color: var(--brown);
  padding: 3px 7px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.faculty-paper-pagination {
  border-top: 1px solid var(--line-soft);
  margin-top: 12px;
}

.faculty-paper-drilldown-table + .faculty-paper-pagination {
  margin-top: 0;
}

.author-review-panel {
  border: 1px solid var(--line-soft);
  background: #fff;
  margin-bottom: 14px;
  padding: 12px;
}

.author-review-header {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.author-review-header h4 {
  color: var(--brown);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.author-review-header p,
.author-review-footnote {
  color: var(--gray);
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

.author-review-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  min-width: 210px;
}

.author-review-chip,
.author-review-tier {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 5px 8px;
  text-transform: uppercase;
}

.author-review-chip--excluded,
.author-review-tier--excluded {
  background: #fff1f0;
  border-color: #c00404;
  color: #9d1b1b;
}

.author-review-chip--needs_review,
.author-review-tier--needs_review {
  background: #fff8df;
  border-color: var(--gold);
  color: var(--brown);
}

.author-review-chip--likely,
.author-review-tier--likely {
  background: #eef6ff;
  border-color: var(--blue);
  color: var(--blue);
}

.author-review-table table {
  table-layout: fixed;
  width: 100%;
}

.author-review-table + .author-review-pagination {
  margin-top: 0;
}

.author-review-table th,
.author-review-table td {
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  vertical-align: top;
}

.author-review-table th:first-child,
.author-review-table td:first-child {
  width: 148px;
}

.author-review-table th:nth-child(2),
.author-review-table td:nth-child(2) {
  width: 92px;
}

.author-review-table th:last-child,
.author-review-table td:last-child {
  width: 210px;
}

.author-review-table td strong,
.author-review-table td span {
  display: block;
}

.author-review-tier-note {
  color: var(--gray);
  font-size: 11px;
  margin-top: 5px;
}

.author-review-confirm {
  background: var(--brown);
  border: 1px solid var(--brown);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  margin-top: 8px;
  padding: 6px 9px;
  text-transform: uppercase;
}

.author-review-confirm:hover,
.author-review-confirm:focus {
  background: #2d1f19;
  border-color: #2d1f19;
}

.author-review-row--excluded {
  background: #fffafa;
}

.author-review-row--needs_review {
  background: #fffdf4;
}

.author-review-footnote {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .author-review-header {
    display: block;
  }

  .author-review-counts {
    justify-content: flex-start;
    margin-top: 8px;
    min-width: 0;
  }
}

.faculty-evidence-table,
.reporter-award-table {
  margin-bottom: 12px;
}

.faculty-evidence-table + .faculty-record-pagination,
.reporter-award-table + .faculty-record-pagination {
  margin-top: -12px;
  margin-bottom: 14px;
}

.grant-source-section {
  border: 1px solid var(--line-soft);
  border-left: 0;
  background: #fff;
  margin-bottom: 16px;
  padding: 14px;
}

.grant-source-section .faculty-tab-heading {
  margin-top: 0;
}

.fy-dropdown {
  display: inline-block;
  position: relative;
}

.fy-dropdown summary {
  align-items: center;
  border: 1px solid #d8d1c8;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  list-style: none;
  min-height: 28px;
  min-width: 74px;
  padding: 4px 8px;
  user-select: none;
}

.fy-dropdown summary::-webkit-details-marker {
  display: none;
}

.fy-dropdown summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.fy-current {
  color: var(--ink);
  font-weight: 700;
}

.fy-chevron {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--brown);
  height: 0;
  width: 0;
}

.fy-dropdown[open] .fy-chevron {
  transform: rotate(180deg);
}

.fy-dropdown-menu {
  background: #fff;
  border: 1px solid #d8d1c8;
  box-shadow: 0 10px 24px rgba(78, 54, 41, 0.16);
  left: 0;
  min-width: 112px;
  padding: 6px;
  position: absolute;
  top: calc(100% + 4px);
  z-index: 60;
}

.fy-dropdown-title {
  color: var(--gray);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  margin: 2px 4px 5px;
  text-transform: uppercase;
}

.fy-dropdown-option {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-family: Arial, sans-serif;
  font-size: 12px;
  gap: 8px;
  justify-content: space-between;
  padding: 5px 6px;
  text-align: left;
  white-space: nowrap;
  width: 100%;
}

.fy-dropdown-option:hover,
.fy-dropdown-option:focus-visible {
  background: #f7f2e8;
  outline: none;
}

.fy-dropdown-option.active {
  background: #f7f2e8;
  color: var(--brown);
  font-weight: 700;
}

.fy-dropdown-option em {
  color: var(--gray);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.bubble-insight-metric .relationship-award-year-dropdown summary {
  min-height: 26px;
  min-width: 88px;
  padding: 3px 8px;
}

.bubble-insight-metric .relationship-award-year-dropdown .fy-current {
  color: var(--ink);
  font-size: 15px;
}

.official-match-badge {
  border: 1px solid #c9d8e8;
  background: #f3f8fc;
  color: var(--navy);
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  margin-left: 6px;
  padding: 4px 6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.official-match-badge.muted {
  border-color: var(--line-soft);
  background: #faf8f5;
  color: var(--gray);
}

.bubble-container.is-packed-view {
  display: block;
  overflow: visible;
  position: relative;
}

.bubble-container.is-packed-view .bubble {
  position: absolute;
  z-index: 2;
}

.bubble-container .bubble {
  opacity: 0.85;
  outline-offset: 4px;
  position: relative;
  transform-origin: center;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.overview-hover-network,
.overview-hover-guard-network,
.overview-hover-hit-network,
.overview-hover-label-network {
  inset: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
}

.overview-hover-network {
  z-index: 1;
}

.overview-hover-guard-network {
  z-index: 9;
}

.overview-hover-label-network {
  z-index: 10;
}

.overview-hover-hit-network {
  z-index: 11;
}

.overview-hover-guard {
  cursor: default;
  fill: rgba(255, 255, 255, 0);
  pointer-events: all;
}

.overview-hover-link {
  cursor: pointer;
  fill: none;
  opacity: 0;
  pointer-events: stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.2s ease;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
  animation: overview-hover-link-in 0.2s ease forwards;
}

.overview-hover-link-group,
.overview-hover-hit-group {
  cursor: pointer;
}

.overview-hover-link-hit-area {
  cursor: pointer;
  fill: none;
  opacity: 0;
  pointer-events: stroke;
  stroke: rgba(255, 255, 255, 0.01);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 28px;
  vector-effect: non-scaling-stroke;
}

.overview-hover-link:hover,
.overview-hover-link:focus-visible,
.overview-hover-link.is-overview-hover-link-active,
.overview-hover-link-group:hover .overview-hover-link,
.overview-hover-link-group:focus-visible .overview-hover-link,
.overview-hover-link-group.is-overview-hover-link-active .overview-hover-link {
  opacity: 1;
  stroke: var(--evidence-ack);
}

.overview-hover-link--publication {
  stroke: var(--evidence-official);
}

.overview-hover-link--official {
  stroke: var(--evidence-ack);
}

.overview-hover-link--pubmed {
  stroke: #7b858c;
  stroke-dasharray: 8 8;
}

.overview-hover-link--multi {
  stroke: #2f4858;
}

.overview-hover-link-label-bg {
  animation: overview-hover-link-in 0.2s ease forwards;
  fill: #fff;
  opacity: 0;
  pointer-events: none;
  stroke: var(--evidence-official);
  stroke-width: 1px;
}

.overview-hover-link-label-bg[data-overview-hover-collab-key] {
  cursor: pointer;
  pointer-events: all;
}

.overview-hover-link-label-bg.is-overview-hover-link-active {
  stroke: var(--evidence-ack);
}

.overview-hover-link-label-bg--secondary {
  stroke: #f0a400;
}

.overview-hover-link-label-bg.is-overview-hover-link-active-secondary {
  stroke: var(--evidence-ack);
}

.overview-hover-link-label-bg--tertiary {
  stroke: #9b7cff;
}

.overview-hover-link-label-bg.is-overview-hover-link-active-tertiary {
  stroke: var(--evidence-ack);
}

.overview-hover-link-label {
  animation: overview-hover-link-in 0.2s ease forwards;
  dominant-baseline: central;
  fill: var(--evidence-official);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  opacity: 0;
  paint-order: stroke;
  pointer-events: none;
  stroke: #fff;
  stroke-linejoin: round;
  stroke-width: 4px;
  text-anchor: middle;
}

.overview-hover-link-label.is-overview-hover-link-active {
  fill: var(--evidence-ack);
}

.overview-hover-link-label--secondary {
  fill: #d88900;
}

.overview-hover-link-label.is-overview-hover-link-active-secondary {
  fill: var(--evidence-ack);
}

.overview-hover-link-label--tertiary {
  fill: #7d63cc;
}

.overview-hover-link-label.is-overview-hover-link-active-tertiary {
  fill: var(--evidence-ack);
}

.overview-hover-link--secondary {
  filter: drop-shadow(0 1px 1px rgba(240, 164, 0, 0.28));
  stroke: #f0a400;
  stroke-dasharray: 8 5;
  stroke-width: 4.4px;
}

.overview-hover-link--tertiary {
  filter: drop-shadow(0 1px 1px rgba(125, 99, 204, 0.24));
  stroke: #7d63cc;
  stroke-dasharray: 3 6;
  stroke-width: 3.8px;
}

.overview-hover-link--depth-muted {
  opacity: 0.52;
  stroke: #aaa19a;
}

.overview-hover-link-label-bg--depth-muted {
  fill: #f6f4f2;
  opacity: 0.86;
  stroke: #aaa19a;
}

.overview-hover-link-label--depth-muted {
  fill: #817771;
}

.overview-hover-link-group.is-overview-hover-link-active .overview-hover-link--depth-muted {
  opacity: 1;
  stroke: var(--evidence-ack);
}

.overview-hover-link-label-bg--depth-muted.is-overview-hover-link-active {
  stroke: var(--evidence-ack);
}

.overview-hover-link-label--depth-muted.is-overview-hover-link-active {
  fill: var(--evidence-ack);
}

.bubble-container .bubble.overview-hover-root,
.bubble-container .bubble.overview-hover-connected,
.bubble-container .bubble.overview-hover-secondary-focus,
.bubble-container .bubble.overview-hover-secondary-connected,
.bubble-container .bubble.overview-hover-tertiary-focus,
.bubble-container .bubble.overview-hover-tertiary-connected {
  opacity: 1;
  z-index: 5;
}

.bubble-container .bubble.overview-hover-root {
  background-color: var(--deep-red) !important;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold), 0 12px 28px rgba(78,54,41,0.18);
}

.bubble-container .bubble.overview-hover-connected {
  background-color: #4e3629 !important;
  border-color: var(--evidence-official);
  box-shadow: 0 0 0 2px var(--evidence-official);
}

.bubble-container .bubble.overview-hover-secondary-focus {
  background-color: #77520f !important;
  border-color: #f0a400;
  box-shadow: 0 0 0 4px #f0a400, 0 14px 32px rgba(120, 82, 15, 0.24);
  z-index: 6;
}

.bubble-container .bubble.overview-hover-secondary-connected {
  background-color: #9a6a12 !important;
  border-color: #f0a400;
  box-shadow: 0 0 0 3px #f0a400, 0 10px 24px rgba(120, 82, 15, 0.18);
}

.bubble-container .bubble.overview-hover-tertiary-focus {
  background-color: #46316f !important;
  border-color: #9b7cff;
  box-shadow: 0 0 0 4px #9b7cff, 0 14px 32px rgba(70, 49, 111, 0.22);
  z-index: 7;
}

.bubble-container .bubble.overview-hover-tertiary-connected {
  background-color: #5b4584 !important;
  border-color: #9b7cff;
  box-shadow: 0 0 0 3px #9b7cff, 0 10px 24px rgba(70, 49, 111, 0.16);
}

.bubble-container .bubble.overview-hover-depth-muted {
  background-color: #8f8781 !important;
  border-color: #aaa19a;
  box-shadow: 0 0 0 2px #aaa19a;
  opacity: 0.72;
}

.bubble-container .bubble.overview-hover-link-endpoint-active {
  border-color: var(--evidence-ack);
  box-shadow: 0 0 0 3px var(--evidence-ack), 0 12px 28px rgba(78,54,41,0.18);
}

.bubble-container .bubble.overview-hover-link-endpoint-active-secondary,
.bubble-container .bubble.overview-hover-link-endpoint-active-tertiary {
  border-color: var(--evidence-ack);
  box-shadow: 0 0 0 3px var(--evidence-ack), 0 12px 28px rgba(78,54,41,0.18);
}

.bubble-container .bubble.overview-hover-root.overview-hover-depth-muted {
  background-color: #8f8781 !important;
  opacity: 0.72;
}

.bubble-container .bubble.overview-hover-dimmed {
  opacity: 0.18;
}

.bubble-container.has-overview-hover-network .bubble:not(.overview-hover-root) {
  pointer-events: none;
}

@keyframes overview-hover-link-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.bubble .bubble-label {
  position: relative;
  z-index: 1;
}

.bubble[data-type="faculty"]::after {
  display: none;
}

.chart-box,
.overview-collab-canvas {
  position: relative;
}

.shared-hover-tooltip {
  background: rgba(32, 28, 26, 0.96);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  color: #fff;
  font-family: Arial, sans-serif;
  padding: 7px 9px 8px;
  pointer-events: none;
  width: min(300px, calc(100vw - 28px));
  z-index: 30;
}

.bubble-hover-card {
  left: calc(100% - 8px);
  opacity: 0;
  position: absolute;
  top: 7px;
  transform: translate(10px, -72%) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  visibility: hidden;
  width: min(260px, calc(100vw - 28px));
}

.shared-hover-tooltip::before {
  background: rgba(32, 28, 26, 0.96);
  border: 0;
  content: "";
  height: 9px;
  left: -4px;
  position: absolute;
  top: 68%;
  transform: rotate(45deg);
  width: 9px;
}

.bubble-hover-card.hover-card--left {
  left: auto;
  right: calc(100% - 8px);
  transform: translate(-10px, -72%) scale(0.98);
}

.bubble-hover-card.hover-card--left::before {
  left: auto;
  right: -4px;
}

.bubble-hover-card.hover-card--right {
  left: calc(100% - 8px);
  transform: translate(10px, -72%) scale(0.98);
}

.bubble-hover-card.hover-card--fixed {
  left: auto;
  right: var(--hover-card-right, 18px);
  top: var(--hover-card-top, 7px);
  transform: none;
}

.bubble-hover-card.bubble-hover-card--floating {
  position: absolute;
}

.overview-hover-info-box {
  left: auto;
  opacity: 0;
  position: absolute;
  right: var(--hover-card-right, 18px);
  top: var(--hover-card-top, 16px);
  transform: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  visibility: hidden;
  width: min(255px, calc(100% - 36px));
  z-index: 30;
}

.overview-hover-info-box.hover-card--active {
  opacity: 1;
  visibility: visible;
}

.overview-hover-info-box::before {
  display: none;
}

.bubble-hover-card.hover-card--fixed::before {
  display: none;
}

.chart-hover-card {
  left: 0;
  min-width: 0;
  opacity: 0;
  padding: 5px 8px;
  position: absolute;
  top: 0;
  transform: translate(0, -50%) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
  visibility: hidden;
  white-space: nowrap;
  width: auto;
}

.chart-hover-card.active {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
  visibility: visible;
}

.chart-hover-count {
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.shared-hover-tooltip-title {
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 6px;
  white-space: normal;
}

.shared-hover-tooltip-rows {
  display: grid;
  gap: 3px;
  grid-template-columns: minmax(0, 1fr);
}

.shared-hover-tooltip-row {
  align-items: center;
  background: transparent;
  border: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  min-width: 0;
  padding: 0;
}

.shared-hover-tooltip-row span {
  color: rgba(255,255,255,0.82);
  display: block;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: normal;
}

.shared-hover-tooltip-row strong {
  color: #fff;
  display: block;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  margin-top: 0;
}

.bubble:hover:not(.dimmed),
.bubble:focus:not(.dimmed),
.bubble:focus-visible:not(.dimmed) {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold), 0 12px 28px rgba(78,54,41,0.18);
  opacity: 1;
  outline: 0;
  transform: translateY(-3px) scale(1.035);
  z-index: 8;
}

.bubble[data-type="faculty"]:hover:not(.dimmed),
.bubble[data-type="faculty"].is-hover-preview:not(.dimmed),
.bubble[data-type="faculty"]:focus:not(.dimmed),
.bubble[data-type="faculty"]:focus-visible:not(.dimmed) {
  background-color: var(--deep-red) !important;
}

.bubble-container .bubble[data-type="faculty"].overview-hover-root.overview-hover-depth-muted,
.bubble-container .bubble[data-type="faculty"].overview-hover-root.overview-hover-depth-muted:hover,
.bubble-container .bubble[data-type="faculty"].overview-hover-root.overview-hover-depth-muted:focus,
.bubble-container .bubble[data-type="faculty"].overview-hover-root.overview-hover-depth-muted:focus-visible,
.bubble-container .bubble[data-type="faculty"].overview-hover-root.overview-hover-depth-muted.is-hover-preview {
  background-color: #8f8781 !important;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.bubble[data-type="faculty"]:hover:not(.dimmed)::after,
.bubble[data-type="faculty"].is-hover-preview:not(.dimmed)::after,
.bubble[data-type="faculty"]:focus:not(.dimmed)::after,
.bubble[data-type="faculty"]:focus-visible:not(.dimmed)::after {
  display: none;
}

.bubble[data-type="faculty"]:hover .bubble-hover-card,
.bubble[data-type="faculty"].is-hover-preview .bubble-hover-card,
.bubble[data-type="faculty"]:focus .bubble-hover-card,
.bubble[data-type="faculty"]:focus-visible .bubble-hover-card {
  opacity: 1;
  transform: translate(10px, -72%) scale(1);
  visibility: visible;
}

.bubble[data-type="faculty"]:hover .bubble-hover-card.hover-card--left,
.bubble[data-type="faculty"].is-hover-preview .bubble-hover-card.hover-card--left,
.bubble[data-type="faculty"]:focus .bubble-hover-card.hover-card--left,
.bubble[data-type="faculty"]:focus-visible .bubble-hover-card.hover-card--left {
  transform: translate(-10px, -72%) scale(1);
}

.bubble[data-type="faculty"]:hover .bubble-hover-card.hover-card--right,
.bubble[data-type="faculty"].is-hover-preview .bubble-hover-card.hover-card--right,
.bubble[data-type="faculty"]:focus .bubble-hover-card.hover-card--right,
.bubble[data-type="faculty"]:focus-visible .bubble-hover-card.hover-card--right {
  transform: translate(10px, -72%) scale(1);
}

.bubble[data-type="faculty"]:hover .bubble-hover-card.hover-card--fixed,
.bubble[data-type="faculty"].is-hover-preview .bubble-hover-card.hover-card--fixed,
.bubble[data-type="faculty"]:focus .bubble-hover-card.hover-card--fixed,
.bubble[data-type="faculty"]:focus-visible .bubble-hover-card.hover-card--fixed {
  transform: none;
}

.bubble-hover-card.bubble-hover-card--floating.hover-card--active {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.bubble:active:not(.dimmed) {
  box-shadow: 0 0 0 3px var(--gold), 0 6px 14px rgba(78,54,41,0.16);
  transform: translateY(-1px) scale(0.985);
}

.bubble-container .bubble.selected {
  border-color: #fff;
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 8px rgba(255,199,44,0.2);
  opacity: 1;
  transform: translateY(-1px) scale(1.02);
  z-index: 7;
}

.bubble.dimmed {
  opacity: 0.24 !important;
}

.bubble.dimmed:hover,
.bubble.dimmed:focus,
.bubble.dimmed:focus-visible {
  opacity: 0.46 !important;
  transform: translateY(-2px) scale(1.02);
  z-index: 5;
}

.bubble-workspace {
  --interaction-panel-height: 560px;
  --interaction-left: minmax(0, 1.35fr);
  --interaction-right: minmax(280px, 0.65fr);
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  transition: grid-template-columns 0.26s ease;
}

.bubble-workspace.is-interaction-split {
  grid-template-columns: var(--interaction-left) var(--interaction-right);
  min-height: var(--interaction-panel-height);
}

.bubble-workspace > .bubble-container {
  grid-column: 1;
  grid-row: 1;
}

.bubble-workspace > .overview-collab-panel,
.bubble-workspace > .bubble-insight {
  grid-column: 2;
  grid-row: 1;
}

.content.is-relationship-mode .stats-row,
.content.is-relationship-mode #summary-detail,
.content.is-relationship-mode #funder-detail,
.content.is-relationship-lower-detail-hidden #faculty-detail {
  display: none !important;
}

.content.is-relationship-mode #faculty-detail.active {
  margin-top: 12px;
}

.content.is-relationship-mode #faculty-detail .faculty-tabs {
  margin-top: 0;
}

.bubble-workspace.is-relationship-workspace {
  --relationship-panel-height: 640px;
}

.bubble-workspace.is-relationship-internal-workspace {
  --relationship-panel-height: auto;
  min-height: var(--interaction-panel-height);
}

.bubble-workspace.is-insight-hidden {
  grid-template-columns: minmax(0, 1fr);
}

.bubble-workspace.is-interaction-split.is-insight-hidden {
  grid-template-columns: var(--interaction-left) var(--interaction-right);
  min-height: var(--interaction-panel-height);
}

.bubble-workspace.is-insight-hidden .bubble-insight {
  display: none;
}

.overview-collab-panel {
  display: none;
  min-width: 0;
}

.bubble-workspace.show-overview-collab {
}

.bubble-workspace.is-overview-collab-selected {
}

.bubble-workspace.show-overview-collab .overview-collab-panel {
  background: rgba(255,255,255,0.9);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: var(--interaction-panel-height);
  min-height: 0;
  padding: 10px 0 10px 22px;
  position: relative;
  width: auto;
  z-index: 2;
}

.bubble-workspace.is-overview-collab-selected .overview-collab-panel {
  display: none;
}

.bubble-workspace.is-overview-collab-selected .bubble-insight {
  height: var(--interaction-panel-height);
  max-height: var(--interaction-panel-height);
  padding: 16px;
  position: relative;
  width: auto;
  z-index: 3;
}

.overview-collab-panel h3 {
  color: var(--brown);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 12px;
}

.overview-collab-canvas {
  height: 444px;
  min-width: 0;
  width: 100%;
}

.overview-collab-canvas canvas {
  height: 100% !important;
  min-height: 0;
  width: 100%;
}

.bubble-container.is-relationship-view {
  align-content: stretch;
  align-items: stretch;
  justify-content: stretch;
  min-height: var(--relationship-panel-height);
  padding: 0;
}

.relationship-view {
  animation: relationship-view-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  height: var(--relationship-panel-height);
  min-width: 0;
  width: 100%;
}

.relationship-view--internal-page {
  height: auto;
  min-height: var(--interaction-panel-height);
}

.relationship-board {
  align-items: start;
  border: 0;
  background: transparent;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  height: var(--relationship-panel-height);
  justify-items: center;
  min-width: 0;
  overflow: visible;
  padding: 46px 22px 10px;
  position: relative;
}

.relationship-view--internal-page .relationship-board {
  height: auto;
  min-height: var(--interaction-panel-height);
  padding-bottom: 24px;
}

.explorer-back {
  border: 1px solid var(--brown);
  background: #fff;
  color: var(--brown);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 9px 11px;
  text-transform: uppercase;
}

.relationship-back {
  left: 120px;
  position: absolute;
  top: 4px;
  z-index: 20;
}

.relationship-all-faculty {
  left: 6px;
  position: absolute;
  top: 4px;
  z-index: 20;
}

.overview-collab-back {
  left: 6px;
  position: absolute;
  top: 4px;
  z-index: 20;
}

.explorer-back:hover,
.explorer-back:focus-visible {
  background: var(--brown);
  color: #fff;
  outline: 0;
}

.relationship-center {
  align-items: center;
  appearance: none;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: var(--deep-red);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: Arial, sans-serif;
  align-self: start;
  font-weight: 800;
  font-size: 17px;
  height: 148px;
  justify-content: center;
  justify-self: center;
  line-height: 1.15;
  padding: 12px;
  text-align: center;
  width: 148px;
  z-index: 3;
}

.relationship-center:hover,
.relationship-center:focus-visible {
  box-shadow: 0 0 0 5px rgba(255, 199, 44, 0.28);
  outline: 0;
}

.relationship-groups {
  display: grid;
  align-content: start;
  gap: 14px;
  grid-template-rows: minmax(0, auto) minmax(0, auto);
  justify-self: stretch;
  min-height: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 0;
  position: relative;
  width: 100%;
  z-index: 2;
}

.relationship-view:not(.relationship-view--internal-page) .relationship-groups {
  align-content: start;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  inset: 0;
  justify-self: center;
  overflow: visible;
  position: absolute;
  width: 100%;
}

.relationship-view:not(.relationship-view--internal-page) .relationship-center {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.relationship-view--internal-page .relationship-groups {
  gap: 20px;
  grid-template-rows: auto auto auto;
  justify-self: center;
  width: min(100%, 1280px);
}

.relationship-internal-top-row {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(420px, 1fr) minmax(320px, 0.56fr);
  justify-self: center;
  min-width: 0;
  position: relative;
  width: min(100%, 1280px);
  z-index: 2;
}

.relationship-internal-top-row .relationship-center {
  align-self: center;
  justify-self: center;
}

.relationship-internal-graph {
  display: grid;
  gap: 24px 32px;
  grid-template-columns: minmax(420px, 1fr) minmax(320px, 0.56fr);
  justify-self: center;
  margin-top: 26px;
  min-width: 0;
  position: relative;
  width: min(100%, 1280px);
  z-index: 2;
}

.relationship-view--internal-page .relationship-internal-graph .relationship-group--faculty {
  grid-column: 1;
  justify-self: center;
  padding-bottom: 320px;
  width: min(100%, 760px);
}

.relationship-view--internal-page .relationship-internal-graph--no-awards .relationship-group--faculty {
  padding-bottom: 96px;
}

.relationship-view--internal-page .relationship-internal-graph .relationship-group--grants {
  grid-column: 1 / -1;
}

.relationship-collab-links,
.relationship-award-links {
  inset: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
}

.relationship-collab-links {
  z-index: 1;
}

.relationship-award-links {
  z-index: 1;
}

.relationship-collab-link {
  fill: none;
  stroke: var(--evidence-official);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 1;
  stroke-width: 3.5px;
}

.relationship-collab-link-hit-area {
  cursor: pointer;
  fill: none;
  pointer-events: stroke;
  stroke: transparent;
  stroke-linecap: round;
  stroke-width: 18px;
}

.relationship-collab-link--active {
  stroke: var(--evidence-ack);
  stroke-width: 4px;
}

.relationship-collab-label-bg {
  fill: #fff;
  pointer-events: none;
  stroke: var(--evidence-official);
  stroke-width: 1px;
}

.relationship-collab-label-bg[data-relationship-collab-label-key] {
  cursor: pointer;
  pointer-events: all;
}

.relationship-collab-label-bg[data-relationship-collab-label-key]:focus-visible {
  stroke: var(--gold);
  stroke-width: 2px;
}

.relationship-collab-label-bg.relationship-collab-link--active {
  stroke: var(--evidence-ack);
}

.relationship-collab-label {
  dominant-baseline: central;
  fill: var(--evidence-official);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  paint-order: stroke;
  pointer-events: none;
  stroke: #fff;
  stroke-linejoin: round;
  stroke-width: 4px;
  text-anchor: middle;
}

.relationship-collab-label.relationship-collab-link--active {
  fill: var(--evidence-ack);
}

.relationship-collab-links--transitioning .relationship-collab-link,
.relationship-collab-links--transitioning .relationship-collab-label,
.relationship-collab-links--transitioning .relationship-collab-label-bg {
  animation: relationship-collab-link-settle 0.42s ease both;
}

.relationship-award-link {
  fill: none;
  stroke: var(--evidence-ack);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 1;
  stroke-width: 3.5px;
}

.relationship-award-chain-link {
  fill: none;
  stroke: var(--evidence-ack);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 1;
  stroke-width: 3.5px;
}

.relationship-agency-link {
  cursor: pointer;
  fill: none;
  pointer-events: stroke;
  stroke: var(--navy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 1;
  stroke-width: 3px;
}

.relationship-agency-root-link {
  cursor: pointer;
  fill: none;
  pointer-events: stroke;
  stroke: #315f8d;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 1;
  stroke-width: 3.2px;
}

.relationship-agency-link.relationship-award-link--active,
.relationship-agency-root-link.relationship-award-link--active,
.relationship-agency-link:hover,
.relationship-agency-root-link:hover {
  stroke: var(--evidence-ack);
  stroke-width: 4px;
}

.relationship-group {
  align-content: start;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  min-width: 0;
}

.relationship-group--faculty {
  padding-top: 0;
}

.relationship-group--grants {
  align-content: start;
}

.relationship-internal-summary-panel,
.relationship-internal-award-panel,
.relationship-internal-paper-panel {
  border-top: 2px solid var(--line);
  justify-self: center;
  margin-top: 6px;
  max-width: 980px;
  min-width: 0;
  padding: 16px 8px 0;
  width: min(100%, 980px);
}

.relationship-internal-summary-panel {
  padding-top: 14px;
}

.relationship-view--internal-page .relationship-internal-summary-panel {
  align-self: center;
  border-left: 3px solid var(--line);
  border-top: 0;
  justify-self: stretch;
  margin-top: 0;
  max-width: none;
  padding: 0 0 0 18px;
  width: 100%;
}

.relationship-view--internal-page .relationship-internal-summary-panel .faculty-tab-heading {
  align-items: flex-start;
  display: grid;
  gap: 6px;
}

.relationship-view--internal-page .relationship-internal-summary-panel .faculty-tab-heading span {
  justify-self: start;
  text-align: left;
}

.relationship-view--internal-page .relationship-internal-metrics {
  grid-template-columns: 1fr;
}

.relationship-internal-award-panel {
  padding-top: 16px;
}

.relationship-internal-metrics {
  margin-top: 10px;
}

.relationship-internal-summary-panel .bubble-insight-metric {
  min-width: 150px;
}

.relationship-internal-award-table th:nth-child(1),
.relationship-internal-award-table td:nth-child(1),
.relationship-internal-award-table th:nth-child(3),
.relationship-internal-award-table td:nth-child(3),
.relationship-internal-award-table th:nth-child(4),
.relationship-internal-award-table td:nth-child(4) {
  white-space: nowrap;
}

.relationship-internal-award-table small {
  color: var(--text-secondary);
  display: block;
  font-weight: 700;
  margin-top: 4px;
}

.relationship-internal-summary-panel .faculty-tab-heading,
.relationship-internal-award-panel .faculty-tab-heading,
.relationship-internal-paper-panel .faculty-tab-heading {
  margin-top: 0;
}

.relationship-internal-paper-panel .insight-paper-list {
  max-height: none;
  overflow: visible;
}

.relationship-paper-grant-evidence-section {
  border-top: 2px solid var(--line);
  margin-top: 28px;
  padding-top: 20px;
}

.relationship-paper-grant-note {
  color: var(--text-secondary);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  margin: -4px 0 12px;
}

.relationship-paper-grant-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
  margin-top: 14px;
  min-width: 0;
  position: relative;
}

.relationship-paper-grant-layout--plain {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
}

.relationship-paper-grant-links {
  inset: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.relationship-paper-grant-link {
  fill: none;
  opacity: 0;
  pointer-events: stroke;
  stroke: var(--evidence-ack);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3px;
  transition: opacity 0.2s ease, stroke-width 0.2s ease;
}

.relationship-paper-grant-link.is-paper-grant-active {
  opacity: 1;
  stroke-width: 3.5px;
}

.relationship-paper-grant-papers,
.relationship-paper-grant-column {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.relationship-paper-grant-papers .insight-paper-list {
  margin-top: 0;
}

.relationship-paper-grant-summary-table {
  margin-top: 0;
}

.relationship-paper-grant-summary-table table {
  min-width: 0;
}

.relationship-paper-grant-summary-table td,
.relationship-paper-grant-summary-table th {
  font-size: 10px;
  vertical-align: top;
}

.relationship-paper-grant-summary-table td span {
  color: var(--text-secondary);
  display: block;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 4px;
}

.relationship-paper-row.is-paper-grant-active td {
  background: var(--evidence-ack-tint) !important;
  box-shadow: inset 4px 0 0 var(--evidence-ack);
}

.relationship-paper-row--funded .insight-paper-title-cell::after {
  color: var(--evidence-ack);
  content: "funding";
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-top: 5px;
  text-transform: uppercase;
}

.relationship-paper-grant-column {
  border-left: 2px solid var(--line);
  padding-left: 14px;
}

.relationship-paper-grant-section + .relationship-paper-grant-section {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
}

.relationship-paper-grant-heading {
  color: var(--brown);
  display: grid;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  gap: 4px;
  letter-spacing: 0.08em;
  line-height: 1.25;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.relationship-paper-grant-heading span {
  color: var(--text-secondary);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.relationship-paper-grant-bubbles {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.relationship-paper-grant-bubble {
  appearance: none;
  background: var(--navy);
  border: 4px solid var(--evidence-official);
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(78, 54, 41, 0.16);
  color: #fff;
  cursor: pointer;
  display: grid;
  font-family: Arial, sans-serif;
  height: 104px;
  line-height: 1.05;
  padding: 13px 10px;
  place-items: center;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  width: 104px;
}

.relationship-paper-grant-bubble--ack {
  background: #fff;
  border-color: var(--evidence-ack);
  color: var(--navy);
}

.relationship-paper-grant-bubble--ack span {
  color: var(--evidence-ack);
}

.relationship-paper-grant-bubble--ack em {
  color: #4e6c7d;
}

.relationship-paper-grant-bubble--ack-official {
  background: var(--evidence-ack-tint);
}

.relationship-paper-grant-bubble--pub-supported {
  background: var(--evidence-pub-supported-tint);
  border-color: var(--evidence-pub-supported);
}

.relationship-paper-grant-bubble--pub-supported span {
  color: var(--evidence-pub-supported-ink);
}

.relationship-paper-grant-bubble--pub-supported.is-paper-grant-active,
.relationship-paper-grant-bubble--pub-supported:hover,
.relationship-paper-grant-bubble--pub-supported:focus-visible {
  border-color: var(--evidence-pub-supported);
  box-shadow: 0 0 0 5px rgba(184, 134, 11, 0.14), 0 12px 26px rgba(184, 134, 11, 0.18);
}

.relationship-paper-grant-section--pub-supported .relationship-paper-grant-heading {
  color: var(--evidence-pub-supported-ink);
}

.relationship-paper-grant-bubble strong {
  display: block;
  font-size: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.relationship-paper-grant-bubble span,
.relationship-paper-grant-bubble em {
  display: block;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
}

.relationship-paper-grant-bubble.is-paper-grant-active,
.relationship-paper-grant-bubble:hover,
.relationship-paper-grant-bubble:focus-visible {
  border-color: var(--evidence-ack);
  box-shadow: 0 0 0 5px rgba(22, 130, 93, 0.14), 0 12px 26px rgba(22, 130, 93, 0.18);
  outline: 0;
  transform: translateY(-1px);
}

.relationship-paper-grant-empty {
  min-width: 0;
}

.relationship-label {
  color: var(--brown);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  margin-bottom: 12px;
  min-height: 14px;
  text-transform: uppercase;
}

.relationship-circles {
  align-items: center;
  align-content: flex-start;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  min-height: 0;
  min-width: 0;
  padding: 6px 10px 6px 6px;
}

.relationship-circles--grants {
  gap: 10px;
}

.relationship-view:not(.relationship-view--internal-page) .relationship-circles--grants {
  align-items: center;
  height: auto;
  inset: 0;
  padding: 0;
  position: absolute;
}

.relationship-view:not(.relationship-view--internal-page) .relationship-group--grants {
  display: block;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.relationship-view:not(.relationship-view--internal-page) .relationship-group--grants .relationship-label {
  display: none;
}

.relationship-view:not(.relationship-view--internal-page) .relationship-circles--grants .relationship-empty {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.relationship-view--internal-page .relationship-circles--faculty {
  gap: 6px;
  padding: 4px 4px 2px;
}

.relationship-partner-award-stack {
  align-items: center;
  display: inline-flex;
  justify-items: center;
  justify-content: center;
  position: relative;
}

.relationship-official-award-info-panel {
  align-items: flex-start;
  align-self: center;
  border-left: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  grid-column: 2;
  justify-items: center;
  min-height: 220px;
  min-width: 0;
  padding: 6px 0 6px 28px;
}

.relationship-official-award-info-heading {
  color: var(--brown);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  max-width: 230px;
  text-align: left;
  text-transform: uppercase;
}

.relationship-official-award-info-list {
  display: grid;
  gap: 10px;
  max-width: 340px;
}

.relationship-official-award-info {
  border: 1px solid var(--line);
  background: var(--surface-tint);
  cursor: pointer;
  padding: 12px;
}

.relationship-official-award-info.active,
.relationship-official-award-info:hover,
.relationship-official-award-info:focus-visible {
  border-color: var(--evidence-ack);
  box-shadow: 0 0 0 3px rgba(22, 130, 93, 0.12);
  outline: 0;
}

.relationship-official-award-info strong {
  color: var(--navy);
  display: block;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
}

.relationship-official-award-info span {
  color: #7a716b;
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-top: 5px;
  text-transform: uppercase;
}

.relationship-official-award-info p {
  color: var(--brown);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  margin: 8px 0 0;
}

.relationship-official-award-stack {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  left: 50%;
  max-width: 320px;
  position: absolute;
  top: calc(100% + 34px);
  transform: translateX(-50%);
  z-index: 4;
}

.relationship-view--internal-page .relationship-official-award-stack .related-circle--grant {
  box-shadow: 0 0 0 2px var(--evidence-official);
}

.relationship-circles--empty {
  align-content: center;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.relationship-empty {
  border: 1px dashed var(--line);
  color: var(--text-muted);
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  min-width: min(320px, 100%);
  padding: 12px;
  text-align: center;
}

.bubble-insight {
  align-self: stretch;
  border: 1px solid var(--line);
  border-left: 4px solid var(--deep-red);
  background: var(--surface-tint);
  display: flex;
  flex-direction: column;
  height: 560px;
  max-height: 560px;
  min-width: 0;
  overflow: hidden;
  padding: 18px;
}

.bubble-workspace.is-relationship-workspace .bubble-insight {
  animation: relationship-insight-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  height: var(--relationship-panel-height);
  max-height: var(--relationship-panel-height);
}

@keyframes relationship-view-in {
  from {
    opacity: 0.72;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes relationship-insight-in {
  from {
    opacity: 0.74;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .relationship-view,
  .bubble-workspace.is-relationship-workspace .bubble-insight {
    animation: none;
  }
}

.bubble-insight.kicker-navy {
  border-left-color: var(--navy);
}

.bubble-insight-label {
  color: var(--text-muted);
  flex: 0 0 auto;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bubble-insight-title {
  color: var(--brown);
  flex: 0 0 auto;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.08;
  margin-top: 7px;
  overflow-wrap: break-word;
}

.bubble-insight-subtitle {
  color: var(--text-muted);
  flex: 0 0 auto;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 8px;
}

.bubble-insight-metrics {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.bubble-insight-metric {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  font: inherit;
  padding: 10px;
  min-width: 0;
  text-align: left;
}

.bubble-insight-metric-link {
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.bubble-insight-metric-link:hover,
.bubble-insight-metric-link:focus-visible {
  border-color: var(--brown);
  box-shadow: inset 4px 0 0 var(--gold), 0 8px 18px rgba(78, 54, 41, 0.08);
  outline: 0;
  transform: translateY(-1px);
}

.bubble-insight-metric span {
  color: var(--text-muted);
  display: block;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.bubble-insight-metric strong {
  color: var(--brown);
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  line-height: 1.1;
  margin-top: 4px;
}

.bibliometrics-card {
  border-top: 1px solid var(--line-soft);
  margin-top: 18px;
  padding-top: 14px;
}

.bibliometrics-heading {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bibliometrics-heading span {
  color: var(--brown);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bibliometrics-heading em,
.bibliometrics-note {
  color: var(--text-muted);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.bibliometrics-grid {
  margin-top: 10px;
}

.bibliometrics-note {
  margin-top: 10px;
}

.bibliometrics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.bubble-insight-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.bubble-insight-actions button,
.bubble-insight-actions a {
  border: 1px solid var(--brown);
  background: #fff;
  color: var(--brown);
  cursor: pointer;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
  text-decoration: none;
}

.bubble-insight-actions button.primary,
.bubble-insight-actions a.primary {
  background: var(--brown);
  color: #fff;
}

.related-circle {
  align-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.05;
  min-height: 56px;
  min-width: 56px;
  overflow-wrap: anywhere;
  padding: 7px;
  text-align: center;
  transform-origin: center;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.related-circle:hover,
.related-circle:focus-visible {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,199,44,0.72), 0 12px 28px rgba(78,54,41,0.18);
  outline: 0;
  transform: translateY(-3px) scale(1.035);
}

.related-circle:active {
  box-shadow: 0 0 0 3px rgba(255,199,44,0.54), 0 6px 14px rgba(78,54,41,0.16);
  transform: translateY(-1px) scale(0.985);
}

.related-circle.active {
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 8px rgba(255,199,44,0.2);
  transform: translateY(-1px) scale(1.02);
}

.relationship-view--internal-page .related-circle--faculty {
  border-color: var(--evidence-official);
  box-shadow: 0 0 0 2px var(--evidence-official);
}

.relationship-center.relationship-collab-endpoint-active,
.related-circle.relationship-collab-endpoint-active {
  border-color: var(--evidence-ack);
  box-shadow: 0 0 0 3px var(--evidence-ack), 0 12px 28px rgba(78,54,41,0.18);
}

.relationship-center.relationship-award-endpoint-active,
.related-circle.relationship-award-endpoint-active {
  border-color: var(--evidence-ack);
  box-shadow: 0 0 0 3px var(--evidence-ack), 0 12px 28px rgba(78,54,41,0.18);
}

.relationship-transition-from-overview {
  animation: relationship-from-overview 0.62s cubic-bezier(0.18, 0.86, 0.22, 1) both;
  animation-delay: var(--relationship-transition-delay, 0ms);
}

.relationship-view--internal-page.is-internal-transitioning .relationship-center,
.relationship-view--internal-page.is-internal-transitioning .related-circle--faculty {
  will-change: transform, opacity;
}

.related-circle--faculty {
  background: var(--brown);
}

.related-circle--grant {
  background: var(--navy);
}

.related-circle--agency {
  background: #315f8d;
  border-color: #d8e5f4;
  color: #fff;
  cursor: default;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.related-circle--agency:hover,
.related-circle--agency:focus-visible {
  border-color: #d8e5f4;
  box-shadow: none;
  outline: 0;
  transform: none;
}

.relationship-agency-stacks {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 22px;
  justify-content: center;
  width: 100%;
}

.relationship-agency-stack {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.relationship-agency-grants {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 260px;
}

.relationship-view:not(.relationship-view--internal-page) .relationship-agency-stacks {
  align-content: center;
  display: block;
  inset: 0;
  max-width: none;
  position: absolute;
}

.relationship-view:not(.relationship-view--internal-page) .relationship-agency-stack {
  display: block;
  flex: none;
  gap: 0;
  height: 1px;
  left: calc(50% + var(--stack-x, 0px));
  max-width: none;
  overflow: visible;
  position: absolute;
  top: calc(50% + var(--stack-y, 0px));
  transform: translate(-50%, -50%);
  width: 1px;
}

.relationship-view:not(.relationship-view--internal-page) .relationship-agency-stack > .related-circle--agency {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.relationship-view:not(.relationship-view--internal-page) .relationship-agency-stack > .related-circle--agency:hover,
.relationship-view:not(.relationship-view--internal-page) .relationship-agency-stack > .related-circle--agency:focus-visible {
  transform: translate(-50%, -50%);
}

.relationship-view:not(.relationship-view--internal-page) .relationship-agency-grants {
  display: block;
  inset: 0;
  max-width: none;
  padding-top: 0;
  position: absolute;
}

.relationship-view:not(.relationship-view--internal-page) .relationship-agency-grants .related-circle--grant {
  left: calc(50% + var(--grant-x, 0px));
  position: absolute;
  top: calc(50% + var(--grant-y, 0px));
  transform: translate(-50%, -50%);
}

.relationship-view:not(.relationship-view--internal-page) .relationship-agency-grants .related-circle--grant:hover,
.relationship-view:not(.relationship-view--internal-page) .relationship-agency-grants .related-circle--grant:focus-visible {
  transform: translate(-50%, calc(-50% - 3px)) scale(1.035);
}

.relationship-view:not(.relationship-view--internal-page) .relationship-agency-grants .related-circle--grant:active {
  transform: translate(-50%, calc(-50% - 1px)) scale(0.985);
}

.relationship-view:not(.relationship-view--internal-page) .relationship-agency-grants .related-circle--grant.active {
  transform: translate(-50%, calc(-50% - 1px)) scale(1.02);
}

.relationship-official-award-stack .relationship-agency-stacks {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 14px;
}

.relationship-official-award-stack .relationship-agency-stack {
  gap: 12px;
}

.relationship-official-award-stack .relationship-agency-grants {
  max-width: 220px;
}

@media (prefers-reduced-motion: reduce) {
  .bubble,
  .related-circle,
  .relationship-transition-from-overview,
  .relationship-collab-links--transitioning .relationship-collab-link,
  .relationship-collab-links--transitioning .relationship-collab-label,
  .relationship-collab-links--transitioning .relationship-collab-label-bg {
    animation: none;
    transition: none;
    will-change: auto;
  }

  .bubble:hover,
  .bubble:focus,
  .bubble:focus-visible,
  .bubble:active,
  .bubble.selected,
  .bubble.dimmed:hover,
  .bubble.dimmed:focus-visible,
  .related-circle:hover,
  .related-circle:focus-visible,
  .related-circle:active,
  .related-circle.active {
    transform: none;
  }
}

@keyframes relationship-from-overview {
  from {
    opacity: 0.98;
    transform: translate(var(--relationship-transition-x, 0), var(--relationship-transition-y, 72px)) scale(var(--relationship-transition-scale, 0.96));
  }

  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes relationship-collab-link-settle {
  from {
    opacity: 0.7;
  }

  to {
    opacity: 1;
  }
}

.insight-paper-list {
  border: 1px solid var(--line-soft);
  background: #fff;
  flex: 1 1 auto;
  margin-top: 14px;
  min-height: 0;
  overflow-y: auto;
}

.insight-paper-table {
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 11px;
  table-layout: fixed;
  width: 100%;
}

.insight-paper-table th {
  background: #f5f3f0;
  border-bottom: 2px solid var(--taupe);
  color: var(--brown);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 7px 8px;
  position: sticky;
  text-align: left;
  text-transform: uppercase;
  top: 0;
  z-index: 1;
}

.insight-paper-table th:first-child {
  width: 48px;
}

.insight-paper-table th:last-child {
  text-align: right;
  width: 74px;
}

.insight-paper-table td {
  background: #fff;
  border-bottom: 1px solid #eee8e1;
  font-family: Arial, sans-serif;
  padding: 8px;
  vertical-align: top;
}

.insight-paper-table tbody tr:nth-child(even) td {
  background: #faf8f6;
}

.insight-paper-table tbody tr:hover td {
  background: var(--gold-tint);
}

.insight-paper-table tbody tr:last-child td {
  border-bottom: 0;
}

.insight-paper-year {
  color: var(--text-muted);
  font-weight: 800;
  white-space: nowrap;
}

.insight-paper-title-cell {
  min-width: 0;
}

.insight-paper-title-link {
  color: var(--navy);
  display: block;
  font-weight: 800;
  line-height: 1.22;
  text-decoration: none;
}

.insight-paper-title-link:hover,
.insight-paper-title-link:focus,
.insight-paper-pmid-link:hover,
.insight-paper-pmid-link:focus {
  text-decoration: underline;
}

.insight-paper-journal {
  color: var(--gray);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 3px;
}

.insight-paper-pmid {
  text-align: right;
  white-space: nowrap;
}

.insight-paper-pmid-link {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.insight-paper-muted {
  color: var(--gray);
  font-weight: 800;
}

@media (max-width: 900px) {
  .bubble-workspace,
  .bubble-workspace.show-overview-collab,
  .bubble-workspace.is-overview-collab-selected {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .bubble-workspace.show-overview-collab .overview-collab-panel {
    display: none;
  }

  .bubble-workspace.is-overview-collab-selected .bubble-insight {
    height: auto;
    max-height: none;
    position: static;
    transform: none;
    width: auto;
  }

  .bubble-workspace.is-relationship-workspace,
  .bubble-workspace.is-relationship-internal-workspace {
    --relationship-panel-height: auto;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .bubble-container.is-relationship-view,
  .relationship-view,
  .relationship-board,
  .bubble-workspace.is-relationship-workspace .bubble-insight {
    height: auto;
    max-height: none;
  }

  .bubble-container.is-relationship-view {
    min-height: 0;
  }

  .relationship-board {
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
    padding: 54px 14px 14px;
  }

  .relationship-center {
    height: 112px;
    width: 112px;
  }

  .relationship-view:not(.relationship-view--internal-page) .relationship-center {
    left: auto;
    position: static;
    top: auto;
    transform: none;
  }

  .relationship-groups {
    grid-template-rows: none;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .relationship-view:not(.relationship-view--internal-page) .relationship-groups {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    inset: auto;
    position: static;
    width: 100%;
  }

  .relationship-view:not(.relationship-view--internal-page) .relationship-group--grants {
    display: block;
    height: auto;
    inset: auto;
    position: static;
  }

  .relationship-view:not(.relationship-view--internal-page) .relationship-group--grants .relationship-label {
    justify-self: auto;
    margin-bottom: 12px;
    margin-left: 0;
  }

  .relationship-view:not(.relationship-view--internal-page) .relationship-circles--grants {
    height: auto;
    inset: auto;
    padding: 2px 4px 0;
    position: relative;
  }

  .relationship-view:not(.relationship-view--internal-page) .relationship-circles--grants .relationship-empty {
    left: auto;
    position: static;
    top: auto;
    transform: none;
  }

  .relationship-view:not(.relationship-view--internal-page) .relationship-agency-stacks {
    display: flex;
    gap: 12px 16px;
    max-width: none;
  }

  .relationship-view:not(.relationship-view--internal-page) .relationship-agency-stack,
  .relationship-view:not(.relationship-view--internal-page) .relationship-agency-stack:nth-child(odd),
  .relationship-view:not(.relationship-view--internal-page) .relationship-agency-stack:nth-child(even) {
    display: inline-flex;
    gap: 12px;
    height: auto;
    justify-self: auto;
    left: auto;
    max-width: 320px;
    position: static;
    top: auto;
    transform: none;
    width: 100%;
  }

  .relationship-view:not(.relationship-view--internal-page) .relationship-agency-stack > .related-circle--agency,
  .relationship-view:not(.relationship-view--internal-page) .relationship-agency-stack > .related-circle--agency:hover,
  .relationship-view:not(.relationship-view--internal-page) .relationship-agency-stack > .related-circle--agency:focus-visible {
    left: auto;
    position: static;
    top: auto;
    transform: none;
  }

  .relationship-view:not(.relationship-view--internal-page) .relationship-agency-grants {
    display: flex;
    gap: 10px;
    inset: auto;
    max-width: 320px;
    padding-top: 2px;
    position: static;
  }

  .relationship-view:not(.relationship-view--internal-page) .relationship-agency-grants .related-circle--grant,
  .relationship-view:not(.relationship-view--internal-page) .relationship-agency-grants .related-circle--grant:hover,
  .relationship-view:not(.relationship-view--internal-page) .relationship-agency-grants .related-circle--grant:focus-visible,
  .relationship-view:not(.relationship-view--internal-page) .relationship-agency-grants .related-circle--grant:active,
  .relationship-view:not(.relationship-view--internal-page) .relationship-agency-grants .related-circle--grant.active {
    left: auto;
    position: static;
    top: auto;
    transform: none;
  }

  .relationship-internal-top-row {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .relationship-internal-graph {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .relationship-view--internal-page .relationship-internal-graph .relationship-group--faculty,
  .relationship-view--internal-page .relationship-internal-graph .relationship-group--grants {
    grid-column: 1;
    width: 100%;
  }

  .relationship-view--internal-page .relationship-internal-summary-panel {
    border-left: 0;
    border-top: 2px solid var(--line);
    margin-top: 0;
    padding: 14px 8px 0;
  }

  .relationship-view--internal-page .relationship-internal-summary-panel .faculty-tab-heading {
    display: flex;
  }

  .relationship-view--internal-page .relationship-internal-metrics {
    grid-template-columns: 1fr;
  }

  .relationship-group--faculty {
    padding-top: 0;
  }

  .bubble-insight {
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 14px;
  }

  .bubble-insight-metrics {
    grid-template-columns: 1fr;
  }
}

.faculty-evidence-table table {
  table-layout: fixed;
  width: 100%;
}

.faculty-evidence-table table,
.source-overlap-table table {
  min-width: 0;
}

.source-overlap-table table {
  table-layout: fixed;
  width: 100%;
}

.reporter-award-table table {
  min-width: 0;
  table-layout: fixed;
  width: 100%;
}

.grant-source-section .drilldown-table-wrap {
  overflow-x: hidden;
}

.grant-source-section[data-funding-source="official-awards"] .drilldown-table-wrap {
  overflow: visible;
}

.faculty-evidence-table th,
.source-overlap-table th,
.reporter-award-table th {
  white-space: normal;
}

.faculty-evidence-table td,
.source-overlap-table td {
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.reporter-award-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.faculty-evidence-table td:last-child,
.source-overlap-table td:last-child,
.reporter-award-table th:nth-last-child(-n+3),
.reporter-award-table td:nth-last-child(-n+3) {
  white-space: nowrap;
}

.grant-source-section[data-funding-source="pubmed-acknowledgements"] th:nth-child(1),
.grant-source-section[data-funding-source="pubmed-acknowledgements"] td:nth-child(1),
.grant-source-section[data-funding-source="cross-source-overlaps"] th:nth-child(1),
.grant-source-section[data-funding-source="cross-source-overlaps"] td:nth-child(1) {
  width: 36%;
}

.grant-source-section[data-funding-source="pubmed-acknowledgements"] th:nth-child(2),
.grant-source-section[data-funding-source="pubmed-acknowledgements"] td:nth-child(2),
.grant-source-section[data-funding-source="cross-source-overlaps"] th:nth-child(2),
.grant-source-section[data-funding-source="cross-source-overlaps"] td:nth-child(2) {
  width: 32%;
}

.grant-source-section[data-funding-source="cross-source-overlaps"] th:nth-child(3),
.grant-source-section[data-funding-source="cross-source-overlaps"] td:nth-child(3) {
  width: 18%;
}

.grant-source-section[data-funding-source="pubmed-acknowledgements"] th:nth-last-child(2),
.grant-source-section[data-funding-source="pubmed-acknowledgements"] td:nth-last-child(2),
.grant-source-section[data-funding-source="cross-source-overlaps"] th:nth-last-child(2),
.grant-source-section[data-funding-source="cross-source-overlaps"] td:nth-last-child(2) {
  width: 90px;
}

.grant-source-section[data-funding-source="pubmed-acknowledgements"] th:last-child,
.grant-source-section[data-funding-source="pubmed-acknowledgements"] td:last-child,
.grant-source-section[data-funding-source="cross-source-overlaps"] th:last-child,
.grant-source-section[data-funding-source="cross-source-overlaps"] td:last-child {
  width: 150px;
}

.official-award-table th,
.official-award-table td {
  padding-left: 12px;
  padding-right: 12px;
}

.official-award-table tbody td {
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.official-award-table tbody tr:has(.fy-dropdown[open]) {
  position: relative;
  z-index: 30;
}

.official-award-table tbody td:has(.fy-dropdown) {
  overflow: visible;
  position: relative;
  z-index: 20;
}

.official-award-table .fy-dropdown[open] {
  z-index: 40;
}

.official-award-cell-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.official-award-table .official-col-source { width: 9%; }
.official-award-table .official-col-award { width: 9%; }
.official-award-table .official-col-title { width: 24%; }
.official-award-table .official-col-organization { width: 11%; }
.official-award-table .official-col-agency { width: 9%; }
.official-award-table .official-col-pi { width: 12%; }
.official-award-table .official-col-year { width: 8%; }
.official-award-table .official-col-amount { width: 8%; }
.official-award-table .official-col-end-date { width: 10%; }

.grant-source-section[data-funding-source="official-awards"] th:nth-last-child(-n+3) {
  line-height: 1.15;
  white-space: normal;
}

.grant-source-section[data-funding-source="official-awards"] td:nth-last-child(-n+3) {
  overflow-wrap: normal;
  white-space: nowrap;
}

.grant-source-section[data-funding-source="nih-reporter"] th:nth-child(1),
.grant-source-section[data-funding-source="nih-reporter"] td:nth-child(1) {
  width: 10%;
}

.grant-source-section[data-funding-source="nih-reporter"] th:nth-child(2),
.grant-source-section[data-funding-source="nih-reporter"] td:nth-child(2) {
  width: 25%;
}

.grant-source-section[data-funding-source="nih-reporter"] th:nth-child(3),
.grant-source-section[data-funding-source="nih-reporter"] td:nth-child(3) {
  width: 16%;
}

.grant-source-section[data-funding-source="nih-reporter"] th:nth-child(4),
.grant-source-section[data-funding-source="nih-reporter"] td:nth-child(4),
.grant-source-section[data-funding-source="nih-reporter"] th:nth-child(6),
.grant-source-section[data-funding-source="nih-reporter"] td:nth-child(6),
.grant-source-section[data-funding-source="nih-reporter"] th:nth-child(8),
.grant-source-section[data-funding-source="nih-reporter"] td:nth-child(8) {
  width: 8%;
}

.grant-source-section[data-funding-source="nih-reporter"] th:nth-child(5),
.grant-source-section[data-funding-source="nih-reporter"] td:nth-child(5) {
  width: 16%;
}

.grant-source-section[data-funding-source="nih-reporter"] th:nth-child(7),
.grant-source-section[data-funding-source="nih-reporter"] td:nth-child(7) {
  width: 9%;
}

.grant-source-section[data-funding-source="nsf-awards"] th:nth-child(1),
.grant-source-section[data-funding-source="nsf-awards"] td:nth-child(1),
.grant-source-section[data-funding-source="federal-awards"] th:nth-child(1),
.grant-source-section[data-funding-source="federal-awards"] td:nth-child(1),
.grant-source-section[data-funding-source="nsf-awards"] th:nth-child(8),
.grant-source-section[data-funding-source="nsf-awards"] td:nth-child(8),
.grant-source-section[data-funding-source="federal-awards"] th:nth-child(8),
.grant-source-section[data-funding-source="federal-awards"] td:nth-child(8) {
  width: 8%;
}

.grant-source-section[data-funding-source="nsf-awards"] th:nth-child(2),
.grant-source-section[data-funding-source="nsf-awards"] td:nth-child(2),
.grant-source-section[data-funding-source="federal-awards"] th:nth-child(2),
.grant-source-section[data-funding-source="federal-awards"] td:nth-child(2) {
  width: 25%;
}

.grant-source-section[data-funding-source="nsf-awards"] th:nth-child(3),
.grant-source-section[data-funding-source="nsf-awards"] td:nth-child(3),
.grant-source-section[data-funding-source="federal-awards"] th:nth-child(3),
.grant-source-section[data-funding-source="federal-awards"] td:nth-child(3) {
  width: 14%;
}

.grant-source-section[data-funding-source="nsf-awards"] th:nth-child(4),
.grant-source-section[data-funding-source="nsf-awards"] td:nth-child(4),
.grant-source-section[data-funding-source="federal-awards"] th:nth-child(4),
.grant-source-section[data-funding-source="federal-awards"] td:nth-child(4) {
  width: 16%;
}

.grant-source-section[data-funding-source="nsf-awards"] th:nth-child(5),
.grant-source-section[data-funding-source="nsf-awards"] td:nth-child(5),
.grant-source-section[data-funding-source="federal-awards"] th:nth-child(5),
.grant-source-section[data-funding-source="federal-awards"] td:nth-child(5) {
  width: 18%;
}

.grant-source-section[data-funding-source="nsf-awards"] th:nth-child(6),
.grant-source-section[data-funding-source="nsf-awards"] td:nth-child(6),
.grant-source-section[data-funding-source="federal-awards"] th:nth-child(6),
.grant-source-section[data-funding-source="federal-awards"] td:nth-child(6) {
  width: 8%;
}

.grant-source-section[data-funding-source="nsf-awards"] th:nth-child(7),
.grant-source-section[data-funding-source="nsf-awards"] td:nth-child(7),
.grant-source-section[data-funding-source="federal-awards"] th:nth-child(7),
.grant-source-section[data-funding-source="federal-awards"] td:nth-child(7) {
  width: 9%;
}

.grant-source-section[data-funding-source="nsf-awards"] th:nth-child(6),
.grant-source-section[data-funding-source="nsf-awards"] th:nth-child(7),
.grant-source-section[data-funding-source="nsf-awards"] th:nth-child(8),
.grant-source-section[data-funding-source="federal-awards"] th:nth-child(6),
.grant-source-section[data-funding-source="federal-awards"] th:nth-child(7),
.grant-source-section[data-funding-source="federal-awards"] th:nth-child(8) {
  line-height: 1.15;
  white-space: normal;
}

.source-overlap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.source-overlap-tag {
  align-items: center;
  border: 1px solid #d8d1c8;
  background: #fff;
  color: var(--brown);
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  gap: 6px;
  line-height: 1;
  padding: 4px 6px;
  text-transform: uppercase;
}

.source-overlap-tag strong {
  color: inherit;
  font-size: 11px;
  font-weight: 900;
}

.source-overlap-tag--pubmed {
  background: #f6f2ee;
}

.source-overlap-tag--nih {
  border-color: #c9d8e8;
  background: #f3f8fc;
  color: var(--navy);
}

.source-overlap-tag--nsf {
  border-color: #d7c9e8;
  background: #fbf7ff;
  color: #5a3d77;
}

.source-overlap-tag--federal {
  border-color: #d8d1a7;
  background: #fffbe3;
  color: #6f5c15;
}

.faculty-evidence-table th:nth-child(3),
.faculty-evidence-table td:nth-child(3) {
  width: 130px;
}

.faculty-evidence-table th:last-child,
.faculty-evidence-table td:last-child {
  width: 160px;
}

.evidence-table-row {
  cursor: pointer;
}

.evidence-table-row:hover,
.evidence-table-row:focus,
.evidence-table-row.active {
  background: var(--gold-tint);
}

.evidence-table-row:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.evidence-table-title {
  color: var(--brown);
  font-weight: 800;
}

.evidence-table-detail td {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  padding: 14px 12px;
}

.evidence-table-detail .faculty-tab-heading {
  margin-top: 0;
}

.record-subline {
  display: block;
  color: var(--gray);
  font-family: Arial, sans-serif;
  font-size: 11px;
  line-height: 1.35;
  margin-top: 3px;
}

.empty-list-row {
  border: 1px solid var(--line-soft);
  background: var(--surface-tint);
  color: var(--gray);
  padding: 14px;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.coop-partner-list {
  margin-top: 0;
}

.coop-partner-table table,
.coop-paper-table table,
.evidence-paper-table table {
  table-layout: fixed;
  width: 100%;
}

.coop-partner-table table {
  min-width: 0;
}

.coop-partner-table th:first-child,
.coop-partner-table td:first-child {
  overflow-wrap: anywhere;
  width: auto;
}

.coop-partner-table th:nth-child(2),
.coop-partner-table th:nth-child(3),
.coop-partner-table td:nth-child(2),
.coop-partner-table td:nth-child(3) {
  white-space: nowrap;
  width: 130px;
}

.coop-partner-row {
  cursor: pointer;
}

.coop-partner-row:hover,
.coop-partner-row.active {
  background: var(--gold-tint);
}

.coop-partner-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  display: block;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  padding: 0;
  text-align: left;
  width: 100%;
}

.coop-partner-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.coop-paper-detail-row > td {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  padding: 12px;
  width: 100%;
}

.coop-paper-detail-heading {
  align-items: center;
  color: var(--brown);
  display: flex;
  font-family: Arial, sans-serif;
  font-weight: 800;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.coop-paper-detail-heading strong {
  color: var(--gray);
  font-size: 12px;
  font-weight: 700;
}

.coop-paper-table,
.evidence-paper-table {
  border-color: #ece7df;
  max-width: 100%;
  overflow-x: hidden;
}

.coop-paper-table th,
.coop-paper-table td,
.evidence-paper-table th,
.evidence-paper-table td {
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
  white-space: nowrap;
}

.coop-paper-table table,
.evidence-paper-table table {
  min-width: 0;
}

.publication-evidence-year {
  width: 7%;
}

.publication-evidence-title {
  width: 68%;
}

.publication-evidence-journal {
  width: 17%;
}

.publication-evidence-pmid {
  width: 8%;
}

.coop-paper-table .paper-link,
.evidence-paper-table .paper-link {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coop-paper-table th:first-child,
.coop-paper-table td:first-child,
.evidence-paper-table th:first-child,
.evidence-paper-table td:first-child {
  width: 7%;
}

.coop-paper-table th:nth-child(3),
.coop-paper-table td:nth-child(3),
.evidence-paper-table th:nth-child(3),
.evidence-paper-table td:nth-child(3) {
  width: 17%;
}

.coop-paper-table th:last-child,
.coop-paper-table td:last-child,
.evidence-paper-table th:last-child,
.evidence-paper-table td:last-child {
  width: 8%;
}

.evidence-paper-table .paper-tags {
  display: none;
}

.evidence-count {
  color: inherit;
  font: inherit;
  font-weight: inherit;
  white-space: nowrap;
}

.reporter-award-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.reporter-award-extra {
  display: grid;
  gap: 10px;
}

.reporter-award-link {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: 4px;
  background: #fff;
  padding: 10px 12px;
  color: inherit;
  font-family: Arial, sans-serif;
  text-decoration: none;
}

.reporter-award-link:hover,
.reporter-award-link:focus {
  border-color: #d8c38a;
  border-left-color: var(--deep-red);
  background: var(--gold-tint);
}

.reporter-award-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.reporter-award-number {
  color: var(--brown);
  font-size: 13px;
  font-weight: 800;
}

.reporter-award-title {
  color: #24211f;
  font-size: 13px;
  line-height: 1.35;
}

.reporter-award-meta {
  color: var(--gray);
  font-size: 11px;
  line-height: 1.35;
}

.data-audit-section {
  border-top: 4px solid var(--brown);
  margin-bottom: 22px;
  padding-top: 14px;
}

.data-audit-block {
  margin-bottom: 16px;
}

.data-audit-table td {
  vertical-align: top;
}

@media (max-width: 768px) {
  .global-search-main input {
    min-width: 0;
  }

  .global-year-filter {
    width: 100%;
  }

  .global-year-filter select {
    flex: 1;
  }

  .global-hit {
    grid-template-columns: 1fr;
  }

  .faculty-tab-buttons {
    flex-wrap: wrap;
  }

  .relationship-paper-grant-layout {
    grid-template-columns: 1fr;
  }

  .relationship-paper-grant-column {
    border-left: 0;
    border-top: 2px solid var(--line);
    padding-left: 0;
    padding-top: 12px;
  }

  .relationship-paper-grant-bubbles {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

}
