:root {
  --bg: #f4f6f9;
  --panel: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --primary: #2563eb;
  --primary-d: #1d4ed8;
  --up: #e54545;     /* 涨 / 正收益（A股习惯） */
  --down: #15a35a;   /* 跌 / 负收益 */
  --bench: #f59e0b;  /* 基准指数曲线 */
  --text-dim: #9ca3af;
  --bg-soft: #eef2f7;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --radius: 10px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); font-size: 14px;
}
header {
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  color: #fff; padding: 14px 22px; display: flex; align-items: center;
  justify-content: space-between;
}
header h1 { font-size: 18px; margin: 0; font-weight: 600; }
header .sub { font-size: 12px; opacity: .85; margin-top: 2px; }
nav { background: var(--panel); border-bottom: 1px solid var(--border); padding: 0 16px; display: flex; gap: 4px; }
nav button {
  background: none; border: none; padding: 12px 16px; cursor: pointer;
  font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent;
}
nav button.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
nav button:disabled { opacity: .4; cursor: not-allowed; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* 数据源状态横幅 */
.banner { margin: 12px 16px 0; padding: 10px 14px; border-radius: var(--radius); font-size: 13px; line-height: 1.5; }
.banner.warn { background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; }
.banner.ok { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.banner b { font-weight: 700; }
.btn {
  background: var(--primary); color: #fff; border: none; padding: 8px 14px;
  border-radius: 8px; cursor: pointer; font-size: 13px;
}
.btn:hover { background: var(--primary-d); }
.btn.ghost { background: #eef2ff; color: var(--primary); }
.btn.sm { padding: 5px 10px; font-size: 12px; }
main { padding: 20px; max-width: 1100px; margin: 0 auto; }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); margin-bottom: 18px;
}
.card h2 { margin: 0 0 14px; font-size: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 820px) { .grid2 { grid-template-columns: 1fr; } }
.kv { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.kv:last-child { border-bottom: none; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.tag.buy { background: #fde8e8; color: var(--up); }
.tag.sell { background: #e7f6ee; color: var(--down); }
.tag.hold { background: #eef2ff; color: var(--primary); }
.tag.empty { background: #f3f4f6; color: var(--muted); }
.tag.rebalance { background: #fff4e5; color: #c77700; }
.up { color: var(--up); } .down { color: var(--down); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
th { background: #f9fafb; color: var(--muted); font-weight: 600; }
tr:hover td { background: #fafbff; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 14px; }
.filters label { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); gap: 4px; }
input, select {
  padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px;
}
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 12px; }
.metric { background: #f9fafb; border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.metric .v { font-size: 20px; font-weight: 700; }
.metric .l { font-size: 12px; color: var(--muted); margin-top: 4px; }
.badge { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: #fef3c7; color: #92400e; }
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: none; align-items: center; justify-content: center; }
.modal-mask.show { display: flex; }
.modal { background: #fff; padding: 24px; border-radius: 12px; width: 320px; box-shadow: var(--shadow); }
.modal h3 { margin: 0 0 16px; }
.modal label { display: block; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.modal input { width: 100%; margin-top: 4px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #111827; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13px; opacity: 0; transition: .25s; pointer-events: none; }
.toast.show { opacity: .95; }

/* 组合（策略组合）管理弹窗 */
.pfm-body label { display: block; font-size: 13px; color: var(--muted); }
.pfm-input { width: 100%; margin-top: 4px; box-sizing: border-box; }
.pfm-body label > select.pfm-input, .pfm-body label > input.pfm-input { width: 220px; }
.pfm-members { max-height: 320px; overflow: auto; border: 1px solid var(--border); border-radius: 8px; margin-top: 4px; }
.pfm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pfm-table th, .pfm-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.pfm-table th { background: #f9fafb; color: var(--muted); font-weight: 600; position: sticky; top: 0; }
.pfm-table input[type="number"] { width: 72px; padding: 4px 6px; }
.pfm-actions { display: flex; gap: 10px; margin-top: 16px; justify-content: flex-end; }
/* 组合弹窗：限制总高、内容区内部滚动、操作栏钉底，避免长表单按钮被挤出视口 */
#pf-modal .modal, #pf-detail-modal .modal { max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; }
.pfm-body, .pfd-body { overflow-y: auto; flex: 1 1 auto; padding-right: 4px; }
.pfm-foot, .pfd-foot { flex: 0 0 auto; display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.pfm-scroll { max-height: 220px; overflow: auto; border: 1px solid var(--border); border-radius: 8px; margin-top: 4px; }
.pf-new:hover { border-color: var(--primary) !important; color: var(--primary); }
.pf-card { cursor: pointer; }
.pf-card .pf-detail { cursor: pointer; }
.muted { color: var(--muted); }
.section-title { font-size: 13px; color: var(--muted); margin: 6px 0; }
.tabbar { display: flex; gap: 6px; margin-bottom: 14px; }
.tabbar button { background:#f3f4f6; border:none; padding:7px 12px; border-radius:8px; cursor:pointer; font-size:13px; }
.tabbar button.active { background: var(--primary); color:#fff; }
pre.wrap { white-space: pre-wrap; background:#0f172a; color:#e2e8f0; padding:14px; border-radius:8px; font-size:12px; max-height:300px; overflow:auto; }

/* 数据源标签（运行状态页） */
.tag.ok { background:#dcfce7; color:#166534; border:1px solid #bbf7d0; padding:2px 8px; border-radius:10px; font-size:11px; }
.tag.off { background:#f3f4f6; color:#9ca3af; border:1px solid #e5e7eb; padding:2px 8px; border-radius:10px; font-size:11px; }

/* 净值曲线与交易标注 */
.nav-svg { display:block; width:100%; height:auto; background:#fff; border-radius:8px; }
.chart-legend { display:flex; gap:16px; align-items:center; font-size:12px; margin:2px 0 8px; flex-wrap:wrap; }
.chart-legend .dot { display:inline-block; width:9px; height:9px; border-radius:50%; margin-right:5px; vertical-align:middle; }
.chart-legend .dot.buy { background: var(--up, #dc2626); }
.chart-legend .dot.sell { background: var(--down, #16a34a); }
.chart-legend .dot.bench { background: var(--bench, #f59e0b); }
.chart-legend .dot.excess { background: #0ea5e9; }
table td.price { font-variant-numeric: tabular-nums; font-weight:600; color:#1f2937; }

/* 坐标轴 / 网格 / 刻度 */
.nav-svg .axis-grid { stroke: rgba(120,130,150,.14); stroke-width:1; pointer-events:none; }
.nav-svg .axis-line { stroke: var(--border); stroke-width:1; pointer-events:none; }
.nav-svg .axis-tick { stroke: var(--border); stroke-width:1; pointer-events:none; }
.nav-svg .axis-x, .nav-svg .axis-y { fill: var(--text-dim); font-size:9px; pointer-events:none; }
.nav-svg .axis-yr { fill: var(--bench); font-size:9px; pointer-events:none; }
.nav-svg .nav-line, .nav-svg .bench-line { pointer-events:none; }

/* 悬浮十字线 + 游标点 */
.nav-svg .crosshair { stroke: var(--text-dim); stroke-width:1; stroke-dasharray:3 3; pointer-events:none; }
.nav-svg .cross-dot { fill: var(--primary); stroke:#fff; stroke-width:1.5; pointer-events:none; }

/* 交易标注点悬浮提示 */
#trade-tip { position: fixed; display: none; pointer-events: none; z-index: 60;
  background: #0f172a; color: #e2e8f0; padding: 8px 10px; border-radius: 8px;
  font-size: 12px; line-height: 1.5; box-shadow: 0 6px 18px rgba(0,0,0,.28); max-width: 240px; }
#trade-tip b { font-weight: 700; }
#trade-tip .bench-line-txt { color: var(--bench); }
.nav-svg .trade-dot { cursor: pointer; }
.chart-box { cursor: grab; touch-action: none; }
.chart-box:active { cursor: grabbing; }

/* 交易标注点点击锁定详情卡片 */
.trade-detail { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: none;
  background: var(--card); color: var(--text); padding: 14px 16px 12px; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22); border: 1px solid var(--border); min-width: 200px; }
.trade-detail .td-close { position: absolute; top: 6px; right: 8px; border: none; background: transparent;
  font-size: 18px; line-height: 1; color: var(--text-dim); cursor: pointer; padding: 2px 6px; }
.trade-detail .td-close:hover { color: var(--text); }
.trade-detail .td-head { font-weight: 700; font-size: 14px; }
.trade-detail .td-name { font-size: 13px; margin: 2px 0 8px; color: var(--text); }
.trade-detail .kv { display: flex; justify-content: space-between; gap: 16px; font-size: 12px;
  padding: 2px 0; }
.trade-detail .kv span:first-child { color: var(--text-dim); }

/* 基准选择器 */
.bench-bar { display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.bench-bar select { min-width:120px; }

/* 区间缩放控制条 */
.range-bar { display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin:12px 0 4px; padding:10px 12px; background:var(--bg-soft); border-radius:8px; }
.range-bar .pills { display:flex; gap:6px; flex-wrap:wrap; }
.range-bar .pills button { padding:5px 12px; font-size:12px; border:1px solid var(--border); background:#fff; color:var(--text); border-radius:16px; cursor:pointer; transition:all .15s; }
.range-bar .pills button:hover { border-color:var(--primary); }
.range-bar .pills button.active { background:var(--primary); border-color:var(--primary); color:#fff; }
.range-bar .range-custom { display:flex; gap:10px; align-items:center; margin-left:auto; font-size:12px; color:var(--text-dim); }
.range-bar .range-custom input[type=date] { padding:4px 6px; border:1px solid var(--border); border-radius:6px; font-size:12px; }

/* 收益统计逐日明细表 */
.table-scroll { max-height: 520px; overflow: auto; border: 1px solid var(--border); border-radius: 8px; margin-top: 8px; }
.table-scroll table { margin: 0; }
.table-scroll thead th { position: sticky; top: 0; background: #f9fafb; z-index: 2; box-shadow: 0 1px 0 var(--border); }
.table-scroll tbody tr:last-child td { border-bottom: none; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.money { font-weight: 600; color: var(--text); }

/* 历史信号「操作建议」单元格内的当日各标的判断明细 */
.judge { margin-top: 6px; border-top: 1px dashed var(--border); padding-top: 6px; display: flex; flex-direction: column; gap: 3px; }
.jrow { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.jname { font-weight: 600; color: var(--text); }
.jval { font-variant-numeric: tabular-nums; }
.zone-low { color: var(--up); font-weight: 600; }
.zone-high { color: var(--down); font-weight: 600; }
.zone-mid { color: var(--primary); font-weight: 600; }


/* ---------- 市场概览（首页） ---------- */
.loading { padding: 40px; text-align: center; color: var(--muted); }
.hero {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  background: linear-gradient(100deg, #0f2557, #1e3a8a 55%, #2563eb);
  color: #fff; border-radius: var(--radius); padding: 22px 26px; margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.hero-title { font-size: 24px; font-weight: 700; letter-spacing: 1px; }
.hero-sub { font-size: 13px; opacity: .85; margin-top: 6px; }
.hero-sum { font-size: 14px; margin-top: 10px; background: rgba(255,255,255,.12); display: inline-block; padding: 5px 12px; border-radius: 20px; }
.hero-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-nav a {
  color: #1e3a8a; text-decoration: none; font-size: 13px; font-weight: 600; padding: 8px 16px;
  border: 1px solid #fff; border-radius: 20px; cursor: pointer; background: #fff;
  box-shadow: 0 1px 4px rgba(15,37,87,.25); transition: background .15s, transform .1s;
}
.hero-nav a:hover { background: #e0e7ff; transform: translateY(-1px); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }
.gcard {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); margin-bottom: 18px;
}
.gcard-h { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.gcard-h .muted { font-weight: 400; font-size: 12px; }
.gauge-svg { width: 100%; max-width: 220px; height: auto; display: block; margin: 4px auto 0; }
.gcard-center { text-align: center; margin: 6px 0 12px; }
.stage-tag { display: inline-block; padding: 3px 14px; border-radius: 14px; font-size: 13px; font-weight: 700; }
.gcard .kv:last-child { border-bottom: none; }
.spark-box { display: block; width: 120px; }
.spark-svg { width: 120px; height: 36px; display: block; }
.hero-note { font-size: 12px; line-height: 1.7; margin: 4px 0 18px; }

/* 页尾 */
.site-footer { background: #0f172a; color: #cbd5e1; border-radius: var(--radius); padding: 22px 26px; margin-top: 8px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-cols h4 { margin: 0 0 8px; font-size: 13px; color: #fff; }
.footer-cols p { font-size: 12px; line-height: 1.7; margin: 0; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin: 4px 0; }
.footer-cols a { color: #93c5fd; text-decoration: none; font-size: 13px; cursor: pointer; }
.footer-cols a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid #1e293b; font-size: 12px; color: #94a3b8;
}

/* A股节奏参考图（市场概览页，纯静态内容） */
.rhythm { margin: 18px 0; }
.rhythm-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.rhythm-h h2 { font-size: 18px; margin: 0; }
.rhythm table { font-size: 13px; }
.rhythm table th:first-child, .rhythm table td:first-child { width: 56px; white-space: nowrap; }
.rhythm .rmonth { font-weight: 600; color: #1f2937; }
.rhythm .rtend[data-level="3"] { color: #16a34a; font-weight: 600; }
.rhythm .rtend[data-level="2"] { color: #d97706; }
.rhythm .rtend[data-level="1"] { color: #9ca3af; }
.rhythm .rtend[data-level="0"] { color: #9ca3af; }


/* ================= P1 新增页面：归因分析 / 告警中心 / 数据质量 / 策略说明 ================= */
.p1-card { margin-bottom: 18px; }
.p1-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.p1-head h2, .p1-head h3 { margin: 0; }
.p1-sub { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.btn.xs { padding: 3px 9px; font-size: 12px; border-radius: 6px; }
.btn.gray { background: #eef2f7; color: #374151; }
select, input[type="text"], input[type="number"], input[type="date"] {
  padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 13px; background: #fff; color: var(--text);
}

/* 月度收益热力图 */
.heat { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 12px; }
.heat th { background: transparent; color: var(--muted); font-weight: 600; padding: 4px; text-align: center; }
.heat td { padding: 6px 4px; text-align: center; border-radius: 6px; border: none; font-variant-numeric: tabular-nums; }
.heat td.y { background: #f3f4f6; font-weight: 600; color: #374151; }
.heat td.blank { background: #fafafa; color: #d1d5db; }
.heat td.pos { color: #b91c1c; }
.heat td.neg { color: #15803d; }
.heat td.sum { font-weight: 700; }

/* 贡献条 */
.bar-row { display: grid; grid-template-columns: 150px 1fr 90px; gap: 10px; align-items: center; margin: 5px 0; font-size: 13px; }
.bar-track { background: #f3f4f6; border-radius: 5px; height: 16px; position: relative; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 5px; }
.bar-fill.pos { background: linear-gradient(90deg, #fca5a5, #e54545); }
.bar-fill.neg { background: linear-gradient(90deg, #86efac, #15a35a); }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

/* 告警等级 */
.sev { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.sev.info { background: #eef2ff; color: #3730a3; }
.sev.warn { background: #fff7ed; color: #b45309; }
.sev.error { background: #fef2f2; color: #b91c1c; }
.sev.ok { background: #ecfdf5; color: #047857; }
.badge-dot { display: inline-block; min-width: 17px; height: 17px; line-height: 17px; padding: 0 5px;
  border-radius: 9px; background: #e54545; color: #fff; font-size: 11px; font-weight: 700; text-align: center; margin-left: 5px; }
.alert-row.unread td:first-child { border-left: 3px solid var(--primary); }
.alert-row td { vertical-align: top; }
.alert-msg { color: #4b5563; font-size: 12px; line-height: 1.55; }
.alert-meta { margin-top: 6px; font-size: 11px; color: var(--muted); background: #f9fafb;
  border: 1px dashed var(--border); border-radius: 6px; padding: 6px 8px; font-family: ui-monospace, monospace; }

/* 规则配置 */
.rule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.rule-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); }
.rule-grid input[type="number"] { width: 100%; }
.rule-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }

/* 数据质量 */
.q-detail { font-size: 12px; color: #4b5563; line-height: 1.6; }
.q-chip { display: inline-block; background: #f3f4f6; border-radius: 6px; padding: 1px 7px; margin: 2px 4px 2px 0; font-size: 11px; }
.q-bar { height: 6px; border-radius: 3px; background: #eef2f7; overflow: hidden; margin-top: 4px; }
.q-bar > i { display: block; height: 100%; background: #2563eb; }
.q-bar.bad > i { background: #e54545; }
tr.expandable { cursor: pointer; }
tr.detail-row > td { background: #fbfcfe; }

/* 策略说明 */
.doc-card { border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; margin-bottom: 14px; background: #fff; }
.doc-card h3 { margin: 0 0 4px; font-size: 15px; }
.doc-tagline { color: var(--primary); font-size: 13px; margin-bottom: 10px; }
.doc-sec { margin-top: 12px; }
.doc-sec h4 { margin: 0 0 6px; font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .3px; }
.doc-sec p { margin: 0; line-height: 1.75; color: #374151; }
.doc-sec ul { margin: 0; padding-left: 18px; line-height: 1.8; color: #374151; }
.doc-params { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.doc-param { background: #f9fafb; border-radius: 8px; padding: 8px 10px; font-size: 12px; }
.doc-param b { display: block; color: #111827; font-size: 13px; margin-bottom: 2px; }
.doc-param span { color: var(--muted); }
.doc-foot { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px;
  padding-top: 10px; border-top: 1px dashed var(--border); font-size: 12px; color: var(--muted); }
.chart-box { width: 100%; overflow-x: auto; }

/* ---------- 策略实验室 ---------- */
.lab-vtable th, .lab-vtable td { padding: 8px 10px; text-align: left; vertical-align: middle; }
.lab-vtable input[type="text"], .lab-vtable input[type="number"], .lab-vtable select {
  width: 100%; min-width: 90px; }
.lab-vtable .swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.tag.risk { background: #fff7ed; color: #9a3412; border: 1px solid #fdba74; padding: 2px 8px; border-radius: 10px; font-size: 11px; }
.lab-multi { position: relative; }
.lab-multi summary { cursor: pointer; color: var(--primary); font-size: 13px; user-select: none; }
.lab-multi-list { display: grid; grid-template-columns: repeat(2, minmax(160px, 1fr)); gap: 4px 14px;
  max-height: 240px; overflow: auto; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 12px; margin-top: 8px; background: #fbfcfe; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 8px 0 4px; font-size: 13px; }
.chart-legend .lg-item { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; user-select: none; }
.chart-legend .lg-item.off { opacity: 0.35; text-decoration: line-through; }
.chart-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
tr.lab-err td { color: var(--muted); font-size: 12px; }
#lab-result tr[data-labrow] { cursor: pointer; }
#lab-result tr[data-labrow]:hover { background: #f8fafc; }
