/* ============================================================
 * 批 V17 U6 经营总览（改法清单 #267；设计稿 rv/V17-designs「U6_经营总览」）：这一页自己的样式
 *   零件（数字条 / 分段开关 / 页签 / 标签 / 表格 / 按钮 …）的样式在 core-v17-ui.css，这里只放 U0 没有的：
 *   营收卡、合同款色带、排行条、交付五格，外加几个数字卡、列表行、目标树、「谁能看」页的摆法。页面由 public/js/o6-dashboard.js 出。
 *   · 每条规则都以 .o6- 的类起头；颜色只用 --u- 变量和下面 .o6-vars 里的 --o6- 变量（规范第 1 版里没有的两样：色带四色、营收卡大数字，
 *     审核方 #267 11-15 22:52 ★10：照稿先写成 --o6- 变量，补进规范下一版）。
 *   · index.html 里这个文件排在 core-v17-ui.css 前面（用例 5538 ⑧ 认「公共零件样式、外壳样式、</head>」三行连着）：
 *     凡是和零件类名写在同一个元素上、又要盖掉零件同一条属性的规则，选择器都带上零件的类名（.o6-bar.u-toolbar、.o6-sec.u-sec …），靠多一级类名赢，不靠先后。
 * ============================================================ */
.o6-vars {
  /* 批 V18 V18-25 版 B（Mike 11-17 18:09 / 18:36「颜色减重、靛蓝这组数据色以后全系统图表都用」）：填充只用公共件的六个数据色（--u-data-*，助理 #369）；
   *   #369 已进 main（审核方 #4 11-17 21:11「数据色直接用，不用再写缺省值」），不再带缺省值。绿、红只用在文字、箭头、标签上 */
  --o6-received: var(--u-data-1);      /* 已收 / 已收齐 / 签约额柱 / 老客户 */
  --o6-due: var(--u-data-warn);        /* 已到期未收 / 部分到账 / 进度落后（只给要人注意的一段） */
  --o6-unreached: var(--u-data-2);     /* 未到收款节点 / 未收 */
  --o6-unscheduled: var(--u-data-0);   /* 未排期 / 其他 */
  --o6-d2: var(--u-data-2);            /* 排行条第二名起、新客户、往月签约额柱 */
  --o6-d3: var(--u-data-3);            /* 回款柱 */
  --o6-track: var(--u-data-track);     /* 条的底 */
  --o6-ease: cubic-bezier(.2, .7, .2, 1);
  /* 批 V20 V20-5（#491 第 2 问方案 B，审核方 #4 11-19 17:5x）：「签约从哪来」圆环 8 档靛蓝，由深到浅，只在这一页用；第 1 档 = 公共数据色 data-1，「其余」用 --u-data-0 */
  --o6-ring-1: var(--u-data-1);
  --o6-ring-2: #4a66d8;
  --o6-ring-3: #607ade;
  --o6-ring-4: #768fe5;
  --o6-ring-5: #8ca3eb;
  --o6-ring-6: #a2b6f0;
  --o6-ring-7: #b6c6f4;
  --o6-ring-8: #c9d4f8;
  --o6-fs-big: 28px;           /* 营收卡大数字 */
  --o6-lh-big: 36px;
}

/* ---------- 页面骨架、筛选条 ---------- */
.o6-page .o6-body { display: flex; flex-direction: column; gap: var(--u-space-4); min-width: 0; }
.o6-data { display: flex; flex-direction: column; gap: var(--u-space-6); min-width: 0; transition: opacity .12s; }
.o6-data.o6-busy { opacity: .55; pointer-events: none; }
.o6-page [data-go] { cursor: pointer; }
.o6-page [data-go]:focus-visible { outline: 2px solid var(--u-brand); outline-offset: 2px; border-radius: var(--u-radius-sm); }
.o6-bar.u-toolbar { padding: 0; }
.o6-segbox { display: inline-flex; max-width: 100%; }
.o6-scope { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--u-radius-md); background: var(--u-neutral-soft); font-size: 13px; line-height: 18px; color: var(--u-ink-2); white-space: nowrap; max-width: 100%; }
.o6-scope b { color: var(--u-ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.o6-span { font-size: 13px; line-height: 20px; color: var(--u-ink-2); white-space: nowrap; }
.o6-range { display: inline-flex; align-items: center; gap: 6px; }
.o6-range-sep { color: var(--u-ink-3); }
.o6-range .o6-date.u-input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):not(.search-ipt) { width: 132px; height: 32px; font-size: 13px; }
.o6-asof { border: 0; background: none; padding: 0 2px; font-family: inherit; font-size: 12px; line-height: 18px; color: var(--u-ink-3); white-space: nowrap; cursor: pointer; }
.o6-asof:hover { color: var(--u-ink-2); text-decoration: underline; }
.o6-asof:focus-visible { outline: 2px solid var(--u-brand); outline-offset: 2px; border-radius: 2px; }

/* ---------- 小节标题：标题旁一行说明，右边放链接 ---------- */
.o6-sec.u-sec > .u-sec-hd { justify-content: flex-start; flex-wrap: wrap; gap: 4px 10px; }
.o6-sub { font-size: 13px; line-height: 20px; font-weight: 400; color: var(--u-ink-3); }
.o6-sp { flex: 1 1 auto; }
.o6-more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; line-height: 20px; font-weight: 500; white-space: nowrap; }
.o6-inwork { font-size: 13px; line-height: 20px; color: var(--u-ink-2); white-space: nowrap; }

/* ---------- 卡片底子 ---------- */
.o6-card { display: flex; flex-direction: column; gap: var(--u-space-3); padding: 16px 20px; background: var(--u-surface); border: 1px solid var(--u-line); border-radius: var(--u-radius-lg); min-width: 0; box-sizing: border-box; }
.o6-card-hd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.o6-card-hd h4 { margin: 0; font-size: 14px; line-height: 22px; font-weight: 600; color: var(--u-ink); }
.o6-nil { font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
.o6-hr { height: 1px; background: var(--u-line); margin: 4px 0; }
.o6-big { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--u-ink); }
.o6-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--u-space-4); align-items: start; }

/* ---------- 营收卡 ---------- */
.o6-revs { display: grid; gap: var(--u-space-4); }
.o6-revs.o6-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.o6-revs.o6-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.o6-revs.o6-n1 { grid-template-columns: minmax(0, 1fr); }
.o6-rev { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; background: var(--u-surface); border: 1px solid var(--u-line); border-radius: var(--u-radius-lg); text-decoration: none; color: var(--u-ink); min-width: 0; box-sizing: border-box; }
.o6-rev:hover, .o6-flow-i:hover { border-color: var(--u-brand-line); }
.o6-rev .lb { font-size: 13px; line-height: 20px; color: var(--u-ink-2); }
.o6-rev .big { font-size: var(--o6-fs-big); line-height: var(--o6-lh-big); font-weight: 600; color: var(--u-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o6-rev-ln { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 13px; line-height: 20px; color: var(--u-ink-2); }
.o6-cmp { color: var(--u-ink-3); }
.o6-chg { font-weight: 600; white-space: nowrap; color: var(--u-ink-2); }
.o6-chg.up { color: var(--u-success); }
.o6-chg.down { color: var(--u-danger); }
.o6-tgt { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.o6-tbar { position: relative; height: 6px; border-radius: 3px; background: var(--u-brand-soft); }
.o6-tbar > i { display: block; height: 6px; border-radius: 3px; background: var(--u-brand); }
.o6-tbar > b { position: absolute; top: -3px; width: 2px; height: 12px; margin-left: -1px; border-radius: 1px; background: var(--u-ink-2); }
.o6-tcap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 12px; line-height: 18px; color: var(--u-ink-3); }

/* ---------- 合同款色带 ---------- */
.o6-band-tot { font-size: 13px; line-height: 20px; color: var(--u-ink-2); }
.o6-info { display: inline-block; margin-left: 6px; color: var(--u-ink-3); cursor: help; }
.o6-info:focus-visible { outline: 2px solid var(--u-brand); outline-offset: 2px; border-radius: 2px; }
.o6-bandbar { display: flex; gap: 2px; min-height: 28px; }
.o6-bandbar.o6-none { border-radius: 4px; background: var(--u-neutral-soft); }
.o6-seg { display: flex; align-items: center; min-width: 6px; height: 28px; padding: 0; border-radius: 4px; box-sizing: border-box; font-size: 12px; line-height: 18px; font-weight: 600; color: var(--u-ink); text-decoration: none; overflow: hidden; font-variant-numeric: tabular-nums; }
.o6-seg > span { padding: 0 8px; white-space: nowrap; }
.o6-seg.o6-c-unreached, .o6-seg.o6-c-none { color: var(--u-surface); }
.o6-c-received, .o6-c-paid { background: var(--o6-received); }
.o6-c-due, .o6-c-partial { background: var(--o6-due); }
.o6-c-unreached, .o6-c-none { background: var(--o6-unreached); }
.o6-c-unscheduled { background: var(--o6-unscheduled); }
.o6-legs { display: grid; gap: 8px 24px; }
.o6-legs.o6-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.o6-legs.o6-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.o6-leg { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-decoration: none; color: var(--u-ink); }
.o6-leg .k { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 20px; color: var(--u-ink-2); }
.o6-leg .p { color: var(--u-ink-3); }
.o6-leg .v { font-size: 18px; line-height: 26px; font-weight: 600; }
.o6-dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.o6-od { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 18px; font-weight: 600; color: var(--u-danger); text-decoration: none; white-space: nowrap; }

/* ---------- 签约从哪来：排行条、部门名次 ---------- */
.o6-cols { display: grid; gap: var(--u-space-4); align-items: stretch; }
.o6-cols.o6-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.o6-cols.o6-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.o6-rks { display: flex; flex-direction: column; gap: var(--u-space-3); }
.o6-rk { display: flex; flex-direction: column; gap: 6px; min-width: 0; text-decoration: none; color: var(--u-ink); }
.o6-rk-hd { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.o6-rk-hd .nm { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; line-height: 22px; }
.o6-rk-hd .v { font-size: 14px; line-height: 22px; font-weight: 600; white-space: nowrap; }
.o6-rk-hd .n { font-size: 12px; line-height: 18px; color: var(--u-ink-3); white-space: nowrap; }
.o6-rk-bar { display: block; height: 4px; border-radius: 2px; background: var(--u-brand-soft); overflow: hidden; }
.o6-rk-bar > i { display: block; height: 4px; border-radius: 2px; background: var(--u-brand); }
.o6-rk:hover .nm { color: var(--u-brand); }
.o6-rank-row { display: flex; flex-direction: column; gap: 2px; padding-top: var(--u-space-3); border-top: 1px solid var(--u-line); }
.o6-rank-row .hd { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; font-size: 13px; line-height: 20px; color: var(--u-ink-2); }
.o6-rank-row .big { font-size: var(--u-fs-number); line-height: var(--u-lh-number); font-weight: 600; color: var(--u-ink); }
.o6-rank-row .sub { font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
.o6-dots { display: flex; gap: 6px; margin-top: 4px; }
.o6-dots > i { width: 8px; height: 8px; border-radius: var(--u-radius-pill); background: var(--u-line-dot); }
.o6-dots > i.on { background: var(--u-brand); }

/* ---------- 交付五格 ---------- */
.o6-flow { display: flex; align-items: stretch; gap: var(--u-space-2); }
.o6-flow-i { flex: 1 1 0; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--u-surface); border: 1px solid var(--u-line); border-radius: var(--u-radius-lg); text-decoration: none; color: var(--u-ink); min-width: 0; box-sizing: border-box; }
.o6-flow-i .lb { font-size: 13px; line-height: 20px; color: var(--u-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o6-flow-i .vl { font-size: var(--u-fs-number); line-height: var(--u-lh-number); font-weight: 600; }
.o6-flow-i .sb { min-height: 20px; font-size: 12px; line-height: 20px; color: var(--u-ink-3); }
/* 审核方 #367 11-18 01:12 第 1 条：俄文阶段名长，不用省略号——折成两行（每格都留两行高，五格一样齐），不在词中间断；两个最长的格子里写短写，全称在悬停提示里 */
.o6-ru .o6-flow-i .lb { white-space: normal; overflow: visible; text-overflow: clip; min-height: 40px; }
.o6-flow-arr { display: inline-flex; align-items: center; flex: none; color: var(--u-line-dot); }

/* ---------- 一行几个数（本月 / 周期服务 / 客户与市场 / 人员与执行） ---------- */
.o6-numrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 12px 16px; }
.o6-num { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-decoration: none; color: var(--u-ink); }
.o6-num .lb { font-size: 13px; line-height: 20px; color: var(--u-ink-2); }   /* 批 V20 V20-5 第 2 件第 4 条：照 V18-25 定稿 13 / 20（原 12 / 18） */
.o6-num .vl { font-size: 20px; line-height: 28px; font-weight: 600; white-space: nowrap; }
.o6-num .vl small { margin-left: 4px; font-size: 12px; font-weight: 400; color: var(--u-ink-3); }
.o6-num .vl.bad { color: var(--u-danger); }
.o6-num .sb { font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
.o6-num:hover .lb { color: var(--u-brand); }

/* ---------- 列表行（红灯、30 天内到期、逾期任务最多） ---------- */
.o6-list { display: flex; flex-direction: column; }
.o6-li { display: flex; align-items: center; gap: var(--u-space-3); padding: 10px 0; border-bottom: 1px solid var(--u-line); text-decoration: none; color: var(--u-ink); min-width: 0; font-size: 14px; line-height: 22px; }
.o6-li:last-child { border-bottom: 0; }
.o6-li .nm { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o6-li .c { min-width: 24px; text-align: right; font-weight: 600; white-space: nowrap; }
.o6-li .c.bad { color: var(--u-danger); }
.o6-li > .u-ic { color: var(--u-ink-3); }
.o6-li:hover .nm { color: var(--u-brand); }
.o6-lv { display: inline-flex; }
.o6-due-i .nm { display: flex; flex-direction: column; white-space: normal; }
.o6-due-i .nm .m, .o6-due-i .nm .s { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o6-due-i .nm .s { font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
.o6-due-i .dt { font-size: 13px; color: var(--u-ink-2); white-space: nowrap; }
.o6-top { display: flex; flex-direction: column; padding-top: var(--u-space-3); border-top: 1px solid var(--u-line); }
.o6-top .lb { font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
.o6-top .o6-li > .u-who { flex: 1 1 auto; }

/* ---------- 七条红线 ---------- */
.o6-red { padding: 12px 20px; background: var(--u-surface); border: 1px solid var(--u-line); border-radius: var(--u-radius-lg); font-size: 13px; line-height: 20px; color: var(--u-ink-2); }
.o6-red > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--u-space-3); cursor: pointer; list-style: none; }
.o6-red > summary::-webkit-details-marker { display: none; }
.o6-red[open] .o6-red-t .a { display: none; }
.o6-red:not([open]) .o6-red-t .b { display: none; }
.o6-red > ol { margin: 10px 0 0; padding-left: 20px; color: var(--u-ink); }
.o6-red > ol > li { margin: 4px 0; }

/* ---------- 目标树 ---------- */
.o6-tree { display: flex; flex-direction: column; gap: var(--u-space-3); min-width: 0; }
.o6-tree-bar, .o6-tree-dims, .o6-back { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.o6-back b { font-size: var(--u-fs-title); line-height: var(--u-lh-title); }
.o6-back .u-link { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; }
.o6-back .u-ic, .o6-prev .u-ic { transform: rotate(180deg); }
.o6-mon { min-width: 108px; text-align: center; font-size: 14px; line-height: 22px; }
.o6-ttbl .o6-tin.u-input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]):not(.search-ipt) { width: 140px; height: 32px; text-align: right; }
.o6-ttbl.u-tbl > tbody > tr.o6-t-ps > td:first-child { padding-left: 40px; }
.o6-ttbl.u-tbl > tbody > tr.o6-t-co > td, .o6-ttbl.u-tbl > tbody > tr.o6-t-dp > td { background: var(--u-surface-head); }
.o6-tnote { font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
.o6-head { margin-left: 8px; font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
.o6-done { display: flex; align-items: center; gap: 8px; min-width: 120px; }
.o6-done .o6-tbar { flex: 1 1 auto; min-width: 60px; }

/* ---------- 系统设置：谁能看 ---------- */
.o6-acc-card .o6-card-hd { padding: 14px 16px; border-bottom: 1px solid var(--u-line); align-items: center; }
.o6-units { display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: middle; }
.o6-unit { padding: 0 8px; border-radius: var(--u-radius-sm); background: var(--u-neutral-soft); color: var(--u-neutral-ink); font-size: 13px; line-height: 22px; }
.o6-unit.off { color: var(--u-ink-3); text-decoration: line-through; }
.o6-acc-form { display: flex; flex-direction: column; gap: var(--u-space-3); }
.o6-cks { display: flex; flex-wrap: wrap; gap: 6px 16px; max-height: 240px; overflow: auto; }
.o6-ck { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 22px; }

/* ---------- 窄屏只保证不坏：单列往下排（小处 h） ---------- */
@media (max-width: 960px) {
  .o6-revs.o6-n3, .o6-revs.o6-n2, .o6-cols.o6-n3, .o6-cols.o6-n2, .o6-pair, .o6-legs.o6-n4, .o6-legs.o6-n3 { grid-template-columns: minmax(0, 1fr); }
  .o6-flow { flex-wrap: wrap; }
  .o6-flow-i { flex: 1 1 140px; }
  .o6-flow-arr { display: none; }
}

/* ============================================================
 * 批 V18 V18-25 经营总览版 B（改法清单 #367；设计稿 rv/V18-designs V18-25_经营总览两版「定稿」、交互和动效稿）
 *   左主栏 + 右栏（12 栏、间距 16）；进度条高 4、色带高 8、排行细条高 3、柱宽 9 全圆角；黑色细线 = 按工作日今天应达
 * ============================================================ */
.o6-b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 16px; align-items: start; }
.o6-b.o6-b-one { grid-template-columns: minmax(0, 1fr); }
.o6-main, .o6-rail { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
/* 营收大卡：三个数在一张卡里，竖线隔开 */
.o6-hero .o6-revs { gap: 0; }
.o6-hero .o6-rev { padding: 4px 20px; border: 0; border-left: 1px solid var(--u-line); border-radius: 0; background: none; }
.o6-hero .o6-rev:first-child { padding-left: 0; border-left: 0; }
.o6-hero .o6-rev:hover { border-color: var(--u-line); }
.o6-hero .o6-rev:hover .big { color: var(--u-brand); }
.o6-tbar { height: 4px; border-radius: 2px; background: var(--o6-track); }
.o6-tbar > i { height: 4px; border-radius: 2px; background: var(--o6-received); }
.o6-tbar > b { top: -4px; height: 12px; background: var(--u-ink); }
.o6-tbar.o6-t-warn, .o6-tbar.o6-t-bad { background: var(--o6-track); }
.o6-tbar.o6-t-warn > i, .o6-tbar.o6-t-bad > i { background: var(--o6-due); }
.o6-tcap .ok { color: var(--u-success); font-weight: 600; }
.o6-tcap .late { color: var(--u-warning); font-weight: 600; }
/* 近 6 个月柱图 */
.o6-tr { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--u-line); padding-top: 12px; }
.o6-tr-hd { display: flex; align-items: center; gap: 8px; }
.o6-tr-key { display: inline-flex; gap: 16px; font-size: 12px; line-height: 18px; color: var(--u-ink-2); }
.o6-tr-key > span { display: inline-flex; align-items: center; gap: 6px; }
.o6-tr-key .o6-dot { width: 8px; height: 8px; border-radius: 50%; }
.o6-tr-chart { display: flex; align-items: flex-end; justify-content: space-around; gap: 8px; height: 132px; }
.o6-tr-m { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-decoration: none; color: inherit; cursor: pointer; }
.o6-tr-bars { display: flex; align-items: flex-end; gap: 5px; height: 100px; transition: transform .15s var(--o6-ease); }
.o6-tr-s, .o6-tr-r { display: block; width: 9px; border-radius: 5px; }
.o6-tr-s { background: var(--o6-d2); }
.o6-tr-m.now .o6-tr-s { background: var(--o6-received); }
.o6-tr-r { background: var(--o6-d3); }
.o6-tr-x { font-size: 12px; line-height: 18px; color: var(--u-ink-3); white-space: nowrap; }
.o6-tr-m.now .o6-tr-x { color: var(--u-ink); font-weight: 600; }
.o6-tr-m:hover .o6-tr-bars { transform: translateY(-2px); }
.o6-c-d2 { background: var(--o6-d2); }
.o6-c-d3 { background: var(--o6-d3); }
/* 合同款色带高 8，不再写字 */
.o6-bandbar { min-height: 8px; gap: 4px; }
.o6-bandbar > .o6-seg { height: 8px; border-radius: 4px; }
.o6-bandbar > .o6-seg > span { display: none; }
.o6-bandbar.o6-none { height: 8px; border-radius: 4px; background: var(--o6-track); }
.o6-leg .v { font-size: 20px; line-height: 28px; }
.o6-od { color: var(--u-warning); }
/* 新老客户 */
.o6-rep { display: flex; align-items: center; gap: 16px; cursor: pointer; }
.o6-rep .pct { font-size: 48px; line-height: 52px; font-weight: 600; color: var(--o6-received); white-space: nowrap; }
.o6-rep .tx { font-size: 14px; line-height: 22px; color: var(--u-ink-2); }
.o6-split { display: flex; gap: 4px; height: 8px; }
.o6-split > i { display: block; height: 8px; border-radius: 4px; }
.o6-csts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.o6-cst { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-decoration: none; color: inherit; }
.o6-cst[data-dlg] { cursor: pointer; }
.o6-cst .k { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 18px; color: var(--u-ink-2); }
.o6-cst .k .o6-dot { width: 8px; height: 8px; border-radius: 50%; }
.o6-cst .v { font-size: 20px; line-height: 28px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o6-cst .s { font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
/* 签约从哪来：两列排行，细条高 3、单色（第一名 data-1，其余 data-2） */
.o6-cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.o6-src .o6-rk-bar { height: 3px; border-radius: 2px; background: var(--o6-track); }
.o6-src .o6-rk-bar > i { height: 3px; border-radius: 2px; background: var(--o6-d2); }
.o6-src .o6-cols2 > .o6-rks:first-child > .o6-rk:first-child .o6-rk-bar > i { background: var(--o6-received); }
.o6-src-more { align-self: flex-start; }
/* 交付卡 */
.o6-sub-hd { margin-top: 4px; }
/* 右栏 */
.o6-todo { gap: 0; }
.o6-todo .o6-card-hd { padding-bottom: 4px; }
.o6-todo-i { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: center; gap: 8px; padding: 12px 0; border-top: 1px solid var(--u-line); text-decoration: none; color: var(--u-ink); cursor: pointer; }
.o6-todo-i .k { font-size: 14px; line-height: 22px; min-width: 0; }
.o6-todo-i .k small { display: block; font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
.o6-todo-i .v { font-size: 24px; line-height: 30px; font-weight: 600; white-space: nowrap; }
.o6-todo-i .v.bad { color: var(--u-danger); }
.o6-todo-i .go { display: inline-flex; color: var(--u-ink-3); transition: transform .15s var(--o6-ease); }
.o6-todo-i:hover .go, .o6-rail .o6-li:hover .d { transform: translateX(3px); }
.o6-rail .o6-li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 4px 10px; padding: 10px 0; border-bottom: 0; border-top: 1px solid var(--u-line); cursor: pointer; }
.o6-rail .o6-due-i { grid-template-columns: minmax(0, 1fr) auto; }
.o6-rail .o6-li .t { min-width: 0; }
.o6-rail .o6-li .t .m { display: block; font-size: 14px; line-height: 20px; white-space: normal; }
.o6-rail .o6-li .t small { display: block; font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
.o6-rail .o6-li .d { font-size: 13px; line-height: 20px; color: var(--u-ink-2); white-space: nowrap; transition: transform .15s var(--o6-ease); }
.o6-rail .o6-li .d.bad { color: var(--u-danger); font-weight: 600; }
/* 审核方 #367 11-18 01:12 第 2 条：俄文红灯一条两行——第一行标签 + 名称，第二行单号（名称里已有就不出）+ 右边逾期天数 */
.o6-rail .o6-li.o6-rl2 { grid-template-columns: auto minmax(0, 1fr); }
.o6-rail .o6-rl2 .o6-rl-ft { grid-column: 2; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; }
.o6-rail .o6-rl2 .o6-rl-ft small { min-width: 0; font-size: 12px; line-height: 18px; color: var(--u-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o6-big.bad { color: var(--u-danger); }
.o6-card.o6-red { padding: 16px 20px; }
.o6-card.o6-red > ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--u-ink-2); font-size: 13px; line-height: 20px; }
.o6-card.o6-red > ol > li { margin: 0; }
.o6-card.o6-red > ol > li::marker { color: var(--u-danger); font-weight: 600; }
/* 悬停：能点的抬 1px、边变浅蓝 */
.o6-num, .o6-cst, .o6-flow-i, .o6-leg { transition: transform .15s var(--o6-ease); }
.o6-num[data-go]:hover, .o6-num[data-dlg]:hover, .o6-cst[data-dlg]:hover, .o6-flow-i:hover, .o6-leg[data-go]:hover { transform: translateY(-1px); }
.o6-num[data-go]:hover .vl, .o6-num[data-dlg]:hover .vl, .o6-cst[data-dlg]:hover .v, .o6-leg[data-go]:hover .v { color: var(--u-brand); }
/* 就地弹窗：最多 5 行（上面名字、下面小字、右边数字或日期），行一条条出现 */
.o6-dl { display: flex; flex-direction: column; }
.o6-dl-r { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--u-line); }
.o6-dl-r:first-child { border-top: 0; }
.o6-dl-r[data-go] { cursor: pointer; }
.o6-dl-r[data-go]:hover .t { color: var(--u-brand); }
.o6-dl-r[data-oid] { cursor: pointer; }   /* 经营指标 ★7 弹窗（pages-ops.js fdPop）借这套行，订单行能点开订单 */
.o6-dl-r[data-oid]:hover .t { color: var(--u-brand); }
.o6-dl-r .t { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 22px; color: var(--u-ink); }
.o6-dl-r .t small { display: block; font-size: 12px; line-height: 18px; color: var(--u-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o6-dl-r .d { flex: none; font-size: 14px; font-weight: 600; color: var(--u-ink); white-space: nowrap; }
.o6-dl-r .d.bad { color: var(--u-danger); }
/* 批 V18 V18-40：「绩效前 5」弹窗一行（徽章、名字、总分、升降）。徽章的金银铜在 core-v18-perfrank.css（助理那一份），这里只管位置 */
.o6-pr .prk-no, .o6-pr .o6-pr-no { flex: none; }
.o6-pr .o6-pr-no { min-width: 22px; text-align: center; font-weight: 600; }
.o6-pr .o6-pr-dl { flex: none; min-width: 64px; text-align: right; font-size: 12px; line-height: 18px; white-space: nowrap; }
/* 批 V18 V18-40 本人绩效名次（审核方 #387 11-18 01:12 第一节）：卡里那一行名次章 + 「第 N 名」；部门只有他一个人时一条，一行高，不整张卡留空 */
.o6-pme-b { display: flex; align-items: center; gap: 10px; }
.o6-card.o6-pme { flex-direction: row; align-items: center; gap: 12px; padding: 12px 20px; }
.o6-pme .o6-pme-t { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 22px; color: var(--u-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o6-pme .o6-pme-t b { color: var(--u-ink); font-weight: 600; }
.o6-pme .o6-pme-dl, .o6-pme .o6-pme-go { flex: none; font-size: 13px; line-height: 20px; white-space: nowrap; }
.o6-pme .o6-pme-go { display: inline-flex; align-items: center; gap: 2px; }
.o6-dft { display: flex; align-items: center; gap: 8px; width: 100%; font-size: 13px; line-height: 20px; color: var(--u-ink-3); }
@media (prefers-reduced-motion: reduce) {
  .o6-num, .o6-cst, .o6-flow-i, .o6-leg, .o6-tr-bars, .o6-todo-i .go, .o6-rail .o6-li .d { transition: none; }
}
@media (max-width: 1100px) {
  .o6-b { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .o6-hero .o6-revs.o6-n3, .o6-hero .o6-revs.o6-n2 { grid-template-columns: minmax(0, 1fr); }
  .o6-hero .o6-rev { padding: 12px 0; border-left: 0; border-top: 1px solid var(--u-line); }
  .o6-hero .o6-rev:first-child { border-top: 0; }
  .o6-csts, .o6-cols2 { grid-template-columns: minmax(0, 1fr); }
  .o6-rep .pct { font-size: 40px; line-height: 44px; }
  .o6-tr-chart { gap: 2px; }
  .o6-card.o6-pme { flex-wrap: wrap; }   /* 批 V18 V18-40 本人绩效名次那一条：手机上字换行，不横出 */
  .o6-pme .o6-pme-t { flex-basis: calc(100% - 60px); white-space: normal; }
}

/* ============================================================
 * 批 V20 V20-5（改法清单 #491，审核方 #4 11-19 17:5x 通过）
 *   第 1 件：「签约从哪来」左边占比圆环、右边前 8 行；卡片窄于 760px（俄文 1366、中文 1280）右边改一列（第 7 问），手机圆环在上
 *   第 2 件：「交付」以下照 V18-25 定稿——五格一条整带（外框 + 格间竖线和朝右的斜角，照稿 .ov-flow）；超期红字不用胶囊；0 不灰；四个数等的标签 13 / 20（上面改原规则）
 * ============================================================ */
.o6-src { container-type: inline-size; }
.o6-src-body { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 24px; align-items: center; }
.o6-src-list { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.o6-src-list .o6-cols2 { row-gap: var(--u-space-3); }   /* 叠成一列时两列之间和行间一样宽 */
.o6-ring { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.o6-ring-w { position: relative; width: 136px; height: 136px; }
.o6-ring-svg { display: block; width: 136px; height: 136px; overflow: visible; }
.o6-ring-svg .o6-rg-bg { fill: none; stroke: var(--o6-track); stroke-width: 16; }
.o6-ring-svg .o6-rg-seg { fill: none; stroke-width: 16; cursor: pointer; transition: opacity .15s var(--o6-ease), stroke-width .15s var(--o6-ease); }
.o6-ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; text-align: center; }
.o6-ring-c b { font-size: 24px; line-height: 28px; font-weight: 600; color: var(--u-ink); }
.o6-ring-c b.o6-ring-amt { max-width: 96px; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.o6-ring-c small { font-size: 12px; line-height: 18px; color: var(--u-ink-3); }
.o6-ring-by .u-seg-i { height: 28px; padding: 0 10px; font-size: 12px; }
.o6-ring-nt { max-width: 160px; font-size: 12px; line-height: 18px; color: var(--u-ink-3); text-align: center; }
/* 每一块的颜色：圆环那块用 stroke，右边图例小方块用 background（同一个类两样都写，各取各的） */
.o6-rg-1 { stroke: var(--o6-ring-1); background: var(--o6-ring-1); }
.o6-rg-2 { stroke: var(--o6-ring-2); background: var(--o6-ring-2); }
.o6-rg-3 { stroke: var(--o6-ring-3); background: var(--o6-ring-3); }
.o6-rg-4 { stroke: var(--o6-ring-4); background: var(--o6-ring-4); }
.o6-rg-5 { stroke: var(--o6-ring-5); background: var(--o6-ring-5); }
.o6-rg-6 { stroke: var(--o6-ring-6); background: var(--o6-ring-6); }
.o6-rg-7 { stroke: var(--o6-ring-7); background: var(--o6-ring-7); }
.o6-rg-8 { stroke: var(--o6-ring-8); background: var(--o6-ring-8); }
.o6-rg-r { stroke: var(--u-data-0); background: var(--u-data-0); }
.o6-rsq { display: inline-block; flex: none; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; vertical-align: 1px; }
.o6-src.o6-hot .o6-rg-seg:not(.on) { opacity: .35; }
.o6-src.o6-hot .o6-rg-seg.on { stroke-width: 19; }
.o6-src.o6-hot .o6-rk.on .nm { color: var(--u-brand); }
@container (max-width: 720px) {   /* 卡片 760（内容 720）以下 */
  .o6-src-body .o6-cols2 { grid-template-columns: minmax(0, 1fr); }
}
@container (max-width: 440px) {
  .o6-src-body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
.o6-dlv .o6-flow { gap: 0; border: 1px solid var(--u-line); border-radius: var(--u-radius-md); background: var(--u-surface); overflow: hidden; }
.o6-dlv .o6-flow-i { border: 0; border-radius: 0; padding: 14px 20px 14px 24px; transition: background .15s var(--o6-ease); }
.o6-dlv .o6-flow-i:first-child { padding-left: 20px; }
.o6-dlv .o6-flow-i:hover { transform: none; background: var(--u-brand-soft); }
.o6-dlv .o6-flow-arr { position: relative; z-index: 1; width: 1px; background: var(--u-line); }
.o6-dlv .o6-flow-arr > * { display: none; }
.o6-dlv .o6-flow-arr::after { content: ""; position: absolute; left: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; box-sizing: border-box; background: var(--u-surface); border-top: 1px solid var(--u-line); border-right: 1px solid var(--u-line); transform: rotate(45deg); }
.o6-dlv .o6-flow-i .sb { min-height: 18px; line-height: 18px; }
.o6-od-t { color: var(--u-danger); }
@media (max-width: 960px) {
  .o6-dlv .o6-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--u-line); }
  .o6-dlv .o6-flow-i { padding: 12px 16px; background: var(--u-surface); }
  .o6-dlv .o6-flow-i:first-child { padding-left: 16px; }
  .o6-dlv .o6-flow-i:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .o6-ring-svg .o6-rg-seg, .o6-dlv .o6-flow-i { transition: none; }
}
