/* BrokerPlus product kit: the app's own surfaces, scoped under .bp so any marketing world can host them.
   Everything here is product UI at product scale (13-15px), Inter, white surfaces, navy actions. */
.bp {
  --bp-navy: #06294c;
  --bp-ink: #0e1014;
  --bp-ink-2: #3a3d45;
  --bp-ink-soft: #62646d;
  --bp-ink-faint: #8a8c96;
  --bp-border: #e6e7ea;
  --bp-hair: #eff0f2;
  --bp-ok: #0b6b47;
  --bp-ok-bg: #e7f4ec;
  --bp-warn: #8c4807;
  --bp-warn-bg: #fcf0de;
  --bp-bad: #a3261b;
  --bp-bad-bg: #fbe9e7;
  --bp-sky: #5aa7e8;
  --bp-gold: #f2ab00;
  --bp-shadow: 0 1px 2px rgba(10, 22, 40, .06), 0 18px 40px -20px rgba(10, 30, 60, .34);
  font:
    400 14px/1.45 "Inter",
    -apple-system,
    system-ui,
    sans-serif;
  font-optical-sizing: auto;
  color: var(--bp-ink);
  text-align: left;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}
.bp *,
.bp *::before,
.bp *::after {
  box-sizing: border-box;
}
.bp p {
  margin: 0;
}
.bp .tnum,
.bp .num {
  font-variant-numeric: tabular-nums;
}
.bp .ic {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bp .ic.s14 {
  width: 14px;
  height: 14px;
}
.bp .ic.s18 {
  width: 18px;
  height: 18px;
}

/* surfaces */
.bp-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--bp-shadow);
  overflow: hidden;
}
.bp-card.flat {
  box-shadow: 0 0 0 1px var(--bp-border);
}
.bp-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px 13px;
  border-bottom: 1px solid var(--bp-hair);
}
.bp-head .end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bp-ib {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #f1f4f8;
  color: #3f5268;
  display: grid;
  place-items: center;
  flex: none;
}
.bp-ib.navy {
  background: #e9f0f7;
  color: var(--bp-navy);
}
.bp-ib.warn {
  background: var(--bp-warn-bg);
  color: var(--bp-warn);
}
.bp-ib.ok {
  background: var(--bp-ok-bg);
  color: var(--bp-ok);
}
.bp-t {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.011em;
  color: var(--bp-ink);
  line-height: 1.35;
}
.bp-s {
  font-size: 13px;
  color: var(--bp-ink-soft);
  line-height: 1.4;
  text-wrap: pretty;
}
.bp-x {
  font-size: 12px;
  color: var(--bp-ink-faint);
}
.bp-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: #f0f1f3;
  color: #464952;
}
.bp-chip.ok {
  background: var(--bp-ok-bg);
  color: var(--bp-ok);
}
.bp-chip.warn {
  background: var(--bp-warn-bg);
  color: var(--bp-warn);
}
.bp-chip.bad {
  background: var(--bp-bad-bg);
  color: var(--bp-bad);
}
.bp-chip.navy {
  background: #e9f0f7;
  color: var(--bp-navy);
}
.bp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  font:
    600 13px/1 "Inter",
    sans-serif;
  white-space: nowrap;
  background: var(--bp-navy);
  color: #fff;
}
.bp-btn.line {
  background: #fff;
  color: var(--bp-ink-2);
  box-shadow: inset 0 0 0 1px var(--bp-border);
}
.bp-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #34495f;
  background: #e6edf4;
  flex: none;
}
.bp-av.warm {
  background: #efe8dc;
  color: #5b4a2f;
}
.bp-av.sm {
  width: 26px;
  height: 26px;
  font-size: 10px;
}
.bp-avs {
  display: flex;
}
.bp-avs .bp-av {
  box-shadow: 0 0 0 2px #fff;
}
.bp-avs .bp-av + .bp-av {
  margin-left: -6px;
}
.bp-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-top: 1px solid var(--bp-hair);
}
.bp-row:first-child {
  border-top: 0;
}
.bp-list > .bp-row:first-child {
  border-top: 0;
}
.bp-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--bp-hair);
}
.bp-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 18px;
  background: #f6f7f9;
  border-top: 1px solid var(--bp-hair);
  font-size: 13px;
  line-height: 1.5;
  color: var(--bp-ink-2);
}
.bp-note .ic {
  color: var(--bp-ink-soft);
  margin-top: 1px;
}

/* the deal file window */
.bp-file {
  width: 920px;
  border-radius: 18px;
}
.bp-file .bp-head {
  padding: 16px 22px 14px;
  border-bottom: 0;
}
.bp-tabs {
  display: flex;
  gap: 2px;
  padding: 0 14px;
  border-bottom: 1px solid var(--bp-hair);
  font-size: 14px;
  color: var(--bp-ink-soft);
}
.bp-tabs span {
  padding: 8px 10px 11px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.bp-tabs span.on {
  color: var(--bp-ink);
  font-weight: 600;
  border-color: var(--bp-navy);
}
.bp-body {
  padding: 18px 22px 22px;
  display: grid;
  gap: 14px;
}
.bp-panel {
  border: 1px solid var(--bp-border);
  border-radius: 14px;
  overflow: hidden;
}
.bp-panel-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 13px 18px 2px;
  background: linear-gradient(180deg, #f1f5fa, #f8fafc);
}
.bp-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 6px 0 16px;
  background: linear-gradient(180deg, #f8fafc, #fff 70%);
}
.bp-cell {
  padding: 10px 18px 0;
  border-left: 1px solid var(--bp-hair);
}
.bp-cell:first-child {
  border-left: 0;
}
.bp-cell .lab {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--bp-ink-soft);
}
.bp-cell .lab .ic {
  color: #51637a;
}
.bp-cell .val {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.bp-cell .big {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variation-settings: "opsz" 32;
  font-variant-numeric: tabular-nums;
}
.bp-cell .what {
  font-size: 13px;
  color: var(--bp-ink-2);
  line-height: 1.3;
}
.bp-cell .chips {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.bp-needs-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--bp-hair);
}
.bp-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--bp-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

/* call card */
.bp-call {
  width: 300px;
}
.bp-lines {
  padding: 12px 18px 4px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #4a4d56;
}
.bp-who {
  display: block;
  font-size: 12px;
  color: var(--bp-ink-faint);
  margin-bottom: 1px;
}
.bp-heard {
  color: var(--bp-ink);
  background: linear-gradient(transparent 60%, rgba(90, 167, 232, 0.28) 60%);
}
.bp-call-foot {
  margin: 10px 18px 0;
  padding: 12px 0 16px;
  border-top: 1px solid var(--bp-hair);
  font-size: 13px;
  line-height: 1.45;
  color: var(--bp-ink);
}
.bp-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 22px;
  padding: 0 18px;
  margin-top: 12px;
}
.bp-wave i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: #c9d6e4;
}
.bp-wave i.on {
  background: var(--bp-navy);
}

/* application card */
.bp-app {
  width: 420px;
}
.bp-flds {
  padding: 6px 18px 16px;
}
.bp-fld {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid #f3f3f5;
  font-size: 14px;
}
.bp-fld:first-child {
  border-top: 0;
}
.bp-fld .k {
  color: var(--bp-ink-soft);
  padding-top: 8px;
  font-size: 13px;
}
.bp-box {
  height: 36px;
  border-radius: 9px;
  border: 1px solid #e2e4e9;
  background: #fbfbfc;
  padding: 0 12px;
  display: flex;
  align-items: center;
  color: var(--bp-ink);
}
.bp-fld > span:last-child {
  display: grid;
  gap: 5px;
  justify-items: start;
}
.bp-fld .bp-box {
  width: 100%;
}
.bp-from {
  display: inline-block;
  font-size: 12px;
  color: var(--bp-ink-soft);
}
.bp-fld.empty .bp-box {
  border-style: dashed;
  border-color: #c6cbd5;
  background: transparent;
  color: var(--bp-ink-faint);
}
.bp-fld.empty .bp-from {
  color: var(--bp-warn);
}

/* uploads + documents */
.bp-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(14, 16, 20, 0.08),
    0 6px 14px -10px rgba(10, 30, 60, 0.3);
  font-size: 13px;
  color: var(--bp-ink-2);
  white-space: nowrap;
}
.bp-pill .ic {
  color: var(--bp-ink-faint);
}
.bp-docs {
  width: 470px;
}
.bp-doc {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-top: 1px solid var(--bp-hair);
}
.bp-doc:first-child {
  border-top: 0;
}
.bp-doc .n {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.011em;
  color: var(--bp-ink);
  line-height: 1.35;
}
.bp-doc .w {
  font-size: 12px;
  color: var(--bp-ink-faint);
  margin-top: 1px;
}
.bp-doc.flag {
  background: #fffaf2;
}
.bp-doc.flag .w {
  color: var(--bp-warn);
}

/* disclosure review */
.bp-review {
  width: 760px;
}
.bp-sheet {
  position: relative;
  margin: 16px 18px 14px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--bp-border),
    0 12px 26px -18px rgba(10, 30, 60, 0.35);
}
.bp-sheet img {
  display: block;
  width: 100%;
}
.bp-mark {
  position: absolute;
  border-radius: 3px;
  background: rgba(90, 167, 232, 0.18);
}
.bp-sign {
  position: relative;
  isolation: isolate;
  box-shadow:
    0 0 18px -2px rgba(242, 171, 0, 0.4),
    0 0 14px -6px rgba(90, 167, 232, 0.6);
}
.bp-sign::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(100deg, var(--bp-sky), #a6d0f2 40%, #f7cf6a 72%, var(--bp-gold));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

/* leads */
.bp-leads {
  width: 380px;
}

/* tasks */
.bp-tasks {
  width: 380px;
}
.bp-check {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px #c3cad4;
  flex: none;
}

/* client portal, shown on a phone */
.bp-phone {
  width: 300px;
  border-radius: 40px;
  padding: 10px;
  background: #0f1724;
  box-shadow:
    0 30px 60px -28px rgba(6, 22, 44, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.bp-phone-in {
  border-radius: 31px;
  overflow: hidden;
  background: #fff;
}
.bp-phone-bar {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 600;
}
.bp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 4px 16px 0;
}
.bp-steps span {
  height: 4px;
  border-radius: 2px;
  background: #e3e7ec;
}
.bp-steps span.on {
  background: var(--bp-navy);
}
.bp-steps-l {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 6px 16px 0;
  font-size: 11px;
  color: var(--bp-ink-faint);
}
.bp-steps-l .on {
  color: var(--bp-ink);
  font-weight: 600;
}

/* underwriting checks */
.bp-checks {
  width: 400px;
}
.bp-fig {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* lender package */
.bp-package {
  width: 400px;
}
.bp-pages {
  display: flex;
  gap: 3px;
  align-items: flex-end;
}
.bp-pages i {
  display: block;
  width: 14px;
  height: 18px;
  border-radius: 2px;
  background: #eef1f5;
  box-shadow: inset 0 0 0 1px #dfe4ea;
}

/* conditions */
.bp-conds {
  width: 420px;
}
.bp-draft {
  margin: 0 18px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f5f8fb;
  box-shadow: inset 0 0 0 1px #e3eaf2;
  font-size: 14px;
  line-height: 1.5;
  color: var(--bp-ink);
}

/* funded book */
.bp-book {
  width: 440px;
}
.bp-gain {
  font-size: 15px;
  font-weight: 600;
  color: var(--bp-ok);
  font-variant-numeric: tabular-nums;
}

/* dark host helpers: product stays light, only its shadow deepens */
.bp.on-dark .bp-card {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
