/* Update Salesforce: quick, reviewed bulk changes */

.bbi-sfu-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--bbi-ink);
}

.bbi-sfu-bar > b { font-weight: 800; }

.bbi-sfu-bar__node {
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--bbi-surface-2);
  font-size: 12px;
  font-weight: 700;
  color: var(--bbi-muted);
}

.bbi-sfu-selected {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 9px;
  background: #eef1fb;
  font-size: 13px;
  font-weight: 700;
  color: #4a5bd0;
}

.bbi-sfu-selected svg { width: 12px; height: 12px; }
.bbi-sfu-selected b { font-weight: 800; }

.bbi-sfu-bulk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--bbi-line);
  font-size: 13px;
  font-weight: 800;
}

.bbi-sfu-bulk svg { width: 12px; height: 12px; transform: rotate(90deg); }

.bbi-sfu-menu { z-index: 5; padding: 6px; }

.bbi-sfu-menu__item {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bbi-muted);
}

.bbi-sfu-menu__item.is-target { color: var(--bbi-ink); }
.bbi-sfu-menu__item.is-hover { background: #eef1fb; color: #4a5bd0; }

.bbi-sfu-modal { overflow: hidden; transition: opacity 0.3s ease; }
.bbi-sfu-modal.is-hidden { opacity: 0; }

.bbi-sfu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--bbi-line);
  background: linear-gradient(180deg, #f7f9ff, #fff);
}

.bbi-sfu-head > div small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bbi-muted);
}

.bbi-sfu-head > div b { display: block; font-size: 18px; font-weight: 800; color: var(--bbi-ink); line-height: 1.2; }
.bbi-sfu-head > div span { font-size: 12px; font-weight: 600; color: var(--bbi-muted); }

.bbi-sfu-steps {
  display: flex;
  gap: 12px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.bbi-sfu-steps li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--bbi-muted);
  white-space: nowrap;
}

.bbi-sfu-steps i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eef1f8;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.bbi-sfu-steps li.is-active { color: #4a5bd0; }
.bbi-sfu-steps li.is-active i { background: #5e72e4; color: #fff; }
.bbi-sfu-steps li.is-done { color: #0d7347; }
.bbi-sfu-steps li.is-done i { background: var(--bbi-good); color: #fff; }

.bbi-sfu-body {
  display: grid;
  grid-template-columns: 372px 1fr;
  gap: 16px;
  padding: 16px 18px;
}

.bbi-sfu-fields { display: grid; gap: 12px; align-content: start; }
.bbi-sfu-field { border: 1px solid var(--bbi-line); border-radius: 14px; padding: 12px; }

.bbi-sfu-field__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.bbi-sfu-field__head .bbi-tile { width: 24px; height: 24px; border-radius: 7px; }
.bbi-sfu-field__head .bbi-tile svg { width: 12px; height: 12px; }
.bbi-sfu-field__head b { display: block; font-size: 13px; font-weight: 800; color: var(--bbi-ink); }
.bbi-sfu-field__head code { font-size: 10px; color: var(--bbi-muted); }

.bbi-sfu-field__row { display: grid; grid-template-columns: 1fr 18px 1fr; gap: 8px; align-items: center; }

.bbi-sfu-field__row small {
  display: block;
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bbi-muted);
}

.bbi-sfu-val {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--bbi-muted);
  text-decoration: line-through;
}

.bbi-sfu-val i {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1.5px solid #c5cde3;
  color: transparent;
}

.bbi-sfu-val i svg { width: 9px; height: 9px; }
.bbi-sfu-val em { margin-left: auto; font-style: normal; font-size: 10px; padding: 1px 6px; border-radius: 6px; background: #f1f3f9; }
.bbi-sfu-val.is-on { color: var(--bbi-ink); text-decoration: none; }
.bbi-sfu-val.is-on i { border-color: #5e72e4; background: #5e72e4; color: #fff; }

.bbi-sfu-arrow { color: #a3adc6; }
.bbi-sfu-arrow svg { width: 16px; height: 16px; }

.bbi-sfu-new {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 8px;
  border-radius: 9px;
  border: 1.5px dashed #c5cde3;
  font-size: 12px;
  font-weight: 800;
  color: var(--bbi-ink);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.bbi-sfu-new .bbi-avatar { width: 20px; height: 20px; opacity: 0; transition: opacity 0.25s ease; }
.bbi-sfu-new.is-set { border-style: solid; border-color: rgba(94, 114, 228, 0.5); background: #f3f5ff; }
.bbi-sfu-new.is-set .bbi-avatar { opacity: 1; }

.bbi-sfu-field__count {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--bbi-muted);
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.bbi-sfu-field__count b { font-size: 14px; color: #4a5bd0; }
.bbi-sfu-field__count.is-on { opacity: 1; }

.bbi-sfu-review { display: flex; flex-direction: column; gap: 10px; opacity: 0.3; transition: opacity 0.35s ease; }
.bbi-sfu-review.is-on { opacity: 1; }
.bbi-sfu-review__title { font-size: 13px; font-weight: 800; color: var(--bbi-ink); }

.bbi-sfu-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bbi-sfu-stats > div { padding: 7px 8px; border-radius: 10px; background: var(--bbi-surface-2); }
.bbi-sfu-stats b { display: block; font-size: 20px; font-weight: 800; color: #4a5bd0; line-height: 1.1; }
.bbi-sfu-stats small { display: block; font-size: 9px; font-weight: 700; line-height: 1.25; color: var(--bbi-muted); }

.bbi-sfu-table { border: 1px solid var(--bbi-line); border-radius: 10px; overflow: hidden; }

.bbi-sfu-tr {
  display: grid;
  grid-template-columns: 74px 1fr 12px 1fr;
  gap: 6px;
  align-items: center;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--bbi-muted);
}

.bbi-sfu-tr + .bbi-sfu-tr { border-top: 1px solid var(--bbi-line); }
.bbi-sfu-tr b { color: var(--bbi-ink); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbi-sfu-tr svg { width: 11px; height: 11px; }
.bbi-sfu-tr em { font-style: normal; color: #0d7347; background: #e9f8f1; padding: 2px 6px; border-radius: 6px; white-space: nowrap; }

.bbi-sfu-go { width: 100%; height: 40px; justify-content: center; font-size: 13px; }
.bbi-sfu-go svg { width: 15px; height: 15px; }

.bbi-sfu-result { display: grid; gap: 6px; }

.bbi-sfu-result__top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #e9f8f1;
  font-size: 12px;
  color: #0d7347;
}

.bbi-sfu-result__top svg { width: 13px; height: 13px; flex: none; }
.bbi-sfu-result__top b { font-weight: 800; }
.bbi-sfu-result__top span { margin-left: auto; font-weight: 700; color: #3c8f68; }

.bbi-sfu-history {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid var(--bbi-line);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--bbi-muted);
}

.bbi-sfu-history svg { width: 12px; height: 12px; flex: none; margin-top: 1px; color: #5e72e4; }
.bbi-sfu-history b { color: var(--bbi-ink); }
