.hb-meta b{font-size:22px;font-weight:700;color:#0f766e;font-variant-numeric:tabular-nums;line-height:1}
.hb-meta i{font-style:normal;font-size:11px;color:#475569}
/* Z13-ECG */
/* Z13-LINECHART */
.hb-wrap{display:block;padding:4px 0 0}
#hbChart{width:100%;height:112px;display:block}

/* ══ Z13-SLIDE-CENTER：标题不下移 + 内容垂直居中 ══ */
.carousel{display:flex;flex-direction:column}
.viewport{flex:1;min-height:0;display:flex;overflow:hidden}
.track{height:100%;align-items:stretch}
.slide{flex:0 0 100%;width:100%;height:100%;
  display:flex;flex-direction:column;justify-content:center;gap:0;
  padding:0 2px;margin:0}
.slide .s-head{margin:0 0 6px 0 !important;padding:0 !important;line-height:1.3}
.slide .s-head b,.slide .s-head i{padding:0 !important;margin-top:0 !important}
.pie-wrap{align-items:center;justify-content:center}
.hb-wrap{padding:0 !important;margin:0 !important}
.hb-wrap #hbChart{display:block}

/* ══ Z13-HEAD-CENTER：轮播标题水平居中 ══ */
.slide .s-head{
  justify-content:center !important;
  text-align:center !important;
  gap:6px !important;
  width:100% !important;
}
.slide .s-head b{margin:0 !important}
.slide .s-head i{margin-left:0 !important;letter-spacing:.14em}

/* Z13-DAILY-UI */
.hb-legend{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:2px}
.hb-li{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#334155}
.hb-li i{width:8px;height:8px;border-radius:2px;display:inline-block}
.hb-li b{color:#0f172a;font-weight:700}
/* Z13-SLIDE-ORDER：心跳页放第一 */
/* Z13-DEMO-UI */

/* Z13-VIVID：图表高级感 */
.hb-legend{display:flex;align-items:center;justify-content:center;gap:10px;margin:2px 0 4px;flex-wrap:wrap}
.hb-li{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#334155;
  background:rgba(15,23,42,.04);border-radius:999px;padding:2px 9px}
.hb-li i{width:9px;height:9px;border-radius:50%;display:inline-block;box-shadow:0 0 0 2px #fff}
.hb-li b{font-weight:800;font-variant-numeric:tabular-nums}
#hbChart{height:112px}
.lineDraw{stroke-dasharray:1200;stroke-dashoffset:1200;animation:lineIn 1.1s ease forwards}
@keyframes lineIn{to{stroke-dashoffset:0}}

/* Z13-HEAD-INSIDE：标题老实待在轮播卡片内部 */
.slide{position:relative;overflow:hidden}
.slide .car{display:flex;flex-direction:column;justify-content:center;height:100%}
.slide .s-head{transform:none !important;margin:0 0 8px 0 !important;
  justify-content:center !important;width:100% !important}
.slide .s-head b{font-size:13px !important}
.slide .s-head i{font-size:9.5px !important}

/* Z13-TITLE-FIT：整页塞得下，底部标签不被裁 */
.carousel{min-height:150px}
.slide{height:100%;display:flex;flex-direction:column;justify-content:center;padding-bottom:2px}
.slide .s-head{flex:none;margin:0 0 4px 0 !important}
.hb-wrap{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;overflow:hidden}
#hbChart{width:100%;height:auto !important;max-height:100%;display:block}
.hb-legend{flex:none;margin:0 0 2px 0 !important;gap:8px}
.hb-li{font-size:10.5px !important;padding:1px 7px !important}

/* Z13-VB2：确保图表完整显示、底部标签不被裁 */
#hbChart{display:block;width:100%;height:auto !important;max-height:118px;overflow:visible}
.hb-wrap{overflow:visible !important}
.slide{overflow:visible !important}
.slide .s-head{margin-bottom:3px !important}

/* Z13-HERO-DOWN5：大数字区域整体下移 5px */
.hero{transform:translateY(5px)}

/* ══ Z13-SLIDE-FIT：图表不超宽 + 隐藏轮播按钮 + 标题置底 ══ */
.nav{display:none !important}            /* 左右切换按钮不显示 */
.carousel{overflow:hidden}
.slide{width:100% !important;box-sizing:border-box;padding:0 10px !important;
  display:flex;flex-direction:column;justify-content:center;align-items:stretch;overflow:hidden}
.slide .hb-wrap{order:1;width:100%;max-width:100%;box-sizing:border-box;
  display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.slide .s-head{order:2;margin:6px 0 0 0 !important;justify-content:center !important;
  width:100% !important;flex:none}
#hbChart{width:100% !important;max-width:100% !important;height:auto !important;
  max-height:104px;display:block;overflow:visible}
.hb-legend{width:100%;max-width:100%;box-sizing:border-box;justify-content:center;flex-wrap:wrap}
/* 饼图页也一并对齐 */
.slide .pie-wrap{order:1;width:100%;box-sizing:border-box}

/* Z13-HEAD-UP3：底部标题上移 3px */
.slide .s-head{transform:translateY(-3px) !important}

/* Z13-DOTS-NOBORDER：圆点区不要上划线 */
.dots{border:0 !important;border-top:0 !important;box-shadow:none !important;background:none !important}
.dots::before,.dots::after{display:none !important;content:none !important}
/* Z13-BAL-DEFAULT */

/* ══ Z13-TW-CAROUSEL：表格上方的手动轮播面板（无自动播放）══ */
.tw-carousel{position:sticky;top:0;z-index:6;background:var(--surface,#fff);
  border-bottom:1px solid rgba(15,23,42,.06);padding:8px 10px 6px}
.tw-viewport{overflow:hidden;border-radius:8px}
.tw-track{display:flex;width:100%;transition:transform .35s cubic-bezier(.22,.8,.28,1)}
.tw-card{flex:0 0 100%;min-width:0;padding:8px 10px;box-sizing:border-box}
.tw-h{display:flex;align-items:baseline;gap:8px;margin-bottom:6px}
.tw-h b{font-size:12px;font-weight:700;color:#0f172a}
.tw-h i{font-style:normal;font-size:9px;letter-spacing:.14em;color:#94a3b8}
.tw-h em{margin-left:auto;font-style:normal;font-size:15px;font-weight:800;color:#0f766e;font-variant-numeric:tabular-nums}
.tw-body{font-size:11.5px;color:#334155;line-height:1.65;max-height:46px;overflow:hidden}
  /* Z13-CARD1-V2：卡片1 里放表格时不压高度，可滚动 */
  .tw-card-stat .tw-body{max-height:none;overflow:auto;flex:1;min-height:0;padding:0}
  .tw-card-stat .tw-tbl{width:100%;overflow:auto}
  .tw-card-stat .tw-tbl table{width:100%;border-collapse:collapse}
  /* Z13-CARD1-WIDTH：不清洗表头/单元格样式，完全继承卡片0 的列宽与排版 */
  .tw-card-stat .tw-tbl th{position:sticky;top:0;background:#fff}
  .tw-card-stat .tw-tbl table{table-layout:auto}
.tw-body .tw-item{display:flex;gap:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tw-body .tw-item span:first-child{color:#0f172a;font-weight:600}
.tw-body .dim{color:#94a3b8}
.tw-dots{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:6px}
.tw-dots b{width:16px;height:3px;border-radius:2px;background:rgba(15,23,42,.16);cursor:pointer;transition:.2s}
.tw-dots b.on{background:#0d9488}
.st{cursor:pointer}
.st:hover{background:rgba(13,148,136,.05)}

/* ══ Z13-TW-HEIGHT：轮播与 table-wrap 等高，不超出 ══ */
.table-wrap{overflow:hidden !important;position:relative;display:flex;flex-direction:column;min-height:0}
.tw-carousel{position:relative !important;display:flex;flex-direction:column;
  height:100%;min-height:0;overflow:hidden;flex:1}
.tw-viewport{flex:1;min-height:0;overflow:hidden;position:relative}
.tw-track{display:flex;height:100%;min-height:0;width:100%;transition:transform .32s cubic-bezier(.22,.8,.28,1)}
.tw-card{flex:0 0 100%;height:100%;min-height:0;overflow:hidden;box-sizing:border-box}
.tw-card-table{overflow:auto}                 /* 列表在卡片内部滚动，不撑高父级 */
.tw-card-table table{margin:0}
.tw-card-stat{overflow:auto;display:flex;flex-direction:column}
.tw-dots{flex:none}

/* Z13-STAT-FILTER：统计卡激活态 */
.st.on{background:rgba(13,148,136,.10) !important;box-shadow:inset 0 0 0 1px rgba(13,148,136,.35)}
.st.on .k{color:#0f766e}

/* Z13-LO-COL：最后在线列 */
th.c-lo,td:nth-child(5){width:9%}
td.lo{font-family:var(--font-mono,ui-monospace,Menlo,monospace);font-size:12px;color:#0f766e;
  font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}

/* Z13-LOG-TIGHT：日志紧凑 */



/* Z13-WALLET-GROUP */
.dr-mn{font-family:var(--font-mono,ui-monospace,Menlo,monospace);font-size:11px;line-height:1.7;
  color:#0f172a;background:rgba(13,148,136,.06);border-radius:5px;padding:6px 8px;margin:4px 0 6px;
  cursor:pointer;word-break:break-word}
.dr-ad{display:flex;gap:8px;align-items:baseline;font-size:11px;line-height:1.8}
.dr-net{color:#94a3b8;flex:none;font-size:10px;min-width:118px}
.dr-addr{color:#1e293b;font-family:var(--font-mono,ui-monospace,Menlo,monospace);word-break:break-all}
.dr-cnt{margin-left:auto;font-size:10px;color:#94a3b8}

/* Z13-PIE-BAL */
.pie-legend .pl{display:flex;align-items:center;gap:6px;font-size:11.5px;color:#334155;padding:1px 0}
.pie-legend .pl i{width:8px;height:8px;border-radius:2px;flex:none}
.pie-legend .pl .n{flex:none;min-width:42px;font-weight:600;color:#0f172a}
.pie-legend .pl .v{margin-left:auto;font-variant-numeric:tabular-nums;color:#0f766e;font-weight:700}

/* Z13-LOG-NOGAP：时间/步骤/内容紧贴，无间距 */


/* ══ Z13-LOG-FINAL：日志行唯一样式（时间固定宽、不重叠）══ */
#logs{padding:2px 8px !important;overflow:auto}
.log{display:flex !important;flex-wrap:nowrap !important;align-items:baseline !important;
  gap:0 !important;padding:1px 0 !important;line-height:1.5 !important;font-size:11px !important;
  border-bottom:1px solid rgba(15,23,42,.04)}
.log > .t{flex:0 0 46px !important;width:46px !important;min-width:46px !important;
  margin:0 !important;padding:0 !important;color:#0f172a;font-weight:600;font-size:10px !important;  /* Z13-LOG-TIME-BLACK */
  font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden}
.log > .s{flex:0 0 auto !important;margin:0 6px 0 0 !important;padding:0 !important;
  min-width:0 !important;color:#0f766e;font-weight:600;font-size:10.5px !important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:96px}
.log > .m{flex:1 1 auto !important;min-width:0 !important;margin:0 !important;padding:0 !important;
  color:#1e293b;font-size:11px !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.log.warn > .s{color:#b45309}
