/* ============================================================
   BOARD INSPECTION DETAIL PAGE
   ============================================================ */

/* ---------- BANNER — light blueprint (与首页深色 Hero 区分) ---------- */
.bp-banner {
  position: relative;
  background: #FBFBFA;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  min-height: clamp(480px, 60vh, 600px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bp-banner-bg {
  position: absolute; inset: 0; z-index: 0;
  opacity: 1;
}
.bp-banner-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.96) contrast(1.03);
}
.bp-banner-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(251, 251, 250, 0.95) 0%,
    rgba(251, 251, 250, 0.90) 20%,
    rgba(251, 251, 250, 0.60) 50%,
    rgba(251, 251, 250, 0.20) 75%,
    rgba(251, 251, 250, 0.05) 100%
  );
}
.bp-banner-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(22,80,168,.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,80,168,.085) 1px, transparent 1px),
    linear-gradient(rgba(22,80,168,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,80,168,.045) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  mask-image: linear-gradient(180deg, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 30%, transparent 100%);
}
/* Corner brackets */
.bp-banner::before, .bp-banner::after {
  content: "";
  position: absolute;
  width: 64px; height: 64px;
  border: 1.5px solid rgba(30,160,151,.55);
  z-index: 2;
  pointer-events: none;
}
.bp-banner::before {
  top: 96px; left: 36px;
  border-right: none; border-bottom: none;
}
.bp-banner::after {
  bottom: 36px; right: 36px;
  border-left: none; border-top: none;
  border-color: rgba(22,80,168,.45);
}
.bp-banner-glow {
  position: absolute; z-index: 1;
  left: 18%; top: 45%;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.5) 0%, transparent 70%);
  filter: none;
  pointer-events: none;
}
.bp-banner-glow.b {
  right: 0; bottom: 0; left: auto; top: auto;
  width: 40%; height: 60%;
  background: linear-gradient(135deg, transparent 0%, rgba(31,188,156,0.08) 100%);
}
.bp-banner-inner {
  position: relative; z-index: 5;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  align-self: center;
  padding: clamp(48px, 6vw, 72px) clamp(36px, 4vw, 72px) clamp(40px, 5vw, 60px);
}
.bp-banner-col {
  max-width: 900px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  margin-bottom: 20px;
  color: var(--muted);
  font-family: var(--font-en);
  letter-spacing: .04em;
}
.breadcrumb a { color: var(--ink-2); transition: color .2s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { color: var(--line); }
.breadcrumb .current { color: var(--blue); font-weight: 500; }
.bp-eyebrow {
  display: inline-flex;
  font-family: var(--font-en);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 34px;
}
.bp-title {
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  white-space: nowrap;
  max-width: 100%;
}
.bp-title .accent {
  color: var(--ink);
}
.bp-sub {
  font-size: 16px;
  color: #2A3A40;
  margin: 20px 0 0;
  max-width: 720px;
  line-height: 1.65;
  white-space: nowrap;
}

.bp-banner-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 40px 0 0;
  max-width: min(810px, 65vw);
  padding: 26px 30px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.65));
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.bp-banner-stats > div {
  position: relative;
  padding: 0 18px;
}
.bp-banner-stats > div + div::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 40px;
  background: rgba(16,42,82,.12);
}
.bp-stat-v {
  font-family: var(--font-en);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.01em;
}
.bp-stat-v .u { font-size: .42em; color: var(--blue); margin-left: 3px; font-weight: 600; }
.bp-stat-k {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: .02em;
}

@media (max-width: 920px) {
  .bp-title, .bp-sub { white-space: normal; }
  .bp-title { font-size: clamp(30px, 6.4vw, 46px); }
}
@media (max-width: 720px) {
  .bp-banner-stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .bp-banner-stats > div:nth-child(3)::before { display: none; }
}

/* ============================================================
   2. SOLUTION ARCHITECTURE
   ============================================================ */
.sa-section {
  background: var(--bg);
  /* Per-plan accent — switched via [data-plan] in JS */
  --sa-accent: #1FBC9C;
  --sa-accent-deep: #0E8E73;
  --sa-accent-rgb: 31,188,156;
}
.sa-section[data-plan="modular"] {
  --sa-accent: #2B8FD4;
  --sa-accent-deep: #1E6FA8;
  --sa-accent-rgb: 43,143,212;
}

.sa-tabs {
  display: inline-flex;
  background: var(--bg-tint);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  margin: 0 auto 56px;
  position: relative;
  isolation: isolate;
}
/* Static grey outline around the toggle */
.sa-tabs::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 15px;
  z-index: -1;
  border: 1.5px solid var(--line);
  pointer-events: none;
}
.sa-section .container { display: block; }
.sa-section .section-head.center + .sa-tabs {
  display: flex; justify-content: center; width: fit-content;
}
.sa-section .container > .sa-tabs {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin-left: auto; margin-right: auto;
}
.sa-tab {
  padding: 10px 24px;
  border-radius: 9px;
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: background .4s ease, color .4s ease, box-shadow .4s ease;
  white-space: nowrap;
  font-family: inherit;
}
.sa-tab.active {
  background: linear-gradient(135deg, var(--sa-accent), var(--sa-accent-deep));
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(var(--sa-accent-rgb),.32);
}

/* Pipeline */
.sa-pipeline {
  position: relative;
  padding-bottom: 12px;
}
.sa-track {
  position: absolute;
  top: calc(150px + 16px);
  left: calc(100% / 10);
  right: calc(100% / 10);
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  z-index: 0;
}
.sa-track-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sa-accent), var(--sa-accent-deep));
  transition: width .45s ease, background .4s ease;
  width: 0%;
}
.sa-track::after {
  content: ''; position: absolute;
  right: -9px; top: -5px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid var(--line);
}
.sa-devices {
  display: flex; justify-content: space-between;
  position: relative; z-index: 1;
}
.sa-device {
  display: flex; flex-direction: column; align-items: center;
  width: 18%;
  transition: opacity .3s;
}
.sa-card {
  width: 100%;
  border-radius: 14px;
  border: 2px solid var(--line);
  padding: 18px 14px 16px;
  background: white;
  text-align: center;
  transition: border-color .3s, box-shadow .3s, opacity .3s;
  min-height: 150px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  gap: 7px;
}
.sa-card .sa-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 11px; font-weight: 700;
  font-family: var(--font-en);
  display: flex; align-items: center; justify-content: center;
  background: var(--line);
  color: var(--muted);
  transition: background .3s, color .3s;
  flex-shrink: 0;
}
.sa-card .sa-name {
  font-size: 13px; font-weight: 600;
  color: var(--ink); line-height: 1.4;
}
.sa-card .sa-desc {
  font-size: 11.5px; color: var(--muted);
  line-height: 1.55;
}
.sa-badge {
  margin-top: 2px;
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
}
.sa-badge.core { background: linear-gradient(135deg, var(--sa-accent), var(--sa-accent-deep)); color: white; transition: background .4s ease; }
.sa-badge.optional { background: rgba(var(--sa-accent-rgb),.10); color: var(--sa-accent-deep); border: 1px dashed rgba(var(--sa-accent-rgb),.4); transition: background .4s ease, color .4s ease, border-color .4s ease; }
.sa-badge.empty { visibility: hidden; }

/* States */
.sa-card { transition: border-color .4s ease, box-shadow .4s ease; }
.sa-card.state-active   { border-color: var(--sa-accent); box-shadow: 0 4px 22px rgba(var(--sa-accent-rgb),.18); }
.sa-card.state-optional { border-color: var(--sa-accent); border-style: dashed; }
.sa-card.state-inactive { opacity: .25; }
.sa-card.state-inactive .sa-name { color: #D1D5DB; }
.sa-card.state-inactive .sa-desc { color: #E5E7EB; }
.sa-card.state-active   .sa-num { background: var(--sa-accent); color: white; transition: background .4s ease; }
.sa-card.state-optional .sa-num { background: rgba(var(--sa-accent-rgb),.5); color: white; transition: background .4s ease; }

.sa-stem {
  width: 2px; height: 16px;
  background: var(--line);
  flex-shrink: 0;
  transition: background .4s ease;
}
.sa-device.state-active   .sa-stem { background: var(--sa-accent); }
.sa-device.state-optional .sa-stem { background: rgba(var(--sa-accent-rgb),.5); }
.sa-device.state-inactive .sa-stem { background: var(--line-2); }

.sa-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--line);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--line);
  transition: background .4s ease, box-shadow .4s ease;
  flex-shrink: 0;
}
.sa-device.state-active   .sa-dot { background: var(--sa-accent); box-shadow: 0 0 0 3px rgba(var(--sa-accent-rgb),.25); }
.sa-device.state-optional .sa-dot { background: rgba(var(--sa-accent-rgb),.5); box-shadow: 0 0 0 3px rgba(var(--sa-accent-rgb),.18); }
.sa-device.state-inactive .sa-dot { background: var(--line-2); }

.sa-pos {
  margin-top: 10px;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #C5CCD5;
  text-align: center;
  transition: color .4s ease;
}
.sa-device.state-active   .sa-pos { color: var(--sa-accent-deep); }
.sa-device.state-optional .sa-pos { color: rgba(var(--sa-accent-rgb),.85); }

/* Description cards */
.sa-desc-row {
  display: flex;
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-2);
}
.sa-desc-card {
  flex: 1;
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 22px 24px;
  position: relative;
  border: 1px solid var(--line);
}
.sa-desc-label {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  font-size: 12px; font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--sa-accent), var(--sa-accent-deep));
  border-radius: 7px;
  margin-bottom: 12px;
  font-family: var(--font-en);
  transition: background .4s ease;
}
.sa-desc-label.b { background: linear-gradient(135deg, #E07A3B, #D85F1F); }
.sa-desc-title {
  font-size: 14.5px; font-weight: 600;
  color: var(--ink-2); margin-bottom: 6px;
}
.sa-desc-text {
  font-size: 13px; color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   3. PRODUCT CARDS · 5 款专精设备
   ============================================================ */
.bp-products-section {
  background: var(--bg-soft);
}
.pp-row-block { margin-bottom: 0; }
.pp-row {
  display: flex;
  gap: 18px;
  margin-bottom: 0;
}
.pp-row + .pp-detail-panel ~ .pp-row,
.pp-row-block + .pp-row-block { margin-top: 18px; }

.pp-row-2col {
  justify-content: center;
}
.pp-row-2col .pp-card {
  flex: 0 0 calc((100% - 36px) / 3);
}

.pp-card {
  flex: 1;
  background: white;
  border-radius: 16px;
  border: 2px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .2s;
}
.pp-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 26px rgba(30,160,151,.12);
  transform: translateY(-3px);
}
.pp-card.open {
  border-color: var(--green);
  box-shadow: 0 8px 28px rgba(30,160,151,.18);
  transform: translateY(-3px);
}
.pp-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(140deg, #EAF9FB 0%, #CFEEF1 100%);
  overflow: hidden;
  position: relative;
}
.pp-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.pp-card:hover .pp-img img { transform: scale(1.04); }

.pp-body {
  padding: 16px 20px 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.pp-name {
  font-size: 15px; font-weight: 600;
  color: var(--ink); line-height: 1.4;
}
.pp-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; color: var(--green-600);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.pp-toggle-icon {
  display: inline-block;
  transition: transform .25s;
}
.pp-card.open .pp-toggle-icon { transform: rotate(180deg); }

/* Flagship device — quietly emphasized: brand-tinted border and shadow at rest
   plus a small corner flag, without breaking the grid's visual rhythm. */
.pp-card.featured { border-color: rgba(30,160,151,.45); box-shadow: 0 6px 22px rgba(30,160,151,.10); }
.pp-card.featured .pp-name { color: var(--green-600); }
.pp-flag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--green-600);
  font-size: 12px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(10,26,47,.14);
}
.pp-flag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* Detail panel */
.pp-detail-panel {
  background: white;
  border-radius: 16px;
  border: 2px solid var(--green);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height .4s ease, opacity .3s ease, margin-top .3s;
  margin-top: 0;
}
.pp-detail-panel.visible {
  max-height: 500px;
  opacity: 1;
  pointer-events: auto;
  margin-top: 18px;
}
.pp-detail-inner {
  padding: 28px 32px;
  display: flex;
  gap: 40px;
}
.pp-detail-col { flex: 1; }
.pp-detail-col.specs { max-width: 320px; flex-shrink: 0; }
.pp-detail-col-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-en);
  margin-bottom: 14px;
}
.pp-detect-items {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pp-detect-item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px;
  background: rgba(30,160,151,.08);
  border: 1px solid rgba(30,160,151,.22);
  border-radius: 20px;
  font-size: 12.5px;
  color: var(--green-600);
  font-weight: 500;
}
.pp-detect-item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.pp-detail-divider {
  width: 1px;
  background: var(--line-2);
  flex-shrink: 0;
}
.pp-specs-grid { display: flex; flex-direction: column; }
.pp-spec-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
  gap: 16px;
}
.pp-spec-row:last-child { border-bottom: none; }
.pp-spec-key { font-size: 12.5px; color: var(--muted); }
.pp-spec-val {
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  font-family: var(--font-en);
  text-align: right;
}

/* ============================================================
   4. DEFECT GRID
   ============================================================ */
.bd-section {
  background: var(--bg);
}
.defect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.defect-card {
  margin: 0;
  background: white;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.defect-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15,30,60,.10);
  border-color: rgba(30,160,151,.25);
}
.defect-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0E1726;
  position: relative;
}
.defect-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.defect-meta {
  padding: 14px 18px 16px;
  display: flex; align-items: center; gap: 12px;
}
.defect-tag {
  font-family: var(--font-en);
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(248,113,113,.10);
  color: #DC2626;
}
.defect-tag.ph {
  background: var(--bg-tint);
  color: var(--muted);
}
.defect-name {
  font-size: 14px; font-weight: 500;
  color: var(--ink);
}

.defect-placeholder .defect-img {
  background: linear-gradient(135deg, #F4F7FC, var(--bg-soft));
  display: grid; place-items: center;
}
.defect-ph-mark {
  color: var(--muted);
  opacity: .5;
}
.defect-placeholder .defect-name { color: var(--muted); }

/* ============================================================
   5. SOFTWARE PLATFORM — 浅色底，与下方 CTA 自然过渡
   ============================================================ */
.sp-section {
  background: linear-gradient(180deg, #F0F4FA 0%, #EBF0F7 65%, #D9E0EC 100%);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-bottom: clamp(96px, 11vw, 140px);
}
.sp-section::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 20% 40%, rgba(30,160,151,.08), transparent 70%),
    radial-gradient(50% 60% at 80% 40%, rgba(22,80,168,.10), transparent 70%);
  pointer-events: none;
}
.sp-section::after {
  /* subtle blueprint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(22,80,168,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,80,168,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 60% at 50% 30%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 30%, black 30%, transparent 90%);
}
.sp-section .container { position: relative; z-index: 1; }
.sp-section .section-head.light .section-sub { color: var(--muted); }
.sp-section .section-head.light .section-title { color: var(--ink); }
.sp-section .section-head.light .eyebrow { color: var(--green-600); }
.sp-section .section-head.light .eyebrow::before { background: var(--green-600); }

/* CTA band: solid color matching the footer, no gradient */
.cta-band {
  background: #061226;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: none;
}

.sp-content {
  display: flex;
  gap: 56px;
  align-items: center;
}

/* Screenshot + overlay */
.sp-screenshot {
  flex: 1.15;
  position: relative;
  border-radius: 18px;
  overflow: visible;
  background: transparent;
  padding: 0 28px 28px 0; /* room for overlay to stick out */
}
.sp-ui-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(15,30,60,.08);
  box-shadow: 0 24px 64px rgba(15,30,60,.18);
  background: #0A1627;
}
.sp-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: auto;
  border-radius: 14px;
  border: 3px solid white;
  box-shadow: 0 18px 44px rgba(15,30,60,.28), 0 4px 10px rgba(15,30,60,.18);
  z-index: 3;
  transition: transform .3s ease;
}
.sp-overlay:hover {
  transform: translate(-4px, -4px) scale(1.02);
}
.sp-ui {
  width: 100%;
  aspect-ratio: 16/10;
  background: #0D1117;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.sp-topbar {
  background: #1a2332;
  height: 36px;
  display: flex; align-items: center;
  padding: 0 16px; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.sp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(52,201,189,.6);
}
.sp-dot.dim { background: rgba(52,201,189,.25); }
.sp-titlebar {
  font-size: 11px;
  color: rgba(255,255,255,.42);
  margin-left: 4px;
  font-family: var(--font-en);
}
.sp-body {
  flex: 1;
  display: grid;
  grid-template-columns: 180px 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.05);
}

/* Sidebar */
.sp-sidebar {
  grid-row: 1 / 3;
  background: #141c2b;
  padding: 14px 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.sp-side-item {
  background: rgba(255,255,255,.04);
  border-radius: 6px;
  padding: 8px 10px;
}
.sp-side-label {
  font-size: 9px;
  color: rgba(255,255,255,.32);
  margin-bottom: 4px;
  letter-spacing: .04em;
}
.sp-side-val {
  font-size: 11px;
  color: rgba(255,255,255,.78);
  font-weight: 600;
}
.sp-side-val.mono { font-family: var(--font-en); font-size: 9.5px; opacity: .6; }
.sp-side-val.ok { color: #34D399; }
.sp-side-val.ng { color: #F87171; }
.sp-side-stats { display: flex; justify-content: space-between; margin-top: 4px; gap: 6px; }
.sp-side-stats > div { flex: 1; }
.sp-side-devices { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.sp-side-devices span { font-size: 8px; color: #34D399; font-family: var(--font-en); }

/* Panels */
.sp-panel {
  background: #0f1825;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 6px;
  overflow: hidden;
}
.sp-panel-title {
  font-size: 9px;
  color: rgba(52,201,189,.86);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 2px;
  font-family: var(--font-en);
}
.sp-defect-img {
  flex: 1;
  background: #080e1a;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  min-height: 80px;
}
.sp-defect-inner {
  position: absolute; inset: 8px;
  background: linear-gradient(135deg,#1a1a2e,#16213e);
  border-radius: 4px;
}
.sp-annot {
  position: absolute;
  border-radius: 2px;
  padding: 2px 5px;
  font-size: 8px;
  font-family: var(--font-en);
}
.sp-annot.red { border: 1.5px solid #F87171; color: #F87171; }
.sp-annot.amber { border: 1.5px solid #FBBF24; color: #FBBF24; }
.sp-defect-summary {
  border: 1.5px solid #F87171;
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 9px;
  color: #F87171;
  align-self: flex-start;
  margin-top: 4px;
}

/* Bottom-right panel: table + KPI */
.sp-bot {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; flex: 1;
}
.sp-table { display: flex; flex-direction: column; }
.sp-table-head, .sp-table-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 4px;
  margin-bottom: 3px;
}
.sp-table-head span {
  font-size: 8px; color: rgba(255,255,255,.32);
  letter-spacing: .04em;
}
.sp-table-row span {
  font-size: 9px;
  color: rgba(255,255,255,.55);
  font-family: var(--font-en);
}
.sp-table-row span.v { color: rgba(255,255,255,.85); font-weight: 600; }
.sp-table-row span.ok { color: #34D399; font-weight: 700; }
.sp-table-row span.ng { color: #F87171; font-weight: 700; }

.sp-kpi-col { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-kpi {
  flex: 1;
  background: rgba(255,255,255,.04);
  border-radius: 6px;
  padding: 8px;
  text-align: center;
}
.sp-kpi.wide { flex: 0 0 100%; }
.sp-kpi-v {
  font-family: var(--font-en);
  font-size: 16px; font-weight: 700;
  color: #34C9BD;
}
.sp-kpi-v.ok { color: #34D399; }
.sp-kpi-v.ng-text { font-size: 12px; color: #F87171; }
.sp-kpi-k {
  font-size: 8px;
  color: rgba(255,255,255,.4);
  margin-top: 2px;
  letter-spacing: .04em;
}

.sp-glow {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(52,201,189,.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Right feature list */
.sp-features {
  flex: 0 0 320px;
  display: flex; flex-direction: column;
}
.sp-feat {
  display: flex; align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.sp-feat:first-child { padding-top: 0; }
.sp-feat:last-child { border-bottom: none; }
.sp-feat-icn {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(30,160,151,.10);
  border: 1px solid rgba(30,160,151,.22);
  color: var(--green-600);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.sp-feat-name {
  font-size: 14.5px; font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.sp-feat-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   6. CUSTOMER CASES PLACEHOLDER
   ============================================================ */
.bc-section {
  background: var(--bg-soft);
}
.bc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bc-ph {
  aspect-ratio: 4/3;
  background: white;
  border: 2px dashed var(--line);
  border-radius: 16px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  color: var(--muted);
  transition: border-color .2s, color .2s;
}
.bc-ph:hover {
  border-color: rgba(30,160,151,.4);
  color: var(--green-600);
}
.bc-ph-icn { opacity: .5; }
.bc-ph-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .sp-content { flex-direction: column; }
  .sp-features { flex: 1; width: 100%; }
  .sp-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  .sa-devices { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .sa-device { width: 45%; }
  .sa-track { display: none; }
  .pp-row { flex-direction: column; }
  .pp-row-2col .pp-card { flex: 1; }
  .defect-grid { grid-template-columns: repeat(2, 1fr); }
  .bc-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-detail-panel.visible { max-height: 900px; }
  .pp-detail-inner { flex-direction: column; gap: 24px; }
  .pp-detail-col.specs { max-width: 100%; }
  .pp-detail-divider { display: none; }
}
@media (max-width: 640px) {
  .sa-tabs { flex-direction: column; width: 100%; max-width: 360px; }
  .sa-desc-row { flex-direction: column; }
  .defect-grid { grid-template-columns: 1fr; }
  .bc-grid { grid-template-columns: 1fr; }
  .sp-features { grid-template-columns: 1fr; }
  .sa-device { width: 100%; }
}

/* ---------- LINE OVERVIEW · 产线全景 ---------- */
.bl-overview {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bl-figure {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #DAE1EA;
  box-shadow: 0 20px 50px rgba(15,30,60,.12), 0 4px 14px rgba(15,30,60,.06);
}
.bl-figure-img {
  width: 100%;
  height: auto;
  display: block;
}
.bl-anno {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  font-family: var(--font-en), var(--font-cn);
  overflow: visible;
}
.bl-conn polyline {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linejoin: miter;
}
.bl-target .ring { fill: #fff; stroke: var(--green); stroke-width: 2; }
.bl-target .core { fill: var(--green); }
.bl-card .bg {
  fill: #fff;
  stroke: #E2E8F0;
  stroke-width: 1;
  filter: url(#blChipShadow);
}
.bl-card .bar { fill: var(--green); }
.bl-card .kick {
  fill: #9AA6B2;
  font-family: var(--font-en);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
}
.bl-card .name {
  fill: var(--ink);
  font-family: var(--font-cn);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .01em;
}

/* EN labels are far wider than the CN they replace and were overflowing the
   fixed-width card rects. Shrink the type and widen each card in EN only. */
html[lang="en"] .bl-card .name { font-size: 15px; font-family: var(--font-en); }
html[lang="en"] .bl-card .kick { font-size: 9px; }
html[lang="en"] .bl-card.c1 .bg { width: 292px; }
html[lang="en"] .bl-card.c2 .bg { width: 276px; }
html[lang="en"] .bl-card.c3 .bg { width: 230px; }
html[lang="en"] .bl-card.c4 .bg { width: 296px; }
