feat(risk): add account cooldown and daily freeze after manual/external close
Implements shared account_risk_lib with 4h/1h cooloff and daily freeze rules, wires hooks into all four exchange apps and hub monitor UI, with tests and docs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -593,6 +593,36 @@ button:disabled {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.risk-status-badge {
|
||||
font-size: 0.72rem;
|
||||
font-weight: 600;
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid transparent;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.risk-status-normal {
|
||||
color: #b8f5d0;
|
||||
background: #14241e;
|
||||
border-color: #2d6a4f;
|
||||
}
|
||||
.risk-status-freeze_1h {
|
||||
color: #ffd89a;
|
||||
background: #2a2210;
|
||||
border-color: #8a6a20;
|
||||
}
|
||||
.risk-status-freeze_4h {
|
||||
color: #ffb4a0;
|
||||
background: #2a1410;
|
||||
border-color: #8a4020;
|
||||
}
|
||||
.risk-status-freeze_daily {
|
||||
color: #ffb0c8;
|
||||
background: #2a1020;
|
||||
border-color: #8a3050;
|
||||
}
|
||||
|
||||
.status-dot {
|
||||
|
||||
Reference in New Issue
Block a user