/* 恒链BI - 订单管理紧凑显示 V18 */
.order-table thead th {
  white-space: nowrap;
  text-align: center;
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 13px;
  font-weight: 700;
}

.order-table .order-total-row td {
  padding-top: 8px;
  padding-bottom: 8px;
}

.order-date-cell {
  display: grid;
  grid-template-columns: auto;
  gap: 2px;
  line-height: 1.35;
  min-width: 108px;
}
.order-date-cell small {
  color: #7b8797;
  font-size: 11px;
}
.order-date-cell time,
.order-date-cell span {
  color: #29384d;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.order-number-cell {
  display: grid;
  gap: 7px;
  min-width: 150px;
  line-height: 1.3;
}
.order-number-cell > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
}
.order-number-cell small {
  width: 100%;
  color: #7b8797;
  font-size: 11px;
}
.order-number-cell strong,
.order-number-cell span {
  font-size: 12px;
  color: #26364d;
  font-variant-numeric: tabular-nums;
}
.order-copy-button {
  border: 0;
  padding: 0 2px;
  background: transparent;
  color: #6c7b90;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}
.order-copy-button:hover {
  color: #168de2;
}

.order-product-image {
  overflow: visible !important;
}
.order-official-link-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 3px;
  background: #27aee5;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}
.order-number-cell .order-store-label {
  width: 100%;
  color: #53667f;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 恒链BI - 订单管理参考旧BI布局 V19 */
.order-center-workspace .order-sync-state{display:none!important}
.order-center-workspace{font-size:12px}
.order-center-workspace .order-table{min-width:2180px;table-layout:fixed}
.order-center-workspace .order-table th,.order-center-workspace .order-table td{padding:8px 7px;font-size:12px;line-height:17px}
.order-center-workspace .order-table th{height:36px;padding-top:8px;padding-bottom:8px;font-weight:700;color:#263449;background:#f5f7fa}
.order-center-workspace .order-table th:first-child{width:122px}
.order-center-workspace .order-table th:nth-child(2){width:160px}
.order-center-workspace .order-table th:nth-child(3){width:300px}
.order-center-workspace .order-table th:nth-child(4){width:122px}
.order-center-workspace .order-table th:nth-child(5){width:80px}
.order-center-workspace .order-table th:nth-child(6){width:88px}
.order-center-workspace .order-table th:nth-child(7){width:124px}
.order-center-workspace .order-table th:nth-child(8){width:145px}
.order-center-workspace .order-table th:nth-child(9){width:90px}
.order-center-workspace .order-table th:nth-child(10){width:76px}
.order-center-workspace .order-table th:nth-child(11){width:92px}
.order-center-workspace .order-table th:nth-child(12){width:104px}
.order-center-workspace .order-table th:nth-child(13){width:485px}
.order-center-workspace .order-data-row td{vertical-align:top;min-height:120px}
.order-center-workspace .order-total-row td{vertical-align:middle;background:#fff;font-weight:600}
.order-center-workspace .order-total-row td:nth-child(13){padding:5px 8px}

.order-date-cell.v19{min-width:0;gap:5px;display:flex;flex-direction:column;align-items:center;text-align:center}
.order-date-cell.v19>div{display:flex;flex-direction:column;gap:1px;align-items:center}
.order-date-cell.v19 small{font-size:10px;color:#8793a4}
.order-date-cell.v19 time,.order-date-cell.v19 span{font-size:11px;color:#2b3a50;white-space:nowrap}

.order-number-cell.v19{min-width:0;gap:5px;text-align:left;align-content:start}
.order-number-cell.v19>div{display:block}
.order-number-cell.v19 small{width:auto;display:block;font-size:10px;color:#8793a4}
.order-number-cell.v19 strong,.order-number-cell.v19 span{font-size:11px;color:#293950;overflow-wrap:anywhere}
.order-number-cell.v19 .order-store-label{display:block;color:#394b63;margin-top:1px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-note-button{color:#168ed4;background:#eef8ff;border:1px solid #6bbcf0;border-radius:3px;height:25px;padding:0 9px;font-size:10px;margin-top:2px}
.order-copy-button{vertical-align:middle}

.order-products.v19{display:grid;gap:6px}
.order-product-v19{position:relative;display:block!important;padding:0!important;min-height:95px}
.order-product-copy{display:block}
.order-product-title-line{display:flex;align-items:flex-start;gap:4px;min-width:0}
.order-product-title-line a{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#0782d7!important;text-align:left;line-height:17px;font-size:11px}
.order-product-link-icon{font-size:10px;line-height:16px;color:#34a2e4;flex:none}
.order-product-cn{display:block!important;text-align:left;color:#8a94a3!important;font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:1px 0 4px}
.order-product-detail-line{display:grid;grid-template-columns:54px minmax(0,1fr);gap:7px;align-items:start}
.order-product-image{width:54px!important;height:54px!important;margin:0!important;background:#fff!important;border:0!important;overflow:visible!important}
.order-product-image img{width:54px!important;height:54px!important;object-fit:contain;border:1px solid #edf0f4}
.order-product-meta{text-align:left;min-width:0;line-height:15px}
.order-product-meta small{display:block!important;color:#4e5e74!important;font-size:10px!important;line-height:15px!important;overflow-wrap:anywhere}
.order-product-meta .sold-sku-label{color:#8b96a5!important;margin-top:1px}
.order-official-link-badge.v19{position:absolute;left:-307px;bottom:-9px;z-index:2;margin:0!important;border-radius:0 3px 3px 0;padding:3px 7px;background:#32afe6;color:#fff;font-size:10px;line-height:16px;white-space:nowrap}

.order-receiver-v19 a{color:#0782d7;text-decoration:none;font-size:11px;line-height:17px;display:block}
.order-receiver-v19 small{font-size:10px!important;color:#7d8999!important;line-height:15px!important}
.order-center-workspace .order-status{font-size:11px;padding:2px 5px}

.order-shipping-status-v19,.order-delivery-v19{display:grid;gap:2px;text-align:left;line-height:15px}
.order-shipping-status-v19 strong{font-size:11px;color:#2d3b50;text-align:center;margin-bottom:2px}
.order-shipping-status-v19 small,.order-delivery-v19 small{font-size:9px!important;color:#8a95a4!important;line-height:14px!important}
.order-delivery-v19 span{font-size:10px;color:#405069;overflow-wrap:anywhere;line-height:14px}
.order-full-badge{justify-self:center;color:#fff!important;background:#52b63d;border-radius:3px;padding:1px 6px;font-weight:700;margin-bottom:2px}
.order-money-cell{vertical-align:middle!important;font-variant-numeric:tabular-nums}
.order-money-cell>span{display:block}

.order-finance-grid-v19{display:grid;grid-template-columns:1.25fr .9fr .95fr;gap:5px;min-width:455px;text-align:left}
.order-finance-grid-v19 section{background:#f8f8f8;padding:5px 6px;min-height:110px}
.order-finance-grid-v19 header{display:flex;justify-content:space-between;gap:6px;font-size:10px;font-weight:700;color:#4a596d;margin-bottom:4px;white-space:nowrap}
.order-finance-grid-v19 dl{margin:0}
.order-finance-grid-v19 dl div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;line-height:14px}
.order-finance-grid-v19 dt,.order-finance-grid-v19 dd{margin:0;font-size:9px;color:#778293;font-weight:400}
.order-finance-grid-v19 dd{color:#39495f;text-align:right;font-variant-numeric:tabular-nums}
.order-finance-summary-v19{display:grid;grid-template-columns:1.25fr .9fr .95fr;gap:5px;min-width:455px}
.order-finance-summary-v19 b{display:flex;justify-content:space-between;gap:5px;font-size:10px;white-space:nowrap;color:#35465c}

/* 参考图2：筛选区更紧凑，订单页减少垂直留白 */
.order-center-workspace .order-center-title{min-height:42px;padding-top:9px;padding-bottom:9px}
.order-center-workspace .order-filter-surface{padding-top:8px;padding-bottom:8px}
.order-center-workspace .quick-order-filters{margin-bottom:8px}
.order-center-workspace .order-notice{margin-top:0}

@media (max-width:1100px){
  .order-official-link-badge.v19{left:0;bottom:auto;top:58px}
}

/* V20：官方链接移到订单行左上角，并放大 */
.order-center-workspace .order-data-row{position:relative}
.order-center-workspace .order-product-v19{position:relative}
.order-center-workspace .order-official-link-badge.v19{
  left:-307px!important;
  top:-8px!important;
  bottom:auto!important;
  min-width:62px;
  padding:3px 9px 4px!important;
  border-radius:0 4px 4px 0!important;
  background:#31afe6!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:19px!important;
  font-weight:700!important;
  letter-spacing:.2px;
  box-shadow:0 1px 2px #1683bd33;
}
@media(max-width:1100px){
  .order-center-workspace .order-official-link-badge.v19{left:0!important;top:58px!important;font-size:11px!important}
}

/* V21：订单日期垂直居中 + 官方链接标签避让 + 订单表字体放大 */

/* 整体表格字号略放大，保持紧凑但提升可读性 */
.order-center-workspace{font-size:13px}
.order-center-workspace .order-table th,
.order-center-workspace .order-table td{
  font-size:13px;
  line-height:19px;
}
.order-center-workspace .order-table th{
  font-size:13px;
  line-height:18px;
}

/* 订单行保持足够高度，日期内容在整行中上下居中 */
.order-center-workspace .order-data-row td{
  min-height:128px;
}
.order-center-workspace .order-data-row > td:first-child{
  position:relative;
  vertical-align:middle!important;
  padding-top:24px!important;
  padding-bottom:16px!important;
}
.order-center-workspace .order-date-cell.v19{
  height:100%;
  min-height:92px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:6px;
  text-align:center;
}
.order-center-workspace .order-date-cell.v19>div{
  gap:2px;
}
.order-center-workspace .order-date-cell.v19 small{
  font-size:11px;
  line-height:16px;
}
.order-center-workspace .order-date-cell.v19 time,
.order-center-workspace .order-date-cell.v19 span{
  font-size:12px;
  line-height:17px;
  font-weight:500;
}

/* 官方链接固定到每条订单的左上角区域，放大并与日期内容错开 */
.order-center-workspace .order-official-link-badge.v19{
  left:-307px!important;
  top:-8px!important;
  bottom:auto!important;
  min-width:72px!important;
  padding:4px 10px!important;
  border-radius:0 5px 5px 0!important;
  font-size:13px!important;
  line-height:21px!important;
  font-weight:700!important;
  letter-spacing:.2px;
  z-index:5!important;
}

/* 订单编号 */
.order-center-workspace .order-number-cell.v19 small{
  font-size:11px;
  line-height:16px;
}
.order-center-workspace .order-number-cell.v19 strong,
.order-center-workspace .order-number-cell.v19 span{
  font-size:12px;
  line-height:17px;
}
.order-center-workspace .order-number-cell.v19 .order-store-label{
  font-size:11px;
  line-height:16px;
}
.order-center-workspace .order-note-button{
  height:27px;
  font-size:11px;
}

/* 商品信息 */
.order-center-workspace .order-product-title-line a{
  font-size:12px!important;
  line-height:18px!important;
}
.order-center-workspace .order-product-link-icon{
  font-size:11px;
  line-height:18px;
}
.order-center-workspace .order-product-cn{
  font-size:11px!important;
  line-height:16px!important;
}
.order-center-workspace .order-product-meta{
  line-height:16px;
}
.order-center-workspace .order-product-meta small{
  font-size:11px!important;
  line-height:16px!important;
}

/* 收件人 / 状态 / 物流 / 配送信息 */
.order-center-workspace .order-receiver-v19 a{
  font-size:12px;
  line-height:18px;
}
.order-center-workspace .order-receiver-v19 small{
  font-size:11px!important;
  line-height:16px!important;
}
.order-center-workspace .order-status{
  font-size:12px;
  line-height:17px;
}
.order-center-workspace .order-shipping-status-v19 strong{
  font-size:12px;
  line-height:18px;
}
.order-center-workspace .order-shipping-status-v19 small,
.order-center-workspace .order-delivery-v19 small{
  font-size:10px!important;
  line-height:15px!important;
}
.order-center-workspace .order-delivery-v19 span{
  font-size:11px;
  line-height:16px;
}

/* 金额明细字体同步放大一级 */
.order-center-workspace .order-finance-grid-v19 header,
.order-center-workspace .order-finance-summary-v19 b{
  font-size:11px;
  line-height:16px;
}
.order-center-workspace .order-finance-grid-v19 dt,
.order-center-workspace .order-finance-grid-v19 dd{
  font-size:10px;
  line-height:15px;
}

@media(max-width:1100px){
  .order-center-workspace .order-official-link-badge.v19{
    left:0!important;
    top:58px!important;
    font-size:12px!important;
    min-width:68px!important;
  }
}

/* V22：订单表主体字体明显放大 + 删除备注按钮 */

/* 订单表主体整体放大，筛选区尺寸保持不变 */
.order-center-workspace .order-table th,
.order-center-workspace .order-table td{
  font-size:15px!important;
  line-height:22px!important;
}
.order-center-workspace .order-table th{
  font-size:15px!important;
  line-height:21px!important;
  font-weight:700!important;
}
.order-center-workspace .order-data-row td{
  min-height:138px;
  padding-top:10px!important;
  padding-bottom:10px!important;
}

/* 订单日期 */
.order-center-workspace .order-date-cell.v19{
  gap:7px!important;
}
.order-center-workspace .order-date-cell.v19 small{
  font-size:13px!important;
  line-height:18px!important;
}
.order-center-workspace .order-date-cell.v19 time,
.order-center-workspace .order-date-cell.v19 span{
  font-size:14px!important;
  line-height:20px!important;
  font-weight:500!important;
}

/* 订单编号 */
.order-center-workspace .order-number-cell.v19{
  gap:7px!important;
}
.order-center-workspace .order-number-cell.v19 small,
.order-center-workspace .order-number-cell.v19 .order-store-label{
  font-size:13px!important;
  line-height:18px!important;
}
.order-center-workspace .order-number-cell.v19 strong,
.order-center-workspace .order-number-cell.v19 span{
  font-size:14px!important;
  line-height:20px!important;
}
.order-center-workspace .order-copy-button{
  font-size:13px!important;
}
.order-center-workspace .order-note-button{
  display:none!important;
}

/* 商品信息 */
.order-center-workspace .order-product-title-line a{
  font-size:15px!important;
  line-height:21px!important;
}
.order-center-workspace .order-product-link-icon{
  font-size:13px!important;
  line-height:20px!important;
}
.order-center-workspace .order-product-cn{
  font-size:12px!important;
  line-height:18px!important;
}
.order-center-workspace .order-product-meta{
  line-height:19px!important;
}
.order-center-workspace .order-product-meta small{
  font-size:13px!important;
  line-height:19px!important;
}

/* 收件人 / 状态 */
.order-center-workspace .order-receiver-v19 a{
  font-size:14px!important;
  line-height:21px!important;
}
.order-center-workspace .order-receiver-v19 small{
  font-size:12px!important;
  line-height:18px!important;
}
.order-center-workspace .order-status{
  font-size:13px!important;
  line-height:19px!important;
  padding:3px 6px!important;
}

/* 物流 / 配送 */
.order-center-workspace .order-shipping-status-v19 strong{
  font-size:14px!important;
  line-height:21px!important;
}
.order-center-workspace .order-shipping-status-v19 small,
.order-center-workspace .order-delivery-v19 small{
  font-size:12px!important;
  line-height:18px!important;
}
.order-center-workspace .order-delivery-v19 span{
  font-size:13px!important;
  line-height:19px!important;
}
.order-center-workspace .order-full-badge{
  font-size:13px!important;
  line-height:18px!important;
  padding:2px 7px!important;
}

/* 金额 / 数量 */
.order-center-workspace .order-money-cell,
.order-center-workspace .order-money-cell>span{
  font-size:14px!important;
  line-height:21px!important;
}
.order-center-workspace .order-money-cell strong{
  font-size:15px!important;
}

/* 收支明细：同步放大，但保持三栏紧凑 */
.order-center-workspace .order-finance-grid-v19 header,
.order-center-workspace .order-finance-summary-v19 b{
  font-size:13px!important;
  line-height:19px!important;
}
.order-center-workspace .order-finance-grid-v19 dt,
.order-center-workspace .order-finance-grid-v19 dd{
  font-size:12px!important;
  line-height:18px!important;
}

/* 官方链接标签再稍微加大 */
.order-center-workspace .order-official-link-badge.v19{
  min-width:78px!important;
  padding:5px 11px!important;
  font-size:14px!important;
  line-height:21px!important;
  font-weight:700!important;
}

/* V23：订单表字体进一步放大 + 商品信息列变窄 + 标题单行显示前部 */

/* 商品信息列从 300px 缩窄，减少横向占用 */
.order-center-workspace .order-table{
  min-width:2135px!important;
}
.order-center-workspace .order-table th:nth-child(3),
.order-center-workspace .order-table td:nth-child(3){
  width:255px!important;
  max-width:255px!important;
}

/* 整体订单表再放大一级 */
.order-center-workspace .order-table th,
.order-center-workspace .order-table td{
  font-size:16px!important;
  line-height:23px!important;
}
.order-center-workspace .order-table th{
  font-size:16px!important;
  line-height:22px!important;
}

/* 日期 */
.order-center-workspace .order-date-cell.v19 small{
  font-size:14px!important;
  line-height:19px!important;
}
.order-center-workspace .order-date-cell.v19 time,
.order-center-workspace .order-date-cell.v19 span{
  font-size:15px!important;
  line-height:21px!important;
}

/* 订单编号 */
.order-center-workspace .order-number-cell.v19 small,
.order-center-workspace .order-number-cell.v19 .order-store-label{
  font-size:14px!important;
  line-height:19px!important;
}
.order-center-workspace .order-number-cell.v19 strong,
.order-center-workspace .order-number-cell.v19 span{
  font-size:15px!important;
  line-height:21px!important;
}
.order-center-workspace .order-copy-button{
  font-size:14px!important;
}
/* 彻底隐藏备注按钮，兼容旧缓存 DOM */
.order-center-workspace .order-note-button{
  display:none!important;
}

/* 商品标题：只显示开头一行，过长省略；鼠标停留可看完整 title */
.order-center-workspace .order-product-title-line{
  min-width:0!important;
  width:100%!important;
}
.order-center-workspace .order-product-title-line a{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:unset!important;
  font-size:15px!important;
  line-height:22px!important;
}
.order-center-workspace .order-product-link-icon{
  font-size:14px!important;
  line-height:22px!important;
  flex:0 0 auto!important;
}
.order-center-workspace .order-product-cn{
  font-size:13px!important;
  line-height:19px!important;
}
.order-center-workspace .order-product-meta{
  line-height:20px!important;
}
.order-center-workspace .order-product-meta small{
  font-size:14px!important;
  line-height:20px!important;
}

/* 收件人、状态、物流、配送 */
.order-center-workspace .order-receiver-v19 a{
  font-size:15px!important;
  line-height:22px!important;
}
.order-center-workspace .order-receiver-v19 small{
  font-size:13px!important;
  line-height:19px!important;
}
.order-center-workspace .order-status{
  font-size:14px!important;
  line-height:20px!important;
  padding:3px 7px!important;
}
.order-center-workspace .order-shipping-status-v19 strong{
  font-size:15px!important;
  line-height:22px!important;
}
.order-center-workspace .order-shipping-status-v19 small,
.order-center-workspace .order-delivery-v19 small{
  font-size:13px!important;
  line-height:19px!important;
}
.order-center-workspace .order-delivery-v19 span{
  font-size:14px!important;
  line-height:20px!important;
}
.order-center-workspace .order-full-badge{
  font-size:14px!important;
  line-height:19px!important;
  padding:2px 8px!important;
}

/* 金额与数量 */
.order-center-workspace .order-money-cell,
.order-center-workspace .order-money-cell>span{
  font-size:15px!important;
  line-height:22px!important;
}
.order-center-workspace .order-money-cell strong{
  font-size:16px!important;
}

/* 收支明细适度放大，避免撑得过高 */
.order-center-workspace .order-finance-grid-v19 header,
.order-center-workspace .order-finance-summary-v19 b{
  font-size:14px!important;
  line-height:20px!important;
}
.order-center-workspace .order-finance-grid-v19 dt,
.order-center-workspace .order-finance-grid-v19 dd{
  font-size:13px!important;
  line-height:19px!important;
}

/* 官方链接继续明显显示 */
.order-center-workspace .order-official-link-badge.v19{
  font-size:15px!important;
  line-height:22px!important;
  padding:5px 12px!important;
  min-width:82px!important;
}

/* V24：日期列加宽、标题严格截断、表头缩小、表内垂直居中、税费说明 */

/* 表格整体：正文保持较大字号，表头单独小一号 */
.order-center-workspace .order-table{
  min-width:2180px!important;
  table-layout:fixed!important;
}
.order-center-workspace .order-table thead th{
  font-size:13px!important;
  line-height:18px!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
  white-space:nowrap!important;
}
.order-center-workspace .order-table tbody td{
  vertical-align:middle!important;
}
.order-center-workspace .order-data-row>td{
  vertical-align:middle!important;
}
.order-center-workspace .order-data-row>td>*{
  align-self:center;
}

/* 订单日期：由原 122px 加宽，避免日期换行/拥挤 */
.order-center-workspace .order-table th:nth-child(1),
.order-center-workspace .order-table td:nth-child(1){
  width:165px!important;
  min-width:165px!important;
  max-width:165px!important;
}
.order-center-workspace .order-date-cell.v19{
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
}
.order-center-workspace .order-date-cell.v19 time,
.order-center-workspace .order-date-cell.v19 span{
  white-space:nowrap!important;
}

/* 日期列加宽后，官方链接仍固定在整行左上角 */
.order-center-workspace .order-official-link-badge.v19{
  left:-350px!important;
}

/* 商品信息列：标题绝不能越过本列 */
.order-center-workspace .order-table th:nth-child(3),
.order-center-workspace .order-table td:nth-child(3){
  width:255px!important;
  min-width:255px!important;
  max-width:255px!important;
  overflow:hidden!important;
}
.order-center-workspace .order-products.v19,
.order-center-workspace .order-product-v19,
.order-center-workspace .order-product-copy,
.order-center-workspace .order-product-title-line{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.order-center-workspace .order-product-title-line{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:4px!important;
  align-items:center!important;
}
.order-center-workspace .order-product-title-line a{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  word-break:normal!important;
}
.order-center-workspace .order-product-link-icon{
  flex:none!important;
  width:auto!important;
}

/* 各单元格内部布局也以垂直居中为准 */
.order-center-workspace .order-number-cell.v19,
.order-center-workspace .order-products.v19,
.order-center-workspace .order-receiver-v19,
.order-center-workspace .order-shipping-status-v19,
.order-center-workspace .order-delivery-v19,
.order-center-workspace .order-finance-grid-v19{
  align-content:center!important;
}
.order-center-workspace .order-receiver-v19,
.order-center-workspace .order-shipping-status-v19,
.order-center-workspace .order-delivery-v19{
  justify-content:center!important;
}

/* 税费 / 退回税费说明问号 */
.order-tax-help-v24{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  margin-left:4px;
  border:1px solid #a7adb6;
  border-radius:50%;
  color:#8d949d;
  background:#fff;
  font-size:11px;
  line-height:14px;
  font-weight:700;
  cursor:help;
  vertical-align:middle;
  padding:0;
}
.order-tax-popover-v24{
  position:fixed;
  z-index:99999;
  width:350px;
  max-width:calc(100vw - 24px);
  padding:13px 16px 15px;
  border:1px solid #dfe3e8;
  border-radius:7px;
  background:#fff;
  box-shadow:0 6px 20px rgba(0,0,0,.17);
  color:#30343a;
  font-size:14px;
  line-height:1.75;
  white-space:pre-line;
  pointer-events:none;
}
.order-tax-popover-v24 b{
  display:block;
  margin-bottom:4px;
  color:#ff8a00;
  font-size:14px;
}

/* V25：订单编号/FULL标签缩小、官方链接稳定左上角、所有帮助问号使用普通鼠标、底部固定栏避让 */

/* 1) 所有帮助/说明问号：只保留悬停提示，不再显示“箭头+?”的 help 光标 */
.help,
.inventory-help,
.inventory-help-button,
.cost-help > button,
.order-tax-help-v24,
button[aria-label*="说明"],
button[aria-label*="帮助"],
button[title*="说明"],
button[title*="帮助"]{
  cursor:default!important;
}

/* 2) 订单编号列：编号本身缩小，标签文字继续保持清楚 */
.order-center-workspace .order-number-cell.v19 strong{
  font-size:12px!important;
  line-height:18px!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
.order-center-workspace .order-number-cell.v19 .order-copy-button{
  font-size:10px!important;
  line-height:16px!important;
  padding:0 1px!important;
}
.order-center-workspace .order-number-cell.v19 small,
.order-center-workspace .order-number-cell.v19 .order-store-label{
  font-size:12px!important;
  line-height:18px!important;
}

/* 3) 配送方式 FULL 标签缩小 */
.order-center-workspace .order-full-badge{
  font-size:10px!important;
  line-height:15px!important;
  padding:1px 5px!important;
  min-width:0!important;
  min-height:0!important;
  border-radius:3px!important;
  margin-bottom:3px!important;
}

/* 4) 官方链接：不再依赖商品列的负 left；V25 JS 会复制到订单日期单元格左上角 */
.order-center-workspace .order-official-link-badge.v19{
  display:none!important;
}
.order-center-workspace .order-data-row > td:first-child{
  position:relative!important;
}
.order-center-workspace .order-official-link-badge-fixed-v25{
  position:absolute!important;
  left:0!important;
  top:0!important;
  z-index:8!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:70px!important;
  height:25px!important;
  padding:0 10px!important;
  margin:0!important;
  border-radius:0 4px 4px 0!important;
  background:#31afe6!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:25px!important;
  font-weight:700!important;
  white-space:nowrap!important;
  box-shadow:0 1px 2px rgba(22,131,189,.2)!important;
  pointer-events:auto!important;
}
.order-center-workspace .order-data-row > td:first-child:has(.order-official-link-badge-fixed-v25){
  padding-top:31px!important;
}

/* 5) 表内数据继续上下居中；收支明细内部按原三栏结构，不被通用居中规则挤乱 */
.order-center-workspace .order-data-row > td{
  vertical-align:middle!important;
}
.order-center-workspace .order-finance-grid-v19{
  align-items:stretch!important;
  align-content:center!important;
}
.order-center-workspace .order-finance-grid-v19 > section{
  height:100%!important;
  align-self:stretch!important;
}
.order-center-workspace .order-total-row > td{
  vertical-align:middle!important;
}
.order-center-workspace .order-finance-summary-v19{
  align-items:center!important;
}

/* 6) 固定分页+固定横向滚动条时，多留一点底部空间，最后一行不被底栏盖住 */
.order-center-workspace.hl-has-fixed-pagination.hl-has-fixed-hscroll{
  padding-bottom:104px!important;
}
.order-center-workspace.hl-has-fixed-pagination:not(.hl-has-fixed-hscroll){
  padding-bottom:80px!important;
}

/* V26 - 订单配送标签进一步缩小 */
.order-center-workspace .order-full-badge{
  font-size:7px!important;
  line-height:9px!important;
  padding:0 3px!important;
  min-width:0!important;
  min-height:0!important;
  border-radius:2px!important;
  margin-bottom:2px!important;
  font-weight:700!important;
}

/* V28：侧栏标题移除、订单表底部白底、固定区域背景修正 */

/* 1. 桌面端删除左侧菜单顶部“恒链BI”标题区域，只保留菜单内容 */
@media (min-width: 901px) {
  .side-menu > .menu-title {
    display: none !important;
  }
  .side-menu {
    padding-top: 8px !important;
  }
}

/* 2. 订单管理整个数据区统一白底，避免最后几行/固定分页预留区出现灰底 */
.order-center-workspace,
.order-center-workspace.hl-has-fixed-pagination,
.order-center-workspace.hl-has-fixed-hscroll,
.order-center-workspace .order-table-scroll,
.order-center-workspace .order-table,
.order-center-workspace .order-table tbody,
.order-center-workspace .order-total-row,
.order-center-workspace .order-total-row > td,
.order-center-workspace .order-data-row,
.order-center-workspace .order-data-row > td {
  background: #fff !important;
}

/* 取消可能来自旧样式的斑马纹/hover 残留，订单行始终保持白底 */
.order-center-workspace .order-table tbody tr:nth-child(odd) > td,
.order-center-workspace .order-table tbody tr:nth-child(even) > td,
.order-center-workspace .order-data-row:hover > td {
  background: #fff !important;
}

/* 收支明细外层保持整行高度和白底，内部三块继续保留浅灰卡片 */
.order-center-workspace .order-finance-grid-v19 {
  height: 100% !important;
  min-height: 100% !important;
  background: #fff !important;
}
.order-center-workspace .order-finance-grid-v19 > section {
  align-self: stretch !important;
  min-height: 100% !important;
}

/* 固定分页、横向代理滚动条本身也保持纯白，避免底部透出系统灰色背景 */
.order-center-workspace .order-pagination,
.hl-fixed-pagination,
.hl-fixed-hscroll {
  background: #fff !important;
}

/* 最后一行与固定底栏之间的预留区域仍为白色 */
.order-center-workspace.hl-has-fixed-pagination.hl-has-fixed-hscroll,
.order-center-workspace.hl-has-fixed-pagination:not(.hl-has-fixed-hscroll) {
  background-color: #fff !important;
}

/* V34: FULL 标签高度稍大、字体更小，保证完整显示。 */
.order-center-workspace .order-full-badge{
  font-size:4px!important;
  line-height:11px!important;
  height:12px!important;
  min-height:12px!important;
  min-width:28px!important;
  padding:0 4px!important;
  margin:0 auto 2px!important;
  border-radius:2px!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  transform:none!important;
}
