.rd-fold>summary,.rd-list-dialog details.br-rules>summary,.rd-list-dialog details.qr-rules>summary,.rd-detail-dialog details.br-rules>summary,.rd-detail-dialog details.qr-rules>summary{padding:12px 15px;cursor:pointer;color:#6572b6;background:#fafbff;border-radius:8px}.rd-fold>*:not(summary){margin:0!important;padding:15px;border:0}.rd-rule-content{padding:16px}.rd-rule-scope{display:flex;gap:18px;align-items:baseline;margin-bottom:14px}.rd-rule-scope b{white-space:nowrap;color:#465776}.rd-rule-content p{padding:0!important;background:none!important;font-size:12px;line-height:1.8;margin:12px 0 0!important}.rd-rule-demo{color:#94a0b4}.rd-rule-content th:first-child{width:21%!important}.rd-rule-content th:nth-child(2){width:34%!important}.rd-rule-content th:nth-child(3){width:45%!important}.rd-rule-content td{border-bottom:1px solid #edf0f8}
#dialog.rd-detail-dialog #risk-plan,#dialog.rd-detail-dialog #qr-plan{min-height:118px;height:118px;line-height:1.9;font-size:13px;box-sizing:border-box}.rd-detail-dialog .risk-plan-head h3{font-size:14px}.rd-detail-dialog .risk-context{padding:12px 14px;background:#fafbfe;border-radius:7px;color:#8794ab}.rd-detail-dialog .risk-detail-metrics strong{font-size:23px}.rd-detail-dialog .qr-charts svg,.rd-detail-dialog .risk-trends svg{max-height:230px}.rd-detail-dialog .pc-ai-grid>div:first-child{display:none}.rd-detail-dialog .pc-ai-grid{grid-template-columns:1fr 1fr}.rd-detail-dialog .pc-verdict>small{display:none}
@media(max-width:900px){#dialog.rd-list-dialog,#dialog.rd-detail-dialog{width:calc(100vw - 20px)}#dialog.rd-list-dialog #dialogbody{padding:12px}.rd-list-dialog .rd-readable-table thead{display:none}.rd-list-dialog .rd-readable-table,.rd-list-dialog .rd-readable-table tbody,.rd-list-dialog .rd-readable-table tr{display:block}.rd-list-dialog .rd-readable-table tr{border:1px solid #e4e9f5;border-radius:8px;margin-bottom:12px;padding:8px;display:grid;grid-template-columns:1fr 1fr}.rd-list-dialog .rd-readable-table td{display:block!important;width:auto!important;border:0;padding:8px!important}.rd-list-dialog .rd-readable-table td:before{content:attr(data-label);display:block;color:#8491a9;font-size:11px;margin-bottom:5px}.rd-decision{grid-template-columns:1fr}.rd-decision>div{border:0;padding:0}.rd-rule-scope{display:block}.rd-rule-scope span{display:block;margin-top:8px}.rd-list-dialog .br-list-tools{justify-content:flex-start}.rd-detail-dialog .pdd-link-product{display:block}}
.rd-list-dialog .br-risk-tags{display:block}.rd-list-dialog .br-risk-tags>.tag{display:block;width:fit-content}.rd-extra-causes{margin-top:6px;font-size:11px}.rd-extra-causes summary{cursor:pointer;color:#7b89a4}.rd-extra-causes .tag{display:block;margin-top:5px;width:fit-content}.rd-detail-dialog .ir-reason-tag small,.rd-list-dialog .ir-reason-tag small{display:block;flex-basis:100%;font-weight:400}.rd-detail-dialog .ir-reason-tag{display:inline-block}.rd-detail-dialog .risk-analysis{margin-top:14px}

#dialog.sw-dialog{width:calc(100vw - 48px);max-width:1680px;max-height:94vh}.sw-controls{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:18px}.sw-controls label{display:flex;gap:8px;align-items:center;color:#7d88a4;font-size:12px}.sw-controls select,.sw-controls input{max-width:210px}.sw-count{font-size:12px;color:#8490a9;margin-bottom:12px}#sw-table .dp-table,#sw-table .tablewrap{overflow:visible}#sw-table table{width:100%;min-width:0;table-layout:fixed}#sw-table th,#sw-table td{white-space:normal;overflow-wrap:anywhere;line-height:1.7;font-size:12px;padding:13px 10px;vertical-align:middle}#sw-table td b{display:block;font-weight:500}#sw-table td small{display:block;color:#8c97af;font-size:11px;margin-top:4px}#sw-table td small.red{color:#f45f70}#sw-table .link{font-size:12px;white-space:nowrap;display:block;margin:3px 0}#sw-table .tag{margin-bottom:5px}@media(max-width:800px){#sw-table table,#sw-table tbody{display:block}#sw-table thead{display:none}#sw-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e6eafa;border-radius:8px;margin-bottom:12px;padding:8px}#sw-table td{display:block;border:0;padding:8px}#sw-table td:before{content:attr(data-label);display:block;color:#8c97af;font-size:11px;margin-bottom:5px}#sw-table td:last-child{grid-column:1/-1}#sw-table .link{display:inline-block;margin-right:12px}.sw-controls{gap:10px}.sw-controls input{width:160px}}

.sw-project{display:flex;align-items:center;gap:9px;min-width:0}.sw-project img{flex:none;width:34px;height:34px;border-radius:7px;object-fit:cover}.sw-project>div{min-width:0}.sw-project small{display:block;color:#8c97af;font-size:11px;margin-top:4px}

.sq-projects{margin-top:12px}.sq-projects summary{color:#6965ff;cursor:pointer}.sq-projects .sw-project{display:inline-flex;width:220px;max-width:100%;margin:12px 8px 0 0}

.sw-rank-filter{display:flex;align-items:center;margin:10px 0 8px}.sw-rank-filter select{max-width:100%;min-width:160px;height:30px;font-size:12px}.sr-global-risk .riskline{width:100%}

/* Dedicated columns prevent the generic risk row's fixed product widths leaking in. */
.sw-rank-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:61px;padding:12px 0;border:0;border-bottom:1px solid #eef1f8;background:transparent;text-align:left;font:inherit;cursor:pointer;box-sizing:border-box}
.sw-rank-row:last-child{border-bottom:0}.sw-rank-row:hover{background:#f8f9ff}.sw-rank-row:focus-visible{outline:2px solid #847cff;outline-offset:2px}
.sw-rank-row .rank{width:auto;min-width:0;margin:0;font-size:11px;color:#939db7}.sw-rank-row .rank.top{color:#f16b79}
.sw-rank-name{display:block;min-width:0;width:auto;max-width:none;white-space:normal;overflow-wrap:anywhere;line-height:1.65;font-size:12px;color:#404c6f}
.sw-rank-value{display:block;justify-self:end;min-width:42px;white-space:nowrap;text-align:right;font-size:12px;color:#f16b79;font-variant-numeric:tabular-nums}

#dialog.cw-dialog{width:calc(100vw - 48px);max-width:1640px;max-height:94vh}.cw-toolbar,.cw-summary{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.cw-toolbar{margin-bottom:18px}.cw-toolbar label{display:flex;align-items:center;gap:8px;font-size:12px;color:#7d88a4}.cw-toolbar select{max-width:220px}.cw-toolbar input{max-width:240px}.cw-summary{font-size:12px;color:#8490a9;margin-bottom:16px;gap:24px}.cw-rulebox{background:#f7f8ff;border:1px solid #e8ebf7;border-radius:8px;padding:12px 16px;font-size:12px;line-height:1.8;margin-bottom:16px;color:#7d88a4}.cw-rulebox summary{cursor:pointer;color:#6762d7}.cw-rulebox p{margin:8px 0}#cw-table .dp-table{overflow:visible}#cw-table table{width:100%;min-width:0;table-layout:fixed}#cw-table td,#cw-table th{font-size:12px;white-space:normal;overflow-wrap:anywhere;line-height:1.7;padding:13px 10px;vertical-align:middle}#cw-table td small{display:block;font-size:11px;color:#8b96af}#cw-table td small.red{color:#f16b79}.cw-metrics{display:grid;gap:7px}.cw-metrics>div{display:grid;gap:2px}.cw-metrics span{font-variant-numeric:tabular-nums}.cw-product{display:flex;align-items:center;gap:8px;min-width:0}.cw-product img{width:35px;height:35px;object-fit:cover;border-radius:7px;flex:none}.cw-product span{min-width:0}.cw-product small{display:block;color:#8b96af;font-size:11px;margin-top:4px}.cw-empty{text-align:center;padding:36px 16px;color:#8a95ae;font-size:13px;line-height:2}.cw-empty b{color:#526080;font-weight:500}.cw-empty p{margin:8px 0 18px}.cw-detail-top{display:flex;gap:18px;align-items:center;flex-wrap:wrap;background:#f7f8ff;padding:20px;border-radius:9px;margin-bottom:20px}.cw-detail-top .cw-product{margin-right:auto;font-size:18px}.cw-detail-top .cw-product img{width:58px;height:58px}.cw-detail-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cw-detail-fields>div{padding:15px;background:#fafbff;border:1px solid #e9ecf8;border-radius:7px}.cw-detail-fields small{display:block;color:#8b96af;font-size:12px;margin-bottom:8px}.cw-detail-fields b{font-weight:500;color:#4d5978;font-size:14px;overflow-wrap:anywhere}.cw-plan{padding:18px;background:#f7f6ff;border-radius:8px;margin-top:20px;color:#63708e;font-size:13px}.cw-plan p{margin:10px 0}.cw-import-help{font-size:13px;color:#6d7995;line-height:1.9}.cw-import-help>details{margin:16px 0}.cw-field-list{display:flex;gap:10px;flex-wrap:wrap;padding:12px 0}.cw-field-list span{background:#f5f6fd;border-radius:4px;padding:4px 8px;font-size:12px}.cw-import-files{display:grid;grid-template-columns:1fr 1fr;gap:20px;border:1px dashed #cdd3eb;border-radius:8px;padding:18px;margin:16px 0 24px}.cw-import-files label{display:grid;gap:12px;color:#526080;font-size:13px}.cw-import-files small{color:#8b96af}.cw-preview-table td small{display:block}.cw-preview-table table{table-layout:fixed;min-width:0;width:100%}.cw-preview-table td{overflow-wrap:anywhere}.cw-preview-table .dp-table{overflow:visible}@media(max-width:850px){#cw-table table,#cw-table tbody{display:block}#cw-table thead{display:none}#cw-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e6eafa;border-radius:8px;margin-bottom:12px;padding:8px}#cw-table td{display:block;border:0}#cw-table td:before{content:attr(data-label);display:block;color:#8b96af;margin-bottom:5px;font-size:11px}.cw-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.cw-import-files{grid-template-columns:1fr}.cw-import-files input{max-width:100%}}

.cw-metrics>div{display:flex;align-items:baseline;justify-content:space-between;gap:4px 8px;flex-wrap:wrap}.cw-metrics>div>span{margin-left:auto}.cw-metrics{gap:8px}

.cw-result{display:grid;gap:10px}.cw-alert{display:grid;gap:3px;line-height:1.6}.cw-alert>span{color:#7b87a1;font-size:11px}.cw-alert>b{color:#f16b79;font-size:13px;font-weight:600}.cw-alert>small{font-size:11px;color:#f16b79!important}.cw-alert .cw-basis{color:#8b96af!important}.cw-detail-top>.cw-result{display:flex;gap:20px;flex-wrap:wrap}.cw-detail-top .cw-alert{padding:4px 14px;border-left:2px solid #ffb8c0}.cw-detail-top .cw-alert>b{font-size:18px}.sw-rank-value.cw-rank-value{max-width:132px;min-width:0;white-space:normal;line-height:1.6;overflow-wrap:anywhere}.cw-more-alerts{display:block;color:#939db7;font-size:10px;margin-top:3px}

.pb-rank-product{display:flex;align-items:center;gap:8px;min-width:0}.pb-rank-product>img,.pb-rank-product>.risk-thumb{width:34px;height:34px;flex:0 0 34px;border-radius:7px;object-fit:cover}.pb-rank-product .sw-rank-name{flex:1;min-width:0}.pb-rank-product~.cw-rank-value{max-width:100px}

.pr-shared-card .riskline{display:grid;grid-template-columns:20px 38px minmax(0,1fr) auto;gap:8px;width:100%;min-width:0;min-height:54px;align-items:center}.pr-shared-card .riskline .rname{width:auto;min-width:0;max-width:none;flex:none;text-align:left;white-space:normal;overflow-wrap:anywhere}.pr-shared-card .riskline .rvalue{white-space:nowrap;text-align:right}.pr-shared-card .riskline .risk-thumb{width:38px;height:38px}.pr-shared-card .riskfoot{display:flex;justify-content:space-between}.pr-shared-card .rhead h3{font-size:13px}.pr-shared-card .rhead .link{white-space:nowrap}

@media(min-width:1351px){.pb-risk-grid .riskcard:nth-child(n+5){grid-column:span 3}}
@media(min-width:601px) and (max-width:1350px){.pb-risk-grid .riskcard:last-child{grid-column:auto}}

#dialog.od-dialog{width:calc(100vw - 48px);max-width:1480px;max-height:94vh}.od-dialog table{width:100%;min-width:0!important;table-layout:fixed}.od-dialog td,.od-dialog th{white-space:normal!important;overflow-wrap:anywhere;font-size:12px;padding:12px 8px;line-height:1.65}.od-dialog td small{display:block;color:#8b97ad;margin-top:4px}.od-dialog .dp-product{min-width:0}.od-dialog .dp-product>div{min-width:0}.od-dialog .dp-product b{white-space:normal}.od-rules{margin-top:18px;border:1px solid #e5eafa;border-radius:8px;padding:12px 16px;color:#8190ac;font-size:12px}.od-rules p{line-height:1.8}