/* Credit decision engine: grades, the decision matrix, score bars and the customer's decision page. */
.cr-g{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:5px;font-weight:800;font-size:12px;color:#fff;margin-right:4px;vertical-align:middle;flex:none}
.cr-g.gA{background:#147a52}.cr-g.gB{background:#2f9e6b}.cr-g.gC{background:#c48a0c}.cr-g.gD{background:#d9661a}.cr-g.gE{background:#c0392b}
.cr-tabs{flex-wrap:wrap}
.cr-wrap td{white-space:normal}.cr-wrap td.r,.cr-wrap td.num,.cr-wrap td:has(.cr-g){white-space:nowrap}
.cr-click{cursor:pointer}.cr-click:hover td{background:#f5f9fd}.cr-click.on td{background:#eef6ff}
.cr-banner{align-items:center}.cr-banner>div:first-of-type{flex:1}.cr-banner-tools{display:flex;gap:6px;flex-wrap:wrap}
.cr-bars{display:flex;align-items:flex-end;gap:18px;height:236px;padding:6px 6px 0}
.cr-day{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;height:100%}
.cr-day small{color:var(--muted,#6b7a8a);font-size:11.5px}.cr-day b{font-size:12px;color:#3d5166}
.cr-stack{width:100%;max-width:64px;display:flex;flex-direction:column-reverse;border-radius:4px;overflow:hidden}
.cr-stack span.a{background:#147a52}.cr-stack span.r{background:#f0a020}.cr-stack span.d{background:#c0392b}
.cr-legend{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px;font-size:12.5px;color:#3d5166}
.cr-legend i{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.cr-legend i.a{background:#147a52}.cr-legend i.r{background:#f0a020}.cr-legend i.d{background:#c0392b}.cr-legend.k{margin-top:16px}
.cr-reasons div{display:grid;grid-template-columns:1fr auto;gap:3px 10px;margin-bottom:11px;font-size:13px}
.cr-reasons i{grid-column:1/3;height:6px;border-radius:3px;background:#f0a020}.cr-reasons.d i{background:#c0392b}
.cr-dl{display:grid;grid-template-columns:120px 1fr;gap:8px 12px;margin:0;font-size:13px}.cr-dl dt{color:var(--muted,#6b7a8a)}.cr-dl dd{margin:0;font-weight:600}
.cr-dl.wide{grid-template-columns:170px 1fr}
.cr-matrix-wrap{overflow-x:auto}
.cr-grid{display:grid;grid-template-columns:minmax(170px,210px) repeat(5,minmax(120px,1fr));gap:6px;min-width:820px}
.cr-h{font-size:12px;font-weight:700;color:#3d5166;padding:4px 2px;display:flex;align-items:center}
.cr-grp{grid-column:1/-1;font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#0a5cb8;padding:10px 4px 2px;border-bottom:1px solid #e3e9ef}
.cr-p{padding:8px 4px}.cr-p b{display:block;font-size:13.5px}.cr-p span{display:block;font-size:11.5px;color:var(--muted,#6b7a8a)}
.cr-cell{border-radius:6px;padding:8px 10px;font-size:12px;border:1px solid transparent;min-height:64px}
.cr-cell b{display:block;font-size:14px}.cr-cell span{display:block;color:#3d5166}
.cr-cell em{display:block;font-style:normal;font-size:11px;color:#9a5b00;font-weight:600}
.cr-cell.approve{background:#e8f6ef}.cr-cell.refer{background:#fff4df}.cr-cell.decline{background:#fdecea;color:#a12d22}.cr-cell.decline b{color:#a12d22}
.cr-cell.chg{border:2px dashed #0a6fd2}
.cr-cell.edit{display:flex;flex-direction:column;gap:4px}
.cr-cell.edit select,.cr-cell.edit input{width:100%;padding:3px 6px;font-size:12px;border:1px solid #c9d4df;border-radius:4px;background:#fff;min-height:0;height:26px}
.cr-cell.edit label{display:flex;align-items:center;gap:6px;font-size:11px;color:#3d5166;margin:0}
.cr-cell.edit label input,.cr-cell.edit label select{flex:1}
.cr-cell.edit .for-approve,.cr-cell.edit .for-refer,.cr-cell.edit .for-rate{display:none}
.cr-cell.edit.approve .for-approve,.cr-cell.edit.approve .for-rate,.cr-cell.edit.refer .for-refer,.cr-cell.edit.refer .for-rate{display:flex}
.cr-num{width:90px;padding:4px 6px;border:1px solid #c9d4df;border-radius:4px;text-align:right}.cr-num.wide{width:130px}
.cr-meter{height:7px;border-radius:4px;background:#e8eef5;min-width:70px}.cr-meter i{display:block;height:100%;border-radius:4px;background:#0a6fd2}
.cr-bands{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.cr-bands>div{border:1px solid #dfe6ee;border-radius:6px;padding:10px;text-align:center}
.cr-bands b{display:block;font-size:13px;margin-top:6px}.cr-bands span:not(.cr-g){display:block;font-size:12px;color:var(--muted,#6b7a8a)}
.cr-band-in{display:block;font-size:12px;margin-top:6px}.cr-band-in input{width:70px}
.cr-ul{margin:0;padding-left:18px;font-size:13.5px;line-height:1.7}
.cr-used{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.cr-used b{font-size:14px}
.cr-used span:not(.cr-g){display:block;font-size:12.5px;color:#3d5166;margin-left:30px}
.cr-checks{list-style:none;margin:0;padding:0;font-size:13px}
.cr-checks li{display:flex;gap:8px;padding:6px 0;border-bottom:1px solid #eef2f6}.cr-checks li:last-child{border-bottom:0}
.cr-checks i{color:#147a52}.cr-checks li.bad i{color:#c0392b}.cr-checks li.warn i{color:#e0701c}
.cr-checks small{display:block;color:var(--muted,#6b7a8a);font-size:11.5px}
.cr-tl b{display:block}
.cr-sugg{display:flex;gap:12px;padding:12px 14px;border-radius:6px;background:#eef6ff}.cr-sugg i{font-size:20px;color:#0a6fd2}
.cr-sugg b{display:block}.cr-sugg span{font-size:13px;color:#3d5166}
.cr-proposal{margin-top:12px;padding:12px 14px;border:1px solid #f0c674;background:#fffaf0;border-radius:6px;display:flex;flex-direction:column;gap:3px;font-size:13px}
.cr-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}
.cr-inline summary{list-style:none;cursor:pointer}.cr-inline summary::-webkit-details-marker{display:none}
.cr-inline[open]{flex-basis:100%}.cr-inline form{margin-top:10px}
.cr-why-ref{margin-bottom:12px}.cr-why-ref b{display:block;margin-bottom:4px}
.cr-more{margin-top:10px}.cr-more dl{margin-top:10px}
.cr-search{display:flex;gap:6px}.cr-search input{padding:6px 10px;border:1px solid #c9d4df;border-radius:6px;min-width:220px}
.ct-toolbar-row{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center}
/* Customer: an automatic decline with reasons */
.cr-out{display:flex;gap:16px;align-items:center}
.cr-out .ic{width:56px;height:56px;border-radius:50%;background:#fff4df;color:#b26a00;display:flex;align-items:center;justify-content:center;font-size:28px;flex:none}
.cr-out small{font-weight:700;color:#b26a00;font-size:12px}.cr-out h2{margin:2px 0 4px;font-size:22px}.cr-out p{margin:0;color:#3d5166}
.cr-why{list-style:none;margin:0;padding:0}
.cr-why li{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid #eef2f6}.cr-why li:last-child{border-bottom:0}
.cr-why li>i{font-size:18px;color:#c0392b}.cr-why li>i.warn{color:#e0701c}.cr-why li>i.info{color:#0a6fd2}
.cr-why b{display:block}.cr-why span{font-size:13px;color:#3d5166}
@media (max-width:760px){
    .cr-bars{gap:6px;height:200px}
    .cr-bands{grid-template-columns:repeat(2,1fr)}
    .cr-out{align-items:flex-start}.cr-out h2{font-size:18px}
    .cr-dl,.cr-dl.wide{grid-template-columns:1fr}
}
