/* 投放工作与排名（管理员） */
#view-delivery-rank{color:#243650}
#view-delivery-rank .dr-tools{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}
#view-delivery-rank .dr-tools label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#526681}
#view-delivery-rank .dr-tools input,#view-delivery-rank .dr-tools select{width:auto;min-height:38px;border:1px solid #c4d6f5;border-radius:9px;background:#fff;color:#243650;padding:7px 10px;font:inherit;font-size:14px}
#view-delivery-rank .dr-status{color:#526681;font-size:14px}
#view-delivery-rank .dr-status:not(:empty){padding:14px 2px}
#view-delivery-rank .dr-status.dr-error:not(:empty){color:#b42318;font-weight:600}
#view-delivery-rank .dr-asof{color:#526681;font-size:13px;line-height:1.7;margin:4px 2px 10px;max-width:70em}
#view-delivery-rank .dr-wait{background:#fffaf0;border:1px solid #f1d9a6;border-radius:10px;padding:12px 16px;margin:0 0 14px;color:#3d4b61;font-size:13px;line-height:1.7}
#view-delivery-rank .dr-wait p{margin:0 0 8px;max-width:70em}
#view-delivery-rank .dr-wait strong{color:#8a5a00}
/* The list scrolls inside the block: the ranking below stays within reach however many orders wait. */
#view-delivery-rank .dr-wait-scroll{overflow:auto;max-height:260px;max-height:min(60vh,420px);margin:4px 0 0}
/* table-layout:auto like the ranking table: the page's tables are fixed-layout, which would give six equal columns. */
#view-delivery-rank .dr-wait-table{table-layout:auto;border-collapse:collapse;width:100%;min-width:640px;font-size:13px;background:#fff;border-radius:8px}
#view-delivery-rank .dr-wait-table th,#view-delivery-rank .dr-wait-table td{padding:7px 10px;text-align:left;vertical-align:top;border-bottom:1px solid #f0e6cf}
#view-delivery-rank .dr-wait-table th{position:sticky;top:0;background:#f7fbff;color:#526681;font-weight:600;white-space:nowrap}
#view-delivery-rank .dr-wait-table th small{display:block;font-weight:400;font-size:12px;color:#526681;white-space:normal}
#view-delivery-rank .dr-wait-table td:nth-child(-n+3){white-space:nowrap}
#view-delivery-rank .dr-wait-table tr:last-child td{border-bottom:0}
/* The block's only button had no visible shape on the cream background. */
#view-delivery-rank .dr-wait .btn.outline{border-color:#b0c6e8;background:#fff}
/* On a phone the last two columns were out of sight with nothing showing they exist: each order becomes a few labelled lines. */
@media (max-width:760px){
#view-delivery-rank .dr-wait-table{display:block;min-width:0}
#view-delivery-rank .dr-wait-table thead{display:none}
#view-delivery-rank .dr-wait-table tbody,#view-delivery-rank .dr-wait-table tr{display:block}
#view-delivery-rank .dr-wait-table tr{padding:8px 10px;border-bottom:1px solid #f0e6cf}
#view-delivery-rank .dr-wait-table tr:last-child{border-bottom:0}
#view-delivery-rank .dr-wait-table td{display:block;padding:0;border:0;white-space:normal}
#view-delivery-rank .dr-wait-table td:nth-child(-n+4){display:inline-block;margin-right:12px;white-space:nowrap}
#view-delivery-rank .dr-wait-table td::before{color:#526681}
#view-delivery-rank .dr-wait-table td:nth-child(1)::before{content:"订单 "}
#view-delivery-rank .dr-wait-table td:nth-child(2)::before{content:"签单销售 "}
#view-delivery-rank .dr-wait-table td:nth-child(3)::before{content:"首付日期 "}
#view-delivery-rank .dr-wait-table td:nth-child(4)::before{content:"当月到账 "}
#view-delivery-rank .dr-wait-table td:nth-child(5)::before{content:"为什么没归上："}
#view-delivery-rank .dr-wait-table td:nth-child(6)::before{content:"可能是这条线索（只是提示）："}
}
#view-delivery-rank .dr-warn{background:#fff4f2;border:1px solid #f3b8b1;color:#b42318;border-radius:10px;padding:12px 16px;margin:0 0 14px;font-size:14px;line-height:1.7}
#view-delivery-rank .dr-card{padding:18px 20px;margin-bottom:16px}
#view-delivery-rank .dr-scroll{overflow-x:auto;border:1px solid #e1e9f5;border-radius:10px}
/* The host page sets every table to fixed layout; this one sizes its columns from their content. */
#view-delivery-rank .dr-table{width:100%;min-width:840px;table-layout:auto;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
#view-delivery-rank .dr-table thead th{background:#edf3ff;color:#526681;font-size:12px;font-weight:600;text-align:left;padding:12px 8px;white-space:nowrap;vertical-align:bottom}
#view-delivery-rank .dr-table thead th small{font-size:11px;font-weight:400;white-space:normal}
/* The column the place is based on. */
#view-delivery-rank .dr-table thead th.dr-sorted{color:#245fcf;box-shadow:inset 0 -2px 0 #245fcf}
#view-delivery-rank .dr-table td,#view-delivery-rank .dr-table tbody th{padding:14px 8px;border-top:1px solid #e1e9f5;text-align:left;vertical-align:top;font-weight:400;line-height:1.6;white-space:nowrap}
#view-delivery-rank .dr-table small{display:block;color:#526681;font-size:12px;margin-top:2px;white-space:normal;max-width:10.5em}
#view-delivery-rank .dr-rank{font-size:18px;font-weight:700;color:#40516d}
#view-delivery-rank .dr-money{font-size:17px;color:#245fcf}
#view-delivery-rank .dr-muted{display:inline-block;color:#526681;font-size:13px;white-space:normal;max-width:6em}
#view-delivery-rank .dr-flag{color:#b45309;font-weight:700;margin-left:2px;cursor:help}
/* A figure and its mark stay on one line. */
#view-delivery-rank .dr-nowrap{white-space:nowrap}
#view-delivery-rank .dr-empty{color:#526681;font-size:14px;margin:6px 2px}
#view-delivery-rank .dr-name{border:0;background:none;color:#245fcf;padding:0;cursor:pointer;font:inherit;font-size:15px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
#view-delivery-rank .dr-account td,#view-delivery-rank .dr-account th{background:#f8fafe;padding-top:10px;padding-bottom:10px;font-size:13px}
/* Real account names are long: they wrap instead of pushing the table past its box. */
#view-delivery-rank .dr-account th{padding-left:26px;font-weight:600;white-space:normal;min-width:7em;max-width:9em}
#view-delivery-rank .dr-account .dr-money{font-size:14px}
#view-delivery-rank .dr-total td,#view-delivery-rank .dr-total th{background:#f5f8ff;font-weight:600;border-top:2px solid #c4d6f5}
#view-delivery-rank .dr-hint{color:#526681;font-size:13px;line-height:1.7;margin:0 2px 12px;max-width:70em}
#view-delivery-rank .dr-defs{margin:4px 2px 24px;color:#526681;font-size:13px;line-height:1.8}
#view-delivery-rank .dr-defs summary{cursor:pointer;color:#245fcf}
#view-delivery-rank .dr-defs p{margin-top:8px;max-width:62em}
