/* ═══════════════════════════════════════════════════════
   业绩督导看板 — design-gko-v1 对齐样式
   对齐：main-grid 三栏 / panel-title / hex-cell / stage-card
═══════════════════════════════════════════════════════ */

:root {
  --bg: #050e1a;
  --bg2: #080f1e;
  --blue: #00D4FF;
  --blue-dim: #007a99;
  --blue-glow: #00BFFF;
  --orange: #FFA500;
  --green: #00E5A0;
  --red: #FF4466;
  --text: #e8f4ff;
  --text-2: #8ab4d4;
  --text-3: #4a7090;
  --text-4: #2a4060;
  --border: rgba(0,180,255,0.18);
  --mono: 'Courier New', monospace;
  --sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
  overflow-y: hidden;
}

body {
  display: flex;
  flex-direction: column;
}

body::-webkit-scrollbar { width: 5px; }
body::-webkit-scrollbar-track { background: var(--bg2); }
body::-webkit-scrollbar-thumb { background: var(--blue-dim); border-radius: 3px; }

/* ═══════════════════════════════════════════════════════
   GLOBAL DECORATIONS
═══════════════════════════════════════════════════════ */
.global-scan {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,180,255,0.015) 2px,
    rgba(0,180,255,0.015) 4px
  );
  animation: scanLine 8s linear infinite;
}

@keyframes scanLine {
  0% { background-position: 0 0; }
  100% { background-position: 0 100vh; }
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.stars::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,60,120,0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0,30,80,0.2) 0%, transparent 50%);
}

.star {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  animation: starFloat linear infinite;
}

@keyframes starFloat {
  0%,100% { opacity: 0.2; transform: translateY(0); }
  50% { opacity: 0.8; }
}

/* ═══════════════════════════════════════════════════════
   APP SHELL
═══════════════════════════════════════════════════════ */
.app {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 12px 16px 0;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════ */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(13,30,58,0.95) 0%, rgba(10,22,45,0.92) 100%);
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  flex-shrink: 0;
  margin-bottom: 10px;
}

/* ─── 层级二 Tab ─── */
.level2-tabs {
  display: flex;
  gap: 10px;
  padding: 0 0 10px 0;
  flex-shrink: 0;
}
.tab-card {
  flex: 1;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 1px;
}
.tab-card:hover { background: rgba(255,255,255,0.07); color: var(--text); }

.header-left { display: flex; align-items: center; gap: 12px; flex: 1; }
.header-page { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -0.3px; }
.header-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.header-live { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; color: var(--blue); letter-spacing: 1px; }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.header-time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════
   MAIN GRID — 三栏（对齐 design-gko-v1: 26/48/26）
═══════════════════════════════════════════════════════ */
.main-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 26fr 48fr 26fr;
  grid-template-rows: 1fr;
  gap: 10px;
  animation: fadeUp 0.7s ease-out 0.1s both;
  min-height: 0;
  height: 100vh;
  align-items: stretch;
  align-content: stretch;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   COLUMNS
═══════════════════════════════════════════════════════ */
.left-col, .right-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
  height: 100%;
}

.center-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
  justify-content: flex-start;
  height: 100%;
}

/* ═══════════════════════════════════════════════════════
   GLASS CARD BASE
═══════════════════════════════════════════════════════ */
.glass-card {
  background: linear-gradient(160deg, rgba(13,30,58,0.92) 0%, rgba(10,22,45,0.88) 100%);
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
  animation: breathe 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

@keyframes breathe {
  0%,100% { box-shadow: 0 8px 28px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06); }
  50% { box-shadow: 0 8px 36px rgba(0,50,100,0.25), inset 0 1px 0 rgba(255,255,255,0.08); }
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,191,255,0.35), transparent);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   PANEL TITLE BAR（对齐 design-gko-v1 命名）
═══════════════════════════════════════════════════════ */
.panel-title-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 8px;
  border-bottom: 1px solid rgba(0,180,255,0.08);
}

.section-title-bar {
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.section-title-bar:hover {
  background: rgba(0,180,255,0.05);
}

.panel-title-icon {
  font-size: 12px;
  color: var(--blue);
  text-shadow: 0 0 8px var(--blue-glow);
}

.panel-title-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 1.5px;
}

/* ═══════════════════════════════════════════════════════
   MAP CARD
═══════════════════════════════════════════════════════ */
.map-card {
  flex: 1;
  min-height: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.map-container {
  flex: 1;
  padding: 6px 8px 8px;
  min-height: 0;
  display: flex;
  align-items: center;
}

.map-container svg {
  width: 100%;
  filter: drop-shadow(0 0 12px rgba(0,191,255,0.12));
}

/* ═══════════════════════════════════════════════════════
   ARCH CARD（组织架构）
═══════════════════════════════════════════════════════ */
.arch-card {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.arch-body {
  flex: 1;
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arch-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.arch-num-box {
  text-align: center;
  padding: 8px 4px;
  background: rgba(0,60,130,0.15);
  border: 1px solid rgba(0,180,255,0.1);
  border-radius: 8px;
}

.arch-num-value {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  text-shadow: 0 0 12px rgba(0,191,255,0.4);
}

.arch-num-label { font-size: 9px; color: var(--text-3); margin-top: 2px; letter-spacing: 0.5px; }
.arch-num-change { font-size: 8px; color: var(--green); margin-top: 3px; }

/* BAR CHART */
.bar-chart-wrap { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.bar-chart-labels { display: flex; justify-content: space-around; padding: 0 20px; }
.bar-lbl { font-size: 8px; color: var(--text-3); }

.bar-chart-bars {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 4px 4px 0 28px;
  min-height: 90px;
}

.bar-y-axis {
  position: absolute;
  left: 2px;
  top: 4px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bar-y-lbl { font-size: 7px; color: var(--text-3); text-align: right; width: 18px; }

.bar-grid-line {
  position: absolute;
  left: 28px;
  right: 4px;
  height: 1px;
  background: rgba(0,180,255,0.06);
}

.bar-group { display: flex; align-items: flex-end; gap: 3px; flex: 1; height: 100%; }

.bar-col {
  border-radius: 2px 2px 0 0;
  width: 100%;
  max-width: 18px;
  margin: 0 auto;
  flex-shrink: 0;
  position: relative;
}

.bar-col-1 {
  background: linear-gradient(180deg, var(--blue), var(--blue-dim));
  animation: barGrow 1.2s ease-out both;
  box-shadow: 0 0 6px rgba(0,180,255,0.3);
}

.bar-col-2 {
  background: linear-gradient(180deg, rgba(0,180,255,0.4), rgba(0,180,255,0.15));
  animation: barGrow 1.2s ease-out 0.2s both;
}

@keyframes barGrow { from { height: 0 !important; } to {} }

.bar-legend { display: flex; gap: 14px; padding: 4px 10px 0; }
.bar-legend-item { display: flex; align-items: center; gap: 5px; font-size: 8px; color: var(--text-3); }
.bar-legend-dot { width: 8px; height: 8px; border-radius: 2px; }
.bar-legend-1 { background: var(--blue); }
.bar-legend-2 { background: rgba(0,180,255,0.35); }

/* ═══════════════════════════════════════════════════════
   CENTER COL — CORE HEADER
═══════════════════════════════════════════════════════ */
.core-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 8px;
}

.core-header-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--border)); }
.core-header-line-r { flex: 1; height: 1px; background: linear-gradient(270deg, transparent, var(--border)); }
.core-header-text { font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: 2px; white-space: nowrap; }

/* ═══════════════════════════════════════════════════════
   HEX GRID（六宫格 — 对齐 design-gko-v1）
═══════════════════════════════════════════════════════ */
.hex-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px 10px;
  padding: 0 4px;
  min-height: 0;
  align-self: stretch;
}

.hex-cell {
  text-align: center;
  padding: 12px 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: panelFadeIn 0.6s ease-out both;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; }
}

.hex-cell:nth-child(1) { animation-delay: 0.1s; }
.hex-cell:nth-child(2) { animation-delay: 0.18s; }
.hex-cell:nth-child(3) { animation-delay: 0.26s; }
.hex-cell:nth-child(4) { animation-delay: 0.34s; }
.hex-cell:nth-child(5) { animation-delay: 0.42s; }
.hex-cell:nth-child(6) { animation-delay: 0.5s; }

.hex-base {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-base-shape {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,60,130,0.5), rgba(0,40,90,0.3));
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  border-radius: 4px;
}

.hex-base-border {
  position: absolute;
  inset: 0;
  background: transparent;
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  border: 1.5px solid rgba(0,180,255,0.3);
}

.hex-base-glow {
  position: absolute;
  inset: -4px;
  background: transparent;
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  box-shadow: 0 0 18px rgba(0,180,255,0.12);
  animation: breathingBorder 3s ease-in-out infinite;
}

@keyframes breathingBorder {
  0%,100% { box-shadow: 0 0 14px rgba(0,180,255,0.1); }
  50% { box-shadow: 0 0 24px rgba(0,180,255,0.22); }
}

.hex-cell-title { font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: 0.5px; }
.hex-cell-sub { font-size: 8px; color: var(--text-3); }
.hex-cell-value { font-family: var(--mono); font-size: 18px; font-weight: 700; }
.hcv-green { color: var(--green); text-shadow: 0 0 10px rgba(0,229,160,0.4); }
.hcv-blue { color: var(--blue); text-shadow: 0 0 10px rgba(0,191,255,0.4); }
.hcv-orange { color: var(--orange); text-shadow: 0 0 10px rgba(255,165,0,0.4); }

/* 3D ICONS */
.icon-3d {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  animation: iconFloat 4s ease-in-out infinite;
}

.icon-3d-alt { animation-delay: -2s; }

@keyframes iconFloat {
  0%,100% { transform: translateY(0) rotateX(0deg); }
  50% { transform: translateY(-4px) rotateX(3deg); }
}

/* PIN icon */
.icon-pin { position: relative; width: 20px; height: 28px; }
.pin-head {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 40% 40%;
  background: linear-gradient(135deg, #00D4FF, #006080);
  box-shadow: 0 0 10px rgba(0,180,255,0.6), inset 0 -2px 4px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.2);
}
.pin-point {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 12px solid #006080;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
}

/* DOC icon */
.icon-doc { position: relative; width: 20px; height: 26px; }
.doc-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 24px;
  background: linear-gradient(160deg, #00D4FF 0%, #005070 100%);
  border-radius: 3px 5px 3px 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 2px 6px rgba(0,0,0,0.4);
}
.doc-fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-bottom: 7px solid #004060;
}
.doc-seal {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,165,0,0.8);
  box-shadow: 0 0 6px rgba(255,165,0,0.5);
}

/* SMART icon */
.icon-smart { display: flex; gap: 3px; align-items: flex-end; height: 26px; }
.smart-bar { width: 5px; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--blue), var(--blue-dim)); box-shadow: 0 0 6px rgba(0,180,255,0.3); }
.smart-bar:nth-child(1) { height: 10px; animation: smartGrow 1.5s ease-in-out infinite; }
.smart-bar:nth-child(2) { height: 18px; animation: smartGrow 1.5s ease-in-out 0.2s infinite; }
.smart-bar:nth-child(3) { height: 14px; animation: smartGrow 1.5s ease-in-out 0.4s infinite; }
.smart-bar:nth-child(4) { height: 22px; animation: smartGrow 1.5s ease-in-out 0.6s infinite; }

@keyframes smartGrow {
  0%,100% { opacity: 0.7; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* CUBE icon */
.icon-cube { position: relative; width: 24px; height: 24px; transform-style: preserve-3d; transform: rotateX(-20deg) rotateY(-30deg); }
.cube-face { position: absolute; backface-visibility: hidden; }
.cube-top { top: -8px; left: 2px; width: 20px; height: 20px; background: linear-gradient(135deg, rgba(0,180,255,0.8), rgba(0,100,160,0.6)); transform: rotateX(60deg); clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%); }
.cube-front { bottom: 0; left: 2px; width: 20px; height: 16px; background: linear-gradient(180deg, rgba(0,120,200,0.7), rgba(0,60,120,0.5)); transform: rotateX(0deg); }
.cube-right { top: 2px; right: 0; width: 14px; height: 16px; background: linear-gradient(135deg, rgba(0,80,150,0.6), rgba(0,40,90,0.4)); transform: skewY(-30deg); }

/* BAR CHART icon */
.icon-bar-chart { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.bar-3d { width: 6px; border-radius: 2px 2px 0 0; transform-origin: bottom; }
.b1 { height: 10px; background: linear-gradient(180deg, #00D4FF, #004060); animation: bar3d 1.8s ease-in-out infinite; }
.b2 { height: 18px; background: linear-gradient(180deg, #00A8CC, #003850); animation: bar3d 1.8s ease-in-out 0.15s infinite; }
.b3 { height: 14px; background: linear-gradient(180deg, #00D4FF, #004060); animation: bar3d 1.8s ease-in-out 0.3s infinite; }
.b4 { height: 22px; background: linear-gradient(180deg, #00E5A0, #006040); animation: bar3d 1.8s ease-in-out 0.45s infinite; }

@keyframes bar3d {
  0%,100% { opacity: 0.8; }
  50% { opacity: 1; filter: brightness(1.3); }
}

/* SHIELD icon */
.icon-shield { position: relative; width: 22px; height: 26px; }
.shield-hex {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  background: linear-gradient(160deg, rgba(0,180,255,0.5), rgba(0,60,120,0.3));
  display: flex;
  align-items: center;
  justify-content: center;
}
.shield-inner { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.shield-key { position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 10px; height: 2px; background: rgba(0,180,255,0.5); border-radius: 1px; }

/* ═══════════════════════════════════════════════════════
   STAGE CARD（环形 — 对齐 design-gko-v1）
═══════════════════════════════════════════════════════ */
.stage-card {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.stage-container {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.stage-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--blue);
  border-style: solid;
  opacity: 0.4;
}

.corner-tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; border-radius: 3px 0 0 0; }
.corner-tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; border-radius: 0 3px 0 0; }
.corner-bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; border-radius: 0 0 0 3px; }
.corner-br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; border-radius: 0 0 3px 0; }

.stage-ring-wrap {
  position: relative;
  width: 270px;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-ring { position: absolute; border-radius: 50%; border-style: solid; border-color: rgba(0,180,255,0.12); }
.ring-outer { inset: 0; border-width: 2px; }
.ring-mid { inset: 12px; border-width: 1px; border-color: rgba(0,180,255,0.08); }
.ring-inner { inset: 24px; border-width: 1px; border-color: rgba(0,180,255,0.05); }

.ring-arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border-width: 3px;
  border-style: solid;
  border-color: transparent;
  border-top-color: var(--blue);
  animation: spinRing 8s linear infinite;
}

.ring-arc2 {
  inset: 6px;
  border-top-color: rgba(0,180,255,0.3);
  animation: spinRing 5s linear infinite reverse;
}

@keyframes spinRing { to { transform: rotate(360deg); } }

.orbit-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); animation: orbitDot 8s linear infinite; }
.orbit-dot-2 { width: 6px; height: 6px; background: var(--orange); box-shadow: 0 0 8px var(--orange); animation: orbitDot 5s linear infinite reverse; animation-delay: -2.5s; }
.orbit-dot-3 { width: 5px; height: 5px; background: var(--green); box-shadow: 0 0 7px var(--green); animation: orbitDot 12s linear infinite; animation-delay: -6s; }

@keyframes orbitDot {
  from { transform: rotate(0deg) translateX(88px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(88px) rotate(-360deg); }
}

.stage-center { text-align: center; z-index: 2; }
.stage-big-num { font-family: var(--mono); font-size: 32px; font-weight: 700; color: #fff; text-shadow: 0 0 20px rgba(0,180,255,0.6); }
.stage-big-label { font-size: 10px; color: var(--text-2); margin-top: 2px; letter-spacing: 1px; }
.stage-big-sub { font-size: 8px; color: var(--green); margin-top: 3px; }
.stage-scan { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(0,180,255,0.1); animation: scanPulse 3s ease-in-out infinite; }

@keyframes scanPulse {
  0%,100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.04); opacity: 0.6; }
}

/* ═══════════════════════════════════════════════════════
   RIGHT CARD（TEXT PANELS — 对齐 design-gko-v1）
═══════════════════════════════════════════════════════ */
.right-card { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.text-panel {
  flex: 1;
  padding: 6px 12px 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 100%;
}

.text-panel::-webkit-scrollbar { width: 2px; }
.text-panel::-webkit-scrollbar-track { background: transparent; }
.text-panel::-webkit-scrollbar-thumb { background: rgba(0,180,255,0.15); border-radius: 1px; }

.text-panel-item {
  display: flex;
  gap: 8px;
  align-items: center;
  animation: panelFadeIn 0.5s ease-out both;
  cursor: pointer;
}

.text-panel-item:nth-child(1) { animation-delay: 0.15s; }
.text-panel-item:nth-child(2) { animation-delay: 0.25s; }
.text-panel-item:nth-child(3) { animation-delay: 0.35s; }

.text-panel-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 0;
  box-shadow: 0 0 6px rgba(0,180,255,0.5);
}
.green-dot  { background: #00E5A0; box-shadow: 0 0 6px rgba(0,229,160,0.5); }
.orange-dot { background: #FFA500; box-shadow: 0 0 6px rgba(255,165,0,0.5); }

/* 首页文章标题 — 单行省略 */
.article-home-title {
  font-size: 14.5px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}
.article-home-title:hover { color: var(--blue); }

.text-panel-content { font-size: 10.5px; color: var(--text-2); line-height: 1.6; }
.text-panel-highlight { color: var(--blue); font-weight: 600; }

/* ═══════════════════════════════════════════════════════
   CITY DOTS（地图光点 — 对齐 design-gko-v1）
═══════════════════════════════════════════════════════ */
.city-dot-ring { animation: cityDot 2s ease-in-out infinite; }
.city-dot-ring-2 { animation: cityDotRing2 2s ease-in-out infinite; }

@keyframes cityDot { 0%,100% { opacity: 0.7; r: 7; } 50% { opacity: 0.2; r: 12; } }
@keyframes cityDotRing2 { 0% { opacity: 0; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.8); } 100% { opacity: 0; transform: scale(2.4); } }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1400px) {
  .main-grid { grid-template-columns: 24fr 52fr 24fr; }
  .stage-big-num { font-size: 28px; }
  .hex-cell-value { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 平板 / 手机自适应
   断点：1400px（大屏压缩）→ 1100px（两栏）→ 768px（手机）
═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .main-grid { grid-template-columns: 22fr 44fr 34fr; }
  .stage-big-num { font-size: 26px; }
  .hex-cell-value { font-size: 13px; }
}

@media (max-width: 900px) {
  .main-grid { grid-template-columns: 1fr 1fr; }
  .left-col { display: none; }          /* 隐藏地图+架构 */
  .right-col { grid-column: 1 / -1; }  /* 右栏占满宽 */
  .center-col { grid-column: 1; }
  .stage-big-num { font-size: 22px; }
}

/* 桌面端默认隐藏移动端 Tab 栏 */
.mobile-tab-bar { display: none; }

@media (max-width: 768px) {
  /* ── 全局重置 ── */
  html, body { overflow-y: auto; }
  .app { padding: 8px 10px 0; height: auto; min-height: 100vh; }

  /* ── 顶部导航 ── */
  .header { padding: 8px 14px; margin-bottom: 6px; }
  .header-page { font-size: 14px; }
  .header-right { gap: 10px; }

  /* ── Tab 切换行 ── */
  .level2-tabs { gap: 6px; padding-bottom: 6px; }
  .tab-card { height: 44px; font-size: 12px; }

  /* ── 主网格 → 单列堆叠 ── */
  .main-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    overflow-y: visible;
    gap: 8px;
  }

  /* 隐藏左侧栏（地图+架构） */
  .left-col { display: none; }

  /* ── 中间栏 ── */
  .center-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: auto;
  }

  /* 核心业务标题行 */
  .core-header { padding: 0 0 4px; }
  .core-header-text { font-size: 11px; }

  /* ── 六宫格 → 2×3 布局 ── */
  .hex-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0;
    min-height: 0;
    align-self: stretch;
  }

  .hex-cell {
    padding: 10px 6px 8px;
    gap: 4px;
    flex-direction: row;          /* 图标在左，文字在右 */
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  .hex-base {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }

  .hex-cell-title { font-size: 13px; }
  .hex-cell-sub { font-size: 10px; }
  .hex-cell-value { font-size: 16px; }

  /* ── 综合完成率环形 → 缩小 ── */
  .stage-card { flex: 0 0 auto; min-height: 0; }
  .stage-container { min-height: 120px; }
  .stage-ring-wrap { width: 100px; height: 100px; }
  .stage-big-num { font-size: 24px; }
  .stage-big-label { font-size: 9px; }
  .orbit-dot { animation: orbitDot 8s linear infinite; }
  .orbit-dot-2 { animation: orbitDot 5s linear infinite reverse; }
  .orbit-dot-3 { animation: orbitDot 12s linear infinite; }
  @keyframes orbitDot {
    from { transform: rotate(0deg) translateX(48px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(48px) rotate(-360deg); }
  }

  /* ── 右侧栏 → 横滑 Tab ── */
  .right-col {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: auto;
    flex: 0 0 auto;
  }

  /* 移动端 Tab 切换器 */
  .mobile-tab-bar {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(0,180,255,0.12);
    margin-bottom: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-shrink: 0;
  }
  .mobile-tab-bar::-webkit-scrollbar { display: none; }

  .mobile-tab-btn {
    flex: 0 0 auto;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    letter-spacing: 0.5px;
  }
  .mobile-tab-btn.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
  }

  /* 每个 panel 默认隐藏，移动端 Tab 激活时显示 */
  .right-card { display: none; flex: 0 0 auto; }
  .right-card.mobile-active { display: flex; }

  .text-panel { max-height: 200px; }

  /* ── 弹窗 → 全屏 ── */
  .biz-modal { padding: 0; align-items: flex-end; }
  .biz-modal-box {
    width: 100vw;
    height: 92vh;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
    transform: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .biz-modal[aria-hidden="false"] .biz-modal-box {
    transform: translateY(0);
  }
  .biz-modal-box.init-transform {
    transform: translateY(60px);
    opacity: 0;
  }
  .biz-modal-chart-area { flex: 0 0 60%; }
  .biz-modal-ai-area { flex: 0 0 40%; }
  .biz-modal-chart-area,
  .biz-modal-ai-area {
    flex: none;
    width: 100%;
    height: 50%;
  }
  .biz-modal-body { flex-direction: column; }
  .biz-modal-chart-area { padding: 12px; }
  .biz-modal-ai-area { border-left: none; border-top: 1px solid rgba(0,180,255,0.08); }

  /* 文章弹窗全屏 */
  .article-modal-box {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  /* ── 装饰元素简化 ── */
  .global-scan, .stars { display: none; }
}

/* ═══════════════════════════════════════════════════════
   BIZ MODAL — 业务详情弹窗
═══════════════════════════════════════════════════════ */
.biz-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.biz-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: all;
}

.biz-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 26, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.biz-modal-box {
  position: relative;
  width: min(88vw, 1000px);
  height: min(82vh, 620px);
  background: linear-gradient(160deg, rgba(13,30,58,0.97) 0%, rgba(10,22,45,0.95) 100%);
  border: 1px solid rgba(0,180,255,0.22);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 40px rgba(0,50,120,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.93) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* smarT 弹窗专窄（图表区更宽裕，y轴标签不被截断） */
.biz-modal-box.smart-modal {
  width: min(88vw, 860px);
}

.biz-modal[aria-hidden="false"] .biz-modal-box {
  transform: scale(1) translateY(0);
}

/* ── 标题栏 ── */
.biz-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,180,255,0.1);
  flex-shrink: 0;
  position: relative;
}

.biz-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.biz-modal-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,60,130,0.4);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  animation: iconFloat 4s ease-in-out infinite;
}

.biz-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.biz-modal-subtitle {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}

/* 视图 Tab 切换（营业部/员工） */
.modal-view-tabs {
  display: flex;
  gap: 0;
  align-items: center;
  border: 1px solid rgba(0,180,255,0.2);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.view-tab-btn {
  background: rgba(0,60,130,0.2);
  border: none;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.view-tab-btn:first-child {
  border-right: 1px solid rgba(0,180,255,0.15);
}

.view-tab-btn.active {
  background: rgba(0,180,255,0.2);
  color: var(--blue);
}

.view-tab-btn:hover:not(.active) {
  background: rgba(0,60,130,0.3);
  color: var(--text);
}

/* smarT 一级 Tab（年累计/日）——居中显示 */
.period-tabs {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.period-tab-btn {
  background: rgba(0,60,130,0.2);
  border: 1px solid rgba(0,180,255,0.2);
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
}

.period-tab-btn.active {
  background: rgba(0,180,255,0.25);
  color: var(--blue);
  border-color: rgba(0,180,255,0.4);
  box-shadow: 0 0 8px rgba(0,180,255,0.2);
}

.period-tab-btn:hover:not(.active) {
  background: rgba(0,60,130,0.3);
  color: var(--text);
}

/* smarT 指标指示器（滚轮切换提示） */
.smart-indicator, .comm-indicator, .public-fund-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0 2px;
  font-size: 12px;
  color: var(--text-3);
}

.smart-indicator button, .comm-indicator button, .public-fund-indicator button {
  background: rgba(0,60,130,0.3);
  border: 1px solid rgba(0,180,255,0.2);
  color: var(--blue);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.smart-indicator button:hover {
  background: rgba(0,180,255,0.2);
}

/* ── 员工视图 ── */
.emp-view {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
  height: 100%;
  overflow: hidden;
}

.emp-view.active { display: flex; }

/* 搜索 + 排序工具栏 */
.emp-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.emp-search {
  flex: 1;
  background: rgba(0,60,130,0.15);
  border: 1px solid rgba(0,180,255,0.15);
  border-radius: 6px;
  padding: 6px 12px;
  color: var(--text);
  font-size: 12px;
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.2s;
}
.emp-search::placeholder { color: var(--text-3); }
.emp-search:focus { border-color: rgba(0,180,255,0.4); }

.emp-sort-group {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.emp-sort-btn {
  background: rgba(0,60,130,0.15);
  border: 1px solid rgba(0,180,255,0.12);
  border-radius: 4px;
  color: var(--text-3);
  font-size: 11px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.emp-sort-btn.active {
  background: rgba(0,180,255,0.15);
  border-color: rgba(0,180,255,0.35);
  color: var(--blue);
}
.emp-sort-btn:hover:not(.active) { color: var(--text); }

/* 员工柱状图列表 */
.emp-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}
.emp-list::-webkit-scrollbar { width: 3px; }
.emp-list::-webkit-scrollbar-track { background: transparent; }
.emp-list::-webkit-scrollbar-thumb { background: rgba(0,180,255,0.15); border-radius: 2px; }

/* 每行员工 */
.emp-row {
  display: grid;
  grid-template-columns: 90px 1fr 80px 50px;
  align-items: center;
  gap: 10px;
  min-height: 32px;
}

.emp-name {
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

.emp-bar-wrap {
  position: relative;
  height: 20px;
  background: rgba(0,60,130,0.12);
  border-radius: 3px;
  overflow: visible;
}

.emp-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 3px;
  transition: width 0.8s ease-out;
}

.emp-bar-fill.green  { background: linear-gradient(90deg, #00E5A0, #00b880); }
.emp-bar-fill.yellow { background: linear-gradient(90deg, #FFA500, #cc8400); }
.emp-bar-fill.red    { background: linear-gradient(90deg, #FF4466, #cc3344); }
.emp-bar-fill.grey  { background: rgba(80,100,130,0.4); }

.emp-bar-target-line {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 2px;
  background: rgba(255,255,255,0.5);
  border-radius: 1px;
}

.emp-val {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  text-align: right;
  white-space: nowrap;
}

.emp-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.emp-status-dot.green  { background: var(--green); box-shadow: 0 0 6px rgba(0,229,160,0.5); }
.emp-status-dot.yellow { background: var(--orange); box-shadow: 0 0 6px rgba(255,165,0,0.5); }
.emp-status-dot.red    { background: var(--red); box-shadow: 0 0 6px rgba(255,68,102,0.5); }

/* 排序按钮激活态 */
.emp-sort-btn[data-sort="actual"].active { color: var(--blue); border-color: rgba(0,180,255,0.35); background: rgba(0,180,255,0.12); }
.emp-sort-btn[data-sort="rate"].active    { color: var(--green); border-color: rgba(0,229,160,0.35); background: rgba(0,229,160,0.12); }
.emp-sort-btn[data-sort="target"].active  { color: var(--orange); border-color: rgba(255,165,0,0.35); background: rgba(255,165,0,0.12); }

.biz-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0,180,255,0.2);
  background: rgba(0,60,130,0.2);
  color: var(--text-2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.biz-modal-close:hover {
  background: rgba(255,68,102,0.2);
  border-color: rgba(255,68,102,0.4);
  color: #FF4466;
}

/* ── 主体 ── */
.biz-modal-body {
  flex: 1;
  display: flex;
  gap: 0;
  min-height: 0;
  overflow: hidden;
}

/* ── 图表区 55%（左侧图表为主） ── */
.biz-modal-chart-area {
  flex: 0 0 55%;
  padding: 16px 12px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.biz-modal-chart-area canvas {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* ── Tab 切换按钮 ── */
.modal-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.tab-btn {
  background: rgba(0,180,255,0.08);
  border: 1px solid rgba(0,180,255,0.2);
  color: #8ab4d4;
  border-radius: 4px;
  padding: 3px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  background: rgba(0,180,255,0.15);
  color: #00D4FF;
}

.tab-btn.active {
  background: rgba(0,212,255,0.2);
  border-color: #00D4FF;
  color: #00D4FF;
}
/* ── AI 分析区 35% ── */
.biz-modal-ai-area {
  flex: 0 0 35%;
  border-left: 1px solid rgba(0,180,255,0.08);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.biz-modal-ai-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 8px;
  border-bottom: 1px solid rgba(0,180,255,0.08);
  flex-shrink: 0;
}

.biz-modal-ai-icon { font-size: 11px; color: var(--blue); text-shadow: 0 0 8px var(--blue-glow); }
.biz-modal-ai-title { font-size: 11px; font-weight: 600; color: var(--text-2); letter-spacing: 1.5px; }

.biz-modal-ai-body {
  flex: 1;
  padding: 12px 14px;
  overflow-y: auto;
  min-height: 0;
}

.biz-modal-ai-body::-webkit-scrollbar { width: 4px; }
.biz-modal-ai-body::-webkit-scrollbar-track { background: transparent; }
.biz-modal-ai-body::-webkit-scrollbar-thumb { background: var(--blue-dim); border-radius: 2px; }

/* AI 内容 */
.ai-section { margin-bottom: 14px; }
.ai-section-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ai-section-title::before {
  content: '';
  width: 3px;
  height: 10px;
  background: var(--blue);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--blue);
}

.ai-section-text { font-size: 11px; color: var(--text-2); line-height: 1.7; }

/* AI 洞察分析分段样式 */
.ai-section-text .ai-para-block {
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0,180,255,0.1);
}
.ai-section-text .ai-para-block:last-child { border-bottom: none; margin-bottom: 0; }

.ai-section-text .ai-para-title {
  font-weight: 700;
  font-size: 11px;
  color: var(--text-1);
  margin: 0 0 3px;
  line-height: 1.4;
}
.ai-section-text .ai-para-body {
  font-size: 11px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.7;
}

.ai-tag {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 600;
  margin-right: 4px;
}

.ai-tag-green { background: rgba(0,229,160,0.15); color: var(--green); border: 1px solid rgba(0,229,160,0.3); }
.ai-tag-orange { background: rgba(255,165,0,0.15); color: var(--orange); border: 1px solid rgba(255,165,0,0.3); }
.ai-tag-blue { background: rgba(0,180,255,0.15); color: var(--blue); border: 1px solid rgba(0,180,255,0.3); }
.ai-tag-red { background: rgba(255,68,102,0.15); color: #FF4466; border: 1px solid rgba(255,68,102,0.3); }

/* 加载态 */
.ai-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  font-size: 12px;
  color: var(--text-3);
}

.ai-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,180,255,0.2);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spinRing 0.8s linear infinite;
  flex-shrink: 0;
}

/* ─── 文章弹窗 ─── */
.article-modal-box {
  max-width: 820px;
  width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.article-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.article-modal-body::-webkit-scrollbar { width: 4px; }
.article-modal-body::-webkit-scrollbar-track { background: transparent; }
.article-modal-body::-webkit-scrollbar-thumb { background: var(--blue-dim); border-radius: 2px; }

/* 文章列表 */
.article-list { padding: 8px 0; }

.article-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,180,255,0.06);
  transition: background 0.15s;
}
.article-list-item:hover { background: rgba(0,180,255,0.06); }
.article-list-item:last-child { border-bottom: none; }

.article-list-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 6px var(--blue);
  flex-shrink: 0;
  margin-top: 5px;
}
.article-list-dot.green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.article-list-dot.orange { background: var(--orange); box-shadow: 0 0 6px var(--orange); }

.article-list-main { flex: 1; min-width: 0; }

.article-list-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-list-meta {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 3px;
}

.article-list-meta span {
  margin-right: 10px;
}

.article-list-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.article-tag {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(0,180,255,0.1);
  color: var(--blue);
  border: 1px solid rgba(0,180,255,0.2);
}

.article-list-arrow {
  color: var(--text-3);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* 文章详情 */
.article-detail { padding: 20px 24px; }

.article-detail-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.5;
  margin-bottom: 10px;
}

.article-detail-meta {
  display: flex;
  gap: 16px;
  font-size: 10px;
  color: var(--text-3);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,180,255,0.1);
}

.article-detail-body {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.9;
}

/* 返回按钮 */
.biz-modal-back-btn {
  background: none;
  border: 1px solid rgba(0,180,255,0.3);
  color: var(--blue);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  margin-right: 8px;
}
.biz-modal-back-btn:hover {
  background: rgba(0,180,255,0.1);
  box-shadow: 0 0 8px rgba(0,180,255,0.2);
}

/* ── 营业部选择遮罩 ── */
.dept-picker {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.dept-picker-inner {
  background: var(--card-bg);
  border: 1px solid rgba(0, 180, 255, 0.2);
  border-radius: 12px;
  padding: 28px 32px 20px;
  width: 680px;
  max-width: 95vw;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.dept-picker-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  text-align: center;
  margin-bottom: 20px;
}

.dept-picker-btns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.dept-picker-btn {
  background: rgba(0, 60, 130, 0.2);
  border: 1px solid rgba(0, 180, 255, 0.25);
  color: var(--text-1);
  font-size: 11px;
  padding: 9px 6px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  line-height: 1.3;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dept-picker-btn:hover {
  background: rgba(0, 180, 255, 0.2);
  border-color: rgba(0, 180, 255, 0.5);
  box-shadow: 0 0 10px rgba(0, 180, 255, 0.15);
}

.dept-picker-bottom {
  display: flex;
  justify-content: center;
}

.dept-picker-cancel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-3);
  font-size: 12px;
  padding: 6px 24px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.dept-picker-cancel:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-2);
}

/* ── 员工视图（穿透后）── */
.emp-view {
  display: none;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 10px;
}

.emp-view.active {
  display: flex;
}

.emp-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.emp-search {
  background: rgba(0, 60, 130, 0.2);
  border: 1px solid rgba(0, 180, 255, 0.2);
  color: var(--text-1);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 4px;
  outline: none;
  width: 140px;
}

.emp-search::placeholder {
  color: var(--text-3);
}

.emp-search:focus {
  border-color: rgba(0, 180, 255, 0.4);
}

.emp-sort-group {
  display: flex;
  gap: 4px;
}

.emp-sort-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-3);
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.emp-sort-btn.active {
  background: rgba(0, 180, 255, 0.15);
  border-color: rgba(0, 180, 255, 0.4);
  color: var(--blue);
}

.emp-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.emp-row {
  display: grid;
  grid-template-columns: 90px 1fr 60px 10px;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.emp-name {
  font-size: 11px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.emp-bar-wrap {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  height: 10px;
  overflow: hidden;
}

.emp-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s;
}

.emp-bar-fill.green  { background: linear-gradient(90deg, #00C896, #00E4AA); }
.emp-bar-fill.yellow { background: linear-gradient(90deg, #F5A623, #F7C948); }
.emp-bar-fill.red    { background: linear-gradient(90deg, #FF4D6A, #FF7A8A); }
.emp-bar-fill.blue   { background: linear-gradient(90deg, #3DB8FF, #6ECAFF); }

.emp-val {
  font-size: 11px;
  color: var(--text-2);
  text-align: right;
}

.emp-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.emp-status-dot.green  { background: #00C896; }
.emp-status-dot.yellow { background: #F5A623; }
.emp-status-dot.red    { background: #FF4D6A; }
.emp-status-dot.blue   { background: #3DB8FF; }



/* ── 组织架构：数字卡片高亮 ─────────────────────────── */
.arch-num-box-active .arch-num-value {
  color: #ffd700;
}
.arch-num-box-active .arch-num-change {
  color: rgba(255,215,0,0.6);
}

/* ── 组织架构：12家营业部列表 ─────────────────────── */
.org-branch-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0;
}
.org-branch-item {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 13px;
  color: var(--text-2);
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid #3DB8FF;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.3px;
}
.org-branch-item:hover {
  background: rgba(61,184,255,0.12);
  color: #fff;
}

/* ── 组织架构：营业部分页器 ─────────────────────── */
.org-branch-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.org-pager-btn {
  background: rgba(0,60,130,0.3);
  border: 1px solid rgba(0,180,255,0.2);
  color: #3DB8FF;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.org-pager-btn:hover {
  background: rgba(0,180,255,0.2);
}
.org-pager-info {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 12px;
  color: #8ab4d4;
  min-width: 36px;
  text-align: center;
}
