/* STAGE: the real BrokerPlus Overview window, its scripted demo and three scroll-linked satellites.
   Everything is scoped under .bps. The app stays the real light UI on the dark page. */
@font-face {
  font-family: "Inter";
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-opsz.woff2) format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/geist-mono-normal-400-600.woff2) format("woff2");
}

.bps {
  --navy: #06294c;
  --ink: #0e1014;
  --ink2: #3a3d45;
  --soft: #62646d;
  --faint: #6f727c;
  --bd: #e6e7ea;
  --hair: #eff0f2;
  --sky: #5aa7e8;
  --gold: #f2ab00;
  --ok: #0b6b47;
  --okbg: #e7f4ec;
  --warn: #8c4807;
  --warnbg: #fcf0de;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --z: 1;
  --out: 110px;
  --vw: 100vw;
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-bottom: 64px;
  font:
    400 13px/1.45 "Inter",
    -apple-system,
    system-ui,
    sans-serif;
  color: var(--ink);
  text-align: left;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}
.bps *,
.bps *::before,
.bps *::after {
  box-sizing: border-box;
}
.bps p {
  margin: 0;
}
.bps .ic {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bps .ic.s14 {
  width: 14px;
  height: 14px;
}
.bps .ic.s18 {
  width: 19px;
  height: 19px;
  stroke-width: 1.6;
}
.bps .ic.s12 {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
}
.bps .num {
  font-variant-numeric: tabular-nums;
}

/* ---------- the window ---------- */
.bps-glow {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 30%;
  bottom: 30px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(90, 150, 230, 0.2), rgba(90, 150, 230, 0));
  filter: blur(30px);
  pointer-events: none;
}
.bps-win {
  position: relative;
  width: 1180px;
  height: 716px;
  zoom: var(--z);
  margin-inline: auto;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f7f9;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 40px 90px -30px rgba(0, 0, 0, 0.85),
    0 70px 140px -60px rgba(40, 90, 170, 0.35);
}
.bps-chrome {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  background: #041d37;
}
.bps-chrome i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.bps-app {
  display: grid;
  grid-template-columns: 204px 1fr;
  height: calc(100% - 34px);
}

/* sidebar (the app's own navy rail) */
.bps-side {
  background: var(--navy);
  color: #dbe5f0;
  display: flex;
  flex-direction: column;
  padding: 12px 10px 10px;
  min-height: 0;
}
.bps-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 6px 12px;
}
.bps-brand img {
  width: 30px;
  height: 30px;
}
.bps-brand b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.bps-brand span {
  display: block;
  font-size: 11px;
  color: #9db3ca;
  line-height: 1.3;
}
.bps-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 9px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  color: #c6d4e3;
  font-size: 13px;
}
.bps-search kbd {
  margin-left: auto;
  font:
    500 10px/1 "Inter",
    sans-serif;
  padding: 3px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  color: #c6d4e3;
}
.bps-nav {
  display: grid;
  gap: 1px;
}
.bps-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 32px;
  padding: 0 9px;
  border-radius: 8px;
  font-size: 13px;
  color: #dbe5f0;
  position: relative;
}
.bps-nav a.on {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 500;
}
.bps-nav a .ic {
  color: #c0d0e2;
}
.bps-nav a .bdg {
  margin-left: auto;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
.bps-nav a .chev {
  margin-left: auto;
  width: 13px;
  height: 13px;
  color: #93a9c1;
}
.bps-nav .gap {
  height: 14px;
}
.bps-me {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 6px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.bps-me i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font:
    600 11px/28px "Inter",
    sans-serif;
  text-align: center;
  font-style: normal;
}
.bps-me b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.bps-me span {
  display: block;
  font-size: 11px;
  color: #9db3ca;
}

/* main column */
.bps-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #f6f7f9;
  position: relative;
}
.bps-top {
  height: 46px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  background: #fbfbfc;
  border-bottom: 1px solid var(--bd);
  font-size: 13px;
  font-weight: 600;
}
.bps-top .end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--soft);
  font-weight: 400;
}
.bps-top .end span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bps-scroll {
  padding: 18px 22px 0;
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 0;
}
.bps-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--bd);
  position: relative;
}

/* greeting band + stat strip */
.bps-band {
  padding: 18px 22px 16px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, #eef2f7, #f7f9fb 70%, #fff);
  border-bottom: 1px solid var(--bd);
  display: grid;
  grid-template-columns: 250px 1fr auto;
  column-gap: 26px;
  align-items: end;
}
.bps-band h4 {
  color: var(--ink);
  margin: 0 0 12px;
  grid-column: 1 / 3;
  font:
    600 20px/1.2 "Inter",
    sans-serif;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 28;
}
.bps-acts {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  gap: 8px;
  align-self: start;
}
.bps-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--bd);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.bps-pill.navy {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
  font-weight: 600;
}
.bps-saved .lab {
  font-size: 12px;
  color: var(--soft);
}
.bps-saved .big {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 1px;
}
.bps-saved .big b {
  font:
    600 38px/1 "Inter",
    sans-serif;
  letter-spacing: -0.04em;
  color: var(--navy);
  font-variation-settings: "opsz" 32;
  font-variant-numeric: tabular-nums;
}
.bps-saved .big span {
  font-size: 12px;
  color: var(--soft);
}
.bps-bar {
  grid-column: 2 / 4;
  padding-bottom: 3px;
}
.bps-bar .segs {
  display: flex;
  gap: 2px;
  height: 5px;
  max-width: 400px;
}
.bps-bar .segs i {
  display: block;
  height: 100%;
  border-radius: 3px;
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}
.bps-bar .segs i:nth-child(1) {
  flex: 27;
  background: var(--navy);
}
.bps-bar .segs i:nth-child(2) {
  flex: 19;
  background: #4f6b89;
  transition-delay: 0.12s;
}
.bps-bar .segs i:nth-child(3) {
  flex: 9.5;
  background: #8ea2b8;
  transition-delay: 0.24s;
}
.bps-bar .segs i:nth-child(4) {
  flex: 9;
  background: #c5cfda;
  transition-delay: 0.32s;
}
.bps-bar .segs i:nth-child(5) {
  flex: 6;
  background: #dfe4ea;
  transition-delay: 0.38s;
}
.bps.is-zero .bps-bar .segs i {
  transform: scaleX(0);
  transition: none;
}
.bps-bar .key {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 16px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink2);
}
.bps-bar .key span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
  margin-right: 7px;
  vertical-align: 2px;
}
.bps-bar .key span:nth-child(2)::before {
  background: #4f6b89;
}
.bps-bar .key span:nth-child(3)::before {
  background: #8ea2b8;
}
.bps-bar .key em {
  font-style: normal;
  color: var(--faint);
  margin-left: 5px;
  font-variant-numeric: tabular-nums;
}
.bps-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.bps-stat {
  padding: 13px 18px 15px;
  border-left: 1px solid var(--bd);
  position: relative;
}
.bps-stat:first-child {
  border-left: 0;
}
.bps-stat .lab {
  font-size: 12px;
  color: var(--soft);
}
.bps-stat .val {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 5px;
  white-space: nowrap;
}
.bps-stat .val b {
  font:
    600 22px/1.1 "Inter",
    sans-serif;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 30;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
.bps-stat:first-child .val b {
  color: var(--navy);
}
.bps-stat .val span {
  font-size: 12px;
  color: var(--soft);
}
.bps-stat .flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--warnbg);
  color: var(--warn);
  font-size: 11px;
  font-weight: 600;
}

/* two columns */
.bps-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.bps-stack {
  display: grid;
  gap: 14px;
}
.bps-ch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px 11px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.bps-ch .ib {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #f1f4f8;
  color: #3f5268;
  display: grid;
  place-items: center;
}
.bps-ch a {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
}
.bps-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin: 0 14px 6px;
  padding: 3px;
  border-radius: 9px;
  background: #f1f2f4;
  font-size: 12px;
  color: var(--ink2);
}
.bps-tabs span {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 7px;
  white-space: nowrap;
}
.bps-tabs span.on {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}
.bps-tabs em {
  font-style: normal;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
  background: #e2e4e8;
  color: var(--ink2);
  font-variant-numeric: tabular-nums;
}
.bps-tabs span.on em {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.bps-rows {
  padding: 0 14px;
}
.bps-prow {
  display: grid;
  grid-template-rows: 1fr;
  transition:
    grid-template-rows 0.45s var(--ease),
    opacity 0.3s;
}
.bps-prow > div {
  min-height: 0;
  overflow: hidden;
}
.bps-prow .in {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  column-gap: 10px;
  align-items: center;
  padding: 9px 2px;
  border-top: 1px solid var(--hair);
}
.bps-prow:first-child .in {
  border-top: 0;
}
.bps-prow.gone {
  grid-template-rows: 0fr;
  opacity: 0;
}
.bps-prow .mi {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--bd);
  color: var(--soft);
  display: grid;
  place-items: center;
}
.bps-prow .tx {
  min-width: 0;
}
.bps-prow .nm {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.bps-prow .nm em {
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  color: var(--faint);
  white-space: nowrap;
}
.bps-prow .sj {
  font-size: 12px;
  color: var(--ink2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bps-prow .sj span {
  color: var(--faint);
}
.bps-send {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--bd);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.12s;
  white-space: nowrap;
}
.bps-send.press {
  transform: scale(0.92);
  background: #e3e9f0;
  box-shadow: inset 0 0 0 1px #b9c4d1;
}
.bps-send.sent {
  background: var(--okbg);
  color: var(--ok);
  box-shadow: none;
}
.bps-pfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 14px;
  font-size: 12px;
  color: var(--faint);
}
.bps-pfoot .bps-pill {
  height: 30px;
  font-size: 12px;
}

/* Snoopy */
.bps-sn-h {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px 10px;
}
.bps-sn-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f3e4c8 url(img/snoopy.png) center / cover;
  position: relative;
  flex: none;
}
.bps-sn-av::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #15925f;
  box-shadow: 0 0 0 2px #fff;
}
.bps-sn-h b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.bps-sn-h span {
  display: block;
  font-size: 12px;
  color: var(--soft);
}
.bps-ask {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px;
  height: 38px;
  padding: 0 5px 0 12px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px var(--bd);
  font-size: 13px;
  transition: box-shadow 0.2s;
}
.bps-ask.focus {
  box-shadow:
    inset 0 0 0 1px var(--navy),
    0 0 0 3px rgba(6, 41, 76, 0.1);
}
.bps-ask .ph {
  color: var(--faint);
}
.bps-ask .typed {
  color: var(--ink);
  white-space: nowrap;
}
.bps-ask .caret {
  width: 1px;
  height: 16px;
  background: var(--navy);
  margin-left: -6px;
  opacity: 0;
}
.bps-ask.focus .caret {
  opacity: 1;
  animation: bps-blink 1s steps(1) infinite;
}
.bps-ask .go {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.12s;
}
.bps-ask .go.press {
  transform: scale(0.9);
}
@keyframes bps-blink {
  50% {
    opacity: 0;
  }
}
.bps-sn-body {
  position: relative;
  height: 98px;
  margin-top: 6px;
}
.bps-sugs,
.bps-ans {
  position: absolute;
  inset: 0;
  padding: 4px 16px 0;
  transition:
    opacity 0.25s,
    transform 0.35s var(--ease);
}
.bps-sug {
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 10px;
  align-items: center;
  padding: 6px 0;
}
.bps-sug .q {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px var(--bd);
  color: var(--soft);
  display: grid;
  place-items: center;
}
.bps-sug b {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.bps-sug span {
  display: block;
  font-size: 12px;
  color: var(--faint);
}
.bps-ans {
  opacity: 0;
  transform: translateY(6px);
  font-size: 13px;
  line-height: 1.45;
}
.bps.is-ans .bps-sugs {
  opacity: 0;
  transform: translateY(-6px);
}
.bps.is-ans .bps-ans {
  opacity: 1;
  transform: none;
}
.bps-ans .think {
  color: var(--faint);
  background: linear-gradient(90deg, #8a8c96 30%, #c9ccd3 50%, #8a8c96 70%) 0 0 / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bps-shim 1.2s linear infinite;
}
@keyframes bps-shim {
  to {
    background-position: -200% 0;
  }
}
.bps-ans .lead {
  color: var(--ink);
  min-height: 19px;
}
.bps-fact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease);
}
.bps-fact.on {
  opacity: 1;
  transform: none;
}
.bps-fact .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d08a12;
  flex: none;
}
.bps-fact .d.ok {
  background: #15925f;
}
.bps-fact span {
  color: var(--ink2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bps-fact em {
  font-style: normal;
  margin-left: auto;
  flex: none;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  background: #e9f0f7;
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

/* Today */
.bps-today {
  padding: 0 8px 4px;
}
.bps-ev {
  display: grid;
  grid-template-columns: 70px 1fr;
  column-gap: 8px;
  padding: 8px;
  border-radius: 9px;
  position: relative;
  transition: background 0.4s;
}
.bps-ev + .bps-ev::before {
  content: "";
  position: absolute;
  left: 86px;
  right: 8px;
  top: 0;
  border-top: 1px solid var(--hair);
}
.bps-ev .t {
  font-size: 12px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
.bps-ev .now {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height 0.35s var(--ease),
    opacity 0.3s;
}
.bps-ev .now::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
}
.bps-ev b {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--soft);
  transition: color 0.3s;
}
.bps-ev span {
  display: block;
  font-size: 12px;
  color: var(--faint);
}
.bps-ev.on {
  background: #f1f4f8;
}
.bps-ev.on::before,
.bps-ev.on + .bps-ev::before {
  display: none;
}
.bps-ev.on .t {
  color: var(--ink);
  font-weight: 600;
}
.bps-ev.on b {
  color: var(--ink);
}
.bps-ev.on .now {
  height: 16px;
  opacity: 1;
}
.bps-ev.done b {
  text-decoration: line-through;
  text-decoration-color: #c5c8cf;
}

/* fade at the bottom so the window reads as a crop of a longer page */
.bps-main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  background: linear-gradient(180deg, rgba(246, 247, 249, 0), #f6f7f9);
  pointer-events: none;
}

/* toast, pulse, cursor */
.bps-toasts {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: grid;
  justify-items: center;
  z-index: 5;
  pointer-events: none;
}
.bps-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px 9px 10px;
  border-radius: 11px;
  background: #0d1622;
  color: #f2f4f7;
  font-size: 12px;
  box-shadow: 0 12px 30px -10px rgba(4, 12, 26, 0.55);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition:
    opacity 0.3s,
    transform 0.5s var(--ease);
  max-width: 320px;
}
.bps-toast.on {
  opacity: 1;
  transform: none;
}
.bps-toast i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #15925f;
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.bps-toast b {
  display: block;
  font-weight: 600;
}
.bps-toast span {
  display: block;
  color: #a6b0bd;
}
.bps-ping {
  border-radius: 6px;
  animation: bps-ping 0.9s var(--ease);
}
@keyframes bps-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(90, 167, 232, 0.7);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(90, 167, 232, 0);
  }
}
.bps-tick {
  animation: bps-tick 0.5s var(--ease);
}
@keyframes bps-tick {
  0% {
    transform: translateY(-7px);
    opacity: 0;
    filter: blur(2px);
  }
  100% {
    transform: none;
    opacity: 1;
    filter: none;
  }
}
.bps-cur {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  width: 20px;
  height: 20px;
  pointer-events: none;
  transform: translate(620px, 420px);
  transition:
    transform 0.85s cubic-bezier(0.45, 0.05, 0.2, 1),
    opacity 0.3s;
  opacity: 0;
  filter: drop-shadow(0 3px 5px rgba(4, 12, 26, 0.38));
}
.bps-cur.on {
  opacity: 1;
}
.bps-cur svg {
  display: block;
  zoom: calc(1 / var(--z));
  width: 20px;
  height: 20px;
  transition: transform 0.12s;
  transform-origin: 3px 2px;
}
.bps-cur.down svg {
  transform: scale(0.8);
}
.bps-cur::after {
  content: "";
  position: absolute;
  left: -13px;
  top: -14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(6, 41, 76, 0.12);
  box-shadow: 0 0 0 2px rgba(6, 41, 76, 0.5);
  opacity: 0;
  transform: scale(0.3);
}
.bps-cur.down::after {
  animation: bps-click 0.55s ease-out;
}
@keyframes bps-click {
  0% {
    opacity: 0.9;
    transform: scale(0.3);
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}
.bps-fadewrap {
  transition: opacity 0.35s;
}
.bps.is-reset .bps-fadewrap {
  opacity: 0.35;
}

/* ---------- satellites ---------- */
.bps-sats {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - var(--vw) / 2);
  width: var(--vw);
  overflow-x: clip;
  overflow-y: visible;
  pointer-events: none;
  z-index: 3;
}
.bps-sats-in {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - var(--ww, 1180px) / 2);
  width: var(--ww, 1180px);
}
.bps-sat {
  position: absolute;
  zoom: var(--sz, 1);
  border-radius: 12px;
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  will-change: transform;
}
.bps-sat.light {
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(10, 20, 40, 0.1),
    0 24px 60px -18px rgba(0, 0, 0, 0.7),
    0 6px 16px -6px rgba(0, 0, 0, 0.4);
}
.bps-sat.dark {
  background: #0a0f17;
  color: #e8ecf1;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 28px 70px -18px rgba(0, 0, 0, 0.9),
    0 6px 16px -6px rgba(0, 0, 0, 0.5);
}
.bps-sat .bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
}
.bps-sat .bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dcdfe4;
}
.bps-sat.dark .bar i {
  background: rgba(255, 255, 255, 0.16);
}
/* each card overlaps the window edge by --ov and overhangs the rest */
.bps-sat-call {
  width: 292px;
  right: calc(var(--room) * -1 / var(--sz));
  top: calc(40px / var(--sz));
}
.bps-sat-up {
  width: 322px;
  left: calc(var(--room) * -1 / var(--sz));
  top: calc(var(--wh) * 0.36 / var(--sz));
}
.bps-sat-form {
  width: 340px;
  right: calc(var(--room) * -1 / var(--sz));
  bottom: calc(-58px / var(--sz));
}

/* call card */
.bps-ct {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 14px 10px;
}
.bps-ct .av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e6edf4;
  color: #34495f;
  font:
    600 12px/32px "Inter",
    sans-serif;
  text-align: center;
  flex: none;
}
.bps-ct b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.bps-ct span {
  display: block;
  font-size: 12px;
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}
.bps-ct .rec {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #b3261e;
}
.bps-ct .rec::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d93025;
  animation: bps-rec 1.4s ease-in-out infinite;
}
@keyframes bps-rec {
  50% {
    opacity: 0.25;
  }
}
.bps-wave {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  margin: 0 14px;
}
.bps-wave i {
  flex: 1;
  max-width: 3px;
  height: var(--h);
  border-radius: 2px;
  background: var(--navy);
  transform-origin: center;
}
.bps-wave i.un {
  background: #c9d6e4;
}
.bps.is-live .bps-wave i {
  animation: bps-wave 1.1s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes bps-wave {
  0%,
  100% {
    transform: scaleY(0.4);
  }
  50% {
    transform: scaleY(1);
  }
}
.bps-wave .head {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: var(--ph, 100%);
  width: 2px;
  margin-left: -1px;
  border-radius: 1px;
  background: #d93025;
  transition: left 0.42s linear;
}
.bps-wave .head::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d93025;
}
.bps-tr {
  padding: 10px 14px 2px;
  display: grid;
  gap: 7px;
  align-content: start;
}
.bps-ln {
  font-size: 12px;
  line-height: 1.45;
  color: #4a4d56;
}
.bps-ln small {
  display: block;
  font-size: 12px;
  color: var(--faint);
}
.bps-ln mark {
  color: var(--ink);
  background: linear-gradient(rgba(90, 167, 232, 0.32), rgba(90, 167, 232, 0.32)) 0 100% / 0% 42% no-repeat;
  transition: background-size 0.6s var(--ease);
}
.bps-ln mark.on {
  background-size: 100% 42%;
}
.bps-cf {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 14px 0;
  padding: 10px 0 13px;
  border-top: 1px solid var(--hair);
  font-size: 12px;
  font-weight: 600;
  color: var(--ok);
}
.bps-cf i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--okbg);
  display: grid;
  place-items: center;
}
.bps-cf span b {
  font-weight: 600;
  color: var(--ink);
  display: inline-block;
}
.bps-cf span {
  color: var(--soft);
  font-weight: 400;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

/* upload card (the dark one) */
.bps-uh {
  padding: 2px 14px 10px;
  font-size: 12px;
  color: #a6b0bd;
  display: flex;
  justify-content: space-between;
}
.bps-uh b {
  color: #f2f4f7;
  font-weight: 600;
}
.bps-ul {
  padding: 0 8px 10px;
  display: grid;
  gap: 4px;
}
.bps-uf {
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 10px;
  align-items: center;
  padding: 8px 8px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
}
.bps-uf .fi {
  position: relative;
  overflow: hidden;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #a6b0bd;
  display: grid;
  place-items: center;
}
.bps-uf .fn {
  font:
    500 12px/1.35 "Geist Mono",
    ui-monospace,
    monospace;
  color: #f2f4f7;
  white-space: nowrap;
  overflow: hidden;
  letter-spacing: -0.02em;
}
.bps-uf .st {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #8f9aa8;
  margin-top: 1px;
  min-height: 17px;
}
.bps-uf .st.ok {
  color: #58c796;
}
.bps-uf .st.warn {
  color: #f0b655;
}
.bps-uf.reading .fi::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #7db4f0;
  top: 0;
  animation: bps-scan 0.7s linear infinite;
}
@keyframes bps-scan {
  to {
    top: 100%;
  }
}

/* Form 1A card: two crops of BCFSA's real form */
.bps-fh {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 14px 10px;
  font-size: 13px;
  font-weight: 600;
}
.bps-fh em {
  font-style: normal;
  margin-left: auto;
  height: 20px;
  padding: 0 8px;
  border-radius: 10px;
  background: #e9f0f7;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.bps-sheet {
  position: relative;
  margin: 0 12px;
  border-radius: 6px;
  overflow: hidden;
  background: #f3f2f9;
  box-shadow: inset 0 0 0 1px #e2e1ea;
}
.bps-crop {
  position: relative;
  overflow: hidden;
}
.bps-crop.a {
  height: 106px;
}
.bps-crop.b {
  height: 104px;
  border-top: 1px dashed #cfcdda;
}
.bps-crop .pg {
  position: absolute;
  left: -14px;
  width: 768px;
  height: 368px;
}
.bps-crop.a .pg {
  top: -84px;
}
.bps-crop.b .pg {
  top: -264px;
}
.bps-crop .pg img {
  display: block;
  width: 768px;
  height: 368px;
}
.bps-crop .cv {
  position: absolute;
  background: #f3f2f9;
  transform-origin: right;
  transition: transform 0.8s cubic-bezier(0.6, 0, 0.2, 1);
}
.bps-crop .cv.on {
  transform: scaleX(0);
}
.bps-crop .hl {
  position: absolute;
  border-radius: 3px;
  background: rgba(90, 167, 232, 0.22);
  opacity: 0;
  transition: opacity 0.9s;
}
.bps-crop .hl.on {
  opacity: 1;
  transition: opacity 0.15s;
}
.bps-sheet::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 40px;
  background: linear-gradient(90deg, rgba(243, 242, 249, 0), #f3f2f9);
}
.bps-src {
  position: absolute;
  z-index: 2;
  right: 10px;
  height: 20px;
  padding: 0 8px;
  border-radius: 6px;
  background: #fff;
  box-shadow:
    0 0 0 1px #dfe3ea,
    0 4px 10px -4px rgba(10, 30, 60, 0.3);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  display: grid;
  place-items: center;
  white-space: nowrap;
  transition:
    opacity 0.3s,
    transform 0.45s var(--ease);
}
.bps-src.wait {
  opacity: 0;
  transform: translateX(8px);
}
.bps-ff {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px 12px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--soft);
}
.bps-sign {
  margin-left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: box-shadow 0.8s var(--ease);
}
.bps-sign.glow {
  box-shadow:
    0 0 0 1.5px var(--gold),
    0 0 22px 2px rgba(242, 171, 0, 0.5),
    0 8px 26px -4px rgba(90, 167, 232, 0.5);
}

/* ---------- phone: a single-column crop of the real page, satellites as cards below ---------- */
.bps.is-phone {
  padding-bottom: 0;
}
.bps.is-phone .bps-win {
  width: 392px;
  height: 790px;
}
.bps.is-phone .bps-ask .ph {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.bps.is-phone .bps-app {
  grid-template-columns: 1fr;
}
.bps.is-phone .bps-side,
.bps.is-phone .bps-acts,
.bps.is-phone .bps-top .end,
.bps.is-phone .bps-today-card {
  display: none;
}
.bps.is-phone .bps-top {
  padding: 0 14px;
}
.bps.is-phone .bps-scroll {
  padding: 12px 12px 0;
  gap: 10px;
}
.bps.is-phone .bps-band {
  grid-template-columns: 1fr;
  padding: 14px 14px 12px;
  row-gap: 8px;
}
.bps.is-phone .bps-band h4,
.bps.is-phone .bps-bar {
  grid-column: 1;
  margin-bottom: 0;
}
.bps.is-phone .bps-stats {
  grid-template-columns: 1fr 1fr 1.3fr;
}
.bps.is-phone .bps-stat .flag {
  white-space: nowrap;
}
.bps.is-phone .bps-stat .flag .ic {
  display: none;
}
.bps.is-phone .bps-stat .lab {
  white-space: nowrap;
}
.bps.is-phone .bps-stat {
  padding: 10px 12px 12px;
}
.bps.is-phone .bps-stat:nth-child(n + 4) {
  display: none;
}
.bps.is-phone .bps-stat .val b {
  font-size: 19px;
}
.bps.is-phone .bps-stat .val span {
  display: none;
}
.bps.is-phone .bps-cols {
  grid-template-columns: 1fr;
  gap: 10px;
}
.bps.is-phone .bps-cols > .bps-stack {
  order: -1;
}

.bps.is-phone .bps-sats {
  position: static;
  width: auto;
  left: auto;
  overflow: visible;
  margin-top: 14px;
}
.bps.is-phone .bps-sats-in {
  position: static;
  width: auto;
  display: grid;
  gap: 12px;
}
.bps.is-phone .bps-sat {
  zoom: 1;
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: 100%;
  transform: none;
}

.bps.is-phone .bps-sat-up {
  order: 2;
}
.bps.is-phone .bps-sat-form {
  order: 3;
}

@media (prefers-reduced-motion: reduce) {
  .bps *,
  .bps *::before,
  .bps *::after {
    animation: none !important;
    transition: none !important;
  }
  .bps-cur {
    display: none;
  }
}
.bps.is-phone .bps-tabs {
  margin: 0 12px 6px;
  font-size: 11px;
}
.bps.is-phone .bps-tabs span {
  gap: 4px;
}
/* nothing inside the window may size the grid wider than the window */
.bps-scroll,
.bps-stack {
  grid-template-columns: minmax(0, 1fr);
}
.bps-cols {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.bps.is-phone .bps-cols {
  grid-template-columns: minmax(0, 1fr);
}
.bps-scroll > *,
.bps-cols > *,
.bps-stack > *,
.bps-stat {
  min-width: 0;
}
.bps.is-phone .bps-stats {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
}
.bps.is-phone .bps-stat .lab {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* round 5: Snoopy's ask box wears the app's blue-to-gold arc while a question is typed and answered */
.bps-ask.bp-glow {
  --bp-glow-r: 9px;
  --bp-glow-halo: 8px;
  --bp-glow-blur: 6px;
  --bp-glow-halo-o: .55;
  --bp-glow-ring-o: .95;
}
.bps-ask.bp-glow[data-lit] {
  box-shadow: inset 0 0 0 1px rgba(6, 41, 76, 0.14);
}
/* arrivals from the hero: a soft sky wash sweeps the matching row or stat */
.bps-wash {
  background-image: linear-gradient(
    100deg,
    rgba(125, 180, 240, 0) 30%,
    rgba(125, 180, 240, 0.42) 50%,
    rgba(125, 180, 240, 0) 70%
  );
  background-size: 260% 100%;
  background-repeat: no-repeat;
  animation: bps-wash 1.15s var(--ease) both;
  border-radius: 8px;
}
.bps-stat.bps-wash {
  border-radius: 0;
  background-image: linear-gradient(
    100deg,
    rgba(60, 150, 235, 0) 30%,
    rgba(60, 150, 235, 0.2) 50%,
    rgba(60, 150, 235, 0) 70%
  );
}
@keyframes bps-wash {
  0% {
    background-position: 120% 0;
    box-shadow: inset 0 0 0 1px rgba(125, 180, 240, 0.55);
  }
  70% {
    box-shadow: inset 0 0 0 1px rgba(125, 180, 240, 0.25);
  }
  100% {
    background-position: -60% 0;
    box-shadow: inset 0 0 0 1px rgba(125, 180, 240, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bps-wash {
    animation: none;
    background-image: none;
  }
}
.bps-sign.bp-glow {
  --bp-glow-halo: 7px;
  --bp-glow-blur: 5px;
  --bp-glow-halo-o: .6;
}

/* phone, second pass: the window is one object you take in at a glance, not a page of its own. It is drawn
   430px wide and scaled to the screen (stage.js) so nothing in it is squeezed, cut short with its lower edge
   fading out, and the three side cards run as one sideways row under it */
.bps.is-phone .bps-win {
  width: 430px;
  height: 452px;
}
.bps.is-phone .bps-win::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(to bottom, rgba(246, 247, 249, 0) 0, #f6f7f9 86%);
  pointer-events: none;
}
.bps.is-phone .bps-sats {
  margin: 12px -16px 0;
  padding: 4px 16px 28px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  pointer-events: auto;
}
.bps.is-phone .bps-sats::-webkit-scrollbar {
  display: none;
}
.bps.is-phone .bps-sats-in {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: max-content;
}
.bps.is-phone .bps-sat {
  flex: none;
  width: 292px;
  zoom: 0.86;
  scroll-snap-align: start;
}
