
.lic-page[data-v-716f8216] { height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2a4b6e, #1e293b);
}
.lic-box[data-v-716f8216] { background: #fff; border-radius: 10px; padding: 32px; width: 520px; box-shadow: 0 10px 40px rgba(0,0,0,.3);
}
.lic-head[data-v-716f8216] { text-align: center; margin-bottom: 18px;
}
.lic-head .lock[data-v-716f8216] { width: 40px; height: 40px; color: #2563eb; margin-bottom: 8px;
}
.lic-head h2[data-v-716f8216] { color: #1e293b;
}
.lic-machine[data-v-716f8216] { background: #f7f9fc; border: 1px solid #e5e9f0; border-radius: 6px; padding: 12px 14px; margin-bottom: 14px;
}
.lic-machine .lbl[data-v-716f8216] { font-size: 13px; color: #475569; margin-bottom: 6px;
}
.code-row[data-v-716f8216] { display: flex; align-items: center; gap: 10px;
}
.code[data-v-716f8216] { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 18px; letter-spacing: 2px; color: #2563eb; font-weight: 700;
}
.lic-machine code[data-v-716f8216] { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 12px; word-break: break-all;
}
.lic-input[data-v-716f8216] { width: 100%; height: 110px; font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 12px; padding: 10px; box-sizing: border-box; resize: none; word-break: break-all;
}
.lic-err[data-v-716f8216] { background: #fef2f2; color: #ef4444; border-radius: 4px; padding: 8px 12px; font-size: 13px; margin-top: 10px;
}
.lic-btn[data-v-716f8216] { width: 100%; padding: 11px; font-size: 15px; margin-top: 14px;
}
.lic-import[data-v-716f8216] { width: 100%; padding: 9px; font-size: 13px; margin-top: 8px;
}
.lic-rules[data-v-716f8216] { margin-top: 16px; line-height: 1.9;
}
.lic-rules div[data-v-716f8216]::before { content: '· ';
}

.room-grid[data-v-ab682509] { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; align-items: stretch;
}
.room-card[data-v-ab682509] {
  background: #fff; border: 1px solid #e5e9f0; border-radius: 8px; padding: 14px;
  cursor: pointer; transition: box-shadow .15s, transform .15s; position: relative;
  display: flex; flex-direction: column; min-height: 128px;
}
.room-card[data-v-ab682509]:hover { box-shadow: 0 4px 14px rgba(64, 158, 255, .18); transform: translateY(-2px);
}
.room-card.full[data-v-ab682509] { border-color: #ef444466;
}
.room-card.disabled[data-v-ab682509] { opacity: .55;
}
.room-head[data-v-ab682509] { display: flex; justify-content: space-between; align-items: center;
}
.room-no[data-v-ab682509] { font-size: 17px; font-weight: 700; color: #1e293b;
}
.room-sub[data-v-ab682509] { color: #94a3b8; font-size: 12px; margin-top: 2px;
}
.room-beds[data-v-ab682509] { display: flex; gap: 5px; margin: 10px 0 6px; flex-wrap: wrap;
}
.bed[data-v-ab682509] { width: 20px; height: 12px; border-radius: 3px; background: #ebeef5; border: 1px solid #e5e9f0;
}
.bed.used[data-v-ab682509] { background: #2563eb; border-color: #2563eb;
}
.room-occ[data-v-ab682509] { font-size: 14px; color: #303133;
}
.room-occ .danger[data-v-ab682509] { color: #ef4444;
}
.room-foot[data-v-ab682509] { display: flex; justify-content: flex-end; align-items: center; margin-top: auto; padding-top: 10px;
}
.room-actions[data-v-ab682509] { display: flex; gap: 6px;
}
.form-error[data-v-ab682509] { margin-top: 10px; color: #ef4444; font-size: 13px;
}
.detail-info[data-v-ab682509] { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 13px;
}
.detail-info .full[data-v-ab682509] { grid-column: 1 / -1;
}

.form-error[data-v-6e208e25] { margin-top: 10px; color: #ef4444; font-size: 13px;
}
.detail-grid[data-v-6e208e25] { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 13px;
}
.detail-grid .full[data-v-6e208e25] { grid-column: 1 / -1;
}
.sec-title[data-v-6e208e25] { margin: 14px 0 8px;
}
.sum-row td[data-v-6e208e25] { border-top: 2px solid #2563eb44; background: #f8fafc;
}
.dialog.wide[data-v-6e208e25] { width: min(1180px, 94vw);
}
.dialog.mid[data-v-6e208e25] { width: min(860px, 94vw);
}
.dialog.wide .tbl[data-v-6e208e25] { font-size: 12.5px;
}
.dialog.wide .tbl th[data-v-6e208e25], .dialog.wide .tbl td[data-v-6e208e25] { padding: 7px 9px; white-space: nowrap;
}
.older-row[data-v-6e208e25] { cursor: pointer;
}
.older-toggle[data-v-6e208e25] { color: #2563eb; font-size: 12px; text-align: center; user-select: none;
}
.older-toggle[data-v-6e208e25]:hover { text-decoration: underline;
}

.rd-head[data-v-c83dc9d7] { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px;
}
.rd-title[data-v-c83dc9d7] { font-size: 16px; font-weight: 700; color: #1e293b;
}
.rd-period[data-v-c83dc9d7] { display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.rd-period input[data-v-c83dc9d7] { font-weight: 600;
}
.rd-stats[data-v-c83dc9d7] { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.stat-chip[data-v-c83dc9d7] { border-radius: 6px; padding: 8px 16px; display: flex; flex-direction: column; min-width: 90px;
}
.stat-chip b[data-v-c83dc9d7] { font-size: 20px; line-height: 1.2;
}
.stat-chip span[data-v-c83dc9d7] { font-size: 12px; opacity: .75;
}
.stat-chip.total[data-v-c83dc9d7] { background: #eff6ff; color: #2563eb;
}
.stat-chip.ok[data-v-c83dc9d7] { background: #ecfdf5; color: #16a34a;
}
.stat-chip.warn[data-v-c83dc9d7] { background: #fffbeb; color: #d97706;
}
.stat-chip.money[data-v-c83dc9d7] { background: #fef2f2; color: #ef4444;
}
.rd-progress[data-v-c83dc9d7] { flex: 1; min-width: 180px; display: flex; align-items: center; gap: 10px;
}
.bar[data-v-c83dc9d7] { flex: 1; height: 8px; background: #eef1f6; border-radius: 4px; overflow: hidden;
}
.fill[data-v-c83dc9d7] { height: 100%; background: linear-gradient(90deg, #2563eb, #16a34a); transition: width .3s;
}
.rd-actions[data-v-c83dc9d7] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;
}
.spacer[data-v-c83dc9d7] { flex: 1;
}
.seg[data-v-c83dc9d7] { display: inline-flex; border: 1px solid #e5e9f0; border-radius: 4px; overflow: hidden;
}
.seg button[data-v-c83dc9d7] { border: none; background: #fff; padding: 7px 14px; font-size: 13px; color: #475569; cursor: pointer;
}
.seg button + button[data-v-c83dc9d7] { border-left: 1px solid #e5e9f0;
}
.seg button.on[data-v-c83dc9d7] { background: #2563eb; color: #fff;
}
.btn.success[data-v-c83dc9d7] { background: #16a34a; border-color: #16a34a; color: #fff;
}
.btn.success[data-v-c83dc9d7]:hover { background: #85cf60;
}
.tbl-wrap[data-v-c83dc9d7] { border: 1px solid #ebeef5; border-radius: 6px; overflow: auto; max-height: calc(100vh - 330px);
}
.rd-tbl th[data-v-c83dc9d7] { position: sticky; top: 0; z-index: 2;
}
.rd-tbl th[data-v-c83dc9d7], .rd-tbl td[data-v-c83dc9d7] { text-align: center;
}
.rd-tbl td[data-v-c83dc9d7] { padding: 7px 8px;
}
.th-sub[data-v-c83dc9d7] { font-weight: 400; font-size: 11px; color: #94a3b8;
}
.small[data-v-c83dc9d7] { font-size: 12px;
}
.nowrap[data-v-c83dc9d7] { white-space: nowrap;
}
.mt8[data-v-c83dc9d7] { margin-top: 8px;
}
.col-room[data-v-c83dc9d7] { text-align: left !important; white-space: nowrap; min-width: 90px;
}
.room-badge[data-v-c83dc9d7] { display: inline-block; width: 18px; height: 18px; line-height: 18px; border-radius: 50%; text-align: center; font-size: 11px; color: #fff; margin-right: 6px; vertical-align: middle;
}
.room-badge.ok[data-v-c83dc9d7] { background: #16a34a;
}
.room-badge.wait[data-v-c83dc9d7] { background: #c0c4cc;
}
.col-in[data-v-c83dc9d7] { width: 100px;
}
.col-date[data-v-c83dc9d7] { width: 140px;
}
.col-fee[data-v-c83dc9d7] { min-width: 120px;
}
.num-in[data-v-c83dc9d7], .date-in[data-v-c83dc9d7], .txt-in[data-v-c83dc9d7] { text-align: center; padding: 5px 6px;
}
.num-in[data-v-c83dc9d7] { font-family: 'SF Mono', Menlo, Consolas, monospace; width: 90px;
}
.date-in[data-v-c83dc9d7] { width: 132px;
}
.txt-in[data-v-c83dc9d7] { width: 84px;
}
.rd-tbl input[data-v-c83dc9d7]:focus { border-color: #2563eb; box-shadow: 0 0 0 2px #2563eb22;
}
.row-done td[data-v-c83dc9d7] { background: #fbfdf9;
}
.row-dirty td[data-v-c83dc9d7] { background: #eff6ff;
}
.row-partial td[data-v-c83dc9d7] { background: #fffbeb;
}
.rd-tbl tr:hover td[data-v-c83dc9d7] { filter: brightness(.97);
}
.fee-total[data-v-c83dc9d7] { font-size: 15px; font-weight: 700; color: #2563eb;
}
.fee-sub[data-v-c83dc9d7] { font-size: 11px; color: #94a3b8;
}
.legend[data-v-c83dc9d7] { display: flex; align-items: center; gap: 6px;
}
.dot[data-v-c83dc9d7] { display: inline-block; width: 10px; height: 10px; border-radius: 2px;
}
.dot.done[data-v-c83dc9d7] { background: #fbfdf9; border: 1px solid #e1f0d8;
}
.dot.edit[data-v-c83dc9d7] { background: #eff6ff;
}
.dot.half[data-v-c83dc9d7] { background: #fffbeb;
}
.dot.none[data-v-c83dc9d7] { background: #fff; border: 1px solid #ebeef5;
}
.dialog.mid[data-v-c83dc9d7] { width: min(860px, 94vw);
}
.imp-steps[data-v-c83dc9d7] { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap;
}
.step[data-v-c83dc9d7] { background: #f8fafc; border-radius: 4px; padding: 6px 12px; font-size: 12px; color: #475569; display: flex; align-items: center; gap: 6px;
}
.step b[data-v-c83dc9d7] { background: #2563eb; color: #fff; width: 16px; height: 16px; line-height: 16px; border-radius: 50%; text-align: center; font-size: 11px;
}
.imp-text[data-v-c83dc9d7] { width: 100%; height: 150px; font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 13px; padding: 10px; box-sizing: border-box; border: 1px solid #e5e9f0; border-radius: 4px; margin-bottom: 10px;
}
.imp-text[data-v-c83dc9d7]:focus { border-color: #2563eb;
}
.imp-ok[data-v-c83dc9d7] { background: #ecfdf5; color: #16a34a; border-radius: 4px; padding: 8px 12px; font-size: 13px; margin-bottom: 10px;
}
.imp-warn[data-v-c83dc9d7] { background: #fef2f2; color: #ef4444; border-radius: 4px; padding: 8px 12px; font-size: 13px; margin-bottom: 10px;
}

.pc-cards[data-v-73c8d070] { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px;
}
.pc-card[data-v-73c8d070] { background: #fff; border-radius: 8px; padding: 16px 18px; box-shadow: 0 1px 3px rgba(0,0,0,.08); border-top: 3px solid #e5e9f0;
}
.pc-card .pc-label[data-v-73c8d070] { font-size: 13px; color: #475569; margin-bottom: 6px;
}
.pc-card .pc-value[data-v-73c8d070] { font-size: 24px; font-weight: 700; color: #1e293b; margin-bottom: 4px;
}
.pc-unit[data-v-73c8d070] { font-size: 12px; font-weight: 400; color: #94a3b8; margin-left: 4px;
}
.pc-card.dorm[data-v-73c8d070] { border-top-color: #16a34a;
}
.pc-card.cold[data-v-73c8d070] { border-top-color: #2563eb;
}
.pc-card.hot[data-v-73c8d070] { border-top-color: #ef4444;
}
.pc-card.elec[data-v-73c8d070] { border-top-color: #d97706;
}
.pc-upcoming[data-v-73c8d070] { margin-top: 6px; font-size: 12px; color: #d97706; background: #fffbeb; border-radius: 4px; padding: 4px 8px; display: inline-block;
}
.pc-edit[data-v-73c8d070] { display: flex; gap: 6px; margin-top: 8px; align-items: center;
}
.pc-form[data-v-73c8d070] { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap;
}
.pc-form .fld span[data-v-73c8d070] { font-size: 13px; color: #475569; margin-bottom: 5px; display: block;
}
.pc-form select[data-v-73c8d070] { min-width: 150px;
}
.pc-form .type-cold[data-v-73c8d070] { border-color: #2563eb; color: #2563eb;
}
.pc-form .type-hot[data-v-73c8d070] { border-color: #ef4444; color: #ef4444;
}
.pc-form .type-elec[data-v-73c8d070] { border-color: #d97706; color: #d97706;
}
.pc-save[data-v-73c8d070] { height: 36px; padding: 0 22px;
}
.mt8[data-v-73c8d070] { margin-top: 8px;
}
.pc-tbl td[data-v-73c8d070] { vertical-align: middle;
}
.type-tag[data-v-73c8d070] { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 12px;
}
.type-tag.cold[data-v-73c8d070] { background: #eff6ff; color: #2563eb;
}
.type-tag.hot[data-v-73c8d070] { background: #fef2f2; color: #ef4444;
}
.type-tag.elec[data-v-73c8d070] { background: #fffbeb; color: #d97706;
}

.bill-page[data-v-346e61c4] { display: flex; flex-direction: column; gap: 14px; max-width: 1280px; margin: 0 auto;
}

/* 分段标签页 */
.seg[data-v-346e61c4] { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; background: #eef2f7; border-radius: 9px;
}
.seg-item[data-v-346e61c4] {
  padding: 7px 14px; border: none; background: transparent; border-radius: 7px;
  color: #5d6d7e; font-size: 12.5px; font-family: inherit; cursor: pointer; white-space: nowrap;
  transition: background .16s, color .16s, box-shadow .16s;
}
.seg-item[data-v-346e61c4]:hover { color: #2563eb;
}
.seg-item.active[data-v-346e61c4] { background: #fff; color: #2563eb; font-weight: 600; box-shadow: 0 1px 3px rgba(31,45,61,.12);
}

/* 筛选区 */
.filterbar[data-v-346e61c4] {
  display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px;
  padding: 12px 14px; background: #fff; border: 1px solid #e5e9f0; border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
}
.fld-inline[data-v-346e61c4] { display: flex; flex-direction: column; gap: 5px;
}
.fld-inline > span[data-v-346e61c4] { font-size: 11.5px; color: #94a3b8; letter-spacing: .2px;
}
.fld-inline input[data-v-346e61c4], .fld-inline select[data-v-346e61c4] { width: 160px; height: 32px;
}
.fld-inline input[type=month][data-v-346e61c4] { width: 144px;
}
.fb-right[data-v-346e61c4] { margin-left: auto; display: flex; align-items: center; gap: 12px;
}
.count[data-v-346e61c4] { font-size: 12.5px; color: #94a3b8;
}
.count b[data-v-346e61c4] { color: #2563eb; font-weight: 600; font-variant-numeric: tabular-nums;
}
.meta-line[data-v-346e61c4] { font-size: 12.5px; color: #90a0b0; padding: 0 4px; margin-top: -4px;
}

/* 提示条 */
.notice[data-v-346e61c4] {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 11px 14px; font-size: 12.5px; line-height: 1.6; color: #a06a1b;
  background: #fffaf1; border: 1px solid #f6e2bf; border-radius: 8px;
}
.notice-dot[data-v-346e61c4] { width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: #e6a23c; flex-shrink: 0;
}

/* 表格容器 */
.table-wrap[data-v-346e61c4] {
  background: #fff; border: 1px solid #edf0f5; border-radius: 8px;
  overflow: auto; max-height: calc(100vh - 300px);
}
.table-wrap[data-v-346e61c4] table.tbl { border-collapse: separate; border-spacing: 0; table-layout: fixed;
}
.table-wrap[data-v-346e61c4] .tbl th {
  position: sticky; top: 0; z-index: 2;
  background: #f7f9fc; color: #64748b; font-weight: 600; font-size: 12px;
  padding: 9px 12px; border: none; border-bottom: 1px solid #e8edf4; letter-spacing: .2px;
}
.table-wrap[data-v-346e61c4] .tbl td {
  padding: 7px 12px; border: none; border-bottom: 1px solid #f2f5f9;
  font-size: 12.5px; color: #33445a; word-break: break-word;
}
.table-wrap[data-v-346e61c4] .tbl th { overflow: hidden; text-overflow: ellipsis;
}

/* 空状态 */
.empty-state[data-v-346e61c4] {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 56px 20px; background: #fff; border: 1px solid #edf0f5; border-radius: 8px;
}
.es-ico[data-v-346e61c4] { font-size: 22px; color: #cbd6e2; line-height: 1;
}
.es-title[data-v-346e61c4] { font-size: 13.5px; font-weight: 600; color: #64748b;
}
.es-sub[data-v-346e61c4] { font-size: 12.5px; color: #a8b4c2;
}
.table-wrap[data-v-346e61c4] .tbl tbody tr:last-child td { border-bottom: none;
}
.table-wrap[data-v-346e61c4] .tbl tbody tr:hover td { background: #f7fbff;
}
.table-wrap[data-v-346e61c4] .tbl .empty { border-bottom: none;
}
.num[data-v-346e61c4] { text-align: right; font-variant-numeric: tabular-nums;
}
.zero[data-v-346e61c4] { color: #b6c2cf;
}
.strong[data-v-346e61c4] { font-weight: 600; color: #1f2d3d;
}
.mono[data-v-346e61c4] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; letter-spacing: .2px;
}

/* 宿舍标签 */
.chip[data-v-346e61c4] {
  display: inline-block; margin: 1px 5px 1px 0; padding: 1px 7px;
  font-size: 11.5px; color: #456; background: #f2f6fb; border: 1px solid #e6eef7; border-radius: 20px;
  font-variant-numeric: tabular-nums;
}

/* 区块标题 */
.section-title[data-v-346e61c4] {
  font-size: 13.5px; font-weight: 600; color: #1f2d3d;
  margin: 4px 0 10px; padding-left: 9px; border-left: 3px solid #409eff; line-height: 1.2;
}
.mb16[data-v-346e61c4] { margin-bottom: 16px;
}
.tenant-head[data-v-346e61c4] { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 2px 2px 0;
}
.th-name[data-v-346e61c4] { font-size: 16px; font-weight: 600; color: #1f2d3d;
}
@media (max-width: 900px) {
.fb-right[data-v-346e61c4] { margin-left: 0; width: 100%; justify-content: flex-end;
}
.fld-inline input[data-v-346e61c4], .fld-inline select[data-v-346e61c4] { width: 100%;
}
}

.tb-label[data-v-69002147] { font-size: 13px; color: var(--text-3); flex-shrink: 0;
}
.io-form[data-v-69002147] { padding-bottom: 12px;
}
td.num[data-v-69002147] { text-align: right; font-variant-numeric: tabular-nums;
}
.out-num[data-v-69002147] { color: #b45309;
}

/* 统计卡片 */
.cards[data-v-69002147] { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap;
}
.card[data-v-69002147] { flex: 1; min-width: 130px; background: #f6f8fa; border-radius: 10px; padding: 10px 16px; display: flex; flex-direction: column;
}
.card b[data-v-69002147] { font-size: 20px; font-variant-numeric: tabular-nums;
}
.card span[data-v-69002147] { font-size: 12px; color: var(--text-3); margin-top: 2px;
}
.card.ok[data-v-69002147] { background: #f0f9eb;
}
.card.ok b[data-v-69002147] { color: #16a34a;
}
.card.warn[data-v-69002147] { background: #fdf6ec;
}
.card.warn b[data-v-69002147] { color: #e67e22;
}
.card.blue[data-v-69002147] { background: #ecf5ff;
}
.card.blue b[data-v-69002147] { color: #409eff;
}

/* 类型 chips */
.chip[data-v-69002147] { border: 1px solid var(--border, #dcdfe6); background: #fff; border-radius: 14px; padding: 3px 12px; font-size: 12.5px; cursor: pointer; color: var(--text-2, #606266);
}
.chip b[data-v-69002147] { margin-left: 2px;
}
.chip.on[data-v-69002147] { background: #409eff; border-color: #409eff; color: #fff;
}
.chip.on b[data-v-69002147] { color: #fff;
}

/* 单元格框线 */
.tbl th[data-v-69002147], .tbl td[data-v-69002147] { border-right: 1px solid var(--border);
}
.tbl th[data-v-69002147]:first-child, .tbl td[data-v-69002147]:first-child { border-left: 1px solid var(--border);
}
.tbl tr:last-child td[data-v-69002147] { border-bottom: 1px solid var(--border);
}
.tbl th[data-v-69002147] { border-bottom: 1px solid var(--border);
}

.tb-label[data-v-03448a43] { font-size: 13px; color: var(--text-3);
}
.ct-wrap[data-v-03448a43] { overflow: auto; max-height: calc(100vh - 210px);
}
table.ct[data-v-03448a43] { border-collapse: separate; border-spacing: 0;
}
table.ct th[data-v-03448a43], table.ct td[data-v-03448a43] { padding: 6px 8px; white-space: nowrap;
}
table.ct thead tr:nth-child(2) th[data-v-03448a43] { padding: 3px 8px;
}
table.ct .sub-h[data-v-03448a43] { color: var(--text-3); font-weight: 500;
}
table.ct .sub-h.out[data-v-03448a43] { color: #e67e22;
}
/* 单元格框线 */
table.tbl th[data-v-03448a43], table.tbl td[data-v-03448a43] { border-right: 1px solid var(--border);
}
table.tbl th[data-v-03448a43]:first-child, table.tbl td[data-v-03448a43]:first-child { border-left: 1px solid var(--border);
}
table.tbl tr:last-child td[data-v-03448a43] { border-bottom: 1px solid var(--border);
}
table.tbl th[data-v-03448a43] { border-bottom: 1px solid var(--border);
}

/* 左侧固定列 */
.st[data-v-03448a43] { position: sticky; z-index: 3; background: var(--surface);
}
thead .st[data-v-03448a43] { z-index: 4; background: #f4f6fb;
}
.c1[data-v-03448a43] { left: 0; min-width: 44px; width: 44px; text-align: center;
}
.c2[data-v-03448a43] { left: 44px; min-width: 74px; width: 74px;
}
.c3[data-v-03448a43] { left: 118px; min-width: 130px; max-width: 160px; overflow: hidden; text-overflow: ellipsis;
}
.c4[data-v-03448a43] { left: 248px; min-width: 48px; width: 48px; text-align: center;
}
.c5[data-v-03448a43] { left: 296px; min-width: 60px; width: 60px; text-align: right;
}
tbody td.st[data-v-03448a43] { box-shadow: 1px 0 0 var(--border);
}
tbody td.st[data-v-03448a43]:last-of-type { box-shadow: 2px 0 0 var(--border);
}
td.num[data-v-03448a43] { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-2);
}
td.num.has[data-v-03448a43] { color: #2563eb; font-weight: 600;
}
td.num.out-num.has[data-v-03448a43] { color: #b45309;
}
.neg[data-v-03448a43] { color: #f56c6c;
}
tbody tr:hover td.st[data-v-03448a43] { background: #f7f9fd;
}

.tb-label[data-v-5a790305] { font-size: 13px; color: var(--text-3); flex-shrink: 0;
}
td.num[data-v-5a790305] { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-2);
}
td.num.in[data-v-5a790305] { color: #16a34a;
}
td.num.out[data-v-5a790305] { color: #e67e22;
}
.mono[data-v-5a790305] { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px;
}
.neg[data-v-5a790305] { color: #f56c6c;
}
.warn[data-v-5a790305] { color: #e67e22;
}
.quick[data-v-5a790305] { white-space: nowrap; display: flex; gap: 8px; align-items: center;
}
.amount[data-v-5a790305] { font-size: 12px; color: var(--text-3); min-width: 56px; text-align: right; font-variant-numeric: tabular-nums;
}
.noquote[data-v-5a790305] { font-size: 12px; color: #909399; background: #f4f4f5; border-radius: 8px; padding: 1px 8px;
}

/* 统计卡片 */
.cards[data-v-5a790305] { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap;
}
.card[data-v-5a790305] { flex: 1; min-width: 130px; background: #f6f8fa; border-radius: 10px; padding: 10px 16px; display: flex; flex-direction: column;
}
.card b[data-v-5a790305] { font-size: 20px; font-variant-numeric: tabular-nums;
}
.card span[data-v-5a790305] { font-size: 12px; color: var(--text-3); margin-top: 2px;
}
.card.ok[data-v-5a790305] { background: #f0f9eb;
}
.card.ok b[data-v-5a790305] { color: #16a34a;
}
.card.zero[data-v-5a790305] { background: #fdf6ec;
}
.card.zero b[data-v-5a790305] { color: #e67e22;
}
.card.bad[data-v-5a790305] { background: #fef0f0;
}
.card.bad b[data-v-5a790305] { color: #f56c6c;
}
.card.money b[data-v-5a790305] { font-size: 16px;
}

/* 状态筛选 chips */
.filter-row[data-v-5a790305] { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap;
}
.chip[data-v-5a790305] { border: 1px solid var(--border, #dcdfe6); background: #fff; border-radius: 14px; padding: 3px 12px; font-size: 12.5px; cursor: pointer; color: var(--text-2, #606266);
}
.chip b[data-v-5a790305] { margin-left: 2px;
}
.chip.on[data-v-5a790305] { background: #409eff; border-color: #409eff; color: #fff;
}
.chip.on b[data-v-5a790305] { color: #fff;
}

/* 行状态高亮 */
.row-neg[data-v-5a790305] { background: #fef5f5;
}
.row-zero[data-v-5a790305] { background: #fffdf5;
}

/* 单元格框线 */
.tbl th[data-v-5a790305], .tbl td[data-v-5a790305] { border-right: 1px solid var(--border);
}
.tbl th[data-v-5a790305]:first-child, .tbl td[data-v-5a790305]:first-child { border-left: 1px solid var(--border);
}
.tbl tr:last-child td[data-v-5a790305] { border-bottom: 1px solid var(--border);
}
.tbl th[data-v-5a790305] { border-bottom: 1px solid var(--border);
}

.tb-label[data-v-82006d45] { font-size: 13px; color: var(--text-3); flex-shrink: 0;
}
.num[data-v-82006d45] { text-align: right; font-variant-numeric: tabular-nums;
}
.mono[data-v-82006d45] { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px;
}
.neg[data-v-82006d45] { color: #f56c6c;
}
.pos[data-v-82006d45] { color: #16a34a;
}
.ops[data-v-82006d45] { white-space: nowrap; display: flex; gap: 6px;
}
.clip[data-v-82006d45] { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 顶部进行中提示条 */
.banner[data-v-82006d45] { display: flex; align-items: center; gap: 12px; background: #ecf5ff; border: 1px solid #b3d8ff; border-radius: 8px; padding: 8px 14px; margin-bottom: 10px; font-size: 13px;
}
.banner .dot[data-v-82006d45] { width: 8px; height: 8px; border-radius: 50%; background: #409eff; flex-shrink: 0; animation: blink-82006d45 1.6s infinite;
}
@keyframes blink-82006d45 {
50% { opacity: .35;
}
}
.banner .pbar[data-v-82006d45] { flex: 0 0 160px;
}
.banner .btn[data-v-82006d45] { margin-left: auto;
}

/* 进度条 */
.pbar[data-v-82006d45] { height: 8px; background: #eef1f6; border-radius: 4px; overflow: hidden;
}
.pbar i[data-v-82006d45] { display: block; height: 100%; background: linear-gradient(90deg, #409eff, #67c23a); border-radius: 4px; transition: width .3s;
}
.pbar.sm[data-v-82006d45] { height: 6px;
}
.cell-bar[data-v-82006d45] { display: flex; align-items: center; gap: 8px;
}
.cell-bar .pbar[data-v-82006d45] { flex: 1;
}

/* 差异徽标 */
.badge[data-v-82006d45] { display: inline-block; min-width: 26px; text-align: center; padding: 1px 8px; border-radius: 10px; font-size: 12px; font-weight: 600;
}
.badge.warn[data-v-82006d45] { background: #fef0f0; color: #f56c6c;
}
.badge.ok[data-v-82006d45] { background: #f0f9eb; color: #67c23a;
}

/* 弹窗 */
.dialog.wide[data-v-82006d45] { width: 900px; height: min(90vh, 760px); display: flex; flex-direction: column;
}
.dialog.wide .table-wrap[data-v-82006d45] { flex: 1;
}
.dlg-head[data-v-82006d45] { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.dlg-head h3[data-v-82006d45] { margin: 0 0 6px;
}
.dlg-stats[data-v-82006d45] { display: flex; gap: 10px;
}
.stat[data-v-82006d45] { display: flex; flex-direction: column; align-items: center; background: #f6f8fa; border-radius: 8px; padding: 6px 14px; min-width: 74px;
}
.stat b[data-v-82006d45] { font-size: 16px;
}
.stat span[data-v-82006d45] { font-size: 11.5px; color: var(--text-3);
}
.stat.up b[data-v-82006d45] { color: #16a34a;
}
.stat.up[data-v-82006d45] { background: #f0f9eb;
}
.stat.down b[data-v-82006d45] { color: #f56c6c;
}
.stat.down[data-v-82006d45] { background: #fef0f0;
}
.prog-row[data-v-82006d45] { display: flex; align-items: center; gap: 10px; margin: 10px 0 8px;
}
.prog-row .pbar[data-v-82006d45] { flex: 1;
}

/* 快捷筛选 chips */
.filter-row[data-v-82006d45] { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap;
}
.chip[data-v-82006d45] { border: 1px solid var(--border, #dcdfe6); background: #fff; border-radius: 14px; padding: 3px 12px; font-size: 12.5px; cursor: pointer; color: var(--text-2, #606266);
}
.chip b[data-v-82006d45] { margin-left: 2px;
}
.chip.on[data-v-82006d45] { background: #409eff; border-color: #409eff; color: #fff;
}
.chip.on b[data-v-82006d45] { color: #fff;
}

/* 行状态高亮 */
.row-pos[data-v-82006d45] { background: #f7fcf5;
}
.row-neg[data-v-82006d45] { background: #fff9f7;
}
.row-undone td[data-v-82006d45] { opacity: .62;
}
tr.row-pos td[data-v-82006d45], tr.row-neg td[data-v-82006d45] { transition: background .15s;
}
.rq[data-v-82006d45] { width: 110px; padding: 4px 8px; border: 1px solid var(--border, #dcdfe6); border-radius: 6px; text-align: right;
}
.rq[data-v-82006d45]:focus { border-color: #409eff; box-shadow: 0 0 0 2px rgba(64, 158, 255, .15); outline: none;
}
.hint[data-v-82006d45] { font-size: 12.5px; color: var(--text-3); margin: 8px 0 0;
}

.num[data-v-c97fe771] { text-align: right; font-variant-numeric: tabular-nums;
}
.mono[data-v-c97fe771] { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px;
}
.ops[data-v-c97fe771] { white-space: nowrap; display: flex; gap: 6px;
}
.clip[data-v-c97fe771] { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dialog.wide[data-v-c97fe771] { width: 720px; height: min(86vh, 660px);
}
.form-row[data-v-c97fe771] { display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.form-row > label[data-v-c97fe771] { font-size: 13px; color: var(--text-3); flex-shrink: 0; width: 60px; text-align: right;
}
.item-table[data-v-c97fe771] { margin-top: 6px;
}
.item-table td[data-v-c97fe771] { padding: 5px 6px;
}
.meta-grid[data-v-c97fe771] { display: grid; grid-template-columns: 72px 1fr 72px 1fr; gap: 8px 10px; font-size: 13.5px;
}
.tag.muted[data-v-c97fe771] { background: var(--bg-2); color: var(--text-3);
}
.btn.small.warning[data-v-c97fe771] { color: #b45309; border-color: #fcd34d; background: #fff;
}
.btn.small.warning[data-v-c97fe771]:hover { background: #fffbeb; border-color: #fbbf24;
}
.combo[data-v-c97fe771] { position: relative;
}
.combo-list[data-v-c97fe771] {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
  background: var(--bg-1, #fff); border: 1px solid var(--line, #d8dce6); border-radius: 6px;
  max-height: 264px; overflow-y: auto; box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.combo-opt[data-v-c97fe771] { padding: 6px 10px; font-size: 13px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.combo-opt[data-v-c97fe771]:hover, .combo-opt.on[data-v-c97fe771] { background: var(--bg-2, #f0f2f7);
}
.combo-more[data-v-c97fe771] { padding: 6px 10px; font-size: 12px; color: var(--text-3);
}

/* 统计卡片 */
.cards[data-v-c97fe771] { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap;
}
.card[data-v-c97fe771] { flex: 1; min-width: 130px; background: #f6f8fa; border-radius: 10px; padding: 10px 16px; display: flex; flex-direction: column;
}
.card b[data-v-c97fe771] { font-size: 20px; font-variant-numeric: tabular-nums;
}
.card span[data-v-c97fe771] { font-size: 12px; color: var(--text-3); margin-top: 2px;
}
.card.warn[data-v-c97fe771] { background: #fdf6ec;
}
.card.warn b[data-v-c97fe771] { color: #e67e22;
}
.card.ok[data-v-c97fe771] { background: #f0f9eb;
}
.card.ok b[data-v-c97fe771] { color: #16a34a;
}
.card.money b[data-v-c97fe771] { font-size: 16px;
}

/* 状态 chips */
.filter-row[data-v-c97fe771] { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap;
}
/* 手机版月份切换 */
.m-switch[data-v-c97fe771] { display: inline-flex; align-items: center; gap: 8px;
}
.m-switch .btn[data-v-c97fe771] { min-width: 36px; padding: 7px 10px;
}
.m-label[data-v-c97fe771] { font-size: 14px; font-variant-numeric: tabular-nums; min-width: 78px; text-align: center;
}
/* 手机版可点击的日期输入：去掉边框内边距，看起来像文本，点它弹原生日历 */
.m-date-input[data-v-c97fe771] { border: none; background: transparent; padding: 4px 2px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-1, #303133); flex: 1; min-width: 0; text-align: center;
}
/* 手机版弹窗：窄屏纵向堆叠 */
.dialog.kiosk[data-v-c97fe771] { width: calc(100vw - 20px); max-width: 430px; max-height: calc(100vh - 36px); overflow-y: auto;
}
.dialog.kiosk .form-row[data-v-c97fe771] { display: block; margin-bottom: 6px;
}
.dialog.kiosk .form-row > label[data-v-c97fe771] { display: block; margin: 4px 0; font-size: 12.5px; color: var(--text-3, #909399);
}
.dialog.kiosk .form-row > input[data-v-c97fe771], .dialog.kiosk .form-row > select[data-v-c97fe771] { width: 100% !important; min-height: 38px;
}
/* 手机版详情：信息两列折行，明细表可横向滑动 */
.dialog.kiosk .meta-grid[data-v-c97fe771] { grid-template-columns: 72px 1fr;
}
.dialog.kiosk table.tbl[data-v-c97fe771] { display: block; overflow-x: auto; white-space: nowrap;
}
/* 手机版统计卡片：2×2 紧凑网格 */
.page.kiosk .cards[data-v-c97fe771] { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px;
}
.page.kiosk .card[data-v-c97fe771] { padding: 7px 10px; min-width: 0; flex: none;
}
.page.kiosk .card b[data-v-c97fe771] { font-size: 16px;
}
.page.kiosk .card span[data-v-c97fe771] { font-size: 11px; margin-top: 0;
}
/* 手机版工具条与筛选更紧凑 */
.page.kiosk .toolbar[data-v-c97fe771] { padding: 8px; gap: 6px;
}
.page.kiosk .toolbar > .btn.primary[data-v-c97fe771] { flex: 1;
}
.page.kiosk .toolbar .tb-hint[data-v-c97fe771] { display: none;
}
.page.kiosk .filter-row[data-v-c97fe771] { gap: 5px; margin-bottom: 8px;
}
.page.kiosk .filter-row input[data-v-c97fe771] { width: 100% !important; margin-left: 0 !important;
}
/* 手机版单据卡片 */
.m-orders[data-v-c97fe771] { display: flex; flex-direction: column; gap: 8px;
}
.m-order-card[data-v-c97fe771] { border: 1px solid var(--border, #dcdfe6); border-radius: 10px; padding: 10px 12px; background: #fff;
}
.m-order-card.pending[data-v-c97fe771] { border-left: 3px solid #409eff;
}
.m-order-top[data-v-c97fe771] { display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.m-order-top .mono[data-v-c97fe771] { font-size: 13px;
}
.m-order-line[data-v-c97fe771] { font-size: 13px; margin-top: 4px;
}
.m-order-ops[data-v-c97fe771] { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap;
}
.empty-card[data-v-c97fe771] { border: 1px dashed var(--border, #dcdfe6); border-radius: 10px; padding: 24px; text-align: center; color: var(--text-3, #909399); font-size: 13px;
}
/* 手机版明细卡片 */
.m-items[data-v-c97fe771] { margin-top: 8px;
}
.m-item-card[data-v-c97fe771] { border: 1px solid var(--border, #dcdfe6); border-radius: 10px; padding: 8px; margin-bottom: 8px; background: #fff;
}
.m-item-row[data-v-c97fe771] { display: flex; gap: 6px; margin-top: 6px;
}
.m-item-row input[data-v-c97fe771] { min-width: 0; flex: 1; padding: 7px 8px;
}
.m-item-row .btn[data-v-c97fe771] { flex-shrink: 0;
}
.chip[data-v-c97fe771] { border: 1px solid var(--border, #dcdfe6); background: #fff; border-radius: 14px; padding: 3px 12px; font-size: 12.5px; cursor: pointer; color: var(--text-2, #606266);
}
.chip b[data-v-c97fe771] { margin-left: 2px;
}
.chip.on[data-v-c97fe771] { background: #409eff; border-color: #409eff; color: #fff;
}
.chip.on b[data-v-c97fe771] { color: #fff;
}

/* 单元格框线 + 行高亮 */
.tbl th[data-v-c97fe771], .tbl td[data-v-c97fe771] { border-right: 1px solid var(--border);
}
.tbl th[data-v-c97fe771]:first-child, .tbl td[data-v-c97fe771]:first-child { border-left: 1px solid var(--border);
}
.tbl tr:last-child td[data-v-c97fe771] { border-bottom: 1px solid var(--border);
}
.tbl th[data-v-c97fe771] { border-bottom: 1px solid var(--border);
}
.row-pending[data-v-c97fe771] { background: #fffdf5;
}

/* 扫描导入弹窗 */
.scan-dlg[data-v-c97fe771] { width: 880px; height: min(88vh, 720px); display: flex; flex-direction: column;
}
.scan-dlg .item-table[data-v-c97fe771] { flex: 1; overflow-y: auto;
}
.scan-bar[data-v-c97fe771] { display: flex; align-items: center; gap: 12px; margin: 8px 0; flex-wrap: wrap;
}
.scan-err[data-v-c97fe771] { color: #f56c6c; font-size: 13px;
}
.pbar.scan[data-v-c97fe771] { height: 8px; background: #eef1f6; border-radius: 4px; overflow: hidden; margin-bottom: 8px;
}
.pbar.scan i[data-v-c97fe771] { display: block; height: 100%; background: linear-gradient(90deg, #409eff, #67c23a); transition: width .3s;
}
.scan-raw[data-v-c97fe771] { font-size: 12px; color: var(--text-3); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.scan-preview[data-v-c97fe771] { max-height: 64px; max-width: 160px; border-radius: 6px; border: 1px solid var(--border, #dcdfe6); object-fit: contain;
}
.tbl tr.bad td[data-v-c97fe771] { background: #fff1f0;
}
.tbl tr.bad .scan-raw[data-v-c97fe771] { color: #cf1322;
}
.unit-chip[data-v-c97fe771] { color: #d46b08; background: #fff7e6; border: 1px solid #ffd591; border-radius: 4px; padding: 1px 6px; cursor: pointer; font-size: 12px; white-space: nowrap;
}
.unit-chip[data-v-c97fe771]:hover { background: #ffe7ba;
}
.raw-box[data-v-c97fe771] { font-size: 12px; color: var(--text-3); margin: 8px 0;
}
.raw-box pre[data-v-c97fe771] { white-space: pre-wrap; background: #f6f8fa; border-radius: 6px; padding: 8px; max-height: 140px; overflow-y: auto;
}

.tb-label[data-v-d0971f6b] { font-size: 13px; color: var(--text-3); flex-shrink: 0;
}
.num[data-v-d0971f6b] { text-align: right; font-variant-numeric: tabular-nums;
}
.mono[data-v-d0971f6b] { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px;
}
.tag.muted[data-v-d0971f6b] { background: var(--bg-2); color: var(--text-3);
}
.ops[data-v-d0971f6b] { white-space: nowrap; display: flex; gap: 6px;
}
.dialog.wide[data-v-d0971f6b] { width: 780px;
}
.fld[data-v-d0971f6b] { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--text-3);
}
.fld input[data-v-d0971f6b] { margin-top: 4px;
}
.form-grid[data-v-d0971f6b] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px;
}
.form-grid .full[data-v-d0971f6b] { grid-column: 1 / -1;
}
.form-error[data-v-d0971f6b] { color: #f56c6c; font-size: 13px; margin-top: 8px;
}

/* 统计卡片 */
.cards[data-v-d0971f6b] { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap;
}
.card[data-v-d0971f6b] { flex: 1; min-width: 130px; background: #f6f8fa; border-radius: 10px; padding: 10px 16px; display: flex; flex-direction: column;
}
.card b[data-v-d0971f6b] { font-size: 20px; font-variant-numeric: tabular-nums;
}
.card span[data-v-d0971f6b] { font-size: 12px; color: var(--text-3); margin-top: 2px;
}
.card.ok[data-v-d0971f6b] { background: #f0f9eb;
}
.card.ok b[data-v-d0971f6b] { color: #16a34a;
}
.card.warn[data-v-d0971f6b] { background: #fdf6ec;
}
.card.warn b[data-v-d0971f6b] { color: #e67e22;
}
.card.money b[data-v-d0971f6b] { font-size: 16px;
}

/* 报价状态 chips */
.filter-row[data-v-d0971f6b] { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap;
}
.chip[data-v-d0971f6b] { border: 1px solid var(--border, #dcdfe6); background: #fff; border-radius: 14px; padding: 3px 12px; font-size: 12.5px; cursor: pointer; color: var(--text-2, #606266);
}
.chip b[data-v-d0971f6b] { margin-left: 2px;
}
.chip.on[data-v-d0971f6b] { background: #409eff; border-color: #409eff; color: #fff;
}
.chip.on b[data-v-d0971f6b] { color: #fff;
}

/* 单元格框线 + 行高亮 */
.tbl th[data-v-d0971f6b], .tbl td[data-v-d0971f6b] { border-right: 1px solid var(--border);
}
.tbl th[data-v-d0971f6b]:first-child, .tbl td[data-v-d0971f6b]:first-child { border-left: 1px solid var(--border);
}
.tbl tr:last-child td[data-v-d0971f6b] { border-bottom: 1px solid var(--border);
}
.tbl th[data-v-d0971f6b] { border-bottom: 1px solid var(--border);
}
.row-unquoted[data-v-d0971f6b] { background: #fffdf5;
}

.tb-label[data-v-dc1dd684] { font-size: 13px; color: var(--text-3); flex-shrink: 0;
}
.sec[data-v-dc1dd684] { margin: 14px 0 8px; color: var(--text-2); font-size: 13.5px;
}
.mono[data-v-dc1dd684] { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px;
}
.num[data-v-dc1dd684] { text-align: right; font-variant-numeric: tabular-nums;
}
tr.sum td[data-v-dc1dd684] { font-weight: 600; background: var(--bg-2, #f4f6fb);
}
.hint[data-v-dc1dd684] { font-size: 12.5px; color: var(--text-3); margin-top: 10px;
}
.empty-page[data-v-dc1dd684] { color: var(--text-3); font-size: 13.5px; padding: 40px 0; text-align: center;
}

/* 汇总卡片 */
.cards[data-v-dc1dd684] { display: flex; gap: 10px; margin: 12px 0 4px; flex-wrap: wrap;
}
.card[data-v-dc1dd684] { flex: 1; min-width: 130px; background: #f6f8fa; border-radius: 10px; padding: 10px 16px; display: flex; flex-direction: column;
}
.card b[data-v-dc1dd684] { font-size: 20px; font-variant-numeric: tabular-nums;
}
.card span[data-v-dc1dd684] { font-size: 12px; color: var(--text-3); margin-top: 2px;
}
.card.warn[data-v-dc1dd684] { background: #fdf6ec;
}
.card.warn b[data-v-dc1dd684] { color: #e67e22;
}
.card.ok[data-v-dc1dd684] { background: #f0f9eb;
}
.card.ok b[data-v-dc1dd684] { color: #16a34a;
}
.card.money[data-v-dc1dd684] { background: #ecf5ff;
}
.card.money b[data-v-dc1dd684] { color: #409eff; font-size: 18px;
}

/* 单元格框线 */
.tbl th[data-v-dc1dd684], .tbl td[data-v-dc1dd684] { border-right: 1px solid var(--border);
}
.tbl th[data-v-dc1dd684]:first-child, .tbl td[data-v-dc1dd684]:first-child { border-left: 1px solid var(--border);
}
.tbl tr:last-child td[data-v-dc1dd684] { border-bottom: 1px solid var(--border);
}
.tbl th[data-v-dc1dd684] { border-bottom: 1px solid var(--border);
}
/* ================= 设计系统 ================= */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  --bg: #f4f6fa;
  --surface: #ffffff;
  --text: #1e293b;
  --text-2: #475569;
  --text-3: #94a3b8;
  --border: #e5e9f0;
  --danger: #ef4444;
  --success: #16a34a;
  --warning: #d97706;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, .08);
  --shadow-lg: 0 16px 44px rgba(15, 23, 42, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 14px; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #cdd5e0; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #b6c2d2; }
::-webkit-scrollbar-track { background: transparent; }

/* ================= 整体布局 ================= */
.layout { display: flex; height: 100vh; }

/* 侧栏：深色导航 */
.sidebar {
  width: 216px; color: #cbd5e1; display: flex; flex-direction: column; flex-shrink: 0;
  transition: width .25s ease; overflow: hidden;
  background: linear-gradient(180deg, #0f1b2d 0%, #142440 100%);
}
.sidebar.collapsed { width: 64px; }
.sidebar .ico { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar .logo {
  height: 60px; display: flex; align-items: center; gap: 10px; padding: 0 18px;
  font-size: 15px; font-weight: 700; color: #f8fafc; white-space: nowrap; letter-spacing: .5px;
}
.sidebar.collapsed .logo { justify-content: center; padding: 0; }
.sidebar .logo .ico { width: 21px; height: 21px; color: #60a5fa; }
.sidebar .menu { flex: 1; overflow-y: auto; padding: 10px 10px; }
.sidebar .menu-item {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px; margin: 3px 0;
  cursor: pointer; border-radius: 8px; white-space: nowrap; color: #b6c2d4; font-size: 13.5px;
  transition: background .16s, color .16s;
}
.sidebar .menu-item:hover { background: rgba(255, 255, 255, .07); color: #f1f5f9; }
.sidebar .menu-item.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; font-weight: 600;
  box-shadow: 0 3px 10px rgba(37, 99, 235, .4);
}
.sidebar.collapsed .menu-item { justify-content: center; padding: 13px 0; }
/* 二级菜单 */
.sidebar .menu-item.group .chev { margin-left: auto; width: 15px; height: 15px; opacity: .65; transition: transform .2s; }
.sidebar .menu-item.group.open .chev { transform: rotate(180deg); }
.sidebar .menu-item.sub {
  padding: 8px 13px 8px 22px; margin: 1px 0; font-size: 13px; color: #9fb0c7;
}
.sidebar .menu-item.sub .sub-dot {
  width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .55; flex-shrink: 0;
}
.sidebar .menu-item.sub:hover { background: rgba(255, 255, 255, .05); color: #f1f5f9; }
.sidebar .menu-item.sub.active {
  background: rgba(37, 99, 235, .18); color: #93c5fd; font-weight: 600; box-shadow: none;
}
.sidebar.collapsed .menu-item.sub { display: none; }
.sidebar .side-foot {
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.sidebar .side-toggle {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 30px;
  background: rgba(255, 255, 255, .06); color: #94a3b8; border: none; border-radius: 7px;
  cursor: pointer; transition: background .15s, color .15s;
}
.sidebar .side-toggle:hover { background: rgba(255, 255, 255, .12); color: #e2e8f0; }
.sidebar .user { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.sidebar.collapsed .user { justify-content: center; }
.sidebar .avatar {
  width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.sidebar .uname { flex: 1; overflow: hidden; text-overflow: ellipsis; font-size: 13px; color: #e2e8f0; font-weight: 600; }
.sidebar .side-logout {
  display: flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  background: transparent; color: #8fa1b8; border: none; border-radius: 6px;
  cursor: pointer; transition: background .15s, color .15s; flex-shrink: 0;
}
.sidebar .side-logout:hover { background: rgba(239, 68, 68, .18); color: #fca5a5; }
.sidebar .side-logout .ico { width: 15px; height: 15px; }

/* 主区域 */
.main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.topbar {
  height: 54px; flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 0 24px;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.topbar .tb-title { font-size: 16px; font-weight: 700; color: var(--text); }
.topbar .tb-sub { font-size: 12.5px; color: var(--text-3); margin-left: 4px; }
.topbar .tb-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topbar .tb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); }
.topbar .tb-state { font-size: 12.5px; color: var(--text-2); }
.content { flex: 1; overflow-y: auto; padding: 22px 24px 28px; animation: pageIn .22s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ================= 卡片 ================= */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.card h3 { font-size: 15px; margin-bottom: 14px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.card h3::before { content: ''; width: 3px; height: 14px; border-radius: 2px; background: var(--primary); }

.toolbar {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; box-shadow: var(--shadow-sm); margin-bottom: 0;
}
.toolbar .tb-hint { margin-left: auto; font-size: 12px; color: var(--text-3); }

/* 页面容器：所有页面统一宽度与纵向节奏 */
.page { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

/* 表格面板：白底圆角容器 + 吸顶表头 */
.table-wrap {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: auto; max-height: calc(100vh - 240px); box-shadow: var(--shadow-sm);
}
.table-wrap table.tbl { border-collapse: separate; border-spacing: 0; }
.table-wrap .tbl th { position: sticky; top: 0; z-index: 2; }

/* ================= 表格 ================= */
table.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); }
.tbl th, .tbl td { border-bottom: 1px solid var(--border); padding: 10px 12px; text-align: left; font-size: 13px; }
.tbl th {
  background: #f8fafc; color: var(--text-2); font-weight: 600; white-space: nowrap;
  position: sticky; top: 0; z-index: 2;
}
.tbl th:first-child { border-top-left-radius: 8px; }
.tbl th:last-child { border-top-right-radius: 8px; }
.tbl td { vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: #f6f9ff; }
/* 表格里的数字输入：全局 12px 左右内边距会把窄列输入框的内容区挤没（数字不可见） */
.tbl input[type=number] { padding: 4px 6px; min-height: 0; text-align: right; }
.tbl input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* 扫描识别后数量/单价空缺的高亮，提示人工补填 */
.tbl input.blank-warn { border-color: #f59e0b; background: #fffbeb; }
.tbl input.blank-warn:focus { border-color: #d97706; box-shadow: 0 0 0 3px rgba(245, 158, 11, .15); }

/* ================= 按钮 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 7px 15px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); color: var(--text-2); cursor: pointer; font-size: 13px; font-family: inherit;
  transition: all .16s ease; white-space: nowrap;
}
.btn:hover { color: var(--primary); border-color: var(--primary-border); background: var(--primary-light); }
.btn.primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb); border-color: transparent; color: #fff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, .3);
}
.btn.primary:hover { background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 3px 10px rgba(37, 99, 235, .4); transform: translateY(-1px); }
.btn.danger { color: var(--danger); border-color: #fecaca; background: #fff; }
.btn.danger:hover { background: #fef2f2; border-color: #fca5a5; }
.btn.small { padding: 4px 11px; font-size: 12px; border-radius: 6px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ================= 表单 ================= */
input, select, textarea {
  padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px;
  outline: none; font-family: inherit; color: var(--text); background: var(--surface);
  transition: border-color .16s, box-shadow .16s; min-height: 34px;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
input::placeholder { color: var(--text-3); }
input[type=checkbox] { width: auto; min-height: 0; accent-color: var(--primary); cursor: pointer; }
label.fld { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); font-weight: 500; }
label.fld input, label.fld select, label.fld textarea { font-weight: 400; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }

/* ================= 弹窗 ================= */
.dialog-mask {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .45); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; z-index: 100;
  animation: maskIn .18s ease;
}
@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }
.dialog {
  background: var(--surface); border-radius: var(--radius-lg); padding: 22px 24px; width: 560px;
  max-height: 86vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  animation: dlgIn .22s cubic-bezier(.34, 1.4, .64, 1);
}
@keyframes dlgIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.dialog h3 { margin-bottom: 16px; font-size: 15.5px; display: flex; align-items: center; gap: 8px; }
.dialog h3::before { content: ''; width: 3px; height: 14px; border-radius: 2px; background: var(--primary); }
.dialog-actions {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border);
  text-align: right; display: flex; gap: 10px; justify-content: flex-end;
}

/* ================= 统计卡片 ================= */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 18px 20px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 14px;
  transition: transform .18s, box-shadow .18s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-card .num { font-size: 26px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.stat-card .lbl { color: var(--text-3); font-size: 12.5px; margin-top: 3px; }

/* ================= 提示 ================= */
.toast-wrap { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 999; }
.toast {
  padding: 11px 20px; border-radius: 10px; color: #fff; margin-bottom: 8px; font-size: 13.5px;
  box-shadow: var(--shadow-md); animation: toastIn .25s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.toast.success { background: linear-gradient(135deg, #22c55e, #16a34a); }
.toast.error { background: linear-gradient(135deg, #f87171, #ef4444); }

/* ================= 标签 ================= */
.tag {
  display: inline-block; padding: 2.5px 10px; border-radius: 999px; font-size: 12px; font-weight: 500;
}
.tag.g { background: #ecfdf5; color: #059669; }
.tag.r { background: #fef2f2; color: #dc2626; }
.tag.b { background: var(--primary-light); color: var(--primary); }
.tag.o { background: #fffbeb; color: #d97706; }

/* ================= 登录/激活页 ================= */
.login-page {
  position: relative; height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #0e2038 0%, #16324f 40%, #27568a 78%, #2f6ba3 100%);
  overflow: hidden;
}
.login-page::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 16% 22%, rgba(64, 158, 255, .32) 0, transparent 44%),
    radial-gradient(circle at 84% 72%, rgba(34, 197, 170, .22) 0, transparent 46%),
    radial-gradient(circle at 72% 12%, rgba(255, 184, 120, .14) 0, transparent 40%),
    radial-gradient(circle at 40% 90%, rgba(64, 158, 255, .18) 0, transparent 40%);
}
.login-page::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='140' preserveAspectRatio='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.16'%3E%3Crect x='0' y='62' width='70' height='78'/%3E%3Crect x='80' y='30' width='55' height='110'/%3E%3Crect x='145' y='78' width='80' height='62'/%3E%3Crect x='235' y='46' width='60' height='94'/%3E%3Crect x='305' y='86' width='90' height='54'/%3E%3Crect x='405' y='26' width='50' height='114'/%3E%3Crect x='465' y='72' width='75' height='68'/%3E%3Crect x='550' y='52' width='60' height='88'/%3E%3Crect x='620' y='92' width='85' height='48'/%3E%3Crect x='715' y='36' width='55' height='104'/%3E%3Crect x='780' y='66' width='80' height='74'/%3E%3Crect x='870' y='22' width='60' height='118'/%3E%3Crect x='940' y='62' width='70' height='78'/%3E%3Crect x='1020' y='42' width='65' height='98'/%3E%3Crect x='1095' y='78' width='105' height='62'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.4px);
  background-size: 100% 120px, 26px 26px;
  background-repeat: no-repeat, repeat;
  background-position: bottom, 0 0;
  opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.85));
  mask-image: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.85));
}
.login-page > * { position: relative; z-index: 1; }
.login-box {
  background: rgba(255, 255, 255, .97); border-radius: 16px; padding: 34px 34px 28px; width: 360px;
  box-shadow: 0 18px 48px rgba(6, 18, 33, .45);
}
.login-brand { text-align: center; margin-bottom: 22px; }
.login-brand .brand-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 12px;
  border-radius: 13px; color: #fff; background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 6px 16px rgba(64, 158, 255, .35);
}
.login-brand .brand-ico svg { width: 23px; height: 23px; }
.login-brand h2 { margin: 0 0 5px; font-size: 18px; letter-spacing: .5px; }
.login-brand .brand-sub { font-size: 11px; letter-spacing: 1.6px; color: #a9b6c6; text-transform: uppercase; }
.login-box h2 { text-align: center; margin-bottom: 24px; color: var(--text); }
.login-box label.fld { margin-bottom: 14px; }
.login-box .remember-row { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); margin: -4px 0 14px; cursor: pointer; user-select: none; }
.login-box .remember-row .cb { width: 16px; height: 16px; padding: 0; min-height: 0; accent-color: #2563eb; flex: none; }

/* ================= 工具类 ================= */
.empty { color: var(--text-3); text-align: center; padding: 28px; font-size: 13px; }
.muted { color: var(--text-3); font-size: 12px; }
.mt8 { margin-top: 8px; }
.mb12 { margin-bottom: 12px; }
.bold { font-weight: 700; }
.right { text-align: right; }
