.bc-tour {
  --tour-ink: #242a2d;
  --tour-muted: #68716f;
  --tour-line: #e4e7e2;
  --tour-teal: #287e83;
  --tour-indigo: #536ab0;
  width: min(1040px, calc(100% - 32px));
  max-width: 1040px;
  max-height: min(90dvh, 900px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  color: var(--tour-ink);
  background: #fbfaf7;
  box-shadow: 0 32px 120px #142b3e40;
  font-family: Inter, Arial, sans-serif;
  text-align: left;
  overflow: auto;
  overscroll-behavior: contain;
}
.bc-tour::backdrop { background: #192b34a6; backdrop-filter: blur(7px); }
.bc-tour *, .bc-tour *::before, .bc-tour *::after { box-sizing: border-box; }
.bc-tour button { font: inherit; cursor: pointer; }
.bc-tour button:focus-visible { outline: 3px solid #536ab0; outline-offset: 4px; }
.bc-tour-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 28px; border-bottom: 1px solid var(--tour-line); }
.bc-tour-brand { display: flex; align-items: center; gap: 13px; }
.bc-tour-brand-mark { display: flex; gap: 4px; align-items: center; }
.bc-tour-brand-mark span { width: 9px; height: 22px; border-radius: 3px; background: #287e83; }
.bc-tour-brand-mark span:last-child { height: 17px; background: #536ab0; }
.bc-tour-kicker { margin: 0; color: var(--tour-muted); font-size: 11px; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; }
.bc-tour-name { display: block; margin-top: 4px; font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.bc-tour-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--tour-line); border-radius: 50%; background: #fff; color: var(--tour-ink); font-size: 25px !important; line-height: 1; }
.bc-tour-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.bc-tour-sidebar { padding: 31px 24px; border-right: 1px solid var(--tour-line); background: #f2f2ed; }
.bc-tour-sidebar-label { margin: 0 0 20px; color: var(--tour-muted); font-size: 11px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.bc-tour-steps { display: grid; gap: 21px; margin: 0; padding: 0; list-style: none; }
.bc-tour-step { display: flex; align-items: flex-start; gap: 11px; color: #7b8280; font-size: 13px; line-height: 1.4; }
.bc-tour-step-number { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border: 1px solid #ced4ce; border-radius: 50%; font-size: 11px; font-variant-numeric: tabular-nums; }
.bc-tour-step-text { padding-top: 3px; }
.bc-tour-step small { display: block; margin-top: 3px; color: #7b8280; font-size: 10px; line-height: 1.5; }
.bc-tour-step.is-current { color: #242a2d; font-weight: 650; }
.bc-tour-step.is-current .bc-tour-step-number { border-color: #536ab0; color: #fff; background: #536ab0; }
.bc-tour-step.is-complete .bc-tour-step-number { color: #287e83; border-color: #bbd9d4; background: #e4f1e9; }
.bc-tour-sidebar-note { border-top: 1px solid #dce1da; padding-top: 18px; margin: 29px 0 0; color: #6c7670; font-size: 11px; line-height: 1.6; }
.bc-tour-main { min-width: 0; padding: 33px 37px 28px; }
.bc-tour-eyebrow { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 650; color: #536ab0; }
.bc-tour-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bc-tour-title { font-size: clamp(25px, 3.4vw, 34px); line-height: 1.12; letter-spacing: -.045em; font-weight: 600; margin: 0 0 12px; max-width: 520px; }
.bc-tour-intro { margin: 0 0 24px; color: #65706c; font-size: 14px; line-height: 1.65; max-width: 530px; }
.bc-tour-screen { padding: 24px; border: 1px solid #e2e7e2; border-radius: 14px; background: #fff; box-shadow: 0 7px 20px #243b3606; }
.bc-tour-screen-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.bc-tour-screen-name { font-size: 12px; font-weight: 650; letter-spacing: -.01em; }
.bc-tour-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 5px; background: #edf0fa; color: #4d5e9a; font-size: 10px; font-weight: 600; }
.bc-tour-status.teal { color: #286a58; background: #e4f1e9; }
.bc-tour-status.amber { color: #8a5429; background: #f7e8d8; }
.bc-tour-message { display: flex; align-items: flex-start; gap: 13px; }
.bc-tour-avatar { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; background: #e9eddf; border-radius: 11px; font-size: 12px; font-weight: 650; color: #5b6751; }
.bc-tour-message-copy { min-width: 0; }
.bc-tour-message-title { margin: 0 0 6px; font-size: 13px; font-weight: 650; }
.bc-tour-message-body { margin: 0; color: #626b68; font-size: 13px; line-height: 1.6; }
.bc-tour-attachment { display: flex; gap: 10px; align-items: center; margin-top: 20px; padding: 12px 13px; border: 1px solid #e7eae5; border-radius: 8px; background: #fafbf8; font-size: 11px; color: #5b6660; }
.bc-tour-document { display: inline-grid; place-items: center; flex: 0 0 29px; width: 29px; height: 32px; color: #536ab0; background: #edf0fa; border-radius: 4px; font-size: 9px; font-weight: 650; }
.bc-tour-attachment strong { display: block; color: #37443d; font-size: 11px; font-weight: 600; margin-bottom: 3px; }
.bc-tour-routing { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 21px; padding-top: 15px; border-top: 1px solid #edf0eb; font-size: 11px; color: #7b827e; }
.bc-tour-role-pill { padding: 5px 9px; border-radius: 5px; color: #287e83; background: #edf5f3; font-weight: 600; }
.bc-tour-invoice-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.bc-tour-invoice-head p { margin: 0; }
.bc-tour-invoice-title { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.bc-tour-invoice-meta { font-size: 11px; color: #7a837f; margin-top: 6px !important; }
.bc-tour-invoice-number { color: #8a928b; font-size: 11px; text-align: right; white-space: nowrap; }
.bc-tour-line-item { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid #edf0eb; font-size: 12px; line-height: 1.45; }
.bc-tour-line-item span:last-child, .bc-tour-invoice-total strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bc-tour-invoice-total { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 17px; font-size: 12px; }
.bc-tour-invoice-total strong { font-size: 24px; letter-spacing: -.04em; font-weight: 600; }
.bc-tour-invoice-total.is-flagged strong { color: #9c5c35; }
.bc-tour-invoice-foot { margin: 15px 0 0; color: #7c867f; font-size: 10px; }
.bc-tour-review-alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 10px; background: #fcf2e7; color: #88572e; }
.bc-tour-alert-icon { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border: 1px solid #d7b995; border-radius: 50%; font-weight: 650; font-size: 14px; }
.bc-tour-review-alert p { margin: 0; font-size: 12px; line-height: 1.6; }
.bc-tour-review-alert strong { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 650; }
.bc-tour-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 17px 0; }
.bc-tour-amount { border-radius: 9px; background: #f5f6f2; padding: 17px; }
.bc-tour-amount span { color: #717c74; display: block; font-size: 10px; margin-bottom: 9px; }
.bc-tour-amount strong { font-size: 26px; letter-spacing: -.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.bc-tour-amount.flagged { background: #fcf2e7; }
.bc-tour-amount.flagged strong { color: #9c5c35; }
.bc-tour-hold { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #8a5429; }
.bc-tour-correction { display: flex; align-items: center; gap: 12px; padding: 14px 15px; margin-top: 20px; border: 1px solid #cad9d2; background: #f4f8f3; border-radius: 9px; font-size: 12px; line-height: 1.5; cursor: pointer; }
.bc-tour-correction input { flex: 0 0 18px; width: 18px; height: 18px; accent-color: #287e83; }
.bc-tour-correction small { display: block; color: #6e7e71; font-size: 10px; margin-top: 3px; }
.bc-tour-success-head { text-align: center; padding: 4px 0 21px; }
.bc-tour-success-symbol { display: grid; place-items: center; margin: 0 auto 14px; width: 48px; height: 48px; border-radius: 50%; color: #287e83; background: #e4f1e9; font-size: 21px; }
.bc-tour-success-symbol.is-held { color: #9c5c35; background: #fcf2e7; }
.bc-tour-success-head h4 { margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
.bc-tour-success-head p { margin: 0; color: #6b7770; font-size: 12px; line-height: 1.6; }
.bc-tour-audit { display: grid; gap: 0; }
.bc-tour-audit-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid #edf0eb; font-size: 11px; line-height: 1.5; }
.bc-tour-audit-icon { display: grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; background: #eef3ec; color: #287e83; font-size: 10px; }
.bc-tour-audit-row strong { font-size: 11px; font-weight: 650; color: #3f4b44; }
.bc-tour-audit-row p { margin: 3px 0 0; color: #7b857e; font-size: 10px; }
.bc-tour-fact { padding: 16px 0 0; font-size: 11px; line-height: 1.6; color: #778079; }
.bc-tour-fact strong { color: #53635a; font-weight: 600; }
.bc-tour-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 28px; border-top: 1px solid var(--tour-line); background: #fff; }
.bc-tour-progress { color: #858d86; font-size: 11px; white-space: nowrap; }
.bc-tour-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.bc-tour-btn { min-height: 44px; border-radius: 8px; padding: 11px 17px; border: 1px solid #dfe4dd; background: #fff; font-size: 12px !important; font-weight: 600 !important; color: #4b5850; }
.bc-tour-btn.primary { color: #fff; background: #242a2d; border-color: #242a2d; }
.bc-tour-btn.approve { color: #fff; background: #287e83; border-color: #287e83; }
.bc-tour-btn:disabled { color: #9ca59f; background: #edf0eb; border-color: #edf0eb; cursor: not-allowed; }
.bc-tour-btn:hover:not(:disabled) { filter: brightness(.96); }
.bc-tour-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .bc-tour { width: calc(100% - 20px); border-radius: 16px; max-height: 94dvh; }
  .bc-tour-header { padding: 16px 18px; }
  .bc-tour-layout { grid-template-columns: 1fr; }
  .bc-tour-sidebar { padding: 18px; border-right: 0; border-bottom: 1px solid var(--tour-line); }
  .bc-tour-sidebar-label, .bc-tour-sidebar-note, .bc-tour-step small { display: none; }
  .bc-tour-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
  .bc-tour-step { flex-direction: column; align-items: center; text-align: center; gap: 3px; font-size: 10px; }
  .bc-tour-step-number { flex-basis: auto; width: 24px; height: 24px; }
  .bc-tour-step-text { padding-top: 3px; }
  .bc-tour-main { padding: 24px 20px; }
  .bc-tour-title { font-size: 28px; }
  .bc-tour-intro { font-size: 13px; margin-bottom: 19px; }
  .bc-tour-screen { padding: 19px; }
  .bc-tour-footer { padding: 15px 18px; align-items: flex-end; }
  .bc-tour-progress { padding-bottom: 14px; }
  .bc-tour-actions { gap: 7px; }
  .bc-tour-btn { padding: 10px 12px; }
}
@media (max-width: 430px) {
  .bc-tour-kicker { font-size: 9px; letter-spacing: .06em; }
  .bc-tour-name { font-size: 13px; }
  .bc-tour-brand { gap: 8px; }
  .bc-tour-brand-mark { display: none; }
  .bc-tour-main { padding: 23px 16px; }
  .bc-tour-title { font-size: 26px; }
  .bc-tour-screen { padding: 16px; }
  .bc-tour-invoice-head { display: block; }
  .bc-tour-invoice-number { text-align: left; margin-top: 10px !important; }
  .bc-tour-compare { gap: 8px; }
  .bc-tour-amount { padding: 13px; }
  .bc-tour-amount strong { font-size: 23px; }
  .bc-tour-footer { display: block; }
  .bc-tour-progress { display: none; }
  .bc-tour-actions { justify-content: stretch; }
  .bc-tour-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .bc-tour, .bc-tour * { scroll-behavior: auto !important; }
}
