/* ============================================================
   Perspective Experience Overlay (视角体验模式)
   Apple-style: full-screen, restrained animations, clear focus
   ============================================================ */
:root {
  --perspective-bg-a: #ffffff;
  --perspective-bg-b: #000000;
  --perspective-topbar-h: 64px;
  --perspective-bottombar-h: 80px;
  --scene-anim: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Root overlay */
.perspective-overlay {
  position: fixed; inset: 0;
  z-index: 1000;
  background: var(--perspective-bg-a);
  color: var(--c-title);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-apple);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.perspective-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
/* 商安侧统一使用与业务侧一致的白色 apple 风，不再启用黑色主题 */
.perspective-overlay.mode-com {
  background: var(--perspective-bg-a);
  color: var(--c-title);
}

body.perspective-active { overflow: hidden; }

/* -------- Top bar -------- */
.perspective-topbar {
  height: var(--perspective-topbar-h);
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  flex-shrink: 0;
  z-index: 10;
}
.perspective-overlay.mode-com .perspective-topbar {
  background: rgba(0,0,0,0.85);
  border-bottom-color: rgba(255,255,255,0.08);
}

.perspective-title {
  display: flex; flex-direction: column; gap: 2px;
  font-family: var(--font-sans);
}
.perspective-title__side {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--c-accent);
  text-transform: uppercase;
}
.perspective-title__main {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Switch (A/B) */
.perspective-switch {
  display: inline-flex;
  background: rgba(0,0,0,0.06);
  border-radius: 100px;
  padding: 3px;
}
.perspective-overlay.mode-com .perspective-switch {
  background: rgba(255,255,255,0.08);
}
.perspective-switch button {
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s var(--ease-apple), color 0.25s var(--ease-apple);
  letter-spacing: -0.005em;
}
.perspective-switch button.is-active {
  background: #ffffff;
  color: var(--c-title);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.perspective-overlay.mode-com .perspective-switch button.is-active {
  background: #0071e3;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,113,227,0.35);
}

/* Close */
.perspective-close {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: background 0.25s var(--ease-apple);
}
.perspective-close:hover { background: rgba(0,0,0,0.08); }
.perspective-overlay.mode-com .perspective-close:hover { background: rgba(255,255,255,0.12); }

/* -------- Stage -------- */
.perspective-stage {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  padding: clamp(20px, 3.5vh, 40px) clamp(24px, 6vw, 80px) clamp(20px, 3.5vh, 40px);
  display: flex; flex-direction: column;
  scroll-behavior: smooth;
}
/* 细滚动条不打断 apple 风 */
.perspective-stage::-webkit-scrollbar { width: 6px; }
.perspective-stage::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }
.perspective-overlay.mode-com .perspective-stage::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); }

.scene {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* 不用 center：unsafe center 会在内容略高于容器时向上溢出被裁 */
  gap: 22px;
  animation: sceneIn 0.6s var(--ease-apple);
}
.scene.is-leaving {
  animation: sceneOut 0.35s var(--ease-apple) forwards;
}
@keyframes sceneIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sceneOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-16px); }
}

.scene__visual {
  flex: 0 0 auto;
  min-height: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  width: 100%;
}
.scene__meta {
  flex: 0 0 auto;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 4px;
}
.scene__act-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--c-subtitle);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.perspective-overlay.mode-com .scene__act-tag { color: var(--c-body-inverse); }
.scene__title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.scene__desc {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.55;
  color: var(--c-subtitle);
  letter-spacing: -0.005em;
  max-width: 720px;
  margin: 0 auto;
}
.perspective-overlay.mode-com .scene__desc { color: var(--c-body-inverse); }

/* -------- Bottom bar -------- */
.perspective-bottombar {
  height: var(--perspective-bottombar-h);
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
  gap: 16px;
}
.perspective-overlay.mode-com .perspective-bottombar {
  border-top-color: rgba(255,255,255,0.08);
}

.perspective-progress {
  display: flex; gap: 8px; flex: 1;
}
.perspective-progress__dot {
  height: 3px;
  flex: 1;
  max-width: 60px;
  background: rgba(0,0,0,0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.perspective-overlay.mode-com .perspective-progress__dot { background: rgba(255,255,255,0.15); }
.perspective-progress__dot::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-apple);
}
.perspective-progress__dot.is-active::after { transform: scaleX(var(--progress, 0)); }
.perspective-progress__dot.is-done::after { transform: scaleX(1); }

.perspective-controls {
  display: flex; align-items: center; gap: 8px;
}
.perspective-controls button {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.15);
  color: inherit;
  font: inherit;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease-apple);
  letter-spacing: -0.005em;
  min-width: 88px;
}
.perspective-overlay.mode-com .perspective-controls button {
  border-color: rgba(255,255,255,0.2);
}
.perspective-controls button:hover:not(:disabled) {
  background: rgba(0,0,0,0.06);
}
.perspective-overlay.mode-com .perspective-controls button:hover:not(:disabled) {
  background: rgba(255,255,255,0.08);
}
.perspective-controls button:disabled { opacity: 0.35; cursor: not-allowed; }
.perspective-controls .btn-autoplay.is-playing {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.perspective-step {
  font-size: 12px;
  color: var(--c-subtitle);
  min-width: 48px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.perspective-overlay.mode-com .perspective-step { color: var(--c-body-inverse); }

/* =============================================================
   Scene-specific visuals
   ============================================================= */

/* --- 通用：卡片、面板 --- */
.mock-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}
.perspective-overlay.mode-com .mock-card {
  background: #1d1d1f;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.08);
  color: #f5f5f7;
}

/* --- Scene BIZ-1 · 企微表格 --- */
.wecom-table {
  width: 100%; max-width: 900px;
  font-size: 13px;
  border-radius: 12px;
  overflow: hidden;
}
.wecom-table__header {
  background: #f5f5f7;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: 100px 1.5fr 2fr 100px;
  gap: 16px;
  font-weight: 600;
  color: var(--c-title);
  font-size: 12px;
  letter-spacing: -0.005em;
}
.wecom-table__row {
  padding: 8px 20px;
  display: grid;
  grid-template-columns: 100px 1.5fr 2fr 100px;
  gap: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  animation: rowSlideIn 0.4s var(--ease-apple) forwards;
  font-variant-numeric: tabular-nums;
}
@keyframes rowSlideIn {
  to { opacity: 1; transform: translateY(0); }
}
.wecom-table__status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255, 149, 0, 0.15);
  color: #ff9500;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.wecom-table__status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.wecom-table__addr {
  color: var(--c-subtitle);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Scene BIZ-2 · Terminal --- */
.mock-terminal {
  background: #0d0d0f;
  color: #e5e5ea;
  border-radius: 12px;
  padding: 24px 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  width: 100%; max-width: 880px;
  min-height: 340px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}
.mock-terminal__dots {
  display: flex; gap: 6px;
  margin-bottom: 20px;
}
.mock-terminal__dots span {
  width: 11px; height: 11px; border-radius: 50%;
}
.mock-terminal__dots span:nth-child(1) { background: #ff5f56; }
.mock-terminal__dots span:nth-child(2) { background: #ffbd2e; }
.mock-terminal__dots span:nth-child(3) { background: #27c93f; }
.mock-terminal__line {
  opacity: 0;
  animation: fadeIn 0.3s var(--ease-apple) forwards;
}
.mock-terminal__line .ts { color: #6e6e73; margin-right: 12px; }
.mock-terminal__line .ok { color: #34c759; }
.mock-terminal__line .info { color: #64d2ff; }
@keyframes fadeIn { to { opacity: 1; } }
.mock-terminal__progress {
  margin-top: 16px;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.mock-terminal__progress::after {
  content: ''; display: block; height: 100%;
  background: var(--c-accent);
  animation: progressBar 4s linear forwards;
}
@keyframes progressBar { from { width: 0; } to { width: 100%; } }

/* --- Scene BIZ-3 · OA Form --- */
.oa-form {
  width: 100%; max-width: 880px;
  padding: 22px 32px;
  border-radius: 16px;
}
.oa-form__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex; align-items: center; gap: 8px;
}
.oa-form__title::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent);
  animation: pulse 1.4s ease-in-out infinite;
}
.oa-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  margin-bottom: 12px;
}
.oa-form__field {
  display: flex; flex-direction: column; gap: 6px;
}
.oa-form__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--c-subtitle);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.oa-form__value {
  font-size: 15px;
  min-height: 22px;
  color: var(--c-title);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 6px;
  letter-spacing: -0.01em;
  font-family: var(--font-sans);
}
.oa-form__caret::after {
  content: '|';
  color: var(--c-accent);
  animation: caretBlink 1s step-end infinite;
  margin-left: 2px;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.oa-form__attach {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.oa-form__attach-label {
  font-size: 11px;
  color: var(--c-subtitle);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
  width: 100%;
  margin-bottom: 6px;
}
.oa-form__attach-item {
  width: 60px; height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, #dfe4ea, #edf0f4);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--c-subtitle);
  opacity: 0;
  transform: scale(0.7);
  animation: attachPop 0.35s var(--ease-apple) forwards;
  font-weight: 500;
  letter-spacing: -0.005em;
}
@keyframes attachPop {
  to { opacity: 1; transform: scale(1); }
}
.perspective-overlay.mode-com .oa-form__value { color: #f5f5f7; border-color: rgba(255,255,255,0.15); }
.perspective-overlay.mode-com .oa-form__title { border-color: rgba(255,255,255,0.1); }
.perspective-overlay.mode-com .oa-form__attach { border-color: rgba(255,255,255,0.08); }

/* --- Scene BIZ-4 · AI Prereview --- */
.prereview {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 1080px;
}
.prereview__panel {
  padding: 24px;
  border-radius: 16px;
  min-height: 320px;
  display: flex; flex-direction: column;
}
.prereview__panel h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-subtitle);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.prereview__thumb-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.prereview__thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #dfe4ea, #edf0f4);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--c-subtitle);
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 4px;
  text-align: center;
}
.prereview__ocr-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
  font-size: 13px;
  opacity: 0;
  animation: fadeIn 0.4s var(--ease-apple) forwards;
}
.perspective-overlay.mode-com .prereview__ocr-item { border-color: rgba(255,255,255,0.08); }
.prereview__ocr-key { color: var(--c-subtitle); font-size: 11px; letter-spacing: 0.02em; text-transform: uppercase; }
.prereview__ocr-val { font-weight: 500; }
.prereview__ocr-val--ok::after { content: ' ✓'; color: #34c759; margin-left: 4px; }
.prereview__ocr-val--flag::after { content: ' !'; color: #ff9500; margin-left: 4px; font-weight: 700; }

/* Probability ring */
.prob-ring {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.prob-ring svg { width: 180px; height: 180px; }
.prob-ring__list {
  width: 100%;
  font-size: 12px;
}
.prob-ring__list-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  opacity: 0;
  animation: fadeIn 0.4s var(--ease-apple) forwards;
}
.prob-ring__list-item .bar {
  flex: 1; margin: 0 12px;
  height: 4px;
  background: rgba(0,0,0,0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.perspective-overlay.mode-com .prob-ring__list-item .bar { background: rgba(255,255,255,0.1); }
.prob-ring__list-item .bar::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--c-accent);
  transform: scaleX(var(--w, 0));
  transform-origin: left;
  transition: transform 0.8s var(--ease-apple) 0.4s;
}

.prereview__verdict {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  background: rgba(255, 149, 0, 0.15);
  color: #ff9500;
  border: 1px solid rgba(255, 149, 0, 0.25);
  opacity: 0;
  animation: fadeIn 0.5s var(--ease-apple) 1.5s forwards;
}
.prereview__verdict-badge {
  padding: 2px 8px;
  border-radius: 100px;
  background: currentColor;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.prereview__verdict-badge::after {
  content: attr(data-text);
  color: #fff;
}

/* --- Scene BIZ-5 · Batch result board --- */
.batch-board {
  width: 100%;
  max-width: 900px;
}
.batch-board__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.batch-card {
  padding: 16px;
  border-radius: 12px;
  background: #f5f5f7;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s var(--ease-apple);
  transform: scale(0.9);
  opacity: 0;
  animation: cardPop 0.4s var(--ease-apple) forwards;
}
@keyframes cardPop { to { opacity: 1; transform: scale(1); } }
.perspective-overlay.mode-com .batch-card { background: #1d1d1f; border-color: rgba(255,255,255,0.05); }
.batch-card__id {
  font-size: 10px;
  color: var(--c-subtitle);
  font-family: var(--font-mono);
  margin-bottom: 6px;
}
.batch-card__name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
  min-height: 32px;
  color: var(--c-title);
  letter-spacing: -0.005em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.perspective-overlay.mode-com .batch-card__name { color: #f5f5f7; }
.batch-card__status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.batch-card--pass { border-left: 3px solid #34c759; }
.batch-card--pass .batch-card__status { background: rgba(52,199,89,0.15); color: #34c759; }
.batch-card--flag { border-left: 3px solid #ff9500; }
.batch-card--flag .batch-card__status { background: rgba(255,149,0,0.15); color: #ff9500; }
.batch-card--reject { border-left: 3px solid #ff3b30; }
.batch-card--reject .batch-card__status { background: rgba(255,59,48,0.15); color: #ff3b30; }
.batch-summary {
  display: flex; justify-content: center; gap: 32px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(0,113,227,0.06);
  color: var(--c-title);
}
.perspective-overlay.mode-com .batch-summary { background: rgba(41,151,255,0.1); color: #f5f5f7; }
.batch-summary__item {
  text-align: center;
}
.batch-summary__num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-accent);
  line-height: 1;
}
.perspective-overlay.mode-com .batch-summary__num { color: #2997ff; }
.batch-summary__lbl {
  font-size: 11px;
  color: var(--c-subtitle);
  margin-top: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* --- Scene COM-1 · Timeline + Batch arrival --- */
.com-timeline {
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  width: 100%; max-width: 720px;
}
.com-timeline__clock {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--c-title-inverse);
  line-height: 1;
}
.com-timeline__clock .unit {
  font-size: 0.4em;
  color: var(--c-subtitle);
  margin-left: 8px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.com-timeline__caption {
  font-size: 14px;
  color: var(--c-body-inverse);
  letter-spacing: -0.005em;
}
.com-timeline__batch {
  padding: 24px 36px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 20px;
  opacity: 0;
  animation: dropIn 0.6s var(--ease-apple) 1.4s forwards;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}
.com-timeline__batch-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}
.com-timeline__batch-text {
  display: flex; flex-direction: column; gap: 2px;
}
.com-timeline__batch-title { font-size: 15px; font-weight: 600; color: #f5f5f7; }
.com-timeline__batch-sub { font-size: 12px; color: var(--c-body-inverse); letter-spacing: 0.02em; }

/* --- Scene COM-2 · API stream panel --- */
.api-panel {
  width: 100%; max-width: 880px;
  padding: 28px 32px;
  border-radius: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  background: #0d0d0f;
  color: #e5e5ea;
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 340px;
}
.api-panel__endpoint {
  font-size: 11px;
  color: #64d2ff;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}
.api-panel__endpoint .method {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  background: rgba(100,210,255,0.15);
  color: #64d2ff;
  margin-right: 8px;
  font-weight: 600;
}
.api-panel__field {
  display: flex; align-items: baseline; gap: 12px;
  padding: 4px 0;
  opacity: 0;
  animation: fadeIn 0.3s var(--ease-apple) forwards;
}
.api-panel__field-key { color: #8e8e93; min-width: 200px; }
.api-panel__field-val { color: #e5e5ea; }
.api-panel__field-val--ok { color: #34c759; }

/* --- Scene COM-3 · Diff table --- */
.diff-table {
  width: 100%; max-width: 900px;
  border-radius: 16px;
  overflow: hidden;
}
.diff-table__head {
  padding: 16px 24px;
  background: rgba(255,255,255,0.05);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--c-body-inverse);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.diff-table__row {
  padding: 16px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  align-items: center;
  opacity: 0;
  animation: fadeIn 0.4s var(--ease-apple) forwards;
}
.diff-table__row:last-child { border-bottom: none; }
.diff-table__row--diff { background: rgba(255,59,48,0.08); }
.diff-table__row--diff-warn { background: rgba(255,149,0,0.08); }
.diff-table__row-item { color: #f5f5f7; letter-spacing: -0.005em; }
.diff-table__row-item--muted { color: var(--c-body-inverse); }
.diff-table__badge {
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.diff-table__badge--ok { background: rgba(52,199,89,0.2); color: #34c759; }
.diff-table__badge--warn { background: rgba(255,149,0,0.2); color: #ff9500; }
.diff-table__badge--crit { background: rgba(255,59,48,0.2); color: #ff3b30; }

/* --- Scene COM-4 · Three pipes --- */
.pipes {
  width: 100%;
  max-width: 900px;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 16px;
}
.pipes__svg { width: 100%; height: auto; }
.pipes__legend {
  display: flex; justify-content: center; gap: 24px;
  margin-top: 4px;
  font-size: 12px;
}
.pipes__legend-item { display: flex; align-items: center; gap: 6px; color: var(--c-body); }
.pipes__legend-dot { width: 10px; height: 10px; border-radius: 50%; }

/* --- Scene COM-5 · Reports + Rule promotion --- */
.review-final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  width: 100%;
  max-width: 1000px;
}
.review-final__list {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.review-final__list h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #f5f5f7;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.review-final__report {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  margin-bottom: 8px;
  font-size: 13px;
  color: #f5f5f7;
  opacity: 0;
  animation: fadeIn 0.4s var(--ease-apple) forwards;
}
.review-final__report-tick {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--c-body-inverse);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; color: transparent;
  transition: all 0.4s var(--ease-apple);
  flex-shrink: 0;
}
.review-final__report.is-done .review-final__report-tick {
  background: #34c759;
  border-color: #34c759;
  color: #fff;
}
.review-final__report.is-done .review-final__report-tick::after { content: '✓'; }

/* CSS-only auto-done flow (for static snapshots / low-motion setups) */
.review-final__report--auto .review-final__report-tick {
  animation: reportTickBg 0.4s var(--ease-apple) var(--tickDelay, 1s) forwards;
}
.review-final__report--auto .review-final__report-tick::after {
  content: '✓';
  color: transparent;
  animation: reportTickCk 0.4s var(--ease-apple) var(--tickDelay, 1s) forwards;
}
@keyframes reportTickBg {
  to { background: #34c759; border-color: #34c759; }
}
@keyframes reportTickCk {
  to { color: #fff; }
}
.review-final__ring {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; align-items: center;
}
.review-final__ring h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #f5f5f7;
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}

/* =============================================================
 *  Perspective V2 additions · 第 1 幕 toolbar · 附件缩略图 · AI 预审 v2 · 行业判定
 * ============================================================= */

/* --- 第 1 幕：企微智能表格顶部提交状态 toolbar --- */
.wecom-table__toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 22px;
  background: linear-gradient(180deg, rgba(0,113,227,0.05), rgba(0,113,227,0.02));
  border-bottom: 1px solid rgba(0,0,0,0.05);
  border-radius: 16px 16px 0 0;
  font-size: 12px;
  letter-spacing: -0.005em;
  opacity: 0;
  animation: fadeIn 0.4s var(--ease-apple) forwards;
}
.wecom-table__toolbar-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
  color: var(--c-title);
}
.wecom-table__toolbar-right {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-subtitle);
  font-size: 11px;
}
.wecom-table__toolbar-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ff9500;
  box-shadow: 0 0 0 0 rgba(255,149,0,0.4);
  animation: dotPulseOrange 1.6s ease-out infinite;
}
@keyframes dotPulseOrange {
  0% { box-shadow: 0 0 0 0 rgba(255,149,0,0.4); }
  70% { box-shadow: 0 0 0 6px rgba(255,149,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,149,0,0); }
}

/* --- 附件缩略图（第 3 幕 OA 表单 & 第 4 幕 OCR 图文核对复用） --- */
.oa-form__attach-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 4px;
  width: 100%;
  max-width: 620px;
  margin-left: auto; margin-right: auto;
}
.attach-thumb {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  opacity: 0;
  animation: attachPop 0.5s var(--ease-apple) forwards;
}
@keyframes attachPop {
  from { opacity: 0; transform: translateY(6px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.attach-thumb__pic {
  width: 100%; aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f8fa 0%, #ececf0 100%);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: transform 0.25s var(--ease-apple), box-shadow 0.25s var(--ease-apple);
}
.attach-thumb__pic svg { width: 100%; height: 100%; display: block; }
.attach-thumb:hover .attach-thumb__pic {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.attach-thumb__label {
  font-size: 11px;
  color: var(--c-subtitle);
  letter-spacing: -0.005em;
  text-align: center;
}
.perspective-overlay.mode-com .attach-thumb__pic {
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border-color: rgba(255,255,255,0.1);
}
.perspective-overlay.mode-com .attach-thumb__label { color: var(--c-body-inverse); }

/* --- 第 4 幕 AI 预审 v2 layout: 3 列并排 --- */
.prereview-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 16px;
  width: 100%;
  max-width: 1240px;
  align-items: stretch;
}
.prereview-v2__card {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
}
.prereview-v2__card--rose {
  padding: 14px 18px 12px;
}
.prereview-v2__scroll {
  flex: 1;
}
.prereview-v2__step {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.prereview-v2__step-num {
  font-size: 16px; font-weight: 700;
  color: #0071e3;
  min-width: 22px;
  line-height: 1.2;
}
.prereview-v2__step-body {
  flex: 1;
}
.prereview-v2__step-title {
  font-size: 13px; font-weight: 600;
  color: var(--c-title);
  letter-spacing: -0.005em;
}
.prereview-v2__step-hint {
  margin-top: 2px;
  font-size: 11px;
  color: var(--c-subtitle);
  letter-spacing: -0.005em;
}

@media (max-width: 1080px) {
  .prereview-v2 { grid-template-columns: 1fr; max-width: 720px; }
}

/* OCR 图文核对行 */
.prereview__ocr-pic-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
  opacity: 0;
  animation: fadeIn 0.4s var(--ease-apple) forwards;
}
.prereview__ocr-pic-row:last-child { border-bottom: none; }
.prereview__ocr-pic {
  width: 46px; height: 46px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f8fa, #ececf0);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 3px;
  flex-shrink: 0;
}
.prereview__ocr-pic svg { width: 100%; height: 100%; display: block; }
.prereview__ocr-pic-body { flex: 1; min-width: 0; }
.prereview__ocr-pic-name {
  font-size: 12px; font-weight: 600;
  color: var(--c-title);
  letter-spacing: -0.005em;
}
.prereview__ocr-pic-val {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prereview__ocr-pic-match {
  margin-top: 3px;
  font-size: 11px;
  color: #34c759;
  letter-spacing: -0.005em;
}
.prereview__ocr-pic-match--flag {
  color: #ff9500;
  font-weight: 500;
}

/* --- 行业判定 --- */
.prereview-v2__rose-card {
  padding: 18px 22px 20px;
  display: flex; flex-direction: column;
}
.rose {
  display: flex; flex-direction: column;
  align-items: stretch;
  gap: 14px;
  color: var(--c-title);
}
.rose__svg {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: block;
}
.rose__sector {
  fill: rgba(0,113,227,0.16);
  stroke: rgba(0,113,227,0.35);
  stroke-width: 1;
  cursor: pointer;
  transition: fill 0.25s var(--ease-apple),
              stroke 0.25s var(--ease-apple),
              stroke-width 0.25s var(--ease-apple),
              filter 0.25s var(--ease-apple);
}
.rose__sector--mid {
  fill: rgba(0,113,227,0.32);
  stroke: rgba(0,113,227,0.55);
}
.rose__sector--high {
  fill: rgba(0,113,227,0.55);
  stroke: #0071e3;
}
.rose__sector--banned {
  fill: rgba(255,59,48,0.55);
  stroke: #ff3b30;
}
.rose__sector:hover {
  fill: rgba(0,113,227,0.75);
  stroke-width: 1.5;
}
.rose__sector--banned:hover {
  fill: rgba(255,59,48,0.78);
}
.rose__sector.is-selected {
  fill: rgba(0,113,227,0.9);
  stroke-width: 2;
  filter: drop-shadow(0 2px 6px rgba(0,113,227,0.35));
}
.rose__sector--banned.is-selected {
  fill: rgba(255,59,48,0.92);
  filter: drop-shadow(0 2px 6px rgba(255,59,48,0.4));
}
.rose__label {
  font-size: 10.5px;
  fill: #6e6e73;
  font-weight: 500;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.01em;
}
.rose__label--banned {
  fill: #ff3b30;
  font-weight: 600;
}

/* Rose panel */
.rose__panel {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0,113,227,0.06);
  border: 1px solid rgba(0,113,227,0.14);
  transition: background 0.3s var(--ease-apple), border-color 0.3s var(--ease-apple);
}
.rose__panel-lbl {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--c-subtitle);
  text-transform: uppercase;
  font-weight: 500;
}
.rose__panel-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 4px;
}
.rose__panel-name {
  font-size: 14.5px; font-weight: 600;
  color: var(--c-title);
  letter-spacing: -0.01em;
}
.rose__panel-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,59,48,0.14);
  color: #ff3b30;
  font-size: 10px;
  font-weight: 600;
  vertical-align: middle;
  letter-spacing: 0.02em;
}
.rose__panel-p {
  font-size: 26px; font-weight: 700;
  color: #0071e3;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.rose__panel-note {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--c-body);
  line-height: 1.55;
  letter-spacing: -0.005em;
}

/* (duplicate media query removed — see .prereview-v2 block above) */

/* =============================================================
 *  第 5 幕 · 人工兜底提交板 + Modal 详情
 * ============================================================= */

.submit-board {
  width: 100%;
  max-width: 1160px;
  display: flex; flex-direction: column;
  gap: 18px;
}

/* Toolbar */
.submit-board__toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 0 4px;
  flex-wrap: wrap;
}
.submit-board__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-title);
  letter-spacing: -0.01em;
}
.submit-board__stats {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--c-body);
}
.submit-stat {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
  color: var(--c-body);
  letter-spacing: -0.005em;
}
.submit-stat b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.submit-stat--suggest { background: rgba(52,199,89,0.10); color: #248a3d; }
.submit-stat--pending { background: rgba(255,149,0,0.10); color: #c86200; }
.submit-stat--reject  { background: rgba(255,59,48,0.10); color: #c9302c; }
.submit-stat--done    { background: rgba(0,113,227,0.10); color: #0071e3; }

/* Grid */
.submit-board__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .submit-board__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Cards - 整卡浅色区分色，无彩色边线 */
.submit-card {
  padding: 16px 16px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  cursor: pointer;
  transition: transform 0.25s var(--ease-apple),
              box-shadow 0.25s var(--ease-apple),
              background 0.25s var(--ease-apple);
  opacity: 0;
  transform: translateY(6px);
  animation: cardIn 0.5s var(--ease-apple) forwards;
  display: flex; flex-direction: column;
  gap: 6px;
  min-height: 168px;
}
@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}
.submit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
/* 整卡浅色区分色（无边线） */
.submit-card--suggest { background: #eef8f0; }
.submit-card--suggest:hover { background: #e4f3e7; }
.submit-card--pending { background: #fdf3e4; }
.submit-card--pending:hover { background: #fbecd4; }
.submit-card--reject  { background: #fdecec; }
.submit-card--reject:hover  { background: #fbe0e0; }

.submit-card__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
}
.submit-card__id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-subtitle);
  letter-spacing: 0.02em;
}
.submit-card__tag {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.submit-card__name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-title);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.submit-card__sub {
  font-size: 11px;
  color: var(--c-subtitle);
  letter-spacing: -0.005em;
}
.submit-card__reason {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(0,0,0,0.06);
  font-size: 11.5px;
  color: var(--c-body);
  line-height: 1.5;
  display: flex; gap: 6px; align-items: flex-start;
}
.submit-card__reason-lbl {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 15px;
  padding: 0 5px;
  border-radius: 4px;
  background: linear-gradient(135deg, #0071e3, #2997ff);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  margin-top: 1px;
}
.submit-card__foot {
  display: flex; justify-content: flex-end;
  margin-top: 4px;
}
.submit-card__cta {
  font-size: 11px;
  color: #0071e3;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.submit-card.is-submitted {
  opacity: 0.7;
  background: #e8f1fc;
  cursor: default;
}
.submit-card.is-submitted:hover {
  transform: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  background: #e8f1fc;
}

/* Hint under grid */
.submit-board__hint {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0,113,227,0.05);
  border: 1px solid rgba(0,113,227,0.12);
  font-size: 12px;
  color: var(--c-body);
  letter-spacing: -0.005em;
  align-self: flex-start;
}
.submit-board__hint-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #0071e3;
  flex-shrink: 0;
}

/* =============================================================
 *  Modal
 * ============================================================= */
.submit-modal {
  position: fixed; inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease-apple);
}
.submit-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}
.submit-modal__mask {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.submit-modal__panel {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -48%) scale(0.98);
  width: min(720px, calc(100vw - 40px));
  max-height: calc(100vh - 80px);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s var(--ease-apple);
}
.submit-modal.is-open .submit-modal__panel {
  transform: translate(-50%, -50%) scale(1);
}

.submit-modal__header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  gap: 16px;
}
.submit-modal__pretitle {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  color: var(--c-subtitle);
  margin-bottom: 4px;
}
.submit-modal__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--c-title);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.submit-modal__close {
  background: transparent;
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 15px;
  color: var(--c-subtitle);
  cursor: pointer;
  transition: background 0.2s var(--ease-apple), color 0.2s var(--ease-apple);
  flex-shrink: 0;
}
.submit-modal__close:hover {
  background: rgba(0,0,0,0.06);
  color: var(--c-title);
}

.submit-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px 8px;
}

.submit-modal__fields {
  display: flex; flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  margin-bottom: 16px;
}
.submit-modal__field {
  display: flex;
  gap: 12px;
  font-size: 12.5px;
  line-height: 1.45;
}
.submit-modal__field-lbl {
  min-width: 96px;
  color: var(--c-subtitle);
  letter-spacing: -0.005em;
}
.submit-modal__field-val {
  color: var(--c-title);
  flex: 1;
  word-break: break-word;
  letter-spacing: -0.005em;
}

.submit-modal__section-lbl {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--c-subtitle);
  text-transform: uppercase;
  margin-top: 4px;
  margin-bottom: 10px;
  font-weight: 500;
}

.submit-modal__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.submit-modal__thumb {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
}
.submit-modal__thumb-pic {
  width: 100%; aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f8fa 0%, #ececf0 100%);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 4px;
}
.submit-modal__thumb-pic svg { width: 100%; height: 100%; display: block; }
.submit-modal__thumb-label {
  font-size: 10.5px;
  color: var(--c-subtitle);
  letter-spacing: -0.005em;
}

.submit-modal__ai {
  padding: 12px 14px 14px 14px;
  border-radius: 10px;
  background: rgba(0,0,0,0.03);
  margin-bottom: 12px;
}
/* 按 AI 建议类型给整块浅色底（对应卡片配色） */
.submit-modal__ai--suggest { background: #eef8f0; }
.submit-modal__ai--pending { background: #fdf3e4; }
.submit-modal__ai--reject  { background: #fdecec; }
.submit-modal__ai--done    { background: #e8f1fc; }
.submit-modal__ai-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.submit-modal__ai-body {
  font-size: 12.5px;
  color: var(--c-body);
  line-height: 1.65;
  letter-spacing: -0.005em;
}

.submit-modal__footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
  gap: 14px;
  background: rgba(0,0,0,0.015);
}
.submit-modal__foot-hint {
  font-size: 11.5px;
  color: var(--c-subtitle);
  line-height: 1.5;
  letter-spacing: -0.005em;
  flex: 1;
}
.submit-modal__btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-apple),
              box-shadow 0.2s var(--ease-apple),
              background 0.2s var(--ease-apple);
  white-space: nowrap;
}
.submit-modal__btn--primary {
  background: #0071e3;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0,113,227,0.28);
}
.submit-modal__btn--primary:hover {
  background: #0077ed;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,113,227,0.35);
}
.submit-modal__btn--caution {
  background: rgba(255,149,0,0.14);
  color: #c86200;
  border: 1px solid rgba(255,149,0,0.35);
}
.submit-modal__btn--caution:hover {
  background: rgba(255,149,0,0.22);
  transform: translateY(-1px);
}
.submit-modal__btn--danger {
  background: rgba(255,59,48,0.10);
  color: #c9302c;
  border: 1px solid rgba(255,59,48,0.35);
}
.submit-modal__btn--danger:hover {
  background: rgba(255,59,48,0.18);
  transform: translateY(-1px);
}
.submit-modal__btn--done {
  background: rgba(0,113,227,0.12);
  color: #0071e3;
  cursor: default;
}
.submit-modal__done-tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #0071e3;
  color: #ffffff;
  font-size: 9px;
  margin-right: 6px;
  vertical-align: middle;
  font-weight: 700;
}


/* ==============================================================
 *  商安侧重构 · 白色 apple 风（第 1 幕队列 + 第 5 幕审核板）
 *  第 5 幕 Modal 复用 .submit-modal 结构与样式
 * ============================================================== */

/* --- 第 1 幕：待审核队列 --- */
.com-inbox {
  width: 100%; max-width: 960px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  overflow: hidden;
}
.com-inbox__toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 22px;
  background: linear-gradient(180deg, rgba(0,113,227,0.05), rgba(0,113,227,0.02));
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 12px;
  letter-spacing: -0.005em;
  opacity: 0;
  animation: fadeIn 0.4s var(--ease-apple) forwards;
}
.com-inbox__brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
  color: var(--c-title);
}
.com-inbox__brand b { color: #0071e3; font-weight: 700; margin: 0 3px; font-size: 13px; }
.com-inbox__right {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-subtitle);
  font-size: 11px;
}
.com-inbox__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #0071e3;
  box-shadow: 0 0 0 0 rgba(0,113,227,0.4);
  animation: dotPulseBlue 1.8s ease-out infinite;
}
@keyframes dotPulseBlue {
  0% { box-shadow: 0 0 0 0 rgba(0,113,227,0.4); }
  100% { box-shadow: 0 0 0 8px rgba(0,113,227,0); }
}
.com-inbox__header,
.com-inbox__row {
  display: grid;
  grid-template-columns: 90px 1.5fr 2fr 1.1fr 90px;
  gap: 14px;
  padding: 11px 22px;
}
.com-inbox__header {
  background: #fafafa;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 11px;
  color: var(--c-subtitle);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.com-inbox__row {
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 12.5px;
  color: var(--c-body);
  opacity: 0;
  animation: rowIn 0.4s var(--ease-apple) forwards;
  transition: background 0.2s var(--ease-apple);
}
@keyframes rowIn { to { opacity: 1; } }
.com-inbox__row:last-child { border-bottom: none; }
.com-inbox__row:hover { background: rgba(0,113,227,0.03); }
.com-inbox__cell { display: flex; align-items: center; letter-spacing: -0.005em; overflow: hidden; text-overflow: ellipsis; }
.com-inbox__cell.mono { font-family: var(--font-mono); font-size: 11.5px; color: var(--c-subtitle); }
.com-inbox__cell.muted { color: var(--c-subtitle); font-size: 11.5px; }
.com-inbox__badge {
  padding: 2.5px 8px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 500;
  background: rgba(255,149,0,0.14);
  color: #ff9500;
  white-space: nowrap;
}

/* --- 第 5 幕：审核报告板 --- */
.review-board {
  width: 100%; max-width: 1160px;
  display: flex; flex-direction: column;
  gap: 16px;
}
.review-board__toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 0 4px;
}
.review-board__title {
  font-size: 15px; font-weight: 600;
  color: var(--c-title);
  letter-spacing: -0.01em;
}
.review-board__stats {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px;
  color: var(--c-subtitle);
}
.review-stat { display: inline-flex; align-items: center; gap: 5px; }
.review-stat b { font-weight: 700; color: var(--c-title); }
.review-stat--pass b { color: #34c759; }
.review-stat--pending b { color: #ff9500; }
.review-stat--reject b { color: #ff3b30; }

.review-board__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 1200px) {
  .review-board__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .review-board__grid { grid-template-columns: repeat(2, 1fr); }
}

.review-card {
  padding: 16px 16px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  cursor: pointer;
  transition: transform 0.25s var(--ease-apple), box-shadow 0.25s var(--ease-apple), background 0.25s var(--ease-apple);
  opacity: 0; transform: translateY(6px);
  animation: cardIn 0.5s var(--ease-apple) forwards;
  display: flex; flex-direction: column;
  gap: 6px;
  min-height: 158px;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
/* 整卡浅色区分色（无彩色边线） */
.review-card--pass    { background: #eef8f0; }
.review-card--pass:hover { background: #e4f3e7; }
.review-card--pending { background: #fdf3e4; }
.review-card--pending:hover { background: #fbecd4; }
.review-card--reject  { background: #fdecec; }
.review-card--reject:hover  { background: #fbe0e0; }
/* 人工决策后的态 */
.review-card--decided-pass    { background: #e0f0ff; }
.review-card--decided-pass:hover    { background: #d3e7fc; }
.review-card--decided-reject  { background: #ececee; }
.review-card--decided-reject:hover  { background: #e2e2e5; }

.review-card__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
}
.review-card__id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-subtitle);
  letter-spacing: 0.02em;
}
.review-card__tag {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.review-card__name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-title);
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.review-card__sub {
  font-size: 11px;
  color: var(--c-subtitle);
  letter-spacing: -0.005em;
}
.review-card__reason {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(0,0,0,0.06);
  font-size: 11.5px;
  color: var(--c-body);
  line-height: 1.5;
}
.review-card__foot {
  display: flex; justify-content: flex-end;
  margin-top: 4px;
}
.review-card__cta {
  font-size: 11px;
  color: #0071e3;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.review-board__hint {
  display: flex; align-items: center; gap: 8px;
  padding-top: 6px;
  font-size: 11.5px;
  color: var(--c-subtitle);
  justify-content: center;
}
.review-board__hint-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #0071e3;
}
