/* ============================================
   产业链地图 - 白底投研终端风格
   ============================================ */

.page-industry_tree .main {
  max-width: 1320px;
}

.ic-page {
  --ic-text: #1d1d1f;
  --ic-muted: #6b7280;
  --ic-soft: #f6f7f9;
  --ic-line: #e5e7eb;
  --ic-blue: #0071e3;
  --ic-red: #d70015;
  --ic-green: #1a7f37;
  --ic-amber: #b45309;
  color: var(--ic-text);
  padding: 0 0 56px;
}

.ic-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 24px;
  align-items: stretch;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--ic-line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(250,251,253,.92)),
    radial-gradient(700px 260px at 85% 10%, rgba(0,113,227,.10), transparent 58%),
    radial-gradient(520px 260px at 10% 95%, rgba(26,127,55,.08), transparent 60%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  overflow: hidden;
}

.ic-hero::before,
.ic-detail-hero::before,
.ic-flow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(0,113,227,.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0,113,227,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(130deg, transparent 0%, #000 18%, #000 74%, transparent 100%);
}

.ic-hero-copy,
.ic-detail-copy,
.ic-hero-meta,
.ic-hero-board,
.ic-chip-stage,
.ic-section-head,
.ic-chain-flow {
  position: relative;
  z-index: 1;
}

.ic-kicker {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ic-hero h1,
.ic-detail-hero h1 {
  margin: 0;
  color: var(--ic-text);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ic-hero p,
.ic-detail-tagline {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--ic-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ic-hero-meta {
  position: absolute;
  left: 26px;
  bottom: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ic-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--ic-line);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #374151;
  font-size: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}

.ic-chip strong {
  color: #111827;
}

.ic-hero-board {
  min-height: 210px;
  border: 1px solid rgba(0,113,227,.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 52% 48%, rgba(0,113,227,.16), transparent 42%),
    linear-gradient(135deg, #fff, #f8fbff);
  overflow: hidden;
}

.ic-wafer {
  position: absolute;
  right: 46px;
  top: 24px;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  border: 1px solid rgba(0,113,227,.28);
  background:
    radial-gradient(circle at 38% 32%, rgba(255,255,255,.95), rgba(219,234,254,.72) 42%, rgba(191,219,254,.50) 68%, rgba(255,255,255,.9) 100%);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,.55), 0 18px 45px rgba(37,99,235,.15);
}

.ic-wafer::before,
.ic-wafer::after,
.ic-chip-wafer::before,
.ic-chip-wafer::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(0,113,227,.20);
}

.ic-wafer::after {
  inset: 35%;
}

.ic-wafer span {
  position: absolute;
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
  background: rgba(0,113,227,.14);
}

.ic-wafer span:nth-child(1) { transform: rotate(0deg); }
.ic-wafer span:nth-child(2) { transform: rotate(45deg); }
.ic-wafer span:nth-child(3) { transform: rotate(90deg); }
.ic-wafer span:nth-child(4) { transform: rotate(135deg); }

.ic-board-line {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,113,227,.15), rgba(0,113,227,.58), rgba(26,127,55,.36));
}

.line-a { width: 235px; left: 28px; top: 82px; transform: rotate(-10deg); }
.line-b { width: 250px; left: 42px; bottom: 58px; transform: rotate(12deg); }

.ic-board-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(0,113,227,.16);
  background: rgba(255,255,255,.90);
  color: #1f2937;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

.node-a { left: 24px; top: 36px; }
.node-b { left: 90px; bottom: 26px; }
.node-c { right: 30px; bottom: 32px; }

.ic-market-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.ic-strip-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--ic-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ic-text);
  transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}

.ic-strip-item:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15,23,42,.06);
}

.ic-strip-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.ic-strip-item strong {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  white-space: nowrap;
}

.ic-themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 16px;
}

.ic-theme-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 18px;
  border: 1px solid var(--ic-line);
  border-radius: 18px;
  background: #fff;
  color: var(--ic-text);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,23,42,.03);
  transition: transform .16s ease, border-color .18s ease, box-shadow .18s ease;
}

.ic-theme-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(340px 180px at 100% 0%, color-mix(in srgb, var(--ic-accent, #0071e3) 16%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--ic-accent-2, #1a7f37) 5%, transparent), transparent 36%);
  pointer-events: none;
}

.ic-theme-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--ic-accent, #0071e3) 38%, #d1d5db);
  box-shadow: 0 14px 34px rgba(15,23,42,.08);
}

.ic-theme-card.disabled {
  cursor: default;
}

.ic-theme-card.disabled:hover {
  transform: none;
}

.ic-theme-visual,
.ic-theme-head,
.ic-theme-summary,
.ic-theme-cats,
.ic-theme-segments,
.ic-theme-footer {
  position: relative;
  z-index: 1;
}

.ic-theme-visual {
  height: 108px;
  border: 1px solid color-mix(in srgb, var(--ic-accent, #0071e3) 18%, #e5e7eb);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(248,250,252,.86)),
    linear-gradient(90deg, rgba(148,163,184,.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(148,163,184,.10) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  overflow: hidden;
  margin-bottom: 16px;
}

.ic-mini-map {
  position: absolute;
  inset: 13px 18px;
}

.map-dot {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--ic-accent, #0071e3) 28%, #cbd5e1);
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
}

.d1 { left: 0; top: 10px; }
.d2 { left: 31%; top: 34px; }
.d3 { left: 58%; top: 4px; }
.d4 { right: 0; top: 30px; }

.map-line {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--ic-accent, #0071e3) 56%, transparent), color-mix(in srgb, var(--ic-accent-2, #1a7f37) 46%, transparent));
  transform-origin: left center;
}

.l1 { left: 38px; top: 42px; width: 30%; transform: rotate(10deg); }
.l2 { left: 39%; top: 50px; width: 25%; transform: rotate(-18deg); }
.l3 { left: 67%; top: 34px; width: 25%; transform: rotate(14deg); }

.ic-visual-label {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(229,231,235,.9);
  color: #374151;
  font-size: 11px;
  font-weight: 700;
}

.ic-theme-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.ic-theme-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ic-theme-tagline {
  margin: 5px 0 0;
  color: var(--ic-muted);
  font-size: 12px;
  line-height: 1.45;
}

.ic-heat-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.ic-heat-高热 { color: var(--ic-red); background: #fff1f2; border-color: #fecdd3; }
.ic-heat-发酵 { color: var(--ic-amber); background: #fffbeb; border-color: #fde68a; }
.ic-heat-回落 { color: #854d0e; background: #fefce8; border-color: #fef08a; }
.ic-heat-观察 { color: #0369a1; background: #f0f9ff; border-color: #bae6fd; }

.ic-theme-summary {
  margin: 13px 0 12px;
  color: #374151;
  font-size: 13px;
  line-height: 1.65;
}

.ic-theme-cats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ic-catalyst {
  position: relative;
  padding: 9px 10px 9px 13px;
  border-left: 3px solid color-mix(in srgb, var(--ic-accent, #0071e3) 48%, #e5e7eb);
  border-radius: 9px;
  background: #f8fafc;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.5;
}

.ic-theme-segments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.ic-seg,
.ic-detail-tags span,
.ic-metric {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
}

.ic-theme-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
}

.ic-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ic-accent, #0071e3) 12%, #fff);
  color: color-mix(in srgb, var(--ic-accent, #0071e3) 80%, #111827);
  font-size: 20px;
  transition: transform .16s ease;
}

.ic-theme-card:hover .ic-arrow {
  transform: translateX(2px);
}

.ic-coming {
  color: #9ca3af;
  font-weight: 700;
}

/* ============================================
   详情页
   ============================================ */

.ic-detail-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ic-detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--ic-line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.94)),
    radial-gradient(700px 320px at 88% 4%, rgba(0,113,227,.11), transparent 58%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  overflow: hidden;
}

.ic-back-link {
  display: inline-flex;
  align-items: center;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ic-back-link:hover {
  color: var(--ic-blue);
}

.ic-detail-overview {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: rgba(255,255,255,.80);
  color: #374151;
  font-size: 13px;
  line-height: 1.75;
}

.ic-detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.ic-detail-tags span {
  min-height: 30px;
  padding: 5px 11px;
  font-size: 12px;
}

.smf-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 12px 13px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #eff6ff;
}

.smf-entry a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #0071e3;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.smf-entry span {
  flex: 1 1 260px;
  color: #374151;
  font-size: 12px;
  line-height: 1.55;
}

.ic-chip-stage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  border: 1px solid rgba(0,113,227,.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, #fff, #f8fbff),
    linear-gradient(90deg, rgba(0,113,227,.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0,113,227,.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  overflow: hidden;
  padding: 18px;
}

.ic-chip-wafer {
  position: relative;
  width: min(310px, 100%);
  aspect-ratio: 1.18;
  margin: 0 auto;
  border-radius: 26px;
  border: 1px solid rgba(0,113,227,.18);
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,246,255,.84)),
    linear-gradient(90deg, rgba(0,113,227,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0,113,227,.07) 1px, transparent 1px);
  background-size: auto, 26px 26px, 26px 26px;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.50), 0 20px 45px rgba(37,99,235,.12);
}

.ic-chip-wafer::before {
  display: none;
}

.ic-chip-wafer::after {
  inset: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(0,113,227,.16) 24% 76%, transparent 76% 100%) 50% 36% / 72% 1px no-repeat,
    linear-gradient(90deg, transparent 0 24%, rgba(0,113,227,.16) 24% 76%, transparent 76% 100%) 50% 64% / 72% 1px no-repeat,
    linear-gradient(180deg, transparent 0 28%, rgba(0,113,227,.12) 28% 72%, transparent 72% 100%) 50% 50% / 1px 56% no-repeat;
}

.ring {
  position: absolute;
  display: none;
}

.r1 { inset: 10%; }
.r2 { inset: 24%; }
.r3 { inset: 38%; }

.die {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 48px;
  border-radius: 13px;
  border: 1px solid rgba(0,113,227,.18);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.94));
  color: #1f2937;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
}

.die-a { left: 11%; top: 19%; }
.die-b { right: 11%; top: 19%; }
.die-c { left: 11%; bottom: 19%; }
.die-d { right: 11%; bottom: 19%; }

.ic-chip-note {
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: rgba(255,255,255,.94);
}

.ic-chip-note strong {
  display: block;
  color: #111827;
  font-size: 13px;
  margin-bottom: 6px;
}

.ic-chip-note span {
  color: #4b5563;
  font-size: 12px;
  line-height: 1.6;
}

.ic-flow-card {
  position: relative;
  padding: 20px;
  border: 1px solid var(--ic-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,.03);
  overflow: hidden;
}

.ic-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.ic-section-head h2 {
  margin: 0;
  color: var(--ic-text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ic-section-head p {
  margin: 5px 0 0;
  color: var(--ic-muted);
  font-size: 13px;
}

.ic-chain-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ic-flow-column {
  position: relative;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
}

.ic-flow-column:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #cbd5e1, #94a3b8);
}

.ic-flow-title strong {
  display: block;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
}

.ic-flow-title span {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
}

.ic-flow-nodes {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.ic-flow-node {
  display: block;
  padding: 10px 11px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  transition: border-color .16s ease, background .16s ease, transform .12s ease;
}

.ic-flow-node:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  background: #eff6ff;
}

.ic-flow-node span {
  display: block;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.ic-flow-node small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.45;
}

.ic-layer {
  padding-top: 8px;
}

.ic-layer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 14px;
}

.ic-layer-label {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.ic-layer-upstream .ic-layer-label { background: #2563eb; }
.ic-layer-midstream .ic-layer-label { background: #7c3aed; }
.ic-layer-downstream .ic-layer-label { background: #0891b2; }

.ic-layer-sub {
  min-width: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
}

.ic-nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
  gap: 14px;
}

.ic-node {
  scroll-margin-top: 90px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,.03);
  transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease;
}

.ic-node:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(15,23,42,.07);
}

.ic-node-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
  background:
    linear-gradient(135deg, #fff, #f8fafc),
    linear-gradient(90deg, rgba(148,163,184,.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(148,163,184,.10) 1px, transparent 1px);
  background-size: auto, 26px 26px, 26px 26px;
}

.ic-node-orbit {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  border: 1px solid #bfdbfe;
  background:
    radial-gradient(circle at center, #fff 0 22%, #dbeafe 23% 25%, transparent 26%),
    conic-gradient(from 40deg, rgba(0,113,227,.38), rgba(26,127,55,.18), rgba(0,113,227,.38));
}

.ic-node-name {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ic-node-short {
  margin: 5px 0 0;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.55;
}

.ic-node-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
}

.ic-node-barriers {
  margin: 12px 16px 0;
  padding: 10px 12px;
  border-left: 3px solid #f59e0b;
  border-radius: 10px;
  background: #fffbeb;
  color: #78350f;
  font-size: 12px;
  line-height: 1.6;
}

.ic-node-barriers::before {
  content: "技术难点：";
  font-weight: 800;
}

.ic-companies {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 16px;
}

.ic-company {
  padding: 13px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  transition: border-color .16s ease, background .16s ease;
}

.ic-company:hover {
  border-color: #cbd5e1;
  background: #fbfdff;
}

.ic-co-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.ic-co-name {
  margin: 0;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

.ic-co-ticker {
  margin-left: 7px;
  color: #6b7280;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
}

.ic-co-role {
  margin: 4px 0 0;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.45;
}

.ic-relevance {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.ic-rel-core { color: var(--ic-red); background: #fff1f2; border: 1px solid #fecdd3; }
.ic-rel-extension { color: var(--ic-amber); background: #fffbeb; border: 1px solid #fde68a; }
.ic-rel-concept { color: #0369a1; background: #f0f9ff; border: 1px solid #bae6fd; }

.ic-co-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.ic-co-field {
  min-width: 0;
  padding: 9px 10px;
  border-radius: 10px;
  background: #f8fafc;
}

.ic-co-wide {
  grid-column: 1 / -1;
}

.ic-co-key {
  display: block;
  margin-bottom: 4px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
}

.ic-co-val {
  display: block;
  color: #111827;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-word;
}

.ic-co-risk {
  margin-top: 10px;
  padding: 8px 10px;
  border-left: 3px solid #f43f5e;
  border-radius: 10px;
  background: #fff1f2;
  color: #9f1239;
  font-size: 12px;
  line-height: 1.55;
}

.ic-co-risk::before {
  content: "风险：";
  font-weight: 800;
}

.ic-empty {
  padding: 70px 20px;
  text-align: center;
  border: 1px dashed #d1d5db;
  border-radius: 16px;
  color: #6b7280;
  background: #fff;
}

/* ============================================
   半导体材料芯片制造流程图
   ============================================ */

.smf-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.smf-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--ic-line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.95)),
    radial-gradient(620px 280px at 88% 10%, rgba(0,113,227,.10), transparent 62%),
    radial-gradient(520px 240px at 8% 92%, rgba(26,127,55,.08), transparent 60%);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.smf-hero::before,
.smf-workbench::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(0,113,227,.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0,113,227,.040) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(130deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
}

.smf-hero-copy,
.smf-chip-visual,
.smf-board,
.smf-track-panel {
  position: relative;
  z-index: 1;
}

.smf-hero h1 {
  margin: 0;
  color: var(--ic-text);
  font-size: 34px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.smf-hero p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--ic-muted);
  font-size: 15px;
  line-height: 1.65;
}

.smf-thesis {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  color: #374151;
  font-size: 13px;
  line-height: 1.75;
}

.smf-chip-visual {
  min-height: 380px;
  border: 1px solid rgba(0,113,227,.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,246,255,.82)),
    linear-gradient(90deg, rgba(0,113,227,.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0,113,227,.05) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
  overflow: hidden;
}

.smf-chip-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(292px, 70%);
  height: 196px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0,113,227,.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.74)),
    linear-gradient(90deg, rgba(37,99,235,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(37,99,235,.07) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.45), 0 18px 42px rgba(37,99,235,.12);
}

.smf-chip-core::before,
.smf-chip-core::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  height: 1px;
  background: rgba(0,113,227,.20);
}

.smf-chip-core::before { top: 38%; }
.smf-chip-core::after { top: 63%; }

.smf-layer {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(0,113,227,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #1f2937;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
}

.l-wafer { left: 10%; bottom: 16px; }
.l-oxide { right: 11%; bottom: 62px; }
.l-metal { left: 12%; top: 52px; }
.l-passivation { right: 10%; top: 18px; }

.smf-callout {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(15,23,42,.07);
}

.smf-callout::before {
  content: "";
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(37,99,235,.52), rgba(37,99,235,.04));
}

.c-photo { left: 28px; top: 34px; }
.c-photo::before { left: 100%; width: 78px; top: 50%; transform: rotate(18deg); transform-origin: left center; }
.c-gas { right: 28px; top: 34px; }
.c-gas::before { right: 100%; width: 76px; top: 50%; transform: rotate(-18deg); transform-origin: right center; }
.c-cmp { left: 28px; bottom: 34px; }
.c-cmp::before { left: 100%; width: 92px; top: 50%; transform: rotate(-18deg); transform-origin: left center; }
.c-pack { right: 28px; bottom: 34px; }
.c-pack::before { right: 100%; width: 88px; top: 50%; transform: rotate(18deg); transform-origin: right center; }

.smf-workbench {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr);
  gap: 16px;
}

.smf-board,
.smf-track-panel,
.smf-step-details,
.smf-material-details {
  border: 1px solid var(--ic-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,.03);
}

.smf-board,
.smf-track-panel,
.smf-step-details,
.smf-material-details {
  padding: 20px;
}

.smf-process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.smf-process-rail::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, #bfdbfe, #93c5fd, #86efac, #fde68a);
  transform: translateY(-50%);
}

.smf-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 154px;
  padding: 12px 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  background: rgba(255,255,255,.96);
  color: #111827;
  box-shadow: 0 8px 18px rgba(15,23,42,.05);
  transition: transform .14s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.smf-step:hover,
.smf-step:focus,
.smf-step.is-active {
  transform: translateY(-2px);
  border-color: #60a5fa;
  background: #eff6ff;
  box-shadow: 0 14px 28px rgba(37,99,235,.12);
  outline: none;
}

.smf-step-order {
  width: 34px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 11px;
  font-weight: 800;
}

.smf-step strong {
  margin-top: 10px;
  color: #111827;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
}

.smf-step small {
  margin-top: 6px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.45;
}

.smf-step-materials {
  margin-top: auto;
  padding-top: 12px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.smf-tracks {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.smf-track {
  display: block;
  padding: 11px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 13px;
  background: #f9fafb;
  transition: border-color .16s ease, background .16s ease, transform .14s ease;
}

.smf-track:hover,
.smf-track.is-active {
  transform: translateX(2px);
  border-color: #93c5fd;
  background: #eff6ff;
}

.smf-track span {
  display: block;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.smf-track small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.45;
}

.smf-step-grid,
.smf-track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 14px;
}

.smf-step-card,
.smf-track-card {
  scroll-margin-top: 90px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.smf-step-card header {
  display: flex;
  gap: 13px;
  padding: 15px 16px;
  border-bottom: 1px solid #f1f5f9;
  background:
    linear-gradient(135deg, #fff, #f8fafc),
    linear-gradient(90deg, rgba(148,163,184,.10) 1px, transparent 1px),
    linear-gradient(180deg, rgba(148,163,184,.09) 1px, transparent 1px);
  background-size: auto, 26px 26px, 26px 26px;
}

.smf-step-card header > span {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}

.smf-step-card h3,
.smf-track-card h3 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
}

.smf-step-card p,
.smf-track-card p {
  margin: 6px 0 0;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.6;
}

.smf-info-grid,
.smf-track-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 16px 16px;
}

.smf-info-grid > div,
.smf-track-fields > div {
  min-width: 0;
  padding: 10px 11px;
  border-radius: 12px;
  background: #f8fafc;
}

.smf-info-grid strong,
.smf-track-fields strong {
  display: block;
  margin-bottom: 6px;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
}

.smf-info-grid ul {
  margin: 0;
  padding-left: 16px;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.65;
}

.smf-track-card {
  padding: 16px;
}

.smf-track-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.smf-track-card-head span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 9px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
}

.smf-track-fields {
  grid-template-columns: 1fr;
  padding: 13px 0 0;
}

.smf-track-fields span {
  color: #4b5563;
  font-size: 12px;
  line-height: 1.55;
}

.smf-track-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.smf-track-links a {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
}

/* ============================================
   半导体交互芯片图
   ============================================ */

.sic-page,
.scd-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sic-hero,
.scd-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--ic-line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.94)),
    radial-gradient(720px 320px at 84% 8%, rgba(0,113,227,.11), transparent 60%),
    radial-gradient(520px 260px at 8% 100%, rgba(26,127,55,.08), transparent 62%);
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  overflow: hidden;
}

.sic-hero::before,
.sic-stage::before,
.scd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(0,113,227,.046) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0,113,227,.040) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(130deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
}

.sic-hero-copy,
.sic-legend,
.sic-map-shell,
.sic-focus-panel,
.scd-hero > *,
.scd-layout {
  position: relative;
  z-index: 1;
}

.sic-hero h1,
.scd-hero h1 {
  margin: 0;
  color: var(--ic-text);
  font-size: 34px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sic-hero p,
.scd-hero p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--ic-muted);
  font-size: 15px;
  line-height: 1.65;
}

.sic-intro,
.scd-summary {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  color: #374151;
  font-size: 13px;
  line-height: 1.75;
}

.sic-legend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sic-legend div {
  min-height: 78px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  background: rgba(255,255,255,.90);
}

.sic-legend strong {
  display: block;
  color: #111827;
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
}

.sic-legend span {
  display: block;
  margin-top: 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.sic-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 350px);
  gap: 18px;
  min-height: 690px;
  padding: 20px;
  border: 1px solid var(--ic-line);
  border-radius: 20px;
  background:
    linear-gradient(135deg, #fff, #f8fbff),
    radial-gradient(600px 340px at 50% 50%, rgba(0,113,227,.08), transparent 62%);
  box-shadow: 0 12px 34px rgba(15,23,42,.06);
  overflow: hidden;
}

.sic-map-shell {
  position: relative;
  min-height: 650px;
  border: 1px solid rgba(0,113,227,.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(239,246,255,.65)),
    linear-gradient(90deg, rgba(37,99,235,.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(37,99,235,.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  overflow: hidden;
}

.sic-chip-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sic-package {
  fill: url(#sicChipBody);
  stroke: rgba(0,113,227,.24);
  stroke-width: 2;
  filter: drop-shadow(0 22px 34px rgba(37,99,235,.13));
}

.sic-die {
  fill: rgba(255,255,255,.82);
  stroke: rgba(37,99,235,.24);
  stroke-width: 2;
}

.sic-wafer-pad {
  fill: rgba(37,99,235,.10);
  stroke: rgba(37,99,235,.32);
  stroke-width: 2;
}

.sic-layer-line,
.sic-photo-beam,
.sic-etch-beam,
.sic-clean-wave,
.sic-cmp-plane {
  fill: none;
  stroke: rgba(37,99,235,.24);
  stroke-width: 5;
  stroke-linecap: round;
}

.sic-photo-beam { stroke: rgba(180,83,9,.30); }
.sic-etch-beam { stroke: rgba(215,0,21,.28); }
.sic-clean-wave { stroke: rgba(8,145,178,.35); stroke-width: 6; }
.sic-cmp-plane { stroke: rgba(26,127,55,.32); stroke-width: 7; }

.sic-pad rect,
.sic-pad circle {
  fill: rgba(255,255,255,.92);
  stroke: rgba(37,99,235,.30);
  stroke-width: 2;
}

.sic-wire {
  stroke: rgba(100,116,139,.30);
  stroke-width: 1.5;
  stroke-dasharray: 7 7;
  transition: stroke .18s ease, stroke-width .18s ease, opacity .18s ease;
}

.sic-pad {
  transition: filter .18s ease, stroke .18s ease, opacity .18s ease;
}

.sic-pad.is-active {
  filter: url(#sicGlow);
  stroke: #0071e3;
  opacity: 1;
}

.sic-wire.is-active {
  stroke: #0071e3;
  stroke-width: 3;
  opacity: 1;
}

.sic-node {
  position: absolute;
  z-index: 3;
  width: 168px;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  color: #111827;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
  transform: translate(-50%, -50%);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.sic-node:hover,
.sic-node:focus,
.sic-node.is-active {
  transform: translate(-50%, -50%) scale(1.04);
  border-color: #60a5fa;
  background: #eff6ff;
  box-shadow: 0 18px 34px rgba(37,99,235,.16);
  outline: none;
}

.sic-node span {
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.sic-node small {
  margin-top: 4px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.sic-focus-panel {
  align-self: stretch;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 1px 2px rgba(15,23,42,.03);
}

.sic-focus-kicker {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 900;
}

.sic-focus-panel h2 {
  margin: 14px 0 0;
  color: #111827;
  font-size: 20px;
  font-weight: 900;
}

.sic-focus-panel p {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.7;
}

.sic-focus-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 16px;
  padding: 0 12px;
  border-radius: 999px;
  background: #0071e3;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.sic-component-grid,
.scd-layout {
  padding: 20px;
  border: 1px solid var(--ic-line);
  border-radius: 18px;
  background: #fff;
}

.sic-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.sic-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  transition: transform .14s ease, border-color .16s ease, box-shadow .16s ease;
}

.sic-card:hover,
.sic-card.is-active {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 14px 28px rgba(37,99,235,.10);
}

.sic-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.sic-card h3 {
  margin: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.sic-card-head span {
  flex: 0 0 auto;
  max-width: 145px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
}

.sic-card p {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.65;
}

.sic-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
}

.sic-card-tags span,
.scd-pill-list span,
.scd-company-list span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f8fafc;
  color: #374151;
  font-size: 11px;
  font-weight: 800;
}

.scd-summary strong {
  display: block;
  color: #111827;
  font-size: 16px;
  margin-bottom: 7px;
}

.scd-summary span {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.7;
}

.scd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 16px;
}

.scd-main,
.scd-side-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}

.scd-main {
  padding: 18px;
}

.scd-main h2 {
  margin: 20px 0 8px;
  color: #111827;
  font-size: 17px;
  font-weight: 900;
}

.scd-main h2:first-child {
  margin-top: 0;
}

.scd-main p {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.75;
}

.scd-pill-list,
.scd-company-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.scd-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 9px;
}

.scd-metric-grid div {
  padding: 10px 11px;
  border-radius: 12px;
  background: #f8fafc;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
}

.scd-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scd-side-card {
  padding: 15px;
}

.scd-side-card h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.scd-side-card dl {
  margin: 0;
}

.scd-side-card dt {
  margin-top: 11px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.scd-side-card dt:first-child {
  margin-top: 0;
}

.scd-side-card dd,
.scd-side-card p {
  margin: 5px 0 0;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.65;
}

.scd-side-card.risk {
  border-color: #fed7aa;
  background: #fffaf3;
}

@media (max-width: 1080px) {
  .ic-hero,
  .ic-detail-hero,
  .smf-hero,
  .smf-workbench,
  .sic-hero,
  .sic-stage,
  .scd-hero,
  .scd-layout {
    grid-template-columns: 1fr;
  }

  .ic-hero-meta {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 18px;
  }

  .ic-chain-flow {
    grid-template-columns: 1fr;
  }

  .ic-flow-column:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .page-industry_tree .main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ic-hero,
  .ic-detail-hero,
  .ic-flow-card,
  .smf-hero,
  .smf-board,
  .smf-track-panel,
  .smf-step-details,
  .smf-material-details,
  .sic-hero,
  .sic-stage,
  .sic-component-grid,
  .scd-hero,
  .scd-layout {
    padding: 18px;
    border-radius: 16px;
  }

  .ic-hero h1,
  .ic-detail-hero h1,
  .smf-hero h1,
  .sic-hero h1,
  .scd-hero h1 {
    font-size: 28px;
  }

  .ic-themes-grid,
  .ic-nodes-grid,
  .smf-step-grid,
  .smf-track-grid,
  .smf-info-grid,
  .sic-cards,
  .scd-metric-grid {
    grid-template-columns: 1fr;
  }

  .ic-market-strip {
    grid-template-columns: 1fr;
  }

  .ic-co-grid {
    grid-template-columns: 1fr;
  }

  .ic-chip-stage {
    min-height: 290px;
  }

  .ic-chip-wafer {
    width: min(240px, 100%);
  }

  .smf-process-rail {
    grid-template-columns: 1fr;
  }

  .smf-process-rail::before {
    left: 28px;
    right: auto;
    top: 18px;
    bottom: 18px;
    width: 2px;
    height: auto;
    transform: none;
  }

  .smf-step {
    min-height: 118px;
  }

  .smf-chip-visual {
    min-height: 300px;
  }

  .smf-callout {
    min-width: 76px;
    font-size: 11px;
  }

  .sic-map-shell {
    min-height: 820px;
  }

  .sic-node {
    width: 142px;
    min-height: 54px;
    padding: 9px 10px;
  }

  .sic-node span {
    font-size: 12px;
  }

  .sic-node small {
    font-size: 10px;
  }

  .sic-node-left,
  .sic-node-right,
  .sic-node-bottom {
    transform: translate(-50%, -50%);
  }

  .sic-focus-panel {
    padding: 16px;
  }
}

/* Soft Pop shell owns the page chrome when the industry map is embedded there. */
body.softpop-page.page-industry_tree .main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--sp-ink);
}

body.softpop-page.page-industry_tree .ic-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

body.softpop-page.page-industry_tree .ic-hero {
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 20px -18px rgba(20,21,26,.38);
}

body.softpop-page.page-industry_tree .ic-theme-card,
body.softpop-page.page-industry_tree .ic-strip-item,
body.softpop-page.page-industry_tree .ic-empty {
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px -18px rgba(20,21,26,.38);
}

body.softpop-page.page-industry_tree .ic-kicker,
body.softpop-page.page-industry_tree .ic-chip,
body.softpop-page.page-industry_tree .ic-seg,
body.softpop-page.page-industry_tree .ic-catalyst {
  border: 0;
  background: rgba(255,255,255,.76);
  box-shadow: inset 0 0 0 1px rgba(20,21,26,.07);
}
