/* ==========================================================================
   OCT 视界 — OCT 技术图谱
   ========================================================================== */

.techmap-page {
  padding-bottom: 76px;
}

.techmap-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(340px, 0.86fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding: clamp(42px, 6vw, 76px) 0 clamp(34px, 4vw, 54px);
}

.techmap-hero h1 {
  max-width: 13em;
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5.6vw, 72px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.techmap-hero .page-dek {
  max-width: 42em;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.9;
}

.techmap-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.techmap-hero .page-stats {
  margin-top: 28px;
}

.techmap-hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 390px;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 74% 18%, rgba(143, 220, 205, 0.28), transparent 34%),
    radial-gradient(circle at 20% 84%, rgba(223, 92, 56, 0.24), transparent 32%),
    linear-gradient(145deg, #083f3b, #0d5c57 58%, #123f3c);
  color: #f7f5ef;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.techmap-hero-panel::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  opacity: 0.7;
  pointer-events: none;
}

.techmap-orbit {
  position: absolute;
  border: 1px solid rgba(143, 220, 205, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

.techmap-orbit--one {
  width: 260px;
  height: 260px;
  top: -84px;
  right: -56px;
}

.techmap-orbit--two {
  width: 170px;
  height: 170px;
  top: 24px;
  right: 20px;
  border-color: rgba(223, 92, 56, 0.32);
}

.techmap-orbit--three {
  width: 90px;
  height: 90px;
  top: 84px;
  right: 72px;
  background: rgba(143, 220, 205, 0.08);
}

.techmap-hero-panel-label {
  position: relative;
  z-index: 1;
  color: rgba(247, 245, 239, 0.58);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.techmap-hero-panel-value {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 86px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.techmap-hero-panel-caption {
  position: relative;
  z-index: 1;
  margin-top: 7px;
  color: rgba(247, 245, 239, 0.7);
  font-size: 11px;
}

.techmap-hero-panel-foot {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(247, 245, 239, 0.52);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

/* controls */

.techmap-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 30px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.techmap-control-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.techmap-control-label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.techmap-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.techmap-seg-btn {
  padding: 7px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.techmap-seg-btn:hover {
  color: var(--ink);
}

.techmap-seg-btn.is-active {
  background: var(--btn-bg);
  color: var(--btn-ink);
}

.techmap-control-note {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.6;
}

/* shared section */

.techmap-section {
  margin-top: clamp(50px, 6vw, 82px);
  scroll-margin-top: 100px;
}

.techmap-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 20px;
}

.techmap-section-head h2 {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: clamp(29px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.techmap-section-head p {
  max-width: 64em;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.techmap-legend {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
  color: var(--muted);
  font-size: 9px;
}

.techmap-legend-bar {
  display: block;
  width: 96px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(13, 92, 87, 0.08), rgba(13, 92, 87, 0.38), rgba(13, 92, 87, 0.82));
}

.techmap-legend em {
  margin-left: 4px;
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 700;
}

/* matrix */

.techmap-matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.techmap-table {
  width: 100%;
  min-width: 1450px;
  border-collapse: separate;
  border-spacing: 4px;
  padding: 8px;
}

.techmap-table th,
.techmap-table td {
  padding: 0;
  vertical-align: middle;
}

.techmap-corner {
  position: sticky;
  left: 0;
  z-index: 3;
  min-width: 154px;
  padding: 12px 10px !important;
  background: var(--surface);
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  white-space: nowrap;
}

.techmap-app-head {
  min-width: 64px;
  padding: 6px 2px !important;
  text-align: center;
}

.techmap-app-head button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  padding: 7px 4px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  cursor: pointer;
}

.techmap-app-head button:hover,
.techmap-app-head.is-active button {
  border-color: var(--line-strong);
  background: var(--paper);
}

.techmap-app-head span {
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}

.techmap-app-head em {
  color: var(--muted);
  font-size: 8.5px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.techmap-tech-head {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 154px;
  background: var(--surface);
  text-align: left;
}

.techmap-tech-head button {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 10px 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.techmap-tech-head button:hover,
.techmap-tech-head.is-active button {
  border-color: var(--line-strong);
  background: var(--paper);
}

.techmap-tech-head i {
  width: 7px;
  height: 22px;
  border-radius: 999px;
  flex: none;
}

.techmap-tech-head span {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

.techmap-tech-head em {
  margin-left: auto;
  color: var(--muted);
  font-size: 8.5px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.techmap-cell-td {
  min-width: 64px;
}

.techmap-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-height: 54px;
  padding: 6px 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.techmap-cell:hover {
  z-index: 1;
  transform: translateY(-1px);
  border-color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

.techmap-cell strong {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.techmap-cell em {
  color: var(--muted);
  font-size: 7.5px;
  font-style: normal;
  line-height: 1;
}

.techmap-cell.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.techmap-cell.is-other {
  color: var(--muted);
}

.techmap-total-head,
.techmap-total-cell {
  min-width: 64px;
  color: var(--brand-deep);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.techmap-total-head {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.techmap-total-cell {
  background: var(--paper);
  border-radius: 7px;
}

.techmap-foot-row th,
.techmap-foot-row td {
  padding: 9px 4px !important;
  border-top: 1px solid var(--line);
}

.techmap-foot-label {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--surface);
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 800;
  text-align: left;
}

.techmap-foot-cell {
  color: var(--muted);
  font-size: 9px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.techmap-foot-total {
  color: var(--brand-deep);
  font-weight: 700;
}

.techmap-matrix-note {
  max-width: 70em;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.65;
}

/* detail */

.techmap-detail-section {
  margin-top: clamp(38px, 4vw, 56px);
}

.techmap-detail {
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.techmap-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
}

.techmap-detail-head h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

.techmap-detail-head p {
  max-width: 48em;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.techmap-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: none;
}

.techmap-detail-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 24px 0;
}

.techmap-detail-kpis > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.techmap-detail-kpis span {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.techmap-detail-kpis strong {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
}

.techmap-detail-kpis em {
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
}

.techmap-detail-kpis em.is-up { color: var(--brand); }
.techmap-detail-kpis em.is-down { color: var(--accent-deep); }

.techmap-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.94fr) minmax(0, 0.94fr);
  gap: 14px;
  align-items: start;
}

.techmap-subpanel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
}

.techmap-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.techmap-subhead h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.techmap-subhead span {
  color: var(--muted);
  font-size: 8.5px;
  white-space: nowrap;
}

.techmap-subhead--small {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.techmap-subhead--small h3 {
  font-size: 16px;
}

.techmap-paper-list {
  display: flex;
  flex-direction: column;
}

.techmap-paper {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.techmap-paper:last-child {
  border-bottom: 0;
}

.techmap-paper-rank {
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.2;
}

.techmap-paper-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.techmap-paper-copy strong {
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.45;
}

.techmap-paper-copy em {
  overflow: hidden;
  color: var(--muted);
  font-size: 8.5px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.techmap-paper-cite {
  color: var(--brand);
  font-size: 8.5px;
  white-space: nowrap;
}

.techmap-inst-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.techmap-inst-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 66px 36px 62px;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
}

.techmap-inst-rank {
  color: var(--muted);
  font-family: var(--serif);
}

.techmap-inst-name {
  overflow: hidden;
  color: var(--ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.techmap-inst-bar {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.techmap-inst-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

.techmap-inst-row strong {
  color: var(--brand-deep);
  font-size: 9.5px;
  text-align: right;
}

.techmap-inst-row em {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
  text-align: right;
  white-space: nowrap;
}

.techmap-company-list {
  display: flex;
  flex-direction: column;
}

.techmap-company {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.techmap-company:last-child {
  border-bottom: 0;
}

.techmap-company-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 8px;
  font-weight: 800;
  flex: none;
}

.techmap-company-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.techmap-company-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.techmap-company-copy em {
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.techmap-company-count {
  margin-left: auto;
  color: var(--brand);
  font-size: 8.5px;
  white-space: nowrap;
}

.techmap-small-note {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.6;
}

.techmap-rank-note {
  margin: 0;
  padding: 12px 16px 14px;
}

.techmap-empty {
  margin: 0;
  padding: 20px 0;
  color: var(--muted);
  font-size: 10.5px;
}

/* institution / application graph */

.techmap-graph-section {
  scroll-margin-top: 96px;
}

.techmap-graph-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex: none;
}

.techmap-graph-panel {
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.techmap-graph-scroll {
  overflow-x: auto;
  overflow-y: hidden;
}

.techmap-graph-svg {
  display: block;
  width: 100%;
  min-width: 820px;
  height: auto;
  overflow: visible;
}

.techmap-graph-column {
  fill: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.techmap-graph-edge {
  fill: none;
  stroke-linecap: round;
}

.techmap-graph-node {
  cursor: pointer;
}

.techmap-graph-node circle {
  stroke: var(--surface);
  stroke-width: 1.5;
  transition: stroke 0.2s ease, stroke-width 0.2s ease;
}

.techmap-graph-node text {
  fill: var(--ink-soft);
  font-family: var(--sans);
  font-size: 9.5px;
  transition: fill 0.2s ease;
}

.techmap-graph-node--institution circle {
  fill: var(--brand);
}

.techmap-graph-node--institution a {
  color: inherit;
  text-decoration: none;
}

.techmap-graph-node:hover circle,
.techmap-graph-node:focus-visible circle {
  stroke: var(--accent);
  stroke-width: 2.4;
}

.techmap-graph-node:hover text,
.techmap-graph-node:focus-visible text {
  fill: var(--ink);
  font-weight: 700;
}

.techmap-graph-node:focus-visible {
  outline: none;
}

.techmap-graph-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.5;
}

.techmap-graph-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.techmap-graph-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.techmap-graph-legend .is-institution {
  background: var(--brand);
}

.techmap-graph-legend .is-app {
  background: linear-gradient(90deg, #0d5c57, #3f6f9e, #b8421f);
}

.techmap-graph-legend .is-tech {
  background: #b8421f;
}

.techmap-graph-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.6;
}

.techmap-graph-empty {
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
}

.techmap-graph-empty strong {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
}

.techmap-graph-empty p {
  margin: 6px 0 0;
  font-size: 10px;
}

/* trend */

.techmap-trend-controls,
.techmap-rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex: none;
}

.techmap-pill {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 9.5px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.techmap-pill:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.techmap-pill.is-active {
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-ink);
}

.techmap-chart-panel {
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.techmap-chart-wrap {
  color: var(--brand);
}

.techmap-chart-wrap svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.techmap-grid-line {
  stroke: var(--line);
  stroke-width: 1;
}

.techmap-axis-label {
  fill: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
}

.techmap-line {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.techmap-area {
  fill: url(#techmapArea);
}

.techmap-point {
  fill: var(--accent);
  stroke: var(--surface);
  stroke-width: 1.5;
}

.techmap-chart-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 28px;
  margin-top: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.techmap-chart-summary > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.techmap-chart-summary span {
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.techmap-chart-summary strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.techmap-chart-summary-note {
  margin-left: auto;
  color: var(--muted) !important;
  font-size: 9px !important;
}

/* citation network */

.techmap-network-note {
  flex: none;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.techmap-network-panel {
  padding: 8px 12px 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.techmap-network-wrap {
  color: var(--brand);
}

.techmap-network-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}

.techmap-network-edge {
  stroke: #8fa39b;
  stroke-width: 0.8;
  opacity: 0.34;
}

.techmap-network-node {
  stroke: var(--surface);
  stroke-width: 1.5;
  opacity: 0.92;
  transition: opacity 0.15s ease, stroke 0.15s ease;
}

.techmap-network-node.is-seed {
  stroke-width: 2.3;
}

.techmap-network-node:hover {
  opacity: 1;
  stroke: var(--accent);
  stroke-width: 2.3;
}

.techmap-network-label {
  fill: var(--ink-soft);
  font-family: var(--sans);
  font-size: 8.5px;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 3px;
  stroke-linejoin: round;
  pointer-events: none;
}

.techmap-network-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 5px;
  padding: 9px 8px 1px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
}

.techmap-network-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border-radius: 50%;
  background: #a9b3ae;
  vertical-align: -1px;
}

.techmap-network-dot.is-cited {
  opacity: 0.55;
}

.techmap-network-arrow {
  color: var(--accent);
  font-size: 13px;
}

.techmap-network-legend em {
  margin-left: auto;
  color: var(--muted);
  font-style: normal;
}

.techmap-network-empty {
  padding: 34px 18px;
  text-align: center;
  color: var(--muted);
}

.techmap-network-empty strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.techmap-network-empty p {
  max-width: 48em;
  margin: 8px auto 12px;
  font-size: 10.5px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .techmap-network-panel {
    padding: 4px 6px 10px;
  }
  .techmap-network-note {
    white-space: normal;
  }
  .techmap-network-legend em {
    width: 100%;
    margin-left: 0;
  }
}

/* rankings */

.techmap-rank-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.techmap-filter-chip {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 9px;
  cursor: pointer;
}

.techmap-filter-chip:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.techmap-filter-chip.is-active {
  background: var(--brand-soft);
  border-color: var(--brand-soft);
  color: var(--brand-deep);
}

.techmap-rank-scope-note {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
}

.techmap-ranking-panel {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.techmap-rank-table {
  min-width: 760px;
}

.techmap-rank-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1.7fr) 96px 92px 80px 114px;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}

.techmap-rank-table--companies .techmap-rank-row {
  grid-template-columns: 42px minmax(0, 1.8fr) 96px 70px minmax(150px, 1fr) 114px;
}

.techmap-rank-row:last-child {
  border-bottom: 0;
}

.techmap-rank-row--head {
  background: var(--paper-2);
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.techmap-rank-row--head span:nth-child(3),
.techmap-rank-row--head span:nth-child(4),
.techmap-rank-row--head span:nth-child(5) {
  text-align: right;
}

.techmap-rank-num {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
}

.techmap-rank-name {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.techmap-rank-name b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 7.5px;
  flex: none;
}

.techmap-rank-name em {
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
  font-weight: 400;
  text-overflow: ellipsis;
}

.techmap-rank-row > strong {
  color: var(--brand-deep);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.techmap-rank-row > em {
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.techmap-rank-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.techmap-rank-tags i {
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 7.5px;
  font-style: normal;
  white-space: nowrap;
}

.techmap-rank-bar {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.techmap-rank-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

/* method + cta */

.techmap-method {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1.64fr);
  gap: clamp(24px, 4vw, 54px);
  margin-top: clamp(52px, 6vw, 84px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.techmap-method h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.04;
}

.techmap-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.techmap-method-grid article {
  padding: 16px 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.techmap-method-grid h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.techmap-method-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.techmap-method-note {
  grid-column: 2;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.7;
}

.techmap-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(48px, 5vw, 72px);
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--surface), var(--paper-2));
}

.techmap-cta h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3.1vw, 38px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.techmap-cta p {
  max-width: 56em;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

/* responsive */

@media (max-width: 1180px) {
  .techmap-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 34px;
  }
  .techmap-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
  .techmap-detail-grid .techmap-subpanel:first-child {
    grid-column: 1 / -1;
  }
  .techmap-method {
    grid-template-columns: 1fr;
  }
  .techmap-method-note {
    grid-column: 1;
  }
}

@media (max-width: 900px) {
  .techmap-hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }
  .techmap-hero-panel {
    min-height: 260px;
  }
  .techmap-hero-panel-value {
    font-size: 58px;
  }
  .techmap-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .techmap-control-note {
    margin-left: 0;
  }
  .techmap-section-head,
  .techmap-detail-head,
  .techmap-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .techmap-detail-kpis {
    grid-template-columns: 1fr 1fr;
  }
  .techmap-detail-grid {
    grid-template-columns: 1fr;
  }
  .techmap-detail-grid .techmap-subpanel:first-child {
    grid-column: auto;
  }
  .techmap-chart-summary-note {
    margin-left: 0;
    width: 100%;
  }
  .techmap-graph-panel {
    padding: 12px;
  }
  .techmap-graph-svg {
    min-width: 760px;
  }
  .techmap-method-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .techmap-hero h1 {
    font-size: clamp(38px, 10vw, 54px);
  }
  .techmap-hero-panel {
    min-height: 220px;
    padding: 22px;
  }
  .techmap-detail-kpis {
    grid-template-columns: 1fr;
  }
  .techmap-detail-actions .btn {
    flex: 1 1 auto;
  }
  .techmap-seg {
    border-radius: 12px;
  }
  .techmap-seg-btn {
    padding: 7px 9px;
  }
  .techmap-inst-row {
    grid-template-columns: 18px minmax(0, 1fr) 54px 34px 56px;
  }
  .techmap-rank-row,
  .techmap-rank-table--companies .techmap-rank-row {
    grid-template-columns: 34px minmax(0, 1fr) 78px 66px;
  }
  .techmap-rank-row--head span:nth-child(5),
  .techmap-rank-row--head span:nth-child(6),
  .techmap-rank-row > .techmap-rank-tags,
  .techmap-rank-row > .techmap-rank-bar {
    display: none;
  }
}
