.cost-panel { padding: 16rpx 24rpx 48rpx; } .seg-tabs { display: flex; padding: 4rpx; border-radius: 16rpx; background: #f4f4f5; margin-bottom: 24rpx; } .seg-tab { flex: 1; text-align: center; padding: 16rpx 8rpx; border-radius: 12rpx; font-size: 28rpx; font-weight: 600; color: #71717a; } .seg-tab.active { background: #059669; color: #fff; } .error-bar { margin-bottom: 16rpx; padding: 12rpx 16rpx; border-radius: 12rpx; background: #fef2f2; color: #b91c1c; font-size: 24rpx; } .field { margin-bottom: 20rpx; } .field-label { display: block; margin-bottom: 8rpx; font-size: 24rpx; color: #52525b; } .field-control { padding: 20rpx 24rpx; border-radius: 16rpx; background: #fff; border: 1px solid #e4e4e7; font-size: 28rpx; } .field-control.is-placeholder { color: #a1a1aa; } .field-link { margin-top: 8rpx; font-size: 24rpx; color: #059669; } .modal-mask { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 1000; background: rgba(24, 24, 27, 0.45); display: flex; align-items: center; justify-content: center; padding: 48rpx; } .modal-card { width: 100%; background: #fff; border-radius: 20rpx; padding: 32rpx 28rpx 24rpx; } .modal-title { font-size: 30rpx; font-weight: 700; margin-bottom: 20rpx; } .modal-actions { display: flex; gap: 16rpx; margin-top: 28rpx; } .modal-btn { flex: 1; margin: 0; background: #059669; color: #fff; border-radius: 12rpx; font-size: 28rpx; } .modal-btn.ghost { background: #f4f4f5; color: #3f3f46; } .sheet-mask { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 990; background: rgba(24, 24, 27, 0.45); display: flex; align-items: flex-end; } .type-sheet { width: 100%; background: #fff; border-radius: 24rpx 24rpx 0 0; padding: 28rpx 28rpx calc(24rpx + env(safe-area-inset-bottom)); } .type-sheet-title { font-size: 30rpx; font-weight: 700; text-align: center; margin-bottom: 12rpx; } .type-sheet-list { height: 480rpx; } .type-sheet-item { padding: 22rpx 16rpx; text-align: center; font-size: 30rpx; color: #3f3f46; border-radius: 12rpx; } .type-sheet-item.is-active { color: #059669; font-weight: 700; background: #ecfdf5; } .type-sheet-add { margin-top: 8rpx; padding: 20rpx 16rpx; text-align: center; font-size: 28rpx; font-weight: 600; color: #059669; border: 1px dashed #059669; border-radius: 12rpx; } .type-sheet-actions { display: flex; gap: 16rpx; margin-top: 24rpx; } .group-card { margin-bottom: 20rpx; padding: 20rpx; border-radius: 16rpx; background: #fff; border: 1px solid #e4e4e7; } .group-card.is-unmatched { border-color: #f59e0b; background: #fffbeb; } .group-head { display: flex; align-items: center; justify-content: space-between; gap: 12rpx; margin-bottom: 12rpx; } .group-title { font-size: 28rpx; font-weight: 700; color: #18181b; } .group-type-link { font-size: 24rpx; color: #059669; } .group-head-actions { display: flex; align-items: center; gap: 16rpx; flex-shrink: 0; } .unmatched-box { margin-bottom: 12rpx; } .unmatched-hint { display: block; font-size: 22rpx; color: #b45309; margin-bottom: 4rpx; } .mini-btn { margin: 0; padding: 0 20rpx; height: 56rpx; line-height: 56rpx; border-radius: 12rpx; background: #059669; color: #fff; font-size: 24rpx; } .mini-btn.ghost { background: #f4f4f5; color: #3f3f46; display: inline-block; text-align: center; } .group-fields { margin-top: 8rpx; } .group-fields .field { margin-bottom: 12rpx; } .empty-groups { padding: 32rpx 16rpx; text-align: center; font-size: 24rpx; color: #a1a1aa; } .voucher-row { display: flex; flex-wrap: wrap; gap: 16rpx; } .voucher-row.compact { margin-top: 12rpx; } .voucher-item { position: relative; width: 148rpx; } .voucher-amount { display: block; margin-top: 6rpx; font-size: 20rpx; color: #52525b; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .kind-row { display: flex; justify-content: space-between; margin-top: 4rpx; } .kind-opt { flex: 1; text-align: center; font-size: 20rpx; line-height: 1.4; color: #a1a1aa; } .kind-opt.active { color: #059669; font-weight: 600; } .field-hint { margin-top: 8rpx; font-size: 22rpx; color: #71717a; } .voucher-img, .voucher-add { width: 148rpx; height: 148rpx; border-radius: 16rpx; } .voucher-add { display: flex; align-items: center; justify-content: center; border: 1px dashed #d4d4d8; color: #059669; background: #fff; font-size: 24rpx; } .voucher-add.is-disabled { color: #a1a1aa; border-color: #e4e4e7; } .voucher-remove { position: absolute; top: -10rpx; right: -10rpx; width: 36rpx; height: 36rpx; border-radius: 50%; background: #18181b; color: #fff; text-align: center; line-height: 36rpx; font-size: 24rpx; } .submit-btn { margin-top: 24rpx; background: #059669; color: #fff; border-radius: 16rpx; } .chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12rpx; margin-bottom: 16rpx; } .chip { padding: 8rpx 20rpx; border-radius: 999rpx; background: #fff; border: 1px solid #e4e4e7; font-size: 24rpx; color: #52525b; } .chip.active { background: #d1fae5; border-color: #059669; color: #047857; } .invoice-upload-btn { background: #059669; border-color: #059669; color: #fff; } .hist-sum { display: flex; gap: 12rpx; margin-bottom: 16rpx; } .hist-sum-item { flex: 1; padding: 16rpx 20rpx; border-radius: 16rpx; background: #fff; border: 1px solid #e4e4e7; } .hist-sum-label { display: block; font-size: 22rpx; color: #71717a; } .hist-sum-value { display: block; margin-top: 6rpx; font-size: 32rpx; font-weight: 700; color: #18181b; } .hist-sum-value.posted { color: #047857; } .hist-sum-value.rejected { color: #b91c1c; } .hist-pager { display: flex; align-items: center; justify-content: space-between; gap: 16rpx; margin-top: 16rpx; } .pager-btn { padding: 10rpx 24rpx; border-radius: 999rpx; background: #fff; border: 1px solid #e4e4e7; font-size: 24rpx; color: #3f3f46; } .pager-btn.is-disabled { color: #a1a1aa; background: #f4f4f5; } .pager-info { font-size: 24rpx; color: #71717a; } .loading-wrap { padding: 48rpx 0; display: flex; justify-content: center; } .hist-list { background: #fff; border-radius: 16rpx; border: 1px solid #e4e4e7; overflow: hidden; } .hist-row { display: flex; align-items: center; gap: 16rpx; padding: 16rpx 20rpx; border-bottom: 1px solid #f4f4f5; min-height: 0; } .hist-row:last-child { border-bottom: none; } .hist-thumb-wrap { position: relative; flex-shrink: 0; } .hist-thumb { width: 88rpx; height: 88rpx; border-radius: 12rpx; background: #f4f4f5; display: block; } .hist-thumb-empty { display: flex; align-items: center; justify-content: center; font-size: 20rpx; color: #a1a1aa; } .hist-thumb-badge { position: absolute; right: -6rpx; bottom: -6rpx; min-width: 28rpx; height: 28rpx; padding: 0 6rpx; border-radius: 999rpx; background: rgba(24, 24, 27, 0.75); color: #fff; font-size: 18rpx; line-height: 28rpx; text-align: center; } .hist-main { flex: 1; min-width: 0; } .hist-line1, .hist-line2 { display: flex; align-items: center; justify-content: space-between; gap: 12rpx; } .hist-line2 { margin-top: 6rpx; } .hist-line3 { margin-top: 4rpx; display: flex; align-items: center; justify-content: space-between; gap: 12rpx; } .hist-time { font-size: 20rpx; color: #a1a1aa; } .hist-type { font-weight: 600; font-size: 28rpx; color: #18181b; } .hist-amount { font-size: 28rpx; font-weight: 700; color: #18181b; flex-shrink: 0; } .hist-remark { flex: 1; min-width: 0; font-size: 22rpx; color: #71717a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hist-status { flex-shrink: 0; font-size: 20rpx; padding: 2rpx 10rpx; border-radius: 999rpx; } .hist-status.posted { background: #d1fae5; color: #047857; } .hist-status.pending { background: #fef3c7; color: #b45309; } .hist-status.rejected { background: #fee2e2; color: #b91c1c; } .invoice-ocr { font-size: 24rpx; color: #3f3f46; line-height: 1.5; margin-bottom: 16rpx; } .invoice-cand-list { max-height: 420rpx; margin-bottom: 16rpx; } .invoice-cand { padding: 16rpx; border-radius: 12rpx; border: 1px solid #e4e4e7; margin-bottom: 12rpx; } .invoice-cand.is-active { border-color: #059669; background: #ecfdf5; } .invoice-cand-main { display: block; font-size: 26rpx; color: #18181b; } .invoice-cand-sub { display: block; margin-top: 4rpx; font-size: 22rpx; color: #71717a; }