.demo-shell {
  background: var(--surface-panel, #16171c);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  text-align: left;
}

.demo-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  font-size: 13px;
  color: var(--text-secondary, #9ca3af);
}

.demo-chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.demo-chrome > .demo-chrome-dot:nth-child(1) {
  background: #ff5f57;
}

.demo-chrome > .demo-chrome-dot:nth-child(2) {
  background: #febc2e;
}

.demo-chrome > .demo-chrome-dot:nth-child(3) {
  background: #28c840;
}

.demo-chrome-title {
  margin-left: 8px;
}

.demo-chrome-tag {
  margin-left: auto;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--text-tertiary, #6b7280);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: rgba(255, 255, 255, 0.02);
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.demo-tab {
  font: inherit;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary, #9ca3af);
  cursor: pointer;
  transition: background 150ms ease-out, color 150ms ease-out;
}

.demo-tab.is-active {
  color: var(--text-primary, #f7f8f8);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong, rgba(255, 255, 255, 0.08));
}

/* Tab 面板：默认叠放取最大高度；RFID 三维演示为固定高度 + 当前 Tab 内部滚动 */
.demo-panels {
  display: grid;
  grid-template: "stage" minmax(0, max-content) / 1fr;
  padding: 16px 16px 22px;
  min-height: 0;
  overflow: visible;
}

.demo-panels > .demo-panel {
  grid-area: stage;
  align-self: start;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease-out, visibility 0s linear 180ms;
  min-height: 0;
}

.demo-panels > .demo-panel.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 180ms ease-out, visibility 0s;
  z-index: 1;
}

.demo-shell[data-rfid-tab-3d="true"] {
  --demo-rfid-panels-h: clamp(560px, 72vh, 720px);
  --demo-rfid-3d-h: clamp(240px, 32vh, 320px);
  --demo-rfid-inset-x: 24px;
  --demo-rfid-inset-bottom: 22px;
}

.demo-shell[data-rfid-tab-3d="true"] .demo-tabs {
  padding: 10px var(--demo-rfid-inset-x) 10px;
  gap: 6px;
}

.demo-shell[data-rfid-tab-3d="true"] .demo-panels {
  display: block;
  position: relative;
  height: var(--demo-rfid-panels-h);
  max-height: var(--demo-rfid-panels-h);
  overflow: hidden;
  padding: 14px var(--demo-rfid-inset-x) var(--demo-rfid-inset-bottom);
}

.demo-shell[data-rfid-tab-3d="true"] .demo-panels > .demo-panel {
  grid-area: unset;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  box-sizing: border-box;
}

.demo-shell[data-rfid-tab-3d="true"] .demo-panels > .demo-panel.is-active {
  z-index: 2;
  overflow: hidden;
}

.demo-shell[data-rfid-tab-3d="true"] .demo-panel--3d-first .demo-rfid-tab-3d--primary {
  flex: 0 0 auto;
  margin-bottom: 0;
  padding: 0 4px;
}

.demo-shell[data-rfid-tab-3d="true"] .demo-rfid-tab-3d--primary.demo-rfid-tab-3d {
  padding: 14px 16px 12px;
}

.demo-shell[data-rfid-tab-3d="true"] .demo-rfid-tab-3d--primary .demo-rfid-tab-3d-stage {
  height: var(--demo-rfid-3d-h);
  min-height: var(--demo-rfid-3d-h);
  max-height: var(--demo-rfid-3d-h);
}

.demo-shell[data-rfid-tab-3d="true"] .demo-rfid-tab-3d--primary .demo-rfid-tab-3d-stage canvas {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.demo-shell[data-rfid-tab-3d="true"] .demo-panel-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  padding: 12px 10px 18px 6px;
  margin: 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-shell[data-rfid-tab-3d="true"] .demo-panel-body::-webkit-scrollbar {
  width: 8px;
}

.demo-shell[data-rfid-tab-3d="true"] .demo-panel-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.demo-shell[data-rfid-tab-3d="true"] .demo-panel:not(.demo-panel--3d-first) .demo-panel-body {
  border-top: 0;
  padding-top: 14px;
}

.demo-shell[data-rfid-tab-3d="true"] .demo-panel-body > .demo-split,
.demo-shell[data-rfid-tab-3d="true"] .demo-panel-body > .demo-rfid-tab-foot {
  padding-top: 4px;
}

.demo-panel[hidden] {
  display: block !important;
}

.demo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .demo-split {
    grid-template-columns: 1fr;
  }
}

.demo-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.demo-slot {
  padding: 16px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.demo-slot.is-alert {
  border-color: rgba(248, 113, 113, 0.45);
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.15);
}

.demo-kicker {
  font-size: 13px;
  color: var(--text-secondary, #9ca3af);
  margin: 0 0 12px;
}

.demo-progress {
  height: 4px;
  background: var(--surface-overlay, #26272e);
  border-radius: 999px;
  margin-bottom: 16px;
  overflow: hidden;
}

.demo-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent, #5e6ad2);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.demo-table th,
.demo-table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.demo-table .ok {
  color: #86efac;
}

.demo-table .bad {
  color: #fca5a5;
}

.demo-table tr.is-diff {
  background: rgba(248, 113, 113, 0.06);
}

.demo-map-svg {
  width: 100%;
  height: auto;
  color: var(--accent-muted, #828fff);
}

.demo-path-node {
  fill: var(--surface-overlay, #26272e);
}

.demo-path-node.is-lit {
  fill: var(--accent, #5e6ad2);
}

.demo-map-caption {
  font-size: 12px;
  color: var(--text-tertiary, #6b7280);
  margin-top: 8px;
}

.demo-panel .demo-split,
.demo-panel .demo-cabinets,
.demo-panel .demo-disk {
  min-height: 0;
}

.demo-split-screenshot {
  align-items: stretch;
  gap: 16px;
}

.demo-split-screenshot.is-stack {
  grid-template-columns: 1fr;
  gap: 14px;
}

.demo-split-screenshot.is-stack .demo-screenshot img {
  max-height: min(440px, 52vh);
}

.demo-screenshot {
  margin: 0;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-overlay, #26272e);
}

.demo-screenshot--ui {
  background: #dfe3e8;
  border-color: rgba(255, 255, 255, 0.12);
}

.demo-screenshot--diagram {
  background: #050505;
  border-color: rgba(255, 255, 255, 0.1);
}

.demo-screenshot-open {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  line-height: 0;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}

.demo-screenshot-open:focus-visible {
  outline: 2px solid var(--accent, #5e6ad2);
  outline-offset: 2px;
  border-radius: 8px;
}

.demo-screenshot-lightbox {
  max-width: min(96vw, 1280px);
  width: max-content;
  padding: 0;
  margin: auto;
  border: none;
  background: transparent;
  overflow: visible;
}

.demo-screenshot-lightbox::backdrop {
  background: rgba(5, 6, 10, 0.88);
  backdrop-filter: blur(6px);
}

.demo-lightbox-panel {
  position: relative;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.1));
  background: var(--surface-panel, #16171c);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.demo-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font: inherit;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: rgba(0, 0, 0, 0.45);
  color: var(--text-primary, #f7f8f8);
  cursor: pointer;
}

.demo-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.demo-lightbox-figure {
  margin: 0;
}

.demo-lightbox-img {
  display: block;
  max-width: min(92vw, 1200px);
  max-height: min(82vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.demo-lightbox-caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary, #9ca3af);
  text-align: center;
  max-width: min(92vw, 1200px);
}

.demo-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 160px;
  max-height: min(360px, 42vh);
  object-fit: contain;
  object-position: center center;
}

.demo-screenshot-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #f7f8f8;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 160ms ease-out,
    transform 160ms ease-out;
  pointer-events: none;
}

.demo-screenshot-open:hover .demo-screenshot-hint,
.demo-screenshot-open:focus-visible .demo-screenshot-hint {
  opacity: 1;
  transform: translateY(0);
}

.feature-stage-demo .demo-screenshot img {
  max-height: min(400px, 48vh);
}

.feature-stage-demo .demo-split-screenshot.is-stack .demo-screenshot img {
  max-height: min(460px, 55vh);
}

.home-linear-shot-wrap .demo-screenshot img {
  max-height: min(380px, 40vh);
}

.demo-feature-list {
  margin: 0 0 12px;
  padding-left: 1.15rem;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary, #9ca3af);
}

.demo-screenshot-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-tertiary, #6b7280);
  margin: 0;
}

.demo-timeline {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 13px;
  color: var(--text-secondary, #9ca3af);
}

.demo-timeline li.is-pending {
  opacity: 0.5;
}

.demo-cabinets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.demo-cabinet {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
}

.demo-cabinet-open {
  margin-top: 4px;
  align-self: stretch;
}

.demo-cap-bar {
  height: 6px;
  background: var(--surface-overlay, #26272e);
  border-radius: 999px;
  margin: 10px 0;
  overflow: hidden;
}

.demo-cap-bar.warn span {
  background: #fbbf24;
}

.demo-cap-bar span {
  display: block;
  height: 100%;
  background: var(--accent, #5e6ad2);
  transition: width 400ms ease-out;
}

.demo-cabinet-cells {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 4px;
}

.demo-cabinet-cells .cell {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--surface-overlay, #26272e);
}

.demo-cabinet-cells .cell.on {
  background: var(--accent, #5e6ad2);
}

.demo-cabinet-cells--dense {
  display: grid;
  grid-template-columns: repeat(6, 20px);
  gap: 6px;
  max-width: 100%;
}

.demo-cabinet-status {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-secondary, #9ca3af);
}

.demo-disk-result {
  margin: 12px 0;
  font-size: 14px;
}

.demo-audit {
  font-size: 12px;
  color: var(--text-tertiary, #6b7280);
  margin-top: 8px;
}

.demo-disk-visual {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  overflow: visible;
  padding-bottom: 20px;
}

.disk-cell {
  flex: 1;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary, #9ca3af);
  transform: translateY(0);
  box-shadow: none;
  will-change: transform;
}

.disk-cell.is-open {
  border-color: var(--accent, #5e6ad2);
  color: var(--text-primary, #f7f8f8);
  box-shadow: 0 0 0 1px rgba(94, 106, 210, 0.25);
}

.disk-cell.is-ejecting {
  z-index: 2;
  position: relative;
}

.disk-cell.is-ejected {
  transform: translateY(14px);
  border-color: var(--accent, #5e6ad2);
  background: rgba(94, 106, 210, 0.12);
  color: var(--accent-muted, #828fff);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(94, 106, 210, 0.35);
}

@keyframes demo-disk-eject {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 1px rgba(94, 106, 210, 0.25);
  }
  35% {
    transform: translateY(-6px) scale(1.04);
    box-shadow:
      0 8px 20px rgba(94, 106, 210, 0.25),
      0 0 0 1px rgba(94, 106, 210, 0.5);
  }
  100% {
    transform: translateY(12px) scale(0.98);
    box-shadow:
      0 6px 16px rgba(0, 0, 0, 0.35),
      0 0 0 1px rgba(94, 106, 210, 0.35);
  }
}

.demo-eject {
  margin-top: 8px;
}

/* —— Feature stages (home) —— */
.feature-stage {
  padding-top: var(--space-8, 96px);
  padding-bottom: var(--space-8, 96px);
}

.feature-stage--alt {
  background: rgba(255, 255, 255, 0.02);
}

.feature-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--space-6, 40px);
  align-items: start;
}

@media (max-width: 960px) {
  .feature-stage-grid,
  .feature-stage-grid--reverse {
    grid-template-columns: 1fr;
  }
}

.feature-stage-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: var(--font-weight-display, 600);
  letter-spacing: var(--tracking-title, -0.02em);
  line-height: 1.15;
  margin: 0 0 var(--space-4, 16px);
}

.feature-stage-lead {
  font-size: var(--text-md, 15px);
  color: var(--text-secondary, #9ca3af);
  line-height: 1.55;
  max-width: 420px;
  margin: 0 0 var(--space-5, 24px);
}

.feature-stage-link {
  font-size: var(--text-sm, 14px);
  font-weight: 500;
  color: var(--accent-muted, #828fff);
  text-decoration: none;
}

.feature-stage-link:hover {
  color: var(--accent-hover, #7170ff);
}

.demo-shell-stage {
  min-height: 0;
}

.demo-panels-stage {
  padding: 16px;
  min-height: 0;
}

.demo-panels-stage > .demo-panel {
  min-height: 0;
}

.demo-stage-body {
  padding: 0;
  min-height: 0;
  box-sizing: border-box;
}

/* 演示区内按钮：覆盖全站大药丸 CTA，避免挤压布局 */
.demo-shell .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: none;
  transform: none;
}

.demo-shell .button:hover {
  transform: none;
  box-shadow: none;
}

.demo-shell .button-primary {
  background: var(--accent, #5e6ad2);
}

.demo-shell .button-primary:hover {
  background: var(--accent-hover, #7170ff);
}

.demo-shell .button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.08));
  color: var(--text-primary, #f7f8f8);
}

/* Phase reveals: stay in layout (no display:none / hidden) */
.demo-shell-stage .demo-stage-reveal {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms;
}

.demo-shell-stage .demo-stage-reveal.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition:
    opacity 220ms ease,
    visibility 0s;
}

.demo-proc-main,
.demo-neph-board,
.demo-neph-feed {
  min-height: 0;
}

.demo-log-list li.demo-stage-reveal {
  min-height: 1.35em;
}

.demo-export.demo-stage-reveal {
  display: block;
  min-height: 36px;
  box-sizing: border-box;
}

.demo-neph-feed .demo-push.demo-stage-reveal {
  min-height: 68px;
  box-sizing: border-box;
}

.demo-neph-form.demo-stage-reveal {
  min-height: 108px;
  box-sizing: border-box;
}

.demo-downstream li.demo-stage-reveal {
  min-height: 28px;
}

.demo-bed-row {
  position: relative;
}

.demo-bed-row .demo-bed-label {
  justify-self: end;
}

.demo-bed-row .demo-bed-label:not(.is-visible) {
  position: absolute;
  right: 0;
  width: max-content;
  max-width: 100%;
}

.demo-proc {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 16px;
}

@media (max-width: 640px) {
  .demo-proc {
    grid-template-columns: 1fr;
  }
}

.demo-doc-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

.demo-basis {
  font-size: 13px;
  color: var(--text-secondary, #9ca3af);
  margin: 0;
}

.demo-basis a {
  color: var(--accent-muted, #828fff);
}

.demo-approval {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-approval li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  color: var(--text-tertiary, #6b7280);
}

.demo-approval li.is-active {
  border-color: var(--accent, #5e6ad2);
  color: var(--text-primary, #f7f8f8);
}

.demo-approval li.is-done {
  color: var(--text-secondary, #9ca3af);
}

.demo-approval li.is-done time::before {
  content: "✓ ";
  color: #86efac;
}

.demo-receipt,
.demo-inbound {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--surface-raised, #1e1f25);
  font-size: 13px;
}

.demo-audit-log {
  font-size: 12px;
  border-left: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  padding-left: 12px;
}

/* 采购 · 流程 / 设备 DOM 示意（无产品截图） */
.demo-proc-mock {
  min-height: 0;
}

.demo-proc-mock-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}

.demo-proc-mock-head strong {
  font-size: 15px;
}

.demo-flow-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 14px;
  scrollbar-width: thin;
}

.demo-flow-node {
  flex: 1 0 108px;
  min-width: 100px;
  padding: 10px 10px 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
  font-size: 12px;
  color: var(--text-tertiary, #6b7280);
  position: relative;
  margin-right: 14px;
}

.demo-flow-node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 14px;
  height: 1px;
  background: var(--border-strong, rgba(255, 255, 255, 0.12));
}

.demo-flow-node:last-child {
  margin-right: 0;
}

.demo-flow-node:last-child::after {
  display: none;
}

.demo-flow-node strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, #9ca3af);
  margin: 4px 0 2px;
}

.demo-flow-node em {
  font-style: normal;
  font-size: 11px;
}

.demo-flow-role {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-tertiary, #6b7280);
}

.demo-flow-node.is-done {
  border-color: rgba(134, 239, 172, 0.25);
}

.demo-flow-node.is-done strong {
  color: var(--text-primary, #f7f8f8);
}

.demo-flow-node.is-active {
  border-color: rgba(94, 106, 210, 0.55);
  box-shadow: 0 0 0 1px rgba(94, 106, 210, 0.2);
}

.demo-flow-node.is-active strong {
  color: var(--text-primary, #f7f8f8);
}

.demo-flow-branches {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 10px;
}

.demo-flow-branches .demo-feature-list {
  margin-bottom: 0;
}

.demo-flow-branches a {
  color: var(--accent-muted, #828fff);
}

.demo-proc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.demo-filter-chip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  color: var(--text-tertiary, #6b7280);
}

.demo-filter-chip.is-on {
  color: var(--text-primary, #f7f8f8);
  border-color: rgba(94, 106, 210, 0.45);
  background: rgba(94, 106, 210, 0.12);
}

.demo-proc-status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  font-size: 11px;
  color: var(--text-tertiary, #6b7280);
}

.demo-proc-status-legend .swatch {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

.demo-proc-status-legend .in-stock {
  background: #86efac;
}

.demo-proc-status-legend .pending {
  background: #93c5fd;
}

.demo-proc-status-legend .alert {
  background: #fbbf24;
}

.demo-proc-equip-table {
  margin-bottom: 10px;
  font-size: 12px;
}

.demo-proc-equip-table code {
  font-size: 11px;
}

.demo-status-pill {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.demo-status-pill.is-stock {
  color: #86efac;
  border-color: rgba(134, 239, 172, 0.35);
  background: rgba(134, 239, 172, 0.08);
}

.demo-status-pill.is-pending {
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.35);
  background: rgba(147, 197, 253, 0.08);
}

.demo-rfid-actions {
  font-size: 11px;
  color: var(--text-tertiary, #6b7280);
  white-space: nowrap;
}

.demo-rfid-actions .is-link {
  color: var(--accent-muted, #828fff);
}

.demo-log-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-secondary, #9ca3af);
}

.demo-export {
  margin-top: 12px;
  width: 100%;
  font-size: 12px;
}

.demo-neph {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 16px;
}

@media (max-width: 640px) {
  .demo-neph {
    grid-template-columns: 1fr;
  }
}

.demo-neph-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.demo-badge {
  font-size: 12px;
  color: var(--text-tertiary, #6b7280);
}

.demo-patient-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.demo-patient-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.demo-patient-list li.is-alert,
.demo-bed-row.is-alert {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.06);
  padding: 10px 8px;
  border-radius: 8px;
  border-bottom: none;
  margin: 4px 0;
}

.demo-bed-closed {
  color: #86efac;
}

.demo-neph-form {
  margin-top: 12px;
}

.demo-neph-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

.demo-neph-form input {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
  color: inherit;
  font: inherit;
}

.demo-push {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--accent, #5e6ad2);
  font-size: 12px;
  margin-bottom: 12px;
}

.demo-push.is-pulse {
  animation: demo-pulse 1.2s ease-in-out 2;
}

@keyframes demo-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(94, 106, 210, 0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(94, 106, 210, 0.2);
  }
}

.demo-downstream {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--text-secondary, #9ca3af);
}

.demo-downstream li {
  padding: 6px 0;
}

/* 肾内科 · 无截图时的 DOM 界面示意 */
.demo-neph-mock {
  min-height: 0;
}

.demo-neph-mock-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}

.demo-neph-mock-head strong {
  font-size: 15px;
}

.demo-neph-bed-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

@media (max-width: 520px) {
  .demo-neph-bed-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.demo-neph-bed {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
  color: var(--text-secondary, #9ca3af);
}

.demo-neph-bed.is-active {
  color: var(--text-primary, #f7f8f8);
  border-color: rgba(94, 106, 210, 0.45);
  background: rgba(94, 106, 210, 0.12);
}

.demo-neph-bed.is-prep {
  border-style: dashed;
  color: #93c5fd;
}

.demo-neph-bed.is-alert {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.1);
  animation: demo-bed-alert 2.4s ease-in-out infinite;
}

.demo-neph-bed.is-idle {
  opacity: 0.45;
}

.demo-neph-bed.is-done {
  color: #86efac;
  background: rgba(34, 197, 94, 0.08);
}

@keyframes demo-bed-alert {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(248, 113, 113, 0);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.15);
  }
}

.demo-neph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  font-size: 11px;
  color: var(--text-tertiary, #6b7280);
}

.demo-neph-legend .swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: middle;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
}

.demo-neph-legend .swatch.is-active {
  background: rgba(94, 106, 210, 0.35);
  border-color: rgba(94, 106, 210, 0.5);
}

.demo-neph-legend .swatch.is-prep {
  border-style: dashed;
}

.demo-neph-legend .swatch.is-alert {
  background: rgba(248, 113, 113, 0.25);
}

.demo-neph-legend .swatch.is-idle {
  opacity: 0.4;
}

.demo-neph-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  .demo-neph-metrics {
    grid-template-columns: 1fr;
  }
}

.demo-neph-metric {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
}

.demo-neph-metric-label {
  display: block;
  font-size: 11px;
  color: var(--text-tertiary, #6b7280);
  margin-bottom: 4px;
}

.demo-neph-metric-value {
  font-size: 18px;
  font-weight: 600;
}

.demo-neph-metric-bar {
  display: block;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--surface-overlay, #26272e);
  position: relative;
  overflow: hidden;
}

.demo-neph-metric-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pct, 50%);
  background: var(--accent, #5e6ad2);
  border-radius: inherit;
}

.demo-neph-metric-bar.warn::after {
  background: #fbbf24;
}

.demo-neph-alert-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  font-size: 12px;
}

.demo-neph-alert-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
  margin-bottom: 8px;
  color: var(--text-secondary, #9ca3af);
}

.demo-neph-alert-list li.is-warn {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.06);
}

.demo-neph-alert-list li strong {
  color: var(--text-primary, #f7f8f8);
  font-weight: 500;
}

.demo-neph-alert-list li em {
  font-style: normal;
  font-size: 11px;
  color: var(--accent-muted, #828fff);
}

.demo-neph-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary, #6b7280);
}

.demo-neph-week span {
  padding: 6px 0;
  border-radius: 8px;
  border: 1px solid transparent;
}

.demo-neph-week .is-today {
  color: var(--text-primary, #f7f8f8);
  border-color: var(--border-strong, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.04);
}

.demo-neph-shift-line {
  font-size: 13px;
  color: var(--text-secondary, #9ca3af);
  margin: 0 0 12px;
}

.demo-neph-stock {
  margin-bottom: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .demo-neph-bed.is-alert {
    animation: none;
  }
}

.deploy-strip {
  padding-top: var(--space-6, 40px);
  padding-bottom: var(--space-6, 40px);
}

.deploy-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: var(--space-5, 24px) var(--space-6, 40px);
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-panel, #16171c);
}

.deploy-strip-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.deploy-strip-lead {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary, #9ca3af);
}

.section-tight-top {
  padding-top: 0;
}

.solution-layout--stack {
  display: block;
}

.solution-brand-quote {
  margin: var(--space-4, 16px) 0;
  padding-left: var(--space-4, 16px);
  border-left: 2px solid var(--accent, #5e6ad2);
  font-size: 14px;
  color: var(--text-secondary, #9ca3af);
  line-height: 1.55;
}

.solution-related {
  margin-top: var(--space-5, 24px);
  font-size: 14px;
}

.solution-related a {
  color: var(--accent-muted, #828fff);
}

.solutions-index-grid {
  margin-bottom: var(--space-5, 24px);
}

.solutions-index-note {
  font-size: 14px;
  color: var(--text-tertiary, #6b7280);
}

.solutions-index-note a {
  color: var(--accent-muted, #828fff);
}

.solution-chain-lead {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-secondary, #9ca3af);
}

.solution-chain-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-chain-step a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.solution-chain-step.is-current a {
  border-color: var(--accent-muted, #828fff);
  background: rgba(130, 143, 255, 0.08);
}

.solution-chain-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-tertiary, #6b7280);
}

.solution-chain-name {
  font-size: 13px;
  font-weight: 500;
}

.solution-chain-arrow {
  color: var(--text-tertiary, #6b7280);
  font-size: 14px;
  list-style: none;
}

.solution-upstream-bar {
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary, #9ca3af);
}

.solution-upstream-label {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(130, 143, 255, 0.12);
  color: var(--accent-muted, #828fff);
}

.solution-handoff {
  margin-top: var(--space-5, 24px);
  font-size: 14px;
  line-height: 1.55;
}

.solution-handoff a {
  color: var(--accent-muted, #828fff);
}

.solution-handoff-note {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary, #9ca3af);
}

.solutions-chain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4, 20px);
  margin-bottom: var(--space-6, 40px);
}

@media (max-width: 900px) {
  .solutions-chain-grid {
    grid-template-columns: 1fr;
  }
}

.solutions-vertical-heading {
  margin-bottom: var(--space-4, 20px);
}

.demo-wh-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.demo-wh-table {
  width: 100%;
}

.demo-wh-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.06);
}

.demo-wh-pill.is-ready {
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
}

.demo-badge.warn {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
}

.demo-wh-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.demo-wh-timeline li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary, #9ca3af);
}

.demo-wh-timeline li span:first-child {
  min-width: 48px;
  font-weight: 600;
  color: var(--text-tertiary, #6b7280);
}

.demo-wh-timeline li.is-done span:first-child {
  color: #6ee7b7;
}

.demo-wh-timeline li.is-active {
  color: var(--text-primary, #f3f4f6);
}

.demo-wh-row-alert td {
  color: #fcd34d;
}

.feature-stage--warehouse {
  padding-top: var(--space-8, 96px);
  padding-bottom: var(--space-8, 96px);
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.feature-stage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 var(--space-4, 16px);
}

.feature-stage-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary, #9ca3af);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.feature-stage--warehouse .feature-stage-intro {
  max-width: 720px;
}

.feature-stage--warehouse .feature-stage-link {
  display: inline-block;
  margin-top: var(--space-2, 8px);
}

/* —— Mobile: demos & home stages (≤760 / ≤560) —— */
@media (max-width: 760px) {
  .feature-stage {
    padding-top: var(--space-6, 40px);
    padding-bottom: var(--space-6, 40px);
  }

  .feature-stage-lead {
    max-width: none;
  }

  .demo-shell-stage {
    min-height: auto;
  }

  .demo-stage-body {
    min-height: 0;
    padding: 12px;
  }

  .demo-proc-main,
  .demo-audit-log,
  .demo-neph-board,
  .demo-neph-feed {
    min-height: 0;
  }

  .demo-audit-log {
    border-left: none;
    padding-left: 0;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  }

  .demo-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .demo-tabs::-webkit-scrollbar {
    display: none;
  }

  .demo-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .demo-chrome-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }

  .demo-panels {
    padding: 12px;
    min-height: 240px;
  }

  .demo-panels > .demo-panel {
    min-height: 220px;
  }

  .demo-shell[data-rfid-tab-3d="true"] {
    --demo-rfid-panels-h: clamp(480px, 78vh, 640px);
    --demo-rfid-3d-h: clamp(200px, 28vh, 260px);
    --demo-rfid-inset-x: 16px;
    --demo-rfid-inset-bottom: 18px;
  }

  .demo-shell[data-rfid-tab-3d="true"] .demo-panels {
    min-height: 0;
    padding-top: 12px;
  }

  .demo-shell[data-rfid-tab-3d="true"] .demo-panel-body {
    padding: 10px 6px 14px 4px;
    margin: 0 2px;
  }

  .demo-shell[data-rfid-tab-3d="true"] .demo-panels > .demo-panel {
    min-height: 0;
  }

  .demo-side {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .demo-table {
    min-width: 260px;
  }

  .deploy-strip-inner {
    padding: var(--space-4, 16px);
    flex-direction: column;
    align-items: stretch;
  }

  .deploy-strip-inner .button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .demo-slot-grid {
    grid-template-columns: 1fr;
  }

  .client-chip-row {
    gap: 8px;
  }
}

.demo-tabs--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 4px;
}

.demo-rfid-inventory .demo-slot-grid {
  margin-top: 12px;
}

.demo-rfid-inventory-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.demo-rfid-inventory-results {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.02);
}

.demo-rfid-inventory-stats {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--accent-muted, #828fff);
}

.demo-rfid-inventory-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 168px;
  overflow: auto;
}

.demo-rfid-inv-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0 0 6px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: rgba(0, 0, 0, 0.15);
  font-size: 11px;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.demo-rfid-inv-item.is-ok {
  border-left: 3px solid #22c55e;
}

.demo-rfid-inv-item.is-missing {
  border-left: 3px solid #ef4444;
}

.demo-rfid-inv-item.is-extra {
  border-left: 3px solid #fbbf24;
}

.demo-rfid-inv-item.is-selected {
  border-color: rgba(94, 106, 210, 0.55);
  background: rgba(94, 106, 210, 0.12);
}

.demo-rfid-inv-item__slot {
  opacity: 0.65;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .demo-rfid-inventory.demo-split {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  }
}

.demo-rfid-inventory-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.demo-rfid-inventory-results {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.02);
}

.demo-rfid-inventory-stats {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--accent-muted, #828fff);
}

.demo-rfid-inventory-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 168px;
  overflow: auto;
}

.demo-rfid-inv-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0 0 6px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: rgba(0, 0, 0, 0.15);
  font-size: 11px;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.demo-rfid-inv-item.is-ok {
  border-left: 3px solid #22c55e;
}

.demo-rfid-inv-item.is-missing {
  border-left: 3px solid #ef4444;
}

.demo-rfid-inv-item.is-extra {
  border-left: 3px solid #fbbf24;
}

.demo-rfid-inv-item.is-selected {
  border-color: rgba(94, 106, 210, 0.55);
  background: rgba(94, 106, 210, 0.12);
}

.demo-rfid-inv-item__slot {
  opacity: 0.65;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .demo-rfid-inventory.demo-split {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  }
}

.demo-slot {
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.demo-slot.is-selected {
  border-color: var(--accent, #5e6ad2);
  box-shadow: 0 0 0 1px rgba(94, 106, 210, 0.25);
}

.demo-slot.is-diff {
  border-color: rgba(248, 113, 113, 0.45);
}

.demo-slot-id {
  display: block;
  font-weight: 600;
  font-size: 13px;
}

.demo-slot-meta {
  display: block;
  font-size: 11px;
  color: var(--text-tertiary, #6b7280);
  margin-top: 4px;
}

.demo-rfid-detail {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
}

.demo-search-label,
.demo-scrub-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary, #9ca3af);
  margin-bottom: 10px;
}

.demo-search-input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: var(--surface-raised, #1e1f25);
  color: var(--text-primary, #f7f8f8);
  font: inherit;
  font-size: 13px;
}

.demo-scrub {
  width: 100%;
  margin-top: 6px;
  accent-color: var(--accent, #5e6ad2);
}

.demo-cabinet.is-shaking {
  animation: demo-cabinet-shake 520ms ease-in-out;
}

@keyframes demo-cabinet-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(8px);
  }
}

.demo-inbound-slots {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-inbound-slot {
  width: 100%;
  text-align: left;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.demo-inbound-slot strong {
  display: block;
  font-size: 14px;
}

.demo-inbound-slot span {
  display: block;
  font-size: 12px;
  color: var(--text-tertiary, #6b7280);
  margin-top: 4px;
}

.demo-inbound-slot.is-top {
  border-color: rgba(94, 106, 210, 0.4);
}

.demo-inbound-slot.is-picked {
  border-color: var(--accent, #5e6ad2);
  box-shadow: 0 0 0 1px rgba(94, 106, 210, 0.2);
}

.demo-proc-workflow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-proc-workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 220px);
  gap: 12px;
  margin-bottom: 4px;
}

.demo-proc-form,
.demo-proc-basis {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
  min-width: 0;
}

.demo-proc-basis .demo-kicker + .demo-kicker {
  margin-top: 12px;
}

.demo-panel-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.demo-panel-actions--inline {
  border-top: 0;
  padding-top: 0;
  margin-top: 12px;
}

.demo-rfid-scan-btn {
  margin: 10px 0 12px;
}

.demo-action-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary, #9ca3af);
  max-width: 520px;
}

.demo-proc-accept .demo-table {
  margin-top: 8px;
}

@media (max-width: 640px) {
  .demo-proc-workflow-grid {
    grid-template-columns: 1fr;
  }
}

.demo-workflow-steps {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.demo-workflow-steps button {
  font: inherit;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: transparent;
  color: var(--text-secondary, #9ca3af);
  cursor: pointer;
}

.demo-workflow-steps button.is-active {
  border-color: var(--accent, #5e6ad2);
  color: var(--text-primary, #f7f8f8);
}

.demo-basis-list {
  margin: 0 0 12px;
  padding-left: 1.1rem;
  font-size: 13px;
}

.demo-basis-list a {
  color: var(--accent-muted, #828fff);
}

.demo-basis.ops {
  margin: 0;
  font-size: 13px;
}

.demo-audit-log--wide {
  border-left: none;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  padding: 12px 0 0;
}

.demo-chain-graph {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.demo-chain-node {
  flex: 1 1 120px;
  min-width: 100px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
  cursor: pointer;
  font: inherit;
  color: var(--text-secondary, #9ca3af);
  text-align: left;
}

.demo-chain-node span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary, #f7f8f8);
}

.demo-chain-node em {
  display: block;
  font-style: normal;
  font-size: 11px;
  margin-top: 4px;
}

.demo-chain-node.is-active {
  border-color: var(--accent, #5e6ad2);
}

.demo-chain-detail {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: rgba(255, 255, 255, 0.02);
  min-height: 100px;
}

.demo-badge--warn {
  border-color: rgba(251, 191, 36, 0.45);
  color: #fbbf24;
}

.demo-budget-bar-wrap {
  margin-bottom: 12px;
}

.rfid-webgl-section {
  padding-top: 0;
}

.rfid-webgl-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}

.rfid-webgl-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin: 0 0 8px;
}

.rfid-webgl-lead {
  font-size: 14px;
  color: var(--text-secondary, #9ca3af);
  max-width: 640px;
  margin: 0;
  line-height: 1.55;
}

.rfid-webgl-canvas-wrap {
  min-height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #0e0f12;
}

.rfid-webgl-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: auto;
  touch-action: none;
}

@media (prefers-reduced-motion: reduce) {
  .demo-cabinet.is-shaking {
    animation: none;
    transform: translateX(4px);
  }

  .disk-cell.is-ejecting {
    animation: none;
  }
}

/* —— 采购全流程（单页三栏，无 Tab） —— */
.feature-stage--proc {
  padding-top: var(--space-8, 96px);
  padding-bottom: var(--space-8, 96px);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.1) 0%, rgba(249, 115, 22, 0.02) 38%, transparent 62%);
  border-top: 3px solid rgba(249, 115, 22, 0.42);
}

.home-product-zone {
  position: relative;
  --home-zone-accent: rgba(129, 140, 248, 0.55);
  --home-zone-glow: rgba(94, 106, 210, 0.12);
  --home-zone-watermark: "01";
  isolation: isolate;
}

.home-product-zone::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--home-zone-accent), transparent 92%);
  pointer-events: none;
  z-index: 0;
}

.home-product-zone::after {
  content: var(--home-zone-watermark);
  position: absolute;
  right: clamp(12px, 4vw, 48px);
  top: clamp(72px, 12vh, 140px);
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--home-zone-accent);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.home-product-zone > .container,
.home-product-zone > .page-hero-grid {
  position: relative;
  z-index: 1;
}

.home-product-zone-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-secondary, #9ca3af);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.home-product-zone-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.home-product-zone--rfid {
  --home-zone-accent: rgba(129, 140, 248, 0.72);
  --home-zone-glow: rgba(94, 106, 210, 0.16);
  --home-zone-watermark: "01";
  background:
    radial-gradient(ellipse 95% 60% at 50% -8%, rgba(94, 106, 210, 0.2), transparent 58%),
    linear-gradient(180deg, transparent 62%, rgba(94, 106, 210, 0.05) 92%, transparent 100%);
  padding-bottom: var(--space-8, 96px);
}

.home-product-zone--rfid .home-product-zone-label {
  border-color: rgba(129, 140, 248, 0.28);
  background: rgba(94, 106, 210, 0.1);
}

.home-product-zone--rfid .home-product-zone-num {
  background: rgba(94, 106, 210, 0.22);
  color: #c4b5fd;
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.home-product-zone--rfid .product-showcase-panel {
  border-color: rgba(129, 140, 248, 0.32);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(94, 106, 210, 0.12),
    inset 0 1px 0 rgba(129, 140, 248, 0.08);
}

.home-product-zone--proc {
  --home-zone-accent: rgba(251, 146, 60, 0.75);
  --home-zone-glow: rgba(249, 115, 22, 0.14);
  --home-zone-watermark: "02";
}

.home-product-zone--proc .home-product-zone-label {
  border-color: rgba(251, 146, 60, 0.28);
  background: rgba(249, 115, 22, 0.08);
}

.home-product-zone--proc .home-product-zone-num {
  background: rgba(249, 115, 22, 0.18);
  color: #fdba74;
  border: 1px solid rgba(251, 146, 60, 0.35);
}

.home-product-zone--proc .demo-shell-proc-flow {
  border-color: rgba(251, 146, 60, 0.28);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(249, 115, 22, 0.1);
}

.feature-stage--warehouse.home-product-zone--warehouse {
  --home-zone-accent: rgba(34, 211, 238, 0.72);
  --home-zone-glow: rgba(34, 211, 238, 0.12);
  --home-zone-watermark: "03";
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0.09) 0%, rgba(34, 211, 238, 0.02) 42%, transparent 100%);
  border-top: 3px solid rgba(34, 211, 238, 0.42);
}

.home-product-zone--warehouse .home-product-zone-label {
  border-color: rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.07);
}

.home-product-zone--warehouse .home-product-zone-num {
  background: rgba(34, 211, 238, 0.16);
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, 0.32);
}

.home-product-zone--warehouse .demo-shell-wh-app {
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(34, 211, 238, 0.1);
}

.feature-stage--neph {
  padding-top: var(--space-8, 96px);
  padding-bottom: var(--space-8, 96px);
}

.home-product-zone--neph {
  --home-zone-accent: rgba(192, 132, 252, 0.78);
  --home-zone-glow: rgba(167, 139, 250, 0.14);
  --home-zone-watermark: "04";
  background:
    linear-gradient(180deg, rgba(167, 139, 250, 0.11) 0%, rgba(167, 139, 250, 0.03) 40%, transparent 68%);
  border-top: 3px solid rgba(192, 132, 250, 0.45);
}

.home-product-zone--neph .home-product-zone-label {
  border-color: rgba(192, 132, 252, 0.32);
  background: rgba(167, 139, 250, 0.1);
}

.home-product-zone--neph .home-product-zone-num {
  background: rgba(167, 139, 250, 0.22);
  color: #e9d5ff;
  border: 1px solid rgba(192, 132, 252, 0.38);
}

.home-product-zone--neph .feature-stage-link {
  color: #d8b4fe;
}

.home-product-zone--neph .feature-stage-link:hover {
  color: #e9d5ff;
}

.home-product-zone--neph .feature-stage-chip {
  border-color: rgba(192, 132, 252, 0.22);
  background: rgba(167, 139, 250, 0.08);
  color: #ddd6fe;
}

.home-product-zone--neph .demo-shell-stage,
.home-product-zone--neph [data-demo="neph-closed-loop"] {
  border-color: rgba(192, 132, 252, 0.3);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(167, 139, 250, 0.12),
    inset 0 1px 0 rgba(192, 132, 252, 0.06);
}

.home-between-systems {
  position: relative;
  background:
    linear-gradient(180deg, rgba(94, 106, 210, 0.035) 0%, rgba(255, 255, 255, 0.012) 28%, rgba(255, 255, 255, 0.015) 100%);
}

.home-between-systems::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.07) 20%,
    rgba(255, 255, 255, 0.07) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.home-between-systems .value-figures-section {
  padding-top: var(--space-7, 64px);
  padding-bottom: var(--space-6, 40px);
}

.home-between-systems .client-strip-linear {
  padding-top: 0;
}

.home-systems-rail {
  padding: var(--space-5, 24px) 0 var(--space-6, 40px);
}

.home-systems-rail-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(8, 12, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.home-systems-rail-kicker {
  margin: 0;
  flex: 1 1 160px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary, #6b7280);
}

.home-systems-rail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 2 1 320px;
  justify-content: flex-end;
}

.home-systems-rail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text-secondary, #9ca3af);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-systems-rail-link:hover {
  color: var(--text-primary, #f3f4f6);
}

.home-systems-rail-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 700;
}

.home-systems-rail-link--rfid .home-systems-rail-num {
  background: rgba(94, 106, 210, 0.22);
  color: #c4b5fd;
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.home-systems-rail-link--rfid:hover {
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(94, 106, 210, 0.12);
}

.home-systems-rail-link--proc .home-systems-rail-num {
  background: rgba(249, 115, 22, 0.18);
  color: #fdba74;
  border: 1px solid rgba(251, 146, 60, 0.35);
}

.home-systems-rail-link--proc:hover {
  border-color: rgba(251, 146, 60, 0.45);
  background: rgba(249, 115, 22, 0.1);
}

.home-systems-rail-link--warehouse .home-systems-rail-num {
  background: rgba(34, 211, 238, 0.16);
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, 0.32);
}

.home-systems-rail-link--warehouse:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.08);
}

@media (max-width: 760px) {
  .home-product-zone::after {
    right: 8px;
    top: 48px;
    opacity: 0.05;
  }

  .home-systems-rail-links {
    justify-content: flex-start;
  }

  .home-systems-rail-kicker {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html:has(:target) {
    scroll-behavior: smooth;
  }
}

.feature-stage-intro {
  max-width: 640px;
  margin-bottom: var(--space-5, 24px);
}

.feature-stage-demo--wide {
  width: 100%;
}

.demo-shell-proc-flow {
  overflow: hidden;
}

.demo-shell-proc-flow .demo-chrome {
  flex-wrap: wrap;
  gap: 8px 12px;
}

.demo-proc-flow-progress {
  font-size: 12px;
  color: var(--accent-muted, #828fff);
  margin-left: auto;
  margin-right: 8px;
  max-width: 42%;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-proc-flow-body {
  padding: 12px 14px 14px;
  min-height: 0;
}

.demo-proc-flow {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 200px;
  grid-template-rows: minmax(0, 1fr);
  gap: 12px;
  height: clamp(420px, 52vh, 540px);
  min-height: 0;
}

.demo-proc-flow-footnote {
  margin: 10px 0 0;
  font-size: 11px;
}

.demo-proc-flow-shot {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.demo-proc-flow-shot .demo-screenshot-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #eef1f6;
  cursor: zoom-in;
}

.demo-proc-flow-shot img {
  width: 100%;
  height: auto;
  max-height: min(380px, 44vh);
  object-fit: contain;
  object-position: top center;
  vertical-align: middle;
}

.demo-proc-flow-node-badge--shot {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(130, 143, 255, 0.14);
  color: var(--accent-muted, #828fff);
  border: 1px solid rgba(130, 143, 255, 0.22);
}

.demo-proc-flow-section.is-inview .demo-proc-flow-shot {
  border-color: rgba(94, 106, 210, 0.28);
}

.demo-proc-flow-nav,
.demo-proc-flow-main,
.demo-proc-flow-rail {
  scrollbar-width: thin;
  scrollbar-color: rgba(130, 143, 255, 0.38) transparent;
}

.demo-proc-flow-nav::-webkit-scrollbar,
.demo-proc-flow-main::-webkit-scrollbar,
.demo-proc-flow-rail::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.demo-proc-flow-nav::-webkit-scrollbar-button,
.demo-proc-flow-main::-webkit-scrollbar-button,
.demo-proc-flow-rail::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.demo-proc-flow-nav::-webkit-scrollbar-track,
.demo-proc-flow-main::-webkit-scrollbar-track,
.demo-proc-flow-rail::-webkit-scrollbar-track {
  background: transparent;
  margin: 4px 0;
}

.demo-proc-flow-nav::-webkit-scrollbar-thumb,
.demo-proc-flow-main::-webkit-scrollbar-thumb,
.demo-proc-flow-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid transparent;
  background-clip: padding-box;
}

.demo-proc-flow-nav:hover::-webkit-scrollbar-thumb,
.demo-proc-flow-main:hover::-webkit-scrollbar-thumb,
.demo-proc-flow-rail:hover::-webkit-scrollbar-thumb,
.demo-proc-flow-nav:focus-within::-webkit-scrollbar-thumb,
.demo-proc-flow-main:focus-within::-webkit-scrollbar-thumb,
.demo-proc-flow-rail:focus-within::-webkit-scrollbar-thumb {
  background: rgba(130, 143, 255, 0.42);
}

.demo-proc-flow-nav::-webkit-scrollbar-thumb:active,
.demo-proc-flow-main::-webkit-scrollbar-thumb:active,
.demo-proc-flow-rail::-webkit-scrollbar-thumb:active {
  background: rgba(130, 143, 255, 0.58);
}

.demo-proc-flow-nav::-webkit-scrollbar-corner,
.demo-proc-flow-main::-webkit-scrollbar-corner,
.demo-proc-flow-rail::-webkit-scrollbar-corner {
  background: transparent;
}

[data-theme="light"] .demo-proc-flow-nav,
[data-theme="light"] .demo-proc-flow-main,
[data-theme="light"] .demo-proc-flow-rail {
  scrollbar-color: rgba(94, 106, 210, 0.35) transparent;
}

[data-theme="light"] .demo-proc-flow-nav::-webkit-scrollbar-thumb,
[data-theme="light"] .demo-proc-flow-main::-webkit-scrollbar-thumb,
[data-theme="light"] .demo-proc-flow-rail::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .demo-proc-flow-nav:hover::-webkit-scrollbar-thumb,
[data-theme="light"] .demo-proc-flow-main:hover::-webkit-scrollbar-thumb,
[data-theme="light"] .demo-proc-flow-rail:hover::-webkit-scrollbar-thumb,
[data-theme="light"] .demo-proc-flow-nav:focus-within::-webkit-scrollbar-thumb,
[data-theme="light"] .demo-proc-flow-main:focus-within::-webkit-scrollbar-thumb,
[data-theme="light"] .demo-proc-flow-rail:focus-within::-webkit-scrollbar-thumb {
  background: rgba(94, 106, 210, 0.38);
}

.demo-proc-flow-nav {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  border-right: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  font-size: 11px;
  min-height: 0;
  max-height: 100%;
  align-self: stretch;
}

.demo-proc-flow-nav-hint {
  font-size: 10px;
  line-height: 1.4;
  color: var(--text-tertiary, #6b7280);
  margin: 0 0 10px;
}

.demo-proc-flow-nav-phase {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-muted, #828fff);
  margin: 10px 0 6px;
}

.demo-proc-flow-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 11px;
  line-height: 1.35;
  padding: 7px 8px;
  margin-bottom: 4px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary, #9ca3af);
  cursor: pointer;
}

.demo-proc-flow-nav-item.is-active {
  border-color: rgba(94, 106, 210, 0.55);
  background: rgba(94, 106, 210, 0.16);
  color: var(--text-primary, #f7f8f8);
  box-shadow: 0 0 0 1px rgba(94, 106, 210, 0.2);
}

.demo-proc-flow-nav-item.is-done:not(.is-active) {
  padding-right: 22px;
  position: relative;
}

.demo-proc-flow-nav-item.is-done:not(.is-active)::after {
  content: "✓";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: rgba(134, 239, 172, 0.85);
}

.demo-proc-flow-main {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  min-height: 0;
  max-height: 100%;
  align-self: stretch;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  background: linear-gradient(
    var(--surface-panel, #16171c) 0%,
    rgba(255, 255, 255, 0.015) 100%
  );
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.05));
}

.demo-proc-flow-main:focus-visible {
  outline: 2px solid rgba(94, 106, 210, 0.45);
  outline-offset: 2px;
}

.demo-proc-flow-project-card {
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
}

.demo-proc-flow-project-name {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.demo-proc-flow-project-meta {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--text-secondary, #9ca3af);
}

.demo-proc-flow-dl {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 12px;
}

.demo-proc-flow-dl dt {
  color: var(--text-tertiary, #6b7280);
  margin: 0;
}

.demo-proc-flow-dl dd {
  margin: 0;
  color: var(--text-secondary, #9ca3af);
}

.demo-proc-flow-section {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
  scroll-margin-top: 10px;
  transition: border-color 180ms ease-out, background 180ms ease-out;
}

.demo-proc-flow-section.is-inview {
  border-color: rgba(94, 106, 210, 0.35);
  background: rgba(94, 106, 210, 0.06);
}

.demo-proc-flow-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 10px;
}

.demo-proc-flow-node-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(134, 239, 172, 0.35);
  color: rgba(134, 239, 172, 0.9);
}

.demo-proc-flow-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #f7f8f8);
  flex: 1 1 auto;
  min-width: 120px;
}

.demo-proc-flow-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  flex: 0 1 auto;
  margin-left: auto;
}

.demo-proc-flow-toolbar-actions button {
  font: inherit;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-tertiary, #6b7280);
  cursor: not-allowed;
  opacity: 0.72;
}

.demo-proc-flow-toolbar-actions button.is-danger {
  color: rgba(248, 113, 113, 0.75);
}

.demo-proc-flow-table {
  font-size: 11px;
}

.demo-proc-flow-table th,
.demo-proc-flow-table td {
  padding: 6px 8px;
}

.demo-proc-flow-hint {
  font-size: 12px;
  color: var(--text-secondary, #9ca3af);
  margin: 0;
}

.demo-proc-flow-rail {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  padding-left: 10px;
  min-height: 0;
  max-height: 100%;
  align-self: stretch;
}

.demo-proc-flow-rail-card {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: var(--surface-raised, #1e1f25);
}

.demo-proc-flow-rail-kicker {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary, #6b7280);
  margin: 0 0 6px;
}

.demo-proc-flow-rail-node {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text-primary, #f7f8f8);
}

.demo-proc-flow-rail-table {
  font-size: 10px;
}

.demo-proc-flow-rail-table th,
.demo-proc-flow-rail-table td {
  padding: 4px 6px;
}

.demo-proc-flow-doc-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-secondary, #9ca3af);
}

.demo-proc-flow-doc-link {
  color: var(--accent-muted, #828fff);
}

.demo-panel[data-demo-panel="workflow"] .demo-screenshot-note {
  margin-top: 8px;
}

/* —— 仓库管理 · 模块式交互演示 —— */
.demo-shell-wh-app {
  overflow: hidden;
}

.demo-wh-app {
  padding: 12px 14px 14px;
  min-height: 0;
}

.demo-wh-module-stack {
  display: grid;
  min-height: clamp(300px, 34vh, 380px);
}

.demo-wh-module {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
}

.demo-wh-module:not(.is-active) {
  visibility: hidden;
  pointer-events: none;
}

.demo-wh-subpanel-stack {
  display: grid;
  flex: 1;
  min-height: clamp(240px, 30vh, 300px);
}

.demo-wh-subpanel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.demo-wh-subpanel:not(.is-active) {
  visibility: hidden;
  pointer-events: none;
}

.demo-wh-module .demo-wh-table-wrap,
.demo-wh-subpanel .demo-wh-table-wrap {
  flex: 1;
  min-height: 200px;
  max-height: none;
}

.feature-stage--warehouse .demo-shell-wh-app {
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-elevate, 0 12px 40px rgba(0, 0, 0, 0.35));
}

.feature-stage-demo--wide .demo-shell-wh-app .demo-wh-app {
  padding: 14px 16px 16px;
}

.demo-wh-module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.demo-wh-module-tab {
  font: inherit;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary, #9ca3af);
  cursor: pointer;
}

.demo-wh-module-tab.is-active {
  border-color: rgba(94, 106, 210, 0.5);
  background: rgba(94, 106, 210, 0.14);
  color: var(--text-primary, #f7f8f8);
}

.demo-wh-status {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary, #9ca3af);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.demo-wh-subtabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.demo-wh-subtab {
  font: inherit;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary, #9ca3af);
  cursor: pointer;
}

.demo-wh-subtab.is-active {
  border-color: rgba(130, 143, 255, 0.35);
  color: var(--accent-muted, #828fff);
}

.demo-wh-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.demo-wh-toolbar-label {
  font-size: 11px;
  color: var(--text-tertiary, #6b7280);
  margin-right: auto;
}

.demo-wh-btn {
  font: inherit;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary, #9ca3af);
  cursor: pointer;
}

.demo-wh-btn.is-primary {
  border-color: rgba(94, 106, 210, 0.45);
  background: rgba(94, 106, 210, 0.2);
  color: var(--text-primary, #f7f8f8);
}

.demo-wh-btn.is-primary:not(:disabled):hover {
  background: rgba(94, 106, 210, 0.28);
}

.demo-wh-btn.is-danger {
  border-color: rgba(248, 113, 113, 0.4);
  color: #fca5a5;
}

.demo-wh-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.demo-wh-table-wrap {
  overflow: auto;
  max-height: min(280px, 38vh);
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.demo-wh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.demo-wh-table th,
.demo-wh-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.05));
}

.demo-wh-table th {
  position: sticky;
  top: 0;
  background: var(--surface-raised, #1e1f25);
  font-weight: 600;
  color: var(--text-tertiary, #6b7280);
}

.demo-wh-link {
  font: inherit;
  font-size: 11px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-muted, #828fff);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.demo-wh-ops {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  max-width: 220px;
}

.demo-wh-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
}

.demo-wh-tag.is-done {
  background: rgba(134, 239, 172, 0.12);
  color: #86efac;
}

.demo-wh-tag.is-warn {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
}

.demo-wh-count-layout {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 12px;
}

.demo-wh-count-tasks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-wh-task {
  text-align: left;
  font: inherit;
  font-size: 11px;
  line-height: 1.4;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary, #9ca3af);
  cursor: pointer;
}

.demo-wh-task.is-active {
  border-color: rgba(94, 106, 210, 0.45);
  background: rgba(94, 106, 210, 0.1);
  color: var(--text-primary, #f7f8f8);
}

.demo-wh-plan-note {
  margin: 8px 0 0;
  font-size: 10px;
  color: var(--text-tertiary, #6b7280);
}

.demo-wh-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.demo-wh-legend--inline {
  margin-bottom: 8px;
}

.demo-wh-legend-item {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.demo-wh-legend-item.is-miss,
.demo-wh-row-miss {
  background: rgba(248, 113, 113, 0.12);
  color: #fca5a5;
}

.demo-wh-legend-item.is-ok,
.demo-wh-row-ok {
  background: rgba(255, 255, 255, 0.03);
}

.demo-wh-legend-item.is-new {
  background: rgba(134, 239, 172, 0.1);
  color: #86efac;
}

.demo-wh-legend-item.is-change,
.demo-wh-row-change {
  background: rgba(251, 191, 36, 0.12);
  color: #fcd34d;
}

.demo-wh-dialog {
  max-width: min(520px, 92vw);
  padding: 0;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  border-radius: 12px;
  background: var(--surface-panel, #16171c);
  color: inherit;
}

.demo-wh-dialog--wide {
  max-width: min(560px, 94vw);
}

.demo-wh-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.demo-wh-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.demo-wh-dialog-close {
  font-size: 20px;
  line-height: 1;
  border: 0;
  background: none;
  color: var(--text-secondary, #9ca3af);
  cursor: pointer;
}

.demo-wh-dialog-body {
  padding: 14px;
}

.demo-wh-dialog-tabs {
  display: flex;
  gap: 4px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.demo-wh-dialog-tabs button {
  font: inherit;
  font-size: 11px;
  padding: 8px 10px;
  border: 0;
  background: none;
  color: var(--text-tertiary, #6b7280);
}

.demo-wh-dialog-tabs button.is-active {
  color: var(--accent-muted, #828fff);
  box-shadow: inset 0 -2px 0 var(--accent-muted, #828fff);
}

.demo-wh-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.demo-wh-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
  color: var(--text-tertiary, #6b7280);
}

.demo-wh-form-grid input,
.demo-wh-form-grid select {
  font: inherit;
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
}

.demo-wh-dialog-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.demo-inbound-cascade {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.demo-inbound-cascade select {
  font: inherit;
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
}

.demo-inbound-slots.is-muted {
  opacity: 0.35;
  pointer-events: none;
}

.demo-inbound-rec-status {
  font-size: 12px;
  color: var(--accent-muted, #828fff);
  margin: 0 0 10px;
}

.demo-rfid-path-play {
  margin: 8px 0 10px;
  font-size: 12px;
  padding: 8px 14px;
}

.demo-rfid-tab-3d {
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.02);
}

.demo-rfid-tab-3d-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.demo-rfid-tab-3d-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.demo-rfid-tab-3d-head .demo-kicker {
  margin: 0;
}

.demo-rfid-tab-3d-stage {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  background: #0e0f12;
  min-height: 200px;
}

.demo-rfid-tab-3d-stage canvas {
  display: block;
  width: 100%;
  height: auto;
  min-height: 200px;
  touch-action: none;
  cursor: grab;
}

.demo-rfid-tab-3d-stage canvas:active {
  cursor: grabbing;
}

.demo-rfid-tab-3d-hint {
  margin: 8px 0 0;
  font-size: 11px;
}

.demo-panel--3d-first {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-rfid-tab-foot {
  align-items: start;
  gap: 16px;
  min-height: 0;
}

.demo-rfid-companion {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.02);
  min-height: 100%;
}

.demo-rfid-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin: 12px 0 14px;
  font-size: 12px;
}

.demo-rfid-meta-grid dt {
  margin: 0;
  color: var(--text-tertiary, #6b7280);
  font-weight: 500;
}

.demo-rfid-meta-grid dd {
  margin: 4px 0 0;
  color: var(--text-primary, #f3f4f6);
  font-weight: 600;
}

.demo-timeline--compact {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.45;
}

.demo-timeline--compact li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.demo-timeline--compact li:last-child {
  border-bottom: 0;
}

.demo-table--compact th,
.demo-table--compact td {
  padding: 6px 8px;
  font-size: 12px;
}

.demo-disk-visual--grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  flex-wrap: unset;
}

.demo-disk-visual--grid .disk-cell {
  flex: unset;
  min-height: 44px;
}

.demo-rfid-tab-3d--primary {
  margin-bottom: 0;
  order: -1;
}

.demo-rfid-tab-3d--primary .demo-rfid-tab-3d-stage {
  min-height: 280px;
  position: relative;
}

.demo-rfid-tab-3d--primary .demo-rfid-tab-3d-stage canvas {
  min-height: 280px;
}

.demo-rfid-tab-3d-overlay {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 8px;
  pointer-events: none;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.demo-rfid-tab-3d-overlay span {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-rfid-tab-3d-dim {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: 200px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.demo-rfid-tab-3d-legend {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.demo-rfid-tab-3d-legend ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.demo-rfid-tab-3d-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.demo-rfid-tab-3d-legend .swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.demo-rfid-tab-3d-floors {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: auto;
  z-index: 2;
}

.demo-rfid-tab-3d-floors-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  margin-right: 4px;
}

.demo-rfid-floor-btn {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.demo-rfid-floor-btn.is-on {
  background: rgba(94, 106, 210, 0.35);
  border-color: rgba(130, 143, 255, 0.45);
}

.demo-rfid-floor-btn.is-off {
  opacity: 0.42;
  text-decoration: line-through;
}

.demo-rfid-tab-3d--primary .demo-rfid-tab-3d-load {
  font-size: 11px;
  padding: 6px 10px;
  opacity: 0.85;
}

.demo-panel[data-demo-panel="trajectory"] .demo-split,
.demo-panel[data-demo-panel="classified"] .demo-cabinets,
.demo-panel[data-demo-panel="disk"] .demo-disk-visual {
  margin-top: 0;
}

@media (max-width: 760px) {
  .demo-wh-count-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .demo-proc-flow {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: clamp(520px, 70vh, 640px);
  }

  .demo-proc-flow-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 112px;
    border-right: 0;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
    padding-bottom: 8px;
  }

  .demo-proc-flow-nav-phase {
    width: 100%;
  }

  .demo-proc-flow-nav-item {
    width: auto;
    flex: 1 1 auto;
  }

  .demo-proc-flow-rail {
    border-left: 0;
    padding-left: 0;
    max-height: 200px;
  }
}
