/* 最后修改：2026-10-15 15:57:08（北京时间）— 全部业务表格共用浅灰悬停变量，保留原深色及业务色。 */
/* 2026-10-07 16:32:59（北京时间）— 样品公司名称与等级复用订单两行左对齐。 */
/* 2026-10-07 16:29:11（北京时间）— 样品联系列移除后保持列宽与快递单号配色对应。 */
/* 2026-10-07 16:09:15（北京时间）— 公海同款切换、夜间末列与看板摘要精简。 */
/* 2026-10-07 15:41:34（北京时间）— 样品快递单号夜间对比度修正。 */
/* 2026-10-07 15:40:02（北京时间）— 夜间订单与样品产品文字跟随浅色正文。 */
/* 2026-10-07 15:35:02（北京时间）— 跟进正文13px、最新跟进占用剩余宽度且不显示省略号。 */
/* 2026-10-07 15:11:19（北京时间）— 跟进正文回调至14px，保留行反馈。 */
/* 2026-10-07 14:53:00（北京时间）— 跟进表格正文15px及整行悬停反馈。 */
/* 2026-10-07 11:57:02（北京时间）— 手机金额放大、年份完整显示、筛选两列避免裁切。 */
/* 2026-10-07 11:30:41（北京时间）— 订单12列适配容器，取消操作列悬浮遮挡。 */
/* 2026-10-07 11:24:17（北京时间）— 订单公司列独立加宽，长名称换行，其他表格不变。 */
/* 2026-10-06 16:06:27（北京时间）— 采用顶部 C 方案，表格外框完整保留。 */
/* 2026-10-06 15:54:19（北京时间）— 公司名独立省略，等级标签保留完整宽度。 */
/* 2026-10-06 15:41:45（北京时间）— 订单样品字号与公海一致；行业字头像；完整寄样日期。 */
/* 2026-10-06 15:25:35（北京时间）— 客户跟进列表同步简洁表格风格，保留业务色块。 */
/* 2026-10-06 15:19:44（北京时间）— 手机管理页独立滚动区避开上下导航，单据表头取消吸顶。 */
/* 2026-10-06 15:14:04（北京时间）— 已确认的订单、样品管理表格样式，作用域独立。 */
.mg-status{display:inline-flex;align-items:center;justify-content:center;min-width:50px;max-width:100%;height:23px;padding:0 7px;box-sizing:border-box;font-size:11px;font-weight:500;border-radius:4px;color:#151515;white-space:nowrap}.mg-status.green{background:#8edfa4}.mg-status.amber{background:#ffd16b}.mg-status.rose{background:#ffaaa6}.mg-status.neutral{background:#e5e6e1;color:#555d55}
@media(min-width:761px){
html.auth-has-session body.index-workspace-layout :is(#page-orders,#page-samples){background:#f3f2ef!important;padding-bottom:22px!important}
html.auth-has-session body.index-workspace-layout :is(#page-orders,#page-samples)>nav{background:transparent!important;border:0!important}

html.auth-has-session body.index-workspace-layout :is(#page-orders,#page-samples) > :is(.cw-page-head,.order-manager-toolbar),html.auth-has-session body.index-workspace-layout :is(#order-list-new,#smp-manager-list){width:calc(100% - 80px)!important;max-width:1500px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
html.auth-has-session body.index-workspace-layout :is(#page-orders,#page-samples) > :is(.cw-page-head,.order-manager-toolbar){background:transparent!important;border:0!important;padding:12px 0 18px!important;box-shadow:none!important}
html.auth-has-session body.index-workspace-layout :is(#order-list-new,#smp-manager-list){border:1px solid #dedfda!important;border-radius:12px!important;background:#f3f2ef!important;padding:0!important;overflow:auto!important;min-height:160px;box-shadow:none!important}
html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table){width:100%!important;min-width:1360px!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;margin:0!important;background:transparent!important}
html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) th{height:43px!important;position:sticky;top:0;z-index:2;background:#eeedea!important;color:#292d2b!important;font-size:14px!important;font-weight:600!important;text-align:center!important;padding:0 8px!important;border:0!important;border-bottom:1px solid #dbddd7!important}
html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) td{height:62px!important;padding:8px!important;color:#26352e!important;font-size:15px!important;font-weight:400!important;text-align:center!important;vertical-align:middle!important;border:0!important;border-bottom:1px solid #dedfda!important;background:transparent!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) :is(th,td):nth-child(2){text-align:left!important}
html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) tr:last-child td{border-bottom:0!important}
html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) tbody tr:hover{background:var(--table-row-hover-bg,#e8eae5)!important}
html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) td:first-child{color:#7c837c!important;font-size:15px!important}
html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) td:last-child{position:sticky;right:0;background:#f3f2ef!important;overflow:visible!important}
html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) tbody tr:hover td:last-child{background:var(--table-row-hover-bg,#e8eae5)!important}
html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) td button{display:inline-flex!important;align-items:center;justify-content:center;min-width:50px!important;height:29px!important;padding:0 10px!important;border:1px solid #d8dcd4!important;background:#fff!important;border-radius:7px!important;color:#202a24!important;box-shadow:none!important;font-size:13px!important;font-weight:500!important}
html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) td button:hover{background:#e4ebe1!important;border-color:#b9c5b5!important}
.mg-company{display:flex;align-items:center;gap:8px;min-width:0}.mg-company .co-av{width:26px;height:26px;flex:0 0 26px;font-size:11px;font-weight:700;color:#fff}
.mg-company>div{min-width:0}.mg-company strong{display:flex;align-items:center;gap:6px;min-width:0;font-size:14px;font-weight:500;line-height:20px;color:#374151}

html.auth-has-session body.index-workspace-layout td.mg-money{font-weight:600!important;color:#192d22!important;font-variant-numeric:tabular-nums}
html.auth-has-session body.index-workspace-layout td.mg-tracking{font-size:15px!important;color:#728077!important}
html.auth-has-session body.index-workspace-layout .order-product-summary{font-size:15px!important;font-weight:500!important;color:#314a3a!important;text-decoration:none!important;border:0!important}
html.auth-has-session body.index-workspace-layout :is(#page-orders,#page-samples) :is(input,select){background:#fff!important;border:1px solid #d9ddd5!important;box-shadow:none!important;border-radius:6px!important;height:34px!important;font-size:12px!important;color:#354439!important}
html.auth-has-session body.index-workspace-layout :is(#page-orders,#page-samples) .cw-page-actions button,html.auth-has-session body.index-workspace-layout .order-manager-add-btn{background:#22764b!important;box-shadow:none!important;border-radius:7px!important;transform:none!important;height:34px!important;font-weight:500!important}
html.auth-has-session body.index-workspace-layout .order-manager-metric strong{color:#243d2b!important;font-size:16px!important}html.auth-has-session body.index-workspace-layout .order-manager-metric span{color:#7f887e!important}
html.auth-has-session body.index-workspace-layout #page-orders .order-manager-title,html.auth-has-session body.index-workspace-layout #page-samples .cw-page-head>div>span:first-child{font-size:23px!important;font-weight:600!important;color:#152b1e!important}
}


html.auth-has-session body.index-workspace-layout .mg-detail-row{cursor:pointer}
html.auth-has-session body.index-workspace-layout .mg-detail-row:focus-visible{outline:2px solid #27865a;outline-offset:-2px}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #order-table col:nth-child(1){width:3%!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #order-table col:nth-child(2){width:22%!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #order-table col:nth-child(3){width:4%!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #order-table col:nth-child(4){width:7%!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #order-table col:nth-child(5){width:9%!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #order-table col:nth-child(6){width:7%!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #order-table col:nth-child(7){width:6%!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #order-table col:nth-child(8){width:8.5%!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #order-table col:nth-child(9){width:8.5%!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #order-table col:nth-child(10){width:8.5%!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #order-table col:nth-child(11){width:9.5%!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #order-table col:nth-child(12){width:7%!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #sample-table col:nth-child(1){width:46px!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #sample-table col:nth-child(2){width:auto!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #sample-table col:nth-child(3){width:78px!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #sample-table col:nth-child(4){width:88px!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #sample-table col:nth-child(5){width:150px!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #sample-table col:nth-child(6){width:95px!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #sample-table col:nth-child(7){width:150px!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #sample-table col:nth-child(8){width:100px!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #sample-table col:nth-child(9){width:188px!important}}
@media(min-width:761px){html.auth-has-session body.index-workspace-layout #sample-table col:nth-child(10){width:70px!important}}

@media(min-width:761px){html.auth-has-session body.index-workspace-layout .mg-company strong .customer-level-pill{margin-left:0;flex-shrink:0}html.auth-has-session body.index-workspace-layout #sample-table td:nth-child(7){font-size:15px!important;color:#728077!important}}
html.theme-dark body.index-workspace-layout :is(#page-orders,#page-samples){background:var(--bg)!important}html.theme-dark body.index-workspace-layout :is(#order-list-new,#smp-manager-list){background:var(--bg)!important;border-color:#414541!important}html.theme-dark body.index-workspace-layout :is(#order-table,#sample-table) th{background:#292c29!important;color:#eceeeb!important}html.theme-dark body.index-workspace-layout :is(#order-table,#sample-table) td{color:#e2e7e1!important;border-color:#414541!important}html.theme-dark body.index-workspace-layout :is(#order-table,#sample-table) td:last-child{background:#222522!important}html.theme-dark body.index-workspace-layout .mg-company strong{color:#e2e7e1}html.theme-dark body.index-workspace-layout :is(#order-table,#sample-table) tbody tr:hover{background:#343b33!important}

/* 手机：页面本身是唯一滚动区；底栏不覆盖任何可滚动内容。 */
@media(max-width:760px){
  html.auth-has-session body.index-workspace-layout :is(#page-orders,#page-samples){
    top:calc(64px + env(safe-area-inset-top,0px))!important;
    bottom:calc(67px + env(safe-area-inset-bottom,0px))!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    padding-top:0!important;padding-bottom:16px!important;
    overflow-x:hidden!important;overflow-y:auto!important;
    scroll-padding-top:12px;scroll-padding-bottom:16px;
    background:var(--index-layout-bg,#f3f2ef)!important;
  }
  html.auth-has-session body.index-workspace-layout :is(#page-orders,#page-samples)>#customer-workspace-tabs{
    height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;
  }
  html.auth-has-session body.index-workspace-layout :is(#page-orders,#page-samples)>#customer-workspace-tabs>[role=tablist]{
    background:var(--index-layout-bg,#f3f2ef)!important;
  }
  html.auth-has-session body.index-workspace-layout :is(#order-list-new,#smp-manager-list){overflow:visible!important}
  html.auth-has-session body.index-workspace-layout :is(#page-orders,#page-samples) .mm-items :is(thead,th){position:static!important;top:auto!important;z-index:auto!important}
}

/* 跟进列表独立作用域：不改变看板、阶段/等级色块和公海列宽。 */
@media(min-width:761px){
  html.auth-has-session body.index-workspace-layout #page-followup #foListView{width:calc(100% - 80px)!important;max-width:1500px!important;left:0!important;right:0!important;bottom:24px!important;margin:0 auto!important;background:var(--index-layout-bg,#f3f2ef)!important}
  html.auth-has-session body.index-workspace-layout #foListFilters{gap:10px;padding:10px 0 16px!important;border:0!important;background:transparent!important}
  html.auth-has-session body.index-workspace-layout #foListFilters>div{min-width:0;border-radius:6px!important;padding:10px 12px!important;box-shadow:none!important}
  html.auth-has-session body.index-workspace-layout #foListBody{min-height:0;border:1px solid var(--index-layout-line,#dedfda)!important;border-radius:12px;background:var(--index-layout-bg,#f3f2ef)!important}
  html.auth-has-session body.index-workspace-layout #fo-table{min-width:1400px!important;width:100%!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important}
  html.auth-has-session body.index-workspace-layout #fo-table th{height:43px!important;padding:0 8px!important;background:#eeedea!important;font-size:12px!important;font-weight:600!important;text-align:center!important;border:0!important;border-bottom:1px solid var(--index-layout-line,#dedfda)!important}
  html.auth-has-session body.index-workspace-layout #fo-table td{height:56px!important;box-sizing:border-box;padding:8px!important;font-size:13px!important;text-align:center!important;vertical-align:middle;border:0!important;border-bottom:1px solid var(--index-layout-line,#dedfda)!important;background:transparent!important}
  html.auth-has-session body.index-workspace-layout #fo-table :is(th,td):is(:nth-child(2),:nth-child(7)){text-align:left!important}
  html.auth-has-session body.index-workspace-layout #fo-table td:nth-child(2){font-weight:500!important}
  html.auth-has-session body.index-workspace-layout #fo-table tbody tr{background:transparent!important}
  html.auth-has-session body.index-workspace-layout #fo-table tbody tr:hover{background:var(--table-row-hover-bg,#e8eae5)!important}
  html.auth-has-session body.index-workspace-layout #fo-table tr:last-child td{border-bottom:0!important}
  html.auth-has-session body.index-workspace-layout #fo-table .fo-tbl-act{min-width:50px;height:29px;padding:0 10px;border:1px solid #d8dcd4;border-radius:7px;background:#fff;box-shadow:none;color:#202a24;font-size:12px;font-weight:500}
  html.auth-has-session body.index-workspace-layout #fo-table .fo-tbl-act:hover{background:#e4ebe1;border-color:#b9c5b5}
  html.auth-has-session body.index-workspace-layout #fo-table .fo-stage-pill-select{max-width:100%;height:26px;border-radius:5px;font-size:12px}
  html.auth-has-session body.index-workspace-layout #fo-table col:nth-child(1){width:48px!important}
  html.auth-has-session body.index-workspace-layout #fo-table col:nth-child(4){width:68px!important}
  html.auth-has-session body.index-workspace-layout #fo-table col:nth-child(5){width:50px!important}
  html.auth-has-session body.index-workspace-layout #fo-table col:nth-child(6){width:105px!important}
  html.auth-has-session body.index-workspace-layout #fo-table col:nth-child(7){width:auto!important}
  html.theme-dark body.index-workspace-layout #fo-table th{background:#292c29!important}
  html.theme-dark body.index-workspace-layout #fo-table tbody tr:hover{background:#343b33!important}
}

@media(min-width:761px){
  html.auth-has-session body.index-workspace-layout #sample-table{min-width:1400px!important}
  html.auth-has-session body.index-workspace-layout #sample-table td.mg-date{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;line-height:20px;font-variant-numeric:tabular-nums}
  html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) .mg-status{font-size:13px!important}
}

.mg-company-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 2026-10-06 16:06:27（北京时间）— 已确认 C 方案：桌面顶部轻分组与留白，保留表格完整边框。 */
@media(min-width:1025px){
html.auth-has-session body.index-workspace-layout :is(#page-followup,#page-orders,#page-samples){--cw-tabs-height:94px;border-left:0!important;border-right:0!important;background:var(--index-layout-bg,#f3f2ef)!important}
html.auth-has-session body.index-workspace-layout #customer-workspace-tabs{height:94px!important;min-height:94px!important;width:calc(100% - 80px)!important;max-width:1500px!important;margin:0 auto!important;padding:22px 0!important;border:0!important;box-shadow:none!important;background:transparent!important;gap:32px!important;position:relative!important;top:0!important}
html.auth-has-session body.index-workspace-layout #customer-workspace-tabs>[role=tablist]{gap:20px!important}
html.auth-has-session body.index-workspace-layout #customer-workspace-tabs .cw-workspace-tools{gap:24px!important}
html.auth-has-session body.index-workspace-layout #customer-workspace-tabs.cw-head-wide [data-cw-page-actions]{gap:22px!important;border:0!important}
html.auth-has-session body.index-workspace-layout #customer-workspace-tabs.cw-head-wide [data-cw-page-actions]>:is(div,span,button){border-left:0!important}
html.auth-has-session body.index-workspace-layout #customer-workspace-tabs.cw-head-wide .fo-header-actions>div:empty{display:none!important}
html.auth-has-session body.index-workspace-layout #page-followup>.fo-header{position:absolute!important;top:94px!important;height:84px!important;min-height:84px!important;width:calc(100% - 80px)!important;max-width:1500px!important;left:0!important;right:0!important;margin:0 auto!important;padding:20px 18px!important;border:0!important;border-radius:12px!important;box-shadow:none!important;background:#eaeae5!important}
html.auth-has-session body.index-workspace-layout #page-followup :is(#foListView,#foKanbanView){top:196px!important;border:0!important}
html.auth-has-session body.index-workspace-layout #foListFilters{padding:0 0 24px!important;gap:14px!important}
html.auth-has-session body.index-workspace-layout #foListFilters>div{padding:15px 14px!important}
html.auth-has-session body.index-workspace-layout :is(#page-orders,#page-samples)>.cw-page-head{position:relative!important;top:0!important;min-height:84px!important;padding:20px 18px!important;margin-bottom:18px!important;border:0!important;border-radius:12px!important;background:#eaeae5!important}
html.auth-has-session body.index-workspace-layout :is(#page-orders,#page-samples)>.cw-page-head>div{gap:14px!important}
html.auth-has-session body.index-workspace-layout :is(#foListBody,#order-list-new,#smp-manager-list){border:1px solid var(--index-layout-line,#dedfda)!important;border-radius:12px!important}
html.theme-dark.auth-has-session body.index-workspace-layout #page-followup>.fo-header,
html.theme-dark.auth-has-session body.index-workspace-layout :is(#page-orders,#page-samples)>.cw-page-head{background:#292c29!important}
}
@media(min-width:1025px) and (max-width:1400px){
html.auth-has-session body.index-workspace-layout #customer-workspace-tabs{gap:14px!important}
html.auth-has-session body.index-workspace-layout #customer-workspace-tabs .cw-workspace-tools{gap:10px!important}
html.auth-has-session body.index-workspace-layout #customer-workspace-tabs>[role=tablist]{gap:8px!important}
}

/* 2026-10-06 16:21:42（北京时间）— 已确认 A 方案：整张看板包边，保持阶段颜色。 */
@media(min-width:1100px){
/* 2026-10-06 17:22:40（北京时间）— 外框归属滚动容器，滚动条位于边框内。 */
html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup #foKanbanView{width:calc(100% - 80px)!important;max-width:1500px!important;left:0!important;right:0!important;bottom:18px!important;margin:0 auto!important;box-sizing:border-box;border:1px solid var(--index-layout-line,#d6d8d2)!important;border-radius:14px;overflow-y:auto!important;scrollbar-gutter:stable;}
html.auth-has-session body.index-workspace-layout.followup-kanban-wide #page-followup #kanban-board{width:100%!important;max-width:none!important;margin:0;min-height:100%;padding:14px!important;align-items:stretch!important;box-sizing:border-box;position:relative;border:0;border-radius:0;}
#kanban-board .fo-col{position:relative;min-height:0;}
#kanban-board .fo-col-body{min-height:0;padding:3px;}
#kanban-board .fo-col-head{margin-bottom:10px;border:1px solid rgba(0,0,0,.025);}
}

@media(min-width:761px){
 html.auth-has-session body.index-workspace-layout #page-orders #order-table{min-width:0!important}
 html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) .mg-company>div{flex:1;min-width:0}
 html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) .mg-company-name{flex:1;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
}

@media(min-width:761px){
 html.auth-has-session body.index-workspace-layout #page-orders #order-table :is(th,td){padding-left:4px!important;padding-right:4px!important}
 html.auth-has-session body.index-workspace-layout #page-orders #order-table td{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
 html.auth-has-session body.index-workspace-layout #page-orders #order-table td:last-child{position:static!important}
 html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) .mg-company strong{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
 html.auth-has-session body.index-workspace-layout :is(#order-table,#sample-table) .mg-company-name{flex:none;width:100%}
 html.auth-has-session body.index-workspace-layout #order-table .order-product-summary{white-space:normal;overflow-wrap:anywhere}
}

@media(min-width:761px){
 html.auth-has-session body.index-workspace-layout #order-table .mg-status{white-space:normal;min-width:0;height:auto;min-height:23px;padding:3px 5px;line-height:17px}
}
@media(min-width:761px) and (max-width:1024px){
 html.auth-has-session body.index-workspace-layout #page-orders #order-table{min-width:1080px!important}
}

@media(max-width:760px){
 html.auth-has-session body.index-workspace-layout #page-orders #of-total-amt{font-size:22px!important;line-height:28px!important;font-weight:700;font-variant-numeric:tabular-nums}
 html.auth-has-session body.index-workspace-layout #page-orders .order-manager-metric span{font-size:12px;line-height:18px}
 html.auth-has-session body.index-workspace-layout #page-orders .order-manager-title-group{min-width:0;flex-wrap:wrap;gap:8px;padding:0}
 html.auth-has-session body.index-workspace-layout #page-orders #order-year-tag{width:116px!important;min-width:116px;margin-left:auto;padding:5px 28px 5px 12px!important}
 html.auth-has-session body.index-workspace-layout #page-orders .order-manager-filterline{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible!important;white-space:normal}
 html.auth-has-session body.index-workspace-layout #page-orders .order-manager-filterline>select{width:100%!important;min-width:0;max-width:100%;padding:5px 28px 5px 10px!important}
 html.auth-has-session body.index-workspace-layout #page-orders #of-keyword{grid-column:1/-1;width:100%!important;min-width:0}
 html.auth-has-session body.index-workspace-layout #page-orders .order-manager-reset-btn{grid-column:1/-1;justify-self:end;width:72px;min-height:40px}
}

/* 仅客户跟进列表：独立字号，不改变公海、我的客户、看板和阶段色。 */
html.auth-has-session body.index-workspace-layout #page-followup #fo-table th{font-size:13px!important}
html.auth-has-session body.index-workspace-layout #page-followup #fo-table td{font-size:13px!important;line-height:1.5}
html.auth-has-session body.index-workspace-layout #page-followup #fo-table .fo-latest-text{font-size:13px!important;text-overflow:clip}
html.auth-has-session body.index-workspace-layout #page-followup #fo-table :is(.fo-tbl-act,.fo-stage-pill-select,.customer-level-select,.customer-level-select-label){font-size:13px!important}
html.auth-has-session body.index-workspace-layout #page-followup #fo-table .customer-protection-status{font-size:12px!important}
html.auth-has-session body.index-workspace-layout #page-followup #fo-table tbody td{transition:background-color .14s ease}
@media(hover:hover){
 html.auth-has-session body.index-workspace-layout #page-followup #fo-table tbody tr:hover>td{background:var(--table-row-hover-bg,#e1e6eb)!important}
 html.auth-has-session.theme-dark body.index-workspace-layout #page-followup #fo-table tbody tr:hover>td{background:#343b45!important}
}
html.auth-has-session body.index-workspace-layout #page-followup #fo-table tbody tr:focus-within>td{background:#e1e6eb!important}
html:not(.theme-dark).auth-has-session body.index-workspace-layout #page-followup #fo-table tbody tr:focus-within:hover>td{background:var(--table-row-hover-bg,#f5f5f5)!important}
html.auth-has-session.theme-dark body.index-workspace-layout #page-followup #fo-table tbody tr:focus-within>td{background:#343b45!important}
@media(prefers-reduced-motion:reduce){html.auth-has-session body.index-workspace-layout #page-followup #fo-table tbody td{transition:none}}

html.auth-has-session.theme-dark body.index-workspace-layout :is(#page-orders,#page-samples) .order-product-summary{color:inherit!important}

html.auth-has-session.theme-dark body.index-workspace-layout #sample-table td:nth-child(7){color:#e2e7e1!important}

/* 2026-10-07 16:01:19（北京时间）— 阶段完整显示；三类详情统一独立切换栏。 */
html.auth-has-session body.index-workspace-layout #page-followup #fo-table col:nth-child(8){width:104px!important}
html.auth-has-session body.index-workspace-layout #page-followup #fo-table .fo-stage-pill-select{width:84px!important;min-width:84px!important;max-width:none!important;padding:3px 8px!important;white-space:nowrap;box-sizing:border-box;letter-spacing:0}
/* 公海同款：电脑两侧圆形箭头；手机底部实心按钮。 */
html body :is(#orderDetailModal,#sampleDetailModal) .dd-panel{position:relative}
:is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav{position:absolute;inset:0;z-index:3;pointer-events:none}
:is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav button{position:absolute;top:50%;width:40px;height:40px;min-height:0;margin:0;padding:0;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;border:0!important;border-radius:50%;background:var(--cd-ink,var(--dd-ink,#1f1f1f))!important;color:#fff!important;box-shadow:none;pointer-events:auto;cursor:pointer;transition:background .15s}
:is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav [data-step="-1"]{left:16px}
:is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav [data-step="1"]{right:16px}
:is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
:is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav .cd-nav-label{display:none}
:is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav button:disabled{opacity:1;background:#e4e4e4!important;color:#a3a3a3!important;cursor:default}
:is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav button:focus-visible{outline:2px solid var(--cd-ink2,#666);outline-offset:3px}
:is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-position{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html.theme-dark :is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav button{color:#202225!important}
html.theme-dark :is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav button:disabled{background:#34373c!important;color:#7f858c!important}
@media(hover:hover){html:not(.theme-dark) :is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav button:hover:not(:disabled){background:#3d3d3d!important}}
@media(min-width:761px){
 html body #foDetailPanel.cd-fo{--cd-pad:80px}
 html body :is(#orderDetailModal,#sampleDetailModal).overlay :is(.dd-utility,.dd-head,.dd-body,.dd-footer){padding-left:80px!important;padding-right:80px!important}
}
@media(max-width:760px){
 :is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav{position:static;inset:auto;order:10;display:flex;align-items:center;gap:12px;flex:none;padding:12px 18px 14px;border-top:1px solid var(--cd-line,var(--dd-line,#dfe0dd));pointer-events:auto}
 :is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav button{position:static;flex:1;width:auto;min-width:0;height:44px;gap:6px;border-radius:8px;transform:none;font:600 14px var(--font)}
 :is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav .cd-nav-label{display:inline;font-size:14px;line-height:1}
 :is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-position{position:static;order:2;width:auto;height:auto;min-width:48px;overflow:visible;clip-path:none;text-align:center;font-size:13px;color:var(--cd-ink,var(--dd-ink,#1f1f1f))}
 :is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav [data-step="-1"]{order:1}
 :is(#foDetailPanel,#orderDetailModal,#sampleDetailModal) .workflow-detail-nav [data-step="1"]{order:3}
}
/* 夜间操作列及悬停与表格一致，固定列仍保留不透明底色。 */
html.auth-has-session.theme-dark body.index-workspace-layout :is(#order-table,#sample-table) td:last-child{background:var(--index-layout-bg,#1d1f23)!important}
html.auth-has-session.theme-dark body.index-workspace-layout :is(#order-table,#sample-table) tbody tr:hover td:last-child{background:#343b33!important}
html.auth-has-session.theme-dark body.index-workspace-layout :is(#order-table,#sample-table) td button{background:#292c29!important;color:#e2e7e1!important;border-color:#4a504a!important}
html.auth-has-session.theme-dark body.index-workspace-layout :is(#order-table,#sample-table) td button:hover{background:#343b33!important;border-color:#6a7469!important}
/* 手机只精简看板；列表摘要与详情原文保留。 */
#page-followup .fm-board .fm-note{display:none}
