/* ============================================================
   老板摘要栏 Exec Summary Bar
   位于总览页顶部，10秒掌握全局
   纯增量组件，不影响任何现有样式
   ============================================================ */

.exec-summary-bar {
  display: grid;
  grid-template-columns: 1.2fr auto 1.4fr auto .8fr auto 1fr;
  align-items: center;
  gap: 0;
  background: linear-gradient(135deg, #141416 0%, #18181b 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  position: relative;
  overflow: hidden;
}

/* 顶部微光装饰线 */
.exec-summary-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,197,94,.5), rgba(59,130,246,.3), transparent);
}

.exec-item {
  padding: 0 20px;
  min-width: 0;
}
.exec-item:first-child { padding-left: 0; }
.exec-item:last-child { padding-right: 0; }

.exec-label {
  font-size: 11px;
  color: #71717a;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.exec-value {
  font-size: 24px;
  font-weight: 700;
  color: #fafafa;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.5px;
  white-space: nowrap;
}

.exec-sub {
  font-size: 11px;
  color: #52525b;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exec-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.06);
  flex-shrink: 0;
}

/* 盈利：绿色强调 */
.exec-profit .exec-value { color: #22c55e; }
.exec-profit .exec-sub .up { color: #22c55e; font-weight: 600; }

/* 风险：红色警示 */
.exec-risk .exec-value {
  color: #ef4444;
  font-size: 16px;
  font-weight: 600;
  white-space: normal;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.exec-risk .exec-sub { color: #7f1d1d; }

/* 待办：橙色 */
.exec-todo .exec-value { color: #f59e0b; }

/* 智能体：蓝色 */
.exec-agents .exec-value { color: #60a5fa; font-size: 20px; }

/* 响应式 */
@media (max-width: 1100px) {
  .exec-summary-bar {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .exec-divider { display: none; }
  .exec-item { padding: 0; }
}

/* 护眼模式下柔化摘要栏 */
body.eye-comfort .exec-summary-bar {
  filter: brightness(.93) saturate(.88);
}

/* 加载占位动画 */
.exec-value:empty::before,
.exec-value:not(:empty) { }
.exec-summary-bar.loading .exec-value {
  color: #3f3f46 !important;
}

/* P0-6 AI日报按钮 */
.exec-daily-btn {
  margin-left: auto; background: linear-gradient(135deg, #4c1d95, #7c3aed);
  border: 1px solid #7c3aed; color: #fff; font-size: 11px; font-weight: 600;
  padding: 8px 14px; border-radius: 8px; cursor: pointer; transition: all .2s;
  white-space: nowrap;
}
.exec-daily-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(124,58,237,.4); }
