/* ===== 迁渃系统 · 视觉主题 ===== */
:root{
  --el-color-primary:#2563eb; --el-color-primary-light-3:#5b8cf5; --el-color-primary-light-5:#8fb0f8;
  --el-color-primary-light-7:#bcd0fb; --el-color-primary-light-8:#d8e4fd; --el-color-primary-light-9:#eef4ff;
  --el-color-primary-dark-2:#1d4ed8; --el-border-radius-base:8px; --el-font-size-base:14px;
  --qr-navy:#0b1733; --qr-navy2:#132451; --qr-ink:#0f172a; --qr-muted:#64748b;
  --qr-bg:#f4f6fb; --qr-line:#e6ebf3; --qr-blue:#2563eb; --qr-cyan:#0891b2;
  --qr-green:#16a34a; --qr-orange:#ea580c; --qr-red:#dc2626;
}
*{box-sizing:border-box}
html,body,#app{height:100%;margin:0}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:var(--qr-bg);color:var(--qr-ink);-webkit-font-smoothing:antialiased}
.muted{color:var(--qr-muted);font-size:12px}
.red-text{color:var(--qr-red)!important}
.green{color:var(--qr-green)!important}
.link{color:var(--qr-blue);cursor:pointer}.link:hover{text-decoration:underline}
.el-card{border:1px solid var(--qr-line)!important;border-radius:12px!important}
.el-button{border-radius:7px}
.el-input__wrapper,.el-select__wrapper{border-radius:7px!important}
.el-tag{border-radius:5px}
.el-table th.el-table__cell{background:#f7f9fd!important;color:#475569;font-weight:600;font-size:12px}
.el-table td.el-table__cell{font-size:13px}

/* ===== 登录 ===== */
.login-page{display:flex;height:100vh;width:100%;background:#fff;overflow:hidden}
.login-hero{position:relative;flex:1.15;background:linear-gradient(145deg,#0b1733 0%,#12265a 52%,#1d4ed8 100%);color:#fff;display:flex;align-items:center;overflow:hidden}
.login-hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 18%,rgba(56,189,248,.22),transparent 42%),radial-gradient(circle at 20% 85%,rgba(99,102,241,.25),transparent 45%)}
.login-hero-inner{position:relative;z-index:2;padding:0 8vw;max-width:760px}
.login-brand{display:flex;align-items:center;gap:14px;margin-bottom:76px}
.brand-mark{width:46px;height:46px;border-radius:13px;background:linear-gradient(135deg,#60a5fa,#2563eb);display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:23px;font-weight:700;box-shadow:0 8px 24px rgba(37,99,235,.4)}
.brand-mark.small{width:34px;height:34px;border-radius:9px;font-size:17px;box-shadow:none}
.brand-text{font-size:19px;font-weight:700;letter-spacing:.5px;line-height:1.25}
.brand-text small{display:block;font-size:11px;font-weight:400;opacity:.7;letter-spacing:1.2px;margin-top:3px}
.login-hero h1{font-size:44px;line-height:1.35;margin:0 0 22px;font-weight:700;letter-spacing:1px}
.login-lead{font-size:15px;line-height:2;opacity:.78;margin:0 0 54px}
.login-feats{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;max-width:570px}
.login-feat{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:11px;padding:14px 16px;backdrop-filter:blur(6px)}
.login-feat b{display:block;font-size:14px;margin-bottom:4px}.login-feat span{font-size:12px;opacity:.65}
.hero-orb{position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.09)}
.orb1{width:520px;height:520px;right:-170px;top:-150px}.orb2{width:340px;height:340px;right:-60px;bottom:-120px}
.login-panel{flex:.85;display:flex;align-items:center;justify-content:center;background:#fff;padding:40px}
.login-box{width:min(390px,100%)}
.login-title{font-size:29px;font-weight:700;margin-bottom:8px}
.login-sub{color:var(--qr-muted);font-size:13px;margin-bottom:38px}
.login-field{margin-bottom:20px}.login-field label{display:block;font-size:13px;font-weight:600;margin-bottom:8px;color:#334155}
.login-btn{width:100%;height:46px;font-size:15px;letter-spacing:4px;margin-top:10px;box-shadow:0 8px 20px rgba(37,99,235,.25)}

/* ===== 主框架 ===== */
.app-shell{height:100vh;display:flex;flex-direction:column;background:var(--qr-bg)}
.topbar{height:62px;flex:0 0 62px;background:#fff;border-bottom:1px solid var(--qr-line);display:flex;align-items:center;justify-content:space-between;padding:0 20px;z-index:20;box-shadow:0 1px 8px rgba(15,23,42,.03)}
.topbar-brand{display:flex;align-items:center;gap:11px;min-width:245px}
.brand-title{font-size:16px;font-weight:700;line-height:1.15}.brand-title small{display:block;font-size:10px;color:var(--qr-muted);font-weight:400;letter-spacing:.6px;margin-top:2px}
.fold-btn{margin-left:12px;width:30px;height:30px;border:1px solid var(--qr-line);background:#fff;border-radius:7px;cursor:pointer;color:#64748b;display:flex;align-items:center;justify-content:center}
.fold-btn:hover{background:#f1f5f9;color:var(--qr-blue)}
.topbar-tools{display:flex;align-items:center;gap:10px;flex:1;justify-content:center}
.tool-label{font-size:12px;color:var(--qr-muted)}
.wh-select{width:150px}.global-search{width:min(330px,32vw)}
.topbar-user{display:flex;align-items:center;gap:14px;min-width:245px;justify-content:flex-end}
.work-badge .el-button{height:34px;padding:0 12px}
.work-badge .el-button .el-icon{margin-right:5px}
.user-chip{display:flex;align-items:center;gap:9px;cursor:pointer;padding:4px 6px;border-radius:8px}
.user-chip:hover{background:#f5f7fb}
.avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px}
.user-meta{line-height:1.2}.user-meta b{display:block;font-size:13px}.user-meta small{font-size:11px;color:var(--qr-muted)}
.shell-body{flex:1;display:flex;min-height:0}
.sidebar{width:222px;flex:0 0 222px;background:linear-gradient(180deg,#0b1733,#101f44);color:#cbd5e1;display:flex;flex-direction:column;transition:width .2s,flex-basis .2s;overflow:hidden}
.sidebar.collapsed{width:62px;flex-basis:62px}
.side-nav{flex:1;overflow-y:auto;padding:14px 10px 10px}
.side-nav::-webkit-scrollbar{width:4px}.side-nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:4px}
.menu-group{margin-bottom:14px}
.menu-group-title{font-size:10px;letter-spacing:1.4px;color:#64748b;padding:6px 12px;margin-bottom:4px;text-transform:uppercase}
.menu-item{height:40px;display:flex;align-items:center;gap:11px;padding:0 12px;border-radius:8px;cursor:pointer;font-size:13px;margin-bottom:2px;position:relative;transition:.15s}
.menu-item .el-icon{font-size:16px;flex:0 0 16px}
.menu-item:hover{background:rgba(255,255,255,.07);color:#fff}
.menu-item.active{background:linear-gradient(90deg,#2563eb,#3b82f6);color:#fff;box-shadow:0 4px 14px rgba(37,99,235,.35)}
.menu-item.quick{color:#dbeafe}.menu-item.quick .el-icon{color:#93c5fd}.menu-item.quick:hover{color:#fff}
.menu-label{flex:1;white-space:nowrap}
.menu-badge{background:#ef4444;color:#fff;border-radius:10px;font-size:10px;padding:1px 6px;line-height:16px}
.sidebar.collapsed .menu-item{justify-content:center;padding:0}
.side-foot{padding:14px 16px;font-size:11px;color:#64748b;border-top:1px solid rgba(255,255,255,.06);white-space:nowrap}
.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#22c55e;margin-right:6px;box-shadow:0 0 0 3px rgba(34,197,94,.15)}
.content{flex:1;overflow-y:auto;padding:20px 22px 34px;min-width:0}
.page{max-width:1680px;margin:0 auto}
/* 订单管理：铺满整个右侧内容区，表格列按可用宽度弹性分配 */
.page-full{max-width:none;width:100%;margin:0}
.page-full .el-table{width:100%}

/* ===== 首页工作台（截图版四分区） ===== */
.dash-page{padding-bottom:10px}
.dash-note{background:#f8fafc;border:1px solid var(--qr-line);border-radius:8px;padding:10px 14px;margin-bottom:12px;font-size:12px;line-height:1.7;color:#475569}
.dash-note b{color:#0f172a}
.dash-filter{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:14px;padding:10px 12px;background:#fff;border:1px solid var(--qr-line);border-radius:10px}
.dash-filter-label{font-size:12px;color:#475569;font-weight:600}
.dash-section-title{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:#0f172a;margin:14px 0 9px}
.dash-section-title i{width:3px;height:14px;background:#4f46e5;border-radius:2px;display:inline-block}
.dash-kpi-row{display:grid;grid-template-columns:1fr 1fr 1fr 2.45fr 1fr;gap:10px}
.dash-summary-row{display:grid;grid-template-columns:1.3fr 1.05fr 1.85fr 1.65fr 1fr;gap:10px}
.dash-revenue-row{display:grid;grid-template-columns:1.35fr 1.1fr 1.35fr 1.35fr;gap:10px}
.dc-stack{display:flex;flex-direction:column;gap:10px;min-width:0}
.dc-grid-2x2{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:10px}
.dcard{position:relative;border-radius:9px;padding:12px 14px;min-width:0;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
/* 标签默认无底色；参考图中仅指定卡片带白色圆角标签底 */
.dc-tag{display:inline-block;align-self:flex-start;background:transparent;border-radius:4px;padding:0;font-size:11px;line-height:1.3;white-space:nowrap}
.dc-green.dc-hero .dc-tag,.dc-grid-2x2 .dc-red .dc-tag,.dc-coral .dc-tag,
.dc-green.dc-pair .dc-tag,.dc-cream.dc-pair-money .dc-tag{background:#fff;border-radius:4px;padding:3px 7px}
.dcard b{font-size:18px;font-weight:700;line-height:1.1;margin-top:8px;font-variant-numeric:tabular-nums;white-space:nowrap}
.dcard.dc-hero b{font-size:34px}
.dcard.dc-big b{font-size:36px}
.dcard.dc-mini{padding:9px 12px}
.dcard.dc-mini b{font-size:18px}
/* 今日订单报表：三张深色卡片均为上深下浅的竖向渐变 */
.dc-blue{background:linear-gradient(180deg,#574ee7,#7e77f9);color:#fff}
.dc-violet{background:#f4f0ff;color:#5046df}.dc-violet .dc-tag{color:#5046df}
.dc-green{background:#e3f8ed;color:#09b760}.dc-green .dc-tag{color:#09b760}
.dc-green.dc-hero .dc-tag,.dc-green.dc-pair .dc-tag{color:#222}
.dc-red{background:#fef3f1;color:#e23e3e}.dc-red .dc-tag{color:#e23e3e}
.dc-coral{background:linear-gradient(180deg,#fc5b59,#f98a8a);color:#fff}.dc-coral .dc-tag{color:#e23e3e}
/* 汇总报表 */
.dc-plain{background:#f4f8fb;color:#222}.dc-plain .dc-tag{color:#222}
.dc-green.dc-pair>div:nth-child(2)>b{color:#222}
/* 营收分析 */
.dc-orange{background:linear-gradient(180deg,#fb6a24,#fea05a);color:#fff}.dc-orange .dc-tag{color:#d2410a}
.dc-cream{background:#fff8e5;color:#ea6a13}.dc-cream .dc-tag{color:#ea6a13}
.dc-cream.dc-pair-money .dc-tag{color:#222}
.dcard.dc-pair,.dcard.dc-pair-money{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;align-content:center}
.dcard.dc-pair>div,.dcard.dc-pair-money>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.dcard.dc-pair-money b,.dc-cream.dc-money b{font-size:17px}
.dcard.dc-wide{align-items:flex-start}
.dash-page .dash-report-scroll{overflow-x:auto}
.dash-report-table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}
.dash-report-table th,.dash-report-table td{border-bottom:1px solid #eef2f7;padding:9px 10px;text-align:left}
.dash-report-table th{background:#f7f9fd;color:#475569;font-weight:600}
.dash-report-table td{color:#334155}
.dash-chart{height:220px;width:100%;margin-top:14px}
@media(max-width:1400px){.dash-kpi-row{grid-template-columns:repeat(4,1fr)}.dash-summary-row,.dash-revenue-row{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.dash-kpi-row,.dash-summary-row,.dash-revenue-row{grid-template-columns:repeat(2,1fr)}}

/* ===== 通用页面元素 ===== */
.page-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px;gap:16px;flex-wrap:wrap}
.page-head h2{margin:0 0 5px;font-size:21px;font-weight:700;letter-spacing:.3px}
.page-head p{margin:0;font-size:12px;color:var(--qr-muted)}
.head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.head-actions.right{justify-content:flex-end;margin-bottom:10px}
.page-hero{background:linear-gradient(110deg,#101f44 0%,#1d3c86 60%,#2563eb 100%);border-radius:14px;padding:24px 28px;color:#fff;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;box-shadow:0 10px 28px rgba(16,31,68,.16)}
.hero-title{font-size:23px;font-weight:700;margin-bottom:7px}.hero-sub{font-size:13px;opacity:.75}
.hero-actions{display:flex;gap:9px}.hero-actions .el-button{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.28);color:#fff}
.hero-actions .el-button--primary{background:#fff;border-color:#fff;color:#1d4ed8;font-weight:600}
.panel{margin-bottom:16px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-head b{font-size:14px}
.panel-note{margin-top:12px;font-size:11px;color:#94a3b8;line-height:1.7}
.kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:16px}
.kpi-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1400px){.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.kpi-grid,.kpi-grid.four,.kpi-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.login-hero{display:none}}
.kpi-card{background:#fff;border:1px solid var(--qr-line);border-radius:12px;padding:17px 18px;position:relative;overflow:hidden;box-shadow:0 2px 10px rgba(15,23,42,.035)}
.kpi-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--kpi,#2563eb)}
.kpi-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--qr-muted);font-weight:600}
.kpi-icon{width:30px;height:30px;border-radius:8px;background:color-mix(in srgb,var(--kpi) 12%,white);color:var(--kpi);display:flex;align-items:center;justify-content:center;font-size:16px}
.kpi-value{font-size:28px;font-weight:700;margin:12px 0 6px;letter-spacing:-.5px;line-height:1}
.kpi-value small{font-size:12px;font-weight:500;color:#94a3b8;margin-left:5px}
.kpi-foot{font-size:11px;color:#94a3b8;line-height:1.5}
.stat-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:var(--qr-line);border:1px solid var(--qr-line);border-radius:12px;overflow:hidden;margin-bottom:16px}
.stat-item{background:#fff;padding:13px 15px;display:flex;flex-direction:column;gap:5px}.stat-item span{font-size:11px;color:var(--qr-muted)}.stat-item b{font-size:19px}
.two-col{display:grid;grid-template-columns:1.35fr 1fr;gap:16px}
@media(max-width:1100px){.two-col{grid-template-columns:1fr}.stat-strip{grid-template-columns:repeat(4,1fr)}}
.feed-item{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-bottom:1px solid #f1f5f9}.feed-item:last-child{border-bottom:0}
.feed-item b{display:block;font-size:13px;font-weight:500}.feed-item small{color:#94a3b8;font-size:11px}
.feed-dot{width:8px;height:8px;border-radius:50%;margin-top:5px;flex:0 0 8px}.feed-dot.blue{background:#3b82f6}.feed-dot.orange{background:#f59e0b}
.mini-board{overflow-x:auto}
.mini-row{display:flex;min-width:640px;border-bottom:1px solid #f1f5f9}.mini-row:last-child{border-bottom:0}
.mini-head{color:var(--qr-muted);font-size:11px;font-weight:600}
.mini-name{flex:0 0 130px;padding:9px 8px;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mini-cell{flex:1;text-align:center;padding:9px 4px;font-size:12px;font-variant-numeric:tabular-nums}
.mini-cell.warn{background:#fef3c7;color:#b45309;font-weight:700;border-radius:4px}
.mini-cell.low{background:#fee2e2;color:#b91c1c;font-weight:700;border-radius:4px}
.asset-row{display:flex;align-items:center;gap:30px;flex-wrap:wrap}
.asset-block{display:flex;flex-direction:column;gap:5px}.asset-block span{font-size:11px;color:var(--qr-muted)}.asset-block b{font-size:22px}
.asset-progress{flex:1;min-width:220px;display:flex;flex-direction:column;gap:6px}.asset-progress span{font-size:11px;color:var(--qr-muted)}
.pager{display:flex;justify-content:flex-end;padding-top:14px}
.filter-bar{display:flex;align-items:center;gap:9px;margin-bottom:14px;flex-wrap:wrap}
.filter-bar.compact{margin:12px 0}
.tabs-inline{display:flex;gap:6px;margin-left:auto;flex-wrap:wrap}
.tab-pill{font-size:11px;padding:5px 10px;border-radius:16px;background:#fff;border:1px solid var(--qr-line);cursor:pointer;color:#475569}
.tab-pill b{margin-left:3px;color:var(--qr-blue)}.tab-pill.on{background:var(--el-color-primary-light-9);border-color:#bfd3ff;color:var(--qr-blue)}

/* ===== 库存看板 ===== */
.board-alert{margin-bottom:14px;border-radius:9px}
.board-scroll{overflow:auto;max-height:560px;border:1px solid var(--qr-line);border-radius:8px}
.board-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}
.board-table th,.board-table td{border-bottom:1px solid #eef2f7;border-right:1px solid #eef2f7;padding:8px 6px;text-align:center;white-space:nowrap;min-width:48px}
.board-table thead th{position:sticky;top:0;z-index:3;background:#f7f9fd;color:#475569;font-weight:600}
.board-table thead th small{display:block;color:#94a3b8;font-size:10px;font-weight:400}
.board-table th.sticky-col,.board-table td.sticky-col{position:sticky;left:0;z-index:2;background:#fff;text-align:left;min-width:190px;padding-left:12px;box-shadow:2px 0 6px rgba(15,23,42,.04)}
.board-table thead th.sticky-col{z-index:4;background:#f7f9fd}
.board-table tbody tr:hover td{background:#f8fbff}
.board-table tbody tr:hover td.sticky-col{background:#f8fbff}
.board-table td.sticky-col b{margin-left:6px;font-size:12px}.board-table td.sticky-col small{display:block;color:#94a3b8;margin-left:44px;font-size:10px}
.row-tag{font-size:10px;padding:2px 5px;border-radius:4px}.row-tag.blue{background:#e0edff;color:#1d4ed8}.row-tag.teal{background:#ccfbf1;color:#0f766e}
.total-cell{font-weight:700;color:#475569;background:#fafbfe}
.num-cell{cursor:pointer;font-variant-numeric:tabular-nums;transition:.12s}
.num-cell:hover{outline:2px solid #93c5fd;outline-offset:-2px}
.num-cell.warn{background:#fff1d6;color:#b45309;font-weight:700}
.num-cell.zero{background:#fee2e2;color:#b91c1c;font-weight:700}
.board-table th.today,.board-table td.today{background:#eef4ff}
.legend{display:flex;gap:16px;align-items:center;margin-top:12px;font-size:11px;color:#64748b;flex-wrap:wrap}
.lg{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:5px;vertical-align:-2px}
.lg.normal{background:#e8f0ff}.lg.warn{background:#fcd34d}.lg.zero{background:#f87171}

/* ===== 备用库存（仓库管理页底部） ===== */
.backup-panel{margin-top:2px}
.backup-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;background:#f6f8fc;border:1px solid var(--qr-line);border-radius:8px 8px 0 0}
.backup-tabs{display:flex;gap:4px;flex-wrap:wrap}
.backup-tab{font-size:12px;color:#2563eb;cursor:pointer;padding:6px 13px;border:1px solid transparent;border-radius:6px;transition:.12s;white-space:nowrap}
.backup-tab:hover{background:#eaf1ff}
.backup-tab.on{background:#fff;border-color:var(--qr-line);color:#1d4ed8;box-shadow:0 1px 2px rgba(15,23,42,.05)}
.backup-title{font-size:13px;color:#334155;white-space:nowrap}
.backup-cards{display:flex;flex-wrap:wrap;gap:12px;padding:14px 11px 6px;border:1px solid var(--qr-line);border-top:0;border-radius:0 0 8px 8px}
.backup-card{width:146px;border:2px solid #334155;border-radius:2px;overflow:hidden;background:#fff;transition:.12s}
.backup-card.has-main{border-color:#16a34a;box-shadow:0 0 0 2px #dcfce7}
.backup-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}
.backup-table th,.backup-table td{border-bottom:1px solid #e8edf4;padding:7px 8px;text-align:left;white-space:nowrap}
.backup-table th{background:#fafbfd;color:#1f2937;font-weight:700}
.backup-table th:last-child,.backup-table td:last-child{text-align:right;width:56px;border-left:1px solid #e8edf4}
.backup-table tr:last-child td{border-bottom:0}
.backup-table td.main-item{font-weight:700}
.backup-table td.stock-ok{color:#16a34a;font-weight:700;font-variant-numeric:tabular-nums}
.backup-table td.stock-zero{color:#94a3b8;font-variant-numeric:tabular-nums}
.backup-note{font-size:11px;color:#334155;line-height:1.7;padding:12px 11px 4px}
@media(max-width:1200px){.backup-card{width:calc(33.33% - 8px)}}
@media(max-width:760px){.backup-card{width:calc(50% - 6px)}}

/* ===== 套餐 ===== */
.pkg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}
@media(max-width:1200px){.pkg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pkg-card{border-radius:12px!important}
.pkg-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.pkg-top b{font-size:15px;margin-right:8px}
.pkg-remark{font-size:12px;color:var(--qr-muted);margin-bottom:12px;min-height:18px}
.pkg-items{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.pkg-item{display:flex;align-items:center;gap:8px;font-size:12px;background:#f8fafc;border-radius:6px;padding:6px 9px}
.pkg-item b{flex:1}.item-type{font-size:10px;padding:2px 5px;border-radius:4px}.item-type.blue{background:#e0edff;color:#1d4ed8}.item-type.teal{background:#ccfbf1;color:#0f766e}
.pkg-avail{border-top:1px dashed var(--qr-line);padding-top:10px;font-size:12px;color:var(--qr-muted)}.pkg-avail b{color:var(--qr-blue);font-size:18px;margin:0 3px}
.pkg-form-row{display:flex;gap:8px;margin-bottom:8px;align-items:center}
/* 套餐管理 */
.pkg-manage-tip{margin-bottom:14px}
.pkg-inline-items{display:flex;flex-wrap:wrap;gap:4px}
.pkg-inline-item{font-size:11px;background:#f8fafc;border:1px solid var(--qr-line);border-radius:5px;padding:2px 5px;white-space:nowrap}
.pkg-inline-item b{color:var(--qr-blue);margin-right:3px}
.pkg-num{font-variant-numeric:tabular-nums}.pkg-num.green{color:var(--qr-green)}.pkg-num.orange{color:var(--qr-orange)}
.pkg-num.blue{color:var(--qr-blue)}.pkg-num.red{color:var(--qr-red)}
.pkg-form-tip{margin-bottom:14px}
.el-table .pkg-disabled td{background:#fafafa!important;color:#94a3b8}
.el-table .pkg-disabled .cell b,.el-table .pkg-disabled .cell span{color:#94a3b8!important}
/* 主商品编号未补录：默认浅黑色，补录后恢复正常 */
.el-table .sn-missing td{background:#fbfbfc!important;color:#a1a7b2!important}
.el-table .sn-missing .cell,.el-table .sn-missing .cell b,.el-table .sn-missing .cell span{color:#a1a7b2!important}
.sn-pending{color:#a1a7b2!important;font-style:italic}
.sn-missing-tip{margin-bottom:12px}

/* ===== 订单 ===== */
.status-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--qr-line);padding-bottom:10px}
.st-item{font-size:12px;padding:6px 11px;border-radius:7px;cursor:pointer;color:#475569;white-space:nowrap}
.st-item:hover{background:#f1f5f9}.st-item.on{background:var(--qr-blue);color:#fff;font-weight:600}
.st-item b{opacity:.7;margin-left:2px}
.order-form .form-section{font-size:12px;font-weight:700;color:var(--qr-blue);border-left:3px solid var(--qr-blue);padding-left:8px;margin:6px 0 16px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.detail-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.detail-actions{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}
.detail-desc{margin-bottom:18px}.detail-tabs{margin-top:8px}
.tab-actions{display:flex;gap:8px;align-items:center;margin-top:12px;flex-wrap:wrap}
.note-item{border-bottom:1px solid #f1f5f9;padding:9px 0}.note-item b{font-size:12px}.note-item small{color:#94a3b8;margin-left:10px;font-size:11px}.note-item p{margin:5px 0 0;font-size:13px}
.order-drawer .el-drawer__body{padding:16px 22px}
.order-dialog .el-dialog__body{padding-top:10px;max-height:70vh;overflow-y:auto}

/* ===== 订单：新建增强 / 两种展示模式 / 批注 ===== */
.create-mode-bar{display:flex;align-items:center;gap:12px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid var(--qr-line);flex-wrap:wrap}
.create-mode-bar .cm-label{font-size:12px;font-weight:700;color:var(--qr-blue)}.create-mode-bar .cm-hint{font-size:11px}
.paste-zone{background:#f8fafc;border:1px dashed var(--qr-line);border-radius:8px;padding:10px 12px;margin-bottom:12px}
.paste-actions{display:flex;gap:8px;align-items:center;margin-top:8px;flex-wrap:wrap}
.order-dialog-v2 .el-dialog__body{max-height:76vh}.order-form-v2 .form-section{margin-top:14px}
.order-form-v2 .el-form-item{margin-bottom:10px}
.extra-part-head{display:flex;align-items:center;gap:8px}
.extra-part-row{display:flex;gap:8px;align-items:center;margin-bottom:6px}
.stock-preview-head{display:flex;align-items:center;gap:8px}
.stock-grid-wrap{overflow:auto;max-height:220px;margin-bottom:12px}
.stock-grid{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}
.stock-grid th,.stock-grid td{border:1px solid var(--qr-line);padding:5px 8px;text-align:center}
.stock-grid th{background:#f1f5f9;color:#475569;position:sticky;top:0}
.stock-grid tbody tr{cursor:pointer}.stock-grid tbody tr:hover{background:#f0f7ff}
.stock-grid tbody tr.picked{background:#e0edff}
.stock-grid td b{display:block;text-align:left}.stock-grid td .muted{font-size:10px}
.stock-grid td.ok{color:#16a34a}.stock-grid td.warn{color:#d97706;background:#fffbeb}.stock-grid td.zero{color:#dc2626;background:#fef2f2;font-weight:700}
.stock-legend{display:flex;gap:12px;font-size:11px;margin-top:6px}.stock-legend .ok{color:#16a34a}.stock-legend .warn{color:#d97706}.stock-legend .zero{color:#dc2626}
.footer-tip{margin-right:auto;font-size:11px}
.view-switch{margin-left:auto}.view-switch .el-radio-button__inner{padding:5px 10px}
.pin-flag{display:inline-block;font-size:10px;color:#fff;background:#f56c6c;border-radius:3px;padding:1px 4px;margin-left:5px}
.cell-address{font-size:11px;color:#475569}.cell-remark{font-size:11px;color:#e6a23c}
.order-cards{display:flex;flex-direction:column;gap:12px;padding:4px 0}
.order-card{border:1px solid var(--qr-line);border-radius:10px;padding:12px 14px;background:#fff;transition:box-shadow .2s}
.order-card:hover{box-shadow:0 3px 14px rgba(0,0,0,.06)}.order-card.pinned{border-left:4px solid #f56c6c;background:#fffafa}
.oc-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #f1f5f9;padding-bottom:8px;margin-bottom:8px;gap:8px}
.oc-head-left{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.oc-head-right{display:flex;gap:6px}
.oc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;font-size:12px;color:#475569;line-height:1.7}
.oc-col>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-col .oc-addr{white-space:normal}
.oc-title{font-weight:700;color:var(--qr-blue);font-size:12px;margin-bottom:2px}
.oc-annot{display:flex;gap:8px;align-items:center;margin-top:10px;padding:6px 8px;background:#fffbeb;border-radius:6px;font-size:12px}
.oc-annot-tag{color:#b45309;font-weight:700;white-space:nowrap}
.marquee-box{flex:1;overflow:hidden;white-space:nowrap;position:relative;height:20px;line-height:20px;color:#92400e}
.marquee-inner{display:inline-block;animation:qr-marquee 16s linear infinite;padding-left:100%}
@keyframes qr-marquee{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}
.oc-actions{display:flex;gap:5px;align-items:center;margin-top:10px;flex-wrap:wrap}.oc-entered{margin-left:auto;font-size:11px}
.annot-list{max-height:340px;overflow:auto}.annot-item{border:1px solid var(--qr-line);border-radius:8px;padding:9px 11px;margin-bottom:8px}
.annot-item.read{opacity:.65;background:#f8fafc}.annot-meta{display:flex;gap:8px;align-items:center;font-size:11px}
.annot-item p{margin:6px 0;font-size:13px}.annot-add{border-top:1px solid var(--qr-line);padding-top:10px;margin-top:6px}
@media(max-width:1200px){.oc-grid{grid-template-columns:repeat(2,1fr)}}
.pref-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.pref-card{border:1px solid var(--qr-line);border-radius:8px;padding:12px;margin-bottom:12px}
.pref-card>b{display:block;margin-bottom:4px;color:var(--qr-blue)}
.pref-card .muted{font-size:11px;margin-bottom:8px;display:block}
.pref-card .el-checkbox{margin:0 6px 6px 0}

/* ===== 报表 ===== */
.chart-box{height:320px;width:100%}.chart-box.half{height:280px}
.chart-row{display:flex;gap:20px;align-items:center}.chart-row .chart-box.half{flex:1;max-width:50%}
.rev-list{flex:1}.rev-item{display:flex;justify-content:space-between;padding:11px 4px;border-bottom:1px solid #f1f5f9;font-size:13px}
.rev-item.total{font-weight:700;border-bottom:0;color:var(--qr-blue)}

/* ===== 设置 / 字典 ===== */
.setting-tabs{background:#fff;border:1px solid var(--qr-line);border-radius:12px;padding:8px 18px 18px}
.dict-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
@media(max-width:1000px){.dict-grid{grid-template-columns:repeat(2,1fr)}}
.dict-card{border:1px solid var(--qr-line);border-radius:9px;padding:12px}.dict-card>b{font-size:13px;display:block;margin-bottom:9px;color:var(--qr-blue)}
.dict-item{display:flex;justify-content:space-between;padding:5px 0;font-size:12px;border-bottom:1px dashed #f1f5f9}

/* ===== 工作台抽屉 ===== */
.drawer-block{margin-bottom:22px}.drawer-head{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:13px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid var(--qr-line)}
.work-item{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-bottom:1px solid #f5f7fa}
.work-item .el-icon{color:var(--qr-blue);margin-top:3px}
.work-item b{display:block;font-size:13px;font-weight:500}.work-item small{color:#94a3b8;font-size:11px}

/* ===== 我的工作台：右侧常驻入口 + 面板 ===== */
.workbench-float{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:500;width:38px;min-height:188px;background:linear-gradient(180deg,#7f1d1d,#b91c1c);border-radius:10px 0 0 10px;box-shadow:-4px 0 18px rgba(15,23,42,.16);display:flex;flex-direction:column;align-items:center;gap:9px;padding:27px 0 16px;cursor:pointer;color:#fff;transition:width .15s,box-shadow .15s}
.workbench-float:hover{width:44px;box-shadow:-6px 0 22px rgba(185,28,28,.38)}
.workbench-float-icon{font-size:18px;opacity:.9}
.workbench-float-text{writing-mode:vertical-rl;letter-spacing:3px;font-size:14px;font-weight:600;line-height:1.25}
.workbench-float-close{position:absolute;top:5px;left:50%;transform:translateX(-50%);width:18px;height:18px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px;padding:0;cursor:pointer}
.workbench-float-close:hover{background:rgba(255,255,255,.36)}
.workbench-dialog{border-radius:14px;overflow:hidden}
.workbench-dialog .el-dialog__header{padding:0;border-bottom:1px solid var(--qr-line);margin:0}
.workbench-dialog .el-dialog__body{padding:0;max-height:calc(100vh - 150px);overflow-y:auto;background:var(--qr-bg)}
@media(max-width:1120px){.workbench-dialog{width:96vw!important}}
.wb-header{display:flex;justify-content:space-between;align-items:center;padding:13px 22px;background:#fff}
.wb-title{display:flex;align-items:center;gap:11px}
.wb-mark{width:32px;height:32px;border-radius:9px;background:linear-gradient(135deg,#1d3c86,#2563eb);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.wb-title b{font-size:16px;display:block}.wb-title small{font-size:11px;color:var(--qr-muted)}
.wb-header-tools{display:flex;align-items:center;gap:12px}
.wb-close{width:28px;height:28px;border:0;background:#f1f5f9;border-radius:7px;cursor:pointer;color:#475569;font-size:15px}
.wb-close:hover{background:#e2e8f0}
.wb-body{padding:16px 20px 20px;display:flex;flex-direction:column;gap:14px}
.wb-section{background:#fff;border:1px solid var(--qr-line);border-radius:11px;padding:14px 16px}
.wb-search-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.wb-search-row+.wb-search-row{margin-top:11px}
.wb-label{font-size:13px;font-weight:700;color:var(--qr-ink);min-width:58px}
.wb-timing-result{margin-top:11px;padding:9px 12px;border-radius:8px;background:#f0f7ff;display:flex;gap:18px;align-items:center;flex-wrap:wrap;font-size:12px;color:#334155}
.wb-timing-result b{color:var(--qr-blue);margin-right:4px}
.wb-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:900px){.wb-grid{grid-template-columns:1fr}}
.wb-sec-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;padding-bottom:8px;border-bottom:1px solid var(--qr-line);font-size:13px}
.wb-task-row,.wb-dispatch-row{display:flex;align-items:center;gap:9px;padding:8px 4px;border-bottom:1px dashed #eef2f7;font-size:13px}
.wb-task-row:last-child,.wb-dispatch-row:last-child{border-bottom:0}
.wb-task-row{cursor:pointer}.wb-task-row:hover{background:#f8fbff}
.wb-dot{width:8px;height:8px;border-radius:50%;flex:0 0 8px}.wb-dot.blue{background:#3b82f6}.wb-dot.red{background:#ef4444}
.wb-tag{font-size:10px;padding:1px 5px;border-radius:4px;background:#e0edff;color:#1d4ed8;flex:0 0 auto}
.wb-tag.red{background:#fee2e2;color:#b91c1c}
.wb-task-name{flex:1;color:#334155}.wb-count{color:var(--qr-blue);font-weight:700}.wb-arrow{color:#94a3b8}
.wb-dispatch-text{min-width:0}.wb-dispatch-text b{display:block;font-size:12px;font-weight:600}
.wb-dispatch-text small{display:block;font-size:11px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:350px}
.wb-note{display:flex;align-items:flex-start;gap:8px;padding:6px 4px;font-size:13px;line-height:1.6}
.wb-note-index{color:var(--qr-muted);flex:0 0 24px}.wb-note-text{flex:1;white-space:pre-wrap;word-break:break-word}
.wb-note-ops{opacity:.35;transition:.15s;flex:0 0 auto}.wb-note:hover .wb-note-ops{opacity:1}
.wb-more{margin-top:4px}
.wb-warn-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--qr-line);margin-bottom:8px}
.wb-warn-tabs{display:flex;gap:18px}
.wb-warn-tabs span{padding:8px 2px;font-size:13px;color:#64748b;cursor:pointer;border-bottom:2px solid transparent}
.wb-warn-tabs span.on{color:var(--qr-blue);font-weight:700;border-bottom-color:var(--qr-blue)}
.wb-warn-item{padding:9px 10px;border:1px solid var(--qr-line);border-radius:8px;margin-bottom:8px;background:#fff}
.wb-warn-item:last-child{margin-bottom:0}
.wb-warn-main{display:flex;align-items:center;gap:8px;font-size:13px}.wb-warn-main b{font-weight:600}
.wb-warn-status{color:#b91c1c;font-size:12px}
.wb-warn-sub{margin-top:5px;padding-left:16px;font-size:11px;color:#94a3b8;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.wb-foot{display:flex;align-items:center;gap:18px;padding:2px 4px;flex-wrap:wrap}.wb-foot .muted{margin-left:auto}
.board-table th.focus,.board-table td.focus{outline:2px solid #2563eb;outline-offset:-2px;background:#eef4ff}

/* ===== 收发趋势 ===== */
.trend-legend{display:flex;align-items:center;gap:20px;flex-wrap:wrap;background:#fff;border:1px solid var(--qr-line);border-radius:10px;padding:9px 14px;margin-bottom:12px;font-size:12px;color:#475569}
.trend-legend .muted{margin-left:auto;font-size:11px}
.trend-legend .lg.recv{background:#16a34a}.trend-legend .lg.send{background:#ea580c}
.trend-tabs{display:flex;align-items:center;gap:26px;border-bottom:1px solid var(--qr-line);margin-bottom:12px}
.trend-tabs>span{padding:9px 3px;font-size:14px;color:#64748b;cursor:pointer;border-bottom:2px solid transparent}
.trend-tabs>span.on{color:var(--qr-blue);font-weight:700;border-bottom-color:var(--qr-blue)}
.trend-tabs .trend-tabs-hint{margin-left:auto;font-size:11px;color:#94a3b8;cursor:default;border:0}
.trend-panel{padding:0}
.trend-panel .el-card__body{padding:0}
.trend-scroll{overflow:auto;max-height:calc(100vh - 275px);border-radius:10px;scrollbar-color:#2563eb #eef2f7;scrollbar-width:thin}
.trend-scroll::-webkit-scrollbar{height:11px;width:10px}
.trend-scroll::-webkit-scrollbar-track{background:#eef2f7;border-radius:6px}
.trend-scroll::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#1d4ed8,#60a5fa);border-radius:6px;border:2px solid #eef2f7}
.trend-scroll::-webkit-scrollbar-thumb:hover{background:#1d4ed8}
.trend-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:12px;font-variant-numeric:tabular-nums}
.trend-table th,.trend-table td{border-bottom:1px solid #eef2f7;border-right:1px solid #eef2f7;padding:6px 5px;text-align:center;white-space:nowrap;min-width:54px;background:#fff}
.trend-table thead th{position:sticky;top:0;z-index:3;background:#f7f9fd;color:#475569;font-weight:600;font-size:11px;padding:9px 5px}
.trend-table th.sticky-col,.trend-table td.sticky-col{position:sticky;left:0;z-index:2;background:#fff;text-align:left;min-width:172px;max-width:230px;padding-left:12px;box-shadow:2px 0 6px rgba(15,23,42,.05);overflow:hidden;text-overflow:ellipsis}
.trend-table thead th.sticky-col{z-index:5;background:#f7f9fd}
.trend-table .item-col{font-weight:600;color:#1e293b}
.trend-table tbody tr:hover td{background:#f8fbff}
.trend-table tbody tr:hover td.sticky-col{background:#f8fbff}
.trend-table .trend-group td{background:#f0f7ff!important;color:var(--qr-blue);font-weight:700;text-align:left;padding-left:12px}
.trend-table tr.sub td.item-col{color:#64748b;font-weight:400;padding-left:26px}
.trend-table .sub-mark{color:#94a3b8;margin-right:4px}
.trend-table th.today-col,.trend-table td.today-col{background:#eef4ff;min-width:92px}
.trend-table th.today-col{z-index:4;background:#e3edff;color:#1d4ed8}
.trend-table .weekend{background:#fafafa}
.trend-cell{display:flex;align-items:center;justify-content:center;gap:4px;line-height:1.35}
.trend-table .num{cursor:pointer;font-weight:700;font-size:13px;padding:1px 3px;border-radius:4px;transition:.12s}
.trend-table .num:hover{outline:2px solid #93c5fd;outline-offset:-2px}
.trend-table .num.recv{color:#16a34a}
.trend-table .num.send{color:#ea580c}
.trend-table .num.send.zero{color:#16a34a}
.trend-cell .split{width:1px;height:13px;background:#cbd5e1;display:inline-block}
.cell-sub{display:flex;justify-content:center;gap:7px;font-size:10px;color:#94a3b8;margin-top:1px}
.cell-sub .up{color:#16a34a}.cell-sub .down{color:#ea580c}
.trend-table td.empty{text-align:center;color:#94a3b8;padding:40px 12px}
.trend-foot{padding:9px 14px;font-size:11px;color:#94a3b8;border-top:1px solid var(--qr-line);background:#fbfcfe}
.trend-drill-bar{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;margin-bottom:10px;font-size:12px}

/* ===== 订单管理下级菜单 / 快捷视图 / 今日发货看板 ===== */
.orange{color:#ea580c!important}
.menu-node{position:relative}
.menu-caret{margin-left:6px;font-size:11px;color:#64748b;transition:transform .15s}
.menu-caret.open{transform:rotate(180deg)}
.submenu{margin:1px 0 7px 20px;padding:2px 0 2px 9px;border-left:1px solid rgba(148,163,184,.28)}
.submenu-item{height:31px;display:flex;align-items:center;gap:8px;padding:0 9px;margin-bottom:1px;border-radius:6px;cursor:pointer;font-size:12px;color:#9aa9bf;transition:.15s}
.submenu-item:hover{background:rgba(255,255,255,.08);color:#fff}
.submenu-item.active{background:rgba(37,99,235,.3);color:#fff;font-weight:600}
.submenu-dot{width:4px;height:4px;border-radius:50%;background:#5c6b80;flex:0 0 4px}
.submenu-item.active .submenu-dot{background:#7db3ff}
.submenu-label{flex:1;white-space:nowrap}
.submenu-exclaim{width:15px;height:15px;border-radius:50%;background:#f59e0b;color:#1f2937;font-size:11px;font-weight:800;line-height:15px;text-align:center;cursor:help}
.submenu-tip .tip-title{font-size:13px;font-weight:700;color:#0f172a;margin-bottom:5px}
.submenu-tip .tip-body{font-size:12px;line-height:1.7;color:#475569}
.quick-view-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 10px;margin-bottom:10px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;font-size:12px}
.ship-tip{margin-bottom:12px}
.ship-summary{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:2px 2px 10px;font-size:12px;color:#475569}
.ship-summary b{font-size:16px;color:#0f172a;margin-left:4px}
.wh-tabs{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:8px 0;margin-bottom:2px;border-top:1px solid var(--qr-line)}
.wh-tabs span{padding:5px 12px;border-radius:14px;background:#f1f5f9;color:#475569;font-size:12px;cursor:pointer;transition:.15s}
.wh-tabs span:hover{background:#dbeafe;color:#1d4ed8}
.wh-tabs span.on{background:#2563eb;color:#fff;font-weight:600}
.ship-empty{text-align:center;padding:18px}
.ship-section-head{display:flex;align-items:center;gap:10px;padding:12px 2px 8px}
.ship-section-head b{font-size:14px;color:#0f172a}
.ship-section-head.shipped{margin-top:14px;border-top:1px dashed var(--qr-line);padding-top:14px}
.confirm-actions{display:flex;align-items:center;gap:12px;margin:10px 0;font-size:12px}

/* ===== 商品管理 ===== */
.form-tip{font-size:12px;color:#64748b;background:#f8fafc;border:1px solid var(--qr-line);border-radius:8px;padding:8px 12px;margin:2px 0 14px;line-height:1.7}
.file-name{margin-left:10px}
.import-result{margin-top:12px;border:1px solid var(--qr-line);border-radius:8px;padding:10px 12px;background:#fafbfe}
.import-summary{font-size:13px;color:#475569;margin-bottom:8px}
.import-summary b{color:#0f172a;margin:0 2px}
.import-summary b.green{color:var(--qr-green)}.import-summary b.red-text{color:var(--qr-red)}
.ov-kpis{margin:4px 0 16px}
.ov-kpi{background:#fff;border:1px solid var(--qr-line);border-radius:12px;padding:14px 16px;height:100%}
.ov-kpi .kpi-label{font-size:12px;color:var(--qr-muted);margin-bottom:8px}
.ov-kpi .kpi-val{font-size:24px;font-weight:700;color:var(--qr-ink);line-height:1.2}
.ov-kpi.income .kpi-val{color:var(--qr-green)}
.ov-images{display:flex;gap:10px;flex-wrap:wrap}
.ov-image{width:110px;height:110px;border-radius:8px;border:1px solid var(--qr-line)}
.barcode-box{background:#fff;border:1px solid var(--qr-line);border-radius:8px;padding:14px;text-align:center;overflow:auto}
.barcode-box svg{max-width:100%;height:auto}
.barcode-actions{display:flex;justify-content:center;margin-top:10px}
@media print{
  body *{visibility:hidden!important}
  .barcode-box,.barcode-box *{visibility:visible!important}
  .barcode-box{position:absolute;left:0;top:0;border:none;padding:0;margin:0}
}

/* 表格内时间等短文本单行显示，避免换行 */
.nowrap-txt{white-space:nowrap;font-variant-numeric:tabular-nums}
