/* ============================================================
 * custom-report-view.css — 自定义报表查看（报表中心/自定义报表）：筛选卡/图表/扫码数范围设置弹窗
 * 从 index.html 拆分（保持原样式顺序）
 * ============================================================ */

/* ===== 自定义报表 · 报表查看 ===== */
.rv-headbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rv-back-btn { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e7e9ed; border-radius: 4px; background: #fff; color: #4e5969; cursor: pointer; transition: all .15s; flex-shrink: 0; }
.rv-back-btn:hover { color: #0052d9; border-color: #0052d9; background: #f2f7ff; }
.rv-back-btn svg { width: 18px; height: 18px; }
.rv-title { font-size: 16px; font-weight: 600; color: #1f2329; }
.rv-title-meta { font-size: 13px; color: #86909c; margin-left: 12px; }
.rv-filter-card { background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); margin-bottom: 16px; }
.rv-card-header { padding: 14px 20px; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; justify-content: space-between; }
.rv-card-header h3 { font-size: 16px; font-weight: 600; color: #1f2329; }
.rv-filter-body { padding: 20px; }
.rv-filter-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.rv-filter-group { display: flex; align-items: center; gap: 8px; }
.rv-filter-group .rv-label { font-size: 14px; color: #4e5969; white-space: nowrap; flex-shrink: 0; }
.rv-filter-actions { display: flex; justify-content: flex-end; gap: 12px; }
.rv-link-action { font-size: 14px; color: #0052d9; cursor: pointer; }
.rv-link-action:hover { color: #0066e0; }
.rv-chart-card { background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); margin-bottom: 16px; }
.rv-chart-body { padding: 12px 20px 28px; }
.rv-chart-body .legend { display: flex; gap: 20px; margin-bottom: 16px; }
.rv-chart-body .legend-item { display: flex; align-items: center; gap: 6px; }
.rv-chart-body .legend-dot { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.rv-chart-body .legend-text { font-size: 13px; color: #595959; }
.rv-chart-wrap { display: flex; gap: 8px; }
.rv-yaxis { width: 36px; height: 240px; display: flex; flex-direction: column; justify-content: space-between; text-align: right; font-size: 11px; color: #8c8c8c; padding-right: 4px; line-height: 1; }
.rv-plot { flex: 1; position: relative; height: 240px; }
.rv-plot .gridline { position: absolute; left: 0; right: 0; height: 1px; background: #f0f0f0; }
.rv-plot .gridline.hard { background: #e7e7e7; }
.rv-plot .bars { position: relative; height: 100%; display: flex; align-items: flex-end; gap: 6px; z-index: 1; padding: 0 4px; }
.rv-plot .bar-group { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 100%; }
.rv-plot .bar { width: 20px; background: #0052d9; border-radius: 2px 2px 0 0; }
.rv-plot .bar.light { background: #0052d9; opacity: 0.45; }
.rv-plot .bar.eff { width: 20px; background: #4e5969; border-radius: 2px 2px 0 0; }
.rv-xaxis { display: flex; gap: 6px; margin-top: 8px; padding-left: 44px; }
.rv-xaxis span { flex: 1; text-align: center; font-size: 11px; color: #4e5969; white-space: nowrap; }
.rv-table-card { background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.rv-empty-bar { padding: 60px 0; text-align: center; color: #86909c; font-size: 14px; }

/* 扫码数范围设置弹窗 */
.set-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.set-row { display: flex; align-items: center; gap: 10px; }
.set-row .row-index { width: 22px; height: 22px; border-radius: 50%; background: #0052d9; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.set-row .row-action { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #e7e9ed; background: #fff; color: #4e5969; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; line-height: 1; padding: 0; }
.set-row .row-action:hover { border-color: #0052d9; color: #0052d9; }
.set-tip { background: #fff3e8; border: 1px solid #ffd4a3; color: #d46b08; padding: 12px 16px; border-radius: 6px; font-size: 13px; display: flex; gap: 8px; align-items: flex-start; }
