/* Account locking rules */

.bbi-lk-rule__logic {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 18px 0;
}

.bbi-lk-chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--bbi-surface-2);
  border: 1px solid var(--bbi-line);
  font-size: 14px;
  font-weight: 700;
  color: var(--bbi-ink);
  white-space: nowrap;
}

.bbi-lk-chip b { margin: 0 4px; color: var(--bbi-indigo); }
.bbi-lk-chip--dest { background: #fff7e8; border-color: #ffd28a; color: #9a5b00; }
.bbi-lk-arrow svg { width: 18px; height: 18px; color: var(--bbi-muted); display: block; }

.bbi-lk-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 18px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bbi-surface-2);
}

.bbi-lk-preview__res { font-size: 14px; font-weight: 600; color: var(--bbi-muted); }
.bbi-lk-preview__res b { color: var(--bbi-ink); font-weight: 800; }
.bbi-lk-n { font-variant-numeric: tabular-nums; }

.bbi-lk-run__body { padding: 0 18px; }

.bbi-lk-run__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--bbi-muted);
}

.bbi-lk-run__row + .bbi-lk-run__row { margin-top: 6px; }
.bbi-lk-run__row b { color: var(--bbi-ink); font-weight: 800; }
.bbi-lk-go { width: 100%; justify-content: center; height: 40px; margin-top: 14px; font-size: 14px; }
.bbi-lk-go svg { width: 16px; height: 16px; }

.bbi-lk-col__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--bbi-line);
}

.bbi-lk-col__head .bbi-avatar { width: 36px; height: 36px; }
.bbi-lk-col__head b { display: block; font-size: 15px; font-weight: 800; color: var(--bbi-ink); }
.bbi-lk-col__head small { display: block; font-size: 12px; font-weight: 600; color: var(--bbi-muted); }
.bbi-lk-count { margin-left: auto; }

.bbi-lk-row {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  will-change: transform;
}

.bbi-lk-row .bbi-acct { height: 32px; font-size: 13px; }

.bbi-lk-lock {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fff1db;
  color: #d97706;
}

.bbi-lk-lock svg { width: 14px; height: 14px; }
.bbi-lk-row.is-locked .bbi-acct { border-color: #ffd28a; background: #fffaf0; }
.bbi-lk-row.is-held .bbi-lk-lock { background: #d97706; color: #fff; }
.bbi-lk-row.is-flying .bbi-acct { box-shadow: 0 16px 28px -12px rgba(50, 50, 93, 0.45); }
.bbi-lk-row.is-moved .bbi-acct { border-color: var(--bbi-good-edge); background: #f3fcf8; }
.bbi-lk-row.is-focus .bbi-acct { box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.3); }

.bbi-lk-why {
  z-index: 10;
  padding: 14px 16px;
}

.bbi-lk-why__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #b45309;
}

.bbi-lk-why__title svg { width: 15px; height: 15px; }
.bbi-lk-why p { margin: 8px 0 6px; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--bbi-ink); }
.bbi-lk-why p b { font-weight: 800; }
.bbi-lk-why small { font-size: 11px; font-weight: 700; color: var(--bbi-muted); }
