/* 店铺体检中心页（L2）。版面、颜色照内容总图 B6、B7：满宽、正文 15px、表格 14px、黑色只给字。壳线的组件（.blk .pg-head .hub-tabs .tbl-sort …）不在这里改 */
.sh { font-size: 15px; line-height: 1.55; }
/* ① 结论和推广、内容、商品一个样子：页名下面直接一句，不另套白卡（11/17：店铺体检的结论是一张卡，别的页是光字；页名字号也是壳线的，这里不改） */
.sh .pg-head .blk.sh-lead { border: 0; padding: 0; margin: 0; background: none; box-shadow: none; }
.sh .pg-head .blk.sh-lead .blk-who { margin: 4px 0 0; }
.sh .sh-lead .say { font-size: 17px; font-weight: 600; color: var(--ink); margin: 0 0 4px; line-height: 1.6; }
.sh .say em, .sh .blk-say em { font-style: normal; color: var(--pop-ink); font-weight: 700; font-family: var(--num, inherit); }
.sh .blk { margin-bottom: 16px; }
.sh .blk-who { font-size: 13px; color: var(--mute); margin: 2px 0 8px; }
.sh h5 { font-size: 14px; font-weight: 600; margin: 14px 0 6px; color: var(--mute); }
.sh .pg-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 10px; font-size: 13px; }
.sh .asof { font-size: 13px; color: var(--mute); }
.sh .asof.bad, .sh .tbl td.low { color: var(--red); }
.sh .sh-cnt { font-size: 13px; color: var(--mute); }
.sh .sh-miss { font-size: 14px; color: var(--mute); background: var(--gray-soft); border-radius: 8px; padding: 8px 12px; margin: 6px 0; }
.sh .sh-note, .sh .sh-ref { font-size: 13px; color: var(--mute); margin: 8px 0 0; }
.sh .sh-ref a { color: var(--pop-ink); text-decoration: underline; }
.sh .sh-sub { display: block; font-size: 12px; color: var(--weak); font-weight: 400; }
.sh .tbl { font-size: 14px; }
.sh .tbl th { font-size: 13px; }
.sh .tbl td.nw, .sh .tbl td.k { white-space: nowrap; }
.sh .tbl td.num, .sh .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sh .tbl td .d, .sh .tbl td.d, .sh .d { color: var(--weak); }
.sh tr.d td { color: var(--weak); }
.sh .sh-inline { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 2px 4px 2px 0; }
.sh .in { font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; min-width: 0; background: #fff; }
.sh .btn { font-size: 14px; padding: 6px 12px; border-radius: 8px; }
.sh .btn.go { background: var(--pop); border-color: var(--pop); color: #fff; }
.sh .btn.soft { background: var(--pop-soft); border-color: var(--pop-soft); color: var(--pop-ink); }
.sh .btn.warn { background: #fff; color: var(--red); border-color: var(--red-soft); }
.sh .btn[disabled] { opacity: .4; cursor: not-allowed; }
.sh .more { font-size: 15px; color: var(--pop-ink); background: var(--pop-soft); border: 0; border-radius: 8px; padding: 6px 12px; margin: 8px 0 0; cursor: pointer; display: inline-block; list-style: none; }
.sh details > summary.more::-webkit-details-marker { display: none; }
.sh details.fold { margin-top: 8px; }

/* 「要做的事」：壳线 act_rows 没交来时的同样样子（B6：勾｜来源·店｜事＋为什么｜怎么做｜复核｜截止｜按钮） */
.sh .sh-acts { display: block; }
.sh .sh-row { display: grid; grid-template-columns: 28px 140px minmax(220px, 2fr) minmax(160px, 1.6fr) 180px 80px auto; gap: 10px 12px; align-items: start;
  padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.sh .sh-row:target { box-shadow: inset 3px 0 0 var(--pop); }
.sh .sh-row.st-done, .sh .sh-row.st-skip { opacity: .7; }
.sh .sh-row.late .sh-due { color: var(--red); font-weight: 600; }
.sh .act-pick input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--pop); }
.sh .sh-src b { display: block; font-size: 13px; font-weight: 600; }
.sh .sh-src small { display: block; font-size: 13px; color: var(--mute); }
.sh .sh-what h4 { font-size: 15px; font-weight: 600; margin: 0; line-height: 1.45; }
.sh .sh-why { font-size: 13px; color: var(--mute); margin: 2px 0 0; }
.sh .sh-rc { font-size: 13px; color: var(--pop-ink); margin: 3px 0 0; }
.sh .sh-how, .sh .sh-check, .sh .sh-due { font-size: 13px; color: var(--ink); }
.sh .sh-check { color: var(--mute); }
.sh .sh-btns { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
.sh .sh-btns form { margin: 0; display: inline-flex; gap: 6px; align-items: center; }
.sh .sh-ev { font-size: 13px; color: var(--mute); text-decoration: underline; }
.sh details.sh-in { display: inline-block; }
.sh details.sh-in > summary { list-style: none; display: inline-block; }
.sh details.sh-in > summary::-webkit-details-marker { display: none; }
.sh details.sh-in[open] > form { display: flex; gap: 6px; margin-top: 6px; }
.sh .act-bar.sh-bar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--pop-soft);
  border: 1px solid var(--pop-line, var(--pop-soft)); border-radius: 10px; padding: 10px 12px; margin-top: 10px; }
.sh .act-bar.sh-bar[hidden] { display: none; }
.sh .sh-bar .in { flex: 1 1 220px; }
.sh .nothing { font-size: 14px; color: var(--mute); padding: 8px 0; }

/* 拼多多暂停令 */
.sh .sh-gate { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; border-radius: 8px; padding: 10px 12px; }
.sh .sh-gate.on { background: var(--amber-soft, #fdf2df); color: var(--amber, #a35c00); }
.sh .sh-gate.off { background: var(--green-soft); color: var(--green); }
.sh .sh-gate span { font-size: 13px; }
.sh .sh-gate-f { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-start; margin-top: 10px; }
.sh .sh-add > summary { list-style: none; display: inline-block; }
.sh .sh-add > summary::-webkit-details-marker { display: none; }
.sh .sh-addf { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.sh .sh-addf label { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--mute); }
.sh .sh-addf label.ck { flex-direction: row; align-items: center; gap: 6px; }

/* 卖低了：查到原因了 */
.sh .sh-finds { margin-top: 12px; padding: 10px 12px; background: var(--gray-soft); border-radius: 10px; }
.sh .sh-finds h4 { font-size: 14px; margin: 0 0 6px; }
.sh .sh-finds form span { font-size: 13px; min-width: 260px; }
.sh .sh-finds .in { flex: 1 1 260px; }

/* 体检全文 */
.sh .sh-md { font-size: 15px; line-height: 1.7; max-width: 1100px; margin-top: 10px; }
.sh .sh-md h2 { font-size: 19px; margin: 18px 0 8px; } .sh .sh-md h3 { font-size: 17px; margin: 16px 0 6px; } .sh .sh-md h4, .sh .sh-md h5, .sh .sh-md h6 { font-size: 15px; margin: 12px 0 4px; }
.sh .sh-md blockquote { margin: 8px 0; padding: 6px 12px; border-left: 3px solid var(--pop-soft); color: var(--mute); background: #fff; }
.sh .sh-md table { margin: 8px 0; }
.sh .sh-md code { font-size: 13px; background: var(--gray-soft); padding: 0 4px; border-radius: 4px; }
.sh .sh-md hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }

/* 作战卡：一张卡一整行（里面的「要做的事」是 7 栏的行，半宽放不下） */
.sh .sh-cards { display: flex; flex-direction: column; gap: 14px; }
.sh .sh-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; }
.sh .sh-card:target { box-shadow: 0 0 0 3px var(--pop-soft); }
.sh .sh-card header { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.sh .sh-card header h4 { font-size: 16px; margin: 0; }
.sh .sh-card header small { font-size: 13px; color: var(--mute); }
.sh .sh-steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 10px 0; }
.sh .sh-steps li { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--gray-soft); color: var(--mute); }
.sh .sh-steps li.past { background: var(--green-soft); color: var(--green); }
.sh .sh-steps li.on { background: var(--pop-soft); color: var(--pop-ink); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--pop); }
.sh .sh-kv { margin: 6px 0; }
.sh .sh-fill { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0; }
.sh .sh-fill span { font-size: 13px; color: var(--mute); }
.sh .sh-fill .in { width: 140px; }
.sh .sh-boss { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); }
.sh .sh-fillrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* 活动 */
.sh .sh-pv { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--green-soft); }
.sh .sh-pv.broke { background: var(--red-soft); }
.sh .sh-pv.none { background: var(--gray-soft); }
.sh .sh-pv ol { margin: 4px 0 8px 18px; padding: 0; font-size: 13px; }

/* 热卖榜 */
.sh .mv { font-size: 13px; font-weight: 600; white-space: nowrap; }
.sh .mv.up { color: var(--green); } .sh .mv.down { color: var(--red); } .sh .mv.new { color: var(--pop-ink); } .sh .mv.same { color: var(--weak); }
.sh .sh-fl { font-size: 13px; color: var(--mute); max-width: 280px; }
.sh .tbl a.t { text-decoration: none; }

@media (max-width: 900px) {
  .sh .sh-row { grid-template-columns: 28px 1fr; }
  .sh .sh-row > :not(.act-pick) { grid-column: 2; }
  .sh .sh-btns { justify-content: flex-start; }
  .sh .btn { min-height: 36px; }
  .sh .sh-lead .say { font-size: 16px; }
}

/* ===== 11/17 壳线·视觉（docs/页面骨架.md「逐页版面」）：主栏＋右栏、KPI 一排、各店卡、两张排行并排、作战卡卡内左右分 ===== */
/* 宽表、长块放在右栏下面（右栏浮在右上；这一块清掉浮动，回到满宽，不被右栏挤窄）。窄屏右栏不浮，这句不起作用 */
.sh .blk.sh-wide { clear: right; }
.sh .sh-kpis { margin: 0 0 16px; }
.sh .pg-head .blk.sh-lead .say { max-width: 100%; }

/* 两张排行 / 两张小图并排（灵犀「潜力 SPU 排行榜」‖「在投 SPU 诊断」） */
.sh .sh-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.sh .sh-rk { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--card, #fff); min-width: 0; }
.sh .sh-rk h4 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.sh .sh-rk h4 small { font-size: 13px; font-weight: 400; color: var(--mute); }
.sh .sh-two-chart { margin: 0 0 14px; }
@container main (max-width: 760px) { .sh .sh-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .sh .sh-two { grid-template-columns: minmax(0, 1fr); } }

/* 右栏：作战卡的阶段计数、说明小字 */
.sh-sstg { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sh-sstg li { display: inline-flex; gap: 6px; align-items: baseline; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--gray-soft); color: var(--mute); }
.sh-sstg li b { font-family: var(--num); color: var(--ink); }
.sh-sstg li.on { background: var(--pop-soft); color: var(--pop-ink); }
.sh-sstg li.on b { color: var(--pop-ink); }
.sh-rtxt { margin: 0 0 6px; font-size: 13px; line-height: 1.6; color: var(--ink-2, var(--ink)); }

/* 单品作战卡（00:00 版的内容，排宽：卡内左右分——左阶段轨＋数格＋近 14 天点击＋对线表，右今天这几件＋填数＋定这张卡） */
.sh .sh-card { container-type: inline-size; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--card, #fff); box-shadow: var(--shadow-card, none); position: relative; }
.sh .sh-card::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 2px; border-radius: 0 0 2px 2px; background: var(--pop); }
.sh .sh-card .sh-card-h { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.sh .sh-card .sh-card-h h4 { font-size: 18px; margin: 0 4px 0 0; }
.sh .sh-card .sh-card-h small { flex-basis: 100%; font-size: 13px; color: var(--mute); }
.sh .sh-card-b { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 24px; margin-top: 6px; }
@container (min-width: 760px) {
  .sh .sh-card-b { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .sh .sh-card-r { border-left: 1px solid var(--line); padding-left: 22px; }
}
.sh .sh-card-l, .sh .sh-card-r { min-width: 0; }
.sh .sh-steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 4px; list-style: none; padding: 0; margin: 12px 0 6px; }
.sh .sh-steps li { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; padding: 6px 4px; border-radius: 8px; background: var(--gray-soft); color: var(--weak); text-align: center; }
.sh .sh-steps li i { font-style: normal; font-family: var(--num); font-size: 12px; width: 18px; height: 18px; line-height: 18px; border-radius: 50%; background: #fff; color: var(--mute); }
.sh .sh-steps li.past { background: var(--green-soft); color: var(--green); }
.sh .sh-steps li.on { background: var(--pop-soft); color: var(--pop-ink); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--pop); }
.sh .sh-steps li.on i { background: var(--pop); color: #fff; }
.sh .sh-sn { font-size: 13px; color: var(--mute); margin: 4px 0 0; }
.sh .sh-nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); margin: 12px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sh .sh-nums > div { padding: 10px 6px 9px 12px; border-left: 1px solid var(--line); min-width: 0; }
.sh .sh-nums > div:first-child { border-left: 0; padding-left: 0; }
.sh .sh-nums span { display: block; font-size: 13px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh .sh-nums b { display: block; font-family: var(--num); font-size: 24px; font-weight: 700; letter-spacing: -.4px; line-height: 1.3; white-space: nowrap; }
.sh .sh-nums b small { font-size: 14px; font-weight: 500; }
.sh .sh-nums em { display: block; font-style: normal; font-size: 12px; color: var(--weak); }
.sh .sh-nums .todo b { color: var(--weak); font-family: inherit; font-size: 17px; line-height: 31px; }
.sh .sh-nums .ok b { color: var(--green); } .sh .sh-nums .low b { color: var(--red); }
.sh .sh-d { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 56px; margin-top: 12px; }
.sh .sh-d i { flex: 1; background: var(--pop); opacity: .8; border-radius: 2px 2px 0 0; min-height: 2px; }
.sh .sh-d u { position: absolute; left: 0; right: 0; border-top: 1.5px dashed var(--pop); }
.sh .sh-card .sh-kv { margin: 12px 0 4px; }
.sh .sh-today { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--ink); font-size: 15px; }
.sh .sh-today b { font-family: var(--num); color: var(--pop-ink); }
.sh .sh-pass { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--pop-soft); color: var(--pop-ink); }
.sh .sh-boss > span { font-size: 13px; color: var(--mute); align-self: center; }
.sh .sh-au { margin-top: 10px; }
.sh .sh-au-b { margin-top: 8px; font-size: 13px; }

/* 热卖榜：件数、实付格子里的小条 */
.sh .tbl td.sh-bar-c .mbar { margin-left: auto; width: var(--w, 0%); max-width: 120px; }
/* 作战卡：今天这几件在卡下面满宽（act_rows 是多栏的行，半宽排不开）；左边阶段轨字不折行 */
@container (min-width: 760px) { .sh .sh-card-b { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.sh .sh-card-t { margin-top: 14px; padding-top: 4px; border-top: 1px solid var(--line); }
.sh .sh-steps li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; gap: 4px; padding: 6px 2px; }
.sh .sh-steps li i { flex: 0 0 16px; width: 16px; height: 16px; line-height: 16px; }
.sh .sh-card-r .sh-kv { margin-top: 12px; }
/* 11/17 修：候选品表「现在」「选」挪到品名后面，不滚也看得见；按钮一行排开、行不再拉高 */
.sh .sh-cand td { padding-top: 6px; padding-bottom: 6px; }
.sh .sh-cand td.k { min-width: 200px; }
.sh .sh-cand td.sh-pick { white-space: nowrap; }
.sh .sh-cand td.sh-pick .sh-inline { display: inline-flex; margin: 0 4px 0 0; }
.sh .sh-cand td .t { white-space: nowrap; }
.sh .sh-au-n { display: inline; margin-left: 8px; font-size: 13px; font-weight: 400; color: var(--mute); }
/* 11/17 复核第 1 条：店铺表 16 列要 1600 宽，满宽 1150 也得横滑（售后、缺货、过期、卖低了、每卖 100 剩被藏在右边）。
   表头折行、格子收窄，一屏看全；店名不折 */
.sh #t-shop { font-size: 13px; }
.sh #t-shop th { white-space: normal; line-height: 1.3; vertical-align: bottom; min-width: 44px; }
.sh #t-shop th, .sh #t-shop td { padding-left: 6px; padding-right: 6px; }
.sh #t-shop td.k { white-space: nowrap; }
.sh #t-shop td .d { white-space: nowrap; font-size: 12px; }
/* 11/17 修：主推卡这块不做整块白卡（整块在右栏旁边会一直窄着）：标题条是白的，每张主推卡自己是白卡，过了右栏的底就满宽、左右两半摊开 */
.sh .blk.blk-open.sh-mains { display: block; background: none; border: 0; box-shadow: none; padding: 0; }
.sh .blk.sh-mains > .blk-h { background: var(--card); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius-card) var(--radius-card) 0 0; padding: 14px 16px 2px; margin: 0; }
.sh .blk.sh-mains > .blk-who { display: flow-root; background: var(--card); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-card) var(--radius-card); padding: 0 16px 12px; margin: 0 0 12px; box-shadow: var(--shadow-card); }
.sh .blk.sh-mains > .sh-miss { display: flow-root; }
.sh .blk.sh-mains > .sh-cards { display: block; }
.sh .blk.sh-mains .sh-card { display: flow-root; margin: 0 0 14px; }
.sh-rh { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.sh-rh .more { margin-left: auto; font-size: 13px; font-weight: 400; color: var(--mute); }
/* 11/17 复核第 2 条：复购·每店——「状态」（召回这批按钮）、「发什么券」挪到店名后面；券那列限宽折行，表在 1150 内放得下 */
.sh #t-recall td.sh-coupon { min-width: 180px; max-width: 280px; white-space: normal; font-size: 13px; }
.sh #t-recall th { white-space: normal; line-height: 1.3; vertical-align: bottom; }
.sh #t-recall th, .sh #t-recall td { padding-left: 8px; padding-right: 8px; }
