/* 可视化下钻面板（11-02）。经营概况和可视化数据共用 */
.dr-mask { position: fixed; inset: 0; z-index: 3000; background: rgba(0, 0, 0, .25); display: flex; justify-content: flex-end; color: #303133; font-size: 13px; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
.dr-panel { width: min(1280px, 96vw); height: 100%; box-sizing: border-box; background: #f5f7fa; box-shadow: 0 4px 16px rgba(0, 0, 0, .16); display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; overflow-y: auto; }
.dr-head { display: flex; align-items: flex-start; gap: 10px; }
.dr-title { margin: 0; font-size: 16px; font-weight: 600; word-break: break-all; }
.dr-crumbs { margin-top: 4px; font-size: 12px; color: #909399; line-height: 20px; word-break: break-all; }
.dr-crumbs a { color: #2f6fde; cursor: pointer; }
.dr-crumbs a:hover { text-decoration: underline; }
.dr-crumbs b { color: #303133; font-weight: 600; }
.dr-crumbs i { font-style: normal; margin: 0 5px; }
.dr-btns { margin-left: auto; display: flex; gap: 8px; flex: none; }
.dr-btn { font: inherit; font-size: 13px; padding: 4px 12px; border: 1px solid #dcdfe6; border-radius: 6px; background: #fff; color: #303133; cursor: pointer; white-space: nowrap; }
.dr-btn:hover { border-color: #2f6fde; color: #2f6fde; }
.dr-btn:disabled { opacity: .5; cursor: default; color: #909399; border-color: #dcdfe6; }
.dr-btn.pri { background: #2f6fde; border-color: #2f6fde; color: #fff; }
.dr-bar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.dr-seg { display: inline-flex; border: 1px solid #dcdfe6; border-radius: 6px; overflow: hidden; background: #fff; }
.dr-seg button { font: inherit; font-size: 12px; padding: 4px 10px; border: 0; border-left: 1px solid #ebeef5; background: transparent; color: #606266; cursor: pointer; white-space: nowrap; }
.dr-seg button:first-child { border-left: 0; }
.dr-seg button.on { background: #2f6fde; color: #fff; }
.dr-note { font-size: 12px; color: #909399; line-height: 18px; }
.dr-note.warn { color: #b8862b; }
.dr-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.dr-tile { background: #fff; border: 1px solid #e4e7ed; border-radius: 8px; padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dr-tile .k { font-size: 12px; color: #909399; }
.dr-tile .v { font-size: 18px; font-weight: 600; word-break: break-all; }
.dr-card { background: #fff; border: 1px solid #e4e7ed; border-radius: 8px; padding: 12px 14px; }
.dr-wrap { overflow-x: auto; }
.dr-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dr-table th { padding: 7px 10px; text-align: right; font-weight: 500; color: #606266; background: #f5f7fa; border-bottom: 1px solid #ebeef5; white-space: nowrap; }
.dr-table td { padding: 7px 10px; text-align: right; border-bottom: 1px solid #ebeef5; font-variant-numeric: tabular-nums; }
.dr-table .txt { text-align: left; }
.dr-table td.txt { min-width: 5em; }
.dr-table td.long { min-width: 12em; }
.dr-table td.spec { min-width: 11em; word-break: break-all; }
.dr-table td.day { white-space: nowrap; }
.dr-table td.batch { min-width: 7em; }
.dr-table td.batch a { white-space: nowrap; }
.dr-table td.batch a.more { color: #909399; }
.dr-table tbody tr:hover { background: #f5f8ff; }
.dr-table tr.clk { cursor: pointer; }
.dr-table td.name { color: #2f6fde; }
.dr-table tr.clk:hover td.name { text-decoration: underline; }
.dr-table td a { color: #2f6fde; cursor: pointer; margin-right: 8px; display: inline-block; }
.dr-table td a:hover { text-decoration: underline; }
.dr-neg { color: #c62828; }
.dr-miss { color: #b8862b; font-size: 12px; white-space: nowrap; }
.dr-items { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #606266; }
.dr-batch { color: #909399; margin-bottom: 3px; }
.dr-batch i { font-style: normal; margin-right: 4px; }
.dr-batch b { font-weight: 400; color: #303133; }
.dr-batches { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; background: #fff; border: 1px solid #e4e7ed; border-radius: 8px; padding: 8px 14px; font-size: 13px; }
.dr-batches[hidden] { display: none; }
.dr-batches .k { font-size: 12px; color: #909399; }
.dr-batches a { color: #2f6fde; cursor: pointer; white-space: nowrap; }
.dr-batches a:hover { text-decoration: underline; }
.dr-batches small { margin-left: 4px; font-size: 12px; color: #909399; }
.dr-tag { display: inline-block; padding: 0 6px; line-height: 18px; border-radius: 3px; font-size: 12px; background: #ecf5ff; color: #2f6fde; }
.dr-tag.ret { background: #fef0f0; color: #c62828; }
.dr-pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 10px; font-size: 12px; color: #606266; }
.dr-pager input { width: 56px; height: 26px; box-sizing: border-box; padding: 0 6px; border: 1px solid #dcdfe6; border-radius: 4px; font: inherit; }
.dr-empty { padding: 24px; text-align: center; color: #909399; }
.dr-kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 16px; font-size: 13px; margin-bottom: 10px; }
.dr-kv span { color: #909399; margin-right: 6px; }
@media (max-width: 720px) { .dr-panel { width: 100vw; padding: 12px; } .dr-head { flex-wrap: wrap; } .dr-btns { margin-left: 0; } .dr-seg { flex-wrap: wrap; } }
/* 图表上能点的地方 */
.dr-clk { cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.dr-clk:hover { border-color: #2f6fde !important; box-shadow: 0 1px 6px rgba(47, 111, 222, .18); }
