/* 鲸帆ERP 全局补丁样式（源码管理，build自动携带） */
/* === 运单管理 店小秘布局 === */
.logistics-page .order-card:not(.dxm-done){visibility:hidden!important}.logistics-page .order-card.dxm-done{visibility:visible!important}.logistics-page .waybill-list{min-height:120px}.logistics-page .waybill-list{gap:0!important;background:#fff;border:1px solid #ebeef5;border-radius:8px;overflow:hidden}
.dxm-waybill-head{display:flex;align-items:center;background:#fafafa;border-bottom:1px solid #ebeef5;padding:10px 12px;font-size:13px;color:#909399;font-weight:500;gap:12px}
.dxm-waybill-head .h-product{width:300px;flex-shrink:0}
.dxm-waybill-head .h-amount{width:90px;flex-shrink:0;text-align:center}
.dxm-waybill-head .h-buyer{width:130px;flex-shrink:0}
.dxm-waybill-head .h-orderno{width:140px;flex-shrink:0}
.dxm-waybill-head .h-logistics{flex:1;min-width:0}
.dxm-waybill-head .h-action{width:150px;flex-shrink:0;text-align:right}
.dxm-waybill-row{display:flex;align-items:flex-start;gap:12px;padding:14px 12px;border-bottom:1px solid #f0f2f5;transition:background .2s}
.dxm-waybill-row:last-child{border-bottom:none}
.dxm-waybill-row:hover{background:#fafcff}
.c-product{width:300px;flex-shrink:0;display:flex;gap:10px;min-width:0}
.c-product .p-img{width:60px;height:60px;flex-shrink:0;border:1px solid #ebeef5;border-radius:4px;overflow:hidden;background:#fff}
.c-product .p-img img{width:100%;height:100%;object-fit:contain}
.c-product .p-info{flex:1;min-width:0}
.c-product .p-name{font-size:12px;color:#303133;line-height:1.4;height:34px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:4px}
.c-product .p-spec{font-size:12px;color:#909399;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.c-product .p-price{font-size:12px;color:#f56c6c;margin-top:2px}
.c-amount{width:90px;flex-shrink:0;text-align:center;padding-top:20px}
.c-amount .a-total{font-size:15px;font-weight:600;color:#303133}
.c-buyer{width:130px;flex-shrink:0;padding-top:18px;font-size:13px}
.c-buyer .b-name{color:#303133;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.c-buyer .b-country{color:#409eff;font-size:12px;margin-top:4px}
.c-orderno{width:140px;flex-shrink:0;padding-top:18px}
.c-orderno .o-no{color:#409eff;font-size:13px;cursor:pointer;font-weight:500}
.c-orderno .o-no:hover{text-decoration:underline}
.c-orderno .o-tag{display:inline-block;margin-top:6px;padding:2px 8px;border-radius:3px;font-size:11px}
.o-tag.success{background:#f0f9eb;color:#67c23a;border:1px solid #e1f3d8}
.o-tag.fail{background:#fef0f0;color:#f56c6c;border:1px solid #fde2e2}
.o-tag.pending{background:#fdf6ec;color:#e6a23c;border:1px solid #faecd8}
.c-logistics{flex:1;min-width:0;font-size:12px;line-height:1.8;color:#606266}
.c-logistics .l-channel{color:#303133;font-weight:500;margin-bottom:2px}
.c-logistics .l-track{color:#409eff;cursor:pointer;word-break:break-all}
.c-logistics .l-track:hover{text-decoration:underline}
.c-action{width:150px;flex-shrink:0;display:flex;flex-direction:column;gap:6px;align-items:flex-end}
.c-action .a-status{font-size:12px;color:#67c23a;margin-bottom:2px}
.c-action .el-button{margin:0!important;padding:5px 10px!important;font-size:12px!important}
.label-print-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:9999;display:flex;align-items:center;justify-content:center}
.label-print-dialog{background:#fff;border-radius:8px;padding:24px;width:600px;max-width:90vw;max-height:90vh;overflow:auto}
.label-print-dialog h3{margin:0 0 16px;font-size:18px}
.label-preview{border:2px dashed #dcdfe6;border-radius:6px;padding:20px;margin-bottom:16px;background:#fafafa}
.label-preview .label-tracking{font-size:22px;font-weight:700;margin-bottom:12px;word-break:break-all}
.label-preview .label-row{font-size:14px;line-height:1.8}
.label-preview .label-row b{display:inline-block;min-width:80px;color:#909399;font-weight:normal}
.label-dialog-actions{display:flex;gap:10px;justify-content:flex-end}
.label-tip{background:#fdf6ec;color:#e6a23c;padding:10px 14px;border-radius:4px;font-size:13px;margin-bottom:14px;line-height:1.6}
@media print{body *{visibility:hidden}.label-print-area,.label-print-area *{visibility:visible}.label-print-area{position:absolute;left:0;top:0;width:100%;padding:20px}.label-print-overlay{background:#fff}.label-dialog-actions,.label-print-dialog h3,.label-tip{display:none!important}.label-preview{border:none;padding:0;margin:0}}
/* === 登录/导航 logo（桌面端图标） === */
/* 登录页logo图标 */
.logo-icon{background:#fff url('/icon.png') center/72% no-repeat!important;border-radius:20px!important;}
.logo-icon>*{display:none!important;}
/* 顶部导航logo（原被隐藏）显示并在文字前加图标 */
.logo{display:flex!important;align-items:center;}
.logo h1{display:flex!important;align-items:center;gap:8px;}
.logo h1::before{content:'';display:inline-block;width:28px;height:28px;background:url('/icon.png') center/contain no-repeat;border-radius:7px;flex-shrink:0;}
/* === 备注/tooltip 换行 === */
/* === remark-fix v3 === */
/* Tooltip所有子元素强制换行 */
.el-popper, .el-popper * , .el-tooltip__popper, .el-tooltip__popper * {
  white-space: pre-line !important;
}
.el-popper { max-width: 450px !important; line-height: 1.7 !important; }
/* 备注标签：支持换行，保持默认大小 */
.seller-remark-tag, .buyer-message-tag, .erp-remark-tag {
  white-space: pre-line !important;
  vertical-align: middle !important;
  max-width: none !important;
}
.seller-remark-tag .el-tag__content,
.buyer-message-tag .el-tag__content,
.erp-remark-tag .el-tag__content {
  white-space: pre-line !important;
}
/* 订单详情备注换行 */
.remark-label ~ div, .remark-label ~ span { white-space: pre-line !important; word-break: break-word !important; }
