/* 状态为只读展示：圆点与色块组合，完整名称供悬浮和辅助技术读取。 */
.pp-traffic{display:inline-flex;align-items:center;gap:7px;vertical-align:middle;white-space:nowrap;cursor:default;--pp-light:#ff9b9b}
.pp-traffic-red{--pp-light:#ff9b9b}.pp-traffic-yellow{--pp-light:#ffd966}.pp-traffic-green{--pp-light:#74dc8a}.pp-traffic-high{--pp-light:#b4233b}
.pp-traffic-radio{display:inline-block;width:14px;height:14px;border:4px solid #3181ff;border-radius:50%;background:#fff;box-sizing:border-box;flex:none}
.pp-traffic-pill{display:inline-block;width:30px;height:16px;border-radius:10px;background:var(--pp-light);flex:none}
.pp-traffic-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#pp-ledger-popover table{min-width:1200px}
#pp-ledger-popover th:nth-child(2){width:15%}#pp-ledger-popover th:nth-child(3){width:9%}#pp-ledger-popover th:nth-child(4){width:12%}#pp-ledger-popover th:nth-child(5){width:15%}#pp-ledger-popover th:nth-child(6){width:15%}#pp-ledger-popover th:nth-child(7){width:15%}#pp-ledger-popover th:nth-child(8){width:8%}#pp-ledger-popover th:nth-child(9){width:7%}
#dialogbody .pp-risk-detail #pp-risk-detail-table{max-height:calc(100dvh - 280px);overflow:auto;scrollbar-width:thin}
#dialogbody .pp-risk-detail .pp-risk-detail-table{min-width:100%;table-layout:fixed}
#dialogbody .pp-risk-detail .pp-risk-detail-table th,#dialogbody .pp-risk-detail .pp-risk-detail-table td{width:auto;padding:13px 12px;vertical-align:top;line-height:1.7;background:#fff}
#dialogbody .pp-risk-detail .pp-risk-detail-table th{position:sticky;top:0;z-index:2;background:#f5f8fc;vertical-align:middle;white-space:nowrap;font-size:12px}
#dialogbody .pp-risk-detail .pp-risk-detail-table th:first-child,#dialogbody .pp-risk-detail .pp-risk-detail-table td:first-child{position:sticky;left:0;z-index:3;border-right:1px solid #e5ecf7}
#dialogbody .pp-risk-detail .pp-risk-detail-table th:last-child,#dialogbody .pp-risk-detail .pp-risk-detail-table td:last-child{position:sticky;right:0;z-index:3;border-left:1px solid #e5ecf7}
#dialogbody .pp-risk-detail .pp-risk-detail-table th:first-child,#dialogbody .pp-risk-detail .pp-risk-detail-table th:last-child{z-index:4;background:#f5f8fc}
#dialogbody .pp-risk-detail .pp-product{display:flex;gap:12px;align-items:center;text-align:left;max-width:100%;padding:0}
#dialogbody .pp-risk-detail .pp-product img,#dialogbody .pp-risk-detail .pp-placeholder{width:56px;height:56px;object-fit:contain;border:1px solid #e1e9f5;border-radius:5px;flex:none}
#dialogbody .pp-risk-detail .pp-product>span:last-child{flex:1;min-width:0}
#dialogbody .pp-risk-detail .pp-product b{display:block;color:#304b6e;font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
#dialogbody .pp-risk-detail .pp-product small{display:block;font-size:12px;line-height:1.5;margin-top:5px;color:#8b9ab0}
#dialogbody .pp-risk-detail .pp-plan-dates{display:flex;flex-direction:column;gap:6px}
#dialogbody .pp-risk-detail .pp-plan-dates small{font-size:11px;margin:0;white-space:nowrap}
#dialogbody .pp-risk-detail .pp-plan-dates small.orange{color:var(--orange)}
#dialogbody .pp-risk-detail .pp-risk-state{display:inline-block;padding:2px 7px;font-size:12px;border-radius:3px;white-space:nowrap}
#dialogbody .pp-risk-detail .pp-risk-state-muted{background:#f0f2f7;color:#8b94a6}
#dialogbody .pp-risk-detail .pp-risk-state-working{background:#fff4e5;color:#ef9b25}
#dialogbody .pp-risk-detail .pp-risk-state-done{background:#eaf8eb;color:#29af4a}
#dialogbody .pp-risk-detail .pp-risk-state-pending{background:#fff0ed;color:#ff775d}
#dialogbody .pp-risk-detail .pp-analysis-empty{position:static!important;text-align:left}
