/* ============ 星辉 CRM 科技风主题 ============ */
:root {
  --bg: #060b18;
  --cyan: #00e5ff;
  --blue: #3d7bff;
  --purple: #7b5cff;
  --text: #d5e6ff;
  --dim: #7d9cc4;
  --line: rgba(0, 229, 255, .25);
  --glass: rgba(9, 19, 40, .93);
}
* { box-sizing: border-box; }
html, body, #app { height: 100%; margin: 0; }
body {
  color: var(--text);
  font-size: 15px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(61,123,255,.18), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(0,229,255,.12), transparent 60%),
    var(--bg);
}
body::before { /* 网格底纹 */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(0,229,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(0,229,255,.25); border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(0, 229, 255, .06) inset, 0 8px 30px rgba(0,0,0,.35);
}

/* ---------- 品牌 ---------- */
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 20px; }
.brand-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 22px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: .45; } }
.brand h1 {
  margin: 0; font-size: 22px; letter-spacing: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand p { margin: 2px 0 0; font-size: 11px; letter-spacing: 3px; color: var(--dim); }

/* ---------- 登录 ---------- */
.login-wrap { height: 100%; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.login-box { width: 400px; padding: 34px 36px; }
.login-box .el-input__wrapper { background: rgba(6,16,34,.8) !important; box-shadow: 0 0 0 1px var(--line) inset !important; }
.login-box .el-form-item { margin-bottom: 20px; }
.neon-btn {
  background: linear-gradient(135deg, rgba(0,229,255,.16), rgba(61,123,255,.16)) !important;
  border: 1px solid var(--line) !important;
  color: var(--cyan) !important; letter-spacing: 2px;
}
.neon-btn:hover { box-shadow: 0 0 14px rgba(0,229,255,.45); }

/* ---------- 布局 ---------- */
.layout { height: 100%; position: relative; z-index: 1; }
.aside { border-radius: 0 !important; border-right: 1px solid var(--line); background: rgba(6,13,28,.85) !important; }
.aside .el-menu { border-right: none !important; --el-menu-hover-bg-color: rgba(0,229,255,.08); }
.aside .el-menu-item.is-active {
  background: linear-gradient(90deg, rgba(0,229,255,.16), transparent) !important;
  border-left: 3px solid var(--cyan);
}
/* 菜单红点角标：版本管理有待管理员确认字段的上传文件时显示条数 */
.menu-badge {
  display: inline-block; min-width: 16px; margin-left: 6px; padding: 0 5px;
  border-radius: 9px; background: #ff5c5c; color: #fff;
  font-size: 11px; font-style: normal; font-weight: 600; line-height: 16px;
  text-align: center; box-shadow: 0 0 8px rgba(255,92,92,.55);
}
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 0 !important; border: none !important; border-bottom: 1px solid var(--line) !important;
  background: rgba(6,13,28,.7) !important;
}
.topbar .t { letter-spacing: 2px; color: var(--dim); font-size: 13px; }
.topbar .t b { color: var(--cyan); }
.main { padding: 16px; overflow: auto; }

/* ---------- 面板/卡片 ---------- */
.panel { padding: 16px; margin-bottom: 16px; }
/* 面板撑满整屏，避免半屏空白（顶部 52px + main 内边距 32px） */
.main .panel { min-height: calc(100vh - 84px); }
.panel-t {
  margin-bottom: 12px; font-size: 14px; letter-spacing: 2px; color: var(--cyan);
  border-left: 3px solid var(--cyan); padding-left: 10px;
  text-shadow: 0 0 12px rgba(0,229,255,.5);
}
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 16px; }
.card { padding: 18px; position: relative; overflow: hidden; }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(0,229,255,.10) 50%, transparent 70%);
  transform: translateX(-100%);
}
/* 扫光改为悬停触发：常驻 infinite 动画会持续占用合成/绘制，是卡顿来源之一 */
.card:hover::after { animation: shine 1.1s ease; }
@keyframes shine { 100% { transform: translateX(100%); } }
.card-v {
  font-size: 28px; font-weight: 700; font-family: "SF Mono", Consolas, monospace;
  color: var(--cyan); text-shadow: 0 0 16px rgba(0,229,255,.6);
}
.card-l { margin-top: 6px; font-size: 12px; letter-spacing: 2px; color: var(--dim); }

/* ---------- Element Plus 深色科技化覆盖 ---------- */
.el-table { --el-table-bg-color: transparent; --el-table-tr-bg-color: transparent;
  --el-table-header-bg-color: rgba(0,229,255,.06); --el-table-row-hover-bg-color: rgba(0,229,255,.07);
  --el-table-border-color: rgba(0,229,255,.14); --el-table-text-color: var(--text);
  --el-table-header-text-color: var(--cyan); }
.el-table th.el-table__cell { letter-spacing: 1px; }
.el-table { font-size: 14px; }
/* 紧凑行距：默认 8px 上下内边距压缩到 3px，列内左右留白收窄，把宽度让给备注列 */
.el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf { padding: 3px 0; }
.el-table .cell { padding: 0 6px; line-height: 22px; }
/* 客户名单姓名亮色高亮 */
.name-hl { color: var(--cyan); font-weight: 600; text-shadow: 0 0 8px rgba(0,229,255,.35); }
.el-dialog { background: rgba(8,17,36,.96) !important; border: 1px solid var(--line); box-shadow: 0 0 40px rgba(0,229,255,.15); }
.el-dialog__title { color: var(--cyan); letter-spacing: 2px; }
.el-input__wrapper, .el-textarea__inner, .el-select__wrapper {
  background: rgba(6,16,34,.8) !important; box-shadow: 0 0 0 1px var(--line) inset !important;
}
.el-input__inner, .el-textarea__inner { color: var(--text); }
.el-button--primary:not(.is-link):not(.is-text) { background: linear-gradient(135deg, #0891b2, #3d7bff) !important; border: none !important; }
/* link/text 按钮保持透明底 + 高亮文字，避免背景与字色接近看不清 */
.el-button.is-link, .el-button.is-text { background: transparent !important; border: none !important; box-shadow: none !important; }
.el-button--primary.is-link { color: var(--cyan) !important; }
.el-button--warning.is-link { color: #ffb020 !important; }
.el-button--danger.is-link { color: #ff5c5c !important; }
.el-button--default.is-link { color: var(--dim) !important; }
.el-button.is-link:hover { opacity: .85; text-shadow: 0 0 8px currentColor; }
/* 默认按钮深色化，保证暗色主题下可读 */
.el-button {
  --el-button-bg-color: rgba(6,16,34,.8);
  --el-button-border-color: var(--line);
  --el-button-text-color: var(--text);
  --el-button-hover-text-color: var(--cyan);
  --el-button-hover-bg-color: rgba(0,229,255,.08);
  --el-button-hover-border-color: var(--cyan);
  --el-button-active-bg-color: rgba(0,229,255,.12);
  --el-button-active-border-color: var(--cyan);
}
.el-button--danger:not(.is-link) { --el-button-bg-color: rgba(255,92,92,.12); --el-button-border-color: rgba(255,92,92,.5); --el-button-text-color: #ff8080; }
.el-tag { border-color: var(--line); }
.el-pagination { --el-pagination-bg-color: transparent; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
.tip { color: rgba(125,156,196,.8); font-size: 12px; letter-spacing: 1px; }
.sb-tabs .el-tabs__item { color: var(--dim); }
.sb-tabs .el-tabs__item.is-active { color: var(--cyan); text-shadow: 0 0 10px rgba(0,229,255,.5); }
.sb-tabs .el-tabs__active-bar { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.sb-tabs .el-tabs__nav-wrap::after { background: var(--line); }

/* ---------- 悬浮公告浮窗 ---------- */
/* z-index 取 20 亿量级：EP 弹层从 2000 起每弹一次 +1（下拉/气泡/消息条都计数），
   长时间不刷新的会话可能爬过 9999，浮窗就会被弹窗遮罩压暗。浮窗已 teleport 到 body，
   与弹窗同层比较，这里必须稳压 EP 的动态计数器。 */
.float-btn {
  position: fixed; right: 22px; bottom: 26px; z-index: 1999999998;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #031020; font-size: 22px; font-weight: 700; cursor: pointer;
  background: radial-gradient(circle at 30% 30%, var(--cyan), var(--blue));
  box-shadow: 0 0 18px rgba(0,229,255,.7);
  animation: pulse 2.4s infinite;
}
.float-win {
  position: fixed; z-index: 1999999999; display: flex; flex-direction: column;
  background: rgba(6,14,30,.95); border: 1px solid var(--cyan);
  box-shadow: 0 0 30px rgba(0,229,255,.35); border-radius: 10px;
  min-width: 220px; min-height: 140px; resize: both; overflow: hidden;
}
.fw-small  { width: 280px; height: 180px; }
.fw-medium { width: 400px; height: 280px; }
.fw-large  { width: 560px; height: 400px; }
.fw-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; cursor: move; user-select: none;
  background: linear-gradient(90deg, rgba(0,229,255,.2), transparent);
  color: var(--cyan); letter-spacing: 2px; font-size: 13px;
}
.fw-head button {
  background: transparent; border: 1px solid var(--line); color: var(--dim);
  border-radius: 4px; margin-left: 4px; cursor: pointer; font-size: 12px;
}
.fw-head button:hover { color: var(--cyan); }
.fw-body { padding: 12px; overflow: auto; flex: 1; }
.fw-item { white-space: pre-wrap; line-height: 1.7; font-size: 13px; padding: 8px; border-left: 2px solid var(--cyan); margin-bottom: 10px; background: rgba(0,229,255,.05); }
.fw-sec { font-size: 12px; letter-spacing: 2px; color: var(--cyan); margin: 4px 0 8px; }
.fw-sec i { color: var(--dim); font-style: normal; letter-spacing: 0; }
.fw-note-text { white-space: pre-wrap; line-height: 1.6; }
.fw-note-ops { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 12px; color: var(--dim); }
.fw-note-ops a { color: var(--cyan); cursor: pointer; }
.fw-note-ops a.danger { color: #ff5c5c; }
.fw-note-ops a:hover { text-shadow: 0 0 8px currentColor; }
.fw-actions { margin: 6px 0 12px; }
.fw-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.fw-empty { color: var(--dim); font-size: 12px; padding: 6px 8px; margin-bottom: 8px; }
.opt-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

/* ---------- 移动端导航开关（桌面隐藏） ---------- */
.nav-toggle {
  display: none; font-size: 20px; color: var(--cyan); cursor: pointer;
  margin-right: 10px; user-select: none; line-height: 1;
}
/* 备注列行内编辑框（原生 input：每页上百行时省去同等数量的 EP 组件实例，显著降低渲染开销） */
.inline-remark {
  width: 100%; height: 26px; padding: 0 8px;
  font-size: 13px; font-family: inherit; color: var(--dim);
  background: rgba(6,16,34,.5);
  border: 1px solid rgba(0,229,255,.12); border-radius: 4px;
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .15s, background .15s, color .15s;
}
.inline-remark::placeholder { color: rgba(125,156,196,.45); }
.inline-remark:hover { border-color: rgba(0,229,255,.32); }
.inline-remark:focus {
  color: var(--text); background: rgba(6,16,34,.9);
  border-color: var(--cyan); box-shadow: 0 0 6px rgba(0,229,255,.25);
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 768px) {
  .nav-toggle { display: inline-block; }
  .aside {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 2000; width: 220px;
    transform: translateX(-100%); transition: transform .25s ease;
    overflow-y: auto;
  }
  .aside.aside-open { transform: translateX(0); box-shadow: 8px 0 40px rgba(0,0,0,.6); }
  .aside-mask { position: fixed; inset: 0; z-index: 1999; background: rgba(0,0,0,.45); }
  .main { padding: 10px; }
  .main .panel { min-height: calc(100vh - 72px); padding: 12px; }
  .topbar { padding: 0 10px; }
  .topbar .t { font-size: 12px; letter-spacing: 1px; }
  .topbar .crumb-text { display: none; }
  /* 弹窗宽度自适应 */
  .el-dialog { width: 92% !important; margin: 6vh auto !important; }
  .el-dialog__body { padding: 12px 16px; }
  /* 编辑表单单列 */
  .edit-grid { grid-template-columns: 1fr !important; }
  .edit-grid .el-form-item { grid-column: auto !important; }
  /* 卡片两列 */
  .cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-v { font-size: 22px; }
  .filter-bar .el-input, .filter-bar .el-select, .toolbar .el-input { width: 100% !important; }
  .filter-bar, .toolbar { gap: 8px; }
  .opt-btns .el-button { margin-bottom: 4px; }
  .float-btn { right: 14px; bottom: 18px; width: 44px; height: 44px; font-size: 18px; }
  .float-win { left: 4vw !important; top: 8vh !important; width: 92vw !important; }
  .login-box { width: 92vw; padding: 24px 20px; }
  .el-table { font-size: 12px; }
}

/* ============ 浅色（白色）主题 ============ */
body.theme-light {
  --bg: #f0f2f5;
  --cyan: #409eff;
  --text: #303133;
  --dim: #909399;
  --line: #e4e7ed;
  --glass: #ffffff;
  color: #303133;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(64,158,255,.08), transparent 60%),
    #f0f2f5;
}
body.theme-light::before { display: none; }
body.theme-light ::-webkit-scrollbar-thumb { background: rgba(64,158,255,.3); }

body.theme-light .glass {
  background: #fff; border: 1px solid #e4e7ed;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
body.theme-light .brand h1 {
  background: linear-gradient(90deg, #2563eb, #7b5cff);
  -webkit-background-clip: text; background-clip: text;
}
body.theme-light .brand-dot { background: #409eff; box-shadow: 0 0 8px rgba(64,158,255,.6); }

/* 登录 */
body.theme-light .login-box .el-input__wrapper,
body.theme-light .el-input__wrapper,
body.theme-light .el-select__wrapper {
  background: #fff !important;
  box-shadow: 0 0 0 1px #dcdfe6 inset !important;
}
body.theme-light .el-textarea__inner {
  background: #fff !important; color: #303133;
  box-shadow: 0 0 0 1px #dcdfe6 !important;
}
body.theme-light .el-input__inner { color: #303133; }
body.theme-light .el-input__inner::placeholder,
body.theme-light .el-textarea__inner::placeholder { color: #a8abb2; }
body.theme-light .neon-btn {
  background: #ecf5ff !important; border: 1px solid #b3d8ff !important;
  color: #409eff !important;
}
body.theme-light .neon-btn:hover { box-shadow: 0 2px 10px rgba(64,158,255,.25); }

/* 布局 */
body.theme-light .aside { background: #fff !important; border-right: 1px solid #e4e7ed; }
body.theme-light .aside .el-menu {
  --el-menu-bg-color: #fff;
  --el-menu-text-color: #303133;
  --el-menu-hover-bg-color: #ecf5ff;
  --el-menu-active-color: #409eff;
}
body.theme-light .aside .el-menu-item.is-active {
  background: #ecf5ff !important; border-left: 3px solid #409eff;
}
body.theme-light .menu-badge { background: #f56c6c; box-shadow: none; }
body.theme-light .topbar { background: #fff !important; border-bottom: 1px solid #e4e7ed !important; }
body.theme-light .topbar .t { color: #606266; }
body.theme-light .topbar .t b { color: #409eff; }
body.theme-light .nav-toggle { color: #409eff; }

/* 面板/卡片 */
body.theme-light .panel-t {
  color: #409eff; border-left: 3px solid #409eff; text-shadow: none;
}
body.theme-light .card { background: #fff; }
body.theme-light .card::after { display: none; }
body.theme-light .card-v { color: #409eff; text-shadow: none; }
body.theme-light .card-l { color: #909399; }
body.theme-light .tip { color: #909399; }

/* Element Plus 覆盖还原为浅色 */
body.theme-light .el-table {
  --el-table-bg-color: #fff; --el-table-tr-bg-color: #fff;
  --el-table-header-bg-color: #f5f7fa; --el-table-row-hover-bg-color: #f5f7fa;
  --el-table-border-color: #ebeef5; --el-table-text-color: #606266;
  --el-table-header-text-color: #303133;
}
body.theme-light .el-dialog { background: #fff !important; border: 1px solid #e4e7ed; box-shadow: 0 4px 24px rgba(0,0,0,.12); }
body.theme-light .name-hl { text-shadow: none; }
body.theme-light .el-dialog__title { color: #303133; }
body.theme-light .el-button--primary:not(.is-link):not(.is-text) { background: #409eff !important; border: none !important; }
body.theme-light .el-button--primary.is-link { color: #409eff !important; }
body.theme-light .el-button--warning.is-link { color: #e6a23c !important; }
body.theme-light .el-button--danger.is-link { color: #f56c6c !important; }
body.theme-light .el-button--default.is-link { color: #909399 !important; }
body.theme-light .el-button.is-link:hover { text-shadow: none; opacity: .8; }
body.theme-light .el-button {
  --el-button-bg-color: #fff;
  --el-button-border-color: #dcdfe6;
  --el-button-text-color: #606266;
  --el-button-hover-text-color: #409eff;
  --el-button-hover-bg-color: #ecf5ff;
  --el-button-hover-border-color: #c6e2ff;
  --el-button-active-bg-color: #d9ecff;
  --el-button-active-border-color: #409eff;
}
body.theme-light .el-button--danger:not(.is-link) {
  --el-button-bg-color: #fef0f0; --el-button-border-color: #fbc4c4; --el-button-text-color: #f56c6c;
}
body.theme-light .el-tag { border-color: #e4e7ed; }
body.theme-light .el-pagination { --el-pagination-bg-color: transparent; }
body.theme-light .sb-tabs .el-tabs__item { color: #909399; }
body.theme-light .sb-tabs .el-tabs__item.is-active { color: #409eff; text-shadow: none; }
body.theme-light .sb-tabs .el-tabs__active-bar { background: #409eff; box-shadow: none; }
body.theme-light .sb-tabs .el-tabs__nav-wrap::after { background: #e4e7ed; }

/* 小助手浮窗 */
body.theme-light .float-btn { box-shadow: 0 4px 16px rgba(64,158,255,.4); }
body.theme-light .float-win {
  background: #fff; border: 1px solid #b3d8ff;
  box-shadow: 0 6px 30px rgba(0,0,0,.15);
}
body.theme-light .fw-head {
  background: linear-gradient(90deg, rgba(64,158,255,.12), transparent);
  color: #409eff;
}
body.theme-light .fw-head button { border-color: #dcdfe6; color: #909399; }
body.theme-light .fw-head button:hover { color: #409eff; }
body.theme-light .fw-item { background: #f0f7ff; border-left: 2px solid #409eff; }
body.theme-light .fw-sec { color: #409eff; }
body.theme-light .fw-note-ops a { color: #409eff; }
body.theme-light .fw-note-ops a.danger { color: #f56c6c; }
body.theme-light .fw-note-ops a:hover { text-shadow: none; opacity: .8; }

/* 备注行内编辑（原生 input） */
body.theme-light .inline-remark { background: #fafafa; border: 1px solid #ebeef5; color: #606266; }
body.theme-light .inline-remark::placeholder { color: #c0c4cc; }
body.theme-light .inline-remark:hover { border-color: #c0c4cc; }
body.theme-light .inline-remark:focus {
  background: #fff; border-color: #409eff; color: #303133;
  box-shadow: 0 0 0 2px rgba(64,158,255,.12);
}

/* ============ 线索大盘 ============ */
.card.clickable { cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.card.clickable:hover { transform: translateY(-2px); box-shadow: 0 0 18px rgba(0,229,255,.22); }
.card.clickable.active { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan) inset, 0 0 18px rgba(0,229,255,.28); }

.lead-pill {
  display: inline-block; padding: 1px 8px; border: 1px solid; border-radius: 10px;
  font-size: 12px; line-height: 18px; letter-spacing: 1px; white-space: nowrap;
}
.lead-pill.sm { padding: 0 6px; font-size: 11px; line-height: 16px; }

.lead-legend { display: flex; gap: 14px; align-items: center; margin-left: 6px; font-size: 12px; color: var(--dim); }
.lead-legend i { display: inline-flex; align-items: center; gap: 5px; font-style: normal; }
.lead-legend b { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lead-legend b.ring { background: transparent; box-shadow: 0 0 0 2px #ff5b5b; }

.lw-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px; }
.lw-card { padding: 14px 16px 26px; }
.lw-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.lw-name { color: var(--cyan); font-weight: 600; letter-spacing: 1px; font-size: 14px; }
.lw-metrics { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11px; color: var(--dim); }
.lw-metrics i { font-style: normal; }
.lw-track { position: relative; height: 62px; margin-top: 14px; border-bottom: 1px solid var(--line); }
.lw-gridline { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(0,229,255,.10); }
.lw-tick { position: absolute; bottom: -18px; font-size: 10px; color: var(--dim); transform: translateX(-50%); white-space: nowrap; }
.lw-gridline.major { background: rgba(0,229,255,.22); }
.lw-tick.major { color: var(--cyan); font-weight: 600; }
.lw-dot {
  position: absolute; width: 12px; height: 12px; border-radius: 50%; transform: translateX(-6px);
  cursor: pointer; box-shadow: 0 0 8px currentColor; transition: transform .1s ease;
}
.lw-dot:hover { transform: translateX(-6px) scale(1.35); z-index: 5; }
.lw-dot.overdue { box-shadow: 0 0 0 2px #ff5b5b, 0 0 10px #ff5b5b; }
.lw-sides { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0 2px; }
.lw-side { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lw-side.right { margin-left: auto; }
.lw-side-t { font-size: 10px; color: var(--dim); white-space: nowrap; }
.lw-side-dots { display: inline-flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.lw-side .lw-dot { position: static; transform: none; }
.lw-side .lw-dot:hover { transform: scale(1.35); }
.lw-pop { max-width: 300px; }
.lw-tip { font-size: 12px; line-height: 1.7; }
.lw-tip-t { font-weight: 600; margin-bottom: 2px; }
.lw-tip-r { margin-top: 4px; opacity: .85; word-break: break-all; }

.ld-info > div { margin-bottom: 8px; font-size: 13px; }
.ld-info .tip { margin-right: 6px; }
.ld-timeline { position: relative; padding-left: 6px; }
.ld-node { position: relative; display: flex; gap: 10px; padding-bottom: 14px; }
.ld-node::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 0; width: 1px; background: var(--line); }
.ld-node:last-child::before { display: none; }
.ld-dot { flex: 0 0 auto; width: 11px; height: 11px; border-radius: 50%; margin-top: 3px; box-shadow: 0 0 8px currentColor; z-index: 1; }
.ld-body { flex: 1; min-width: 0; }
.ld-h { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.ld-c { margin-top: 4px; padding: 6px 8px; background: rgba(0,229,255,.06); border-left: 2px solid var(--cyan); font-size: 12px; white-space: pre-wrap; word-break: break-all; }

body.theme-light .lead-pill { background: #fff; }
body.theme-light .lw-gridline { background: rgba(64,158,255,.12); }
body.theme-light .lw-gridline.major { background: rgba(64,158,255,.30); }
body.theme-light .lw-dot { box-shadow: 0 0 6px rgba(0,0,0,.2); }
body.theme-light .ld-c { background: #f4f7fc; border-left-color: #409eff; }
